/* NOIR AUTOMOTIVE — styles
   Palette: obsidian #090909 · graphite #242424 · silver #A6A6A6 · ivory #F2F0EB */

:root {
  --obsidian: #090909;
  --graphite: #242424;
  --line: rgba(242, 240, 235, 0.14);
  --silver: #A6A6A6;
  --ivory: #F2F0EB;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--ivory); color: var(--obsidian); }
:focus-visible { outline: 1px solid var(--ivory); outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; background: var(--ivory); color: var(--obsidian);
  font-size: 13px; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
}
.display, .index__title, .service__title {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.display em, .index__title em, .service__title em { color: var(--silver); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: rgba(242, 240, 235, 0.82); max-width: 34em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 40px;
  padding: 0 var(--gutter);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(9, 9, 9, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.nav__brand {
  font-family: var(--sans); font-weight: 400; font-size: 17px;
  letter-spacing: 0.42em; text-decoration: none; margin-right: auto;
}
.nav__brand span { color: var(--silver); letter-spacing: 0; }
.nav__links { display: flex; gap: 36px; }
.nav__links a, .nav__cta {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: rgba(242, 240, 235, 0.78);
  transition: color 0.3s;
}
.nav__links a:hover { color: var(--ivory); }
.nav__cta {
  color: var(--ivory);
  padding: 12px 0; border-bottom: 1px solid rgba(242, 240, 235, 0.5);
  transition: border-color 0.3s;
}
.nav__cta:hover { border-color: var(--ivory); }
.nav__toggle { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--obsidian);
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu a {
  font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 18px;
}
.menu small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--silver); }
.menu__note { font-size: 13px; color: var(--silver); max-width: 26em; }

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle i { display: block; width: 26px; height: 1px; background: var(--ivory); transition: transform 0.4s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Cinema ---------- */
.cinema { position: relative; height: 620vh; background: var(--obsidian); }
.cinema__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; background: var(--obsidian);
}
.cinema__scenes, .cinema__video, .cinema__shade, .cinema__veil, .cinema__captions { position: absolute; inset: 0; }
.cinema__scenes picture, .cinema__scenes img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.cinema__scenes picture { opacity: 0; will-change: opacity, transform; }
.cinema__scenes picture.is-first { opacity: 1; }
.cinema__video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.cinema.is-video .cinema__video { opacity: 1; }
.cinema__shade {
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9,9,9,0.55) 0%, rgba(9,9,9,0) 22%),
    linear-gradient(0deg, rgba(9,9,9,0.7) 0%, rgba(9,9,9,0) 42%);
}
.cinema__veil { background: var(--obsidian); opacity: 0; pointer-events: none; }

.caption {
  position: absolute;
  max-width: min(640px, 46vw);
  opacity: 0;
  will-change: opacity, transform;
}
.caption.is-first { opacity: 1; }
.caption--bl { left: var(--gutter); bottom: clamp(88px, 13vh, 150px); }
.caption--br { right: var(--gutter); bottom: clamp(88px, 13vh, 150px); text-align: right; }
.caption--ml { left: var(--gutter); top: 50%; margin-top: 8vh; }
.caption--tl { left: var(--gutter); top: calc(var(--nav-h) + 8vh); }
.caption--bw { left: var(--gutter); right: calc(var(--gutter) + 90px); bottom: clamp(56px, 8vh, 96px); max-width: none; }
.caption--bw h2 { font-size: clamp(44px, 5.6vw, 96px); }
.caption .eyebrow { margin-bottom: 22px; color: rgba(242, 240, 235, 0.7); }
.caption h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.96; letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
}
.caption h2 em { color: rgba(242, 240, 235, 0.72); }
.caption--hero h2 {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(46px, 8.4vw, 140px);
  letter-spacing: 0.16em; line-height: 0.9;
  margin-right: -0.16em;
}
.caption--hero h2 .thin {
  display: block; font-size: 0.24em; letter-spacing: 0.86em;
  color: var(--silver); margin-top: 0.9em; text-transform: uppercase;
}
.caption--hero { max-width: none; }
.caption p.sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px); color: rgba(242, 240, 235, 0.86);
  margin-top: 26px;
}

.cinema__hud {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: grid; justify-items: end; gap: 10px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(242,240,235,0.6);
}
.hud__index b { color: var(--ivory); font-weight: 500; }
.hud__bar { width: 1px; height: 120px; background: rgba(242,240,235,0.2); position: relative; justify-self: end; margin-top: 6px; }
.hud__bar i { position: absolute; inset: 0; background: var(--ivory); transform-origin: top; transform: scaleY(0); }

