/* ═══════════════════════════════════════════════════════════════
   NIGHT DRIVE DIGITAL  v2  "Poster theatre"
   Lead ref: Flayks (cut up poster lettering, tiny tracked narration,
   outlined information, monumental contact close).
   Second ref: Symbol Audio (bold statements, ruled spec rows).
   Palette is Night Drive's own: oxblood canvas, Night Drive pink for
   poster type and actions, the main site's lilac for chapters/outlines.
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #2B0812;   /* oxblood: main field */
  --show:   #181212;   /* warm charcoal: the work showcase */
  --pink:   #ED33B9;   /* poster lettering, actions, focus */
  --lilac:  #CBC5EA;   /* chapter words, outlines, labels */
  --cream:  #FFE6D8;   /* body text */
  --cream-dim: rgba(255,230,216,0.62);
  --rule:   rgba(255,230,216,0.24);

  --t-poster: 'Anton', Impact, 'Helvetica Neue', Arial, sans-serif;
  --t-sans:   'Jost', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 4.4vw, 64px);
  --edge:   clamp(10px, 1vw, 16px);
  --ease: cubic-bezier(.165,.84,.44,1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--canvas); color: var(--cream); font-family: var(--t-sans); font-size: 17px; line-height: 1.45; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 1px dashed var(--pink); outline-offset: 4px; }
::selection { background: var(--pink); color: var(--canvas); }

.wrap { padding-inline: var(--gutter); }

