/* Neff portfolio — palette & type taken from the Figma deck */
:root {
  --ink: #1f1f1f;        /* deck canvas */
  --slate: #454545;      /* deck panels */
  --slate-2: #3a3a3a;
  --black: #000;
  --paper: #ffffff;
  --grid: #cfe0e9;       /* graph-paper lines */
  --red: #d90000;        /* sampled from PORTFOLIO wordmark */
  --red-hi: #f01414;
  --fg: #f4f4f2;
  --muted: #a9a9a6;
  --line: rgba(255,255,255,.12);

  --display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-io: cubic-bezier(.76,0,.24,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; margin: 0; }

.paper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 34px 34px;
  background-position: -1px -1px;
  color: #111;
}

.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--display); text-decoration: none; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); }
.btn--dark { background: #111; color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.3); background: transparent; color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.link-btn {
  background: none; border: 0; padding: 6px 0; font: 600 15px var(--display); letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg); position: relative;
}
.link-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.link-btn:hover::after { transform: scaleX(.3); }
.link-btn .count { color: var(--muted); font-weight: 500; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; font-size: 18px; transition: background .25s, border-color .25s; }
.round-btn:hover { background: #fff; color: #111; border-color: #fff; }

/* ---------- loader ---------- */
.loader { display: none; }
.loader.is-on {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 100;
  background: var(--black);
}
.loader__mark { width: min(56vw, 420px); clip-path: inset(0 100% 0 0); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background-color .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav__logo { display: block; width: 92px; position: relative; flex: none; }
.nav__logo img { width: 100%; transition: opacity .3s; }
.nav__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font: 500 14px var(--display); color: #111; opacity: .75; transition: opacity .2s, color .3s; }
.nav__links a:hover { opacity: 1; }
.nav__burger { display: none; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.nav.is-dark { background: rgba(20,20,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-dark .logo-light { opacity: 1; }
.nav.is-dark .logo-dark { opacity: 0; }
.nav.is-dark .nav__links a { color: #fff; }
.nav.is-hidden { transform: translateY(-100%); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49; background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gut);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 800 clamp(36px, 10vw, 56px)/1.15 var(--display); text-decoration: none; color: #fff; text-transform: uppercase; }
.mobile-menu a.red { color: var(--red); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative; display: grid; place-items: center;
  padding: 110px var(--gut) 90px; overflow: hidden;
}
.hero__inner { width: 100%; max-width: 1100px; display: grid; justify-items: center; gap: 26px; text-align: center; }
.hero__title { width: min(100%, 980px); overflow: hidden; padding-bottom: .5%; }
.hero__portfolio { width: 100%; height: auto; }
.hero__role { margin: 0; font: 700 clamp(14px, 1.6vw, 18px) var(--display); letter-spacing: .04em; text-transform: uppercase; color: #111; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }
.hero__camera {
  position: absolute; right: clamp(12px, 5vw, 80px); bottom: clamp(64px, 9vh, 96px);
  width: clamp(104px, 15vw, 210px); height: auto; mix-blend-mode: multiply; pointer-events: none;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -10px; rotate: 2deg; } }
.noscript { margin: 0; padding: 90px var(--gut) 24px; background: #111; color: #fff; text-align: center; font: 500 15px/1.5 var(--body); }
/* pause / play for the page's continuous animations */
.motion-btn {
  width: 30px; height: 30px; padding: 0; border-radius: 50%; display: inline-grid; place-items: center;
  background: transparent; border: 1px solid currentColor; color: inherit; font-size: 9px; line-height: 1; opacity: .75;
  transition: opacity .2s;
}
.motion-btn:hover { opacity: 1; }
.hero__foot .motion-btn { margin: 0 auto 0 16px; }
.motion-btn--contact { position: absolute; right: var(--gut); top: 18px; color: #fff; z-index: 2; }
.contact { position: relative; }
.motion-paused .hero__camera, .motion-paused .hero__scroll i::after, .motion-paused .chint { animation-play-state: paused; }
.hero__foot {
  position: absolute; left: var(--gut); right: var(--gut); bottom: 26px;
  display: flex; justify-content: space-between; align-items: center;
  font: 600 12px var(--display); letter-spacing: .12em; text-transform: uppercase; color: #111;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 36px; background: #111; position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--red); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- about ---------- */
.about__top { padding: 120px var(--gut) 0; overflow: hidden; }
.about__cols {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: end; gap: 24px;
}
.about__portrait { position: relative; }
.about__portrait img { width: 100%; height: auto; position: relative; z-index: 1; }
.about__arc { position: absolute; left: -6%; right: -6%; top: -10%; width: 112%; z-index: 2; overflow: visible; pointer-events: none; }
.about__arc text { font: 800 64px var(--display); fill: #111; letter-spacing: .01em; }
.about__list { padding-bottom: 48px; }
.about__list h3 { font: 800 clamp(18px, 2vw, 24px) var(--display); color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.about__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 600 15px var(--display); color: #111; }
.about__list--right { text-align: right; }
.about__bio { background: var(--slate); padding: clamp(48px, 8vw, 96px) var(--gut); }
.bio { max-width: 980px; margin: 0 auto; text-align: center; font: 600 clamp(19px, 2.4vw, 30px)/1.45 var(--display); color: #fff; }
.bio .w { opacity: .22; transition: none; }

/* ---------- works / portraits ---------- */
.works { padding: clamp(80px, 10vw, 140px) var(--gut); max-width: calc(var(--max) + 2*var(--gut)); margin: 0 auto; }
.works__head { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); text-align: center; }
.section-title {
  font: 800 clamp(30px, 5.4vw, 64px)/1.05 var(--display); text-transform: uppercase; color: #fff;
  position: relative; padding-bottom: 18px;
}
.section-title[data-underline]::after {
  content: ""; position: absolute; left: -3%; right: -3%; bottom: 0; height: 3px; background: var(--red);
  transform: scaleX(var(--u, 1)); transform-origin: left;
}
.masonry { columns: 4 240px; column-gap: 12px; }
/* portraits: full-width carousel with hairline gaps */
.works__head { position: relative; }
.works__nav { position: absolute; right: 0; bottom: 6px; display: flex; gap: 10px; }
.ptrack {
  display: flex; gap: 3px; overflow-x: auto; width: 100vw; margin-left: calc(50% - 50vw); padding: 0 var(--gut);
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.ptrack::-webkit-scrollbar { display: none; }
.ptrack.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ptrack.is-dragging .tile { pointer-events: none; }
.ptrack .tile { margin: 0; flex: none; width: auto; height: clamp(360px, 52vw, 620px); border-radius: 0; scroll-snap-align: start; }
.ptrack .tile img { height: 100%; width: auto; max-width: none; }
.tile {
  display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: #2a2a2a;
  overflow: hidden; position: relative; break-inside: avoid; border-radius: 2px;
}
.tile img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.tile::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .35s var(--ease); pointer-events: none; }
.tile:hover img { transform: scale(1.05); }
.tile:hover::after { box-shadow: inset 0 0 0 3px var(--red); }
.works__more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- automobile ---------- */
.auto { background: var(--ink); }
.auto__pin { height: 100svh; display: grid; place-items: center; overflow: hidden; }
.auto__frame {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.auto__frame img { width: 100%; height: 100%; object-fit: cover; }
.auto__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.auto__title {
  position: absolute; left: var(--gut); bottom: clamp(28px, 6vw, 70px);
  font: 800 clamp(34px, 6.4vw, 92px)/1 var(--display); text-transform: uppercase; color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,.35);
}
.auto__client {
  position: absolute; right: var(--gut); bottom: clamp(32px, 6vw, 78px);
  font: 600 clamp(13px, 1.3vw, 18px) var(--display); color: #fff;
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 8px 16px; backdrop-filter: blur(6px);
}
.auto__body { padding: clamp(70px, 9vw, 120px) var(--gut) 0; max-width: calc(var(--max) + 2*var(--gut)); margin: 0 auto; }
.auto__body--others { padding-bottom: clamp(80px, 10vw, 140px); }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.block-title { font: 800 clamp(24px, 3.4vw, 40px)/1.1 var(--display); margin-top: 10px; }
/* interiors: an even box, every row the same height */
.igrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.igrid .tile { margin: 0; aspect-ratio: 3/2; }
.igrid .tile img { width: 100%; height: 100%; object-fit: cover; }

.hscroll { padding-top: clamp(70px, 9vw, 120px); overflow: hidden; }
.hscroll__head { padding: 0 var(--gut); max-width: calc(var(--max) + 2*var(--gut)); width: 100%; margin: 0 auto 26px; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.hscroll__track { display: flex; gap: 12px; padding: 0 var(--gut); width: max-content; }
.hscroll__track .tile { margin: 0; width: auto; flex: none; height: clamp(210px, 56vw, 400px); }
.hscroll__track .tile img { height: 100%; width: auto; max-width: none; }
.hscroll__bar { margin: 22px var(--gut) 0; height: 2px; background: var(--line); max-width: var(--max); }
.hscroll__bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.hscroll:not(.is-native) { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 0; }
.hscroll:not(.is-native) .hscroll__track .tile { height: min(62svh, max(35vw, 240px)); }
.hscroll.is-native { overflow: visible; }
.hscroll.is-native .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.hscroll.is-native .hscroll__track::-webkit-scrollbar { display: none; }
.hscroll.is-native .hscroll__track .tile { scroll-snap-align: start; }

/* personal shoots: swipeable carousel */
.auto__body--others { padding-bottom: 0; }
.film__nav { display: flex; gap: 10px; }
.film { margin-bottom: clamp(80px, 10vw, 140px); }
.film__track {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gut);
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gut); scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.film__track::-webkit-scrollbar { display: none; }
.film__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.film__track.is-dragging .tile { pointer-events: none; }
.film__track .tile { margin: 0; flex: none; width: auto; height: clamp(240px, 34vw, 440px); scroll-snap-align: start; }
.film__track .tile img { height: 100%; width: auto; max-width: none; }

/* ---------- creative design split ---------- */
.split { display: grid; grid-template-rows: auto auto; overflow: hidden; }
.split > div { display: grid; place-items: center; padding: clamp(40px, 7vw, 90px) var(--gut); }
.split__top { background: #fff; }
.split__bot { background: var(--slate); }
.split h2 { font: 800 clamp(56px, 13vw, 190px)/.95 var(--display); color: var(--red); text-transform: uppercase; letter-spacing: -.01em; }

/* ---------- campaigns ---------- */
.campaigns { background: #fff; color: #111; padding: clamp(70px, 9vw, 120px) var(--gut); }
.campaigns__title { text-align: center; font: 700 clamp(26px, 3.6vw, 44px) var(--display); margin-bottom: clamp(30px, 5vw, 56px); }
.campaigns__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); perspective: 1200px; }
.case { background: none; border: 0; padding: 0; text-align: left; color: #111; display: grid; gap: 18px; }
.case__img { overflow: hidden; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.14); transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.case__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 1s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case:hover .case__img { box-shadow: 0 28px 60px rgba(0,0,0,.22); }
.case__meta { display: grid; gap: 4px; }
.case__tag { font: 600 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.case__title { font: 600 clamp(16px, 1.6vw, 20px) var(--display); }

/* ---------- posters ---------- */
.posters { background: var(--slate); padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.posters__head { position: relative; display: grid; justify-items: center; padding: 0 var(--gut); margin-bottom: 40px; }
.section-title--center { text-align: center; padding-bottom: 0; }
.posters__nav { position: absolute; right: var(--gut); top: 50%; translate: 0 -50%; display: flex; gap: 10px; }
.posters__track {
  display: flex; gap: 16px; overflow-x: auto; padding: 10px var(--gut) 20px;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
}
.posters__track::-webkit-scrollbar { display: none; }
.posters__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.posters__track.is-dragging .tile { pointer-events: none; }
.posters__track .tile { margin: 0; flex: none; height: clamp(360px, 52vw, 620px); width: auto; scroll-snap-align: center; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.posters__track .tile img { height: 100%; width: auto; max-width: none; }
.link-btn--light { color: #fff; }

/* ---------- carousel "more this way" arrow ---------- */
.cwrap { position: relative; }
.chint {
  position: absolute; right: 10px; top: 50%; z-index: 3; width: 26px; height: 26px; margin-top: -13px; padding: 0;
  display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: nudge 1.6s ease-in-out infinite; transition: opacity .3s;
}
.chint svg { width: 11px; height: 11px; }
.chint.is-off { opacity: 0; pointer-events: none; }
.chint--prev { right: auto; left: 10px; animation-name: nudge-back; }
.chint--prev svg { transform: scaleX(-1); }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes nudge-back { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }

/* ---------- video ---------- */
.video { background: var(--ink); padding: clamp(80px, 10vw, 140px) var(--gut); }
.video__head { max-width: var(--max); margin: 0 auto 40px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.video__title { font: 800 clamp(40px, 8vw, 110px)/.95 var(--display); text-transform: uppercase; }
.video__head p { max-width: 36ch; color: var(--muted); margin: 0; }
/* 20 columns: landscape videos sit 2 per row, vertical ones 5 per row, so every row ends flush */
.video__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(20, 1fr); gap: 12px; }
.vcard {
  position: relative; overflow: hidden; border: 0; padding: 0; background: #111; border-radius: 4px; text-align: left; color: #fff;
  grid-column: span 10; aspect-ratio: 16/9;
}
.vcard--port { grid-column: span 4; aspect-ratio: 9/14; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1s var(--ease), opacity .4s; }
.vcard::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.85)), radial-gradient(120% 80% at 80% 0%, rgba(217,0,0,.22), transparent 60%); }
.vcard:hover img { transform: scale(1.05); opacity: .95; }
.vcard__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; translate: -50% -50%;
  border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.vcard__play::after { content: ""; margin-left: 4px; border-left: 15px solid #fff; border-block: 9px solid transparent; }
.vcard:hover .vcard__play { transform: scale(1.12); background: var(--red); border-color: var(--red); }
.vcard__meta { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.vcard__meta b { font: 700 clamp(15px, 1.5vw, 20px)/1.2 var(--display); }
.vcard__meta span { font: 500 12px var(--body); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- contact ---------- */
.contact { background: var(--black); padding-top: clamp(60px, 8vw, 110px); overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__inner { display: inline-flex; will-change: transform; }
.marquee span { font: 800 clamp(60px, 12vw, 180px)/1 var(--display); color: var(--red); text-transform: uppercase; padding-right: 6vw; }
.contact__wrap {
  max-width: var(--max); margin: clamp(40px, 6vw, 80px) auto 0; padding: 0 var(--gut) clamp(60px, 8vw, 100px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(32px, 6vw, 90px);
}
.contact__lede { font: 600 clamp(20px, 2.2vw, 28px)/1.35 var(--display); margin: 0 0 36px; }
.contact__direct h3 { font: 800 clamp(22px, 2.6vw, 32px) var(--display); text-transform: uppercase; margin-bottom: 14px; }
.direct-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 16px var(--display);
}
.direct-row span { display: inline-flex; align-items: center; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.direct-row svg { width: 20px; height: 20px; flex: none; }
.direct-row em { font-style: normal; font-size: 13px; color: var(--muted); transition: color .2s; white-space: nowrap; }
a.direct-row:hover em { color: var(--red-hi); }
.copy-btn { background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 14px; font: 600 12px var(--display); transition: background .25s, border-color .25s; }
.copy-btn.is-done { background: #1e7f3b; border-color: #1e7f3b; }

.brief { display: grid; gap: 18px; min-width: 0; }
.brief__services { border: 0; margin: 0; padding: 0; min-width: 0; }
.brief legend { font: 700 18px var(--display); margin-bottom: 14px; padding: 0; }
.brief legend small { font: 400 13px var(--body); color: var(--muted); margin-left: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  font: 500 14px var(--display); transition: background .2s, border-color .2s, color .2s; user-select: none;
}
.chip input:hover + span { border-color: #fff; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font: 600 13px var(--display); color: #ddd; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: #111; border: 1px solid #333; border-radius: 6px; color: #fff;
  padding: 13px 14px; font: 400 15px var(--body); transition: border-color .2s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-hi); }
.field .is-invalid, .is-invalid { border-color: var(--red-hi) !important; }
.hp { position: absolute; left: -9999px; }
.brief__error { margin: 0; color: #ff6b6b; font-size: 14px; }
.brief__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.brief__done { background: #12301c; border: 1px solid #1e7f3b; border-radius: 6px; padding: 16px 18px; }
.brief.is-sent .brief__services, .brief.is-sent .brief__row, .brief.is-sent .field, .brief.is-sent .brief__actions { display: none; }

.foot {
  border-top: 1px solid var(--line); padding: 26px var(--gut); display: flex; gap: 16px; align-items: center;
  justify-content: space-between; flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.foot__logo { width: 76px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  background: var(--red); color: #fff; text-decoration: none; padding: 14px 22px; border-radius: 999px;
  font: 600 14px var(--display); box-shadow: 0 12px 30px rgba(217,0,0,.35);
  transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .4s, background .2s;
}
.float-cta.is-on { transform: none; opacity: 1; }
.float-cta:hover { background: var(--red-hi); }

/* ---------- lightbox ---------- */
.lb, .vp { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; }
.lb[hidden], .vp[hidden] { display: none; }
.lb__bg, .vp__bg { position: absolute; inset: 0; background: rgba(8,8,8,.94); }
.lb__stage { position: relative; width: min(92vw, 1400px); height: min(84svh, 1000px); display: grid; place-items: center; touch-action: pan-y; }
.lb__stage img { max-width: min(92vw, 1400px); max-height: min(84svh, 1000px); width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none; }
.lb__cta { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 40px; }
.lb__cta h3 { font: 800 clamp(32px, 5vw, 64px)/1.05 var(--display); text-transform: uppercase; }
.lb__cta h3 em { font-style: normal; color: var(--red); }
.lb__cta p { color: var(--muted); margin: 0; max-width: 40ch; }
.lb__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); font-size: 16px; z-index: 2; }
.lb__close:hover { background: #fff; color: #111; }
.lb__arrow { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); font-size: 18px; }
.lb__arrow:hover { background: #fff; color: #111; }
.lb__arrow--prev { left: max(16px, 2vw); }
.lb__arrow--next { right: max(16px, 2vw); }
.lb__count { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font: 500 13px var(--body); letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }

.vp__box { position: relative; width: min(92vw, 1200px); aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vp__box.is-port { width: auto; height: min(82svh, 900px); aspect-ratio: 9/16; }
.vp__box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; transform-origin: 0 0; }
.vp__meta { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; justify-content: center; gap: 20px; font: 600 14px var(--display); flex-wrap: wrap; padding: 0 16px; }
.vp__meta a { color: var(--muted); font-weight: 500; }
.vp > .lb__close { z-index: 3; }
/* phones and tablets: the player fills the whole screen, nothing overlapping Drive's own controls */
.vp--full { background: #000; }
.vp--full .vp__box, .vp--full .vp__box.is-port { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.vp--full .vp__meta { display: none; }
.vp--full > .lb__close { right: auto; left: max(12px, env(safe-area-inset-left)); top: max(12px, env(safe-area-inset-top)); width: 40px; height: 40px; background: rgba(0,0,0,.6); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; gap: 6px; margin-left: auto; width: 44px; height: 44px; place-content: center; background: none; border: 0; position: relative; z-index: 51; }
  .nav__burger span { width: 24px; height: 2px; background: #111; transition: transform .3s, background .3s; }
  .nav.is-dark .nav__burger span, .nav.menu-open .nav__burger span { background: #fff; }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav.menu-open .logo-light { opacity: 1; } .nav.menu-open .logo-dark { opacity: 0; }

  .about__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 44%) minmax(0, 1fr); gap: 12px; }
  .about__list { padding-bottom: 28px; }
  .about__list ul { font-size: 13px; }
  .about__top { padding-top: 130px; }
  .igrid { grid-template-columns: repeat(2, 1fr); }
  .film__nav { display: none; }
  .campaigns__grid, .contact__wrap { grid-template-columns: 1fr; }
  .vcard { grid-column: span 20; }
  .vcard--port { grid-column: span 4; }
  .posters__nav, .works__nav { display: none; }
}
@media (max-width: 600px) {
  .masonry { columns: 2; column-gap: 8px; }
  .igrid { gap: 3px; }
  /* phone: client tag sits small, under the automobile title */
  .auto__title { bottom: 68px; }
  .auto__client { left: var(--gut); right: auto; bottom: 26px; font-size: 11px; padding: 5px 11px; }
  /* phone: vertical videos as a row of 2 then a row of 3 */
  .video__grid { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .vcard { grid-column: span 6; }
  .vcard--port { grid-column: span 3; aspect-ratio: auto; height: 62vw; }
  .vcard--port:nth-child(n+7) { grid-column: span 2; height: 58vw; }
  .vcard--port .vcard__play { width: 44px; height: 44px; }
  .vcard--port .vcard__meta { left: 10px; right: 10px; bottom: 10px; }
  .tile { margin-bottom: 8px; }
  .brief__row { grid-template-columns: 1fr; }
  .about__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 48%) minmax(0, 1fr); gap: 4px; }
  .about__list { padding-bottom: 14px; }
  .about__list h3 { font-size: 13px; margin-bottom: 6px; }
  .about__list ul { font-size: 10.5px; line-height: 1.3; gap: 3px; }
  .about__top { padding-top: 120px; }
  .hero__foot span:first-child { display: none; }
  .hero__foot { justify-content: center; }
  .hero__foot .motion-btn { margin: 0 16px 0 0; }
  .about__arc text { font-size: 72px; }
  .lb__arrow { display: none; }
  .float-cta { padding: 12px 18px; font-size: 13px; }
}

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