.cinema__hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(242,240,235,0.6);
  transition: opacity 0.6s;
}
.cinema__hint i { width: 1px; height: 42px; background: linear-gradient(var(--ivory), transparent); animation: hint 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.cinema.is-scrolled .cinema__hint { opacity: 0; }

.noscript-still img { width: 100%; height: 100vh; object-fit: cover; }
html:not(.js) .cinema { height: auto; }
html:not(.js) .cinema__stage { display: none; }

@media (max-width: 899px) {
  .caption, .caption--br, .caption--ml, .caption--tl, .caption--bw {
    left: var(--gutter); right: var(--gutter); top: auto;
    bottom: clamp(84px, 14svh, 130px); margin: 0;
    max-width: none; text-align: left;
  }
  .caption h2, .caption--bw h2 { font-size: clamp(40px, 11.5vw, 64px); }
  .caption--hero h2 { font-size: clamp(36px, 12vw, 64px); letter-spacing: 0.14em; }
  .cinema__hud { top: auto; bottom: 30px; transform: none; right: var(--gutter); grid-auto-flow: column; align-items: center; gap: 14px; }
  .hud__label { display: none; }
  .hud__bar { width: 64px; height: 1px; margin: 0; }
  .hud__bar i { transform-origin: left; }
  .cinema__hint { left: var(--gutter); transform: none; justify-items: start; bottom: 26px; }
  .cinema__hint i { display: none; }
  .cinema__shade {
    background:
      linear-gradient(180deg, rgba(9,9,9,0.6) 0%, rgba(9,9,9,0) 20%),
      linear-gradient(0deg, rgba(9,9,9,0.85) 0%, rgba(9,9,9,0.2) 50%, rgba(9,9,9,0) 70%);
  }
}

/* Reduced motion: the film becomes five still frames in normal flow. */
html.reduced .cinema { height: auto; }
html.reduced .cinema__stage { position: relative; height: auto; overflow: visible; }
html.reduced .cinema__video, html.reduced .cinema__veil, html.reduced .cinema__hud,
html.reduced .cinema__hint, html.reduced .cinema__shade, html.reduced .cinema__captions { display: none; }
html.reduced .cinema__scenes { position: static; }
.panel { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.panel picture { opacity: 1 !important; }
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(9,9,9,0.85), rgba(9,9,9,0) 55%), linear-gradient(180deg, rgba(9,9,9,0.5), rgba(9,9,9,0) 20%);
}
.panel .caption { opacity: 1; z-index: 1; }

/* ---------- Philosophy ---------- */
.philosophy { padding: clamp(120px, 18vh, 220px) 0 clamp(100px, 14vh, 180px); }
.philosophy .eyebrow { margin-bottom: 40px; }
.philosophy .display { font-size: clamp(44px, 6.6vw, 112px); max-width: 13.5em; }
.philosophy__body {
  display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter);
  margin-top: clamp(64px, 10vh, 120px);
  padding-top: 40px; border-top: 1px solid var(--line);
}
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principles span { font-family: var(--serif); font-size: 22px; color: var(--silver); display: block; margin-bottom: 18px; }
.principles h3 { font-family: var(--sans); font-weight: 400; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.principles p { font-size: 15px; color: rgba(242,240,235,0.7); }

/* ---------- Services index ---------- */
.index { padding: clamp(80px, 12vh, 140px) 0; background: var(--graphite); }
.index .eyebrow { margin-bottom: 32px; }
.index__title { font-size: clamp(48px, 8vw, 132px); }
.index__list { margin-top: clamp(56px, 8vh, 96px); border-top: 1px solid var(--line); }
.index__list a {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline;
  padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 56px); line-height: 1.1;
  text-decoration: none; transition: padding-left 0.5s var(--ease), color 0.3s;
}
.index__list span { font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; color: var(--silver); }
.index__list i { font-style: normal; font-family: var(--sans); font-size: 18px; color: var(--silver); transition: transform 0.5s var(--ease); }
.index__list a:hover { padding-left: 16px; }
.index__list a:hover i { transform: translateY(4px); color: var(--ivory); }

/* ---------- Services ---------- */
.service { position: relative; }
.service__num {
  position: absolute; font-family: var(--serif); line-height: 0.8;
  font-size: clamp(140px, 20vw, 320px); color: rgba(242,240,235,0.05);
  pointer-events: none; user-select: none;
}
.service__title { font-size: clamp(42px, 5.4vw, 88px); margin: 22px 0 28px; }
.service p:not(.eyebrow) { color: rgba(242,240,235,0.78); max-width: 32em; }
.service__list { margin-top: 36px; border-top: 1px solid var(--line); max-width: 30em; }
.service__list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,240,235,0.86);
  display: flex; gap: 16px;
}
.service__list li::before { content: "—"; color: var(--silver); }

