/* =========================================================
   EtchWork Studios — design system
   All-sans grotesque · warm paper / ink / one dusty accent
   Restrained scale · etched hairline framing
   ========================================================= */

/* ---- Fonts ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Tokens --------------------------------------------------------- */
:root {
  --paper:      #FFFFFF;   /* white background            */
  --paper-2:    #F3F4F6;   /* light panel                 */
  --ink:        #101010;   /* bold black linework          */
  --ink-soft:   #565656;   /* muted secondary text        */
  --line:       rgba(16, 16, 16, 0.22);
  --line-soft:  rgba(16, 16, 16, 0.10);

  /* bold primary palette (à la the reference) */
  --blue:       #2D5BE3;
  --green:      #00A86B;
  --purple:     #7A3AA8;
  --orange:     #E8802B;
  /* soft tints */
  --blue-50:    #DCE6FF;
  --green-50:   #D3EFE2;
  --purple-50:  #EEE2FA;
  --orange-50:  #FBE6D1;

  --accent:     var(--blue);   /* default accent          */
  --accent-ink: #1E44C0;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  /* restrained type scale */
  --fs-hero:  clamp(2.1rem, 5.2vw, 3.6rem);
  --fs-h2:    clamp(1.5rem, 3vw, 2.1rem);
  --fs-h3:    1.15rem;
  --fs-body:  1rem;
  --fs-small: 0.84rem;
  --fs-micro: 0.72rem;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---- Shared bits ---------------------------------------------------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.num {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: var(--accent);
}

.link-quiet { /* clean solid underline */
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--ink);
  transition: color .2s ease, border-color .2s ease;
}
.link-quiet:hover { color: var(--accent-ink); border-color: var(--accent); }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 0.72rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .1s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* etched hairline rule with a centred chevron — the "etch" motif */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.etch {
  width: 100%;
  height: 36px;
  display: block;
  color: var(--ink);             /* engraved chevron lines (set of incised strokes) */
}

/* ---- Header / nav --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark__word { position: relative; display: inline-block; padding-bottom: 0.3em; }
.wordmark__word b { font-weight: 800; color: var(--blue); }
.wordmark__line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 0.3em; display: block; }
.wordmark__div { width: 1.5px; height: 1.35em; background: var(--ink); opacity: .9; }
.wordmark__studios {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.5em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 0.1em;
}
.site-footer .wordmark { font-size: 1.15rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav a {
  font-size: var(--fs-small);
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { padding-bottom: 4px; border-bottom: 2px solid var(--accent); }
.nav__cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.4rem; color: var(--ink); line-height: 1; padding: 0.2rem;
}

/* ---- Hero ----------------------------------------------------------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 5vw, 4rem); align-items: end;
}
.hero h1 { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin: 1.25rem 0 1.75rem; color: var(--ink-soft); max-width: 34ch; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
/* small graphic under "craft", at the paragraph's level */
.hero > .container { position: relative; }
.hero__text { max-width: 620px; position: relative; z-index: 2; }
.hero__art { position: absolute; z-index: 1; width: 165px; height: auto; left: 54%; top: 48%; margin: 0; }
.hero__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.hero__media iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 100%; width: auto; min-width: 100%; aspect-ratio: 16 / 9; border: 0;
}

/* ---- TV reel (about) ------------------------------------------------- */
.tv-section { padding-top: 0; }
.tv-stage { display: flex; justify-content: center; }

/* About hero: intro text on the left, TV on the right */
.about-hero { display: grid; grid-template-columns: 1fr minmax(220px, 290px); gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.about-hero__tv { display: flex; justify-content: center; }
.about-hero__tv .tv { width: 100%; max-width: 290px; }
@media (max-width: 760px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__tv { margin-top: 1.75rem; }
  .about-hero__tv .tv { max-width: min(280px, 76vw); }
}
.tv { position: relative; width: min(340px, 80vw); }
.tv__img { display: block; width: 100%; height: auto; position: relative; z-index: 2; pointer-events: none; }
.tv__screen {
  position: absolute; z-index: 1; overflow: hidden; background: #000;
  left: 4.8%; top: 25.3%; width: 62.7%; height: 54.7%;
}
.tv__screen iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 100%; width: auto; min-width: 100%; aspect-ratio: 16 / 9; border: 0;
  opacity: 0; transition: opacity .28s ease;
}
.tv__screen iframe.is-live { opacity: 1; }
.tv__chan {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 12% 14%; opacity: 0; transition: opacity .28s ease; background: #fff;
}
.tv__chan.is-live { opacity: 1; }
.tv__chan img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  transform: perspective(300px) rotateY(-18deg) rotate(2.5deg);
  transform-origin: center;
}
/* compact / near-square logos take a gentler tilt and a touch smaller so the right edge isn't overblown */
.tv__chan--compact img { transform: perspective(520px) rotateY(-12deg) rotate(2.5deg) scale(.86); }
.tv__snow {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  width: 100%; height: 100%; opacity: 0; transition: opacity .05s linear;
  image-rendering: pixelated;
}
.tv__snow.is-on { opacity: 1; }

