/* =====================================================================
   Pivot Orthopaedics — Orthopaedics & Spine, Chennai
   Design: "Load-bearing" — engineered slate + bone-amber, structural.
   Display: Saira Condensed  ·  Body: Manrope
   Signature: the segmented spine rail (vertebra scroll indicator)
   ===================================================================== */

:root {
  /* Palette — slate + bone-amber */
  --ink:        #14202B;   /* brand anchor: deep slate */
  --ink-2:      #1A2A38;   /* raised slate surface */
  --ink-3:      #22364A;   /* structural line accent */
  --ink-line:   #2C4152;   /* hairlines on dark */
  --amber:      #E0913A;   /* brand anchor: bone-amber */
  --amber-lt:   #F2B269;   /* highlight / hover */
  --amber-dk:   #B36F23;   /* pressed / deep */
  --bone:       #F4EFE7;   /* warm bone — light section bg */
  --bone-2:     #FBF8F2;   /* raised card on light */
  --bone-line:  #E3D9C9;   /* hairlines on light */
  --paper-ink:  #223140;   /* body text on light */
  --paper-mut:  #5B6A76;   /* muted text on light */
  --dark-ink:   #EDE7DC;   /* body text on dark */
  --dark-mut:   rgba(237,231,220,.66);

  --maxw: 1160px;
  --gut: clamp(20px, 5vw, 64px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .5s;

  --ff-disp: "Saira Condensed", "Arial Narrow", sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper-ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- accessibility ---------- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--amber); color: var(--ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 700;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--dark  { background: var(--ink); color: var(--dark-ink); }
.section--paper { background: var(--bone); color: var(--paper-ink); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

/* engineered eyebrow / label */
.eyebrow {
  font-family: var(--ff-disp);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .82rem;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px; background: var(--amber);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.h-display {
  font-family: var(--ff-disp);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -0.005em;
}
.section-title {
  font-family: var(--ff-disp);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  line-height: .98;
  letter-spacing: -0.01em;
  margin-top: 18px;
}
.section-title .accent { color: var(--amber); }
.lede {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 56ch;
  color: var(--paper-mut);
}
.section--dark .lede { color: var(--dark-mut); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--amber); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-disp);
  font-weight: 600; text-transform: uppercase; letter-spacing: .09em;
  font-size: 1.02rem;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { box-shadow: 0 10px 26px -12px rgba(224,145,58,.85); }
.btn--primary:hover { background: var(--amber-lt); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(20,32,43,.28);
}
.section--dark .btn--ghost,
.hero .btn--ghost,
.contact-hero .btn--ghost,
.thanks .btn--ghost { color: var(--dark-ink); border-color: rgba(237,231,220,.34); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }
.btn--ondark { background: var(--amber); color: var(--ink); }
.btn:active { transform: translateY(0); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* small arrow link */
.arrow-link {
  font-family: var(--ff-disp);
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  font-size: .9rem; color: var(--amber);
  display: inline-flex; align-items: center; gap: 8px;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,32,43,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 12px 30px -18px rgba(0,0,0,.7); background: rgba(16,26,35,.95); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name {
  font-family: var(--ff-disp); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.32rem; line-height: 1;
  display: flex; flex-direction: column;
}
.brand__name small {
  font-family: var(--ff-body); font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; font-size: .56rem; color: var(--amber); margin-top: 3px;
}

.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .96rem; color: rgba(237,231,220,.82);
  padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--amber); transition: width .28s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
  background: var(--ink-2); border-bottom: 1px solid var(--ink-line);
}
.mobile-nav.is-open { grid-template-rows: 1fr; }
.mobile-nav__inner { overflow: hidden; }
.mobile-nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.15rem; color: var(--dark-ink);
  padding: 16px var(--gut); border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:first-child { border-top: 0; }
.mobile-nav a .num { color: var(--amber); font-size: .8rem; }
.mobile-nav__cta { padding: 18px var(--gut) 26px; }
.mobile-nav__cta .btn { width: 100%; justify-content: center; }

@media (min-width: 940px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* =====================================================================
   SPINE RAIL — the signature (fixed vertebra scroll indicator)
   ===================================================================== */
.spine-rail {
  position: fixed; z-index: 60;
  left: 26px; top: 50%; transform: translateY(-50%);
  display: none;
  flex-direction: column; gap: 12px;
}
.spine-rail__seg {
  --w: 16px;
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 12px; padding: 3px 0;
  color: var(--paper-mut);
}
.spine-rail__bar {
  width: var(--w); height: 4px; border-radius: 3px;
  background: var(--bone-line);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.spine-rail__label {
  font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .74rem;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap; color: var(--paper-ink);
}
.spine-rail__seg:hover .spine-rail__label,
.spine-rail__seg:focus-visible .spine-rail__label { opacity: 1; transform: translateX(0); }
.spine-rail__seg.is-active .spine-rail__bar { width: 34px; background: var(--amber); }
.spine-rail__seg.is-active .spine-rail__label { opacity: 1; transform: translateX(0); color: var(--amber); }
@media (min-width: 1280px) { .spine-rail { display: flex; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--dark-ink);
  padding-block: clamp(56px, 8vw, 104px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
/* blueprint grid */
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 15% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 15% 0%, #000 30%, transparent 78%);
}
/* amber glow */
.hero__bg::after {
  content: ""; position: absolute; right: -12%; top: -20%;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(224,145,58,.30), transparent 62%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; gap: clamp(34px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__eyebrow { color: var(--amber); }
.hero h1 {
  font-family: var(--ff-disp);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 13vw, 7.2rem);
  line-height: .86;
  letter-spacing: -0.01em;
  margin-top: 22px;
  color: #fff;
}
.hero h1 .amber { color: var(--amber); display: block; }
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px rgba(237,231,220,.5);
  display: block;
}
.hero__sub {
  margin-top: 26px; max-width: 48ch;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  color: var(--dark-mut);
}
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px;
  font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .82rem; color: rgba(237,231,220,.85);
}
.hero__meta li { display: flex; align-items: center; gap: 9px; }
.hero__meta li::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--amber); transform: rotate(45deg);
}

/* hero image plate */
.hero__plate { position: relative; }
.hero__plate img {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 70px -34px rgba(0,0,0,.75);
}
.hero__plate::before, .hero__plate::after {
  content: ""; position: absolute; width: 34px; height: 34px; z-index: 3;
}
.hero__plate::before { top: -10px; left: -10px; border-top: 3px solid var(--amber); border-left: 3px solid var(--amber); border-top-left-radius: 6px; }
.hero__plate::after  { bottom: -10px; right: -10px; border-bottom: 3px solid var(--amber); border-right: 3px solid var(--amber); border-bottom-right-radius: 6px; }
/* measurement chip on plate */
.plate-chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 4;
  background: rgba(20,32,43,.82); backdrop-filter: blur(6px);
  border: 1px solid rgba(242,178,105,.4);
  border-radius: 12px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.plate-chip b {
  font-family: var(--ff-disp); font-weight: 700; color: var(--amber);
  font-size: 1.4rem; line-height: 1; letter-spacing: .02em;
}
.plate-chip span {
  font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .16em;
  font-size: .62rem; color: rgba(237,231,220,.8);
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}

/* =====================================================================
   STAT / TRUST STRIP
   ===================================================================== */
.strip {
  background: var(--ink-2); color: var(--dark-ink);
  border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.strip__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--ink-line);
}
.strip__cell { background: var(--ink-2); padding: 26px clamp(16px,3vw,30px); }
.strip__cell b {
  display: block; font-family: var(--ff-disp); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: #fff;
}
.strip__cell b .u { color: var(--amber); }
.strip__cell span {
  display: block; margin-top: 8px; font-size: .92rem; color: var(--dark-mut);
  line-height: 1.4;
}
@media (min-width: 760px) { .strip__grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   INTRO / SECTION HEADS
   ===================================================================== */
.head-block { max-width: 760px; }
.head-block--wide { max-width: 900px; }

/* =====================================================================
   AREAS OF CARE
   ===================================================================== */
.areas {
  display: grid; gap: 26px; margin-top: 52px;
  grid-template-columns: 1fr;
}
.area-card {
  background: var(--bone-2);
  border: 1px solid var(--bone-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 54px -34px rgba(20,32,43,.4);
  border-color: var(--amber);
}
.area-card__media { position: relative; overflow: hidden; }
.area-card__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .6s var(--ease);
}
.area-card:hover .area-card__media img { transform: scale(1.05); }
.area-card__tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .68rem; color: var(--ink);
  background: var(--amber); padding: 6px 12px; border-radius: 999px;
}
.area-card__body { padding: 26px clamp(20px,3vw,30px) 30px; display: flex; flex-direction: column; flex: 1; }
.area-card h3 {
  font-family: var(--ff-disp); font-weight: 700; font-size: 1.7rem;
  line-height: 1; letter-spacing: -.005em; color: var(--ink);
}
.area-card p { margin-top: 12px; color: var(--paper-mut); font-size: .98rem; }
.area-card__list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.area-card__list li {
  font-size: .82rem; color: var(--paper-ink);
  background: var(--bone); border: 1px solid var(--bone-line);
  padding: 5px 11px; border-radius: 999px;
}
.area-card .arrow-link { margin-top: 22px; }
.area-card__foot { margin-top: auto; }
@media (min-width: 720px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .areas { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   RECOVERY PATHWAY — staged sequence
   ===================================================================== */
.path {
  display: grid; gap: 0; margin-top: 52px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink-line);
}
.path__step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,4vw,44px);
  padding: 30px 0;
  border-bottom: 1px solid var(--ink-line);
  align-items: start;
}
.path__num {
  font-family: var(--ff-disp); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--amber);
  min-width: 2.4ch;
}
.path__step h3 {
  font-family: var(--ff-disp); font-weight: 700; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .01em; color: #fff;
}
.path__step p { margin-top: 8px; color: var(--dark-mut); max-width: 60ch; }
.path__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.path__tags span {
  font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .1em;
  font-size: .72rem; color: var(--amber);
  border: 1px solid rgba(242,178,105,.35); padding: 4px 10px; border-radius: 999px;
}

