/* ============================================================
   iora Ai Studio site — original implementation.
   Retro camcorder / VHS rental-store design language.
   ============================================================ */

:root {
  --bg: #0a0907;
  --bg2: #0c0a08;
  --ink: #ede7da;
  --ink-dim: #8f8b80;
  --ink-faint: rgba(237, 231, 218, 0.34);
  --lux: #ffd700; /* luminous luxury gold — one step above the founder-photo yellow (#f6d700) */
  --rec: #ff3b30; /* record-light red — ONLY for REC/recording dots and errors */
  --cyan: #ffd700; /* was blue — repointed to luxury gold per Sam (no blue anywhere) */
  --gold: #f97316; /* brand accent — iORA Digital orange (was VHS yellow) */
  --paper: #efe9da;
  --line: rgba(237, 231, 218, 0.14);
  --mono: "Share Tech Mono", monospace;
  --disp: "Anton", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(255, 215, 0, 0.4) #0a0907; }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: #0a0907; }
html::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, 0.35); border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: rgba(255, 215, 0, 0.6); }
::selection { background: var(--lux); color: #191309; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
.mono { font-family: var(--mono); }

/* editorial lead paragraphs — condensed technical sans (Agency-FB feel),
   used for the hero sub, showreel lede and founder bio */
.sub, .reel-lede, .team-copy p {
  font-family: "Saira Semi Condensed", "Archivo", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.006em;
}
.sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.5; }
.reel-lede, .team-copy p { font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.56; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
section { position: relative; padding: clamp(4rem, 9vw, 8rem) var(--pad); }

/* ---------- boot-up loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: #060504;
  display: grid; place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.loader.done { opacity: 0; visibility: hidden; }
.ld-inner { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.ld-mark img { width: 3.4rem; height: 3.4rem; object-fit: contain; animation: ldpulse 1.2s ease-in-out infinite; }
@keyframes ldpulse { 50% { transform: scale(1.06); opacity: 0.85; } }
.ld-name {
  font-family: var(--disp); font-size: 1.5rem; letter-spacing: 0.12em; color: var(--ink);
  animation: ldglitch 1.1s steps(2) infinite;
}
@keyframes ldglitch {
  0%, 100% { text-shadow: -2px 0 rgba(249, 115, 22, 0.7), 2px 0 rgba(255, 215, 0, 0.6); }
  50% { text-shadow: 2px 0 rgba(249, 115, 22, 0.7), -2px 0 rgba(255, 215, 0, 0.6); }
}
.ld-osd { display: flex; align-items: center; font-size: 0.68rem; letter-spacing: 0.22em; color: var(--ink-dim); }
.ld-rec { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--rec); margin-right: 0.5rem; animation: blink 0.9s steps(1) infinite; }
.ld-bar { width: min(240px, 60vw); height: 3px; background: rgba(237, 231, 218, 0.12); overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 0; background: var(--gold); animation: ldfill 2.2s cubic-bezier(0.3, 0.8, 0.4, 1) forwards; }
@keyframes ldfill { 20% { width: 22%; } 55% { width: 61%; } 80% { width: 84%; } 100% { width: 100%; } }
.ld-status { font-size: 0.6rem; letter-spacing: 0.3em; color: var(--gold); }
.ld-scan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.3;
  background: repeating-linear-gradient(rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.5) 2px 4px);
}

/* ---------- custom cursor (viewfinder reticle) ---------- */
.cur, .cur-ring { display: none; }
body.has-cursor, body.has-cursor * { cursor: none; }
body.has-cursor input, body.has-cursor textarea { cursor: text; }
body.has-cursor .cur {
  display: block; position: fixed; top: 0; left: 0; z-index: 250;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  pointer-events: none; box-shadow: 0 0 8px rgba(249, 115, 22, 0.7);
}
body.has-cursor .cur-ring {
  display: block; position: fixed; top: 0; left: 0; z-index: 249;
  width: 34px; height: 34px; color: rgba(237, 231, 218, 0.75);
  pointer-events: none;
  transition: transform 0.14s ease-out, color 0.2s;
}
body.has-cursor .cur-ring.hot { color: var(--gold); }
body.has-cursor .cur-ring svg { width: 100%; height: 100%; display: block; }

/* ---------- film grain overlay ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.07;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-40px, 30px); }
  50% { transform: translate(30px, -50px); }
  75% { transform: translate(-30px, -20px); }
  100% { transform: translate(0, 0); }
}

/* ---------- header ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--pad);
  background: linear-gradient(rgba(10, 9, 7, 0.85), rgba(10, 9, 7, 0));
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.mark {
  font-family: var(--disp); font-size: 1.05rem; color: #000;
  background: var(--ink); width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
}
.mark.sm { width: 1.4rem; height: 1.4rem; font-size: 0.8rem; }
.mark.img { background: transparent; }
.mark.img img { width: 100%; height: 100%; object-fit: contain; }
.wm { font-family: var(--disp); letter-spacing: 0.14em; font-size: 1.05rem; }
.hd nav { display: flex; align-items: center; gap: 1.6rem; }
.hd nav a {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  color: var(--ink); opacity: 0.75; transition: opacity 0.2s, color 0.2s;
}
.hd nav a:hover { opacity: 1; color: var(--gold); }
.hd nav a.cta {
  border: 1px solid var(--ink); padding: 0.45rem 0.9rem; opacity: 1;
  transition: background 0.2s, color 0.2s;
}
.hd nav a.cta:hover { background: var(--lux); border-color: var(--lux); color: #191309; }
.mb { display: none; font-size: 0.72rem; letter-spacing: 0.18em; border: 1px solid var(--line); padding: 0.4rem 0.8rem; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 0; overflow: hidden;
}
.hero-embed { position: absolute; inset: 0; background: #000; }
.hero-embed iframe {
  position: absolute; top: 50%; left: 50%;
  width: max(100vw, 177.78svh); height: max(100svh, 56.25vw);
  transform: translate(-50%, -50%);
  pointer-events: none; border: 0;
}
.scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(255, 215, 0, 0.05), transparent 70%),
    linear-gradient(rgba(10, 9, 7, 0.55), rgba(10, 9, 7, 0.25) 40%, rgba(10, 9, 7, 0.88) 88%),
    radial-gradient(120% 90% at 50% 10%, transparent 50%, rgba(10, 9, 7, 0.7));
}
.heroscan {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.28) 2px 4px);
}

/* viewfinder */
.vf { position: absolute; inset: clamp(0.9rem, 2.5vw, 2rem); pointer-events: none; z-index: 3; }
.cnr { position: absolute; width: 2rem; height: 2rem; border: 2px solid rgba(237, 231, 218, 0.75); }
.cnr.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cnr.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cnr.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cnr.brr { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf-tl {
  position: absolute; top: 0.9rem; left: 3rem;
  display: flex; gap: 1.4rem; align-items: center;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em;
}
.vf-rec { display: flex; align-items: center; gap: 0.45rem; color: var(--ink); }
.vf-rec i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.vf-tc { color: rgba(237, 231, 218, 0.85); }

/* hero copy */
.copy { position: relative; z-index: 4; padding: 0 clamp(0.5rem, 2vw, 2rem); max-width: 1100px; }
.tagline { font-size: 0.75rem; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 1.1rem; }
h1, .sec-title, .ct-title {
  font-family: var(--disp); font-weight: 400; text-transform: uppercase;
  line-height: 0.95; letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 8vw, 7rem); }
/* emphasized lines get a metallic gold gradient — reads as foil, not flat color */
h1 .em, .sec-title .em, .ct-title .em { color: var(--lux); display: block; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  h1 .em, .sec-title .em, .ct-title .em {
    background: linear-gradient(178deg, #ffec8f 0%, #ffd700 42%, #d4a900 78%, #ffdf4d 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
  h1 .em .w, .sec-title .em .w, .ct-title .em .w { text-shadow: none; }
}
/* chromatic aberration on display type */
.chroma .w { display: inline-block; text-shadow: -2px 0 rgba(255, 215, 0, 0.4), 2px 0 rgba(249, 115, 22, 0.4); }
.sub { max-width: 34rem; margin-top: 1.2rem; color: rgba(237, 231, 218, 0.85); font-size: clamp(0.95rem, 1.4vw, 1.1rem); }
.links { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.4rem); margin-top: 1.6rem; }
.arw {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.2em;
  color: var(--ink); border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 0.35rem;
  transition: color 0.2s, border-color 0.2s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.arw:hover { color: var(--gold); border-color: var(--gold); transform: translateX(5px); }
.arw .t { white-space: nowrap; }

/* hero footer: stats + laurels */
.hero-foot { position: relative; z-index: 4; margin-top: clamp(2rem, 5vw, 3.5rem); }
.hstats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  padding: 1.2rem clamp(0.5rem, 2vw, 2rem) 1rem;
  gap: 1rem;
}
.fig .v { font-family: var(--disp); font-size: clamp(1.4rem, 3vw, 2.2rem); }
.fig .k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; color: var(--ink-dim); margin-top: 0.2rem; }
/* single centered laurel badge under the hero */
.laurelwrap {
  display: flex; justify-content: center;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.5rem; background: rgba(0, 0, 0, 0.3);
}
.laurel-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  cursor: default; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.laurel-badge:hover { transform: scale(1.09); }
.lb-branch { display: flex; color: var(--lux); filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.25)); }
.lb-branch svg { width: 1.4rem; height: 4rem; }
.lb-branch.r { transform: scaleX(-1); }
.lb-text {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.22em;
  color: var(--ink-dim); text-transform: uppercase; text-align: center;
}
.lb-text .lb-big { color: var(--ink); font-size: 0.74rem; }

