/* ==========================================================================
   Bay Design + Remodel — Design System & Site Styles
   Vanilla CSS. No build step. Tokens first, then base, components, sections.
   ========================================================================== */

/* ---------- 0. Self-hosted fonts ---------- */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette (from approved rendition) */
  --navy: #14242B;          /* Deep Charcoal / Navy */
  --navy-90: #1A2E36;
  --navy-80: #223A44;
  --ivory: #F7F5F0;         /* Warm Ivory */
  --ivory-2: #EFEBE2;
  --gold: #D6B47D;          /* Champagne Gold — fills, lines, text on dark only */
  --gold-hover: #E2C493;
  --gold-ink: #8A6630;      /* AA-safe gold for small text on light (5.0:1 on ivory) */
  --white: #FFFFFF;         /* Architectural White */
  --ink: #1C2428;           /* Dark text */
  --ink-muted: #4E5A5F;     /* 6.6:1 on ivory */
  --on-dark-muted: #C9D0D2; /* 10:1 on navy */
  --line: #E3DED3;
  --line-dark: rgba(255,255,255,.14);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (mobile → desktop) */
  --fs-display: clamp(2.6rem, 1.6rem + 4.2vw, 4.4rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 2.85rem);
  --fs-h3: clamp(1.35rem, 1.2rem + .6vw, 1.6rem);
  --fs-lead: clamp(1.02rem, .97rem + .25vw, 1.15rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  /* Spacing (8pt base) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem;  --s-7: 3rem; --s-8: 4rem;  --s-9: 6rem;
  --section-y: clamp(3.5rem, 2.2rem + 5vw, 6.5rem);
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 3rem);
  --container: 1320px;

  /* Shape & depth */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(20,36,43,.06), 0 8px 24px rgba(20,36,43,.07);
  --shadow-lift: 0 2px 4px rgba(20,36,43,.08), 0 18px 40px rgba(20,36,43,.14);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .35s;

  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, .section--light :focus-visible { outline-color: var(--navy); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold); color: var(--navy); padding: .75rem 1rem; font-weight: 700; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--font-sans); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); flex: none; }
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .eyebrow--dark { color: var(--white); }
.eyebrow--gold { color: var(--gold); }
.h2 { font-size: var(--fs-h2); color: var(--ink); }
.on-dark .h2 { color: var(--white); }
.lead { font-size: var(--fs-lead); color: var(--ink-muted); max-width: 34rem; }
.on-dark .lead { color: var(--on-dark-muted); }
.accent { font-style: italic; color: var(--gold); }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--gold); --btn-fg: var(--navy); --btn-bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font-family: var(--font-sans); font-weight: 700; font-size: .95rem; letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover { --btn-bg: var(--gold-hover); --btn-bd: var(--gold-hover); box-shadow: 0 8px 22px rgba(214,180,125,.28); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.55); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: var(--white); --btn-fg: var(--white); box-shadow: none; }
.btn--dark { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy); }
.btn--dark:hover { --btn-bg: var(--navy-80); --btn-bd: var(--navy-80); box-shadow: var(--shadow-card); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 5. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20,36,43,.97);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(20,36,43,.9); backdrop-filter: saturate(140%) blur(10px); }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); flex: none; }
.brand img { height: 62px; width: auto; }
.nav__links { display: none; }
.nav__links a {
  position: relative; display: inline-block; padding: .5rem 0;
  color: var(--white); text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .88;
  transition: opacity var(--dur) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1.25rem; }
