/* GBA Construction & Aménagement: editorial luxury.
   Sand paper, deep navy, gold. Cormorant for display, Plus Jakarta Sans for text.
   Every surface that matters sits in a double bezel; every move uses the same spring curve. */

:root {
  --navy: #00142F;
  --navy-2: #0A1F3D;
  --navy-3: #13294A;
  --gold: #B68208;
  --gold-2: #D4A43A;
  --sand: #F6F0E2;
  --paper: #FBF8F1;
  --ink: #0B1626;
  --muted: #5B6575;
  --line: rgba(0, 20, 47, .08);
  --line-light: rgba(246, 240, 226, .12);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --spring: cubic-bezier(.32, .72, 0, 1);
  --out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;
  --r: 2rem;
  --r-in: calc(2rem - .4rem);
  --sec: clamp(96px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 clamp(1rem, .95rem + .2vw, 1.0625rem)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: var(--sand); padding: 12px 18px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* film grain: fixed, never scrolls */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.dark { background: var(--navy); color: var(--sand); }
.sandbg { background: var(--sand); }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: .92; }
.d-xl { font-size: clamp(3.2rem, 9.5vw, 10.5rem); }
.d-l { font-size: clamp(2.6rem, 6.4vw, 6.6rem); }
.d-m { font-size: clamp(2.1rem, 4.2vw, 4.2rem); line-height: 1; }
.d-s { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.08; }
.display em { font-style: italic; color: var(--gold); }
.dark .display em { color: var(--gold-2); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.6; color: inherit; max-width: 46ch; }
.muted { color: var(--muted); }
.dark .muted { color: rgba(246, 240, 226, .68); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  font: 600 .6875rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  background: rgba(0, 20, 47, .05); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.dark .eyebrow, .on-image .eyebrow { background: rgba(246, 240, 226, .08); box-shadow: inset 0 0 0 1px var(--line-light); }

/* ---------- buttons: pill with an island for the arrow ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; border-radius: 999px;
  background: var(--navy); color: var(--sand); font: 600 .95rem/1 var(--sans); border: 0; cursor: pointer;
  transition: transform .6s var(--spring), background-color .6s var(--spring);
}
.btn .ico {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(246, 240, 226, .12); transition: transform .6s var(--spring), background-color .6s var(--spring);
}
.btn .ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.btn:hover .ico { transform: translate(3px, -2px) scale(1.06); background: var(--gold); color: var(--navy); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold-2); color: var(--navy); }
.btn-gold .ico { background: rgba(0, 20, 47, .12); }
.btn-gold:hover .ico { background: var(--navy); color: var(--sand); }
.btn-light { background: var(--sand); color: var(--navy); }
.btn-light .ico { background: rgba(0, 20, 47, .08); }
.link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0;
}
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .35; transform-origin: left; transition: transform .7s var(--spring), opacity .4s; }
.link:hover::after { opacity: 1; transform: scaleX(1.04); }

/* ---------- double bezel ---------- */
.bezel { padding: .4rem; border-radius: var(--r); background: rgba(0, 20, 47, .04); box-shadow: inset 0 0 0 1px var(--line); }
.dark .bezel { background: rgba(246, 240, 226, .05); box-shadow: inset 0 0 0 1px var(--line-light); }
.core { border-radius: var(--r-in); overflow: hidden; background: var(--paper); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 30px 60px -40px rgba(0, 20, 47, .35); position: relative; }
.dark .core { background: var(--navy-2); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06); }
.core img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- floating island nav ---------- */
.island {
  position: fixed; z-index: 40; top: 18px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 20px; border-radius: 999px;
  background: rgba(0, 20, 47, .72); color: var(--sand); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(246, 240, 226, .12), 0 20px 40px -24px rgba(0, 0, 0, .5);
  width: max-content; max-width: calc(100% - 24px);
  transition: transform .8s var(--spring), background-color .6s var(--spring);
}
.island .logo { width: 150px; height: auto; filter: brightness(0) invert(1); margin-right: 10px; }
.island nav { display: flex; gap: 2px; }
.island nav a { padding: 10px 16px; border-radius: 999px; font-size: .875rem; font-weight: 500; transition: background-color .5s var(--spring); }
.island nav a:hover, .island nav a[aria-current="page"] { background: rgba(246, 240, 226, .1); }
.island .btn { padding: 6px 6px 6px 18px; font-size: .85rem; }
.island .btn .ico { width: 34px; height: 34px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(246, 240, 226, .1); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--sand); transition: transform .7s var(--spring), opacity .4s; }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.overlay {
  position: fixed; inset: 0; z-index: 35; background: rgba(0, 20, 47, .9); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 48px; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .7s var(--spring);
}
.overlay a.big { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 4.5rem); line-height: 1.05; color: var(--sand); opacity: 0; transform: translateY(48px); transition: transform .9s var(--spring), opacity .9s var(--spring); }
.overlay .meta { color: rgba(246, 240, 226, .7); margin-top: 32px; opacity: 0; transition: opacity .9s var(--spring) .4s; }
.menu-open .overlay { opacity: 1; pointer-events: auto; }
.menu-open .overlay a.big, .menu-open .overlay .meta { opacity: 1; transform: none; }
.menu-open .overlay a.big:nth-child(2) { transition-delay: .07s; } .menu-open .overlay a.big:nth-child(3) { transition-delay: .14s; } .menu-open .overlay a.big:nth-child(4) { transition-delay: .21s; }
@media (max-width: 900px) {
  .island { left: 12px; right: 12px; transform: none; width: auto; justify-content: space-between; }
  .island nav, .island .btn { display: none; }
  .burger { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; color: var(--sand); overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: settle 2.6s var(--out) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(0, 12, 30, .62) 0%, rgba(0, 12, 30, .25) 45%, rgba(0, 12, 30, 0) 70%),
  linear-gradient(180deg, rgba(0, 20, 47, .55) 0%, rgba(0, 20, 47, .05) 30%, rgba(0, 20, 47, .2) 55%, rgba(0, 12, 30, .92) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(36px, 6vw, 72px); padding-top: 140px; }
.hero h1 { max-width: 12ch; margin-bottom: clamp(28px, 4vw, 48px); }
.hero-foot { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: end; }
.hero-foot .lead { margin: 0; color: rgba(246, 240, 226, .86); }
.hero-stats { display: flex; gap: clamp(20px, 3vw, 44px); }
.hero-stats div { border-left: 1px solid var(--line-light); padding-left: 16px; }
.hero-stats b { display: block; font: 500 clamp(1.8rem, 3vw, 2.6rem)/1 var(--serif); color: var(--sand); }
.hero-stats b { white-space: nowrap; }
@media (max-width: 520px) { .hero-stats { gap: 14px; } .hero-stats div { padding-left: 12px; } .hero-stats b { font-size: 1.6rem; } }
.hero-stats span { display: block; max-width: 17ch; margin-top: 6px; font-size: .8rem; line-height: 1.4; color: rgba(246, 240, 226, .72); }
.scroll-cue { position: absolute; z-index: 2; right: var(--gutter); top: 50%; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 240, 226, .6); }
@media (max-width: 900px) { .hero-foot { grid-template-columns: 1fr; } .scroll-cue { display: none; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); color: var(--sand); padding: 26px 0; border-top: 1px solid var(--line-light); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: slide 46s linear infinite; }
.marquee span { font: italic 500 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--serif); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- editorial split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .bezel .core { aspect-ratio: 4 / 5; }
.split .pair-stack { position: relative; }
.split .pair-stack .bezel:last-child { position: absolute; width: 46%; right: -6%; bottom: -10%; }
.split .pair-stack .bezel:last-child .core { aspect-ratio: 1; }
.statement { font: 500 clamp(1.7rem, 2.9vw, 2.75rem)/1.18 var(--serif); letter-spacing: -0.01em; max-width: 24ch; margin-bottom: 32px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } .split .pair-stack .bezel:last-child { position: relative; width: 70%; right: auto; bottom: auto; margin: -22% 0 0 auto; } }