.sound {
  position: absolute; right: clamp(1rem, 3vw, 2.4rem); bottom: 9.5rem; z-index: 6;
  font-size: 0.68rem; letter-spacing: 0.2em; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s, color 0.2s;
}
.sound:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- chapter headers ---------- */
.chapter {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.24em;
  color: var(--ink-dim); margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.chapter .cn { color: var(--lux); white-space: nowrap; }
.chapter .cl { flex: 1; height: 1px; background: var(--line); }
.chapter .cx { white-space: nowrap; }
.sec-title { font-size: clamp(2.1rem, 6vw, 4.6rem); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- showreel — full-screen camera viewfinder ---------- */
.reel-sec { min-height: 100svh; padding: 0; overflow: hidden; background: #000; }
.reel-sec .hero-embed { position: absolute; inset: 0; background: #000; }

.camhud { z-index: 3; }
.camhud .vf-tl { color: var(--ink); text-shadow: 0 1px 4px #000; }
/* format readout, top-right (clears the header via its own top offset) */
.cam-tr {
  position: absolute; top: 0.9rem; right: 3rem;
  font-size: 0.72rem; letter-spacing: 0.16em; color: rgba(237, 231, 218, 0.85);
  text-shadow: 0 1px 4px #000;
}
/* center framing crosshair */
.cam-cross {
  position: absolute; top: 50%; left: 50%; width: 26px; height: 26px;
  transform: translate(-50%, -50%); color: rgba(237, 231, 218, 0.5);
  background:
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

/* on-screen title (broadcast lower-third) — sets the reel apart from the hero */
.cam-lower { position: absolute; left: 0; bottom: 3.6rem; max-width: min(44rem, 72%); }
.cl-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.34em; color: var(--gold);
  margin-bottom: 0.9rem; text-shadow: 0 1px 4px #000;
}
.cl-heading {
  font-family: var(--disp); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 0.98; letter-spacing: 0.01em;
  color: var(--ink); margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92), 0 1px 3px rgba(0, 0, 0, 0.85);
}
.cl-lede {
  font-family: "Saira Semi Condensed", var(--body), sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem); line-height: 1.5; max-width: 34rem;
  color: rgba(237, 231, 218, 0.95); margin-bottom: 1.3rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 1px 2px rgba(0, 0, 0, 0.9);
}
.cl-steps { display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem; }
.cl-step {
  display: flex; flex-direction: column; gap: 0.2rem; max-width: 13rem;
  font-size: 0.64rem; text-shadow: 0 1px 4px #000;
}
.cl-step b { color: var(--gold); font-weight: 400; letter-spacing: 0.22em; }
.cl-step em { font-style: normal; color: rgba(237, 231, 218, 0.85); line-height: 1.35; letter-spacing: 0.02em; }

/* bottom camera status bar (settings + slate) */
.cam-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 0.55rem; border-top: 1px solid rgba(237, 231, 218, 0.14);
}
.cam-settings { display: flex; flex-wrap: wrap; gap: 0.35rem 1.3rem; min-width: 0; }
.cam-stat { display: inline-flex; align-items: baseline; gap: 0.4rem; font-size: 0.64rem; letter-spacing: 0.12em; text-shadow: 0 1px 4px #000; }
.cam-stat b { color: var(--gold); font-weight: 400; }
.cam-stat em { font-style: normal; color: rgba(237, 231, 218, 0.9); }
.cam-slate { display: flex; gap: 0.9rem; align-items: center; white-space: nowrap; font-size: 0.62rem; letter-spacing: 0.18em; color: rgba(237, 231, 218, 0.7); text-shadow: 0 1px 4px #000; }
.cam-slate .cs-chapter { color: var(--lux); }

/* hide/show info toggle (sits below the sound button, bottom-right) */
.cam-toggle {
  position: absolute; right: clamp(1rem, 3vw, 2.4rem); bottom: 6rem; z-index: 6;
  font-size: 0.64rem; letter-spacing: 0.2em; padding: 0.45rem 0.85rem;
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s, color 0.2s;
}
.cam-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* minimal state — clean framed video; corner brackets + title stay */
.camhud.hud-min .vf-tl,
.camhud.hud-min .cam-tr,
.camhud.hud-min .cam-bar,
.camhud.hud-min .cam-cross { opacity: 0; visibility: hidden; }

.dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(1) infinite; }

/* ---------- statement (text breather between hero and showreel) ---------- */
.statement { display: flex; flex-direction: column; }
.stmt-body {
  font-family: "Saira Semi Condensed", var(--body), system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem); line-height: 1.5; letter-spacing: 0.006em;
  color: rgba(237, 231, 218, 0.9); max-width: 46rem;
}

/* ---------- work / VHS wall (wooden rental cupboard) ---------- */
.work { background: #14100a; }
.wl { display: flex; gap: 0.6rem; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 2rem; }
/* the cupboard: warm wood, vertical plank grain, heavy frame */
.unit {
  display: flex; flex-direction: column; gap: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0 2px, rgba(0, 0, 0, 0) 2px 46px),
    repeating-linear-gradient(90deg, rgba(255, 220, 150, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 23px),
    linear-gradient(175deg, #3d2f19 0%, #33271488 40%, #2a1f10 100%),
    #332613;
  border: 10px solid #1d150a;
  border-radius: 8px;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.65),
    inset 0 2px 0 rgba(255, 220, 150, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.55);
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem) 0.4rem;
}
.srow { display: block; position: relative; padding-top: 0.4rem; }
.papersign {
  display: inline-block; background: var(--paper); color: #191309;
  padding: 0.55rem 0.8rem; margin-bottom: 1rem;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.18em;
  transform: rotate(-1.5deg);
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.55);
}
.papersign b { display: block; font-family: var(--disp); font-size: 0.95rem; letter-spacing: 0.05em; margin-top: 0.2rem; font-weight: 400; }
/* shelves scroll horizontally — add as many tapes per aisle as you like */
.rackrow {
  display: flex; gap: clamp(0.8rem, 1.6vw, 1.3rem); flex-wrap: nowrap;
  align-items: flex-end; min-height: 8rem;
  overflow-x: auto; overflow-y: hidden;
  padding: 14px 2px 6px; /* top room so the hover lift never clips */
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: rgba(249, 115, 22, 0.55) rgba(0, 0, 0, 0.35);
}
.rackrow::-webkit-scrollbar { height: 6px; }
.rackrow::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.35); }
.rackrow::-webkit-scrollbar-thumb { background: rgba(249, 115, 22, 0.55); border-radius: 3px; }
.rackrow::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.rackrow .vbox { flex: none; scroll-snap-align: start; }
/* shelf plank the tapes stand on */
.board {
  height: 0.9rem; margin: 0 calc(-1 * clamp(1rem, 2.5vw, 2rem));
  background: linear-gradient(#6b5732, #453518 30%, #2a1f10);
  border-top: 1px solid rgba(255, 220, 150, 0.25);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.6);
}

