/* =========================================================================
   Fash Media v3 — "Vesper" direction
   Deep ink base, warm cream, one amber accent. No gradients.
   ========================================================================= */

:root {
  --ink:        #0E1620;
  --ink-2:      #16232F;
  --ink-3:      #1E2E3C;
  --cream:      #F4F1EA;
  --cream-dim:  #DDE4E1;
  --mist:       #A3B4C2;
  --mist-dim:   #7D8FA0;
  --amber:      #E8A33D;
  --blue:       #168BDA;

  --line:       rgba(244, 241, 234, .12);
  --line-soft:  rgba(244, 241, 234, .07);
  --card:       rgba(244, 241, 234, .04);

  --display: 'Darker Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body:    'Hanken Grotesk', 'Inter', system-ui, sans-serif;

  --r:    20px;
  --r-sm: 12px;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw:   1240px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* clip, NOT hidden — `hidden` forces overflow-y to compute to auto and
     spawns a second scrollbar over the whole page. */
  overflow-x: clip;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Selection in the accent, as the reference does */
::selection { background: var(--amber); color: #16222C; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 { font-size: clamp(56px, 10vw, 148px); font-weight: 300; }
h2 { font-size: clamp(42px, 6.4vw, 96px);  font-weight: 300; }
h3 { font-size: clamp(24px, 2.6vw, 34px);  font-weight: 500; }

p { margin: 0 0 1em; }

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

/* ---------- Shared bits ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--mist);
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }

/* Slight vertical fall plus an inner highlight, so it reads as a lit object
   rather than a flat mustard slab. */
.btn-amber {
  background: linear-gradient(180deg, #F3B559 0%, #E39C30 100%);
  color: #16222C;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 10px 24px -12px rgba(227, 156, 48, .8);
}
.btn-amber:hover {
  background: linear-gradient(180deg, #F7C170 0%, #E9A63D 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .4),
    0 14px 28px -12px rgba(227, 156, 48, .95);
}
.btn-ghost   { background: transparent; color: var(--cream); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(244,241,234,.34); background: rgba(244,241,234,.05); }
.btn-lg { padding: 17px 36px; font-size: 16px; }

.section { padding: clamp(96px, 13vw, 180px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 76px); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Word-by-word headline reveal. Scroll position lights each word from dim to
   full, left to right — so the sentence resolves as you read it. */
.reveal-words .w {
  display: inline-block;
  color: var(--mist-dim);
  opacity: .35;
  transition: color .5s ease, opacity .5s ease;
}
.reveal-words .w.is-lit { color: var(--cream); opacity: 1; }
.reveal-words.is-lit-all .w { color: var(--cream); opacity: 1; }

.btn-arrow { flex: none; transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Persistent CTA — stays with you once the hero has gone by */
.float-cta {
  position: fixed;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 34px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 999px;
  color: #16222C;
  background: linear-gradient(180deg, #F3B559 0%, #E39C30 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 14px 34px -12px rgba(0, 0, 0, .7);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.float-cta.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-cta:hover { transform: translateY(-2px); }
.float-cta svg { transition: transform .25s ease; }
.float-cta:hover svg { transform: translateX(3px); }

/* One accent word, rather than colouring a whole line */
.accent { font-style: normal; color: var(--amber); }

/* =========================================================================
   Nav — transparent, solidifies on scroll
   ========================================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .45s ease, border-color .45s ease, backdrop-filter .45s ease;
}

/* At rest there is no bar at all — just a soft scrim that fades to nothing,
   so the nav sits *on* the footage rather than cutting a band across it. */
.nav::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 190%;
  background: linear-gradient(to bottom, rgba(14, 11, 9, .8) 0%, rgba(14, 11, 9, .36) 46%, rgba(14, 11, 9, 0) 100%);
  pointer-events: none;
  transition: opacity .45s ease;
}
.nav.is-solid::before { opacity: 0; }

/* Once scrolled, a genuine glass panel — low opacity, heavy blur, and a
   hairline rather than a border. Warm charcoal rather than the page's blue
   ink, so the amber CTA and the sunset are the only colour up there. */
.nav.is-solid {
  background: rgba(26, 22, 20, .62);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: rgba(244, 241, 234, .1);
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 122px;
  transition: height .45s ease;
}
.nav.is-solid .nav-inner { height: 92px; }

/* Inline vector — sharp at any size, and the wordmark inherits `color`.
   The swoosh keeps the brand blue baked into the symbol. */
.logo-mark {
  display: block;
  height: 56px;
  width: auto;
  aspect-ratio: 93 / 67;
  color: var(--cream);
  transition: height .45s ease, opacity .25s ease;
}
.nav.is-solid .logo-mark { height: 46px; }
.nav-logo:hover .logo-mark { opacity: .8; }

.nav-links {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  display: block;
  padding: 13px 22px;
  border-radius: 999px;
  color: rgba(244, 241, 234, .74);
  transition: color .22s ease, background .22s ease;
}
.nav-links a:hover {
  color: var(--cream);
  background: rgba(244, 241, 234, .08);
}
/* A small amber tick instead of recolouring the whole label */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .22s ease, transform .22s ease;
}
.nav-links a:hover::after { opacity: 1; transform: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  margin: 3px auto;
  background: var(--cream);
}

/* =========================================================================
   The flight — scroll-scrubbed hero
   ========================================================================= */

/* Tall wrapper converts page scroll into a 0–1 progress value. The stage is
   `sticky`, not `fixed`: it releases on its own at the end of the wrapper, so
   it can never sit over the rest of the page. */
.flight-wrap {
  position: relative;
  height: 1050vh;
  background: var(--ink);
}

.flight-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  /* Never set opacity on this element — a value below 1 makes it the
     containing block for its own children and collapses the pinning.
     Fade the layers inside it individually instead. */
}

.flight-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* The camera move comes from the footage; this only adds a slow push so the
     frame is never sitting perfectly still. Driven from JS. */
  transform-origin: 52% 58%;
  will-change: transform;
}

.flight-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,22,32,.72) 0%, rgba(14,22,32,.28) 34%, rgba(14,22,32,.55) 74%, rgba(14,22,32,.92) 100%);
  pointer-events: none;
}

/* Oversized wordmark sitting behind the copy */
.flight-wordmark {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(120px, 22vw, 340px);
  line-height: .8;
  letter-spacing: -.03em;
  color: rgba(244, 241, 234, .07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.flight-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 122px;
}
.flight-overlay-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.flight-copy h1 { margin-bottom: 22px; }
.flight-tagline {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--cream-dim);
  max-width: 42ch;
  margin-bottom: 28px;
}
.flight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--mist);
}
.flight-stars { color: var(--amber); letter-spacing: 3px; }