/* ---------- section heads ---------- */
.head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.head p { margin: 0; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } }

/* ---------- bento of expertise ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); gap: 14px; }
.tile > .bezel { height: 100%; }
.tile { grid-column: span 4; position: relative; }
.tile .core { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.tile .core > img { position: absolute; inset: 0; transition: transform 1.6s var(--spring); }
.tile .core::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 20, 47, .05) 15%, rgba(0, 12, 30, .55) 50%, rgba(0, 12, 30, .92) 100%); }
.tile:hover .core > img { transform: scale(1.05); }
.tile .txt { position: relative; z-index: 1; padding: clamp(22px, 2.4vw, 34px); color: var(--sand); }
.tile .txt h3 { font: 500 clamp(1.7rem, 2.3vw, 2.3rem)/1.05 var(--serif); margin-bottom: 10px; }
.tile .txt p { margin: 0; font-size: .95rem; color: rgba(246, 240, 226, .82); max-width: 38ch; }
.tile .num { position: absolute; z-index: 1; top: 22px; left: 24px; font: italic 500 1.1rem/1 var(--serif); color: var(--gold-2); }
.t-a { grid-column: span 7; grid-row: span 3; }
.t-b { grid-column: span 5; grid-row: span 2; }
.t-c { grid-column: span 5; grid-row: span 3; }
.t-d { grid-column: span 7; grid-row: span 2; }
.t-plain .core { background: var(--sand); }
.t-plain .core::after { display: none; }
.t-plain .txt { color: var(--navy); }
.t-plain .txt p { color: var(--muted); }
@media (max-width: 900px) { .bento { grid-auto-rows: auto; } .bento .tile { grid-column: 1 / -1; grid-row: auto; } .tile .core { min-height: 380px; } }

/* ---------- horizontal gallery ---------- */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); align-items: flex-start; padding: 4px var(--gutter) 24px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.rail .bezel { width: clamp(280px, 38vw, 560px); }
.rail figure:nth-child(3n+2) .bezel { width: clamp(240px, 26vw, 380px); }
.rail .core { aspect-ratio: 4 / 5; }
.rail figure:nth-child(3n+1) .core { aspect-ratio: 5 / 4; }
.rail figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 6px 0; font-size: .875rem; color: var(--muted); }
.rail figcaption b { color: var(--ink); font-weight: 600; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy); color: var(--sand); cursor: pointer; display: grid; place-items: center; transition: transform .6s var(--spring), background-color .5s; }
.rail-ctrl button:hover { background: var(--gold); transform: scale(1.06); }
.rail-ctrl button:active { transform: scale(.96); }
.rail-ctrl svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* ---------- process: sticky title, steps as cards ---------- */
.process { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.process .sticky { position: sticky; top: 120px; }
.steps { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; }
.steps .core { padding: clamp(26px, 3vw, 42px); display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; }
.steps .core::before { content: counter(s, decimal-leading-zero); font: italic 500 2.6rem/1 var(--serif); color: var(--gold); grid-row: span 2; }
.steps h3 { font: 500 clamp(1.5rem, 2vw, 1.9rem)/1.1 var(--serif); }
.steps p { margin: 0; color: var(--muted); }
.dark .steps p { color: rgba(246, 240, 226, .7); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process .sticky { position: static; } }

/* ---------- checks (hold points) ---------- */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.checks .core { padding: clamp(26px, 2.8vw, 40px); min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.checks strong { font: 500 clamp(2.4rem, 4vw, 3.6rem)/1 var(--serif); color: var(--gold-2); }
.checks p { margin: 24px 0 0; color: rgba(246, 240, 226, .78); }
.checks .bezel:nth-child(3n+2) { transform: translateY(40px); }
@media (max-width: 900px) { .checks { grid-template-columns: 1fr; } .checks .bezel:nth-child(n) { transform: none; } }

/* ---------- plan explorer ---------- */
.explorer { display: grid; grid-template-columns: .9fr 1.4fr; gap: 14px; align-items: stretch; }
.explorer .plan-core { padding: clamp(18px, 2.4vw, 34px); height: 100%; display: flex; flex-direction: column; gap: 18px; background: var(--paper); }
.plan svg { width: 100%; height: auto; }
.plan .zone { cursor: pointer; }
.plan .zone polygon { fill: #EFE6D2; stroke: var(--navy); stroke-width: 8; transition: fill .5s var(--spring); }
.plan .zone:hover polygon, .plan .zone:focus-visible polygon { fill: #E3D2A8; }
.plan .zone.on polygon { fill: var(--navy); }
.plan .zone text, .plan .fixed text { font: 600 40px var(--sans); fill: var(--navy); pointer-events: none; }
.plan .zone.on text { fill: var(--sand); }
.plan .fixed polygon { fill: #F7F2E6; stroke: var(--navy); stroke-width: 8; }
.plan .dim { font: italic 500 40px var(--serif); fill: var(--gold); }
.room-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.room-tabs button { padding: 10px 16px; border-radius: 999px; border: 0; background: rgba(0, 20, 47, .06); color: var(--navy); font: 600 .82rem var(--sans); cursor: pointer; transition: background-color .5s var(--spring), transform .5s var(--spring); }
.room-tabs button:hover { transform: translateY(-2px); }
.room-tabs button[aria-pressed="true"] { background: var(--navy); color: var(--sand); }
.explorer > .bezel > .core { height: 100%; }
.rooms { position: relative; height: 100%; min-height: 480px; }
.room { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--spring); }
.room.on { opacity: 1; position: relative; height: 100%; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 22px; border-radius: 1.2rem; background: rgba(0, 20, 47, .82); color: var(--sand); }
.room figcaption h3 { font: 500 1.6rem/1.1 var(--serif); margin-bottom: 4px; }
.room figcaption p { margin: 0; font-size: .92rem; color: rgba(246, 240, 226, .8); }
.no-js .room { position: relative; opacity: 1; margin-bottom: 14px; }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } .rooms { min-height: 380px; } }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; }
.facts .core { padding: 26px 28px; }
.facts dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.facts dd { margin: 0; font: 500 clamp(1.5rem, 2.2vw, 2.1rem)/1.1 var(--serif); }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- list rows (scope, trades) ---------- */
.rows { display: grid; gap: 14px; }
.row .core { padding: clamp(28px, 3.2vw, 48px); display: grid; grid-template-columns: .9fr 1.2fr; gap: 20px 56px; }
.row h3 { font: 500 clamp(1.8rem, 2.6vw, 2.6rem)/1.05 var(--serif); }
.row p { color: var(--muted); }
.row ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.row li { position: relative; padding-left: 26px; }
.row li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: var(--gold); }
@media (max-width: 900px) { .row .core { grid-template-columns: 1fr; } }