.nav__phone {
  display: none; align-items: center; gap: .55rem; color: var(--white); text-decoration: none;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.nav__phone svg { width: 18px; height: 18px; color: var(--gold); }
.nav__phone:hover { color: var(--gold); }
.nav__cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: transparent; border: 1px solid var(--line-dark); border-radius: var(--radius-sm);
  color: var(--white); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--navy); color: var(--white);
  padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-menu ul { border-top: 1px solid var(--line-dark); }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0;
  font-family: var(--font-serif); font-size: 1.65rem; text-decoration: none; color: var(--white);
}
.mobile-menu li a svg { width: 18px; color: var(--gold); }
.mobile-menu__foot { margin-top: 2rem; display: grid; gap: 1rem; }
.mobile-menu__foot .nav__phone { display: inline-flex; font-size: 1.1rem; }
.mobile-menu__foot small { color: var(--on-dark-muted); }
body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
  .menu-toggle, .mobile-menu { display: none; }
  .nav__links { display: flex; gap: clamp(1.1rem, 1.6vw, 2.1rem); }
  .nav__cta { display: inline-flex; }
}
@media (min-width: 1280px) { .nav__phone { display: inline-flex; } }
@media (max-width: 420px) { .brand img { height: 54px; } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white);
  min-height: clamp(560px, 78vh, 720px);
  display: flex; align-items: center;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,36,43,.78) 0%, rgba(20,36,43,.72) 45%, rgba(20,36,43,.94) 100%);
}
.hero__inner { padding-block: clamp(3.5rem, 8vw, 6rem); width: 100%; }
.hero__content { max-width: 37rem; }
.hero .eyebrow { color: var(--white); margin-bottom: 1.25rem; }
.hero .eyebrow::before { display: none; }
.hero h1 {
  font-size: var(--fs-display); font-weight: 500; line-height: 1.02; color: var(--white);
  margin-bottom: 1.5rem; letter-spacing: -.01em;
}
.hero h1 .line { display: block; }
.hero__copy { font-size: var(--fs-lead); color: #E6EAEB; max-width: 33rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.trust {
  display: grid; grid-template-columns: 1fr; gap: 1rem 2rem;
  padding-top: 1.75rem; border-top: 1px solid var(--line-dark); max-width: 36rem;
}
.trust li { display: flex; align-items: center; gap: .8rem; font-size: .82rem; line-height: 1.35; color: var(--on-dark-muted); }
.trust li strong { display: block; white-space: nowrap; color: var(--white); font-weight: 700; font-size: .86rem; }
.trust li a { color: var(--on-dark-muted); text-decoration-color: rgba(214,180,125,.6); text-underline-offset: 2px; }
.trust li a:hover { color: var(--gold); }
.trust svg { width: 28px; height: 28px; color: var(--gold); flex: none; }

@media (min-width: 640px) { .trust { grid-template-columns: repeat(3, auto); max-width: 42rem; } }

@media (min-width: 960px) {
  .hero__media { left: 36%; }
  .hero__media img { object-position: 30% 50%; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, var(--navy) 0%, rgba(20,36,43,.88) 12%, rgba(20,36,43,.45) 30%, rgba(20,36,43,0) 52%),
      linear-gradient(180deg, rgba(20,36,43,.2) 0%, rgba(20,36,43,0) 25%, rgba(20,36,43,0) 75%, rgba(20,36,43,.35) 100%);
  }
  .hero::before { background: none; }
}

/* ---------- 7. Sections (shared) ---------- */
.section { padding-block: var(--section-y); }
.section--light { background: var(--ivory); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; }

/* ---------- 8. Services ---------- */
.services__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.services__intro { display: grid; gap: 1.1rem; align-content: start; padding-right: 1rem; margin-bottom: 1rem; }
.services__intro .lead { font-size: 1rem; }
.services__cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(20,36,43,.04);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ivory-2); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card__body {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 1rem 1.1rem 1.05rem;
}
.service-card h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.service-card__arrow { width: 20px; height: 20px; flex: none; transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card:hover img { transform: scale(1.05); }
.service-card:hover .service-card__arrow { transform: translateX(4px); color: var(--gold-ink); }
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover::after, .service-card:focus-visible::after { transform: scaleX(1); }

@media (min-width: 560px) { .services__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) {
  .services__grid { grid-template-columns: minmax(330px, 1.25fr) 4fr; gap: 2.25rem; align-items: center; }
  .services__intro .h2 { font-size: 2.45rem; }
  .services__cards > li { display: flex; }
  .services__cards .service-card { width: 100%; }
  .services__intro { margin-bottom: 0; }
  .services__cards { grid-template-columns: repeat(4, 1fr); }
  .service-card__img { aspect-ratio: 16 / 9.2; }
}

/* ---------- 9. Before/After + Process row ---------- */
.proof { background: var(--white); }
.proof__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .proof__grid { grid-template-columns: 1fr 1.08fr; } }

