/* ==========================================================================
   Edu Prado — portfolio · v2
   Cool graphite + glacier blue, light "fog" bands for contrast,
   red record light reserved for play / REC.
   Type: Inter Tight (modern sans) + Instrument Serif italics (classical touch)
         + Archivo Expanded for small uppercase labels.
   ========================================================================== */
:root {
  --ink: #0b0d10;
  --ink-2: #11151a;
  --ink-3: #182028;
  --text: #e6ebf0;
  --text-2: #b6c0ca;
  --mute: #7d8995;
  --line: rgba(230, 235, 240, 0.10);
  --line-2: rgba(230, 235, 240, 0.20);
  --blue: #9cc2e5;
  --blue-2: #6f9fcc;
  --blue-soft: rgba(156, 194, 229, 0.12);
  --rec: #ff4b2b;
  --fog: #e8edf1;
  --fog-2: #d5dde4;
  --on-fog: #0f1419;
  --on-fog-mute: #56626d;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --label: "Archivo", "Inter Tight", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 300; }
p { margin: 0 0 1em; }
::selection { background: var(--blue); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--ink); padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

/* headings: modern sans, with serif italics for the classical touch */
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.accent { color: var(--blue); }

/* small uppercase labels (Ólafur-style wide tracking) */
.label {
  font: 500 11px/1.4 var(--label); font-stretch: 125%;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
}

.rec-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--rec); animation: rec 2.4s var(--ease) infinite; vertical-align: middle;
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 43, .55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 75, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 1.6em;
  background: var(--text); color: var(--ink);
  border: 1px solid var(--text); border-radius: 999px;
  font: 500 14.5px/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.btn-play:hover { background: var(--rec); border-color: var(--rec); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--ink); }
.btn-sm { padding: .75em 1.2em; font-size: 13.5px; }
.btn-dark { background: var(--on-fog); color: var(--fog); border-color: var(--on-fog); }
.btn-dark:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--on-fog); border-color: rgba(15, 20, 25, .25); }
.btn-ghost-dark:hover { background: var(--on-fog); color: var(--fog); border-color: var(--on-fog); }

.link-arrow { font: 500 11px/1 var(--label); font-stretch: 125%; text-transform: uppercase; letter-spacing: .18em; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 7px; transition: color .3s, border-color .3s; }
.link-arrow::after { content: "  →"; }
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--edge);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 13, 16, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom-color: var(--line); }
.brand { font: 500 12px/1 var(--label); font-stretch: 125%; letter-spacing: .28em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) { font: 500 10.5px/1 var(--label); font-stretch: 125%; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text-2); transition: color .25s; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- hero: copy left, full-bleed photo right ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
}
.hero-copy { padding: clamp(80px, 11svh, 150px) clamp(24px, 5vw, 72px) 236px var(--edge); align-self: center; position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(36px, min(5.4vw, 6.4svh), 86px);
  font-weight: 300; line-height: 1.02; letter-spacing: -.035em;
  margin-bottom: clamp(18px, 3svh, 30px);
}
.hero h1 em { font-size: 1.08em; letter-spacing: -.015em; }
.lede { font-size: clamp(17px, 1.3vw, 19px); color: var(--text-2); max-width: 33em; font-weight: 300; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.4svh, 32px); }
.award-chip {
  display: inline-grid; gap: 4px; margin-top: clamp(18px, 3svh, 44px); padding: 14px 20px 14px 18px;
  border: 1px solid var(--line-2); border-left: 2px solid var(--blue); border-radius: 4px;
  text-decoration: none; transition: background .3s;
}
.award-chip .label { margin: 0; color: var(--text); }
.award-chip:hover { background: var(--ink-2); }
.chip-sub { font-size: 13.5px; color: var(--mute); }

