/* =============================================================
   BRANDFYNE — Design System
   Premium, low-noise, monochrome + one champagne accent.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink: #0E0E10;
  --porcelain: #F7F5F2;
  --graphite: #3A3A40;
  --mist: #9A9AA3;
  --champagne: #C9A86A;
  --champagne-soft: #E7D6B0;

  --overlay: rgba(14, 14, 16, 0.45);
  --hairline-dark: rgba(247, 245, 242, 0.12);
  --hairline-light: rgba(14, 14, 16, 0.12);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid scale */
  --fs-hero: clamp(2.75rem, 7vw, 6.5rem);
  --fs-section: clamp(2rem, 4.5vw, 3.75rem);
  --fs-subhead: clamp(1.1rem, 2vw, 1.5rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-eyebrow: 0.8rem;

  /* Spacing scale */
  --space-section: clamp(4rem, 10vw, 9rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-dist: 18px;

  /* Radius */
  --radius-pill: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--mist);
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--ink);
  color: var(--porcelain);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Focus visibility everywhere */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--dark { background: var(--ink); color: var(--porcelain); }
.section--light { background: var(--porcelain); color: var(--graphite); }
.section--dark .eyebrow { color: var(--champagne); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-more { margin-top: clamp(2rem, 4vw, 3rem); }
.section-lead {
  font-size: var(--fs-subhead); color: var(--mist);
  max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section--dark .section-lead { color: rgba(247,245,242,0.72); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-headline { font-size: var(--fs-section); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  min-height: 44px;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--sm { padding: 0.7rem 1.2rem; font-size: 0.9rem; }

.btn--accent {
  background: var(--champagne);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset;
}
.btn--accent:hover { background: var(--champagne-soft); transform: translateY(-2px) scale(1.02); }

.btn--ghost {
  border: 1px solid currentColor;
  color: inherit;
}
.btn--ghost:hover { color: var(--champagne); border-color: var(--champagne); transform: translateY(-2px); }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline-dark);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--porcelain);
}

.nav-desktop { display: none; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav-desktop a:not(.btn) {
  color: var(--porcelain);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}
.nav-desktop a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-desktop a:not(.btn):hover::after { transform: scaleX(1); }

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--porcelain);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  background: var(--ink);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.nav-mobile nav { display: flex; flex-direction: column; padding: var(--gutter); gap: 0.25rem; }
.nav-mobile a:not(.btn) {
  color: var(--porcelain);
  padding: 0.9rem 0.25rem;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--hairline-dark);
}
.nav-mobile .btn { margin-top: 1rem; justify-content: center; }

@media (min-width: 880px) {
  .nav-desktop { display: flex; }
  .nav-toggle, .nav-mobile { display: none; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--porcelain);
  overflow: hidden;
  padding-block: 8rem 6rem;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; /* revealed by JS once it can play */
  transition: opacity 0.8s var(--ease);
}
.hero__video.is-ready { opacity: 1; }

/* Animated premium gradient — the default hero canvas when there is no
   playing video (no source, autoplay blocked, or reduced-motion).
   Opaque on purpose; it fades out once the video can show (rule below). */
.hero__gradient {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 25% 30%, rgba(201,168,106,0.22), transparent 70%),
    radial-gradient(45% 55% at 80% 65%, rgba(231,214,176,0.10), transparent 70%),
    linear-gradient(160deg, #141416 0%, #0E0E10 45%, #08080a 100%);
  animation: heroDrift 22s ease-in-out infinite alternate;
  transition: opacity 0.9s var(--ease);
}
/* When the video is ready, reveal it — drop the opaque gradient so only
   the semi-transparent overlay sits between the video and the text. */
.hero__video.is-ready ~ .hero__gradient { opacity: 0; }
@keyframes heroDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.05); }
  100% { transform: translate3d(2%, 2%, 0) scale(1.12); }
}
/* Darker, directional overlay so the video recedes and the (left-aligned)
   text stays crisp: heavy at the bottom + left, lighter top-right. */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,12,0.94) 0%, rgba(12,12,14,0.62) 38%, rgba(14,14,16,0.45) 100%),
    linear-gradient(to right, rgba(10,10,12,0.85) 0%, rgba(12,12,14,0.45) 48%, rgba(14,14,16,0.20) 100%),
    radial-gradient(120% 90% at 18% 75%, rgba(8,8,10,0.55) 0%, transparent 60%);
}