/* ---- Sections ------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2.25rem; }
.section__head h2 { font-size: var(--fs-h2); font-weight: 500; }
.lead { font-size: 1.08rem; max-width: 60ch; color: var(--ink); }

/* numbered editorial list (services overview) */
.numlist { display: grid; gap: 0; }
.numlist__row {
  display: grid; grid-template-columns: 3rem 1fr auto; gap: 1.25rem;
  align-items: baseline; padding: 1.4rem 0; border-top: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.numlist__row:last-child { border-bottom: 1px solid var(--line); }
.numlist__row h3 { font-size: var(--fs-h3); font-weight: 500; }
.numlist__row p { margin: 0.25rem 0 0; color: var(--ink-soft); font-size: var(--fs-small); }
.numlist__row .arr { font-family: var(--font-display); color: var(--ink-soft); transition: transform .2s ease, color .2s ease; }
.numlist__row:hover .arr { transform: translateX(4px); color: var(--accent); }

/* ---- Placeholders (illustration + film still) ----------------------- */
/* Images float frameless and integrate with the text (like the reference). */
.ph {
  --c: var(--blue);
  position: relative; border-radius: 3px;
  display: grid; place-content: center; text-align: center;
  color: var(--ink-soft);
}
/* placeholder state only — a faint dashed guide that disappears once real art replaces it */
.ph:has(.ph__label) {
  background: color-mix(in srgb, var(--c) 8%, transparent);
  outline: 1.5px dashed color-mix(in srgb, var(--c) 55%, var(--ink));
  outline-offset: -3px;
}
.ph__label {
  font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
/* real art: its own shape, soft corners, no box around it */
img.ph { width: 100%; height: auto; display: block; border-radius: 10px; }
.ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* placeholder guide colours still cycle with the palette */
.work-grid .work-item:nth-child(4n+1) .ph { --c: var(--blue); }
.work-grid .work-item:nth-child(4n+2) .ph { --c: var(--green); }
.work-grid .work-item:nth-child(4n+3) .ph { --c: var(--purple); }
.work-grid .work-item:nth-child(4n+4) .ph { --c: var(--orange); }
.svc:nth-of-type(3n+1) .ph { --c: var(--blue); }
.svc:nth-of-type(3n+2) .ph { --c: var(--green); }
.svc:nth-of-type(3n+3) .ph { --c: var(--purple); }
.ph--port { --c: var(--purple); }
.ph--hero  { aspect-ratio: 4 / 5; }
.ph--wide  { aspect-ratio: 16 / 10; }
.ph--still { aspect-ratio: 3 / 2; }
.ph--port  { aspect-ratio: 4 / 5; }
.ph--mark  { aspect-ratio: 1 / 1; max-width: 120px; }

/* ---- Work index ----------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 2.75rem); }
/* single-column index (Work page) — alternating image / text rows */
.work-grid--rows { grid-template-columns: 1fr; gap: clamp(3rem, 7vw, 5.5rem); max-width: 1080px; }
.work-grid--rows .work-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.work-grid--rows .work-item .ph { margin-bottom: 0; }
.work-grid--rows .work-item__text .work-cap { margin-top: 0.6rem; }
/* flip every other row so the text alternates sides */
.work-grid--rows .work-item:nth-child(even) .work-item__media { order: 2; }
.work-item { text-decoration: none; color: var(--ink); display: block; }
.work-item .ph { margin-bottom: 0.9rem; transition: transform .25s ease; }
.work-item:hover .ph { transform: translateY(-3px); }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.work-meta h3 { font-size: var(--fs-h3); font-weight: 500; }
.work-meta .yr { font-size: var(--fs-small); color: var(--ink-soft); font-family: var(--font-display); }
.work-cap { margin: 0.3rem 0 0; font-size: var(--fs-small); color: var(--ink-soft); }
.work-tag { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
/* portfolio row text */
.work-item__text .work-tag { display: inline-block; margin-bottom: 0.5rem; }
.work-item__text h3 { font-size: var(--fs-h3); font-weight: 500; }
.work-line { font-family: var(--font-display); font-size: var(--fs-small); color: var(--ink-soft); margin: 0.4rem 0 0.7rem; }
.work-line .award { color: var(--accent); }
.work-item__text .work-cap { margin: 0 0 0.9rem; }
.work-item__text .link-quiet { font-size: var(--fs-small); }
/* tags follow the card colors */
.work-grid .work-item:nth-child(4n+1) .work-tag { color: var(--blue); }
.work-grid .work-item:nth-child(4n+2) .work-tag { color: var(--green); }
.work-grid .work-item:nth-child(4n+3) .work-tag { color: var(--purple); }
.work-grid .work-item:nth-child(4n+4) .work-tag { color: var(--orange); }
/* numbered list on the home page cycles colors */
.numlist__row:nth-child(1) .num,
.numlist__row:nth-child(1):hover .arr { color: var(--blue); }
.numlist__row:nth-child(2) .num,
.numlist__row:nth-child(2):hover .arr { color: var(--green); }
.numlist__row:nth-child(3) .num,
.numlist__row:nth-child(3):hover .arr { color: var(--purple); }

/* ---- Pull quote ----------------------------------------------------- */
.pquote { /* subtle engraved cross-hatch shading behind the quote */
  padding: clamp(3rem, 8vw, 6rem) 0; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(20,19,15,0.045) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(-45deg, rgba(20,19,15,0.03) 0 1px, transparent 1px 10px);
}
.pquote__text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.25; letter-spacing: -0.01em;
  max-width: 22ch; margin: 0 auto; text-wrap: balance;
}
.pquote__cite { margin-top: 1.25rem; color: var(--ink-soft); font-size: var(--fs-small); }

/* ---- Services detail ------------------------------------------------ */
.svc { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; padding: clamp(2.5rem,6vw,4.5rem) 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc__num { font-family: var(--font-display); color: var(--accent); font-size: var(--fs-small); letter-spacing: 0.08em; }
.svc:nth-of-type(3n+1) .svc__num { color: var(--blue); }
.svc:nth-of-type(3n+2) .svc__num { color: var(--green); }
.svc:nth-of-type(3n+3) .svc__num { color: var(--purple); }
.svc h2 { font-size: var(--fs-h2); font-weight: 500; margin: 0.4rem 0 0.9rem; }
.svc p { color: var(--ink); max-width: 46ch; }
.svc ul { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.svc li { padding: 0.6rem 0; border-top: 1px solid var(--line-soft); font-size: var(--fs-small); color: var(--ink-soft); }

/* ---- About ---------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem,5vw,4rem); align-items: start; }
.prose p { max-width: 60ch; margin: 0 0 1.1rem; }
.values { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.values span { font-family: var(--font-display); font-size: var(--fs-small); letter-spacing: 0.02em; }
.values span::before { content: "— "; color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stat .figure { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; }
.stat .label { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- Contact / forms ------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,5vw,4rem); align-items: start; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
.field label { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 0.55rem 0; border-radius: 0; transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 90px; }
.contact-aside p { color: var(--ink-soft); }
.contact-aside a { color: var(--ink); }

/* ---- CTA band ------------------------------------------------------- */
.cta-band { text-align: center; padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.cta-band h2 { font-size: var(--fs-h2); font-weight: 500; margin-bottom: 1.5rem; }

/* ---- Logos strip ---------------------------------------------------- */
.logos { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.logos__label { text-align: center; font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1.9rem; }
.logos__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.75rem 2rem; align-items: center; justify-items: center; }
.logo-slot { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; line-height: 1.15; color: var(--ink); opacity: 0.5; text-align: center; }
img.logo-slot { max-height: 40px; max-width: 100%; width: auto; height: auto; opacity: 0.55; filter: grayscale(1); }
.logos__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.75rem, 5vw, 3.5rem); }
.logos__line img.logo-slot { max-height: 34px; max-width: 160px; }
.logos__sep { text-align: center; color: var(--ink-soft); font-size: 1.6rem; line-height: 1; opacity: 0.45; margin: 1.15rem 0; }
@media (max-width: 820px) { .logos__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; } }
@media (max-width: 460px) { .logos__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Footer --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; margin-top: 2rem; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--ink-soft); font-size: var(--fs-small); }
.site-footer a:hover { color: var(--ink); }
.footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.colophon { font-size: var(--fs-micro); color: var(--ink-soft); margin-top: 1.5rem; letter-spacing: 0.02em; }

/* ---- About intro ---------------------------------------------------- */
.about-intro { max-width: 720px; }
.about-intro h1 { font-size: var(--fs-hero); font-weight: 400; margin: 0.5rem 0 1.1rem; }

/* ---- Credibility strip ---------------------------------------------- */
.creds { text-align: center; padding: clamp(1.75rem, 4vw, 3rem) 0; }
.creds__line {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1rem, 2.2vw, 1.4rem); letter-spacing: 0.01em; margin: 0;
}
.creds__line strong { font-weight: 500; }
.creds__awards {
  margin: 0.7rem 0 0; font-size: var(--fs-micro); letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---- Top video bar (homepage marquee, ~1in tall) ------------------- */
.video-bar { width: 100%; height: 96px; overflow: hidden; background: var(--ink); perspective: 1400px; }
.video-bar__flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.4s cubic-bezier(.6,.02,.2,1); }
.video-bar.is-flipped .video-bar__flip { transform: rotateX(180deg); }
.video-bar__front, .video-bar__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* jade colour wash over the video strip */
.video-bar__front::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--accent); opacity: 0.45; }
.video-bar__back { transform: rotateX(180deg); background: var(--ink); color: var(--paper); display: grid; place-content: center; }
.video-bar__back .brand { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.08em; font-size: clamp(0.95rem, 2.4vw, 1.4rem); }
.video-bar__back .brand span { color: var(--accent); }
.video-bar__track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 100%; }
.video-bar__cell { position: relative; overflow: hidden; height: 100%; }
.video-bar__cell iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(var(--zoom, 1.5));   /* oversize: punch in; per-tile via --zoom */
  height: 100%; width: auto; min-width: 100%; aspect-ratio: 16 / 9; border: 0;
}
@media (max-width: 640px) { .video-bar { height: 68px; } }