/* =====================================================================
   SURGEONS — monogram cards
   ===================================================================== */
.team-wrap {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
.team-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.surgeon {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bone-2); border: 1px solid var(--bone-line);
  border-radius: var(--r-md); padding: 20px 22px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.surgeon:hover { border-color: var(--amber); transform: translateX(4px); }
.surgeon__mono {
  flex: none; width: 58px; height: 58px; border-radius: 12px;
  background: var(--ink); color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--ff-disp); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em;
}
.surgeon h3 { font-family: var(--ff-disp); font-weight: 700; font-size: 1.32rem; color: var(--ink); }
.surgeon__role { color: var(--amber); font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-top: 2px; }
.surgeon p { margin-top: 8px; font-size: .92rem; color: var(--paper-mut); }
.team-media { position: relative; }
.team-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); }
.team-media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(20,32,43,.12);
}
@media (min-width: 900px) {
  .team-wrap { grid-template-columns: .82fr 1.18fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   WHY PIVOT — feature band
   ===================================================================== */
.why-grid {
  display: grid; gap: 22px; margin-top: 50px;
  grid-template-columns: 1fr;
}
.feature {
  border-top: 2px solid var(--amber);
  padding-top: 20px;
}
.feature__ic {
  width: 34px; height: 34px; color: var(--amber); margin-bottom: 14px;
}
.feature h3 { font-family: var(--ff-disp); font-weight: 700; font-size: 1.28rem; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.feature p { margin-top: 8px; color: var(--dark-mut); font-size: .96rem; }
@media (min-width: 680px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(90% 120% at 85% 100%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(90% 120% at 85% 100%, #000 20%, transparent 72%);
}
.cta-inner { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: center; }
.cta-inner h2 {
  font-family: var(--ff-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.3rem, 6vw, 4rem); line-height: .92; color: #fff;
}
.cta-inner h2 .accent { color: var(--amber); }
.cta-inner p { margin-top: 16px; color: var(--dark-mut); max-width: 46ch; }
.cta-side {
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--r-lg); padding: 26px;
}
.cta-side__row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ink-line); }
.cta-side__row:last-child { border-bottom: 0; }
.cta-side__ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(224,145,58,.16); color: var(--amber); display: grid; place-items: center; flex: none; }
.cta-side__ic svg { width: 20px; height: 20px; }
.cta-side__row small { display: block; font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; color: var(--dark-mut); }
.cta-side__row b { font-family: var(--ff-disp); font-weight: 700; font-size: 1.16rem; color: #fff; letter-spacing: .01em; }
.cta-side__row a b:hover { color: var(--amber); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.15fr .85fr; gap: 48px; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: #0F1922; color: var(--dark-ink); padding-block: 56px 34px; }
.footer-top { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; color: var(--dark-mut); max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--ff-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--amber); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--dark-mut); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .86rem; color: var(--dark-mut);
}
.footer-bottom a { color: var(--amber); }
.footer-bottom a:hover { text-decoration: underline; }
.footer-note { max-width: 60ch; line-height: 1.5; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr; } }

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-hero { background: var(--ink); color: var(--dark-ink); padding-block: clamp(48px,7vw,84px) 0; position: relative; overflow: hidden; }
.contact-hero .hero__bg { position: absolute; inset: 0; }
.contact-hero .wrap { position: relative; z-index: 2; }
.contact-hero h1 {
  font-family: var(--ff-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: .9; color: #fff; margin-top: 18px;
}
.contact-hero p { margin-top: 18px; max-width: 52ch; color: var(--dark-mut); }
.contact-hero .btn-row { margin-bottom: clamp(48px,7vw,84px); }

.contact-layout {
  display: grid; gap: 34px; grid-template-columns: 1fr;
  padding-block: clamp(48px,7vw,90px);
}
.form-card {
  background: var(--bone-2); border: 1px solid var(--bone-line);
  border-radius: var(--r-lg); padding: clamp(24px,4vw,40px);
}
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .78rem; color: var(--ink);
}
.field label .req { color: var(--amber); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--paper-ink);
  background: var(--bone); border: 1.5px solid var(--bone-line);
  border-radius: 10px; padding: 13px 14px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6A76' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff;
  box-shadow: 0 0 0 4px rgba(224,145,58,.16);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa6ae; }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .btn { justify-content: center; }