.hero-photo { position: relative; margin: 0; overflow: hidden; background: var(--ink-2); }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 28%;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.06); animation: settle 2.4s var(--ease) .1s forwards;
}
@keyframes settle { to { transform: scale(1); } }
.hero-photo::after { /* fade photo into the page */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(11,13,16,0) 22%), linear-gradient(0deg, var(--ink) 0%, rgba(11,13,16,0) 28%), linear-gradient(180deg, rgba(11,13,16,.75) 0%, rgba(11,13,16,0) 16%);
}
.hero-photo figcaption {
  position: absolute; right: var(--gutter); bottom: 120px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(11, 13, 16, .65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 10px/1.3 var(--label); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: 36px; width: 100%; height: 112px; z-index: 3; cursor: crosshair; touch-action: pan-y; }
.strings-ui {
  position: absolute; left: var(--edge); right: var(--gutter); bottom: 16px; z-index: 4;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
  font: 500 9.5px/1 var(--label); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.inst-switch { display: inline-flex; gap: 4px; }
.inst-switch button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.inst-switch button span { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--text-2); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.inst-switch button:hover span { transform: scale(1.3); border-color: var(--text); }
.inst-switch button[aria-checked="true"] span { background: var(--blue); border-color: var(--blue); }
.inst-name { color: var(--text); }
.inst-from { color: var(--mute); text-decoration: none; letter-spacing: .14em; transition: color .25s; }
.inst-from b { font-weight: 500; color: var(--text-2); }
.inst-from:hover, .inst-from:hover b { color: var(--blue); }

/* ---------- marquee ---------- */
.marquee { margin-top: 18px; border-block: 1px solid var(--line); overflow: hidden; padding: 24px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee-track span { font: italic 400 clamp(21px, 2.2vw, 30px)/1 var(--serif); color: var(--text-2); padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 52px; }
.marquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: .55; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 160px) var(--gutter) 0; }
.section-head { display: grid; grid-template-columns: 220px 1fr; column-gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.section-head .label { grid-row: 1 / span 2; align-self: start; padding-top: 20px; }
.section-head h2, .about h2, .eps h2, .contact h2 {
  font-size: clamp(42px, 5.4vw, 80px); font-weight: 300; line-height: 1.02; letter-spacing: -.035em;
}
.section-head h2 em, .about h2 em, .eps h2 em, .contact h2 em { font-size: 1.08em; }
.section-intro { color: var(--mute); max-width: 36em; margin: 18px 0 0; font-weight: 300; }

/* ---------- reels ---------- */
.reels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reel {
  display: grid; grid-template-columns: 56px minmax(190px, 1.05fr) 2fr 56px; align-items: center; gap: 26px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.reel:hover { background: linear-gradient(90deg, transparent, var(--ink-2) 18%, var(--ink-2) 82%, transparent); }
.reel-play {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.reel-play svg { width: 17px; height: 17px; fill: currentColor; grid-area: 1 / 1; }
.reel-play .i-pause, .dock-play .i-pause { display: none; }
.reel.playing .reel-play .i-play, .dock.playing .dock-play .i-play { display: none; }
.reel.playing .reel-play .i-pause, .dock.playing .dock-play .i-pause { display: block; }
.reel-play:hover, .reel.active .reel-play { background: var(--rec); border-color: var(--rec); color: var(--ink); transform: scale(1.05); }
.reel-info h3 { font: 300 clamp(23px, 2.1vw, 30px)/1.1 var(--sans); letter-spacing: -.02em; }
.reel-info p { font-size: 13.5px; color: var(--mute); margin: 7px 0 0; line-height: 1.45; }
.reel-time { font: 400 13px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--mute); text-align: right; }

/* waveform: base bars + a clipped "fill" copy, so progress moves smoothly */
.reel-wave { --p: 0%; --h: 0%; position: relative; height: 58px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.reel-wave .bars { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; pointer-events: none; }
.reel-wave .bars i { flex: 1; min-width: 1px; border-radius: 2px; background: var(--line-2); transform-origin: center; }
.reel-wave .bars.fill { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.reel-wave .bars.fill i { background: var(--blue); }
.reel.active .reel-wave .bars:not(.fill) i { background: rgba(230, 235, 240, .3); }
.reel-wave::before { /* hover / scrub guide */
  content: ""; position: absolute; top: 2px; bottom: 2px; left: var(--h); width: 1px; background: var(--text);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.reel-wave:hover::before, .reel-wave.scrubbing::before { opacity: .7; }
.wave-tip {
  position: absolute; bottom: calc(100% + 4px); left: var(--h); transform: translateX(-50%);
  font: 500 11px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--text);
  padding: 4px 6px; border-radius: 4px; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap;
}
.reel-wave:hover .wave-tip, .reel-wave.scrubbing .wave-tip { opacity: 1; }
/* bars rise in when the row scrolls into view */
.reel.reveal .bars i { transform: scaleY(.08); transition: transform .9s var(--ease) calc(var(--i) * 5ms); }
.reel.reveal.in .bars i { transform: none; }

/* ---------- awards ---------- */
.proof {
  max-width: var(--max); margin: clamp(90px, 10vw, 140px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1px;
}
.proof-item { background: var(--ink-2); padding: 30px 26px; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.proof-item .label { margin-bottom: 14px; }
.proof-item.big { background: var(--ink-3); border-top: 2px solid var(--blue); }
.proof-item.big .label { color: var(--blue); }
.proof-v { font: 300 21px/1.2 var(--sans); letter-spacing: -.015em; }
.proof-item.big .proof-v { font-size: 27px; }
.proof-item small { display: block; font-size: 13px; line-height: 1.5; color: var(--mute); margin-top: 12px; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--ink); padding: 36px 32px 30px; display: flex; flex-direction: column; transition: background .35s; }
.service:hover { background: var(--ink-2); }
.service-no { font: 500 11px/1 var(--label); font-stretch: 125%; letter-spacing: .18em; color: var(--blue); margin-bottom: 48px; }
.service h3 { font: 300 29px/1.08 var(--sans); letter-spacing: -.025em; margin-bottom: 14px; }
.service p { color: var(--text-2); font-size: 15.5px; font-weight: 300; }
.service .tags { margin-top: auto; margin-bottom: 0; padding-top: 14px; font: 500 9.5px/1.7 var(--label); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.beyond { margin-top: 24px; display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; padding: 30px 32px; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.beyond .label { margin: 0; color: var(--blue); }
.beyond h3 { font: 300 27px/1.15 var(--sans); letter-spacing: -.02em; margin-bottom: 8px; }
.beyond p { color: var(--text-2); margin: 0; font-weight: 300; font-size: 15.5px; max-width: 46em; }

/* ---------- work ---------- */
.work-feature { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 44px; }
.work-feature img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; filter: grayscale(1); transition: transform 1.4s var(--ease); }
.work-feature:hover img { transform: scale(1.02); }
.work-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,16,.92) 0%, rgba(11,13,16,.2) 52%, transparent 100%); }
.work-feature-copy { position: absolute; left: 34px; bottom: 32px; z-index: 1; max-width: 520px; }
.work-feature-copy h3 { font-size: clamp(32px, 4vw, 54px); line-height: 1; margin-bottom: 10px; }
.work-feature-copy p { color: var(--text-2); }
.credits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.credits li {
  display: grid; grid-template-columns: 110px 1.4fr 1fr 1.4fr; gap: 24px; align-items: baseline;
  padding: 21px 0; border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), background .35s;
}
.credits li:hover { padding-left: 14px; background: var(--ink-2); }
.c-year { font: 500 10.5px/1 var(--label); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.c-title { font: 300 21px/1.25 var(--sans); letter-spacing: -.015em; }
.c-title i { font-family: var(--serif); font-size: 1.12em; letter-spacing: 0; }
.c-role { font-size: 14px; color: var(--text-2); }
.c-with { font-size: 14px; color: var(--mute); }
.badge { display: inline-block; font: 500 9px/1 var(--label); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); border: 1px solid var(--blue); border-radius: 999px; padding: 5px 8px; vertical-align: middle; margin-left: 8px; position: relative; top: -2px; }
.badge-quiet { color: var(--text-2); border-color: var(--line-2); }

/* ---------- videos ---------- */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video-main { grid-column: 1 / -1; }
.video-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink-2); cursor: pointer; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) brightness(.78); transition: filter .6s, transform 1.2s var(--ease); }
.video-btn:hover img { filter: grayscale(0) brightness(.9); transform: scale(1.03); }
.play-ring { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(11, 13, 16, .5); border: 1px solid rgba(230,235,240,.5); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease), border-color .3s; }
.play-ring svg { width: 22px; height: 22px; fill: var(--text); margin-left: 3px; }
.video-btn:hover .play-ring { background: var(--rec); border-color: var(--rec); transform: scale(1.08); }
.video-btn:hover .play-ring svg { fill: var(--ink); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; background: #000; }
.video-cap { padding: 16px 2px 0; }
.video-cap h3 { font: 300 24px/1.15 var(--sans); letter-spacing: -.02em; }
.video-cap p { color: var(--mute); font-size: 14.5px; margin: 5px 0 0; }
.video-cap a { color: var(--text); text-decoration-color: var(--blue); text-underline-offset: 3px; }

/* ---------- lab ---------- */
.lab-grid { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 22px; align-items: start; }
.lab-photo { margin: 0; }
.lab-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); filter: grayscale(1); }
.lab-photo figcaption { padding-top: 12px; font-size: 13px; color: var(--mute); }