/* VHS tape */
.vbox { position: relative; width: clamp(120px, 14vw, 170px); text-align: left; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.vbox:hover { transform: translateY(-10px) rotate(-1deg); }
.vbox:hover .face {
  box-shadow: inset 0 0 0 3px #000, 5px 7px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 215, 0, 0.16);
  border-color: rgba(255, 215, 0, 0.35);
}
.face {
  display: block; background: #0d0c0a; border: 1px solid #262219;
  box-shadow: inset 0 0 0 3px #000, 5px 7px 0 rgba(0, 0, 0, 0.5);
  aspect-ratio: 0.58; overflow: hidden; position: relative;
}
.ftop {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0.55rem;
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em; color: var(--ink-dim);
  border-bottom: 1px solid #262219;
}
.fart { display: block; height: 58%; position: relative; }
.fart::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(rgba(0, 0, 0, 0) 0 3px, rgba(0, 0, 0, 0.22) 3px 5px),
    radial-gradient(90% 70% at 50% 35%, rgba(255, 255, 255, 0.16), transparent 60%);
}
.fbot { display: block; padding: 0.55rem; border-top: 1px solid #262219; }
/* tapes with a real cover image: art fills the face, text overlays it */
.face.has-thumb { display: flex; flex-direction: column; justify-content: space-between; }
.face.has-thumb .coverimg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.05) contrast(1.05);
}
.face.has-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(rgba(0, 0, 0, 0) 0 3px, rgba(0, 0, 0, 0.16) 3px 5px),
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.88) 92%);
}
.face.has-thumb .ftop { position: relative; z-index: 2; border-bottom: 0; color: rgba(237, 231, 218, 0.9); text-shadow: 0 1px 2px #000; }
.face.has-thumb .fart { display: none; }
.face.has-thumb .fbot { position: relative; z-index: 2; border-top: 0; }
.face.has-thumb .fbot .btt { text-shadow: 0 2px 4px #000; }
.face.has-thumb .fbot small { color: rgba(237, 231, 218, 0.75); text-shadow: 0 1px 2px #000; }
.fbot .btt { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(0.8rem, 1.1vw, 1rem); letter-spacing: 0.04em; line-height: 1.1; }
.fbot small { display: block; font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.14em; color: var(--ink-dim); margin-top: 0.3rem; }
.sticker {
  position: absolute; top: -0.5rem; right: -0.5rem;
  font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.12em;
  background: var(--gold); color: #191309; padding: 0.3rem 0.5rem;
  transform: rotate(6deg); box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.5);
}
.sticker.soon { background: var(--cyan); }
.vbox:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.bekind { margin-top: 2.5rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--ink-faint); }

/* ---------- services menuboard ---------- */
.menuboard {
  border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.16), 0 14px 34px rgba(0, 0, 0, 0.35);
}
.mb-head {
  display: flex; justify-content: space-between;
  padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--line);
  font-size: 0.68rem; letter-spacing: 0.26em; color: var(--ink-dim);
}
.blink { color: var(--lux); animation: blink 1.4s steps(1) infinite; }
.mrow {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.2rem; align-items: baseline;
  padding: 1.1rem 1.2rem; border-bottom: 1px solid var(--line);
  transition: background 0.2s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mrow:last-child { border-bottom: 0; }
.mrow:hover { background: rgba(237, 231, 218, 0.06); transform: translateX(8px); }
.mname { transition: color 0.2s; }
.mrow:hover .mname { color: var(--gold); }
.mchip { transition: border-color 0.2s, color 0.2s, transform 0.2s; }
.mrow:hover .mchip { transform: translateY(-2px); }
.mrow:hover .mchip:not(.gold):not(.cy) { border-color: var(--gold); color: var(--gold); }
.mname { font-family: var(--disp); font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: 0.03em; white-space: nowrap; }
.mrow.flag .mname { color: var(--gold); }
.mdesc { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--ink-dim); align-self: center; }
.mchip {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em;
  border: 1px solid var(--ink-faint); padding: 0.3rem 0.6rem; white-space: nowrap;
}
.mchip.gold { background: var(--gold); color: #191309; border-color: var(--gold); }
.mchip.cy { color: var(--cyan); border-color: var(--cyan); }
.svc-foot {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 1.4rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--ink-faint);
}
.svc-foot b { color: var(--ink-dim); font-weight: 400; }