/* .hero__inner also carries .container (max-width + centered gutters).
   Keep width here as the full container — constrain the text elements
   individually below, NOT the wrapper, or the column collapses. */
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { color: var(--champagne-soft); margin-bottom: 1.5rem; max-width: 30ch; }
.hero__headline {
  font-size: var(--fs-hero);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__subhead {
  margin-top: 1.75rem;
  font-size: var(--fs-subhead);
  line-height: 1.5;
  color: rgba(247,245,242,0.82);
  max-width: 46ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero__scroll {
  position: absolute;
  left: var(--gutter); bottom: 2rem;
  z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mist);
}
.hero__scroll-line {
  width: 56px; height: 1px;
  background: var(--mist);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--champagne);
  transform: translateX(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Hero entrance — orchestrated stagger */
[data-hero] { opacity: 0; transform: translateY(22px); }
.hero.is-in [data-hero] {
  opacity: 1; transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.hero.is-in [data-hero="1"] { transition-delay: 0.10s; }
.hero.is-in [data-hero="2"] { transition-delay: 0.22s; }
.hero.is-in [data-hero="3"] { transition-delay: 0.36s; }
.hero.is-in [data-hero="4"] { transition-delay: 0.50s; }
.hero.is-in [data-hero="5"] { transition-delay: 0.70s; }

/* =============================================================
   PROOF / LOGO STRIP
   ============================================================= */
.proof { padding-block: clamp(3rem, 6vw, 5rem); }
.proof__eyebrow { text-align: center; margin-bottom: 2rem; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.logo-strip li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--mist);
  opacity: 0.7;
  letter-spacing: 0.02em;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.logo-strip li:hover { opacity: 1; color: var(--graphite); }

/* =============================================================
   STATEMENT / INTRO (image left, scroll-lit text right)
   ============================================================= */
.statement__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.statement__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3; /* shorter on mobile so it isn't oversized */
  background: #161619;
  border: 1px solid var(--hairline-dark);
}
.statement__media img { width: 100%; height: 100%; object-fit: cover; }

.statement__body .eyebrow { margin-bottom: 1.5rem; }
.statement__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--porcelain);
  text-wrap: pretty;
}
/* Accent phrase is always champagne (dim variant only while scroll-lit). */
.statement__text .w--accent { color: var(--champagne); }

/* Scroll-lit mode (added by JS): words start dim, brighten as you scroll.
   Default (no JS / reduced-motion) leaves everything fully lit above. */
.statement__text.scroll-lit .w {
  color: rgba(247, 245, 242, 0.16);
  transition: color 0.35s var(--ease);
}
.statement__text.scroll-lit .w--accent { color: rgba(201, 168, 106, 0.22); }
.statement__text.scroll-lit .w.is-lit { color: var(--porcelain); }
.statement__text.scroll-lit .w--accent.is-lit { color: var(--champagne); }

.statement__cta { margin-top: clamp(2rem, 4vw, 3rem); }

@media (min-width: 900px) {
  .statement__grid { grid-template-columns: 0.82fr 1.18fr; align-items: stretch; }
  /* Let the image fill the text column's height on desktop. */
  .statement__media { aspect-ratio: auto; min-height: 100%; }
}

/* =============================================================
   WHO WE BUILD FOR
   ============================================================= */
.who__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--hairline-light);
  border: 1px solid var(--hairline-light);
}
.who__item {
  background: var(--porcelain);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background-color 0.3s var(--ease);
}
.who__item:hover { background: #fff; }
.who__item h3 { font-size: 1.4rem; margin-bottom: 0.6rem; color: var(--ink); }
.who__item p { color: var(--graphite); max-width: 42ch; }

@media (min-width: 680px) { .who__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .who__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Interactive showcase (image swaps on hover/focus/select) ---------- */
.who-show {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
.who-show__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3; /* shorter on mobile; restored to 4/5 beside the list at >=900px */
  background: var(--ink);
  border: 1px solid var(--hairline-light);
}
.who-show__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s var(--ease), transform 1.3s var(--ease);
}
.who-show__img.is-active { opacity: 1; transform: scale(1); }
.who-show__count {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: 0.78rem; letter-spacing: 0.1em;
  color: var(--porcelain);
  background: rgba(14, 14, 16, 0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 0.4rem 0.7rem; border-radius: var(--radius-pill);
  font-variant-numeric: tabular-nums;
}
.who-show__count b { color: var(--champagne); font-weight: 700; }

.who-show__list { display: flex; flex-direction: column; }
.who-tab {
  display: flex; gap: 1.1rem; align-items: flex-start;
  width: 100%; text-align: left;
  padding: clamp(1rem, 2.2vw, 1.45rem) 0;
  border-top: 1px solid var(--hairline-light);
  position: relative;
  transition: padding-left 0.3s var(--ease);
}
.who-show__list .who-tab:last-child { border-bottom: 1px solid var(--hairline-light); }
.who-tab::before {
  content: ""; position: absolute; left: 0; top: clamp(1rem, 2.2vw, 1.45rem);
  width: 2px; height: 0; background: var(--champagne);
  transition: height 0.3s var(--ease);
}
.who-tab.is-active { padding-left: 1.1rem; }
.who-tab.is-active::before { height: 1.4rem; }
.who-tab__index {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--mist); padding-top: 0.45rem;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s var(--ease);
}
.who-tab.is-active .who-tab__index { color: var(--champagne); }
.who-tab__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.1; color: var(--ink);
  transition: color 0.25s var(--ease);
}
.who-tab.is-active .who-tab__title { color: var(--champagne); }
.who-tab__body {
  display: block; color: var(--mist); max-width: 44ch;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), margin-top 0.35s var(--ease);
}
.who-tab.is-active .who-tab__body { max-height: 9rem; opacity: 1; margin-top: 0.6rem; }