.form-fineprint { font-size: .82rem; color: var(--paper-mut); margin-top: 16px; line-height: 1.5; }

/* contact aside */
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--ink); color: var(--dark-ink); border-radius: var(--r-lg); padding: 26px; }
.info-card h3 { font-family: var(--ff-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.4rem; color: #fff; }
.info-card .eyebrow { margin-bottom: 4px; }
.info-list { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(224,145,58,.15); color: var(--amber); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 19px; height: 19px; }
.info-list small { display: block; font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; color: var(--dark-mut); }
.info-list b { font-family: var(--ff-disp); font-weight: 700; font-size: 1.08rem; color: #fff; letter-spacing: .01em; }
.info-list a:hover b { color: var(--amber); }
.info-list p { color: var(--dark-mut); font-size: .92rem; }

.emergency {
  background: rgba(224,145,58,.12); border: 1px solid rgba(179,111,35,.45);
  border-radius: var(--r-md); padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.emergency .ic { color: var(--amber-dk); flex: none; }
.emergency h4 { font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .06em; color: var(--amber-dk); font-size: 1rem; }
.emergency p { color: var(--paper-ink); font-size: .88rem; margin-top: 6px; line-height: 1.5; }
.emergency a { color: var(--amber-dk); font-weight: 700; }
.emergency a:hover { text-decoration: underline; }
.contact-hours {
  background: var(--bone-2); border: 1px solid var(--bone-line);
  border-radius: var(--r-md); padding: 22px;
}
.contact-hours h4 { font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--ink); margin-bottom: 12px; }
.contact-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.contact-hours dt { color: var(--paper-ink); font-weight: 600; }
.contact-hours dd { margin: 0; color: var(--paper-mut); text-align: right; }

@media (min-width: 940px) { .contact-layout { grid-template-columns: 1.4fr .9fr; align-items: start; } .form-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   THANK YOU PAGE
   ===================================================================== */
.thanks { min-height: 76vh; display: grid; place-items: center; background: var(--ink); color: var(--dark-ink); position: relative; overflow: hidden; padding-block: clamp(60px,10vw,120px); }
.thanks .hero__bg { position: absolute; inset: 0; }
.thanks__card { position: relative; z-index: 2; text-align: center; max-width: 620px; }
.thanks__mark { width: 84px; height: 84px; margin: 0 auto 26px; }
.thanks h1 { font-family: var(--ff-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 8vw, 4rem); line-height: .92; color: #fff; }
.thanks h1 .accent { color: var(--amber); }
.thanks p { margin-top: 18px; color: var(--dark-mut); font-size: 1.08rem; }
.thanks__next {
  margin-top: 30px; display: inline-flex; flex-direction: column; gap: 10px;
  background: var(--ink-2); border: 1px solid var(--ink-line);
  border-radius: var(--r-md); padding: 20px 24px; text-align: left;
}
.thanks__next b { font-family: var(--ff-disp); text-transform: uppercase; letter-spacing: .1em; color: var(--amber); font-size: .78rem; }
.thanks__next span { color: var(--dark-mut); font-size: .95rem; }
.thanks .btn-row { justify-content: center; margin-top: 34px; }
.thanks__check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck .7s var(--ease) .35s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .thanks__check { stroke-dashoffset: 0; animation: none; } }

/* =====================================================================
   REVEAL MOTION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }

/* hero load sequence */
.hero-anim > * { opacity: 0; transform: translateY(24px); animation: heroIn .8s var(--ease) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: .05s; }
.hero-anim > *:nth-child(2) { animation-delay: .15s; }
.hero-anim > *:nth-child(3) { animation-delay: .28s; }
.hero-anim > *:nth-child(4) { animation-delay: .4s; }
.hero-anim > *:nth-child(5) { animation-delay: .52s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__plate { opacity: 0; animation: plateIn 1s var(--ease) .35s forwards; }
@keyframes plateIn { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .hero-anim > *, .hero__plate { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