/* Glass brief card — the analogue of Vesper's booking widget */
.brief-card {
  background: rgba(244, 241, 234, .07);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(244, 241, 234, .16);
  border-radius: var(--r);
  padding: 26px;
}
.brief-card h2 {
  font-size: 22px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.field { margin-bottom: 16px; }
.field > span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}
.field select,
.field input {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--cream);
  background: rgba(14, 22, 32, .5);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  appearance: none;
}
.field select option { background: var(--ink-2); color: var(--cream); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: rgba(232, 163, 61, .6);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 22, 32, .5);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 7px 10px;
}
.stepper button {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.stepper button:hover { border-color: var(--amber); color: var(--amber); }
.stepper output { font-size: 15px; font-weight: 600; }

.brief-note {
  font-size: 13px;
  color: var(--mist-dim);
  margin: 14px 0 0;
  text-align: center;
}

/* =========================================================================
   The showcase — project screens riding over the flight
   ========================================================================= */

.anchor-mark { position: absolute; top: 0; }

.showcase {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Title card that holds the frame before the first project */
.flight-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, 82vw);
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}
/* The brightest part of the footage is the horizon band, which is exactly
   where this copy sits — a soft radial keeps it readable without a hard box. */
.flight-title::before {
  content: '';
  position: absolute;
  inset: -14% -18%;
  background: radial-gradient(ellipse at center, rgba(14, 22, 32, .72) 0%, rgba(14, 22, 32, .45) 45%, rgba(14, 22, 32, 0) 72%);
  z-index: -1;
}
.flight-title .eyebrow { justify-content: center; }
.flight-title h2 {
  font-size: clamp(38px, 5.6vw, 78px);
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(5, 9, 13, .5);
}
.flight-title-sub {
  margin: 0 auto;
  max-width: 54ch;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--cream-dim);
  text-shadow: 0 1px 18px rgba(5, 9, 13, .7);
}