@media (min-width: 900px) {
  .who-show {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
  }
  /* List on the left, sticky image on the right (DOM order keeps media first
     so mobile shows the image on top). */
  .who-show__list { order: 1; }
  .who-show__media { order: 2; position: sticky; top: 96px; aspect-ratio: 4 / 5; }
}

/* =============================================================
   SERVICES
   ============================================================= */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.service {
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--hairline-dark);
}
.service__num {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--champagne);
  display: block;
  margin-bottom: 1rem;
}
.service h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.6rem; }
.service p { color: var(--mist); max-width: 38ch; }
@media (min-width: 680px) { .services__grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   PROCESS
   ============================================================= */
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step {
  padding-top: 1.75rem;
  border-top: 2px solid var(--ink);
}
.step__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
.step p { color: var(--graphite); max-width: 32ch; }
@media (min-width: 680px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process__steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Process feature band (image-backed, swaps on step hover) ---------- */
.process-feature {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 90vh, 940px);
  display: flex;
  align-items: center;
}
/* On small screens the stacked steps already make it tall — don't force extra
   height, and trim the section padding so the image band isn't oversized.
   Fade the lower half to solid Ink so the photo only sits behind the heading +
   first step, keeping the effect without a huge image (option A). */
@media (max-width: 680px) {
  .process-feature { min-height: 0; padding-block: clamp(3rem, 9vw, 4.5rem); }
  .process-feature__overlay {
    background: linear-gradient(to bottom,
      rgba(14,14,16,0.5) 0%,
      rgba(14,14,16,0.72) 34%,
      rgba(14,14,16,1) 50%,
      rgba(14,14,16,1) 100%);
  }
}
.process-feature__bg { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.process-feature__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.8s var(--ease), transform 1.6s var(--ease);
}
.process-feature__img.is-active { opacity: 1; transform: scale(1); }
.process-feature__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(14,14,16,0.88) 0%, rgba(14,14,16,0.62) 55%, rgba(14,14,16,0.45) 100%),
    linear-gradient(to top, rgba(14,14,16,0.85) 0%, rgba(14,14,16,0.30) 50%, rgba(14,14,16,0.45) 100%);
}
.process-feature__content { position: relative; z-index: 2; width: 100%; }
.process-feature .section-head { margin-bottom: clamp(3rem, 7vw, 5.5rem); }

/* Recolor the steps for a dark, image-backed context + active feedback */
.process-feature .step {
  border-top-color: rgba(247, 245, 242, 0.28);
  transition: border-top-color 0.3s var(--ease);
}
.process-feature .step__num { color: var(--porcelain); transition: color 0.3s var(--ease); }
.process-feature .step h3 { color: var(--porcelain); }
.process-feature .step p { color: rgba(247, 245, 242, 0.78); }
.process-feature .step.is-active { border-top-color: var(--champagne); }
.process-feature .step.is-active .step__num { color: var(--champagne); }
/* Hint that steps are interactive (pointer devices) */
@media (hover: hover) { .process-feature .step { cursor: pointer; } }
.process-feature .section-more { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* =============================================================
   STATS
   ============================================================= */
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--champagne);
  letter-spacing: -0.02em;
}
.stat__label {
  display: block;
  margin-top: 0.9rem;
  color: rgba(247,245,242,0.75);
  max-width: 24ch;
  margin-inline: auto;
}
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   SELECTED WORK
   ============================================================= */
.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}
.work-card {
  background: #fff;
  border: 1px solid var(--hairline-light);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(14,14,16,0.4); }