/* ---- Video wall (About) — one row of tall, sandwiched teasers ------- */
.video-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0;
  border-radius: 6px; overflow: hidden;
}
.tile {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  background: var(--paper-2);
}
/* oversize the iframe to a 16:9 box that fills the tile height, cropping the sides */
.tile iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  height: 100%; width: auto; min-width: 100%; aspect-ratio: 16 / 9;
  border: 0; display: block;
}
.tile video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; display: block;
}
.tile--ph {
  display: grid; place-content: center; gap: 0.45rem; color: var(--ink-soft);
  background:
    repeating-linear-gradient(45deg, rgba(20,19,15,0.045) 0 1px, transparent 1px 8px),
    var(--paper-2);
  outline: 1px solid var(--line-soft); outline-offset: -1px;
}
.tile__play { font-size: 1.05rem; color: var(--accent); line-height: 1; }
.tile__label { font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; }
/* narrow screens: keep one row, scroll it horizontally like a filmstrip */
@media (max-width: 900px) {
  .video-grid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .tile { flex: 0 0 clamp(130px, 34%, 220px); scroll-snap-align: start; }
}
/* after ~30s the reel fades to a brand card (click to replay) */
.video-wall { position: relative; }
.video-wall__card {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; text-align: center;
  background: var(--ink); color: var(--paper); border-radius: 6px;
  opacity: 0; visibility: hidden; cursor: pointer;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
}
.video-wall.is-ended .video-wall__card { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.video-wall__card .brand {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.6rem); letter-spacing: 0.04em; margin: 0;
}
.video-wall__card .brand span { color: var(--accent); }
.video-wall__card .replay {
  margin: 0.9rem 0 0; font-size: var(--fs-micro); letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.6;
}

/* fourth arena colour in the numbered list */
.numlist__row:nth-child(4) .num { color: var(--orange); }

/* ---- Motion (subtle) ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 820px) {
  .hero__grid, .work-grid, .svc, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { white-space: normal; }
  .hero__art { position: static; width: 150px; left: auto; top: auto; margin: 1.25rem 0 0; }
  .work-grid--rows .work-item { grid-template-columns: 1fr; gap: 1.1rem; }
  .work-grid--rows .work-item:nth-child(even) .work-item__media { order: 0; }
  .hero__grid { align-items: start; }
  .ph--hero, .hero__media { aspect-ratio: 16 / 10; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1.25rem var(--gutter) 1.75rem;
  }
  .nav-toggle { display: block; }
  .nav__cta { margin-left: 0; }
}