/* tiny tracked narration */
.caption { font-family: var(--t-sans); font-size: 13px; font-weight: 400; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; }
/* bold statement (Symbol) */
.statement { font-family: var(--t-sans); font-weight: 700; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.2; letter-spacing: -0.02em; }
.ulink { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* ── poster lettering ─────────────────────────────────────────── */
.poster, .chapter, .closing {
  font-family: var(--t-poster); font-weight: 400; text-transform: uppercase;
  line-height: 0.86; letter-spacing: 0;
  padding-inline: var(--edge);
}
.poster  { color: var(--pink);  font-size: clamp(64px, 17.4vw, 300px); }
.chapter { color: var(--lilac); font-size: clamp(88px, 24vw, 400px); line-height: 0.8; }
.closing { color: var(--pink);  font-size: clamp(80px, 21vw, 360px); line-height: 0.82; }
.row { display: flex; white-space: nowrap; }
.r-left  { justify-content: flex-start; }
.r-right { justify-content: flex-end; }
.r-split { justify-content: space-between; gap: .25em; }
.lean { display: inline-block; transform: skewX(-13deg) rotate(-3deg); transform-origin: 50% 80%; }

/* outlined stamp action */
.stamp {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 4px 18px 0;
  border: 1px solid var(--pink); border-radius: 6px; color: var(--pink);
  font-family: var(--t-poster); font-size: 24px; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.stamp:hover, .stamp:focus-visible { background: var(--pink); color: var(--canvas); }
.stamp-sm { height: 36px; font-size: 18px; padding: 3px 14px 0; }
.stamp-fill { background: var(--pink); color: var(--canvas); }
.stamp-fill:hover, .stamp-fill:focus-visible { background: transparent; color: var(--pink); }

/* ═══ HEADER ═══ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 60px; padding-inline: var(--gutter);
  background: rgba(43,8,18,0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.hdr-brand { font-family: var(--t-poster); font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--pink); padding-top: 2px; }
/* neon script: used only three times (logo, Custom price, sign off) */
.neon, .hdr-brand .script {
  font-family: 'Yellowtail', cursive; font-weight: 400; text-transform: none; letter-spacing: 0;
  display: inline-block; transform: rotate(-4deg);
  color: #F4FBFF;
  text-shadow: 0 0 .03em rgba(255,255,255,.9), 0 0 .12em rgba(110,190,255,.9), 0 0 .3em rgba(60,140,255,.7), 0 0 .6em rgba(40,110,255,.45);
}
.hdr-brand .script { font-size: 30px; line-height: 1; margin-left: -5px; transform: translateY(-2px) rotate(-4deg);
  text-shadow: 0 0 2px rgba(255,255,255,.9), 0 0 8px rgba(110,190,255,.9), 0 0 18px rgba(60,140,255,.75), 0 0 34px rgba(40,110,255,.5); }
.amt.neon { font-family: 'Yellowtail', cursive; color: #F4FBFF; line-height: 1; padding: 0 .08em; transform: rotate(-4deg) translateY(.04em); }
.signoff {
  margin-top: clamp(96px, 12vw, 200px); text-align: center; white-space: nowrap;
  font-family: var(--t-poster); text-transform: uppercase; color: var(--pink);
  font-size: clamp(40px, 9.5vw, 150px); line-height: 1;
}
.signoff .neon { font-size: 1.12em; margin-left: -.26em; transform: translateY(-.05em) rotate(-4deg); }
.hdr-nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.hdr-nav a:hover { color: var(--pink); }

/* ═══ HERO ═══ */
.hero { position: relative; padding-top: clamp(24px, 3vw, 48px); }
.poster .row:nth-child(2) { margin-top: -0.04em; }
.deck {
  position: absolute; z-index: 2; pointer-events: none;
  left: clamp(16px, 12vw, 220px); top: 61vw;
  width: clamp(130px, 16vw, 290px); aspect-ratio: 9 / 16;
}
.card {
  position: absolute; inset: 0; overflow: hidden; border-radius: 10px; background: #111;
  box-shadow: 0 62px 25px rgba(0,0,0,.02), 0 35px 21px rgba(0,0,0,.12), 0 16px 16px rgba(0,0,0,.2), 0 4px 9px rgba(0,0,0,.25);
}
.card img, .card iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.card iframe { opacity: 0; transition: opacity .8s var(--ease); }
.card iframe.on { opacity: 1; }
.c1 { transform: translate(-46%, 6%) rotate(-12deg); }
.c2 { transform: translate(44%, -2%) rotate(9deg); }
.c3 { transform: rotate(-3deg); }

.hero-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
  margin-top: clamp(40px, 6vw, 96px);
  padding-left: max(var(--gutter), 40%);
  min-height: 22vw;
}
.hero-intro .statement { max-width: 24ch; }

.rail {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(56px, 7vw, 112px); padding-block: 18px;
  border-top: 1px solid var(--rule);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-dim);
}
.rail > a { color: var(--pink); }
.rail > a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); margin-right: 8px; vertical-align: 1px; animation: pulse 4s cubic-bezier(.76,0,.24,1) infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ═══ WORK ═══ */
.work { padding-top: clamp(80px, 10vw, 180px); }
.showcase { background: var(--show); padding-block: clamp(56px, 6vw, 96px) clamp(80px, 9vw, 140px); }
.work-hint { color: var(--cream-dim); margin-bottom: clamp(32px, 4vw, 56px); }
.clients { display: grid; gap: clamp(72px, 9vw, 140px); }
.client-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: end;
  margin-bottom: 24px;
}
.client-name { font-family: var(--t-poster); font-weight: 400; text-transform: uppercase; color: var(--lilac); font-size: clamp(44px, 6.5vw, 96px); line-height: .88; letter-spacing: .01em; }
.client-note { grid-column: 1 / -1; font-weight: 700; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.015em; max-width: 34ch; }
.client-count { grid-column: 2; grid-row: 1; color: var(--lilac); padding-bottom: .5em; }
.reel-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.reel-btn { display: block; width: 100%; text-align: left; }
.reel-media { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #0c0c0c; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); }
.reel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel-btn:hover .reel-media img { transform: scale(1.04); }
.reel-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-play {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--t-poster); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; line-height: 1;
  padding: 7px 10px 4px; border: 1px solid var(--pink); border-radius: 6px; color: var(--pink); background: rgba(24,18,18,.7);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.reel-btn:hover .reel-play, .reel-btn:focus-visible .reel-play { background: var(--pink); color: var(--show); }
.reel.playing .reel-play { display: none; }
.reel-meta { margin-top: 12px; }
.reel-client { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--lilac); }
.reel-title { font-size: 15px; color: var(--cream); }
.reel-rt { font-size: 12px; letter-spacing: .1em; color: var(--cream-dim); margin-top: 4px; }

