/* 11th Archive Media Production
   Palette: archive-box slate, label paper, brand pennant yellow. One family: Archivo (width axis).
   Layout: fixed header over a stack of full-screen media panels. */

:root {
  --box: #33424a;        /* archive box blue-grey */
  --box-deep: #24313a;
  --box-line: #4d5f69;
  --label: #e7e1d2;      /* label-stock paper */
  --muted: #a9b4b8;
  --ink: #1a2227;
  --gold: #ebb01f;       /* brand pennant yellow: the single accent */

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --t-sm: 0.875rem;
  --t-base: 1.125rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(2.25rem, 5vw, 4.5rem);
  --t-statement: clamp(2.75rem, 7.5vw, 7rem);
  --t-hero: clamp(3.5rem, 11vw, 10.5rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --pad-x: clamp(1rem, 2.4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--box-deep);
  color: var(--label);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .5rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

.h2 { font-size: var(--t-h2); font-weight: 750; font-stretch: 68%; line-height: .95; letter-spacing: -0.01em; }
.h3 { font-size: var(--t-h3); font-weight: 600; font-stretch: 85%; line-height: 1.2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 .8125rem/1 var(--font);
  letter-spacing: .02em;
  padding: .65rem .9rem;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: var(--label); }
.btn--ghost { background: rgba(36, 49, 58, .6); color: var(--label); border-color: rgba(231, 225, 210, .3); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--label); color: var(--ink); }
.btn--outline { color: var(--label); border-color: rgba(231, 225, 210, .7); background: rgba(0, 0, 0, .15); }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--label); padding: .9rem 1.4rem; font-size: 1rem; }
.btn--ink:hover { background: var(--box); }

/* ================= FIXED HEADER ================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  padding: clamp(.9rem, 1.6vw, 1.4rem) var(--pad-x);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; position: relative; }
/* once scrolled, a soft dark fade sits behind the header so it stays readable over any section */
.topbar::before {
  content: ""; position: absolute; inset: 0 0 -1rem 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 33, 39, .92) 0%, rgba(24, 33, 39, .75) 55%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  opacity: 0; transition: opacity .35s ease;
}
.topbar.is-scrolled::before { opacity: 1; }
.nav a {
  display: inline-block;
  font-size: .9375rem; font-weight: 500; line-height: 1.45;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 1px 14px rgba(0, 0, 0, .5);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .25s;
}
.nav a:hover, .nav a[aria-current="true"] { background-size: 100% 1.5px; }
.brand { justify-self: center; display: block; }
.brand img { height: clamp(4.5rem, 7vw, 6.5rem); width: auto; filter: drop-shadow(0 1px 14px rgba(0, 0, 0, .35)); transition: height .35s ease; }
.topbar.is-scrolled .brand img { height: clamp(3.25rem, 4.5vw, 4.25rem); }
.topbar__actions { justify-self: end; display: flex; gap: .4rem; }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 30;
  background: var(--box-deep);
  padding: 9rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
}
.menu[hidden] { display: none; }
.menu a { text-decoration: none; }
.menu li a { font-size: clamp(3rem, 9vw, 7rem); font-weight: 800; font-stretch: 62%; line-height: 1; text-transform: uppercase; }
.menu li a:hover { color: var(--gold); }
.menu__foot { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; color: var(--muted); line-height: 1.8; }
.menu__pennant { width: 8rem; height: auto; flex-shrink: 0; transform: rotate(-6deg); }
body.menu-open { overflow: hidden; }
body.menu-open .nav { visibility: hidden; } /* the big menu already lists these links */

/* ================= HERO SLIDER ================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden;
  background: #000;
}
/* top fade over every slide so the fixed nav and logo stay readable on bright footage */
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 28%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, transparent 100%); }
.slides, .slide, .scene { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.1s ease; }
.slide.is-active { opacity: 1; }
.slide .scene { transform: scale(1.04); transition: transform 8s ease-out; }
.slide.is-active .scene { transform: scale(1.12); }
video.scene, video.panel__media { width: 100%; height: 100%; object-fit: cover; }
/* MP4 slides get the same tint as the YouTube ones (a <video> can't carry ::after, so it sits on the text layer) */
video.scene + .slide__text { background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(0, 0, 0, .35), transparent 75%), linear-gradient(0deg, rgba(0, 0, 0, .35) 0%, transparent 18%), rgba(0, 0, 0, .18); }