/* ---------- light band (EPS) ---------- */
.band-light { background: var(--fog); color: var(--on-fog); margin-top: clamp(90px, 11vw, 160px); position: relative; }
.band-light ::selection { background: var(--on-fog); color: var(--fog); }
.band-light .label { color: var(--on-fog-mute); }
.eps { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 9vw, 130px) var(--gutter); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.eps-logo { width: 104px; margin: 6px 0 30px; filter: invert(1) brightness(.15); }
.eps h2 { margin-bottom: 26px; }
.eps-copy > p { color: #36414b; font-weight: 300; max-width: 34em; }
.press { margin: 34px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--blue-2); }
.press p { font: italic 400 clamp(22px, 2vw, 28px)/1.3 var(--serif); margin-bottom: 10px; }
.press cite { font: 500 10px/1.5 var(--label); font-stretch: 125%; font-style: normal; color: var(--on-fog-mute); letter-spacing: .16em; text-transform: uppercase; }
.eps-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(15, 20, 25, .14); }
.eps-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(15, 20, 25, .14); text-decoration: none; transition: padding .35s var(--ease), color .3s; }
.eps-list a:hover { padding-left: 10px; color: var(--blue-2); }
.eps-list span { font: 300 21px/1.2 var(--sans); letter-spacing: -.015em; }
.eps-list small { font: 500 9.5px/1 var(--label); font-stretch: 125%; color: var(--on-fog-mute); text-transform: uppercase; letter-spacing: .14em; text-align: right; }