/* ═══ SERVICES ═══ */
.services { padding-top: clamp(96px, 12vw, 200px); padding-bottom: clamp(96px, 10vw, 160px); }
.svc-notes { display: grid; gap: 14px; justify-items: end; text-align: right; margin: clamp(24px, 3vw, 40px) 0 clamp(40px, 5vw, 72px); }
.svc-notes .caption { color: var(--cream-dim); }
.svc-rule { color: var(--pink); max-width: 22ch; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier {
  display: flex; flex-direction: column; gap: 22px;
  border: 1px solid var(--lilac); border-radius: 6px;
  padding: clamp(20px, 2vw, 28px);
}
.tier-n { color: var(--lilac); margin-bottom: 10px; }
.tier-name { font-family: var(--t-poster); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 3.2vw, 48px); line-height: .9; letter-spacing: .02em; color: var(--lilac); min-height: 1.8em; }
.tier-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.amt { font-family: var(--t-poster); font-size: clamp(64px, 6.6vw, 104px); line-height: .85; color: var(--cream); }
.tier-price .caption { color: var(--cream-dim); }
.spec { list-style: none; flex: 1; border-bottom: 1px solid var(--rule); align-self: stretch; }
.spec li { padding: 9px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.35; }
.tier .stamp { align-self: flex-start; }
.tier-feature { background: var(--pink); border-color: var(--pink); color: var(--canvas); }
.tier-feature .tier-n, .tier-feature .tier-name, .tier-feature .amt { color: var(--canvas); }
.tier-feature .tier-price .caption { color: rgba(43,8,18,.7); }
.tier-feature .spec, .tier-feature .spec li { border-color: rgba(43,8,18,.28); }
.tier-feature .stamp-fill { background: var(--canvas); border-color: var(--canvas); color: var(--pink); }
.tier-feature .stamp-fill:hover, .tier-feature .stamp-fill:focus-visible { background: transparent; color: var(--canvas); }
.tier-feature :focus-visible { outline-color: var(--canvas); }

/* ═══ PEDIGREE ═══ */
.pedigree { padding-block: clamp(72px, 9vw, 140px); border-top: 1px solid var(--rule); }
.ped-head .caption { color: var(--lilac); margin-bottom: 14px; }
.ped-h { font-family: var(--t-poster); font-weight: 400; text-transform: uppercase; color: var(--cream); font-size: clamp(48px, 7vw, 112px); line-height: .88; max-width: 12ch; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 88px); }
.metric { font-family: var(--t-poster); font-size: clamp(72px, 8vw, 128px); line-height: .85; color: var(--pink); }
.metric span { font-size: .55em; vertical-align: .55em; margin-left: .04em; }
.metrics dd { margin-top: 12px; color: var(--cream); max-width: 22ch; }
.ped-copy { margin-top: clamp(48px, 6vw, 80px); max-width: 52ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--cream-dim); margin-left: auto; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; height: 48px; padding: 2px 18px 0; border: 1px solid var(--lilac); border-radius: 6px; color: var(--lilac); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.ped-link { text-align: right; margin-top: 24px; color: var(--cream-dim); }
.ped-link a:hover { color: var(--pink); }