/* YouTube background: scaled to cover the box like object-fit: cover, clicks pass through */
/* --ar is the picture's real shape inside YouTube's 16:9 player; 2.15 crops this video's built-in letterbox bars (use 1.78 for a video without bars) */
.scene--video { --ar: 2.15; background: #120c0b; container-type: size; overflow: hidden; }
.scene--video iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100cqw, calc(100cqh * var(--ar)));
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%) scale(1.02);
  border: 0; pointer-events: none;
}
.scene--video::after { content: ""; position: absolute; inset: 0; filter: none; border-radius: 0; background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(0, 0, 0, .35), transparent 75%), rgba(0, 0, 0, .18); }

.slide__text {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 0 var(--gutter);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.slide__title {
  font-size: var(--t-hero); font-weight: 800; font-stretch: 62%;
  line-height: .86; text-transform: uppercase; letter-spacing: -0.005em;
  max-width: 9em; text-wrap: balance;
}
.slide__sub { margin-top: 1rem; font-size: 1.0625rem; font-weight: 450; }
.slide.is-active .slide__title { animation: rise 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
.slide.is-active .slide__sub { animation: rise 1s .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

.grain {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .5) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5; mix-blend-mode: overlay;
}

/* round "next" button on the right, its ring fills with the slide timer */
.hero__next {
  position: absolute; right: clamp(1.5rem, 18vw, 18rem); top: 62%; z-index: 5;
  width: 3.5rem; height: 3.5rem; padding: 0;
  border: 0; background: none; color: var(--label); cursor: pointer;
}
.hero__next svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.hero__next .ring-bg { stroke: rgba(231, 225, 210, .25); stroke-width: 1; }
.hero__next .ring { stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: center; }
.hero__next path { stroke-width: 1.6; }
.hero__next:hover .ring-bg { stroke: var(--gold); }

.counter {
  position: absolute; left: 50%; bottom: clamp(1.25rem, 3vw, 2.25rem); transform: translateX(-50%); z-index: 5;
  display: flex; align-items: center; gap: .75rem;
  font-size: var(--t-sm); font-variant-numeric: tabular-nums;
}
.counter__track { width: clamp(4rem, 8vw, 6.5rem); height: 2px; background: rgba(231, 225, 210, .3); overflow: hidden; }
.counter__fill { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.counter__pause {
  width: 1.9rem; height: 1.9rem; margin-left: .25rem; display: grid; place-items: center;
  border: 1px solid rgba(231, 225, 210, .35); border-radius: 50%;
  background: transparent; color: var(--label); cursor: pointer;
}
.counter__pause:hover { background: var(--label); color: var(--ink); }
.counter__pause svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.counter__pause .i-play { display: none; }
.counter__pause[aria-pressed="true"] .i-pause { display: none; }
.counter__pause[aria-pressed="true"] .i-play { display: block; fill: currentColor; }

/* ================= FULL-SCREEN PANELS ================= */
.panel {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #000;
}
.panel__media { position: absolute; inset: 0; }
.panel__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
/* bright photos get a stronger tint so the white statement stays readable */
.panel.panel--photo::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 22%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.45) 100%), radial-gradient(ellipse 65% 40% at 50% 55%, rgba(0,0,0,.5), transparent 80%), rgba(0,0,0,.2); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.35) 100%); pointer-events: none; }