.work-card__media {
  position: relative; /* contain overlays (veil, badges) to the image only */
  aspect-ratio: 4 / 3;
  background: #161619;
  overflow: hidden;
}
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { padding: 1.5rem; }
.work-card__body h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 0.35rem; }
.work-card__body p { color: var(--mist); font-size: 0.95rem; }
@media (min-width: 680px) { .work__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Card types: live / placeholder / concept ---------- */
.work-card { position: relative; }

/* Live: full-card link, hover lift/zoom, external-link cue */
.work-card__link { position: absolute; inset: 0; z-index: 3; }
.work-card--live:focus-within { outline: 2px solid var(--champagne); outline-offset: 3px; }
.work-card__link:focus-visible { outline: none; }
.work-card__ext { color: var(--champagne); display: inline-block; transition: transform 0.25s var(--ease); }
.work-card--live:hover .work-card__ext { transform: translate(3px, -3px); }
.work-card__flag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
  color: var(--ink); background: var(--champagne);
  padding: 0.32rem 0.6rem; border-radius: var(--radius-pill);
}
.work-card__flag--concept { color: var(--porcelain); background: rgba(14,14,16,0.7); }
.work-card__flag--soon {
  color: var(--champagne); background: rgba(14,14,16,0.55);
  border: 1px solid rgba(201,168,106,0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
/* Coming-soon live client: no link yet, so no hover lift/zoom */
.work-card--soon:hover { transform: none; box-shadow: none; }

/* Placeholder: quieter, no photo — on-brand gold motif + "now booking" */
.work-card--placeholder { box-shadow: none; }
.work-card--placeholder:hover { transform: none; box-shadow: none; }
.work-card__media--ph {
  position: relative;
  background:
    radial-gradient(60% 60% at 50% 42%, rgba(201,168,106,0.14), transparent 70%),
    linear-gradient(160deg, #17171b, #0e0e10);
}
.work-card__motif {
  position: absolute; left: 50%; top: 42%;
  width: 38px; height: 38px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1.5px solid rgba(201,168,106,0.85);
}
.work-card__motif::before {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid rgba(201,168,106,0.4);
}
.work-card__booking {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700;
  color: var(--champagne); border: 1px solid rgba(201,168,106,0.55);
  background: rgba(14,14,16,0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 0.3rem 0.6rem; border-radius: var(--radius-pill);
}
/* Gradient over the IMAGE only (the card body below stays white) */
.work-card__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(14,14,16,0.6), rgba(14,14,16,0.12) 65%, rgba(14,14,16,0.22));
}
.work-card--placeholder .work-card__body h3 { color: var(--graphite); }
.work-card__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; font-weight: 600; font-size: 0.9rem; color: var(--ink);
  border-bottom: 1px solid var(--champagne); padding-bottom: 2px;
  transition: color 0.25s var(--ease);
}
.work-card__cta:hover { color: var(--champagne); }

/* =============================================================
   WHY BRANDFYNE
   ============================================================= */
.why__layout { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
.why__diffs { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.diff { padding-top: 1.5rem; border-top: 1px solid var(--hairline-dark); }
.diff h3 { font-size: 1.5rem; color: var(--porcelain); margin-bottom: 0.5rem; }
.diff p { color: var(--mist); max-width: 44ch; }

.why__dont {
  background: rgba(247,245,242,0.04);
  border: 1px solid var(--hairline-dark);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  align-self: start;
}
.why__dont .eyebrow { margin-bottom: 1.25rem; }
.why__dont ul { display: grid; gap: 0.85rem; }
.why__dont li {
  position: relative;
  padding-left: 1.75rem;
  color: rgba(247,245,242,0.8);
}
.why__dont li::before {
  content: "×";
  position: absolute; left: 0; top: -1px;
  color: var(--champagne);
  font-weight: 700;
}
@media (min-width: 920px) { .why__layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonial-rotator { max-width: 60ch; margin-inline: auto; text-align: center; position: relative; }
.testimonial {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.testimonial.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.testimonial p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.testimonial cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.testimonial-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2.5rem; }
.testimonial-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--hairline-light);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.testimonial-dots button.is-active { background: var(--champagne); transform: scale(1.2); }

/* =============================================================
   CLOSING CTA BAND + MARQUEE
   ============================================================= */
.cta-band { position: relative; padding-block: clamp(4rem, 9vw, 7rem); overflow: hidden; text-align: center; }
.marquee { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0.06; pointer-events: none; }
.marquee__track {
  display: flex; white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 14vw, 11rem);
  color: var(--champagne);
  animation: marquee 28s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.cta-band__inner { position: relative; z-index: 2; max-width: 30ch; margin-inline: auto; }
.cta-band .section-headline { color: var(--porcelain); }
.cta-band__sub { margin: 1.25rem auto 2.25rem; color: rgba(247,245,242,0.78); max-width: 40ch; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact__inner { max-width: 760px; }
.contact__sub { color: var(--graphite); margin-top: 0.75rem; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field__opt { color: var(--mist); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--hairline-light);
  border-radius: 8px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(201,168,106,0.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mist); }

.contact-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.form-status { font-size: 0.95rem; font-weight: 500; }
.form-status.is-success { color: #2f7a4d; }
.form-status.is-error { color: #b3402f; }
@media (min-width: 680px) { .contact-form { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-brand .wordmark { font-size: 1.6rem; }
.footer-tagline { color: var(--mist); margin-top: 0.75rem; max-width: 32ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; align-content: start; }
.footer-nav a, .footer-social a { color: rgba(247,245,242,0.78); transition: color 0.25s var(--ease); }
.footer-nav a:hover, .footer-social a:hover { color: var(--champagne); }
.footer-social .eyebrow { color: var(--champagne); margin-bottom: 1rem; }
.footer-social ul { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.footer-email { display: inline-block; color: var(--porcelain); border-bottom: 1px solid var(--champagne); padding-bottom: 2px; }
.footer-fine { padding-top: 2rem; }
.footer-fine p { color: var(--mist); font-size: 0.85rem; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1.2fr; } }

/* =============================================================
   SCROLL REVEALS
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-dist));
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =============================================================
   MULTI-PAGE: active nav state
   ============================================================= */
.nav-desktop a.is-active:not(.btn) { color: var(--champagne); }
.nav-desktop a.is-active:not(.btn)::after { transform: scaleX(1); }
.nav-mobile a.is-active:not(.btn) { color: var(--champagne); }

/* =============================================================
   PAGE HERO (inner pages — compact header band)
   ============================================================= */
.page-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}
.page-hero .eyebrow { margin-bottom: 1.25rem; }
.page-hero__headline { font-size: var(--fs-section); max-width: 18ch; }

/* Image-backed page hero (subpage headers) */
.page-hero--image {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 62vh, 640px);
  display: flex;
  align-items: center;
}
.page-hero--image .container { position: relative; z-index: 2; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to right, rgba(14,14,16,0.9) 0%, rgba(14,14,16,0.62) 55%, rgba(14,14,16,0.45) 100%),
    linear-gradient(to top, rgba(14,14,16,0.8) 0%, rgba(14,14,16,0.3) 55%, rgba(14,14,16,0.5) 100%);
}
.page-hero__sub {
  margin-top: 1.25rem;
  font-size: var(--fs-subhead);
  color: var(--mist);
  max-width: 52ch;
}
.section--dark .page-hero__sub { color: rgba(247,245,242,0.72); }

/* Service "who it's for" line (full variant) */
.service__who {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.service__who span { color: var(--champagne); }

/* Process "what to expect" line (full variant) */
.step__expect {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-light);
  color: var(--graphite);
  font-size: 0.95rem;
}
.section--dark .step__expect { border-top-color: var(--hairline-dark); color: var(--mist); }

.process-promise {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid var(--hairline-light);
  background: rgba(14,14,16,0.02);
}
.section--dark .process-promise { border-color: var(--hairline-dark); background: rgba(247,245,242,0.04); }
.process-promise h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.process-promise p { max-width: 60ch; color: var(--graphite); }
.section--dark .process-promise p { color: var(--mist); }

/* =============================================================
   WORK: filter bar + card tag
   ============================================================= */
.work-filters {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.work-filter {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-light);
  color: var(--graphite);
  font-size: 0.9rem; font-weight: 600;
  min-height: 44px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.work-filter:hover { border-color: var(--champagne); color: var(--ink); }
.work-filter.is-active { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }
.work-card__tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--champagne); font-weight: 700;
}

/* =============================================================
   PRICING
   ============================================================= */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  align-items: start;
}
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--hairline-light);
  border-radius: 4px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
}
.price-card--popular {
  border-color: var(--champagne);
  box-shadow: 0 24px 60px -34px rgba(201,168,106,0.55);
}
.price-card__badge {
  position: absolute; top: 0; right: clamp(1.75rem, 3vw, 2.5rem);
  transform: translateY(-50%);
  background: var(--champagne); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
}
.price-card__name {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--graphite); font-family: var(--font-body);
  margin-bottom: 1rem;
}
.price-card__price {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500; line-height: 1; color: var(--ink);
  letter-spacing: -0.02em;
}
/* "starting at $X" reads smaller for the lead words */
.price-card__maint { margin-top: 0.6rem; color: var(--mist); font-size: 0.85rem; }
.price-card__blurb { margin-top: 1.1rem; color: var(--graphite); }
.price-card__features {
  margin: 1.5rem 0;
  display: grid; gap: 0.75rem;
}
.price-card__features li {
  position: relative; padding-left: 1.6rem;
  color: var(--graphite); font-size: 0.95rem;
}
.price-card__features li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--champagne); border-bottom: 2px solid var(--champagne);
  transform: rotate(-45deg) translateY(-2px);
}
.price-card__cta { margin-top: auto; justify-content: center; }

