/* Conversational Frequencies — technical / signal-flow theme */
:root {
  --bg: #0a0b0c;
  --bg-2: #111315;
  --panel: #14171a;
  --text: #f2f3f4;
  --dim: #b9bec4;
  --faint: #7a8087;
  --line: rgba(232, 234, 236, 0.09);
  --line-2: rgba(232, 234, 236, 0.28);
  --signal: #ff2b2b;
  --max: 1160px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before { /* soften the grid towards the edges */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 50% 20%, transparent 0%, var(--bg) 85%);
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--signal); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(10,11,12,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.brand { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-decoration: none; display: flex; align-items: center; gap: 12px; white-space: nowrap; text-transform: uppercase; }
.rec { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .14em; color: var(--signal); border: 1px solid rgba(255,43,43,.5); padding: 2px 7px; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.tc { font-size: 12px; color: var(--dim); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.nav { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav a { display: block; text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 6px 10px; border: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--text); border-color: var(--line-2); }
.nav a[aria-current="page"] { color: var(--text); border-color: var(--text); }
.nav .num { color: var(--faint); margin-right: 4px; }

/* ---------- Type ---------- */
.eyebrow, .section-label, .tag, .k { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.eyebrow { margin-bottom: 20px; display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow b { color: var(--signal); font-weight: 400; }
h1, .page-title, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
.hero h1 { font-size: clamp(30px, 8.6vw, 116px); line-height: .92; text-transform: uppercase; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.page-title { font-size: clamp(30px, 7vw, 76px); overflow-wrap: anywhere; line-height: .98; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 6px; }
.lede { max-width: 580px; color: var(--text); font-size: 17px; margin-top: 26px; }
.lede::before { content: "// "; color: var(--faint); }
p + p { margin-top: 12px; }

/* Corner brackets for "technical" framing */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--text); border-style: solid; pointer-events: none; z-index: 2; }
.frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-top: 10px; }
.scope { margin-top: 34px; border: 1px solid var(--line-2); background: rgba(20,23,26,.7); height: 120px; position: relative; }
.scope canvas { width: 100%; height: 100%; display: block; }
.scope .meta { position: absolute; top: 8px; left: 12px; right: 12px; display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .14em; color: var(--dim); }
.fig { border: 1px solid var(--line-2); background: rgba(20,23,26,.7); padding: 22px; }
.fig img { filter: invert(1); opacity: .92; }
.fig figcaption { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 11px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; display: flex; justify-content: space-between; }

.chain { display: flex; align-items: center; gap: 0; margin-top: 30px; flex-wrap: wrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.chain span { border: 1px solid var(--line-2); padding: 5px 10px; background: var(--bg); }
.chain i { width: 34px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.chain i::after { content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 1px; background: var(--signal); animation: flow 1.6s linear infinite; }
@keyframes flow { to { left: 100%; } }
.chain span.live { color: var(--signal); border-color: rgba(255,43,43,.5); }

/* ---------- Sections ---------- */
section { padding: 84px 0; border-top: 1px solid var(--line-2); position: relative; }
.section-label { margin-bottom: 40px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: attr(data-n); color: var(--signal); }
.section-label::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--line-2); background: rgba(20,23,26,.8); padding: 26px; text-decoration: none; display: block; transition: border-color .15s; }
a.card:hover { border-color: var(--text); }
.card .tag { display: block; margin-bottom: 12px; }
.card p { color: var(--dim); font-size: 15px; }

/* ---------- Team / channel strips ---------- */
.team { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.member { text-decoration: none; display: block; border: 1px solid var(--line-2); background: rgba(20,23,26,.9); transition: border-color .2s; }
.member:hover, .member:focus-visible { border-color: var(--text); outline: none; }
.strip-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-2); font-size: 12px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.strip-head .led { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); transition: background .2s, box-shadow .2s; }
.member:hover .led, .member:focus-visible .led { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.9); transition: filter .3s; position: relative; }
.photo::after { /* scanlines */ content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); pointer-events: none; opacity: .6; transition: opacity .3s; }
.member:hover .photo img { filter: grayscale(1) contrast(1.25) brightness(1); }
.member:hover .photo::after { opacity: .25; }
.photo .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 64px; color: var(--faint); letter-spacing: .04em; }
.photo .view { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; background: var(--bg); border: 1px solid var(--text); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.member:hover .view, .member:focus-visible .view { opacity: 1; transform: none; }
.strip-foot { padding: 16px 14px 18px; border-top: 1px solid var(--line-2); }
.member .name { font-family: var(--display); font-size: 24px; line-height: 1.15; }
.member .role { margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.meter { display: flex; gap: 3px; margin-top: 14px; height: 6px; }
.meter span { flex: 1; background: var(--line); transition: background .15s; }
.member:hover .meter span { background: var(--dim); }
.member:hover .meter span:nth-last-child(-n+2) { background: var(--signal); }

.wiring { display: block; width: 100%; height: 150px; margin-top: -2px; overflow: visible; }
.wiring .wire { fill: none; stroke: var(--line-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wiring .pulse { fill: none; stroke: var(--signal); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 6 60; animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -132; } }
.bus { display: flex; justify-content: center; margin-top: -8px; }
.bus .box { border: 1px solid var(--text); padding: 10px 18px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; background: var(--bg); display: flex; gap: 16px; align-items: center; }
.bus .box b { color: var(--signal); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); color: var(--text); background: var(--bg); transition: border-color .15s, background .15s, color .15s; }
.btn:hover { border-color: var(--text); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn-row.center { justify-content: center; }

/* ---------- Data tables (credits, facts, contact) ---------- */
.credits, .facts, .contact-list { list-style: none; border-top: 1px solid var(--line-2); }
.credits li { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.credits .year { color: var(--signal); font-size: 12.5px; }
.credits .year::before { content: "["; color: var(--faint); } .credits .year::after { content: "]"; color: var(--faint); }
.credits .title { font-family: var(--display); font-size: 19px; }
.credits .role { color: var(--dim); font-size: 13px; text-align: right; text-transform: uppercase; letter-spacing: .08em; }
.facts li, .contact-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.facts li > span:last-child { font-size: 14px; }
.contact-list a, .contact-list .v { font-family: var(--display); font-size: 21px; text-decoration: none; }
.contact-list a { border-bottom: 1px solid var(--signal); }
.contact-list a:hover { color: var(--signal); }
.placeholder { outline: 1px dashed rgba(255,43,43,.55); outline-offset: 3px; }

.page-head { padding: 90px 0 64px; position: relative; }

/* ---------- Person page ---------- */
.person { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; padding: 64px 0 60px; }
.person .side { position: sticky; top: 90px; }
.person .side .member { cursor: default; }
.side-doodle { margin: 26px auto 0; display: block; filter: invert(1); opacity: .85; }
.back { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); text-decoration: none; margin-bottom: 26px; }
.back:hover { color: var(--text); }
.facts { margin-top: 32px; }
.others { display: flex; gap: 12px; flex-wrap: wrap; }
.sub { border: 0; padding: 56px 0 0; }

/* ---------- Doodles ---------- */
.doodle { position: absolute; pointer-events: none; filter: invert(1); opacity: .8; }

/* ---------- Blog ---------- */
.post-list { list-style: none; border-top: 1px solid var(--line-2); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 28px 0; text-decoration: none; }
.post-list .date { font-size: 12px; color: var(--signal); padding-top: 6px; letter-spacing: .06em; }
.post-list h3 { font-size: 28px; transition: color .15s; }
.post-list a:hover h3 { color: var(--signal); }
.post-list p { color: var(--text); margin-top: 2px; }
.post-list .by { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }

.article { max-width: 720px; margin: 0 auto; padding: 84px 0 40px; }
.article .meta { color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 22px; }
.article .meta b { color: var(--signal); font-weight: 400; }
.article .page-title { font-size: clamp(34px, 5.5vw, 58px); text-transform: none; line-height: 1.05; }
.prose { margin-top: 48px; font-family: var(--display); font-size: 20px; line-height: 1.7; color: #eceef0; }
.prose p + p { margin-top: 20px; }
.prose h2 { margin-top: 44px; font-size: 28px; color: var(--text); }
.prose blockquote { margin: 36px 0; padding: 18px 22px; border: 1px solid var(--line-2); border-left: 2px solid var(--signal); background: rgba(20,23,26,.8); font-size: 22px; color: var(--text); }
.prose img { margin: 32px 0; border: 1px solid var(--line-2); }
.post-nav { max-width: 720px; margin: 0 auto 50px; padding-top: 28px; border-top: 1px solid var(--line-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-2); padding: 26px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: rgba(10,11,12,.9); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .rec::before, .chain i::after, .wiring .pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .wiring, .bus, .doodle, .tc { display: none; }
  .person { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .person .side { position: static; max-width: 340px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; background-size: 32px 32px; }
  .wrap { padding: 0 16px; }
  .site-header { position: static; }
  .site-header .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .nav { flex-wrap: wrap; margin-left: -10px; }
  .hero { padding: 50px 0 20px; }
  section { padding: 60px 0; }
  .team { grid-template-columns: 1fr; }
  .photo .view { opacity: 1; transform: none; }
  .credits li { grid-template-columns: 1fr; gap: 2px; }
  .credits .role { text-align: left; }
  .post-list a { grid-template-columns: 1fr; gap: 4px; }
  .prose { font-size: 17.5px; }
}

/* ---------- Scroll-reactive waves ---------- */
#waves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body { background-image: linear-gradient(rgba(232,234,236,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(232,234,236,.035) 1px, transparent 1px); }
body::before { z-index: -2; }
.timeline { height: 22px; border-top: 1px solid var(--line); }
.timeline canvas { display: block; width: 100%; height: 100%; }
section, .hero, .page-head { background: transparent; }
.member, .card, .fig, .scope { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@media (max-width: 640px) { .timeline { height: 16px; } }

/* =========================================================
   GRIMOIRE — fantasy writing room (Private page only)
   Same layout & mono labels; red ink, serif titles, star chart.
   ========================================================= */
body.grimoire {
  --signal: #ff2b2b;
  --text: #f2f3f4;
  --dim: #b9bec4;
  --faint: #7a8087;
  --line: rgba(255, 43, 43, 0.10);
  --line-2: rgba(255, 43, 43, 0.32);
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --prose: "Cormorant Garamond", Georgia, serif;
  background-color: #0a0b0c;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(242,243,244,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 67% 9%, rgba(242,243,244,.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 83% 34%, rgba(255,43,43,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 62%, rgba(242,243,244,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 78%, rgba(242,243,244,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 86%, rgba(255,43,43,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 41%, rgba(242,243,244,.3) 50%, transparent 51%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cg fill='none' stroke='%23ff2b2b' stroke-opacity='.10'%3E%3Cpath d='M40 60 L120 95 L170 70 L240 130 L300 110 M240 130 L260 210 L330 250 M60 300 L130 270 L190 330 L260 310'/%3E%3Ccircle cx='330' cy='330' r='60'/%3E%3Ccircle cx='330' cy='330' r='40' stroke-dasharray='2 5'/%3E%3C/g%3E%3Cg fill='%23ff2b2b' fill-opacity='.35'%3E%3Ccircle cx='40' cy='60' r='2'/%3E%3Ccircle cx='120' cy='95' r='2.5'/%3E%3Ccircle cx='170' cy='70' r='1.8'/%3E%3Ccircle cx='240' cy='130' r='2.5'/%3E%3Ccircle cx='300' cy='110' r='1.8'/%3E%3Ccircle cx='260' cy='210' r='2'/%3E%3Ccircle cx='330' cy='250' r='2.2'/%3E%3Ccircle cx='60' cy='300' r='2'/%3E%3Ccircle cx='130' cy='270' r='2.4'/%3E%3Ccircle cx='190' cy='330' r='1.8'/%3E%3Ccircle cx='260' cy='310' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px, 700px 700px, 800px 800px, 500px 500px, 650px 650px, 900px 900px, 550px 550px, 420px 420px;
}
body.grimoire::before { background: radial-gradient(ellipse at 50% 25%, rgba(255,43,43,.06) 0%, transparent 45%, #0a0b0c 95%); }
.grimoire .page-title { font-family: var(--display); font-weight: 500; letter-spacing: .06em; text-transform: none; }
.grimoire .lede { font-family: var(--prose); font-size: 22px; font-style: italic; line-height: 1.5; }
.grimoire .lede::before { content: "\2766  "; font-style: normal; color: var(--signal); }
.grimoire .eyebrow b { color: var(--signal); }
.grimoire .section-label::after { background: linear-gradient(90deg, var(--line-2), transparent); height: 1px; }
.grimoire section { border-top: 0; }
.grimoire section::before {
  content: "\2726"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  color: var(--signal); font-size: 16px; background: #0a0b0c; padding: 0 14px;
}
.grimoire section::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); z-index: -1; }
.grimoire .sigil { position: absolute; right: 28px; top: 50px; width: 210px; height: 210px; fill: none; stroke: var(--signal); stroke-width: .8; opacity: .35; animation: turn 120s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }

/* Manuscript cards: gilded corners, parchment-warm dark */
.grimoire .card.tome {
  background: linear-gradient(180deg, rgba(22,24,27,.92), rgba(14,16,18,.92));
  border: 1px solid var(--line-2);
  position: relative; padding: 32px 28px;
}
.grimoire .card.tome::before, .grimoire .card.tome::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--signal); opacity: .8;
}
.grimoire .card.tome::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.grimoire .card.tome::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.grimoire .card h3 { font-family: var(--display); font-size: 26px; letter-spacing: .04em; margin: 4px 0 10px; }
.grimoire .card p { font-family: var(--prose); font-size: 19px; line-height: 1.5; color: var(--dim); }
.grimoire .card .tag { color: var(--signal); }
.grimoire .card .tag.small { margin: 8px 0 0; color: var(--faint); font-size: 11px; }
.quill { margin-top: 22px; height: 3px; background: rgba(255,43,43,.15); position: relative; }
.quill span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--signal); box-shadow: 0 0 8px rgba(255,43,43,.6); }
.grimoire .nav a[aria-current="page"] { border-color: var(--signal); color: var(--signal); }
.grimoire .rec { color: var(--signal); border-color: rgba(255,43,43,.5); }
.grimoire .rec::before { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.grimoire ::selection { background: var(--signal); color: #0a0b0c; }
@media (max-width: 960px) { .grimoire .sigil { width: 130px; height: 130px; top: 30px; right: 16px; opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .grimoire .sigil { animation: none; } }

/* =========================================================
   LAYOUT D — film-credits, centred (+ Josie's notes:
   team first, smaller scope, bolder labels)
   ========================================================= */
.hero { padding: 120px 0 70px; text-align: center; }
.hero .eyebrow { justify-content: center; margin-bottom: 34px; }
.hero h1 { font-size: clamp(34px, 7.4vw, 100px); letter-spacing: .06em; line-height: 1; }
.hero h1 .outline { letter-spacing: .14em; }
.hero .lede { margin: 34px auto 0; text-align: center; font-family: var(--display); font-size: 20px; letter-spacing: .02em; max-width: 620px; line-height: 1.7; }
.hero .lede::before { content: none; }
.hero .chain { justify-content: center; margin-top: 40px; }

section { padding: 120px 0; }
.section-label { justify-content: center; margin-bottom: 64px; font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: .16em; }
.section-label::after { display: none; }
.section-label::before { content: "\2014  " attr(data-n) "  \2014"; font-weight: 600; }

.team { gap: 44px; }
.strip-head { font-weight: 600; color: var(--text); font-size: 12.5px; }
.member .name { text-align: center; letter-spacing: .02em; }
.member .role { text-align: center; letter-spacing: .22em; }
.strip-foot { padding: 26px 16px 24px; }
.meter { margin-top: 20px; }

.kit .wrap { display: flex; flex-direction: column; align-items: center; gap: 44px; }
.kit .scope { width: 100%; max-width: 520px; height: 84px; margin: 0; }
.kit .fig { width: 100%; max-width: 620px; }

@media (max-width: 640px) {
  .hero { padding: 70px 0 40px; }
  .hero .lede { font-size: 17px; }
  section { padding: 70px 0; }
  .section-label { font-size: 12.5px; margin-bottom: 40px; }
}
/* keep profile-page sub-headings aligned with their lists */
.person .section-label, .post-list-wrap .section-label { justify-content: flex-start; margin-bottom: 32px; }

/* ---------- Kit page ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.kit-cat { display: grid; grid-template-columns: 200px 1fr; border: 1px solid var(--line-2); background: rgba(20,23,26,.85); }
.kit-photo { position: relative; background: var(--bg-2); border-right: 1px solid var(--line-2); min-height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kit-photo span { font-family: var(--display); font-size: 34px; color: var(--faint); letter-spacing: .08em; }
.kit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.kit-body { padding: 22px 24px; }
.kit-code { font-size: 12px; letter-spacing: .16em; color: var(--signal); font-weight: 600; }
.kit-body h3 { margin: 6px 0 14px; }
.kit-list { list-style: none; }
.kit-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kit-list li::before { content: "\25B8  "; color: var(--faint); }
.kit-list li.placeholder { outline: none; }
.kit-list li.placeholder span { outline: 1px dashed rgba(255,43,43,.45); outline-offset: 2px; }
.kit .btn { margin-top: -10px; }
@media (max-width: 960px) { .kit-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .kit-cat { grid-template-columns: 1fr; } .kit-photo { border-right: 0; border-bottom: 1px solid var(--line-2); min-height: 160px; } }

/* ---------- Level meters: slow fill on hover, peak only on the profile page ---------- */
.member .meter span { transition: background .25s ease; }
.member:hover .meter span, .member:focus-visible .meter span { background: var(--line); }
.member:hover .meter span:nth-child(-n+8), .member:focus-visible .meter span:nth-child(-n+8) { background: var(--dim); }
.member:hover .meter span:nth-last-child(-n+2) { background: var(--line); }
.member .meter span:nth-child(1){transition-delay:0s}.member .meter span:nth-child(2){transition-delay:.12s}
.member .meter span:nth-child(3){transition-delay:.24s}.member .meter span:nth-child(4){transition-delay:.36s}
.member .meter span:nth-child(5){transition-delay:.48s}.member .meter span:nth-child(6){transition-delay:.6s}
.member .meter span:nth-child(7){transition-delay:.72s}.member .meter span:nth-child(8){transition-delay:.84s}
.member:not(:hover) .meter span { transition-delay: 0s; }
/* on the person's own page ("open channel") the meter is live and peaks into red */
.person .side .meter span { animation: lvl 2.4s ease-in-out infinite; background: var(--line); }
.person .side .meter span:nth-child(-n+8) { animation-name: lvl-g; }
.person .side .meter span:nth-last-child(-n+2) { animation-name: lvl-r; }
.person .side .meter span:nth-child(1){animation-delay:0s}.person .side .meter span:nth-child(2){animation-delay:.05s}
.person .side .meter span:nth-child(3){animation-delay:.1s}.person .side .meter span:nth-child(4){animation-delay:.15s}
.person .side .meter span:nth-child(5){animation-delay:.2s}.person .side .meter span:nth-child(6){animation-delay:.25s}
.person .side .meter span:nth-child(7){animation-delay:.3s}.person .side .meter span:nth-child(8){animation-delay:.35s}
.person .side .meter span:nth-child(9){animation-delay:.4s}.person .side .meter span:nth-child(10){animation-delay:.45s}
@keyframes lvl-g { 0%,100% { background: var(--line); } 20%,80% { background: var(--dim); } }
@keyframes lvl-r { 0%,40%,100% { background: var(--line); } 50%,62% { background: var(--signal); box-shadow: 0 0 6px var(--signal); } }
.person .side .led { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
@media (prefers-reduced-motion: reduce) { .person .side .meter span { animation: none; } }

/* ---------- Credits grouped by type ---------- */
.credit-group + .credit-group { margin-top: 36px; }
.credit-type { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.credit-type span { font-weight: 400; color: var(--signal); font-size: 11px; border: 1px solid rgba(255,43,43,.45); padding: 0 6px; }
.credits .lang { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--dim); border: 1px solid var(--line-2); padding: 1px 5px; margin-left: 8px; vertical-align: middle; }
.credits li { grid-template-columns: 110px 1fr auto; }

/* =========================================================
   READABILITY PASS — bigger, bolder small text (no squinting)
   ========================================================= */
.k, .facts .k, .contact-list .k { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: .1em; }
.facts li > span:last-child { font-size: 16px; font-weight: 500; }
.eyebrow { font-size: 13.5px; font-weight: 600; letter-spacing: .1em; }
.eyebrow span { color: var(--text); }
.section-label { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: .12em; }
.section-label::before { font-weight: 700; }
.tag, .card .tag { font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.nav a { font-size: 14px; font-weight: 500; color: #d3d7db; letter-spacing: .06em; }
.nav .num { color: var(--dim); }
.tc { font-size: 13.5px; color: var(--text); }
.strip-head { font-size: 13.5px; }
.member .role { font-size: 13px; font-weight: 500; color: #d3d7db; letter-spacing: .12em; }
.credit-type { font-size: 15px; font-weight: 700; }
.credit-type span { font-size: 12.5px; font-weight: 600; }
.credits .year { font-size: 14px; font-weight: 600; }
.credits .title { font-size: 20px; }
.credits .role { font-size: 13.5px; font-weight: 600; color: #d3d7db; letter-spacing: .06em; }
.credits .lang { font-size: 11.5px; font-weight: 600; color: var(--text); }
.chain { font-size: 12.5px; font-weight: 600; }
.chain span { color: var(--text); }
.btn { font-size: 14px; font-weight: 600; }
.back { font-size: 13.5px; font-weight: 600; color: #d3d7db; }
.site-footer { font-size: 13px; color: #c5cacf; }
.scope .meta, .fig figcaption { font-size: 12.5px; color: #c5cacf; }
.kit-list li { font-size: 15.5px; }
.kit-code { font-size: 13.5px; }
.post-list .date { font-size: 14px; font-weight: 600; }
.post-list .by { font-size: 12.5px; font-weight: 600; color: var(--dim); }
.article .meta { font-size: 13.5px; font-weight: 600; }
.grimoire .card .tag.small { font-size: 12.5px; }
@media (max-width: 640px) {
  .nav a { font-size: 13px; padding: 6px 8px; }
  .credits .title { font-size: 18px; }
}

/* =========================================================
   READABILITY PASS 2 — larger text across the whole site
   ========================================================= */
body { font-size: 17px; }
.lede { font-size: 19px; line-height: 1.75; }
.hero .lede { font-size: 22px; }
.k, .facts .k, .contact-list .k { font-size: 15px; }
.facts li > span:last-child { font-size: 18px; }
.facts li, .contact-list li { padding: 16px 0; }
.eyebrow { font-size: 15px; }
.section-label { font-size: 17px; }
.tag, .card .tag { font-size: 14.5px; }
.card p { font-size: 16.5px; }
.nav a { font-size: 15px; }
.tc { font-size: 15px; }
.brand { font-size: 15px; }
.strip-head { font-size: 14.5px; }
.member .name { font-size: 27px; }
.member .role { font-size: 14.5px; }
.credit-type { font-size: 17px; }
.credit-type span { font-size: 14px; }
.credits li { grid-template-columns: 120px 1fr auto; padding: 17px 0; }
.credits .year { font-size: 16px; }
.credits .title { font-size: 22px; }
.credits .role { font-size: 15px; }
.credits .lang { font-size: 13px; padding: 2px 7px; }
.credits .lang.post { color: var(--signal); border-color: rgba(255,43,43,.55); }
.contact-list a, .contact-list .v { font-size: 24px; }
.chain { font-size: 14px; }
.btn { font-size: 15px; padding: 14px 22px; }
.back { font-size: 15px; }
.site-footer { font-size: 14.5px; }
.scope .meta, .fig figcaption { font-size: 14px; }
.kit-list li { font-size: 17px; }
.kit-code { font-size: 15px; }
.post-list .date { font-size: 15.5px; }
.post-list .by { font-size: 14px; }
.post-list p { font-size: 17px; }
.article .meta { font-size: 15px; }
.prose { font-size: 21px; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero .lede { font-size: 18px; }
  .nav a { font-size: 14px; }
  .credits li { grid-template-columns: 1fr; }
  .credits .title { font-size: 20px; }
  .contact-list a, .contact-list .v { font-size: 20px; }
}
.credits .lang { white-space: nowrap; display: inline-block; margin-top: 4px; }

/* ---------- Matching fonts: contact links + credit titles use the same mono as the labels/roles ---------- */
.contact-list a, .contact-list .v {
  font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: .02em;
  border-bottom: 1px solid var(--signal); padding-bottom: 2px;
}
.facts li > span:last-child { font-family: var(--mono); font-size: 18px; }
.credits .title { font-family: var(--mono); font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.credits .year { font-size: 19px; font-weight: 700; }
.credits .role { font-size: 16px; font-weight: 600; }
.credits li { grid-template-columns: 150px 1fr auto; align-items: center; }
.credit-type { font-size: 19px; }
@media (max-width: 640px) {
  .contact-list a, .contact-list .v { font-size: 16px; }
  .credits .title, .credits .year { font-size: 17px; }
  .credits li { grid-template-columns: 1fr; }
}
/* section labels with no number: just a red dash */
.section-label[data-n=""]::before { content: "\2014"; color: var(--signal); }
.person .section-label { gap: 14px; }

/* contact links: no red underline, red on hover */
.contact-list a { border-bottom: 0 !important; padding-bottom: 0; text-decoration: none; transition: color .15s; }
.contact-list a:hover { color: var(--signal); }

/* home team cards: whole frame turns red on hover, no meter */
#team .member { transition: border-color .2s, box-shadow .2s; }
#team .member:hover, #team .member:focus-visible { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 0 22px rgba(255,43,43,.18); }
#team .member:hover .strip-head, #team .member:hover .strip-foot, #team .member:hover .photo { border-color: var(--signal); }
#team .member .meter { display: none; }
#team .member:hover .view { border-color: var(--signal); color: var(--signal); }

/* ---------- Home page refinements ---------- */
body.home .brand { visibility: hidden; }
body.home .hero { padding-bottom: 20px; }
body.home #team { padding-top: 60px; }
body.home .hero .lede { margin-top: 28px; }

.preview { padding: 90px 0; }
.preview .section-label { margin-bottom: 44px; }
.preview-text { text-align: center; font-size: 20px; max-width: 620px; margin: 0 auto; color: var(--text); }
.field-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.field-grid.gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.field-tile { position: relative; display: block; aspect-ratio: 4 / 3; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; text-decoration: none; margin: 0; transition: border-color .2s; }
.field-tile:hover { border-color: var(--signal); }
.field-tile span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; letter-spacing: .2em; color: var(--faint); }
.field-tile span::before { content: "PHOTO "; }
.field-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: transform .5s; }
.field-tile:hover img { transform: scale(1.03); }
.field-tile.drawing img { object-fit: contain; filter: invert(1); padding: 14px; opacity: .9; }
.field-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(10,11,12,.85); font-family: var(--mono); font-size: 13px; }
.post-card { display: block; max-width: 720px; margin: 0 auto; border: 1px solid var(--line-2); padding: 28px 30px; text-decoration: none; background: rgba(20,23,26,.8); transition: border-color .2s; }
.post-card:hover { border-color: var(--signal); }
.post-card .date { font-family: var(--mono); font-size: 14px; color: var(--signal); font-weight: 600; }
.post-card h3 { font-size: 28px; margin: 8px 0; }
.post-card p { color: var(--dim); font-size: 17px; }
.post-card .more { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .field-grid, .field-grid.gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .field-grid, .field-grid.gallery { grid-template-columns: 1fr; } }
.nav a { white-space: nowrap; }
.field-tile span::before { content: "PHOTO\00a0"; }

/* ---------- Worked together posters ---------- */
.together-sec { padding: 80px 0; }
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pw { border: 1px solid var(--line-2); background: rgba(20,23,26,.85); transition: border-color .2s, box-shadow .2s; }
.pw .img { aspect-ratio: 3 / 4; overflow: hidden; background: #111; }
.pw .img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05) brightness(.9); transition: filter .4s, transform .5s; }
.pw:hover { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 0 22px rgba(255,43,43,.2); }
.pw:hover .img img { filter: none; transform: scale(1.03); }
.pw .meta { padding: 14px 16px 16px; border-top: 1px solid var(--line-2); }
.pw .yr { font-family: var(--mono); font-weight: 700; color: var(--signal); font-size: 15px; }
.pw h4 { font-family: var(--mono); font-size: 18px; font-weight: 700; margin: 4px 0 2px; }
.pw p { font-family: var(--mono); font-size: 13.5px; color: #c9cdd1; text-transform: uppercase; letter-spacing: .08em; }
.ptag { font-family: var(--mono); font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); padding: 2px 7px; margin: 8px 6px 0 0; display: inline-block; white-space: nowrap; }
.ptag.r { color: var(--signal); border-color: rgba(255,43,43,.55); }
@media (max-width: 900px) { .posters { grid-template-columns: repeat(2, 1fr); } }
@media (hover: none) { .pw .img img { filter: none; } }

/* ---------- SoundCloud player ---------- */
.sc-wrap { margin-top: 28px; border: 1px solid var(--line-2); background: rgba(20,23,26,.85); padding: 16px; }
.sc-label { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin-bottom: 12px; }
.sc-wrap iframe { display: block; border: 0; }
.sc-more { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.sc-more:hover { color: var(--signal); }

/* ---------- IMDb link ---------- */
.imdb-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; text-decoration: none; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d3d7db; }
.imdb-badge { font-family: Arial, sans-serif; font-weight: 900; font-size: 15px; letter-spacing: -.02em; text-transform: none; color: var(--bg); background: var(--text); padding: 3px 7px; border-radius: 3px; transition: background .2s; }
.imdb-link:hover { color: var(--signal); }
.imdb-link:hover .imdb-badge { background: var(--signal); color: #fff; }

/* ---------- Custom dark SoundCloud player ---------- */
.sc-frame.sc-hidden { position: absolute; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; }
.sc-wrap { position: relative; }
.scp-now { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 8px 0 18px; border-bottom: 1px solid var(--line-2); }
.scp-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--signal); background: transparent; color: var(--signal); font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.scp-btn:hover, .playing .scp-btn { background: var(--signal); color: #fff; }
.scp-title { font-family: var(--mono); font-size: 17px; font-weight: 700; display: block; margin-bottom: 10px; }
.scp-bar { height: 3px; background: var(--line-2); }
.scp-bar i { display: block; height: 100%; width: 0; background: var(--signal); box-shadow: 0 0 6px var(--signal); }
.scp-time { font-family: var(--mono); font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.scp-list { list-style: none; max-height: 340px; overflow-y: auto; margin-top: 6px; }
.scp-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; padding: 11px 4px; border-bottom: 1px solid var(--line); cursor: pointer; font-family: var(--mono); font-size: 15px; transition: color .15s; }
.scp-list li:hover, .scp-list li.on { color: var(--signal); }
.scp-list .n { color: var(--faint); }
.scp-list li.on .n::before { content: "\25B6"; color: var(--signal); }
.scp-list li.on .n { font-size: 0; }
.scp-list li.on .n::before { font-size: 12px; }
.scp-list .d { color: var(--dim); font-variant-numeric: tabular-nums; }

/* ---------- SoundCloud: never show both players ---------- */
.scp[hidden] { display: none !important; }
.sc-frame.sc-hidden { position: absolute !important; left: -9999px; width: 1px !important; height: 0 !important; }

/* ---------- Home hero: fills the screen, smaller title, breathing letter-spacing ---------- */
body.home .hero { min-height: calc(100vh - 84px); display: flex; align-items: center; justify-content: center; padding: 40px 0; }
body.home .hero .wrap { width: 100%; }
body.home .hero h1 { font-size: clamp(30px, 5.4vw, 76px); line-height: 1.05; }
body.home .hero h1 .l1 { letter-spacing: .06em; animation: stretch1 7s ease-in-out infinite; display: inline-block; }
body.home .hero h1 .l2 { letter-spacing: .14em; animation: stretch2 7s ease-in-out infinite; display: inline-block; }
@keyframes stretch1 { 0%, 100% { letter-spacing: .06em; } 45%, 55% { letter-spacing: .2em; } }
@keyframes stretch2 { 0%, 100% { letter-spacing: .14em; } 45%, 55% { letter-spacing: .32em; } }
body.home .hero .lede { font-size: 19px; }
body.home #team { padding-top: 90px; }
@media (max-width: 640px) {
  body.home .hero { min-height: calc(100vh - 120px); }
  @keyframes stretch1 { 0%, 100% { letter-spacing: .04em; } 50% { letter-spacing: .1em; } }
  @keyframes stretch2 { 0%, 100% { letter-spacing: .1em; } 50% { letter-spacing: .18em; } }
}
@media (prefers-reduced-motion: reduce) { body.home .hero h1 span { animation: none; } }

/* ---------- Home: heading + channels all visible on first screen ---------- */
body.home .hero { min-height: 0; display: block; padding: 5vh 0 1vh; }
body.home .hero .eyebrow { margin-bottom: 2vh; }
body.home .hero h1 { font-size: clamp(28px, min(4.6vw, 7vh), 68px); }
body.home .hero .lede { margin-top: 1.6vh; font-size: 17px; line-height: 1.6; }
body.home #team { padding-top: 3vh; border-top: 0; }
body.home #team::before { display: none; }
body.home #team .section-label { margin-bottom: 2.4vh; }
body.home #team .team { max-width: 980px; margin: 0 auto; gap: 26px; }
body.home #team .photo { aspect-ratio: auto; height: clamp(150px, 27vh, 300px); }
body.home #team .strip-head { padding: 8px 14px; }
body.home #team .strip-foot { padding: 12px 14px 14px; }
body.home #team .member .name { font-size: 22px; }
body.home #team .photo .initials { font-size: 52px; }
@media (max-width: 900px) {
  body.home #team .photo { height: 240px; }
}
body.home #team .photo { height: clamp(110px, calc(100vh - 575px), 290px); }
body.home #team .member .role { font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
body.home #team .strip-foot { padding: 10px 12px 12px; }
@media (max-height: 800px) {
  body.home .hero { padding-top: 3vh; }
  body.home .hero .eyebrow { margin-bottom: 1.2vh; }
  body.home #team { padding-top: 2vh; }
  body.home #team .section-label { margin-bottom: 1.6vh; }
}
@media (max-width: 900px) { body.home #team .photo { height: 240px; } body.home #team .member .role { white-space: normal; } }

/* ---------- Home: channel expands to 3:4 portrait on hover ---------- */
body.home #team .team { align-items: start; }
body.home #team .photo { transition: height .5s cubic-bezier(.2,.7,.2,1); }
body.home #team .member.open { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 0 26px rgba(255,43,43,.22); }
body.home #team .member.open .strip-head, body.home #team .member.open .strip-foot, body.home #team .member.open .photo { border-color: var(--signal); }
/* tighter gap under the waveform */
body.home .hero { padding-top: 2.2vh; }
body.home .hero .eyebrow { margin-bottom: 1.6vh; }

/* ---------- Live team wiring ---------- */
#team .wrap { position: relative; }
.wiring.live { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; height: auto; margin: 0; z-index: 0; }
#team .team, #team .bus, #team .btn-row { position: relative; z-index: 1; }
.wiring-space { height: 96px; }
.wiring.live .wire { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.wiring.live .pulse { fill: none; stroke: var(--signal); stroke-width: 1.4; stroke-dasharray: 6 60; animation: dash 2.4s linear infinite; }
.bus { margin-top: 0; }
@media (max-width: 960px) { .wiring-space { display: none; } }

/* ---------- Master fader = Contact button ---------- */
.bus .box.master { flex-direction: column; gap: 12px; padding: 16px 30px 18px; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: .2em; cursor: pointer; transition: background .25s ease .45s, border-color .25s ease .45s, color .25s ease .45s, box-shadow .25s ease .45s; }
.master small { font-size: 11px; color: var(--dim); letter-spacing: .24em; transition: color .25s ease .45s; }
.master .fader { position: relative; width: 190px; height: 8px; background: #000; border: 1px solid var(--line-2); transition: border-color .25s ease .45s; }
.master .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--signal); transition: width .5s cubic-bezier(.3,.7,.2,1), background .25s ease .45s; }
.master .fader i { position: absolute; top: -10px; left: 0; width: 14px; height: 28px; margin-left: -1px; background: linear-gradient(90deg,#9aa0a6,#eceef0 45%,#8a8f94); border: 1px solid #000; transition: left .5s cubic-bezier(.3,.7,.2,1), background .25s ease .45s; }
.master .fader i::after { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); background: #111; }
.master:hover, .master:focus-visible { background: var(--signal); border-color: var(--signal); color: #fff; box-shadow: 0 0 26px rgba(255,43,43,.45); outline: none; }
.master:hover small, .master:focus-visible small { color: #fff; }
.master:hover .fill, .master:focus-visible .fill { width: 100%; background: #000; }
.master:hover .fader, .master:focus-visible .fader { border-color: #000; }
.master:hover .fader i, .master:focus-visible .fader i { left: calc(100% - 13px); background: #0a0a0a; }
.master:hover .fader i::after { background: var(--signal); }
@media (hover: none) { .master .fill { width: 66%; } .master .fader i { left: calc(66% - 7px); } }

/* ---------- Master fader: option A — box stays dark, red frame + red CONTACT, knob stays silver ---------- */
.master:hover, .master:focus-visible { background: var(--bg) !important; color: var(--text) !important; border-color: var(--signal) !important; box-shadow: 0 0 0 1px var(--signal), 0 0 24px rgba(255,43,43,.3) !important; }
.master:hover small, .master:focus-visible small { color: var(--dim) !important; }
.master:hover .fill, .master:focus-visible .fill { background: var(--signal) !important; }
.master:hover .fader, .master:focus-visible .fader { border-color: var(--line-2) !important; }
.master:hover .fader i, .master:focus-visible .fader i { background: linear-gradient(90deg,#9aa0a6,#eceef0 45%,#8a8f94) !important; }
.master:hover .fader i::after { background: #111 !important; }
.master .lab { transition: color .25s ease .45s; }
.master:hover .lab, .master:focus-visible .lab { color: var(--signal); }

/* ---------- Header: menu on the left, red REC timecode display on the right ---------- */
.site-header .wrap { justify-content: flex-start; gap: 28px; }
body.home .brand { display: none; }
.site-header nav { margin-right: auto; }
.site-header .nav { margin-left: -10px; }
.recbox { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--signal); background: #140404; border: 1px solid rgba(255,43,43,.45); padding: 6px 14px; text-shadow: 0 0 6px rgba(255,43,43,.6); white-space: nowrap; }
.recbox i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: blink 1.6s steps(1) infinite; }
.recbox .tc { color: var(--signal) !important; font-size: 15px !important; margin-left: 10px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .site-header .brand { display: none; } }
@media (max-width: 960px) { .recbox { display: none; } }
@media (prefers-reduced-motion: reduce) { .recbox i { animation: none; } }
.site-header .wrap { max-width: 1320px; gap: 22px; }

/* ---------- Doodle animation + colour on hover ---------- */
.doodle-anim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background-size: cover; background-position: center; opacity: 0; transition: opacity .25s; }
.doodle-anim.on { opacity: 1; }
#team .member:hover .photo img, #team .member:focus-visible .photo img, #team .member.open .photo img { filter: none !important; }
#team .member:hover .photo::after, #team .member.open .photo::after { opacity: 0; }
@media (hover: none) { #team .photo img { filter: none; } }