/* the thin divider bar with a centered label and + marks at each end */
.rule {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  margin: 0 var(--pad-x);
  padding: clamp(7.5rem, 10vw, 9rem) 0 .9rem;
  border-bottom: 1px solid rgba(231, 225, 210, .55);
  font-size: var(--t-sm);
}
.rule > span { font-size: 1.1rem; font-weight: 300; line-height: 1; opacity: .8; }
.rule__label { text-align: center; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.panel__text {
  position: relative; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center; padding: 3rem var(--gutter) 6rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.statement {
  font-size: var(--t-statement); font-weight: 800; font-stretch: 62%;
  line-height: .9; text-transform: uppercase; letter-spacing: -0.005em;
  max-width: 11em; text-wrap: balance;
}

/* detail blocks that follow each panel */
.detail { background: var(--box); padding: clamp(4rem, 8vw, 7rem) var(--gutter); }

/* ---------- placeholder footage (swap for real video/stills) ---------- */
.scene { background-size: cover; background-position: center; }
.scene::before, .scene::after { content: ""; position: absolute; filter: blur(28px); border-radius: 50%; }
.scene--harbor {
  background:
    radial-gradient(ellipse 40% 30% at 72% 28%, rgba(255, 196, 120, .85), transparent 70%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(24, 78, 84, .9), transparent 70%),
    linear-gradient(165deg, #3f5a5c 0%, #1d2d30 55%, #0e1517 100%);
}
.scene--harbor::before { width: 34%; height: 75%; left: 18%; bottom: -15%; background: #0b1214; opacity: .9; }
.scene--harbor::after { width: 18%; height: 10%; left: 60%; top: 18%; background: #ffe2b0; opacity: .7; }
.scene--mesa {
  background:
    radial-gradient(ellipse 35% 45% at 30% 40%, rgba(240, 196, 150, .65), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 60%, rgba(70, 92, 110, .9), transparent 70%),
    linear-gradient(120deg, #5a5148 0%, #2f3338 60%, #191d22 100%);
}
.scene--mesa::before { width: 22%; height: 70%; right: 18%; bottom: -12%; background: #14171b; opacity: .85; }
.scene--mesa::after { width: 30%; height: 12%; left: 5%; top: 10%; background: #f7e7cf; opacity: .5; }
.scene--desert {
  background:
    radial-gradient(ellipse 60% 25% at 50% 72%, rgba(235, 176, 31, .7), transparent 70%),
    radial-gradient(ellipse 30% 30% at 75% 22%, rgba(200, 90, 120, .55), transparent 70%),
    linear-gradient(180deg, #2a2440 0%, #5b3a4a 50%, #c47a3c 78%, #2a1c18 100%);
}
.scene--desert::before { width: 70%; height: 30%; left: 15%; bottom: -12%; background: #120c0b; opacity: .95; }
.scene--desert::after { width: 8%; height: 8%; left: 30%; top: 30%; background: #ffd9a0; opacity: .8; }
.scene--studio {
  background: radial-gradient(ellipse 30% 35% at 50% 50%, rgba(220, 205, 180, .8), transparent 70%), linear-gradient(180deg, #6b6459 0%, #3e3b36 100%);
}
.scene--studio::before { width: 20%; height: 30%; left: 40%; top: 38%; background: #8a5a3c; opacity: .9; filter: blur(14px); }
.scene--coast {
  background: radial-gradient(ellipse 80% 30% at 50% 30%, rgba(200, 225, 230, .7), transparent 70%), linear-gradient(180deg, #8fb1b8 0%, #4e7a84 45%, #24434b 100%);
}
.scene--coast::before { width: 25%; height: 60%; left: 55%; bottom: -10%; background: #1b2b2f; opacity: .8; }
.scene--night {
  background:
    radial-gradient(ellipse 12% 18% at 25% 30%, rgba(235, 176, 31, .85), transparent 70%),
    radial-gradient(ellipse 12% 18% at 70% 22%, rgba(235, 176, 31, .65), transparent 70%),
    linear-gradient(180deg, #172028 0%, #22303a 60%, #0d1216 100%);
}
.scene--night::before { width: 16%; height: 65%; left: 44%; bottom: -10%; background: #070a0c; opacity: .9; }

/* ---------- work index ---------- */
.work__body { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .work__body { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.index { width: 100%; border-collapse: collapse; }
.index th { text-align: left; font-size: var(--t-sm); font-weight: 500; color: var(--muted); padding: 0 1rem .75rem 0; border-bottom: 1px solid var(--box-line); }
.index td { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--box-line); vertical-align: baseline; font-size: 1rem; }
.index tbody tr { transition: background-color .2s; }
.index tbody tr:hover, .index tbody tr:focus-visible, .index tbody tr.is-current { background: rgba(231, 225, 210, .05); }
.index tbody tr:focus-visible { outline-offset: -2px; }
.index__no { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; width: 6.5rem; padding-left: .5rem !important; }
.index tr.is-current .index__no { color: var(--gold); }
.index__title {
  display: block; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
  font: 700 clamp(1.4rem, 2.4vw, 2rem)/1.05 var(--font); font-stretch: 72%;
}
.index__title::after { content: ""; position: absolute; inset: 0; } /* whole row is clickable */
.index tbody tr { position: relative; cursor: pointer; }
.index tbody tr:hover .index__title, .index tbody tr.is-current .index__title { color: var(--gold); }
.index tbody tr:focus-within { background: rgba(231, 225, 210, .05); }
.index__watch { width: 2.5rem; text-align: right; }
.index__watch svg { width: 14px; height: 14px; display: inline-block; fill: currentColor; opacity: .45; transition: opacity .2s, color .2s; }
.index tbody tr:hover .index__watch svg, .index tbody tr.is-current .index__watch svg { opacity: 1; color: var(--gold); }
.index__client { display: block; color: var(--muted); font-size: var(--t-sm); margin-top: .2rem; }
.col-year { font-variant-numeric: tabular-nums; }
.preview { margin: 0; position: sticky; top: 7rem; display: none; }
@media (min-width: 1000px) { .preview { display: block; } }
.preview__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: #000; }
.preview__cap { margin-top: .75rem; color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 720px) { .col-type, .col-place, .col-year { display: none; } .index__no { width: 5rem; } }

/* ---------- pop-up video player ---------- */
.player {
  width: min(92vw, 1280px); max-width: none; max-height: none; padding: 0; border: 0;
  background: transparent; color: var(--label); overflow: visible;
}
.player::backdrop { background: rgba(10, 14, 17, .92); backdrop-filter: blur(4px); }
.player__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.player__title { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; font-stretch: 75%; }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; max-height: 80vh; margin-inline: auto; }
.player__frame iframe, .player__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
body.player-open { overflow: hidden; }

/* ---------- services ---------- */
.services__list { display: grid; gap: 2.5rem clamp(2rem, 5vw, 5rem); }
@media (min-width: 800px) { .services__list { grid-template-columns: 1fr 1fr; } }
.service { padding-top: 1.25rem; border-top: 2px solid var(--label); max-width: 36rem; }
.service__name { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; font-stretch: 70%; line-height: 1; margin-bottom: 1rem; }
.service p { color: var(--muted); }

/* ---------- about ---------- */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; column-gap: clamp(3rem, 6vw, 6rem); } }
.about__body { display: grid; gap: 1.25rem; max-width: 34em; }
.about__lead { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; font-weight: 450; }
.about__body p:not(.about__lead) { color: var(--muted); }
.counties { margin: 1.25rem 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.counties li { padding: .4rem .8rem; border: 1px solid var(--box-line); border-radius: 999px; font-size: 1rem; }
.note { color: var(--muted); font-size: 1rem; }

/* ---------- BTS: photos trail the cursor ---------- */
.bts {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr;
  background: #12191d;
}
.bts__stage {
  position: relative; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 1.25rem;
  text-align: center; padding: 3rem var(--gutter) 6rem;
  pointer-events: none;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}
.bts__stage .btn { pointer-events: auto; margin-top: .75rem; }
.bts__hint { color: var(--muted); font-size: 1rem; }
.bts__trail { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.bts__shot {
  position: absolute; left: 0; top: 0;
  width: clamp(150px, 17vw, 270px); height: auto;
  border-radius: 3px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(.82);
  animation: bts-shot 1.5s cubic-bezier(.2, .7, .2, 1) forwards;
  will-change: transform, opacity;
}
@keyframes bts-shot {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(.82); }
  14%  { opacity: 1; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(1); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(.97); }
}
/* small ring-and-dot cursor, like a record light */
.bts__cursor {
  position: absolute; left: 0; top: 0; z-index: 4;
  width: 1.75rem; height: 1.75rem; margin: -.875rem 0 0 -.875rem;
  border: 1px solid rgba(231, 225, 210, .6); border-radius: 50%;
  pointer-events: none; opacity: 0; transition: opacity .2s;
}
.bts__cursor::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--gold); }
.bts.is-pointing .bts__cursor { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .bts { cursor: none; } .bts a { cursor: pointer; } }
/* the photo list is the source for the trail; it only shows as a strip when motion is reduced */
.bts__pool { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- clients marquee ---------- */
.clients { background: var(--box-deep); padding-bottom: clamp(3rem, 6vw, 5rem); }
.statement--plain { text-align: center; margin: clamp(5rem, 12vw, 10rem) auto; padding: 0 var(--gutter); }
.marquee { display: flex; overflow: hidden; border-block: 1px solid var(--box-line); }
.marquee__track { display: flex; flex-shrink: 0; animation: marquee 80s linear infinite; }
.marquee__track li {
  padding: 1.6rem clamp(1.5rem, 3vw, 2.75rem);
  border-right: 1px solid var(--box-line);
  font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; font-stretch: 75%;
  white-space: nowrap; color: var(--muted);
}
.marquee__track li.marquee__logo { display: flex; align-items: center; padding: 1.9rem clamp(2.25rem, 4vw, 3.75rem); }
.marquee__logo img { height: var(--h, 2.25rem); width: auto; max-width: none; }
/* full-color logos sit on a label-paper band so their real colors read */
.marquee--logos { background: var(--label); border-block-color: transparent; }
.marquee--logos .marquee__track li { border-right-color: rgba(26, 34, 39, .14); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- contact ---------- */
.contact { background: var(--box); padding: clamp(5rem, 10vw, 8.5rem) var(--gutter); display: grid; gap: 3rem; align-items: start; }
@media (min-width: 950px) { .contact { grid-template-columns: 1fr 1.25fr; column-gap: clamp(3rem, 6vw, 6rem); } }
.contact__intro p { color: var(--muted); margin-top: 1.25rem; max-width: 26em; }
.pennant { width: clamp(7rem, 12vw, 9.5rem); height: auto; margin-bottom: 1.5rem; transform: rotate(-6deg); transform-origin: left center; }
.card {
  background: var(--label); color: var(--ink);
  padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 4px;
  display: grid; gap: 1.4rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.card__head { display: flex; justify-content: space-between; font-size: var(--t-sm); font-weight: 600; padding-bottom: .75rem; border-bottom: 2px solid var(--ink); }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; gap: 1.4rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: var(--t-sm); font-weight: 600; }
.opt { font-weight: 400; color: #5b6468; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--font); color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid #8a8f8c; border-radius: 0; padding: .45rem 0; width: 100%;
}
.field textarea { border: 1px solid #8a8f8c; padding: .6rem; resize: vertical; border-radius: 2px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%231a2227' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 14px; padding-right: 1.5rem; }
.card :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #a3341f; }
.card .btn { justify-self: start; }
.form-error { color: #a3341f; font-size: var(--t-sm); font-weight: 600; }
.form-done { font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--box-deep); padding: clamp(4rem, 8vw, 6.5rem) var(--gutter) 2.5rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__line { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 600; font-stretch: 85%; line-height: 1.15; max-width: 16em; }
.footer__nav { display: grid; gap: .2rem; min-width: 10rem; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }
.footer__cols { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer__cols > div { border-top: 2px solid var(--box-line); padding-top: 1rem; }
.footer__cols h3 { font-size: var(--t-sm); font-weight: 500; color: var(--muted); margin-bottom: .5rem; }
.footer__cols p { font-size: 1rem; max-width: 22em; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: var(--gold); }
.footer__base { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); font-size: var(--t-sm); color: var(--muted); }
.footer__logo { height: 5.5rem; width: auto; }

/* ================= RESPONSIVE ================= */
@media (max-width: 760px) {
  .nav { display: none; }
  .topbar { grid-template-columns: auto 1fr; }
  .brand { justify-self: start; }
  .brand img, .topbar.is-scrolled .brand img { height: 3.75rem; }
  .topbar__actions .btn--solid { display: none; }
  .hero__next { right: 1.25rem; top: auto; bottom: 1.25rem; width: 2.75rem; height: 2.75rem; }
  .counter { left: 1.25rem; transform: none; }
  .rule { padding-top: 6.5rem; }
  .menu__foot { flex-direction: column-reverse; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bts__pool { position: relative; z-index: 3; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; padding: 0 var(--gutter) 4rem; }
  .bts__pool img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
  .bts__cursor, .bts__trail { display: none; }
  .bts { cursor: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .slide .scene, .slide.is-active .scene { transform: none; }
  .marquee { overflow-x: auto; }
}