.ba { display: grid; gap: .85rem; }
.ba__frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ivory-2); box-shadow: var(--shadow-card); user-select: none; touch-action: pan-y;
  --pos: 50%;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__label {
  position: absolute; top: 1rem; z-index: 3;
  padding: .3rem .65rem; border-radius: 3px;
  background: rgba(20,36,43,.82); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }
.ba__divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px;
  background: var(--white); box-shadow: 0 0 0 1px rgba(20,36,43,.08); pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--navy); box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s var(--ease);
}
.ba__handle svg { width: 22px; height: 22px; }
.ba__range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; -webkit-appearance: none; appearance: none; background: transparent;
  pointer-events: none; /* pointer drag handled in JS; range kept for keyboard + screen readers */
}
.ba__frame { cursor: ew-resize; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; }
.ba__range::-moz-range-thumb { width: 48px; height: 100%; border: 0; }
.ba__frame:focus-within { outline: 2px solid var(--navy); outline-offset: 4px; }
.ba__frame:focus-within .ba__handle, .ba__frame.is-dragging .ba__handle { transform: translate(-50%, -50%) scale(1.1); }
.ba__caption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-muted); }
.ba__caption strong { color: var(--ink); }
.demo-tag {
  display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .55rem;
  border: 1px dashed var(--gold-ink); border-radius: 3px; color: var(--gold-ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.process__steps { position: relative; display: grid; gap: 1.75rem; grid-template-columns: 1fr 1fr; margin-top: 2.25rem; }
.step { text-align: center; display: grid; justify-items: center; align-content: start; gap: .55rem; position: relative; }
.step__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-ink); background: var(--white);
  margin-bottom: .35rem; transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative; z-index: 1;
}
.step__icon svg { width: 30px; height: 30px; }
.step:hover .step__icon { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.step h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }
.step p { font-size: .9rem; line-height: 1.5; color: var(--ink-muted); max-width: 14rem; }
@media (min-width: 640px) {
  .process__steps { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 32px; left: calc(50% + 44px); right: calc(-50% + 44px);
    border-top: 1px dashed #BFB59F;
  }
}
.process__more { margin-top: 2.25rem; }

/* ---------- 10. Why choose us ---------- */
.why__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
.why__intro { display: grid; gap: 1.1rem; align-content: start; }
.why__list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.why__item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.why__item svg { width: 32px; height: 32px; color: var(--gold-ink); margin-top: .15rem; }
.why__item h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; letter-spacing: 0; margin-bottom: .3rem; }
.why__item p { font-size: .93rem; color: var(--ink-muted); line-height: 1.6; }
@media (min-width: 720px) {
  .why__list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: .85fr 2fr; }
  .why__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- 11. Testimonial + final CTA split ---------- */