/* ---------- quotes ---------- */
.quotes { columns: 3 300px; column-gap: 22px; }
.quote { break-inside: avoid; margin: 0 0 22px; padding: 32px 30px 28px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 24px; font: 300 19px/1.45 var(--sans); letter-spacing: -.01em; color: var(--text); }
.quote-lead { background: var(--blue); color: var(--on-fog); border-color: var(--blue); }
.quote-lead blockquote { font: italic 400 30px/1.2 var(--serif); color: var(--on-fog); letter-spacing: 0; }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.quote figcaption b { font-weight: 500; }
.quote figcaption span { color: var(--mute); font-size: 13px; }
.quote-lead figcaption span { color: #2f4a63; }
.quotes-more { margin-top: 20px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: 100px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% 50%; border-radius: var(--radius); filter: grayscale(1); }
.about-copy h2 { margin-bottom: 32px; }
.about-copy > p { color: var(--text-2); font-weight: 300; font-size: 18px; }
.values { list-style: none; padding: 0; margin: 38px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values li { background: var(--ink); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 5px; }
.values b { font: italic 400 30px/1 var(--serif); }
.values li:nth-child(3) b { color: var(--blue); }
.values span { color: var(--mute); font-size: 14px; }
.facts { font: 500 10px/2 var(--label); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* ---------- now ---------- */
.now {
  max-width: var(--max); margin: clamp(90px, 10vw, 140px) auto 0; padding: 30px var(--gutter);
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  border-block: 1px solid var(--line);
}
.now .label { margin: 0; color: var(--text); }
.now ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.now li { display: flex; flex-direction: column; gap: 4px; }
.now b { font: 400 18px/1.25 var(--sans); letter-spacing: -.01em; }
.now b i { font-family: var(--serif); font-size: 1.12em; font-weight: 400; }
.now span { font-size: 13.5px; color: var(--mute); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); padding-bottom: clamp(90px, 10vw, 140px); }
.contact h2 { margin-bottom: 28px; }
.contact-copy > p { color: var(--text-2); font-weight: 300; max-width: 30em; }
.email-big { display: inline-block; margin: 22px 0 32px; font: italic 400 clamp(28px, 3.2vw, 42px)/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: color .3s, border-color .3s; word-break: break-word; }
.email-big:hover { color: var(--blue); border-color: var(--blue); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 10px/1 var(--label); font-stretch: 125%; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--text); color: var(--ink); border-color: var(--text); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field-full, .form-foot { grid-column: 1 / -1; }
.field label { font: 500 9.5px/1 var(--label); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.opt { text-transform: none; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 6px;
  padding: 13px 14px; font: 400 16px/1.4 var(--sans);
  transition: border-color .25s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input::placeholder { color: #56606a; }
.field.invalid input, .field.invalid textarea { border-color: var(--rec); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-status { margin: 0; font-size: 14px; color: var(--text-2); }
.form-status a { color: var(--blue); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px var(--gutter) 120px; }
.footer-row { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-eps { font-size: 13.5px; color: var(--mute); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-eps a { color: var(--text-2); text-decoration: none; }
.footer-eps a:hover { color: var(--blue); }
.fine { max-width: var(--max); margin: 18px auto 0; font-size: 12px; color: #5f6973; }

/* ---------- dock (sticky player) ---------- */
.dock {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  width: min(780px, calc(100% - 32px));
  transform: translate(-50%, 140%);
  display: grid; grid-template-columns: 44px minmax(0, 190px) 1fr auto 36px 36px; align-items: center; gap: 14px;
  padding: 10px 14px 10px 10px;
  background: rgba(17, 21, 26, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transition: transform .5s var(--ease);
}
.dock.show { transform: translate(-50%, 0); }
.dock[hidden] { display: grid; visibility: hidden; }
.dock.show[hidden] { visibility: visible; }
.dock-play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--rec); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.dock-play svg { width: 16px; height: 16px; fill: currentColor; grid-area: 1 / 1; }
.dock-info { display: flex; flex-direction: column; min-width: 0; }
.dock-label { font: 500 9px/1.3 var(--label); font-stretch: 125%; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.dock-info b { font: 400 17px/1.25 var(--sans); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-bar { --p: 0%; height: 4px; background: var(--line-2); border-radius: 4px; cursor: pointer; position: relative; touch-action: none; }
.dock-bar::before { content: ""; position: absolute; inset: -12px 0; }
.dock-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--blue); border-radius: 4px; pointer-events: none; }
.dock-knob { position: absolute; top: 50%; left: var(--p); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); transform: scale(0); transition: transform .2s var(--ease); pointer-events: none; }
.dock-bar:hover .dock-knob, .dock-bar.scrubbing .dock-knob { transform: scale(1); }
.dock-time { font: 400 12px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--mute); min-width: 36px; text-align: right; }
.dock-skip { width: 36px; height: 36px; border: 0; background: none; color: var(--text-2); cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.dock-skip:hover { color: var(--text); background: var(--ink-3); }
.dock-skip svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .proof { grid-template-columns: 1fr 1fr; }
  .proof-item.big { grid-column: 1 / -1; }
  .services { grid-template-columns: 1fr 1fr; }
  .lab-grid { grid-template-columns: 1fr 1fr; }
  .lab-photo { grid-column: 1 / -1; }
  .lab-photo img { aspect-ratio: 16 / 9; object-position: 50% 40%; }
  .credits li { grid-template-columns: 90px 1fr 1fr; }
  .c-with { grid-column: 2 / -1; margin-top: -12px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .label { grid-row: auto; padding-top: 0; }
  .reel { grid-template-columns: 52px 1fr 48px; gap: 14px 16px; }
  .reel-wave { grid-column: 1 / -1; height: 44px; order: 4; }
  .services { grid-template-columns: 1fr; }
  .service-no { margin-bottom: 24px; }
  .beyond { grid-template-columns: 1fr; gap: 16px; }
  .videos, .lab-grid { grid-template-columns: 1fr; }
  .work-feature img { aspect-ratio: 4 / 3; }
  .work-feature-copy { left: 20px; right: 20px; bottom: 20px; }
  .credits li { grid-template-columns: 1fr; gap: 6px; }
  .c-with { grid-column: auto; margin-top: 0; }
  .now { grid-template-columns: 1fr; gap: 18px; }
  .now ul { grid-template-columns: 1fr; gap: 16px; }
  .dock { grid-template-columns: 44px 1fr auto 36px 36px; gap: 10px; border-radius: 22px; }
  .dock-bar { grid-column: 1 / -1; order: 5; margin: 4px 6px 6px; }
}
@media (max-width: 520px) {
  .proof { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .quote-lead blockquote { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reel.reveal .bars i { opacity: 1; transform: none; }
  .hero-photo img { transform: none; }
}

/* ---------- v2.1: collapsible credits, caption links ---------- */
.credits:not(.open) li.more { display: none; }
.credits-toggle { margin-top: 26px; background: none; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text); cursor: pointer; padding: 0 0 7px; }
.credits-toggle::after { content: "  ↓"; }
.credits-toggle[aria-expanded="true"]::after { content: "  ↑"; }
.quote figcaption a { color: inherit; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.lab-photo figcaption { padding-top: 16px; }
.lab-photo figcaption h3 { font: 300 24px/1.15 var(--sans); letter-spacing: -.02em; color: var(--text); margin-bottom: 8px; }
.lab-photo figcaption p { font-size: 14.5px; line-height: 1.55; color: var(--mute); margin-bottom: 16px; }
.c-with a { color: var(--text-2); text-decoration-color: var(--blue); text-underline-offset: 3px; }
.eps-logo-link { display: inline-block; transition: opacity .3s; }
.eps-logo-link:hover { opacity: .65; }

/* ---------- v2.1: Harrowphone as a full-width lab feature ---------- */
.lab-grid { grid-template-columns: 1fr 1fr; }
.lab-photo {
  grid-column: 1 / -1; margin-top: 30px;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.lab-photo img { aspect-ratio: 4 / 3; object-position: 50% 45%; }
.lab-photo figcaption { padding: 0; }
.lab-photo figcaption h3 { font: 300 clamp(34px, 3.6vw, 52px)/1.05 var(--sans); letter-spacing: -.03em; margin-bottom: 18px; }
.lab-photo figcaption p:not(.label) { font-size: 16.5px; font-weight: 300; color: var(--text-2); max-width: 32em; margin-bottom: 26px; }
@media (max-width: 860px) {
  .lab-photo { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
}
@media (max-width: 860px) {
  .strings-ui { left: var(--gutter); }
}
@media (max-width: 520px) {
  .inst-from { display: none; }
}

/* stack the big two-column layouts only on phones / small tablets */
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { order: -1; height: 62svh; min-height: 380px; }
  .hero-photo::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(11,13,16,0) 45%); }
  .hero-copy { padding: 28px var(--gutter) 262px; }
  .eps, .about, .contact { grid-template-columns: 1fr; }
  .about-photo { position: static; }
  .about-photo img { aspect-ratio: 16 / 10; }
  .form { grid-template-columns: 1fr; }
}
@media (min-width: 721px) and (max-width: 860px) {
  .hero-copy { padding-top: 120px; padding-left: var(--gutter); }
  .hero h1 { font-size: 40px; }
}

/* ---------- menu fixes ---------- */
.nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); border-bottom-color: transparent; }
.nav-links a.current:not(.btn) { color: var(--text); }
.nav-links a.current:not(.btn)::after { content: ""; display: block; height: 1px; background: var(--blue); margin-top: 6px; }
@media (max-width: 1024px) {
  .nav { padding-left: var(--gutter); padding-right: var(--gutter); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px; overflow-y: auto; padding: 80px 0 40px;
    background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .nav-links a:not(.btn) { font: 300 32px/1 var(--sans); letter-spacing: -.02em; text-transform: none; color: var(--text); }
  .nav-links a.current:not(.btn)::after { margin: 8px auto 0; width: 24px; }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
}

/* invitation above the strings */
.strings-invite { position: absolute; left: var(--edge); right: var(--gutter); bottom: 154px; z-index: 4; margin: 0; pointer-events: none; }
.strings-invite .label { color: var(--blue); margin: 0 0 10px; font-size: 11.5px; letter-spacing: .24em; }
.strings-invite p:not(.label) { margin: 0; font-size: 15px; font-weight: 300; color: var(--text-2); max-width: 46em; }
.hint-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
@media (max-width: 720px) {
  .strings-invite { left: var(--gutter); bottom: 154px; }
  .strings-invite p:not(.label) { font-size: 14px; line-height: 1.5; }
}