/* ═══ PROCESS ═══ */
.process { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(96px, 12vw, 200px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.steps li {
  display: flex; flex-direction: column; gap: 14px;
  min-height: 300px; padding: 18px 20px 22px;
  border: 1px solid var(--lilac); border-radius: 6px;
}
.step-n { font-family: var(--t-poster); font-size: 56px; line-height: .9; color: var(--lilac); }
.step-h { margin-top: auto; font-family: var(--t-poster); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 3.4vw, 52px); line-height: .9; color: var(--pink); letter-spacing: .02em; }
.steps li p:last-child { font-size: 16px; color: var(--cream); max-width: 34ch; }

/* ═══ APPLY ═══ */
.apply { padding-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--rule); }
.apply-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(40px, 5vw, 80px); align-items: start; }
.apply-intro { display: grid; gap: 28px; position: sticky; top: 90px; }
.apply-intro .statement { max-width: 22ch; }
.plaque {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  padding: 22px 22px 18px; border-radius: 10px; color: var(--lilac);
  box-shadow: inset 0 0 0 1px var(--lilac), 6px 6px 0 -1px var(--canvas), 6px 6px 0 0 var(--lilac);
  transition: background .5s var(--ease), color .5s var(--ease);
}
.plaque-addr { font-family: var(--t-poster); font-size: clamp(26px, 2.6vw, 40px); line-height: 1; text-transform: lowercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.plaque:hover, .plaque:focus-visible { background: var(--lilac); color: var(--canvas); }
.based { color: var(--cream-dim); }

.form { display: grid; gap: 18px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field > .caption, .field legend { color: var(--lilac); }
/* lilac input wells, same lilac as the email plaque */
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--t-sans); font-weight: 500; font-size: 17px; letter-spacing: 0; color: var(--canvas);
  background: var(--lilac); border: 2px solid var(--lilac); border-radius: 6px;
  padding: 12px 14px; appearance: none; -webkit-appearance: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--canvas) 50%), linear-gradient(135deg, var(--canvas) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select:invalid { color: rgba(43,8,18,.5); }
.field select option { color: #000; font-weight: 400; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { background-color: #D9D4F0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); background-color: #E4E0F5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(43,8,18,.45); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--pink); }
.choice legend { margin-bottom: 10px; }
.opt { font-style: normal; color: var(--cream-dim); margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-flex; height: 48px; align-items: center; padding: 2px 18px 0; border: 1px solid var(--lilac); border-radius: 6px; color: var(--lilac); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; transition: background .3s var(--ease), color .3s var(--ease); }
.opts input:checked + span { background: var(--lilac); color: var(--canvas); }
.opts input:focus-visible + span { outline: 1px dashed var(--pink); outline-offset: 3px; }
/* choice options as type, not boxes: dim until chosen, chosen goes pink and underlined */
.choice .opts { gap: 10px 32px; }
.choice .opts span {
  height: auto; padding: 4px 0 6px; border: 0; border-radius: 0; background: none;
  font-family: var(--t-poster); font-size: clamp(26px, 2.2vw, 34px); line-height: 1; letter-spacing: .01em; text-transform: uppercase;
  color: rgba(255,230,216,.55);
  text-decoration: underline 3px transparent; text-underline-offset: 8px;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.choice .opts label:hover span { color: var(--cream); }
.choice .opts input:checked + span { color: var(--pink); background: none; text-decoration-color: var(--pink); }
.choice.invalid .opts span { color: rgba(237,51,185,.6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: 15px; color: var(--cream-dim); }
.form-status.ok { color: var(--lilac); }
.form-status.err { color: var(--pink); }

.foot { margin-top: clamp(48px, 6vw, 96px); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--cream-dim); }
.foot-links a:hover { color: var(--pink); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .tiers, .steps { grid-template-columns: 1fr; }
  .tier-name { min-height: 0; }
  .steps li { min-height: 220px; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply-intro { position: static; }
  .hero-intro { padding-left: var(--gutter); grid-template-columns: 1fr; justify-items: start; }
  .deck { position: relative; top: auto; left: auto; margin: 40px auto 0; width: clamp(140px, 36vw, 240px); }
}
@media (max-width: 720px) {
  .poster { line-height: .94; }
  .hdr-nav { display: none; }
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
  .f2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .chips, .svc-notes { justify-content: flex-start; justify-items: start; text-align: left; }
  .ped-link { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