/* ---------- team ---------- */
.team { background: var(--bg2); }
/* text column centers against the image, whatever image goes in later */
.team-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.stage { max-width: 28rem; }
.stage-media {
  position: relative; aspect-ratio: 4 / 5; background: #131008;
  border: 1px solid var(--line); overflow: hidden;
}
.stage-fig {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(rgba(0, 0, 0, 0) 0 3px, rgba(0, 0, 0, 0.25) 3px 5px),
    radial-gradient(70% 55% at 50% 42%, #3a3324, #131008 75%);
}
.stage-fig span {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 55%; height: 62%;
  background: radial-gradient(50% 32% at 50% 12%, #241f14 48%, transparent 50%),
    linear-gradient(#1c1810, #0d0b07);
  clip-path: polygon(30% 0, 70% 0, 82% 22%, 95% 100%, 5% 100%, 18% 22%);
  opacity: 0.9;
}
/* real founder photo replaces the silhouette, keeps the camcorder treatment */
.stage-media.has-photo .stage-fig { display: none; }
.stage-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.95) contrast(1.04);
}
.stage-media.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(rgba(0, 0, 0, 0) 0 3px, rgba(0, 0, 0, 0.18) 3px 5px),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(10, 9, 7, 0.55));
}
.stage-osd { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2; display: flex; gap: 0.5rem; align-items: center; font-size: 0.62rem; letter-spacing: 0.2em; text-shadow: 0 1px 3px #000; }
.stage-cam { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--ink-dim); text-shadow: 0 1px 3px #000; }
.stage-cap { margin-top: 0.7rem; font-size: 0.66rem; letter-spacing: 0.2em; color: var(--gold); }
/* uniform text column: paragraphs fill the same width as the departments
   below them, so there is no uneven void beside the bio (auto-adapts to
   any future image/copy length) */
.team-copy { max-width: 42rem; }
.team-copy p { color: rgba(237, 231, 218, 0.85); margin-bottom: 1.1rem; max-width: none; }
.dept-label { margin: 1.8rem 0 0.8rem; font-size: 0.64rem; letter-spacing: 0.24em; color: var(--ink-dim); }
.depts { list-style: none; }
.depts li {
  padding: 0.65rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.74rem; letter-spacing: 0.18em;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}
.depts li::before { content: "▸ "; color: var(--lux); }
.depts li:hover { transform: translateX(7px); color: var(--gold); }
.creds { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.creds span {
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em;
  border: 1px solid var(--ink-faint); padding: 0.45rem 0.7rem; color: var(--ink-dim);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.creds span:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* ---------- contact (centered, email-only, video backdrop) ---------- */
.contact { padding-bottom: 0; overflow: hidden; }
.ct-embed { position: absolute; inset: 0; background: #000; }
.ct-embed iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: max(100%, 56.25vw); width: auto; aspect-ratio: 16 / 9;
  min-width: 100%;
  pointer-events: none; border: 0;
}
.ct-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(10, 9, 7, 0.94), rgba(10, 9, 7, 0.82) 45%, rgba(10, 9, 7, 0.96)),
    radial-gradient(90% 60% at 50% 40%, rgba(10, 9, 7, 0.2), rgba(10, 9, 7, 0.75));
}
.contact > *:not(.ct-embed):not(.ct-scrim) { position: relative; z-index: 1; }
.ct-title { font-size: clamp(2.4rem, 7vw, 5.6rem); margin-bottom: 2rem; text-align: center; }
.ct-mailrow { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: center; margin-bottom: 2.5rem; }
.mail {
  font-family: var(--mono); font-size: clamp(0.9rem, 2vw, 1.2rem); letter-spacing: 0.12em;
  color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 0.2rem;
  transition: color 0.2s, border-color 0.2s, transform 0.25s;
}
.mail:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.kform { max-width: 44rem; margin: 0 auto; }
.kf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.kf-field { display: block; margin-bottom: 1.2rem; }
.kf-field span { display: block; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--ink-dim); margin-bottom: 0.45rem; }
.kf-field input, .kf-field textarea {
  width: 100%; background: rgba(237, 231, 218, 0.05);
  border: 1px solid var(--line); color: var(--ink);
  font-family: var(--body); font-size: 0.95rem; padding: 0.75rem 0.85rem;
  transition: border-color 0.2s;
}
.kf-field input:focus, .kf-field textarea:focus { outline: none; border-color: var(--gold); }
.kf-foot { display: flex; align-items: center; justify-content: center; gap: 1.4rem; }
.kf-send {
  background: linear-gradient(180deg, #ffe066, #ffd700 55%, #e0b400);
  color: #191309; padding: 0.85rem 1.6rem;
  font-size: 0.74rem; letter-spacing: 0.2em;
  transition: box-shadow 0.25s, transform 0.15s, filter 0.2s;
}
.kf-send:hover {
  transform: translateY(-2px); filter: brightness(1.08);
  box-shadow: 0 6px 22px rgba(255, 215, 0, 0.3);
}
.kf-status { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--cyan); }
.kf-or { display: flex; align-items: center; gap: 1rem; margin: 2.5rem auto 1.4rem; max-width: 44rem; }
.kf-callwrap { text-align: center; }
.kf-or i { flex: 1; height: 1px; background: var(--line); }
.kf-or span { font-size: 0.64rem; letter-spacing: 0.24em; color: var(--ink-dim); }
.kf-call {
  display: inline-block; border: 1px solid var(--ink);
  padding: 0.9rem 1.5rem; font-size: 0.74rem; letter-spacing: 0.2em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.kf-call:hover {
  background: var(--lux); border-color: var(--lux); color: #191309;
  box-shadow: 0 6px 22px rgba(255, 215, 0, 0.25);
}
.kf-callnote { margin-top: 0.8rem; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--ink-faint); }
.standby {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: 4rem; font-size: 0.66rem; letter-spacing: 0.26em; color: var(--ink-dim);
}
.standby i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(1) infinite; }
.smpte { display: flex; height: 1.4rem; margin: 1.6rem calc(-1 * var(--pad)) 0; }
.smpte.tall { height: 2rem; }
.smpte i { flex: 1; }
/* warm broadcast bars — no blue, tuned to the site palette */
.smpte i:nth-child(1) { background: #efe9da; }
.smpte i:nth-child(2) { background: #ffd700; }
.smpte i:nth-child(3) { background: #f0b000; }
.smpte i:nth-child(4) { background: #f97316; }
.smpte i:nth-child(5) { background: #9a7a2a; }
.smpte i:nth-child(6) { background: #5c5040; }
.smpte i:nth-child(7) { background: #ff3b30; }

/* ---------- footer ---------- */
footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.4rem var(--pad);
  border-top: 1px solid var(--line);
  font-size: 0.64rem; letter-spacing: 0.18em; color: var(--ink-dim);
}
footer .l { display: flex; align-items: center; gap: 0.6rem; }
footer .soc { display: flex; align-items: center; gap: 1.4rem; }
footer .soc a:hover { color: var(--gold); }
/* link back to the parent agency site */
.foot-parent {
  border: 1px solid var(--ink-faint); padding: 0.5rem 0.95rem;
  color: var(--ink); letter-spacing: 0.2em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.foot-parent:hover {
  background: var(--lux); border-color: var(--lux); color: #191309; transform: translateY(-2px);
}
.hp { position: absolute; left: -9999px; }

/* ---------- tape modal ---------- */
.tmodal { position: fixed; inset: 0; z-index: 100; display: none; }
.tmodal.open { display: block; }
.tmodal-bg { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.88); cursor: pointer; }
.tmodal-box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1000px); background: #000; border: 1px solid var(--line);
}
.tmodal-bar {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--line);
  font-size: 0.66rem; letter-spacing: 0.2em;
}
.tmodal-bar button { margin-left: auto; color: var(--ink-dim); letter-spacing: 0.16em; font-size: 0.66rem; }
.tmodal-bar button:hover { color: var(--lux); }
.tmodal-embed { aspect-ratio: 16 / 9; }
.tmodal-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .grain, .dot, .vf-rec i, .blink, .standby i,
  .ld-mark img, .ld-name, .ld-rec, .ld-bar i { animation: none; }
  .loader { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .reel-head, .team-grid { grid-template-columns: 1fr; }
  .hd nav {
    position: fixed; inset: 0; top: 3.9rem; flex-direction: column;
    background: rgba(10, 9, 7, 0.97); padding: 2rem var(--pad);
    align-items: flex-start; gap: 1.4rem; display: none;
  }
  .hd nav.open { display: flex; }
  .hd nav a { font-size: 0.9rem; }
  .mb { display: block; }
  .srow { grid-template-columns: 1fr; }
  .papersign { width: auto; align-self: flex-start; display: inline-block; }
  .mrow { grid-template-columns: 1fr auto; }
  .mdesc { grid-column: 1 / -1; }
  .hstats { grid-template-columns: repeat(2, 1fr); }
  .kf-row { grid-template-columns: 1fr; gap: 0; }
  .sound { bottom: 12rem; }
  .stage { max-width: 100%; }
  .team-copy { max-width: 100%; }
  .reel-head { gap: 1rem; }
  .hstats { gap: 0.6rem 1rem; }
  footer { justify-content: center; text-align: center; }
  footer .soc { flex-wrap: wrap; justify-content: center; }
}

/* phones */
@media (max-width: 560px) {
  section { padding: clamp(3rem, 12vw, 4rem) var(--pad); }
  h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .sec-title { font-size: clamp(2rem, 10vw, 3rem); }
  .ct-title { font-size: clamp(2rem, 11vw, 3.2rem); }
  .hstats { grid-template-columns: repeat(2, 1fr); }
  .fig .v { font-size: clamp(1.5rem, 8vw, 2rem); }
  .links { gap: 0.9rem 1.6rem; }
  .arw { font-size: 0.72rem; }
  /* let hero content breathe above the stats on short screens */
  .copy { padding-bottom: 0.5rem; }
  .laurel-badge { transform: scale(0.92); }
  .laurel-badge:hover { transform: scale(1); }
  .vf-tl { left: 2.4rem; gap: 1rem; font-size: 0.66rem; }
  .cnr { width: 1.4rem; height: 1.4rem; }
  .sound { bottom: 13.5rem; right: 1rem; font-size: 0.6rem; }
  .tmodal-box { width: 96vw; }
  .kf-foot { flex-direction: column; align-items: stretch; text-align: center; gap: 0.8rem; }
  .kf-send { width: 100%; }
  .ct-mailrow { flex-direction: column; gap: 1rem; }
  .papersign { transform: none; }
  /* comfortable tap targets */
  .hd nav a { min-height: 44px; display: flex; align-items: center; }
  .mrow { padding-top: 1.3rem; padding-bottom: 1.3rem; }
}

/* showreel viewfinder — phones: clear the fixed header, declutter, fit the title */
@media (max-width: 700px) {
  /* drop the whole viewfinder frame (corners + REC) below the fixed header */
  #showreel .camhud { top: 4.3rem; }
  #showreel .vf-tl { left: 2.2rem; gap: 1rem; font-size: 0.66rem; }
  #showreel .cam-tr { display: none; }   /* long format readout collides with the header */
  #showreel .cam-cross { display: none; }
  .cam-lower { bottom: 7.4rem; max-width: 92%; }
  .cl-eyebrow { margin-bottom: 0.55rem; letter-spacing: 0.28em; }
  .cl-heading { font-size: clamp(1.7rem, 8.5vw, 2.5rem); margin-bottom: 0.7rem; }
  .cl-lede { margin-bottom: 1rem; }
  .cl-steps { gap: 0.45rem 1.2rem; }
  .cl-step { flex-basis: 100%; max-width: 100%; flex-direction: row; align-items: baseline; gap: 0.6rem; }
  .cl-step b { flex: none; min-width: 4.6rem; }
  .cam-settings { display: none; }       /* too dense for a phone; slate stays */
  .cam-bar { justify-content: flex-start; }
  #showreel .sound { bottom: 3.6rem; right: 1rem; font-size: 0.6rem; }
  .cam-toggle { bottom: 3.6rem; right: auto; left: 1rem; }
}