.shot {
  position: absolute;
  /* Nudged below centre so the frame always clears the fixed nav. */
  top: 54%;
  left: 50%;
  /* Screenshots are now captured at 1440x900 (2880x1800 masters), so the
     laptop can be a proper centrepiece. It was previously capped at 524px
     because the only images available were 522px wide. */
  width: min(860px, 84vw);
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  opacity: 0;
  will-change: opacity, transform;
  /* Gives the laptop inside real depth. Set here, not on the stage — the
     stage must stay a plain 2D container or the pinning misbehaves. */
  perspective: 1500px;
  perspective-origin: 50% 42%;
}

/* ---------- The laptop ----------
   A real 3D object: a lid standing up and a deck lying flat, both inside a
   preserve-3d parent that JS rotates as the project passes through frame. */

.laptop {
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(0deg);
  will-change: transform;
}

.laptop-lid {
  position: relative;
  padding: 11px 11px 20px;
  background: linear-gradient(160deg, #26333F 0%, #16232F 46%, #0F1922 100%);
  border-radius: 13px 13px 5px 5px;
  box-shadow:
    0 0 0 1px rgba(244, 241, 234, .1),
    0 34px 70px -22px rgba(0, 0, 0, .8);
  transform-style: preserve-3d;
}
/* The camera notch */
.laptop-lid::before {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: rgba(244, 241, 234, .22);
}
/* Brand strip on the chin */
.laptop-lid::after {
  content: '';
  position: absolute;
  bottom: 7px; left: 50%;
  width: 46px; height: 3px;
  margin-left: -23px;
  border-radius: 2px;
  background: rgba(244, 241, 234, .13);
}

.laptop-screen {
  border-radius: 4px;
  overflow: hidden;
  background: #05090D;
}

/* The deck. Tall, then rotated almost flat, so it foreshortens into a
   convincing keyboard base instead of a painted-on strip. */
.laptop-base {
  position: relative;
  height: 150px;
  /* Rotated elements keep their full layout box, so pull the unused height
     back or the caption ends up floating 100px below the laptop. */
  margin: 0 -34px -104px;
  transform-origin: top center;
  transform: rotateX(79deg);
  background: linear-gradient(to bottom, #33434F 0%, #1D2B37 55%, #131F29 100%);
  border-radius: 3px 3px 12px 12px;
  box-shadow: 0 0 0 1px rgba(244, 241, 234, .07);
}
.laptop-pad {
  position: absolute;
  top: 34%; left: 50%;
  width: 34%; height: 42%;
  transform: translateX(-50%);
  border-radius: 5px;
  background: rgba(5, 9, 13, .34);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .05);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 34px;
  background: rgba(14, 22, 32, .92);
  border-bottom: 1px solid rgba(244, 241, 234, .08);
}
.shot-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(244, 241, 234, .17);
  flex: none;
}
.shot-bar span {
  margin-left: 12px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.laptop-screen img {
  width: 100%;
  /* Laptop-shaped, matching the capture viewport. */
  aspect-ratio: 1440 / 900;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.shot-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  text-align: left;
  /* Sits clear of the foreshortened deck above it. */
  padding-top: 6px;
}
.shot-num {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--amber);
}
.shot-meta h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-family: var(--display);
  font-weight: 400;
  color: var(--cream);
}
.shot-meta p {
  margin: 0;
  font-size: 14px;
  color: var(--mist);
  flex: 1 1 260px;
  min-width: 0;
}