/* ---------- gallery grid (project pages) ---------- */
.grid-gal { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.grid-gal figure { margin: 0; }
.grid-gal .w12 { grid-column: span 12; } .grid-gal .w12 .core { aspect-ratio: 21 / 9; }
.grid-gal .w7 { grid-column: span 7; } .grid-gal .w7 .core { aspect-ratio: 4 / 3; }
.grid-gal .w5 { grid-column: span 5; } .grid-gal .w5 .core { aspect-ratio: 4 / 5; height: 100%; }
.grid-gal .w6 { grid-column: span 6; } .grid-gal .w6 .core { aspect-ratio: 3 / 2; }
.grid-gal figcaption { font-size: .85rem; color: var(--muted); padding: 12px 6px 0; }
@media (max-width: 900px) { .grid-gal figure { grid-column: 1 / -1 !important; } .grid-gal .w5 .core { aspect-ratio: 4 / 3; } }

/* ---------- page hero (inner pages) ---------- */
.phero { padding: 170px 0 clamp(56px, 7vw, 100px); }
.phero h1 { margin-bottom: 36px; max-width: 14ch; }
.phero-media { margin-top: clamp(48px, 6vw, 88px); }
.phero-media .core { aspect-ratio: 21 / 9; }
@media (max-width: 900px) { .phero-media .core { aspect-ratio: 4 / 3; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r-in); color: var(--sand); min-height: 560px; display: flex; align-items: flex-end; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 12, 30, .9) 0%, rgba(0, 12, 30, .55) 55%, rgba(0, 12, 30, .2) 100%); }
.cta .in { position: relative; z-index: 2; padding: clamp(32px, 5vw, 72px); max-width: 760px; }
.cta .lead { color: rgba(246, 240, 226, .85); margin-bottom: 36px; }
.cta .acts { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* ---------- quote form ---------- */
.qgrid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 14px; align-items: start; }
.qform .core { padding: clamp(26px, 3.4vw, 52px); }
.qform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.qform .field { margin-bottom: 20px; }
.qform label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; }
.qform .hint { font-weight: 400; color: var(--muted); }
.qform input, .qform select, .qform textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; border: 0; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--sans); box-shadow: inset 0 0 0 1px rgba(0, 20, 47, .12); transition: box-shadow .4s var(--spring);
}
.qform textarea { min-height: 160px; resize: vertical; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--gold); }
.hp { position: absolute; left: -9999px; }
.qside { display: grid; gap: 14px; }
.qside .core { padding: 32px; }
.qside h2 { font: 500 2rem/1.05 var(--serif); margin-bottom: 12px; }
@media (max-width: 900px) { .qgrid { grid-template-columns: 1fr; } .qform .row2 { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: var(--sand); padding: clamp(80px, 10vw, 140px) 0 28px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: clamp(60px, 9vw, 120px); }
.foot-top h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 240, 226, .55); margin-bottom: 16px; font-weight: 600; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a:hover { color: var(--gold-2); }
.foot-word { font: 500 clamp(3.4rem, 15vw, 15rem)/.82 var(--serif); letter-spacing: -0.035em; white-space: nowrap; margin: 0 0 28px -0.03em; color: var(--sand); }
.foot-word em { color: var(--gold-2); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: rgba(246, 240, 226, .55); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- thanks ---------- */
.thanks { min-height: 100dvh; display: flex; align-items: center; }

/* ---------- motion ---------- */
.js .rv { opacity: 0; transform: translateY(56px); filter: blur(10px); transition: opacity 1.1s var(--spring), transform 1.1s var(--spring), filter 1.1s var(--spring); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; } .js .rv.d4 { transition-delay: .32s; }
.js .mask { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--spring); }
.js .mask.in { clip-path: inset(0 0 0 0); }
.js .mask img { transform: scale(1.18); transition: transform 1.8s var(--spring); }
.js .mask.in img { transform: scale(1); }
.js .line { display: block; overflow: hidden; }
.js .line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--spring); }
.js .in .line > span, .js .line.in > span { transform: none; }
.js .in .line:nth-child(2) > span { transition-delay: .09s; } .js .in .line:nth-child(3) > span { transition-delay: .18s; }
@supports (animation-timeline: view()) {
  .parallax img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes drift { from { transform: translateY(-6%) scale(1.12); } to { transform: translateY(6%) scale(1.12); } }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .mask, .js .mask img, .js .line > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
  .hero-media img, .marquee-track, .parallax img { animation: none !important; transform: none !important; }
}
