:root {
  --ink: #11100e;
  --ink-soft: #1c1b18;
  --paper: #f2efe7;
  --paper-deep: #e8e2d7;
  --signal: #ffd21c;
  --white: #fffdf8;
  --muted: #a6a39b;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(17, 16, 14, 0.17);
  --header-h: 84px;
  --page-pad: clamp(24px, 4vw, 72px);
  --rail-w: 70px;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.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;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 30px;
  padding: 0 var(--page-pad);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  transition: background 300ms ease, backdrop-filter 300ms ease, color 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 16, 14, 0.84);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 13px; justify-self: start; }

.brand-symbol {
  width: 41px;
  height: 41px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: skewX(-8deg);
}

.brand-symbol b {
  font: 800 21px/1 var(--condensed);
  letter-spacing: -0.08em;
  transform: skewX(8deg);
}

.brand-symbol b:last-child { color: var(--signal); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 800 19px/1 var(--condensed); text-transform: uppercase; letter-spacing: 0.06em; }
.brand-copy small { margin-top: 6px; color: #aaa8a1; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); }
.site-nav a { position: relative; padding: 12px 0; color: #c5c2ba; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--signal); transition: right 220ms ease; }
.site-nav a:hover, .site-nav a.is-active { color: var(--white); }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }

.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.header-cta svg { width: 17px; transition: transform 220ms ease; }
.header-cta:hover svg { transform: translate(3px, -3px); }
.menu-toggle { display: none; }

.slide-rail {
  position: fixed;
  z-index: 90;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: var(--rail-w);
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 28px 0 26px;
  color: var(--white);
  border-left: 1px solid var(--line-dark);
  mix-blend-mode: difference;
}

.rail-label { writing-mode: vertical-rl; font: 600 9px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.rail-track { width: 1px; margin: 24px 0; background: rgba(255, 255, 255, 0.22); }
.rail-track span { display: block; width: 100%; height: 16.666%; background: #fff; transition: height 500ms cubic-bezier(.16,.8,.24,1); }
.rail-pages { display: grid; gap: 4px; }
.rail-pages button { width: 34px; height: 25px; border: 0; background: none; color: rgba(255, 255, 255, 0.5); font: 600 9px/1 var(--sans); cursor: pointer; }
.rail-pages button.is-active { color: #fff; }

.panel {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.kicker { display: flex; align-items: center; gap: 13px; margin: 0 0 24px; color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker span { color: var(--signal); }
.kicker::before { content: ""; width: 32px; height: 2px; background: var(--signal); }
.kicker.dark { color: var(--ink); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--condensed); font-weight: 800; letter-spacing: -0.035em; text-transform: uppercase; }
h1 em, h2 em { color: var(--signal); font-style: normal; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 22px; border: 1px solid transparent; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: transform 220ms ease, background 220ms ease, color 220ms ease; }
.button:hover { transform: translateY(-3px); }
.button svg { width: 17px; }
.button-accent { color: var(--ink); background: var(--signal); }
.button-dark { color: var(--white); background: var(--ink); }

.hero { color: var(--white); background: var(--ink); }
.hero-scenes, .hero-scene { position: absolute; inset: 0; }
.hero-scene { opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 700ms ease; }
.hero-scene.is-active { opacity: 1; visibility: visible; }
.scene-image { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.04); transition: transform 7s ease; }
.hero-scene.is-active .scene-image { transform: scale(1); }
.scene-image-showroom { background-image: url("assets/hero-showroom-cinematic.jpg"); background-position: center 62%; }
.scene-image-fleet { background-image: url("assets/bg-v2-hero-fleet.jpg"); background-position: center; }
.scene-image-large { background-image: url("assets/bg-v2-hero-large.jpg"); background-position: center 58%; }
.scene-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 7, .94) 0%, rgba(8, 8, 7, .76) 34%, rgba(8, 8, 7, .16) 68%, rgba(8, 8, 7, .46) 100%), linear-gradient(0deg, rgba(8, 8, 7, .72), transparent 36%); }
.scene-wash::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(90deg, #000, transparent 70%); }

.hero-content { position: absolute; z-index: 2; left: var(--page-pad); top: 50%; width: min(660px, calc(100vw - 170px)); transform: translateY(-47%); }
.hero-content h1 { margin-bottom: 28px; font-size: clamp(72px, 8.5vw, 142px); line-height: .78; }
.hero-content .kicker, .hero-content h1, .hero-content .hero-lead, .hero-content .hero-actions { opacity: 0; transform: translateY(24px); }
.hero-scene.is-active .kicker, .hero-scene.is-active h1, .hero-scene.is-active .hero-lead, .hero-scene.is-active .hero-actions { animation: contentIn 650ms forwards cubic-bezier(.16,.8,.24,1); }
.hero-scene.is-active h1 { animation-delay: 90ms; }
.hero-scene.is-active .hero-lead { animation-delay: 160ms; }
.hero-scene.is-active .hero-actions { animation-delay: 230ms; }
@keyframes contentIn { to { opacity: 1; transform: translateY(0); } }
.hero-lead { max-width: 510px; margin-bottom: 34px; color: #d3d0c7; font-size: clamp(14px, 1.1vw, 18px); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .42); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { color: var(--signal); }
.scene-caption { position: absolute; z-index: 2; right: calc(var(--rail-w) + 36px); bottom: 41px; margin: 0; color: rgba(255, 255, 255, .72); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }

.hero-pagination { position: absolute; z-index: 5; left: var(--page-pad); right: calc(var(--rail-w) + 54px); bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(160px, 220px)); border-top: 1px solid var(--line-dark); }
.hero-pagination button { position: relative; min-height: 88px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; padding: 0 22px 0 0; border: 0; background: transparent; color: rgba(255,255,255,.52); text-align: left; cursor: pointer; }
.hero-pagination button::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: var(--signal); transition: width 300ms ease; }
.hero-pagination button.is-active { color: var(--white); }
.hero-pagination button.is-active::before { width: 100%; }
.hero-pagination span { color: var(--signal); font: 700 11px/1 var(--condensed); }
.hero-pagination b { font: 700 15px/1 var(--condensed); letter-spacing: .05em; text-transform: uppercase; }
.panel-next { position: absolute; z-index: 8; right: var(--rail-w); bottom: 0; width: 118px; height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 0; border-left: 1px solid var(--line-dark); background: rgba(17,16,14,.35); color: var(--white); cursor: pointer; }
.panel-next span { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.panel-next svg { width: 18px; color: var(--signal); }

.panel-number { position: absolute; right: calc(var(--rail-w) + 1vw); top: 50%; z-index: 0; color: rgba(17, 16, 14, .04); font: 900 34vw/1 var(--condensed); transform: translateY(-50%); pointer-events: none; }

.services-panel { display: grid; grid-template-columns: 45% 55%; padding-right: var(--rail-w); background: var(--paper); }
.services-visual { position: relative; height: 100svh; overflow: hidden; }
.services-visual img { height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.06); }
.services-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset -90px 0 110px rgba(17,16,14,.22); pointer-events: none; }
.visual-tag { position: absolute; right: 0; bottom: 70px; min-width: 215px; padding: 20px 24px; background: var(--signal); }
.visual-tag span, .visual-tag strong { display: block; }
.visual-tag span { margin-bottom: 5px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.visual-tag strong { font: 700 22px/1 var(--condensed); text-transform: uppercase; }
.services-content { position: relative; z-index: 2; align-self: center; padding: calc(var(--header-h) + 20px) clamp(42px, 6vw, 110px) 50px; }
.services-content h2, .proof-copy h2 { margin-bottom: 24px; color: var(--ink); font-size: clamp(62px, 6.5vw, 112px); line-height: .84; }
.section-intro { max-width: 600px; color: #625e56; font-size: 14px; line-height: 1.75; }
.service-list { margin: 34px 0 32px; border-top: 1px solid var(--line-light); }
.service-list article { display: grid; grid-template-columns: 35px 1fr auto; gap: 15px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line-light); }
.service-list article > span { color: #9b968c; font: 700 11px/1 var(--condensed); }
.service-list h3 { margin: 0 0 5px; font: 700 clamp(19px, 1.7vw, 28px)/1 var(--condensed); text-transform: uppercase; }
.service-list p { margin: 0; color: #777168; font-size: 11px; }
.service-list svg { width: 18px; }

.projects-panel { display: grid; grid-template-columns: minmax(300px, 32%) 1fr; grid-template-rows: 1fr auto; gap: 36px 4vw; padding: calc(var(--header-h) + 45px) calc(var(--rail-w) + 45px) 44px var(--page-pad); color: var(--white); background: var(--ink); }
.projects-heading { align-self: center; }
.projects-heading h2, .process-heading h2, .contact-content h2 { margin-bottom: 26px; font-size: clamp(65px, 7.2vw, 122px); line-height: .82; }
.projects-heading > p:last-child, .process-heading > p:last-child { max-width: 410px; color: #aaa79f; font-size: 13px; line-height: 1.7; }
.project-gallery { align-self: center; height: min(66vh, 690px); display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 9px; }
.project { position: relative; margin: 0; overflow: hidden; background: #2a2824; }
.project-main { grid-column: 1 / 3; grid-row: 1 / 3; }
.project:nth-child(2) { grid-column: 3; grid-row: 1; }
.project:nth-child(3) { grid-column: 4; grid-row: 1; }
.project:nth-child(4) { grid-column: 3; grid-row: 2; }
.project:nth-child(5) { grid-column: 4; grid-row: 2; }
.project:nth-child(6) { grid-column: 1 / 3; grid-row: 3; }
.project:nth-child(7) { grid-column: 3 / 5; grid-row: 3; }
.project img { height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); transition: transform 600ms cubic-bezier(.16,.8,.24,1), filter 400ms ease; }
.project:hover img { transform: scale(1.035); filter: saturate(1); }
.project::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(10,10,9,.86)); }
.project figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 19px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.project figcaption span { color: #d4d0c7; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.project figcaption strong { color: var(--white); font: 700 22px/1 var(--condensed); text-transform: uppercase; }
.project:not(.project-main) figcaption { left: 13px; right: 13px; bottom: 11px; display: grid; gap: 4px; }
.project:not(.project-main) figcaption span { font-size: 6px; }
.project:not(.project-main) figcaption strong { font-size: clamp(13px, 1.2vw, 18px); }
.projects-note { display: flex; align-items: baseline; gap: 16px; }
.projects-note span { color: var(--signal); font: 800 50px/.8 var(--condensed); }
.projects-note p { margin: 0; color: #aaa79f; font-size: 9px; line-height: 1.45; letter-spacing: .11em; text-transform: uppercase; }

.process-panel { display: grid; align-content: center; padding: calc(var(--header-h) + 35px) calc(var(--rail-w) + 4vw) 50px var(--page-pad); color: var(--white); background: var(--ink); }
.process-bg, .process-overlay { position: absolute; inset: 0; }
.process-bg { background: url("assets/process-night-drive.jpg") center / cover; filter: saturate(.72) contrast(1.08); }
.process-overlay { background: linear-gradient(90deg, rgba(12,12,11,.96) 0%, rgba(12,12,11,.77) 48%, rgba(12,12,11,.58) 100%), linear-gradient(0deg, rgba(12,12,11,.94), transparent 48%); }
.process-heading, .process-steps { position: relative; z-index: 2; }
.process-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 6vw; }
.process-heading .kicker { grid-column: 1 / -1; }
.process-heading h2 { margin-bottom: 46px; }
.process-heading > p:last-child { align-self: end; margin-bottom: 48px; max-width: 430px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.process-steps li { position: relative; min-height: 250px; padding: 28px 28px 26px; border-right: 1px solid var(--line-dark); }
.process-steps li:first-child { border-left: 1px solid var(--line-dark); }
.process-steps li > span { color: var(--signal); font: 600 10px/1 var(--sans); }
.process-steps svg { display: block; width: 29px; height: 29px; margin: 42px 0 23px; stroke-width: 1.4; }
.process-steps h3 { margin-bottom: 9px; font: 700 27px/1 var(--condensed); text-transform: uppercase; }
.process-steps p { max-width: 230px; margin: 0; color: #a9a69e; font-size: 10px; line-height: 1.6; }
.process-steps li::after { content: ""; position: absolute; left: 28px; right: 100%; bottom: -1px; height: 3px; background: var(--signal); transition: right 300ms ease; }
.process-steps li:hover::after { right: 28px; }

.proof-panel { display: grid; grid-template-columns: 42% 58%; grid-template-rows: 1fr auto; padding-right: var(--rail-w); background: var(--paper); }
.proof-copy { align-self: center; padding: calc(var(--header-h) + 30px) 5vw 30px var(--page-pad); }
.proof-copy .button { margin-top: 20px; }
.proof-metrics { grid-column: 1; align-self: end; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 4vw 45px var(--page-pad); border-top: 1px solid var(--line-light); }
.proof-metrics article { padding: 20px 12px 0 0; }
.proof-metrics strong, .proof-metrics span { display: block; }
.proof-metrics strong { margin-bottom: 9px; font: 800 clamp(34px, 4vw, 58px)/1 var(--condensed); }
.proof-metrics span { color: #777168; font-size: 8px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.proof-visual { position: relative; grid-column: 2; grid-row: 1 / 3; height: 100svh; margin: 0; overflow: hidden; }
.proof-visual img { height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.08); }
.proof-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,16,14,.22), transparent 40%), linear-gradient(0deg, rgba(17,16,14,.5), transparent 32%); }
.proof-visual figcaption { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 35px; display: flex; gap: 10px; }
.proof-visual figcaption span { display: inline-flex; align-items: center; gap: 9px; padding: 12px 15px; color: var(--white); background: rgba(17,16,14,.76); backdrop-filter: blur(8px); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.proof-visual figcaption svg { width: 15px; color: var(--signal); }

.contact-panel { display: grid; grid-template-columns: 38% 62%; grid-template-rows: 1fr auto; padding: var(--header-h) var(--rail-w) 0 0; color: var(--white); background: var(--ink); }
.contact-visual { position: relative; grid-row: 1 / 3; min-height: calc(100svh - var(--header-h)); overflow: hidden; }
.contact-visual img { height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.12) brightness(.64); }
.contact-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--ink)), linear-gradient(0deg, rgba(17,16,14,.66), transparent 45%); }
.headlights { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.headlight { position: absolute; top: 51.5%; width: clamp(34px, 4.6vw, 72px); height: clamp(14px, 1.7vw, 27px); opacity: 0; border-radius: 50%; background: radial-gradient(ellipse, #fff 0 12%, #fff7c8 24%, rgba(255,210,28,.8) 43%, rgba(255,210,28,0) 76%); filter: blur(1px); transform: translate(-50%, -50%) scale(.35); transition: opacity 160ms ease, transform 520ms cubic-bezier(.16,.8,.24,1), filter 400ms ease; mix-blend-mode: screen; }
.headlight-left { left: 15.5%; transform: translate(-50%, -50%) rotate(5deg) scale(.35); }
.headlight-right { left: 84.5%; transform: translate(-50%, -50%) rotate(-5deg) scale(.35); }
.headlight::before { content: ""; position: absolute; left: 50%; top: 50%; width: 220%; height: 360%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,255,238,.88) 0 3%, rgba(255,224,106,.38) 16%, rgba(255,210,28,.12) 38%, transparent 72%); transform: translate(-50%, -50%); filter: blur(9px); }
.headlight::after { content: ""; position: absolute; top: 40%; width: clamp(160px, 18vw, 330px); height: clamp(80px, 10vw, 180px); opacity: .72; background: linear-gradient(105deg, rgba(255,244,196,.2), rgba(255,210,28,.07) 36%, transparent 72%); filter: blur(12px); clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%); }
.headlight-left::after { right: 20%; transform: rotate(7deg); transform-origin: right center; }
.headlight-right::after { left: 20%; transform: scaleX(-1) rotate(7deg); transform-origin: left center; }
.headlight i { position: absolute; inset: 20% 16%; border-radius: 50%; background: #fff; filter: blur(2px); box-shadow: 0 0 10px 4px #fff, 0 0 24px 11px rgba(255,224,100,.8), 0 0 55px 24px rgba(255,210,28,.36); }
.contact-visual:hover .headlight { opacity: 1; filter: blur(0); animation: headlightsIgnite 720ms ease both; }
.contact-visual:hover .headlight-left { transform: translate(-50%, -50%) rotate(5deg) scale(1); }
.contact-visual:hover .headlight-right { transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
@keyframes headlightsIgnite {
  0% { opacity: 0; }
  24% { opacity: .95; }
  34% { opacity: .35; }
  48% { opacity: 1; }
  100% { opacity: 1; }
}
.contact-stamp { position: absolute; z-index: 2; left: var(--page-pad); bottom: 50px; width: 138px; height: 138px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); background: var(--signal); border-radius: 50%; transform: rotate(-9deg); }
.contact-stamp span, .contact-stamp small { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.contact-stamp strong { margin: 3px 0; font: 900 44px/.9 var(--condensed); }
.contact-content { align-self: center; padding: 36px clamp(45px, 7vw, 120px) 24px; }
.contact-content h2 { margin-bottom: 18px; }
.contact-intro { max-width: 650px; margin-bottom: 24px; color: #aaa79f; font-size: 12px; line-height: 1.65; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span { color: #9f9c94; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid #45433e; border-radius: 0; outline: none; }
.contact-form input, .contact-form select { height: 41px; }
.contact-form textarea { padding: 10px 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--signal); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #66635d; }
.contact-form select { color-scheme: dark; }
.form-wide { grid-column: 1 / -1; }
.contact-form .button { width: 100%; margin-top: 3px; border: 0; }
.form-status { min-height: 16px; margin: 0; color: var(--signal); font-size: 10px; }
.contact-footer { grid-column: 2; display: flex; justify-content: space-between; align-items: center; min-height: 50px; margin: 0 clamp(45px, 7vw, 120px); color: #77746e; border-top: 1px solid var(--line-dark); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.contact-footer a { color: var(--white); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.16,.8,.24,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  :root { --rail-w: 48px; --header-h: 74px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 50px var(--page-pad); background: var(--ink); transform: translateX(100%); transition: transform 350ms cubic-bezier(.16,.8,.24,1); }
  .site-nav a { font: 700 42px/1 var(--condensed); letter-spacing: -.02em; }
  .nav-open .site-nav { transform: translateX(0); }
  .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 6px; justify-self: end; width: 42px; padding: 10px 5px; border: 0; background: none; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 1px; background: currentColor; transition: transform 200ms ease; }
  .nav-open .menu-toggle > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .menu-toggle > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .projects-panel { grid-template-columns: 34% 1fr; }
  .proof-panel { grid-template-columns: 46% 54%; }
  .contact-panel { grid-template-columns: 34% 66%; }
}

@media (max-width: 800px) {
  html { scroll-snap-type: y proximity; }
  :root { --rail-w: 0px; --page-pad: 22px; }
  .slide-rail { display: none; }
  .panel { min-height: 100svh; scroll-snap-stop: normal; overflow: visible; }
  .brand-copy small { display: none; }
  .hero-content { top: 46%; width: calc(100vw - 44px); }
  .hero-content h1 { font-size: clamp(58px, 18vw, 90px); }
  .hero-lead { max-width: 92%; font-size: 13px; line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-pagination { left: var(--page-pad); right: var(--page-pad); grid-template-columns: repeat(3, 1fr); }
  .hero-pagination button { min-height: 70px; grid-template-columns: 1fr; gap: 3px; padding-right: 10px; }
  .hero-pagination b { font-size: 12px; }
  .panel-next, .scene-caption { display: none; }
  .services-panel { display: block; padding: 0; }
  .services-visual { height: 43svh; min-height: 340px; }
  .services-content { padding: 55px var(--page-pad) 70px; }
  .services-content h2, .proof-copy h2 { font-size: 62px; }
  .service-list p { display: none; }
  .projects-panel { display: block; min-height: auto; padding: 90px var(--page-pad) 70px; }
  .projects-heading h2, .process-heading h2, .contact-content h2 { font-size: 64px; }
  .project-gallery { width: calc(100vw - var(--page-pad)); height: 470px; margin-top: 38px; display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .project-gallery::-webkit-scrollbar { display: none; }
  .project, .project-main, .project:nth-child(n) { display: block; flex: 0 0 min(82vw, 440px); height: 100%; grid-column: auto; grid-row: auto; scroll-snap-align: start; }
  .project figcaption, .project:not(.project-main) figcaption { left: 18px; right: 18px; bottom: 17px; display: flex; gap: 15px; }
  .project figcaption span, .project:not(.project-main) figcaption span { font-size: 7px; }
  .project figcaption strong, .project:not(.project-main) figcaption strong { font-size: 20px; }
  .projects-note { margin-top: 30px; }
  .process-panel { min-height: auto; padding: 90px var(--page-pad) 70px; }
  .process-heading { display: block; }
  .process-heading h2 { margin-bottom: 24px; }
  .process-heading > p:last-child { margin-bottom: 36px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps li { min-height: 210px; padding: 23px; border-bottom: 1px solid var(--line-dark); }
  .process-steps svg { margin: 27px 0 18px; }
  .proof-panel { display: flex; flex-direction: column; min-height: auto; padding: 0; }
  .proof-copy { padding: 90px var(--page-pad) 40px; }
  .proof-metrics { order: 3; margin: 38px var(--page-pad) 70px; }
  .proof-visual { order: 2; width: calc(100% - 44px); height: 55svh; min-height: 440px; margin-left: var(--page-pad); }
  .proof-visual figcaption { left: 15px; bottom: 15px; }
  .proof-visual figcaption span:last-child { display: none; }
  .contact-panel { display: block; min-height: auto; padding: 0; }
  .contact-visual { min-height: 52svh; height: 52svh; }
  .contact-content { padding: 70px var(--page-pad) 40px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .form-wide { grid-column: 1; }
  .contact-footer { margin: 0 var(--page-pad); min-height: 70px; gap: 20px; }
  .contact-footer span:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── Cinematic layer ─────────────────────────────────────────── */

body { cursor: default; }

.page-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--white);
  background: var(--ink);
  transition: clip-path 900ms cubic-bezier(.76, 0, .24, 1), visibility 900ms;
  clip-path: inset(0 0 0 0);
}

body.is-loaded .page-loader { clip-path: inset(0 0 100% 0); visibility: hidden; }

.loader-mark { display: flex; gap: 0; font: 900 84px/.75 var(--condensed); letter-spacing: -.14em; transform: skewX(-8deg); }
.loader-mark span:last-child { color: var(--signal); }
.loader-copy { width: min(260px, 70vw); text-align: center; }
.loader-copy > span { display: block; margin-bottom: 13px; color: #8f8c84; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; }
.loader-line { height: 2px; overflow: hidden; background: #2b2925; }
.loader-line i { display: block; width: 100%; height: 100%; background: var(--signal); transform-origin: left; animation: loaderLine 1250ms cubic-bezier(.16,.8,.24,1) forwards; }
@keyframes loaderLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.site-grain {
  position: fixed;
  z-index: 500;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: .045;
  background-image: repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,.9) 0 1px, transparent 1px 4px);
  background-size: 7px 9px;
  animation: grainShift .28s steps(2) infinite;
  mix-blend-mode: soft-light;
}

@keyframes grainShift {
  0% { transform: translate3d(-1%, -1%, 0); }
  25% { transform: translate3d(1%, 0, 0); }
  50% { transform: translate3d(0, 1%, 0); }
  75% { transform: translate3d(-1%, 1%, 0); }
  100% { transform: translate3d(1%, -1%, 0); }
}

.ambient-light {
  position: fixed;
  z-index: 60;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background: radial-gradient(460px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255,210,28,.1), transparent 68%);
  mix-blend-mode: screen;
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.language-switcher { display: flex; align-items: center; padding: 4px; border: 1px solid rgba(255,255,255,.18); background: rgba(17,16,14,.2); backdrop-filter: blur(8px); }
.language-switcher button { width: 29px; height: 25px; padding: 0; border: 0; color: #8d8a83; background: transparent; font-size: 8px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: color 200ms ease, background 200ms ease; }
.language-switcher button:hover { color: var(--white); }
.language-switcher button.is-active { color: var(--ink); background: var(--signal); }

.speed-canvas { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; mix-blend-mode: screen; }
.hero-ghost-word { position: absolute; z-index: 1; left: 41%; top: 50%; margin: 0; color: transparent; font: 900 clamp(150px, 25vw, 440px)/.7 var(--condensed); letter-spacing: -.07em; -webkit-text-stroke: 1px rgba(255,255,255,.11); transform: translate(-15%, -50%) rotate(-7deg); white-space: nowrap; pointer-events: none; animation: ghostDrift 11s ease-in-out infinite alternate; }
@keyframes ghostDrift { to { transform: translate(-19%, -47%) rotate(-4deg); } }

.hero-orbit { position: absolute; z-index: 7; right: calc(var(--rail-w) + 6vw); top: 50%; width: 126px; height: 126px; color: var(--white); border-radius: 50%; transform: translateY(-50%); }
.orbit-copy { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; padding-top: 10px; overflow: hidden; color: #d6d2c8; font: 600 8px/1 var(--sans); letter-spacing: .15em; word-spacing: 3px; text-align: center; animation: orbitSpin 14s linear infinite; }
.orbit-copy::before, .orbit-copy::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.orbit-copy::before { left: 9px; top: 58px; }
.orbit-copy::after { right: 9px; top: 58px; }
.orbit-core { position: absolute; inset: 22px; display: grid; place-items: center; color: var(--ink); background: var(--signal); border-radius: 50%; transition: transform 350ms cubic-bezier(.16,.8,.24,1); }
.orbit-core svg { width: 23px; height: 23px; }
.hero-orbit:hover .orbit-core { transform: scale(.84) rotate(-45deg); }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.button { position: relative; isolation: isolate; overflow: hidden; }
.magnetic { translate: var(--magnetic-x, 0) var(--magnetic-y, 0); transition: translate 180ms ease-out, transform 220ms ease, background 220ms ease, color 220ms ease; }
.button::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; border-radius: 50%; background: var(--white); transform: translate(-50%, 45%) scale(.15); transition: transform 480ms cubic-bezier(.16,.8,.24,1); }
.button:hover::before { transform: translate(-50%, -50%) scale(1); }
.button-accent:hover, .button-dark:hover { color: var(--ink); }

.visual-scan { position: absolute; z-index: 3; top: 0; bottom: 0; left: -30%; width: 20%; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255,210,28,.5), transparent); transform: skewX(-15deg); pointer-events: none; }
.services-visual:hover .visual-scan { animation: visualScan 950ms ease; }
@keyframes visualScan { 0% { left: -30%; opacity: 0; } 20% { opacity: 1; } 100% { left: 120%; opacity: 0; } }

[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform 180ms ease-out; }
.project figcaption { transform: translateZ(34px); }
.project::before { content: ""; position: absolute; z-index: 2; inset: 0; opacity: 0; background: radial-gradient(380px circle at var(--tilt-x, 50%) var(--tilt-y, 50%), rgba(255,210,28,.18), transparent 60%); transition: opacity 300ms ease; pointer-events: none; }
.project:hover::before { opacity: 1; }

[data-stagger] li { opacity: 0; transform: translateY(32px); }
[data-stagger].is-visible li { animation: staggerIn 650ms cubic-bezier(.16,.8,.24,1) forwards; }
[data-stagger].is-visible li:nth-child(2) { animation-delay: 90ms; }
[data-stagger].is-visible li:nth-child(3) { animation-delay: 180ms; }
[data-stagger].is-visible li:nth-child(4) { animation-delay: 270ms; }
@keyframes staggerIn { to { opacity: 1; transform: translateY(0); } }

.process-bg { transform: scale(1.04); animation: processBreath 12s ease-in-out infinite alternate; }
@keyframes processBreath { to { transform: scale(1.1) translateX(-1.2%); } }
.process-overlay { background: linear-gradient(90deg, rgba(12,12,11,.98) 0%, rgba(12,12,11,.82) 43%, rgba(12,12,11,.22) 100%), linear-gradient(0deg, rgba(12,12,11,.94), transparent 52%); }

.kinetic-ribbon { position: absolute; z-index: 4; left: 34%; right: var(--rail-w); top: 18%; overflow: hidden; padding: 11px 0; color: var(--ink); background: var(--signal); transform: rotate(-5deg) translateX(8%); box-shadow: 0 15px 40px rgba(0,0,0,.18); pointer-events: none; }
.kinetic-ribbon span { display: block; width: max-content; font: 800 13px/1 var(--condensed); letter-spacing: .08em; white-space: nowrap; animation: ribbonMove 14s linear infinite; }
@keyframes ribbonMove { to { transform: translateX(-50%); } }

/* Last slide: strict viewport lock on desktop. */
@media (min-width: 801px) {
  .contact-panel {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    grid-template-rows: minmax(0, 1fr) 46px;
    overflow: hidden;
  }

  .contact-visual {
    align-self: stretch;
    min-height: 0;
    height: auto;
  }

  .contact-content {
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    scrollbar-width: none;
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .contact-content::-webkit-scrollbar { display: none; }

  .contact-content .kicker { margin-bottom: 13px; }
  .contact-content h2 { margin-bottom: 12px; font-size: clamp(58px, 6.3vw, 104px); line-height: .78; }
  .contact-intro { margin-bottom: 15px; line-height: 1.5; }
  .contact-form { gap: 8px 12px; }
  .contact-form label { gap: 4px; }
  .contact-form input, .contact-form select { height: 35px; }
  .contact-form textarea { min-height: 48px; max-height: 64px; padding: 7px 0; }
  .contact-form .button { min-height: 44px; }
  .form-status { min-height: 10px; }
  .contact-footer { min-height: 46px; }
}

@media (min-width: 801px) and (max-height: 780px) {
  .contact-content { padding-top: 10px; padding-bottom: 5px; }
  .contact-content .kicker { margin-bottom: 9px; }
  .contact-content h2 { font-size: clamp(52px, 5.5vw, 82px); margin-bottom: 8px; }
  .contact-intro { margin-bottom: 9px; font-size: 10px; }
  .contact-form { gap: 5px 10px; }
  .contact-form input, .contact-form select { height: 30px; }
  .contact-form textarea { min-height: 38px; max-height: 42px; }
  .contact-form .button { min-height: 38px; }
  .contact-footer { min-height: 40px; }
  .contact-panel { grid-template-rows: minmax(0, 1fr) 40px; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .header-actions { grid-column: 2; }
  .menu-toggle { grid-column: 3; }
  .hero-orbit { right: calc(var(--rail-w) + 4vw); width: 96px; height: 96px; }
  .orbit-core { inset: 18px; }
  .orbit-copy { font-size: 6px; }
}

@media (max-width: 800px) {
  .header-actions { margin-left: auto; }
  .language-switcher button { width: 27px; }
  .hero-orbit, .hero-ghost-word, .ambient-light, .cursor-dot, .cursor-ring { display: none !important; }
  .site-grain { opacity: .025; }
  .kinetic-ribbon { left: 8%; right: 0; top: 61%; }
  .contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 42px;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: var(--header-h) 0 0;
    overflow: hidden;
  }
  .contact-visual {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    opacity: .24;
  }
  .contact-visual::after { background: linear-gradient(0deg, var(--ink) 5%, rgba(17,16,14,.72) 70%, rgba(17,16,14,.55)); }
  .contact-stamp { display: none; }
  .contact-content {
    position: relative;
    z-index: 2;
    grid-row: 1;
    min-height: 0;
    padding: 16px var(--page-pad) 8px;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .contact-content::-webkit-scrollbar { display: none; }
  .contact-content .kicker { margin-bottom: 8px; }
  .contact-content h2 { margin-bottom: 8px; font-size: clamp(46px, 15vw, 64px); line-height: .78; }
  .contact-intro { margin-bottom: 10px; font-size: 10px; line-height: 1.45; }
  .contact-form { grid-template-columns: 1fr 1fr; gap: 6px 10px; max-width: none; }
  .contact-form label { grid-column: auto; gap: 3px; }
  .contact-form .form-wide { grid-column: 1 / -1; }
  .contact-form input, .contact-form select { height: 31px; }
  .contact-form textarea { min-height: 38px; max-height: 44px; padding: 5px 0; }
  .contact-form .button { min-height: 38px; margin-top: 0; }
  .form-status { min-height: 8px; }
  .contact-footer {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 2;
    min-height: 42px;
    margin: 0 var(--page-pad);
    background: var(--ink);
  }
}

@media (pointer: fine) and (min-width: 801px) {
  a, button, [data-tilt] { cursor: none; }
  .cursor-dot, .cursor-ring { position: fixed; z-index: 1100; top: 0; left: 0; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor-dot { width: 5px; height: 5px; background: var(--signal); }
  .cursor-ring { width: 34px; height: 34px; border: 1px solid rgba(255,210,28,.72); transition: width 220ms ease, height 220ms ease, background 220ms ease, border-color 220ms ease; }
  body.cursor-hover .cursor-ring { width: 58px; height: 58px; background: rgba(255,210,28,.12); border-color: var(--signal); }
}