.closing { display: grid; grid-template-columns: 1fr; }
.closing__quote { background: var(--ivory); padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); display: grid; align-content: center; }
.closing__quote-inner { max-width: 32rem; margin-inline: auto; width: 100%; }
.closing__cta {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  display: grid; align-content: center;
}
.closing__cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,36,43,.96) 0%, rgba(20,36,43,.82) 55%, rgba(20,36,43,.55) 100%);
}
.closing__cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.closing__cta-inner { display: grid; gap: 1rem; max-width: 40rem; }
.closing__cta h2 { font-size: var(--fs-h2); color: var(--white); }
.closing__cta p:not(.eyebrow) { color: var(--on-dark-muted); font-size: var(--fs-lead); }
.closing__cta .btn { justify-self: start; margin-top: .75rem; }
@media (min-width: 1024px) {
  .closing { grid-template-columns: 1fr 1.45fr; }
  .closing__cta { clip-path: polygon(4.5% 0, 100% 0, 100% 100%, 0 100%); padding-left: calc(var(--gutter) + 4%); }
  .closing__cta-inner { grid-template-columns: 1fr auto; align-items: center; column-gap: 2.5rem; max-width: 50rem; }
  .closing__cta-inner > .eyebrow, .closing__cta-inner > h2, .closing__cta-inner > p { grid-column: 1; }
  .closing__cta .btn { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}

/* ---------- 12. Footer ---------- */
.site-footer { background: #0F1C21; color: var(--on-dark-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .92rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 72px; width: auto; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 22rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--white); }
.footer__contact address { font-style: normal; line-height: 1.7; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; padding-block: 1.5rem; font-size: .8rem; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ---------- 13. Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: .6rem;
  padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(20,36,43,.97); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { min-height: 46px; padding-inline: .8rem; font-size: .92rem; }
@media (min-width: 1100px) { .mobile-cta { display: none; } }
@media (max-width: 1099px) { body.has-mobile-cta { padding-bottom: 72px; } }

/* ---------- 14. Reveal animation (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   16. Global extras
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); pointer-events: none; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 2rem; }
.section__head--center { justify-items: center; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(214,180,125,.16); color: var(--gold-ink);
}
.on-dark .badge { color: var(--gold); background: rgba(214,180,125,.14); }
.illustrative-tag {
  position: absolute; left: .6rem; bottom: .6rem; z-index: 2; padding: .2rem .5rem; border-radius: 3px;
  background: rgba(20,36,43,.78); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.service-card__img { position: relative; }
.check-list { display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg) translateY(-3px);
}
.on-dark .check-list li::before { border-color: var(--gold); }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,36,43,.96) 0%, rgba(20,36,43,.86) 45%, rgba(20,36,43,.55) 100%); }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 3.9rem); color: var(--white); max-width: 46rem; margin: .9rem 0 1.1rem; }
.page-hero .lead { color: #E3E8E9; max-width: 40rem; }
.page-hero .hero__ctas { margin: 2rem 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; font-size: .8rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--white); }

/* ==========================================================================
   17. Homepage: featured project spotlight
   ========================================================================== */
.spotlight { background: var(--navy); color: var(--white); }
.spotlight__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .spotlight__grid { grid-template-columns: 1.45fr 1fr; } }
.spotlight__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-80); }
.spotlight__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.spotlight__stage img.is-active { opacity: 1; transform: none; }
.spotlight__caption { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: .45rem .75rem; border-radius: 4px; background: rgba(20,36,43,.82); font-size: .82rem; }
.spotlight__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--gold-ink); }
.chip[aria-selected="true"], .chip[aria-pressed="true"], .chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.on-dark .chip { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.on-dark .chip:hover { border-color: var(--gold); }
.on-dark .chip[aria-selected="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.spotlight__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; padding: 1.5rem 0; margin: 1.5rem 0; border-block: 1px solid var(--line-dark); font-size: .88rem; }
.spotlight__meta dt { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .2rem; }
.spotlight__meta dd { margin: 0; color: var(--white); }
.spotlight__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .75rem; }
.spotlight__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3; opacity: .65; transition: opacity var(--dur), border-color var(--dur); }
.spotlight__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__thumbs button[aria-current="true"], .spotlight__thumbs button:hover { opacity: 1; border-color: var(--gold); }

/* ==========================================================================
   18. Project planner (interactive)
   ========================================================================== */
