/* ============================================================
   STRONGHOLD SURFACES — design system
   Brand: #042D62 navy · #FCF9F2 cream · Poppins · sharp corners
   Depth = hard offset shadows + 1px rules. No blur, no rounding.
   ============================================================ */

/* ---------- fonts (self-hosted) ---------- */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/poppins-v24-latin-800.woff2') format('woff2'); }

/* ---------- tokens ---------- */
:root {
  --navy: #042D62;
  --ink: #021D42;
  --cream: #FCF9F2;
  --cream-2: #F4EFE3;
  --charcoal: #212121;
  --action: #0E52CD;
  --line: rgba(4, 45, 98, .16);
  --line-strong: rgba(4, 45, 98, .85);
  --body: rgba(4, 45, 98, .78);
  --shadow: 8px 8px 0 var(--navy);
  --shadow-sm: 5px 5px 0 var(--navy);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(54px, 6vw, 92px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px; line-height: 1.7;
  background: var(--cream); color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--navy); color: var(--cream); padding: 10px 18px;
  font-weight: 700; font-size: .8rem; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- shared type ---------- */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--action); margin-bottom: 18px;
}
.eyebrow--cream { color: var(--cream); opacity: .75; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }

.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head__sub { margin-top: 16px; color: var(--body); max-width: 520px; }
.sec-head--row {
  max-width: none; display: flex; justify-content: space-between;
  align-items: flex-end; gap: 48px;
}
.sec-head__side { max-width: 360px; color: var(--body); font-size: .95rem; border-left: 2px solid var(--navy); padding-left: 20px; }

.chip {
  display: inline-block; border: 1px solid var(--line-strong);
  padding: 6px 12px; font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.chip--solid { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ---------- buttons: constructed, pressed, never floating ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--navy); background: var(--navy); color: var(--cream);
  transition: background .22s var(--ease), color .22s var(--ease),
    border-color .22s var(--ease), transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn--solid { box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--action); border-color: var(--action); box-shadow: 5px 5px 0 var(--ink); }
.btn--solid:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn--cream {
  background: var(--cream); color: var(--navy); border-color: var(--cream);
  box-shadow: 5px 5px 0 rgba(2, 29, 66, .55);
}
.btn--cream:hover { background: #fff; }
.btn--cream:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 rgba(2, 29, 66, .55); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--navy); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--cream); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--nav-h); display: flex; align-items: center; gap: 32px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__shield { width: 30px; fill: var(--navy); }
.nav__shield .nav__check { fill: none; stroke: var(--cream); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.nav__wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav__wordmark b { font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }
.nav__wordmark i { font-style: normal; font-weight: 400; font-size: .78rem; letter-spacing: .06em; opacity: .85; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--action); border-bottom-color: var(--action); }
.nav__links a.is-active { border-bottom-color: var(--navy); }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__tel { font-weight: 700; font-size: .88rem; letter-spacing: .02em; white-space: nowrap; }
.nav__tel:hover { color: var(--action); }
.nav__actions .btn { padding: 13px 22px; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--navy); color: var(--cream);
  padding: 8vh var(--gutter);
}
.mmenu nav { display: flex; flex-direction: column; gap: 4px; }
.mmenu a {
  font-size: 1.7rem; font-weight: 700; letter-spacing: -.01em;
  padding: 14px 0; border-bottom: 1px solid rgba(252, 249, 242, .18);
}
.mmenu__cta { color: var(--cream); }
.mmenu__tel { font-size: 1.1rem; opacity: .85; border-bottom: 0; margin-top: 12px; }