/* Progress rail — dots only, no labels */
.flight-rail {
  position: absolute;
  right: clamp(14px, 2.4vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.flight-rail i {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(244, 241, 234, .22);
  transition: background .3s ease, transform .3s ease;
}
.flight-rail i.is-on { background: var(--amber); transform: scale(1.45); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
}

/* =========================================================================
   Studio note + stats
   ========================================================================= */

.note-section { background: var(--ink); }
.note-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.note-quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--cream);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: var(--ink);
  padding: 30px 26px;
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 8px;
}
.stat span { font-size: 14px; line-height: 1.55; color: var(--mist); display: block; }

/* =========================================================================
   Work index — the full list, since the visuals live in the flight
   ========================================================================= */

.work-index {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
  border-top: 1px solid var(--line-soft);
}
.work-index li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.work-index span {
  font-family: var(--display);
  font-size: 17px;
  color: var(--amber);
}
.work-index strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.01em;
  color: var(--cream);
}
.work-index em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mist-dim);
  text-align: right;
}

/* =========================================================================
   Services — on a lighter ink panel
   ========================================================================= */

.services-section { background: var(--ink-2); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.service-list { border-top: 1px solid var(--line-soft); }
.service {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.service-num {
  font-family: var(--display);
  font-size: 20px;
  color: var(--amber);
}
.service h3 { font-size: 22px; font-family: var(--body); font-weight: 600; margin-bottom: 6px; }
.service p { color: var(--mist); font-size: 15px; margin: 0; }

.included {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 26px;
}
.included li {
  font-size: 15px;
  color: var(--cream-dim);
  padding: 9px 0 9px 24px;
  position: relative;
  break-inside: avoid;
}
.included li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(-45deg);
}

/* =========================================================================
   Gallery
   ========================================================================= */

.gallery {
  columns: 3;
  column-gap: 18px;
}
.gallery figure {
  margin: 0 0 18px;
  border-radius: var(--r);
  overflow: hidden;
  break-inside: avoid;
  background: var(--ink-2);
}
.gallery img { width: 100%; height: auto; }

/* Placeholder tiles standing in for renders not yet generated */
.placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, rgba(244,241,234,.035) 0 12px, transparent 12px 24px),
    var(--ink-3);
  border: 1px dashed var(--line);
  color: var(--mist-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

/* =========================================================================
   Reviews
   ========================================================================= */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 32px 30px;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 18px; font-size: 14px; }
.review blockquote {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream-dim);
  flex: 1;
}
.review cite { font-style: normal; }
.review cite strong { display: block; font-weight: 600; font-size: 15px; }
.review cite span { font-size: 13px; color: var(--mist-dim); }

/* =========================================================================
   Estimate panel
   ========================================================================= */

.estimate-section { background: var(--ink-2); }
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}
.estimate-panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3vw, 38px);
  background: rgba(14, 22, 32, .55);
}
.estimate-panel .field select,
.estimate-panel .field input,
.estimate-panel .stepper { background: rgba(14, 22, 32, .7); }

/* Feature chips — checkboxes wearing pills */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cream-dim);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  margin: 0;
}
.chip:hover { border-color: rgba(244, 241, 234, .28); }
.chip:has(input:checked) {
  background: rgba(232, 163, 61, .14);
  border-color: rgba(232, 163, 61, .55);
  color: var(--cream);
}
.chip:has(input:focus-visible) { outline: 2px solid rgba(232, 163, 61, .7); outline-offset: 2px; }
/* Tick appears only once selected */
.chip::before {
  content: '';
  width: 0; height: 5px;
  border-left: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(-45deg) scale(0);
  transition: width .2s ease, transform .2s ease;
}
.chip:has(input:checked)::before { width: 9px; transform: rotate(-45deg) scale(1); }