.planner { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: clamp(1.5rem, 3vw, 2.5rem); }
.planner__progress { display: flex; gap: .4rem; margin-bottom: 1.5rem; }
.planner__progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background var(--dur); }
.planner__progress span.is-done { background: var(--gold); }
.planner__step { display: none; }
.planner__step.is-active { display: block; animation: fadeUp .45s var(--ease); }
.planner__step legend { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: 1.1rem; padding: 0; }
.planner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-card span {
  display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: .93rem; background: var(--ivory); transition: all var(--dur) var(--ease);
}
.option-card span svg { width: 22px; height: 22px; color: var(--gold-ink); flex: none; }
.option-card input:hover + span { border-color: var(--gold-ink); }
.option-card input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.option-card input:checked + span svg { color: var(--gold); }
.option-card input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.planner__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.planner__back { background: none; border: 0; padding: .5rem 0; font-weight: 700; color: var(--ink-muted); cursor: pointer; }
.planner__back[hidden] { display: none; }
.planner__summary { font-size: .95rem; color: var(--ink-muted); margin-bottom: 1.25rem; }
.planner__summary strong { color: var(--ink); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.planner-wrap { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .planner-wrap { grid-template-columns: .9fr 1.3fr; } }

/* ==========================================================================
   19. Service area map (interactive)
   ========================================================================== */
.area { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .area { grid-template-columns: 1fr 1.1fr; } }
.area__map { position: relative; aspect-ratio: 1 / .82; background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; }
.area__map svg { width: 100%; height: 100%; }
.area__map .ridge { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.2; }
.area__map .road { fill: none; stroke: rgba(214,180,125,.22); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.area__map .city circle.dot { fill: var(--gold); transition: r .3s var(--ease); }
.area__map .city circle.halo { fill: rgba(214,180,125,.18); opacity: 0; transition: opacity .3s var(--ease); }
.area__map .city text { fill: #E9EDEE; font: 600 13px var(--font-sans); letter-spacing: .04em; }
.area__map .city.is-active circle.halo, .area__map .city.is-home circle.halo { opacity: 1; }
.area__map .city.is-active text { fill: var(--gold); }
.area__map .city { cursor: pointer; }
.area__map .city:focus-visible { outline: none; }
.area__map .city:focus-visible text { text-decoration: underline; }
.area__legend { position: absolute; left: 1rem; bottom: 1rem; font-size: .75rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: .5rem; }
.area__legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(214,180,125,.22); }
.area__cities { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.area__detail { min-height: 7.5rem; padding: 1.25rem 1.4rem; border-left: 2px solid var(--gold); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.area__detail h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: .35rem; }
.area__detail p { color: var(--ink-muted); font-size: .95rem; }

/* ==========================================================================
   20. Testimonials carousel
   ========================================================================== */
.quotes { position: relative; }
.quotes__track { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s linear .55s; margin: 0; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.quote .stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: 1rem; }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { margin: 0 0 1rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); line-height: 1.3; color: var(--ink); }
.quote figcaption { font-size: .88rem; color: var(--ink-muted); }
.quote figcaption strong { color: var(--ink); }
.quotes__controls { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all var(--dur) var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.icon-btn--prev svg { transform: rotate(180deg); }
.quotes__dots { display: flex; gap: .4rem; margin-left: .5rem; }
.quotes__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: #CFC7B5; cursor: pointer; transition: all var(--dur); }
.quotes__dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--navy); }
.quotes__dots button::after { content: ""; display: block; width: 32px; height: 32px; margin: -12px; }

/* ==========================================================================
   21. Services page
   ========================================================================== */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(247,245,240,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .subnav { background: rgba(247,245,240,.85); backdrop-filter: blur(10px); } }
.subnav ul { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .6rem; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: .55rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--ink-muted); transition: all var(--dur) var(--ease); }
.subnav a:hover { color: var(--ink); background: var(--white); }
.subnav a.is-active { background: var(--navy); color: var(--white); }
.svc { padding-block: clamp(3.5rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.svc:nth-of-type(even) { background: var(--white); }
.svc__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) {
  .svc__grid { grid-template-columns: 1fr 1fr; }
  .svc--flip .svc__media { order: 2; }
}
.svc__media { position: relative; display: grid; gap: .75rem; grid-template-columns: 1.6fr 1fr; }
.svc__media figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ivory-2); }
.svc__media figure:first-child { grid-row: span 2; aspect-ratio: 4 / 5; }
.svc__media figure:not(:first-child) { aspect-ratio: 1 / 1; }
.svc__media figure:only-child { grid-column: 1 / -1; aspect-ratio: 16/11; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc__media figure:hover img { transform: scale(1.04); }
.svc__media figcaption { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .5rem; border-radius: 3px; background: rgba(20,36,43,.78); color: #fff; font-size: .7rem; font-weight: 600; }
@media (min-width: 1024px) { .svc__media { position: sticky; top: calc(var(--header-h) + 84px); } }
.svc__body { display: grid; gap: 1.25rem; }
.svc__body h2 { font-size: var(--fs-h2); }
.svc__body p { color: var(--ink-muted); }
.svc__cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; padding: 1.5rem 0; border-block: 1px solid var(--line); }
@media (min-width: 640px) { .svc__cols { grid-template-columns: 1fr 1fr; } }
.svc__cols h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .9rem; }
.svc__cols li { font-size: .94rem; }