.pricing-note {
  text-align: center; color: var(--mist);
  margin-top: clamp(2rem, 4vw, 3rem); max-width: 56ch; margin-inline: auto;
}
.pricing-custom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--hairline-light);
  border-radius: 4px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.pricing-custom p { max-width: 50ch; color: var(--graphite); }
@media (min-width: 760px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   FAQ (accordion)
   ============================================================= */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline-light); }
.section--dark .faq-item { border-bottom-color: var(--hairline-dark); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink);
}
.section--dark .faq-q { color: var(--porcelain); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--champagne);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-a { padding: 0 0 1.5rem; }
.faq-a p { max-width: 64ch; color: var(--graphite); }
.section--dark .faq-a p { color: var(--mist); }

/* =============================================================
   ABOUT
   ============================================================= */
.about-layout { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.25; color: var(--ink);
  max-width: 26ch; text-wrap: balance;
}
.section--dark .about-lead { color: var(--porcelain); }
.about-body { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 62ch; display: grid; gap: 1.25rem; }
.about-body p { color: var(--graphite); }
.section--dark .about-body p { color: var(--mist); }

/* About visual: editorial image + rotating champagne seal */
.about-visual { position: relative; max-width: 460px; }
.about-visual__frame {
  aspect-ratio: 4 / 3; overflow: hidden; /* shorter on mobile; 4/5 beside copy at >=900px */
  background: #161619; border: 1px solid var(--hairline-light);
}
.about-visual__frame img { width: 100%; height: 100%; object-fit: cover; }
.about-seal {
  position: absolute; z-index: 2;
  right: clamp(-14px, -2vw, -26px); bottom: clamp(-14px, -2vw, -26px);
  width: clamp(108px, 20vw, 168px); height: auto;
  filter: drop-shadow(0 14px 30px rgba(14, 14, 16, 0.45));
}
.about-seal svg { width: 100%; height: auto; display: block; }
.about-seal__rotor { transform-box: view-box; transform-origin: 100px 100px; animation: sealspin 26s linear infinite; }
.about-seal__text { font-family: var(--font-body); font-size: 12px; font-weight: 600; }
.about-seal__mark { font-family: var(--font-display); font-size: 60px; font-weight: 600; }
@keyframes sealspin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .about-layout { grid-template-columns: 0.82fr 1.18fr; gap: clamp(3rem, 6vw, 4.5rem); }
  .about-body { margin-top: 0; }
  .about-visual__frame { aspect-ratio: 4 / 5; }
}