/* ---------- sticky mobile call/book bar ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 12px calc(15px + env(safe-area-inset-bottom, 0px));
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.callbar a svg { width: 17px; height: 17px; flex: none; }
.callbar__call { background: var(--cream); color: var(--navy); border-top: 1px solid var(--navy); }
.callbar__call svg { fill: none; stroke: var(--navy); stroke-width: 2; }
.callbar__book { background: var(--navy); color: var(--cream); border-top: 1px solid var(--navy); }
.callbar__book svg { fill: none; stroke: var(--cream); stroke-width: 2; }
.callbar__book:active { background: var(--action); }
@media (max-width: 759px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; transition: transform .3s var(--ease); }
  .callbar.is-hidden { transform: translateY(110%); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream);
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 0;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 29, 66, .42) 0%, rgba(2, 29, 66, .18) 40%, rgba(2, 29, 66, .78) 100%),
    linear-gradient(78deg, rgba(2, 29, 66, .72) 0%, rgba(2, 29, 66, .28) 52%, rgba(2, 29, 66, 0) 78%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container); width: 100%; margin-inline: auto;
  padding-bottom: clamp(84px, 13vh, 150px);
}
.hero__chip { border-color: rgba(252, 249, 242, .5); color: var(--cream); margin-bottom: 26px; }
.hero__title {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  font-weight: 800; text-transform: uppercase;
  line-height: .98; letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__sub { max-width: 460px; font-size: 1.02rem; color: rgba(252, 249, 242, .88); margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero__trust { font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: rgba(252, 249, 242, .72); padding-bottom: 8px; }
.hero__cue {
  position: absolute; right: var(--gutter); bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__cue-line { width: 2px; height: 88px; background: rgba(252, 249, 242, .25); position: relative; overflow: hidden; }
.hero__cue-line i { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--cream); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--navy); color: var(--cream);
  border-block: 1px solid var(--navy);
  overflow: hidden; padding: 18px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 48px;
  width: max-content; will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee__track svg { width: 15px; flex: none; fill: rgba(252, 249, 242, .5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PROCESS — pinned scrub
   ============================================================ */