.faq { display: grid; gap: .5rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color var(--dur); }
.faq details[open] { border-color: #CFC3AA; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; font-weight: 700; font-size: .97rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(45deg) translateY(-3px); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq__a { padding: 0 1.15rem 1.1rem; color: var(--ink-muted); font-size: .95rem; }
.faq--wide { max-width: 52rem; margin-inline: auto; }

/* ==========================================================================
   22. Our Work page
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters__count { margin-left: auto; align-self: center; font-size: .85rem; color: var(--ink-muted); }
.masonry { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.project-card { break-inside: avoid; margin: 0 0 1.25rem; display: block; width: 100%; padding: 0; border: 0; text-align: left; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; box-shadow: 0 1px 2px rgba(20,36,43,.05); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity .4s; font: inherit; color: inherit; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.project-card.is-hidden { display: none; }
.project-card__img { position: relative; overflow: hidden; background: var(--ivory-2); }
.project-card__img img { width: 100%; transition: transform .9s var(--ease); }
.project-card:hover .project-card__img img { transform: scale(1.04); }
.project-card__count { position: absolute; right: .75rem; top: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(20,36,43,.8); color: #fff; font-size: .72rem; font-weight: 700; }
.project-card__count svg { width: 14px; height: 14px; }
.project-card__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .45rem; }
.project-card__loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.project-card__loc svg { width: 14px; height: 14px; }
.project-card h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 500; }
.project-card p { font-size: .9rem; color: var(--ink-muted); line-height: 1.55; }
.project-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
.project-card__tags span { font-size: .72rem; padding: .2rem .55rem; border-radius: 999px; background: var(--ivory); color: var(--ink-muted); font-weight: 600; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(10,18,22,.96); color: #fff; }
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem clamp(1rem, 3vw, 2rem); }
.lightbox__title { font-family: var(--font-serif); font-size: 1.35rem; }
.lightbox__title small { display: block; font-family: var(--font-sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(.5rem, 5vw, 5rem); touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; user-select: none; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(.25rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(.25rem, 2vw, 1.5rem); }
.lightbox .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.lightbox .icon-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem clamp(1rem, 3vw, 2rem) 1.2rem; font-size: .88rem; color: var(--on-dark-muted); }
.lightbox__foot p { max-width: 52rem; }
body.lightbox-open { overflow: hidden; }

/* ==========================================================================
   23. About page
   ========================================================================== */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-media { grid-template-columns: 1.2fr 1fr; } }
.team-figure { margin: 0; position: relative; }
.team-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.team-figure figcaption { margin-top: .75rem; font-size: .85rem; color: var(--ink-muted); }
.prose { display: grid; gap: 1.1rem; }
.prose p { color: var(--ink-muted); }
.cards-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.value-card { padding: 1.75rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: .65rem; align-content: start; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.value-card svg { width: 34px; height: 34px; color: var(--gold-ink); }
.value-card h3 { font-family: var(--font-serif); font-size: 1.5rem; }
.value-card p { color: var(--ink-muted); font-size: .95rem; }
.cred-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
.cred { padding: 1.4rem; border: 1px solid var(--line-dark); border-radius: var(--radius); display: grid; gap: .35rem; }
.cred dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.cred dd { margin: 0; font-size: 1.05rem; color: var(--white); }
.cred dd a { color: var(--white); }
.cred dd small { display: block; color: var(--on-dark-muted); font-size: .82rem; margin-top: .2rem; }

/* ==========================================================================
   24. Process page: interactive timeline
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 1rem; max-width: 60rem; margin-inline: auto; --fill: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: var(--line); }
.timeline::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--fill)); transition: transform .2s linear; }
.tl-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; }
.tl-step__num { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--gold); color: var(--gold-ink); font-family: var(--font-serif); font-size: 1.5rem; transition: all .4s var(--ease); }
.tl-step.is-reached .tl-step__num { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.tl-step__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tl-step__toggle { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.tl-step__toggle h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); }
.tl-step__toggle p { color: var(--ink-muted); font-size: .95rem; margin-top: .25rem; }
.tl-step__toggle .plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background var(--dur); }
.tl-step__toggle .plus svg { width: 16px; height: 16px; }
.tl-step__toggle[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--navy); color: var(--white); border-color: var(--navy); }
.tl-step__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.tl-step__panel > div { overflow: hidden; }
.tl-step__toggle[aria-expanded="true"] + .tl-step__panel { grid-template-rows: 1fr; }
.tl-step__details { display: grid; gap: 1.25rem; grid-template-columns: 1fr; padding: 0 1.4rem 1.5rem; }
@media (min-width: 720px) { .tl-step__details { grid-template-columns: repeat(3, 1fr); } }
.tl-step__details h3 { font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .55rem; }
.tl-step__details p, .tl-step__details li { font-size: .92rem; color: var(--ink-muted); }
.tl-step__details ul { display: grid; gap: .35rem; list-style: disc; padding-left: 1.1rem; }

/* ==========================================================================
   25. Contact page & form
   ========================================================================== */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .8fr 1.5fr; } .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.contact-aside { display: grid; gap: 1rem; }