.service--split {
  display: grid; grid-template-columns: 7fr 5fr; align-items: center;
  gap: clamp(40px, 6vw, 110px);
  padding: clamp(100px, 16vh, 200px) var(--gutter) clamp(100px, 16vh, 200px) 0;
}
.service--split .service__media { aspect-ratio: 4 / 5; overflow: hidden; }
.service--split .service__media img { width: 100%; height: 100%; object-fit: cover; }
.service--split .service__text { position: relative; }
.service--split .service__num { top: -0.52em; left: -0.08em; }
#paint-correction .service__media img { object-position: 52% 50%; }
.service--reverse { grid-template-columns: 5fr 7fr; padding: clamp(100px, 16vh, 200px) 0 clamp(100px, 16vh, 200px) var(--gutter); }
.service--reverse .service__media { order: 2; aspect-ratio: 5 / 4; }
.service--reverse .service__text { order: 1; }

.service--bleed { padding-bottom: clamp(100px, 16vh, 200px); background: var(--obsidian); }
.bleed { height: min(88vh, 56.25vw); overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
.service__cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  margin-top: clamp(64px, 10vh, 120px); position: relative;
}
.service__cols > div:first-child { position: relative; }
.service__cols .service__num { top: -0.5em; left: -0.08em; }
.service__cols .service__title { margin-bottom: 0; }
.service__cols > div:last-child { padding-top: 44px; }

.service--feature { min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.feature__media { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.feature__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,9,9,1) 0%, rgba(9,9,9,0.55) 22%, rgba(9,9,9,0) 45%),
              linear-gradient(0deg, rgba(9,9,9,1) 0%, rgba(9,9,9,0) 28%),
              linear-gradient(180deg, rgba(9,9,9,0.9) 0%, rgba(9,9,9,0) 22%);
}
.feature__text { position: relative; padding: clamp(120px, 20vh, 240px) var(--gutter) clamp(80px, 12vh, 140px); max-width: max(40vw, 460px); }
.feature__text .service__num { top: 0.1em; left: calc(var(--gutter) - 0.08em); }

@media (max-width: 899px) {
  .philosophy__body { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
  .principles li { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; }
  .principles span { grid-row: span 2; margin: 0; }
  .index__list a { grid-template-columns: 44px 1fr auto; }
  .service--split, .service--reverse {
    grid-template-columns: 1fr; padding: 88px 0; gap: 48px;
  }
  .service--split .service__media, .service--reverse .service__media { order: 0; aspect-ratio: 4 / 3; }
  .service--split .service__text, .service--reverse .service__text { order: 1; padding: 0 var(--gutter); }
  .service--split .service__num { left: calc(var(--gutter) - 0.08em); }
  .bleed { height: 62svh; }
  .bleed img { object-position: 58% 50%; }
  .service__cols { grid-template-columns: 1fr; gap: 0; }
  .service__cols > div:last-child { padding-top: 8px; }
  .service--feature { min-height: auto; display: block; }
  .feature__media { position: relative; left: auto; aspect-ratio: 4 / 3; }
  .feature__text { max-width: none; }
  .feature__media::after { background: linear-gradient(0deg, rgba(9,9,9,1) 0%, rgba(9,9,9,0) 45%); }
  .feature__text { padding: 8px var(--gutter) 88px; }
  .feature__text .service__num { top: -0.6em; }
}

/* ---------- Gallery ---------- */
.gallery { padding: clamp(100px, 16vh, 200px) 0; border-top: 1px solid var(--line); }
.gallery__head .eyebrow { margin-bottom: 32px; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.2vw, 18px);
  padding: 0 var(--gutter); margin-top: clamp(56px, 8vh, 96px);
}
.g {
  position: relative; padding: 0; border: 0; background: var(--graphite);
  cursor: zoom-in; overflow: hidden; display: block; text-align: left;
}
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.g:hover img { transform: scale(1.035); }
.g span {
  position: absolute; left: 16px; bottom: 14px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory); text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.g--a { grid-column: 1 / 9; aspect-ratio: 16 / 9; }
