/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --burg: #7A0020;
  --burg-deep: #9B0030;
  --ivory: #FFFDF5;
  --ivory-warm: #F5F0E8;
  --charcoal: #1A1215;
  --charcoal-mid: #3D2D32;
  --muted: #7A6268;
  --rule: rgba(122, 0, 32, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(255, 253, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--rule);
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}

.nav-wordmark em {
  font-style: italic;
  font-weight: 300;
  color: var(--burg);
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--burg); }

.nav-cta {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--burg);
  border: none;
  padding: 11px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--burg-deep); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--ivory);
  border-bottom: 0.5px solid var(--rule);
  padding: 24px 5vw 32px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--rule);
  transition: color 0.2s;
}

.nav-mobile-menu a:hover { color: var(--burg); }

.nav-mobile-menu .mobile-cta {
  margin-top: 20px;
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--burg);
  padding: 14px 28px;
  text-align: center;
  border: none;
}

/* ── SHARED UTILITIES ── */
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burg);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--burg);
  flex-shrink: 0;
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

.section { padding: 100px 5vw; }

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  max-width: 640px;
  margin-bottom: 56px;
}

.section-heading em { font-style: italic; color: var(--burg); }

.btn-primary {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--burg);
  padding: 15px 34px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--burg-deep); }

.btn-ghost {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burg);
  border-bottom: 1px solid rgba(122, 0, 32, 0.4);
  padding-bottom: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  background: none;
  cursor: pointer;
}

.btn-ghost:hover { opacity: 0.65; }

/* Statement band */
.statement {
  background: var(--burg);
  padding: 80px 5vw;
  text-align: center;
}

.statement-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 20px;
}

.statement-attr {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 253, 245, 0.38);
}

/* Page hero (interior pages) */
.page-hero {
  padding: 160px 5vw 80px;
  border-bottom: 0.5px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--burg);
}

.page-hero-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--charcoal);
  max-width: 800px;
  margin-bottom: 28px;
}

.page-hero-display em { font-style: italic; color: var(--burg); }

.page-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
}

/* Footer */
footer {
  border-top: 0.5px solid var(--rule);
  padding: 44px 5vw;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-decoration: none;
}

.footer-mark em { font-style: italic; font-weight: 300; color: var(--burg); }

.footer-links {
  display: flex; gap: 28px; list-style: none; flex-wrap: wrap;
}

.footer-links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--burg); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 0.5px solid var(--rule);
}

.footer-copy {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.55;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 72px 5vw; }
  .page-hero { padding: 120px 5vw 60px; }
}

@media (max-width: 540px) {
  .section { padding: 56px 6vw; }
  .section-heading { margin-bottom: 36px; }
}

/* ── MOBILE CENTRE EVERYTHING ── */
@media (max-width: 860px) {
  /* Text */
  body, p, h1, h2, h3, h4, h5, h6, li, span, label { text-align: center; }

  /* Eyebrow — hide left rule, centre */
  .eyebrow {
    justify-content: center;
  }
  .eyebrow::before { display: none; }

  /* Nav wordmark */
  .nav-wordmark { text-align: center; }

  /* Page hero */
  .page-hero { text-align: center; }
  .page-hero-sub { margin: 0 auto; }

  /* Section headings */
  .section-heading { margin-left: auto; margin-right: auto; text-align: center; }

  /* Buttons — centre and full width on small screens */
  .btn-primary, .btn-ghost, .btn-submit {
    display: block;
    text-align: center;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions {
    align-items: center;
    width: 100%;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links { justify-content: center; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Nav mobile menu */
  .nav-mobile-menu { text-align: center; }

  /* Stats band */
  .stat-item { text-align: center; }
  .stat-label { text-align: center; }

  /* Services grid */
  .service-card { text-align: center; }
  .service-num { text-align: center; }

  /* Why cards */
  .why-card { text-align: center; }

  /* Statement */
  .statement { text-align: center; }

  /* Info blocks (contact page) */
  .info-block { text-align: center; }
  .social-links { align-items: center; }
  .info-callout { text-align: center; }

  /* Process steps */
  .process-step { justify-items: center; text-align: center; }

  /* Value items */
  .value-item { text-align: center; }

  /* Form labels */
  .includes-label { text-align: center; }
  .includes-list li { text-align: left; }

  /* About mission */
  .about-body { margin-left: auto; margin-right: auto; text-align: center; }

  /* sd-body (services detail) */
  .sd-body { margin-left: auto; margin-right: auto; text-align: center; }
  .sd-heading { text-align: center; }
}

@media (max-width: 540px) {
  .btn-primary, .btn-ghost {
    width: 100%;
    text-align: center;
  }
}