.info-card { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card svg { width: 26px; height: 26px; color: var(--gold-ink); margin-top: .1rem; }
.info-card h2 { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .25rem; }
.info-card a, .info-card p { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--gold-ink); }
.info-card small { display: block; font-weight: 400; color: var(--ink-muted); margin-top: .2rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-card); }
.form h2 { font-size: 2rem; margin-bottom: .4rem; }
.form__intro { color: var(--ink-muted); margin-bottom: 1.75rem; }
.form__grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field .req { color: #A1352B; margin-left: 2px; }
.field .hint { font-size: .8rem; color: var(--ink-muted); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1px solid #D9D2C3; border-radius: var(--radius-sm);
  transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(20,36,43,.12); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #A1352B; background: #FCF5F4; }
.field__error { display: none; font-size: .82rem; color: #A1352B; font-weight: 600; }
.field.is-invalid .field__error { display: block; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: .5rem; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.dropzone { position: relative; display: grid; place-items: center; gap: .3rem; padding: 1.5rem; text-align: center; border: 1.5px dashed #CFC3AA; border-radius: var(--radius); background: var(--ivory); cursor: pointer; transition: all var(--dur); }
.dropzone:hover, .dropzone.is-over { border-color: var(--navy); background: #fff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 28px; height: 28px; color: var(--gold-ink); }
.dropzone strong { font-size: .92rem; }
.dropzone small { font-size: .8rem; color: var(--ink-muted); }
.previews { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.previews figure { position: relative; margin: 0; width: 76px; height: 76px; border-radius: 4px; overflow: hidden; background: var(--ivory-2); }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(20,36,43,.85); color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; align-items: start; font-size: .88rem; color: var(--ink-muted); }
.checkbox input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--navy); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form__legal { font-size: .8rem; color: var(--ink-muted); }
.form__legal a { color: var(--ink); }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .icon-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { display: none; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: .95rem; }
.form-status.is-visible { display: block; }
.form-status--error { background: #FCF1EF; border: 1px solid #E5B8B1; color: #7E2A22; }
.form-status--info { background: #F3F0E7; border: 1px solid #DCCFB0; color: var(--ink); }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.is-visible { display: grid; gap: 1rem; justify-items: center; animation: fadeUp .5s var(--ease); }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.form-success .check svg { width: 30px; height: 30px; }
.form-success h2 { font-size: 2.1rem; }
.form-success p { color: var(--ink-muted); max-width: 30rem; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 48rem; margin-inline: auto; display: grid; gap: 1rem; }
.legal h2 { font-size: 1.9rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--ink-muted); }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; }
.legal a { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-serif); font-size: clamp(6rem, 20vw, 11rem); line-height: 1; color: var(--gold); }

/* ---------- Prototype notice (only shown inside the claude.ai preview) ---------- */
.preview-note { display: none; position: fixed; left: 1rem; bottom: 1rem; z-index: 120; max-width: 21rem; padding: .75rem .9rem; font-size: .78rem; line-height: 1.45; background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.is-preview .preview-note { display: block; }
.preview-note button { float: right; border: 0; background: none; font-size: 1rem; cursor: pointer; margin: -4px -4px 0 6px; }
@media (max-width: 1099px) { .preview-note { bottom: 84px; } }

/* ---------- Ken Burns on hero (subtle) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: kenburns 22s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
}

/* ---------- Hero H1 kicker (keyword line inside the H1) ---------- */
.hero h1 .hero__kicker { display: flex; font-family: var(--font-sans); font-size: var(--fs-eyebrow); line-height: 1.5; letter-spacing: .2em; font-weight: 700; color: var(--white); margin-bottom: 1.25rem; }
.spotlight__thumbs { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 640px) { .spotlight__thumbs { grid-template-columns: repeat(4, 1fr); } }
.closing__quote .service-card h3 { font-size: .98rem; }