.g--b { grid-column: 9 / 13; aspect-ratio: auto; }
.g--c { grid-column: 1 / 5; aspect-ratio: 4 / 5; }
.g--d { grid-column: 5 / 13; aspect-ratio: auto; }
.g--e { grid-column: 1 / 8; aspect-ratio: 16 / 9; }
.g--f { grid-column: 8 / 13; aspect-ratio: auto; }
.g--b img { object-position: 50% 50%; }
.g--c img { object-position: 46% 50%; }
@media (max-width: 899px) {
  .g--a, .g--d, .g--e { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .g--b, .g--c, .g--f { grid-column: span 6; aspect-ratio: 4 / 5; }
  .g--f { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0;
  padding: 64px var(--gutter) 40px; border: 0; background: rgba(9,9,9,0.97); color: var(--ivory);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 16px; }
.lightbox::backdrop { background: rgba(9,9,9,0.9); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox p { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver); }
.lightbox form { position: absolute; top: 18px; right: var(--gutter); }
.lightbox__close { background: none; border: 0; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; padding: 10px 0; }

/* ---------- Consultation ---------- */
.consult { padding: clamp(100px, 16vh, 200px) 0; background: var(--graphite); }
.consult__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.consult .eyebrow { margin-bottom: 32px; }
.consult .display { font-size: clamp(48px, 6.4vw, 104px); margin-bottom: 36px; }
.demo-note {
  margin-top: 40px; padding: 18px 0 0; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--silver); max-width: 30em;
}
.demo-note b { color: var(--ivory); font-weight: 500; }

.form { position: relative; display: grid; gap: 8px; }
.form__badge {
  justify-self: start; margin-bottom: 18px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--silver);
  padding: 7px 12px; border: 1px solid var(--line);
}
.field { position: relative; padding-top: 22px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ivory);
  font: 300 18px/1.4 var(--sans);
  border: 0; border-bottom: 1px solid rgba(242,240,235,0.28); border-radius: 0;
  padding: 12px 0 14px; outline: none; transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { cursor: pointer; padding-right: 28px; }
.field select:invalid { color: rgba(242,240,235,0.45); }
.field select option { background: var(--graphite); color: var(--ivory); }
.field--select::after {
  content: ""; position: absolute; right: 4px; bottom: 24px; width: 8px; height: 8px;
  border-right: 1px solid var(--silver); border-bottom: 1px solid var(--silver); transform: rotate(45deg);
  pointer-events: none;
}
.field label {
  position: absolute; left: 0; top: 34px;
  font-size: 15px; color: rgba(242,240,235,0.55); pointer-events: none;
  transform-origin: left top; transition: transform 0.35s var(--ease), color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ivory); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label {
  transform: translateY(-30px) scale(0.78); color: var(--silver);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.field.is-invalid input, .field.is-invalid select { border-color: #c9a27a; }
.form__error { font-size: 14px; color: #d9b896; margin-top: 8px; }
.btn {
  justify-self: start; margin-top: 30px;
  display: inline-flex; gap: 18px; align-items: center;
  padding: 20px 30px; border: 1px solid var(--ivory);
  background: var(--ivory); color: var(--obsidian);
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: background-color 0.35s, color 0.35s;
}
.btn:hover { background: transparent; color: var(--ivory); }
.btn span { transition: transform 0.4s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--obsidian); }
.form__done {
  position: absolute; inset: 0; background: var(--graphite);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.form__done[hidden] { display: none; }
.form__done p:not(.eyebrow) { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; max-width: 18em; }
.form__done:focus { outline: none; }

@media (max-width: 899px) {
  .consult__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 12vh, 140px) 0 40px; border-top: 1px solid var(--line); }
.footer__mark {
  display: block; text-decoration: none;
  font-family: var(--sans); font-weight: 300; letter-spacing: 0.3em;
  font-size: clamp(64px, 17vw, 280px); line-height: 0.85; margin-left: -0.04em;
  color: var(--ivory);
}
.footer__mark span { color: var(--silver); letter-spacing: 0; }
.footer__row {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer nav a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: rgba(242,240,235,0.75); }
.footer nav a:hover { color: var(--ivory); }
.footer__concept { font-size: 14px; color: var(--silver); }
.footer__concept b { color: var(--ivory); font-weight: 400; }
.footer__legal { margin-top: 40px; font-size: 12px; line-height: 1.7; color: rgba(166,166,166,0.8); max-width: 62em; }

/* ---------- Reveal animations (only when JS + motion allowed) ---------- */
html.js:not(.reduced) .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js:not(.reduced) .reveal.is-in { opacity: 1; transform: none; }
html.js:not(.reduced) .reveal-img { clip-path: inset(10% 0 0 0); transition: clip-path 1.4s var(--ease); }
html.js:not(.reduced) .reveal-img img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
html.js:not(.reduced) .reveal-img.is-in { clip-path: inset(0 0 0 0); }
html.js:not(.reduced) .reveal-img.is-in img { transform: none; }
html.js:not(.reduced) .g.reveal-img.is-in:hover img { transform: scale(1.035); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