/* =============================================================
   PROCESS EXPLORER (process page: tabs + swapping image + text)
   ============================================================= */
.explorer { display: grid; grid-template-columns: 1fr; gap: clamp(1.75rem, 4vw, 3rem); }
.explorer__list { display: flex; flex-direction: column; }
.explorer-tab {
  display: flex; gap: 1rem; align-items: baseline;
  width: 100%; text-align: left;
  padding: clamp(0.9rem, 2vw, 1.3rem) 0;
  border-top: 1px solid var(--hairline-light);
  position: relative;
  transition: padding-left 0.3s var(--ease);
}
.explorer__list .explorer-tab:last-child { border-bottom: 1px solid var(--hairline-light); }
.explorer-tab::before {
  content: ""; position: absolute; left: 0; top: clamp(0.9rem, 2vw, 1.3rem);
  width: 2px; height: 0; background: var(--champagne);
  transition: height 0.3s var(--ease);
}
.explorer-tab.is-active { padding-left: 1.1rem; }
.explorer-tab.is-active::before { height: 1.6rem; }
.explorer-tab__num {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--mist);
  font-variant-numeric: tabular-nums; transition: color 0.25s var(--ease);
}
.explorer-tab.is-active .explorer-tab__num { color: var(--champagne); }
.explorer-tab__title {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--ink); transition: color 0.25s var(--ease);
}
.explorer-tab.is-active .explorer-tab__title { color: var(--champagne); }