/* The brief, read back — this replaces the old price readout */
.brief-summary {
  margin: 28px 0 0;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  background: rgba(232, 163, 61, .07);
  border: 1px solid rgba(232, 163, 61, .22);
}
.brief-summary-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.brief-summary p {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.25;
  color: var(--cream);
}

.brief-details {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.brief-details .field > span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mist-dim);
}
.estimate-panel textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--cream);
  background: rgba(14, 22, 32, .7);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  resize: vertical;
}
.estimate-panel textarea:focus { outline: none; border-color: rgba(232, 163, 61, .6); }
/* Honeypot — off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  min-height: 0;
}
.form-status:empty { display: none; }
.form-status.is-ok    { color: var(--amber); }
.form-status.is-error { color: #F08A6B; }

.btn[disabled] { opacity: .65; cursor: default; transform: none; }

.estimate-panel .btn { width: 100%; margin-top: 22px; }
.estimate-panel .brief-note { margin-top: 14px; }

.rate-note { font-size: 14px; color: var(--mist-dim); margin-top: 16px; }

/* =========================================================================
   Contact
   ========================================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
}
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 36px 0 30px;
}
.office h3 { font-size: 16px; font-family: var(--body); font-weight: 600; margin-bottom: 8px; }
.office p { color: var(--mist); font-size: 15px; margin: 0; }
.office p a { color: var(--cream-dim); border-bottom: 1px solid rgba(232,163,61,.35); transition: color .2s ease; }
.office p a:hover { color: var(--amber); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.contact-direct a {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  border-bottom: 1px solid rgba(232, 163, 61, .4);
  transition: color .25s ease;
}
.contact-direct a:hover { color: var(--amber); }

.contact-form { display: grid; gap: 16px; }
.contact-form label > span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--cream);
  background: rgba(244, 241, 234, .04);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 15px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: rgba(232,163,61,.6); }

/* =========================================================================
   Marquee band — type knocked out of the skyline
   ========================================================================= */

.marquee-band {
  overflow: hidden;
  padding: clamp(48px, 8vw, 110px) 0;
  background: var(--ink);
}

.marquee-track {
  display: flex;
  align-items: baseline;
  gap: .28em;
  white-space: nowrap;
  width: max-content;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(72px, 13vw, 200px);
  line-height: .95;
  letter-spacing: -.02em;
  will-change: transform;
}

/* The city shows through the letterforms — the counters of the O, D and g
   fill with skyline rather than the type sitting flatly on top of it. */
.marquee-track span {
  /* The wash lifts the footage so the words stay readable; without it the
     knockout is atmospheric but too dark to read at a glance. */
  background-image:
    linear-gradient(rgba(244, 241, 234, .26), rgba(244, 241, 234, .26)),
    url('../media/video/hero-poster.jpg');
  /* Aimed at the horizon band — the sunset and the lit city. Sampling the
     upper sky just fills the counters with flat murk. */
  background-size: 175vw auto;
  background-position: center 66%;
  background-repeat: repeat-x;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.marquee-track i {
  font-style: normal;
  color: var(--amber);
  opacity: .8;
}

/* Where the knockout is unsupported, the words simply read in cream. */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .marquee-track span { color: var(--cream); -webkit-text-fill-color: currentColor; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { transform: none !important; }
}

/* =========================================================================
   Closing film + footer
   ========================================================================= */

.closing-film {
  position: relative;
  height: 62vh;
  min-height: 380px;
  overflow: hidden;
  background: var(--ink-2);
}
.closing-film .film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closing-film .film-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,22,32,.55), rgba(14,22,32,.95));
}
.film-sub {
  max-width: 46ch;
  margin: 20px auto 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--cream-dim);
  text-shadow: 0 1px 18px rgba(5, 9, 13, .7);
}

.closing-film .film-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gutter);
}