.process { background: var(--cream); }
.process__inner {
  max-width: var(--container); margin-inline: auto; padding: 0 var(--gutter);
  min-height: 100svh; display: grid; grid-template-columns: minmax(320px, 5fr) 7fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.process__rail { position: relative; padding: 48px 0; }
.process__counter { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
.process__num {
  font-size: clamp(4.6rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.process__of { font-size: 1.1rem; font-weight: 700; opacity: .45; }
.process__steps { position: relative; min-height: 190px; }
.process__step { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.process__step.is-active { opacity: 1; visibility: visible; }
.process__step h2 { margin-bottom: 14px; }
.process__step p { color: var(--body); max-width: 400px; }
.process__progress { width: 100%; height: 3px; background: var(--line); margin-top: 40px; position: relative; }
.process__progress i {
  position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--navy);
  transform: scaleX(0); transform-origin: left;
}
.process__progress i::after {
  content: ''; position: absolute; right: -5px; top: -5px;
  width: 13px; height: 13px; background: var(--navy);
}
.process__media { position: relative; }
#scrubCanvas {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  border: 1px solid var(--navy); box-shadow: var(--shadow);
  background: var(--cream-2);
}
.process__mobile { display: none; }

/* static process (mobile / reduced motion / no-JS) */
.process.is-static .process__counter,
.process.is-static .process__progress,
.process.is-static #scrubCanvas,
html:not(.js) .process__counter,
html:not(.js) .process__progress,
html:not(.js) #scrubCanvas { display: none; }
.process.is-static .process__step,
html:not(.js) .process__step {
  position: static; opacity: 1; visibility: visible; margin-bottom: 26px;
}
.process.is-static .process__steps,
html:not(.js) .process__steps { min-height: 0; }
.process.is-static .process__mobile,
html:not(.js) .process__mobile { display: grid; gap: 22px; }
.process__mobile figure img {
  border: 1px solid var(--navy); box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9; width: 100%; object-fit: cover;
}
.process__mobile figcaption {
  margin-top: 10px; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--body);
}
.process__mobile figure .process__step { margin: 10px 0 8px; }
.process__mobile figure .process__step h2 { font-size: 1.45rem; }
.process.is-static .process__steps { display: none; } /* texts move into figures via JS */
html:not(.js) .process__steps { display: block; } /* no-JS keeps texts visible above images */
.process.is-static .process__inner,
html:not(.js) .process__inner { min-height: 0; padding-block: var(--section) 40px; align-items: start; }

/* ============================================================
   WORK — before/after
   ============================================================ */
.work { padding: var(--section) 0; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 48px); }
.ba { min-width: 0; }
.ba__frame {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid var(--navy); box-shadow: var(--shadow);
  user-select: none; touch-action: pan-y; --pos: 50%;
}
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__beforewrap {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; background: var(--cream); cursor: ew-resize;
  transform: translateX(-1px);
}
.ba__handle i {
  position: absolute; top: 50%; left: 50%;
  width: 40px; height: 40px; transform: translate(-50%, -50%);
  background: var(--cream); border: 1px solid var(--navy);
  display: grid; place-items: center;
}
.ba__handle i::before, .ba__handle i::after {
  content: ''; position: absolute; top: 50%; transform: translateY(-50%);
  border-style: solid; border-color: transparent;
}
.ba__handle i::before { left: 8px; border-width: 5px 7px 5px 0; border-right-color: var(--navy); }
.ba__handle i::after { right: 8px; border-width: 5px 0 5px 7px; border-left-color: var(--navy); }
.ba__tag {
  position: absolute; top: 14px;
  font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; background: var(--navy); color: var(--cream);
}
.ba__tag--b { left: 14px; }
.ba__tag--a { right: 14px; background: var(--cream); color: var(--navy); border: 1px solid var(--navy); }
.ba figcaption { margin-top: 16px; font-size: .86rem; font-weight: 500; color: var(--body); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: var(--section) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2vw, 24px); }
.svc {
  grid-column: span 4; background: #fff; color: var(--navy);
  border: 1px solid var(--navy); padding: clamp(24px, 2.6vw, 40px);
  min-height: 270px; display: flex; flex-direction: column;
  transition: background .25s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.svc:hover, .svc:focus-visible { background: var(--cream); transform: translate(-4px, -4px); box-shadow: var(--shadow-sm); }
.svc--wide { grid-column: span 7; }
.svc--mid { grid-column: span 5; }
.svc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.svc__icon { width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: square; }
.svc__desc { color: var(--body); font-size: .95rem; max-width: 420px; margin-top: auto; margin-bottom: 18px; }
.svc__foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.svc__arrow { font-size: 1.4rem; line-height: 1; transition: transform .22s var(--ease); }
.svc:hover .svc__arrow { transform: translateX(8px); color: var(--action); }

/* ============================================================
   STANDARD (navy band)
   ============================================================ */
.standard { background: var(--navy); color: var(--cream); padding: var(--section) 0; }
.standard__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); }
.standard__intro h2 { margin-bottom: 40px; }
.standard__plates { display: flex; flex-direction: column; gap: 14px; }
.plate {
  display: flex; align-items: baseline; gap: 12px;
  border: 1px solid rgba(252, 249, 242, .28); padding: 18px 22px;
}
.plate b { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plate b i { font-style: normal; }
.plate span { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.standard__values { list-style: none; display: flex; flex-direction: column; }
.standard__values li {
  display: flex; gap: 22px; padding: 26px 0;
  border-bottom: 1px solid rgba(252, 249, 242, .18);
}
.standard__values li:last-child { border-bottom: 0; }
.standard__values svg { width: 30px; flex: none; fill: var(--cream); margin-top: 4px; }
.standard__values svg .check { fill: none; stroke: var(--navy); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.standard__values h3 { margin-bottom: 6px; }
.standard__values p { color: rgba(252, 249, 242, .78); font-size: .95rem; max-width: 460px; }

/* ============================================================
   QUOTES
   ============================================================ */
.quotes { padding: var(--section) 0; }
.quotes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.quote { border: 1px solid var(--navy); background: #fff; padding: clamp(28px, 3vw, 44px); }
.quote p { font-size: 1.05rem; font-weight: 500; line-height: 1.6; margin-bottom: 22px; }
.quote footer { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: var(--section) 0; }
.faq__grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--nav-h) + 28px); }
.faq__intro h2 { margin-bottom: 16px; }
.faq__lead { color: var(--body); max-width: 320px; margin-bottom: 22px; }
.faq__more {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--action); border-bottom: 2px solid transparent; padding-bottom: 3px;
  transition: border-color .2s;
}
.faq__more:hover { border-bottom-color: var(--action); }
@media (max-width: 1023px) {
  .faq__grid { grid-template-columns: 1fr; gap: 8px; }
  .faq__intro { position: static; }
  .faq__lead { max-width: none; }
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px; text-align: left;
  font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em;
  transition: color .2s;
}
.faq__q:hover { color: var(--action); }
.faq__q i { position: relative; width: 16px; height: 16px; flex: none; }
.faq__q i::before, .faq__q i::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform .28s var(--ease);
}
.faq__q i::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq__q i::after { top: 0; bottom: 0; left: 7px; width: 2px; }
.faq__item.is-open .faq__q i::after { transform: scaleY(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.faq__a p {
  overflow: hidden; color: var(--body); max-width: 640px;
  padding: 0 4px;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { padding-bottom: 26px; }

/* ============================================================
   BOOK
   ============================================================ */
.book { background: var(--navy); color: var(--cream); padding: var(--section) 0; }
.book__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.book__pitch h2 { margin-bottom: 18px; }
.book__sub { color: rgba(252, 249, 242, .82); max-width: 420px; margin-bottom: 30px; }
.book__list { list-style: none; margin-bottom: 40px; }
.book__list li {
  position: relative; padding: 12px 0 12px 40px;
  font-weight: 500; border-bottom: 1px solid rgba(252, 249, 242, .16);
}
.book__list li::before {
  content: ''; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1C15 2.2 18.5 3.2 21.5 3.8V12.5C21.5 19.8 17.5 25 12 27C6.5 25 2.5 19.8 2.5 12.5V3.8C5.5 3.2 9 2.2 12 1Z' fill='%23FCF9F2'/%3E%3Cpath d='M7.4 13.6 10.7 16.9 16.6 9.9' fill='none' stroke='%23042D62' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.book__alt { display: flex; flex-direction: column; gap: 6px; }
.book__alt-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.book__phone { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.book__phone:hover, .book__mail:hover { text-decoration: underline; text-underline-offset: 5px; }
.book__mail { font-weight: 500; opacity: .85; }
.book__widget { position: relative; }
.book__slot {
  background: var(--cream); color: var(--navy);
  border: 1px solid var(--cream);
  box-shadow: 10px 10px 0 rgba(2, 29, 66, .95);
  min-height: 640px; position: relative;
}
.book__slot iframe { width: 100%; height: 100%; min-height: 640px; border: 0; }
.book__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: 14px;
  padding: clamp(28px, 4vw, 56px);
}
.book__fallback-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.book__fallback p:not(.book__fallback-title) { color: var(--body); margin-bottom: 12px; }

/* ============================================================
   TRANSFORMATION SCRUB (work.html, desktop + motion only)
   ============================================================ */
.tscrub { background: var(--ink); color: var(--cream); }
.tscrub__pin { min-height: 100svh; display: grid; place-items: center; padding: 40px var(--gutter); }
.tscrub__stage { width: min(1100px, 100%); }
.tscrub__head { margin-bottom: 26px; }
#tCanvas {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  border: 1px solid rgba(252, 249, 242, .3);
  background: #0c1526;
}
.tscrub__hud { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.tscrub__tag {
  min-width: 84px; text-align: center;
  border: 1px solid rgba(252, 249, 242, .4); padding: 6px 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.tscrub__bar { flex: 1; height: 3px; background: rgba(252, 249, 242, .18); position: relative; }
.tscrub__bar i {
  position: absolute; inset: 0; background: var(--cream);
  transform: scaleX(0); transform-origin: left;
}
.tscrub__note { font-size: .78rem; color: rgba(252, 249, 242, .55); margin-top: 12px; max-width: 560px; }
@media (max-width: 1023px) { .tscrub { display: none; } }
html.reduced .tscrub { display: none; }
html:not(.js) .tscrub { display: none; }

/* ============================================================
   CUTAWAY — six-layer cross-section scrub
   ============================================================ */
.cut { background: var(--cream); }
.cut__pin { min-height: 100svh; display: grid; place-items: center; padding: 32px 0; }
/* mirrors .process__inner so the rail's left edge matches every other section */
.cut__inner {
  width: 100%; max-width: var(--container); padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(250px, 3.6fr) 8fr;
  gap: clamp(20px, 3vw, 48px); align-items: center;
}
.cut__counter { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.cut__num {
  font-size: clamp(3.2rem, 5.4vw, 4.8rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.cut__of { font-size: 1rem; font-weight: 700; opacity: .42; }
.cut__steps { position: relative; min-height: 250px; }
.cut__step { position: absolute; inset: 0; opacity: 0; }
.cut__step.is-active { opacity: 1; }
.cut__step h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 12px; }
.cut__step p { color: var(--body); max-width: 380px; margin-bottom: 16px; }
.cut__spec {
  display: inline-block; border: 1px solid var(--line-strong);
  padding: 6px 12px; font-size: .66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
}
.cut__bar { width: 100%; height: 3px; background: var(--line); margin-top: 28px; position: relative; }
.cut__bar i {
  position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--navy);
  transform: scaleX(0); transform-origin: left;
}
.cut__stage svg { width: 100%; height: auto; overflow: visible; }
.cut__stage canvas {
  width: 100%; aspect-ratio: 16 / 9; height: auto; display: block;
  border: 1px solid var(--navy); box-shadow: var(--shadow); background: var(--cream-2);
}
.cut__staticimg { display: none; width: 100%; border: 1px solid var(--navy); box-shadow: var(--shadow); }
.cut__note { font-size: .72rem; color: var(--body); margin-top: 14px; }
.cut.is-static .cut__stage canvas { display: none; }
.cut.is-static .cut__staticimg { display: block; }
/* NB: don't put a max-width on .cut__lead itself — it shares the element with
   .container, whose margin-inline:auto would then centre the block and break the
   page's shared left edge. Constrain the children instead. */
.cut__lead { padding-top: var(--section); }
.cut__lead h2 { margin-bottom: 14px; max-width: 760px; }
.cut__leadsub { color: var(--body); max-width: 480px; }
.cut__afterlead {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 500;
  line-height: 1.6; color: var(--navy); border-left: 2px solid var(--navy); padding-left: 24px;
  margin-block: 8px var(--section); max-width: 780px;
}

/* static fallback: mobile, reduced motion, no-JS */
.cut.is-static .cut__pin { min-height: 0; }
.cut.is-static .cut__inner { grid-template-columns: 1fr; }
.cut.is-static .cut__steps { position: static; min-height: 0; display: grid; gap: 22px; }
.cut.is-static .cut__step { position: static; opacity: 1; }
.cut.is-static .cut__counter, .cut.is-static .cut__bar { display: none; }
.cut.is-static .cut__stage { order: -1; margin-bottom: 28px; }
html:not(.js) .cut__step { position: static; opacity: 1; }
html:not(.js) .cut__steps { position: static; min-height: 0; }

@media (max-width: 1023px) { .cut__inner { grid-template-columns: 1fr; } }
/* labels shrink below legibility on phones — the stacked steps already name each layer */
@media (max-width: 759px) { .cut__labels { display: none; } }

/* ============================================================
   SUB-PAGE COMPONENTS
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(24px, 4vw, 48px);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
  margin-bottom: 18px;
}
.page-hero__sub { color: var(--body); max-width: 560px; font-size: 1.02rem; }
.page-hero .eyebrow { margin-bottom: 14px; }

.cta-band { background: var(--navy); color: var(--cream); padding: var(--section) 0; }
.cta-band__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 28px;
}
.cta-band h2 { max-width: 560px; }
.cta-band .btn--cream { border-color: var(--cream); }

/* services detail blocks */
.detail { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.detail:last-of-type { border-bottom: 0; }
.detail__grid {
  display: grid; grid-template-columns: 6fr 5fr;
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.detail--flip .detail__grid > .detail__media { order: -1; }
.detail__kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail__kicker .svc__icon { width: 40px; height: 40px; }
.detail h2 { margin-bottom: 16px; }
.detail__body p { color: var(--body); max-width: 520px; margin-bottom: 26px; }
.detail__list { list-style: none; margin-bottom: 28px; }
.detail__list li {
  position: relative; padding: 10px 0 10px 36px;
  font-weight: 500; font-size: .95rem; border-bottom: 1px solid var(--line);
}
.detail__list li::before {
  content: ''; position: absolute; left: 2px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1C15 2.2 18.5 3.2 21.5 3.8V12.5C21.5 19.8 17.5 25 12 27C6.5 25 2.5 19.8 2.5 12.5V3.8C5.5 3.2 9 2.2 12 1Z' fill='%23042D62'/%3E%3Cpath d='M7.4 13.6 10.7 16.9 16.6 9.9' fill='none' stroke='%23FCF9F2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.detail__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--navy); box-shadow: var(--shadow);
}
.detail__note { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--body); margin-top: 14px; }

/* work gallery */
.gallery { padding: var(--section) 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.gallery__grid figure { position: relative; margin: 0; }
.gallery__grid img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--navy);
}
.gallery__grid figure.is-tall img { aspect-ratio: 3 / 4; }
.gallery__grid figure.is-tall { grid-row: span 2; }
.gallery__grid figure.is-tall img { height: 100%; }
.gallery__grid figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--cream); color: var(--navy); border: 1px solid var(--navy);
  padding: 6px 10px; font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.ba--wide { grid-column: 1 / -1; }
.ba--wide .ba__frame { aspect-ratio: 21 / 9; }

/* process page spec rows */
.specs { padding: var(--section) 0; }
.specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 24px); }
.spec { border: 1px solid var(--navy); background: #fff; padding: clamp(24px, 2.6vw, 36px); }
.spec h3 { margin-bottom: 10px; }
.spec p { color: var(--body); font-size: .93rem; }

@media (max-width: 1023px) {
  .detail__grid { grid-template-columns: 1fr; }
  .detail--flip .detail__grid > .detail__media { order: 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .specs__grid { grid-template-columns: 1fr; }
}
@media (max-width: 759px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__grid figure.is-tall { grid-row: auto; }
  .gallery__grid figure.is-tall img { aspect-ratio: 4 / 3; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--cream); padding: clamp(56px, 7vw, 90px) 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px); padding-bottom: 56px;
}
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__logo svg { width: 30px; fill: var(--cream); }
.footer__logo svg .check { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.footer__logo span { display: flex; flex-direction: column; line-height: 1; }
.footer__logo b { font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }
.footer__logo i { font-style: normal; font-weight: 400; font-size: .78rem; letter-spacing: .06em; opacity: .85; }
.footer__brand p { opacity: .6; font-size: .9rem; }
.footer__social {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 16px;
  font-size: .88rem; font-weight: 500; opacity: .78; transition: opacity .2s;
}
.footer__social svg {
  width: 19px; height: 19px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
}
.footer__social:hover { opacity: 1; }
.footer__addr { font-style: normal; opacity: .78; font-size: .92rem; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer__col a { opacity: .78; transition: opacity .2s; width: fit-content; }
.footer__col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer__col p { opacity: .78; }
.footer__label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: 1 !important; margin-bottom: 4px; }
.footer__legal {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid rgba(252, 249, 242, .14);
  padding-block: 22px; font-size: .78rem;
}
.footer__legal p { opacity: .5; }

/* ============================================================
   REVEAL PRIMITIVES (JS adds .rv; GSAP animates)
   ============================================================ */
.rv { opacity: 0; }
.no-js .rv, html.reduced .rv { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .process__inner { grid-template-columns: 1fr; align-content: center; gap: 28px; padding-block: 90px 48px; }
  .process__rail { padding: 0; }
  .process__num { font-size: 3.6rem; }
  .process__steps { min-height: 150px; }
  .standard__grid, .book__grid { grid-template-columns: 1fr; }
  .sec-head--row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .svc--wide, .svc--mid, .svc { grid-column: span 6; }
}
@media (max-width: 759px) {
  .nav__links, .nav__tel { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: block; }
  .hero__ctas .btn { width: 100%; }
  .hero__cue { display: none; }
  .svc--wide, .svc--mid, .svc { grid-column: span 12; min-height: 0; }
  .work__grid, .quotes__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .book__slot { min-height: 580px; }
  /* reserve the fixed call-bar's height inside the dark footer so it never
     covers the legal line (sub-pages keep the bar visible at the very bottom) */
  .footer { padding-bottom: 54px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .hero__cue-line i { animation: none; top: 0; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