.explorer__media {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--ink);
  border: 1px solid var(--hairline-light);
}
.explorer__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.05);
  transition: opacity 0.6s var(--ease), transform 1.3s var(--ease);
}
.explorer__img.is-active { opacity: 1; transform: scale(1); }
.explorer__count {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: 0.78rem; letter-spacing: 0.1em; color: var(--porcelain);
  background: rgba(14,14,16,0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 0.4rem 0.7rem; border-radius: var(--radius-pill); font-variant-numeric: tabular-nums;
}
.explorer__count b { color: var(--champagne); font-weight: 700; }
.explorer__content { margin-top: clamp(1.5rem, 3vw, 2rem); }
.explorer-step { display: none; }
.explorer-step.is-active { display: block; }
.explorer-step__title { font-size: 1.5rem; color: var(--ink); margin-bottom: 0.5rem; }
.explorer-step__body { color: var(--graphite); max-width: 56ch; }
.explorer-step__expect {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-light);
  color: var(--graphite); max-width: 56ch;
}
.explorer-step__expect span {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--champagne); font-weight: 700;
}
@media (min-width: 900px) {
  .explorer { grid-template-columns: 0.82fr 1.18fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
}

/* =============================================================
   SERVICES ACCORDION
   ============================================================= */
.svc-list { border-bottom: 1px solid var(--hairline-dark); }
.svc-item { border-top: 1px solid var(--hairline-dark); }
.svc-q {
  width: 100%; display: flex; gap: clamp(1rem, 2vw, 1.5rem); align-items: flex-start;
  text-align: left; padding: clamp(1.25rem, 2.5vw, 1.85rem) 0;
}
.svc-q__num {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--mist); line-height: 1; flex: none; transition: color 0.25s var(--ease);
  font-variant-numeric: tabular-nums;
}
.svc-item.is-open .svc-q__num { color: var(--champagne); }
.svc-q__main { flex: 1; min-width: 0; }
.svc-q__title {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--ink); line-height: 1.15;
}
.svc-q__teaser { display: block; color: var(--mist); margin-top: 0.35rem; }
.svc-q__icon { position: relative; flex: none; width: 18px; height: 18px; margin-top: 0.5rem; }
.svc-q__icon::before, .svc-q__icon::after {
  content: ""; position: absolute; background: var(--champagne);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.svc-q__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.svc-q__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.svc-q[aria-expanded="true"] .svc-q__icon::after { transform: scaleY(0); opacity: 0; }
.svc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.svc-item.is-open .svc-a { grid-template-rows: 1fr; }
.svc-a__inner { overflow: hidden; }
.svc-a__detail {
  color: var(--graphite); max-width: 64ch;
  padding-left: clamp(2.4rem, 4.2vw, 3.3rem); /* align under the title, past the number */
}
.svc-a__list {
  margin: 1.25rem 0 0; padding-left: clamp(2.4rem, 4.2vw, 3.3rem);
  display: grid; gap: 0.6rem;
}
.svc-a__list li { position: relative; padding-left: 1.6rem; color: var(--graphite); font-size: 0.95rem; }
.svc-a__list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 0.7rem; height: 0.4rem;
  border-left: 2px solid var(--champagne); border-bottom: 2px solid var(--champagne);
  transform: rotate(-45deg) translateY(-2px);
}
.svc-a__who {
  margin: 1.25rem 0 1.6rem; padding-left: clamp(2.4rem, 4.2vw, 3.3rem);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mist);
}
.svc-a__who span { color: var(--champagne); }
@media (min-width: 680px) { .svc-a__list { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   PRICING — "included in every plan" band
   ============================================================= */
.included { max-width: 980px; margin-inline: auto; }
.included__grid {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: grid; grid-template-columns: 1fr; gap: 0.9rem 2rem;
}
.included__item { position: relative; padding-left: 1.8rem; color: var(--graphite); }
.section--dark .included__item { color: rgba(247,245,242,0.82); }
.included__item::before {
  content: ""; position: absolute; left: 0; top: 0.4em;
  width: 0.75rem; height: 0.42rem;
  border-left: 2px solid var(--champagne); border-bottom: 2px solid var(--champagne);
  transform: rotate(-45deg) translateY(-2px);
}
@media (min-width: 640px) { .included__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .included__grid { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   CONTACT — two-column with "what happens next" aside
   ============================================================= */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.next-steps { display: grid; gap: 1.75rem; }
.next-steps__title { margin-bottom: 1.75rem; }
.next-step { display: flex; gap: 1.1rem; position: relative; }
.next-step__num {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--champagne);
  line-height: 1; flex: none; font-variant-numeric: tabular-nums; width: 1.6rem;
}
/* Timeline connector linking the step numbers */
.next-step:not(:last-child)::before {
  content: ""; position: absolute; left: 0.75rem; top: 2rem; bottom: -1.2rem;
  width: 1px; background: linear-gradient(var(--champagne), transparent); opacity: 0.5;
}
.next-step__body h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.3rem; }
.next-step__body p { color: var(--graphite); font-size: 0.95rem; max-width: 38ch; }
.contact-reassure {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline-light);
  color: var(--mist); font-size: 0.9rem; max-width: 38ch;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.5fr 1fr; gap: clamp(3rem, 6vw, 5rem); }
}