.site-footer { background: var(--ink); padding: clamp(60px, 8vw, 96px) 0 0; }
.footer-top {
  display: grid;
  /* Brand, then three link columns — Site, Contact, Areas we cover. */
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-top .logo-mark { height: 52px; margin-bottom: 22px; }
.footer-top p { color: var(--mist); font-size: 15px; }
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist-dim);
  margin: 0 0 16px;
}
.footer-col a { display: block; font-size: 15px; color: var(--cream-dim); padding: 5px 0; }
.footer-col a:hover { color: var(--amber); }

.footer-wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(80px, 19vw, 280px);
  line-height: .78;
  letter-spacing: -.03em;
  color: rgba(244, 241, 234, .06);
  text-align: center;
  user-select: none;
  padding-bottom: 10px;
}
.footer-legal a {
  color: var(--mist-dim);
  transition: color .2s ease;
}
.footer-legal a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--mist-dim);
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .flight-overlay-inner { grid-template-columns: 1fr; align-content: center; }
  .brief-card { max-width: 460px; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 112px; left: var(--gutter); right: var(--gutter);
    flex-direction: column;
    gap: 4px;
    background: rgba(26, 22, 20, .95);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px 0; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }

  .note-grid, .services-grid, .estimate-grid, .contact-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .work-index li { grid-template-columns: 40px 1fr; }
  .work-index em { grid-column: 2; text-align: left; }
  .shot { width: 88vw; }
  .shot-meta p { display: none; }
  .gallery { columns: 1; }
  .included { columns: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-top > div:first-child { grid-column: 1 / -1; }

  /* --- The mobile hero has to fit inside one 100vh sticky stage. ---
     Everything below is about making the headline, tagline, meta and brief
     card add up to less than the viewport, so nothing slides under the nav. */

  /* A 122px bar eats a sixth of a phone screen. */
  .nav-inner { height: 78px; }
  .nav.is-solid .nav-inner { height: 66px; }
  .logo-mark { height: 40px; }
  .nav.is-solid .logo-mark { height: 36px; }
  .nav-links { top: 72px; }

  .flight-overlay {
    align-items: center;
    padding-top: 86px;
    padding-bottom: 20px;
  }
  .flight-overlay-inner { gap: 20px; }

  .flight-copy h1 {
    font-size: clamp(38px, 11vw, 58px);
    margin-bottom: 14px;
  }
  .flight-copy .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .flight-tagline {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .flight-meta { font-size: 13px; gap: 8px; }

  /* Trim the card rather than let it push the headline off screen. */
  .brief-card { padding: 18px; max-width: none; }
  .brief-card h2 { font-size: 19px; margin-bottom: 14px; }
  .brief-card .field { margin-bottom: 11px; }
  .brief-card .field > span { margin-bottom: 5px; font-size: 10px; }
  .brief-card select,
  .brief-card input { padding: 11px 12px; font-size: 14px; }
  .brief-card .stepper { padding: 4px 8px; }
  .brief-card .stepper button { width: 30px; height: 30px; }
  .brief-card .btn { padding: 14px 24px; }
  .brief-note { font-size: 12px; margin-top: 10px; }

  /* Shorter flight on small screens — less scrolling to get through it */
  .flight-wrap { height: 780vh; }
  .flight-rail { display: none; }
  .scroll-hint { display: none; }

  /* The persistent CTA would sit on top of the card on a phone. */
  .float-cta { font-size: 14px; padding: 12px 20px; }
}

/* Short phones in landscape, or small devices — drop the least essential
   line rather than let the headline clip. */
@media (max-width: 860px) and (max-height: 700px) {
  .flight-tagline { display: none; }
  .flight-copy h1 { font-size: clamp(32px, 9vw, 44px); }
}

@media (max-width: 560px) {
  .offices { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  /* Collapse the flight to a single static screen */
  .flight-wrap { height: 100vh; }
}


/* =========================================================================
   Showreel — every client site, drifting with scroll
   ========================================================================= */

.reel-section { padding-bottom: clamp(72px, 9vw, 120px); }

.reel {
  overflow: hidden;
  padding: 4px 0 8px;
}
.reel-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.reel figure {
  margin: 0;
  width: 260px;
  flex: none;
}
.reel img {
  width: 100%;
  aspect-ratio: 1440 / 900;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .4s ease;
}
.reel figure:hover img {
  transform: translateY(-4px);
  border-color: rgba(232, 163, 61, .5);
}
.reel figcaption {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .reel figure { width: 190px; }
  .reel-track { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .reel-track { transform: none !important; }
}

/* =========================================================================
   Local landing pages
   ========================================================================= */

.subpage { padding-top: 0; }

.page-hero {
  position: relative;
  padding: clamp(150px, 20vh, 230px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
  background: var(--ink);
}
/* Real photography of the actual town, held well back so the type stays
   readable. The image is used unmodified — see the credit line. */
.page-hero-media {
  position: absolute;
  inset: 0;
  background-image: var(--local-img);
  background-size: cover;
  background-position: center 58%;
  opacity: .5;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,22,32,.86) 0%, rgba(14,22,32,.62) 45%, rgba(14,22,32,.95) 100%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(46px, 8vw, 108px);
  margin-bottom: 26px;
  text-shadow: 0 2px 40px rgba(5, 9, 13, .6);
}
.page-lede {
  max-width: 56ch;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--cream-dim);
  margin-bottom: 32px;
  text-shadow: 0 1px 20px rgba(5, 9, 13, .7);
}
.page-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Attribution. CC BY-SA requires it, and it doubles as proof the photo is
   genuinely of the place. */
.photo-credit {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 10px;
  margin: 0;
  font-size: 11px;
  color: var(--mist-dim);
  opacity: .7;
  /* Left, not right — the floating CTA sits bottom-right. */
  max-width: min(52ch, 55vw);
  text-align: left;
}
.photo-credit a { text-decoration: underline; }
.photo-credit a:hover { color: var(--amber); }

.local-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.local-grid .lede { margin-bottom: 22px; }
.local-proof {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  background: rgba(232, 163, 61, .07);
  border: 1px solid rgba(232, 163, 61, .22);
  font-size: 16px;
  color: var(--cream-dim);
}

.local-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 34px);
  background: var(--card);
}
.local-card h2 {
  font-size: 26px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.local-card p { color: var(--mist); font-size: 15px; }
.local-stat {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.local-stat strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: 1;
  color: var(--amber);
  margin-bottom: 8px;
}
.local-stat span { font-size: 14px; color: var(--mist); }
.local-card .contact-direct a { font-size: clamp(20px, 2vw, 26px); }
.local-card .offices { grid-template-columns: 1fr; gap: 18px; }

.area-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.area-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.area-links a:hover {
  border-color: rgba(232, 163, 61, .45);
  background: rgba(244, 241, 234, .03);
  transform: translateY(-2px);
}
.area-links span { font-family: var(--display); font-size: 24px; color: var(--cream); }
.area-links em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--mist-dim);
}

@media (max-width: 860px) {
  .local-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 130px; }
  .photo-credit { position: static; text-align: left; padding: 12px var(--gutter) 0; max-width: none; }
}

/* ---------- Legal / privacy ---------- */

.legal-hero {
  padding: 160px 0 40px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-hero h1 {
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 300;
  margin: 12px 0 18px;
}

.legal-hero .page-lede {
  max-width: 42rem;
  color: var(--mist);
  font-size: 18px;
}

.legal-hero .page-lede a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose {
  max-width: 42rem;
  padding-bottom: 40px;
}

.legal-prose h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  margin: 2.4em 0 0.55em;
  color: var(--cream);
}

.legal-prose h2:first-child { margin-top: 0; }

.legal-prose h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 1.6em 0 0.45em;
  color: var(--cream);
}

.legal-prose p,
.legal-prose li {
  color: var(--mist);
  font-size: 16px;
  line-height: 1.7;
}

.legal-prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

.legal-prose li { margin: 0.35em 0; }

.legal-prose a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose a:hover { color: var(--amber); }

@media (max-width: 860px) {
  .legal-hero { padding-top: 120px; }
}