/* ---------- Contact upgrade: layout, CTA, entrance ---------- */
@media (min-width: 900px) {
  .contact--upgraded .contact-aside {
    border-left: 1px solid var(--hairline-light);
    padding-left: clamp(2rem, 4vw, 3.5rem);
  }
}

/* Dark form fields (scoped to dark sections so the home light form is untouched) */
.section--dark .field label { color: var(--porcelain); transition: color 0.2s var(--ease); }
.field:focus-within label { color: var(--champagne); }
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea {
  background: rgba(247, 245, 242, 0.04);
  border-color: var(--hairline-dark);
  color: var(--porcelain);
}
.section--dark .field input::placeholder,
.section--dark .field textarea::placeholder { color: var(--mist); }
.section--dark .field input:focus,
.section--dark .field select:focus,
.section--dark .field textarea:focus {
  border-color: var(--champagne);
  background: rgba(247, 245, 242, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.22);
}
/* Custom champagne chevron (native arrow can disappear on dark) */
.section--dark .field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A86A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px;
}

/* Standout CTA */
.btn span[aria-hidden="true"] { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover span[aria-hidden="true"] { transform: translateX(4px); }
.contact-form__actions .btn--accent {
  padding: 1.1rem 2.2rem; font-size: 1.05rem;
  box-shadow: 0 10px 30px -8px rgba(201, 168, 106, 0.45);
  animation: ctaPulse 3.4s ease-in-out infinite;
}
.contact-form__actions .btn--accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 44px -8px rgba(201, 168, 106, 0.8);
  animation: none;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(201, 168, 106, 0.4); }
  50% { box-shadow: 0 14px 40px -6px rgba(201, 168, 106, 0.72); }
}

/* Staggered entrance — base states stay visible so no-JS still shows the form */
@keyframes revealUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.contact-form[data-reveal] { opacity: 1 !important; transform: none !important; }
.contact-aside[data-reveal] { opacity: 1 !important; transform: none !important; }
.contact-form.is-visible > div { animation: revealUp 0.55s var(--ease) both; }
.contact-form.is-visible > div:nth-child(1) { animation-delay: 0.04s; }
.contact-form.is-visible > div:nth-child(2) { animation-delay: 0.10s; }
.contact-form.is-visible > div:nth-child(3) { animation-delay: 0.16s; }
.contact-form.is-visible > div:nth-child(4) { animation-delay: 0.22s; }
.contact-form.is-visible > div:nth-child(5) { animation-delay: 0.28s; }
.contact-form.is-visible > div:nth-child(6) { animation-delay: 0.34s; }
.contact-form.is-visible > div:nth-child(7) { animation-delay: 0.40s; }
.contact-aside.is-visible .next-steps__title { animation: revealUp 0.55s var(--ease) both; }
.contact-aside.is-visible .next-step { animation: revealUp 0.55s var(--ease) both; }
.contact-aside.is-visible .next-steps .next-step:nth-child(1) { animation-delay: 0.14s; }
.contact-aside.is-visible .next-steps .next-step:nth-child(2) { animation-delay: 0.24s; }
.contact-aside.is-visible .next-steps .next-step:nth-child(3) { animation-delay: 0.34s; }
.contact-aside.is-visible .contact-reassure { animation: revealUp 0.55s var(--ease) both; animation-delay: 0.44s; }

/* =============================================================
   REDUCED MOTION — kill non-essential animation, keep usable
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__gradient { animation: none; }
  .hero__scroll-line::after { animation: none; display: none; }
  .marquee__track { animation: none; }
  .about-seal__rotor { animation: none; }
  [data-reveal], [data-hero] { opacity: 1 !important; transform: none !important; }
}
