/* 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; } }
/* Daniel's photo: keep his face in view when the card is short */
#team a[href="daniel-vopalka.html"] .photo img { object-position: center 88%; }
#team a[href="daniel-vopalka.html"] .doodle-anim { background-position: center 88%; }

/* ---------- Photos: hide initials once the photo has loaded, white backdrop ---------- */
.photo.has-photo { background: #fff; }
.photo.has-photo .initials { display: none; }
.photo img { z-index: 1; }
.photo .doodle-anim { z-index: 2; }
.photo .view { z-index: 3; }

/* team grid keeps its resting height; an expanded card overlaps the wiring space */
#team .team { overflow: visible; }
#team .member { position: relative; z-index: 2; }
#team .member.open { z-index: 3; }
/* "Work together" sits ~1 cm under the master */
body.home #team { padding-bottom: 0; }
body.home .together-sec { padding-top: 38px; border-top: 0; }
body.home .together-sec::before { display: none; }
body.home #team .btn-row { display: none; }

/* ---------- Contact form ---------- */
.cf-sec { padding-top: 60px; }
.cf { max-width: 760px; margin: 0 auto; border: 1px solid var(--line-2); background: rgba(20,23,26,.85); padding: 30px 32px; }
.cf label { display: block; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 8px; }
.cf label i { color: var(--signal); font-style: normal; }
.cf input, .cf textarea { width: 100%; background: #0d0f11; border: 1px solid #3a3f45; color: var(--text); font-family: var(--mono); font-size: 16px; padding: 14px 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.cf input::placeholder, .cf textarea::placeholder { color: #6b7178; }
.cf input:focus, .cf textarea:focus { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.cf textarea { height: 190px; resize: vertical; }
.cf .row { margin-bottom: 20px; }
.cf .actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cf .send { font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--signal); color: #fff; border: 1px solid var(--signal); padding: 14px 34px; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: background .2s, color .2s; }
.cf .send::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.cf .send:hover { background: transparent; color: var(--signal); }
.cf .send:hover::before { background: var(--signal); }
.cf .note { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-sent { max-width: 760px; margin: 0 auto 18px; border: 1px solid var(--signal); color: var(--text); font-family: var(--mono); font-size: 15px; padding: 14px 18px; background: rgba(255,43,43,.08); }
.cf-sent[hidden] { display: none; }
body.home .together-sec { padding-top: 22px; }

/* ---------- Credits: show 4 per category, "See all" expands the rest ---------- */
.more-credits > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text); transition: color .2s; }
.more-credits > summary::-webkit-details-marker { display: none; }
.more-credits > summary:hover { color: var(--signal); }
.more-credits .chev { font-style: normal; color: var(--signal); font-size: 20px; line-height: 1; transform: translateY(-4px); transition: transform .25s; display: inline-block; }
.more-credits[open] .chev { transform: rotate(180deg) translateY(-2px); }
.more-credits .lbl-close { display: none; }
.more-credits[open] .lbl-open { display: none; }
.more-credits[open] .lbl-close { display: inline; }
.more-credits[open] > summary { order: 2; }
.more-credits > .credits { border-top: 0; }
.more-credits[open] { display: flex; flex-direction: column; }
/* Work together: 2 cm below the master, posters 1 cm below the heading */
body.home .together-sec { padding-top: 76px; }
body.home .together-sec .section-label { margin-bottom: 38px; }

/* ---------- Home hero: text on the left, crew logo on the right ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.home .hero.hero-split { text-align: left; padding: 7vh 0 5vh; }
body.home .hero-split .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
body.home .hero-split .eyebrow { justify-content: flex-start; margin-bottom: 26px; }
body.home .hero-split .hero-head { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4vw, 58px); line-height: 1.06; letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
body.home .hero-split .lede { text-align: left; margin: 26px 0 0; max-width: 540px; font-size: 18px; line-height: 1.65; }
body.home .hero-split .btn-row { margin-top: 34px; }
body.home .hero-split .hero-logo { display: flex; justify-content: center; }
body.home .hero-split .hero-logo img { width: 100%; max-width: 440px; height: auto; display: block; }
@media (max-width: 860px) {
  body.home .hero-split .wrap { grid-template-columns: 1fr; gap: 34px; }
  body.home .hero-split .hero-logo { order: -1; }
  body.home .hero-split .hero-logo img { max-width: 290px; }
}

/* ---------- Header timecode: calm TC, turns into red REC on hover ---------- */
.recbox { color: var(--text); background: transparent; border-color: var(--line-2); text-shadow: none; transition: color .2s, background .2s, border-color .2s, text-shadow .2s; cursor: default; }
.recbox .tc { color: var(--text) !important; transition: color .2s; }
.recbox i { width: 0; margin-right: -8px; opacity: 0; transition: width .2s, margin .2s, opacity .2s; }
.recbox .lb b { font-weight: 600; }
.recbox .lb .r { display: none; }
.recbox:hover { color: var(--signal); background: #140404; border-color: rgba(255,43,43,.45); text-shadow: 0 0 6px rgba(255,43,43,.6); }
.recbox:hover .tc { color: var(--signal) !important; }
.recbox:hover i { width: 8px; margin-right: 0; opacity: 1; }
.recbox:hover .lb .t { display: none; }
.recbox:hover .lb .r { display: inline; }

/* ---------- Hero v2: questions on the left, smaller logo on the right, team visible below ---------- */
body.home .hero.hero-split { padding: 5vh 0 2vh; }
body.home .hero-split .wrap { grid-template-columns: 1.3fr .7fr; gap: 40px; max-width: 1100px; }
body.home .hero-split .hero-head { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.15; }
body.home .hero-split .hero-head .hl { color: var(--signal); }
body.home .hero-split .btn-row { margin-top: 30px; }
body.home .hero-split .hero-logo img { max-width: 270px; }
@media (max-width: 860px) {
  body.home .hero-split .wrap { grid-template-columns: 1fr; gap: 26px; }
  body.home .hero-split .hero-logo img { max-width: 210px; }
}
@media (min-width: 861px) { body.home .hero-split .hero-head { white-space: nowrap; font-size: clamp(28px, 3vw, 46px); } body.home .hero-split .wrap { grid-template-columns: 1.4fr .6fr; } }
@media (max-width: 860px) { body.home .hero-split .hero-head { font-size: 25px; } }
/* chunkier hero questions, still clean */
body.home .hero-split .hero-head { font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
@media (min-width: 861px) { body.home .hero-split .hero-head { font-size: clamp(30px, 3.2vw, 50px); } }
@media (max-width: 860px) { body.home .hero-split .hero-head { font-size: 26px; } }
/* red channel numbers in the menu */
.nav .num { color: var(--signal) !important; }

/* ---------- Team cards: linocut crew figure at rest, B&W photo + doodle on hover ---------- */
.photo { background: #111314; }
.photo img.crewfig { position: absolute; inset: 3% 2% 2%; width: 96%; height: 95%; object-fit: contain; filter: none !important; opacity: 1; z-index: 3; transition: opacity .3s; pointer-events: none; }
.photo .initials { display: none; }
.photo img:not(.crewfig) { opacity: 0; transition: opacity .3s; }
.member:hover .photo.has-photo img.crewfig, .member:focus-visible .photo.has-photo img.crewfig, .member.open .photo.has-photo img.crewfig { opacity: 0; }
.member:hover .photo img:not(.crewfig), .member:focus-visible .photo img:not(.crewfig), .member.open .photo img:not(.crewfig) { opacity: 1; filter: grayscale(1) contrast(1.05) !important; }
@media (hover: none) { .photo img:not(.crewfig) { filter: grayscale(1) !important; } }
.photo.has-photo { background: #111314 !important; }
#team .member:hover .photo img:not(.crewfig), #team .member:focus-visible .photo img:not(.crewfig), #team .member.open .photo img:not(.crewfig),
.member:hover .photo.has-photo img:not(.crewfig) { filter: grayscale(1) contrast(1.05) !important; }

/* ---------- Timecode is the hidden door to the private page ---------- */
a.recbox { text-decoration: none; cursor: pointer; }
@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; }
  a.recbox { display: inline-flex !important; font-size: 13px; padding: 5px 10px; }
  a.recbox .tc { font-size: 13px !important; }
}

/* ---------- Mobile hero order: questions, logo, buttons ---------- */
@media (max-width: 860px) {
  body.home .hero-split .hero-copy { display: contents; }
  body.home .hero-split .hero-head { order: 1; }
  body.home .hero-split .hero-logo { order: 2; }
  body.home .hero-split .btn-row { order: 3; margin-top: 0; }
}
@media (max-width: 960px) {
  .site-header .wrap { position: relative; }
  a.recbox .tc { display: inline !important; margin-left: 6px; }
  a.recbox { position: absolute; right: 16px; bottom: 12px; }
}

/* ---------- Kit page: linocut tiles, hover expands into the gear list ---------- */
.kit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kit-card { border: 1px solid var(--line-2); background: #111314; display: flex; flex-direction: column; outline: none; transition: border-color .2s, box-shadow .2s; }
.kit-card .strip-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--text); }
.kit-card .strip-head span:first-child { color: var(--signal); }
.kit-card .led { width: 7px; height: 7px; border-radius: 50%; background: #555; }
.kit-body { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.kit-body img { width: 100%; height: 100%; display: block; transition: opacity .3s, transform .3s; }
.kit-list { position: absolute; inset: 0; padding: 22px 22px 18px; background: #111314; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; overflow: auto; }
.kit-list .kl-h { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); margin: 0 0 14px; }
.kit-list ul { list-style: none; margin: 0; padding: 0; }
.kit-list li { font-family: var(--display); font-size: 18px; line-height: 1.35; color: var(--text); padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); position: relative; }
.kit-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 9px; height: 9px; background: var(--signal); }
.kit-foot { border-top: 1px solid var(--line-2); padding: 12px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.kit-card.has-list { cursor: pointer; }
.kit-card.has-list:hover, .kit-card.has-list:focus-visible, .kit-card.has-list.open { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal), 0 0 24px rgba(255,43,43,.18); }
.kit-card.has-list:hover .led, .kit-card.has-list:focus-visible .led, .kit-card.has-list.open .led { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.kit-card.has-list:hover .kit-list, .kit-card.has-list:focus-visible .kit-list, .kit-card.has-list.open .kit-list { opacity: 1; transform: none; }
.kit-card.has-list:hover .kit-body img, .kit-card.has-list:focus-visible .kit-body img, .kit-card.has-list.open .kit-body img { opacity: 0; transform: scale(.94); }
@media (max-width: 1000px) { .kit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .kit-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .kit-list li { font-size: 15px; } .kit-list { padding: 14px; } }
@media (max-width: 720px) {
  .kit-card.open { grid-column: 1 / -1; }
  .kit-card.open .kit-body { aspect-ratio: auto; }
  .kit-card.open .kit-list { position: relative; inset: auto; }
  .kit-card.open .kit-body img { display: none; }
}

/* ---------- Kit on phones: icon on top, list underneath (4 items, then "See all") ---------- */
.kit-more { display: none; }
@media (max-width: 720px) {
  .kit-card.has-list { grid-column: 1 / -1; cursor: default; }
  .kit-card.has-list .kit-body { aspect-ratio: auto; overflow: visible; }
  .kit-card.has-list .kit-body img, .kit-card.has-list.open .kit-body img { display: block; opacity: 1 !important; transform: none !important; width: 62%; height: auto; margin: 6px auto 0; }
  .kit-card.has-list .kit-list, .kit-card.has-list.open .kit-list { position: static; inset: auto; opacity: 1; transform: none; overflow: visible; padding: 4px 18px 16px; border-top: 1px solid var(--line); }
  .kit-card.has-list .kit-list .kl-h { margin-top: 14px; }
  .kit-card.has-list:hover, .kit-card.has-list.open { box-shadow: none; border-color: var(--line-2); }
  .kit-list li.more { display: none; }
  .kit-card.showall .kit-list li.more { display: block; }
  .kit-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: transparent; border: 1px solid var(--line-2); color: var(--text); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }
  .kit-more:hover { border-color: var(--signal); color: var(--signal); }
}

/* ---------- Contact: someone at a laptop sends a paper plane over the form to the film camera ---------- */
.cf-stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 760px) 1fr; align-items: center; gap: 28px; padding-top: 70px; }
.cf-stage .cf { margin: 0; width: 100%; position: relative; z-index: 2; }
.cf-side { display: flex; justify-content: center; align-items: center; position: relative; z-index: 2; }
.cf-side img { width: 100%; max-width: 230px; height: auto; display: block; }
.cf-arc { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.cf-arc path { fill: none; stroke: #ece6d8; stroke-width: 3; stroke-dasharray: 14 12; vector-effect: non-scaling-stroke; opacity: .85; }
.cf-plane { position: absolute; left: 50%; top: 14px; width: 92px; transform: translateX(-50%) rotate(-4deg); z-index: 3; animation: cfplane 3.2s ease-in-out infinite; }
@keyframes cfplane { 0%,100% { transform: translate(-50%, 0) rotate(-4deg); } 50% { transform: translate(-46%, -6px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .cf-plane { animation: none; } }
@media (max-width: 1100px) { .cf-stage { grid-template-columns: 1fr; padding-top: 0; } .cf-side, .cf-arc, .cf-plane { display: none; } }
@media (min-width: 1101px) { .cf-sec .wrap { max-width: 1360px; } .cf-side img { max-width: 220px; } }
.cf-side.r img { max-width: 390px; width: 128%; margin-right: -14%; }
.cf-side.l img { max-width: 175px; }
.cf-side.r img { max-width: 190px; width: 100%; margin-right: 0; }

/* ---------- Blog: posts as clapper slates. Unread = white slate, read = red slate ---------- */
.slates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; }
.slate { --ink: #0a0b0c; --paper: #ece6d8; --red: #ff2b2b; display: block; text-decoration: none; color: var(--paper); position: relative; padding-top: 16px; }
.sl-stick { display: flex; height: 36px; border: 3px solid var(--paper); overflow: hidden; transform-origin: 0 100%; transform: rotate(-9deg); transition: transform .25s cubic-bezier(.5,1.6,.5,1), border-color .3s; clip-path: polygon(0 4%, 100% 0, 99% 100%, 1% 96%); }
.sl-stick i { flex: 1; background: var(--paper); transform: skewX(-28deg); margin: 0 -4px; transition: background .3s; }
.sl-stick i:nth-child(even) { background: var(--ink); }
.sl-body { display: block; position: relative; margin-top: 4px; border: 3px solid var(--paper); background: var(--ink); padding: 16px 20px 24px; clip-path: polygon(0 1%, 100% 0, 99.5% 100%, .5% 99%); transition: background .3s, border-color .3s, color .3s; }
.sl-row { display: flex; justify-content: space-between; border-bottom: 2px solid var(--paper); padding: 7px 0; font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; transition: border-color .3s; }
.sl-row b { color: var(--red); transition: color .3s; }
.sl-t { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.2; margin: 16px 0 8px; }
.sl-s { display: block; font-family: var(--mono); font-size: 14px; line-height: 1.6; opacity: .85; }
.sl-by { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; opacity: .7; }
.sl-btn { position: absolute; right: 16px; bottom: 16px; width: 18px; height: 18px; background: var(--red); transition: background .3s; }
.slate:hover .sl-stick, .slate:focus-visible .sl-stick { transform: rotate(0deg); }
/* read: colours invert, the slate turns red and the button turns paper */
.slate.read .sl-body { background: var(--red); border-color: var(--red); color: var(--ink); }
.slate.read .sl-row { border-color: var(--ink); }
.slate.read .sl-row b { color: var(--ink); }
.slate.read .sl-stick { border-color: var(--red); }
.slate.read .sl-stick i:nth-child(odd) { background: var(--red); }
.slate.read .sl-btn { background: var(--paper); }
.sl-note { margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.sl-note::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red, #ff2b2b); margin-right: 10px; vertical-align: -1px; }
@media (max-width: 1000px) { .slates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .slates { grid-template-columns: 1fr; } }

/* ---------- Slates v2: thick white lines, striped stick + striped bar, only the stripes turn red once read ---------- */
.slate { padding-top: 22px; }
.sl-stick, .sl-bar { display: flex; height: 34px; border: 4px solid var(--paper); overflow: hidden; position: relative; }
.sl-stick { transform-origin: 3px 100%; transform: rotate(-10deg); clip-path: none; }
.sl-bar { margin-top: 3px; }
.sl-stick i, .sl-bar i { flex: 1; background: var(--paper); transform: skewX(-28deg); margin: 0 -4px; transition: background .3s; }
.sl-bar i { transform: skewX(28deg); }
.sl-stick i:nth-child(even), .sl-bar i:nth-child(even) { background: var(--ink); }
.sl-hinge { position: absolute; left: -4px; top: 44px; width: 16px; height: 28px; background: var(--paper); }
.sl-body { margin-top: 0; border: 4px solid var(--paper); border-top: 0; clip-path: none; padding: 6px 20px 20px; }
.sl-row { border-bottom: 3px solid var(--paper); padding: 10px 0; }
.sl-trow { display: block; }
.sl-trow .sl-t { margin: 2px 0 0; letter-spacing: 0; font-family: var(--display); }
.sl-s { padding: 14px 0; border-bottom: 3px solid var(--paper); }
.sl-brow { border-bottom: 0; padding-bottom: 0; }
.sl-brow b { color: var(--paper); letter-spacing: .06em; font-weight: 600; }
.sl-btn, .sl-by { display: none; }
/* read: body stays the same, only the slating goes red */
.slate.read .sl-body { background: var(--ink); border-color: var(--paper); color: var(--paper); }
.slate.read .sl-row { border-color: var(--paper); }
.slate.read .sl-row b { color: var(--red); }
.slate.read .sl-brow b { color: var(--paper); }
.slate.read .sl-stick { border-color: var(--paper); }
.slate.read .sl-stick i:nth-child(odd), .slate.read .sl-bar i:nth-child(odd) { background: var(--red); }

/* ---------- Slates v3: closed until read, opens + whole outline turns red once read ---------- */
.slate { padding-top: 26px; --line: var(--paper); }
.sl-stick { transform: rotate(0deg); transition: transform .3s cubic-bezier(.5,1.6,.5,1), border-color .3s; }
.slate:hover .sl-stick, .slate:focus-visible .sl-stick { transform: rotate(-7deg); }
.slate.read .sl-stick { transform: rotate(-11deg); }
.slate.read:hover .sl-stick { transform: rotate(-4deg); }
.sl-stick, .sl-bar { border-color: var(--line); }
.sl-bar { margin-top: 0; border-top-width: 2px; }
.sl-body { border-color: var(--line); }
.sl-row, .sl-s { border-color: var(--line) !important; }
.sl-stick i, .sl-bar i { background: var(--line); }
.sl-stick i:nth-child(even), .sl-bar i:nth-child(even) { background: var(--ink); }
/* hinge plate with three rivets, over the left ends of the stick and the bar */
.sl-hinge { left: -6px; top: 18px; width: 50px; height: 82px; background: var(--line); clip-path: polygon(0 4%, 70% 0, 100% 34%, 96% 100%, 4% 98%); z-index: 3; transition: background .3s; }
.sl-hinge i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.sl-hinge i:nth-child(1) { left: 12px; top: 12px; }
.sl-hinge i:nth-child(2) { left: 30px; top: 50px; }
.sl-hinge i:nth-child(3) { left: 12px; top: 62px; }
/* scene + date share one row */
.sl-sd { display: flex; justify-content: space-between; gap: 12px; }
.sl-sd .c { white-space: nowrap; }
.sl-sd .c + .c { border-left: 3px solid var(--line); padding-left: 14px; }
.sl-sd b { margin-left: 8px; }
/* read: every white line of the slate turns red, text stays */
.slate.read { --line: var(--red); }
.slate.read .sl-body { border-color: var(--red); }
.slate.read .sl-stick i:nth-child(odd), .slate.read .sl-bar i:nth-child(odd) { background: var(--red); }
.slate.read .sl-row b { color: var(--red); }
.slate.read .sl-stick, .slate.read .sl-bar { border-color: var(--red); }
.sl-s { border-bottom: 0 !important; padding-bottom: 4px; }

/* ---------- Blog post: report file with the linocut character + reading fader ---------- */
.rpt-wrap { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 60px; justify-content: center; padding: 56px 0 20px; }
.rpt-side { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.rpt-fader { --p: 0%; position: relative; width: 10px; height: 320px; background: #2a2d30; }
.rpt-fader .fill { position: absolute; left: 0; right: 0; top: 0; height: var(--p); background: var(--signal); }
.rpt-fader i { position: absolute; left: -12px; top: calc(var(--p) - 12px); width: 34px; height: 24px; background: #ece6d8; }
.rpt-fader em { position: absolute; left: 30px; top: calc(var(--p) - 8px); font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--signal); white-space: nowrap; }
.rpt-fig { width: 100%; max-width: 200px; }
.rpt-main .back { display: inline-block; margin-bottom: 22px; }
.rpt-eb { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; margin: 0 0 22px; }
.rpt-eb b { color: var(--signal); margin-right: 8px; }
.rpt { border: 3px solid #ece6d8; padding: 26px 32px 30px; }
.rpt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 3px solid #ece6d8; padding-bottom: 12px; }
.rpt-h h1 { font-family: var(--mono); font-size: 15px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin: 0; }
.rpt-h span { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--signal); white-space: nowrap; }
.rpt-meta { width: 100%; border-collapse: collapse; margin: 12px 0 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; }
.rpt-meta td { border-bottom: 1px solid var(--line); padding: 9px 6px; }
.rpt-meta td:nth-child(odd) { color: #8b9196; width: 17%; white-space: nowrap; }
.rpt-meta td:nth-child(even) { color: #ece6d8; font-weight: 700; }
.rpt-story { border-top: 2px solid #ece6d8; margin-top: 22px; padding-top: 24px; max-width: none; }
.rpt-story p { font-size: 18px; line-height: 1.7; margin: 0 0 14px; }
@media (max-width: 900px) {
  .rpt-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 30px; }
  .rpt-side { display: none; }
  .rpt { padding: 18px 16px 22px; }
  .rpt-h { flex-direction: column; gap: 6px; }
  .rpt-meta td { padding: 7px 4px; font-size: 11px; }
  .rpt-meta td:nth-child(odd) { width: auto; }
}
@media (max-width: 900px) {
  .rpt-meta, .rpt-meta tbody { display: block; }
  .rpt-meta tr { display: grid; grid-template-columns: 110px 1fr; }
  .rpt-meta td:empty { display: none; }
}

/* credits: country + status tags on their own line under the title; hidden count on "See all" */
.credits .title .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.credits .title .tags .lang { margin: 0; }
.more-credits .cnt { font-weight: 700; color: var(--signal); margin-left: 6px; }
/* blog header: Josie writing, pages flying */
.page-head .wrap { position: relative; }
.blog-fig { position: absolute; right: 30px; bottom: -40px; height: 330px; width: auto; pointer-events: none; }
@media (max-width: 860px) { .blog-fig { position: static; display: block; height: 200px; margin: 0 0 10px auto; } }
@media (max-width: 860px) { .blog-fig { position: absolute; right: 4px; top: -6px; height: 150px; margin: 0; } }
@media (max-width: 860px) { .blog-fig { height: 118px; top: -4px; } }

/* ---------- SoundCloud player v2: SoundCloud-style card + 3-track scrolling list ---------- */
.scp-now { grid-template-columns: 56px 1fr auto; grid-template-areas: "btn meta tag" "wave wave wave"; row-gap: 14px; column-gap: 16px; padding: 6px 0 16px; }
.scp-btn { grid-area: btn; width: 56px; height: 56px; background: #f1efe9; color: #0a0a0a; border: 0; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.scp-btn:hover, .playing .scp-btn { background: var(--signal); color: #fff; }
.scp-btn .pa, .playing .scp-btn .pl { display: none; }
.playing .scp-btn .pa { display: inline; font-size: 13px; }
.scp-meta { grid-area: meta; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.scp-artist { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .04em; }
.scp-title { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scp-tag { grid-area: tag; align-self: start; font-family: var(--mono); font-size: 12px; font-weight: 600; background: #2a2d30; color: var(--text); padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.scp-wave { grid-area: wave; position: relative; display: flex; align-items: center; gap: 2px; height: 64px; cursor: pointer; padding-right: 54px; }
.scp-wave i { flex: 1; min-width: 1px; background: #55595e; transition: background .15s; }
.scp-wave i.p { background: #f1efe9; }
.playing .scp-wave i.p { background: var(--signal); }
.scp-now .scp-time { grid-area: wave; justify-self: end; align-self: center; font-size: 12px; background: #0a0a0a; border: 1px solid var(--line-2); padding: 2px 6px; z-index: 1; }
.scp-list { max-height: 138px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--signal) #1a1c1e; }
.scp-list li { padding: 11px 4px; }
.scp-list::-webkit-scrollbar { width: 6px; } .scp-list::-webkit-scrollbar-thumb { background: var(--signal); } .scp-list::-webkit-scrollbar-track { background: #1a1c1e; }

/* ---------- Home master: fader knob like the blog (cream block), MASTER turns red too ---------- */
.master .fader { height: 10px; background: #2a2d30; border: 0; }
.master .fader i, .master:hover .fader i, .master:focus-visible .fader i { top: -7px; width: 30px; height: 24px; margin-left: 0; border: 0; background: #ece6d8 !important; }
.master .fader i::after, .master:hover .fader i::after { display: none; }
.master:hover .fader i, .master:focus-visible .fader i { left: calc(100% - 30px); }
.master:hover small, .master:focus-visible small { color: var(--signal) !important; }
@media (hover: none) { .master .fader i { left: calc(66% - 15px); } }

/* ---------- Blog post: reading % under the header waveform, character on the floor ---------- */
.timeline { position: relative; }
.tl-read { position: absolute; top: 100%; margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--signal); background: var(--bg); padding: 2px 6px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.tl-read.on { opacity: 1; }
.rpt-side { position: sticky; top: auto; bottom: 0; align-self: end; gap: 0; padding-bottom: 0; }
.rpt-fig { max-width: 210px; display: block; }
.rpt-wrap { align-items: end; }
.credits .wt { font-family: var(--mono); font-size: .62em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-right: 6px; vertical-align: middle; }
.blog-fig { bottom: -1px; }
body.teampage #team { padding-bottom: 90px; }
/* blog posts: waveform, then the READ % row, then the header line (so it never covers the text) */
body.post .timeline { height: auto; }
body.post .timeline canvas { height: 22px; }
body.post .timeline::after { content: ""; display: block; height: 24px; }
body.post .tl-read { top: 22px; margin-top: 3px; background: transparent; padding: 2px 0; }
@media (max-width: 640px) { body.post .timeline canvas { height: 16px; } body.post .tl-read { top: 16px; } }
/* credits: ~0.5 cm between entries */
.credits li { padding: 9px 0; }
/* blog post header: same space above the waveform as the READ row below it */
body.post .timeline { padding-top: 24px; }
body.post .timeline::after { height: 24px; }
/* blog index: line 0.5 cm under the header, slates 0.5 cm under the line */
body.blogindex .page-head { padding-bottom: 19px; }
body.blogindex .page-head + section { padding-top: 57px; }
body.post .tl-read { top: 46px; } @media (max-width: 640px) { body.post .tl-read { top: 40px; } }

/* ---------- Quotes from set: subtitled film frames, speaker names in red ---------- */
.qs-intro { color: var(--dim); font-family: var(--mono); font-size: 14px !important; letter-spacing: .04em; margin-bottom: 22px !important; }
.qs { display: grid; gap: 22px; }
.qs-fr { margin: 0; aspect-ratio: 16 / 9; position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 0 18px 24px; background: linear-gradient(180deg, #1a1c1f, #060708); border: 1px solid var(--line-2); }
.qs-day, .qs-who { position: absolute; top: 12px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.qs-day { left: 14px; color: var(--signal); }
.qs-who { right: 14px; color: #9aa0a5; font-weight: 600; }
.qs-sub { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.qs-l { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.35; color: #fff; background: rgba(0,0,0,.6); padding: 3px 10px; text-align: center; text-shadow: 0 1px 2px #000; }
.qs-l b { font-family: var(--mono); font-size: .72em; letter-spacing: .12em; color: var(--signal); margin-right: 6px; }
@media (max-width: 640px) { .qs-fr { padding: 0 8px 14px; } .qs-l { font-size: 15px; } }

/* ================= Round of notes (27.09) ================= */
/* headings sit in the same place on every page, no small eyebrow */
.page-head { padding: 48px 0 24px; }
.page-head .page-title { margin-top: 0; }
body.blogindex .page-head { padding-bottom: 19px; }
/* kit: gap under the line = gap between cards */
body .page-head + section:has(.kit-grid) { padding-top: 22px; }

/* blog slates: choppy linocut edges (lines only, text stays crisp) */
.sl-stick, .sl-bar, .sl-hinge { filter: url(#rough); }
.sl-body { border-color: transparent !important; }
.sl-body::before { content: ""; position: absolute; inset: 0; border: 4px solid var(--line); border-top: 0; filter: url(#rough); pointer-events: none; transition: border-color .3s; }
.slate.read .sl-body::before { border-color: var(--red); }
/* blog header figure stands on the bottom line */
.blog-fig { bottom: -24px; }

/* contact: rough hand-drawn dashed line */
.cf-arc { filter: url(#rough); }
.cf-arc path { stroke-width: 4; stroke-dasharray: 16 12; }

/* home: hero fills the screen, smooth glide, scroll hint */
html { scroll-behavior: smooth; }
body.home .hero.hero-split { min-height: calc(100vh - 84px); display: flex; align-items: center; padding: 0; position: relative; }
body.home .hero-split .wrap { width: 100%; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); text-decoration: none; }
.scroll-hint i { font-style: normal; color: var(--signal); font-size: 18px; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .scroll-hint i { animation: none; } }
/* home: half the gaps between the lower sections + separating line above "Our work" */
body.home section.preview { padding: 42px 0; }
body.home .together-sec { padding-top: 42px !important; border-top: 1px solid var(--line-2); }
body.home section.preview:last-of-type { padding-bottom: 60px; }
/* home: bigger fader knob on the master */
.master .fader { width: 210px; height: 12px; }
.master .fader i, .master:hover .fader i, .master:focus-visible .fader i { top: -9px; width: 36px; height: 30px; }
.master:hover .fader i, .master:focus-visible .fader i { left: calc(100% - 36px); }
/* home: 3 small clapperboards */
.slates.mini { grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 10px; }
.slates.mini .slate { transform: scale(.92); transform-origin: top center; }
@media (max-width: 1000px) { .slates.mini { grid-template-columns: 1fr; } }

/* team page: no wiring/master, hover a card for the basics */
body.teampage #team { padding-bottom: 90px; }
.teamonly .member .photo { position: relative; }
.tinfo { position: absolute; inset: 0; z-index: 4; background: rgba(10,11,12,.94); display: flex; flex-direction: column; justify-content: center; padding: 22px; opacity: 0; transition: opacity .25s; }
.tinfo ul { list-style: none; margin: 0 0 16px; }
.tinfo li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 9px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.tinfo li span { color: var(--dim); text-transform: uppercase; } .tinfo li b { color: var(--text); font-weight: 600; text-align: right; }
.tinfo em { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); }
.teamonly .member:hover .tinfo, .teamonly .member:focus-visible .tinfo { opacity: 1; }
.teamonly .member:hover .photo img:not(.crewfig) { opacity: 0 !important; }

/* gallery: monitor frames with production name, sticker on the middle photo */
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 34px; }
.gmon { margin: 0; position: relative; border: 12px solid #1c1e21; border-bottom-width: 30px; outline: 1px solid var(--line-2); cursor: zoom-in; transition: outline-color .2s; }
.gmon:hover, .gmon:focus-visible { outline-color: var(--signal); }
.gscreen { aspect-ratio: 4 / 5; background: #111314; position: relative; overflow: hidden; }
.gscreen img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); display: block; position: relative; z-index: 1; }
.gph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--faint); }
.gmon figcaption { position: absolute; left: -2px; bottom: -24px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9aa0a5; white-space: nowrap; }
.gmon figcaption b { color: var(--signal); }
.gtally { position: absolute; right: -2px; bottom: -20px; width: 10px; height: 10px; background: #3a1414; transition: background .2s, box-shadow .2s; }
.gmon:hover .gtally { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.gstk { position: absolute; right: -26px; bottom: -34px; width: 74px; height: 92px; background: #0a0b0c; border: 3px solid #ece6d8; transform: rotate(6deg); padding: 4px; z-index: 3; }
.gstk img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .ggrid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } .gstk { width: 54px; height: 68px; right: -12px; } }
/* gallery lightbox */
.glb { position: fixed; inset: 0; z-index: 2000; background: rgba(5,6,7,.97); }
.glb[hidden] { display: none; }
.glb-top { position: absolute; left: 0; right: 0; top: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; border-bottom: 1px solid #2a2d30; font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.glb-top b { color: var(--signal); margin-right: 12px; }
.glb-x { width: 40px; height: 40px; border: 1px solid #3a3d40; background: transparent; color: var(--text); font-size: 16px; cursor: pointer; }
.glb-mon { position: absolute; left: 50%; top: 86px; transform: translateX(-50%); width: min(480px, 78vw); border: 16px solid #1c1e21; border-bottom-width: 40px; outline: 1px solid #3a3d40; }
.glb-screen { aspect-ratio: 4 / 5; background: #111314; position: relative; max-height: calc(100vh - 290px); }
.glb-screen img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); display: block; position: relative; z-index: 1; }
.glb-lab { position: absolute; left: 0; bottom: -30px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.glb-lab b { color: var(--signal); }
.glb-mon .gtally { right: 0; bottom: -26px; width: 12px; height: 12px; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.glb-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border: 2px solid #ece6d8; background: #0a0b0c; color: #ece6d8; font-size: 24px; cursor: pointer; }
.glb-arr.l { left: max(20px, calc(50% - 440px)); } .glb-arr.r { right: max(20px, calc(50% - 440px)); border-color: var(--signal); color: var(--signal); }
.glb-cap, .glb-cnt { position: absolute; bottom: 112px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: #9aa0a5; }
.glb-cap { left: 40px; } .glb-cnt { right: 40px; } .glb-cnt b { color: var(--text); }
.glb-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 96px; border-top: 1px solid #2a2d30; display: flex; gap: 10px; align-items: center; justify-content: center; overflow-x: auto; padding: 0 20px; }
.glb-strip button { flex: 0 0 56px; height: 70px; border: 5px solid #1c1e21; background: #111314; opacity: .45; padding: 0; position: relative; overflow: hidden; cursor: pointer; }
.glb-strip button.on { opacity: 1; outline: 2px solid var(--signal); }
.glb-strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); position: relative; z-index: 1; }
.glb-strip .gph { font-size: 8px; letter-spacing: .05em; }
@media (max-width: 700px) { .glb-arr { width: 44px; height: 44px; font-size: 18px; top: auto; bottom: 110px; transform: none; } .glb-cap, .glb-cnt { bottom: 170px; } .glb-cap { left: 16px; } .glb-cnt { right: 16px; } }
body.home .hero-split .wrap { position: static; } body.home .hero.hero-split { position: relative; }
/* profile link row: IMDb badge left, email + Instagram icons right */
.plinks { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; max-width: 708px; }
.plinks .imdb-link { margin-top: 0; }
.imdb-badge { font-size: 17px; padding: 5px 9px; }
.picons { display: flex; gap: 10px; }
.pico { width: 40px; height: 40px; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--text); transition: border-color .2s, color .2s, background .2s; }
.pico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }
.pico:hover, .pico:focus-visible { border-color: var(--signal); color: #fff; background: var(--signal); }
.pico { width: auto; height: auto; border: 0; background: transparent !important; padding: 2px; }
.pico svg { width: 34px; height: 34px; stroke-width: 2.2; }
.picons { gap: 22px; }
.pico:hover, .pico:focus-visible { color: var(--signal); }
/* EN | CZ language switch */
.langsw { display: inline-flex; border: 1px solid var(--line-2); margin-right: 12px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.langsw a { padding: 6px 10px; text-decoration: none; color: var(--dim); transition: color .2s, background .2s; }
.langsw a:hover { color: var(--text); }
.langsw a.on { background: var(--text); color: var(--bg); }
.site-header .wrap { align-items: center; }
@media (max-width: 960px) { .langsw { position: absolute; right: 16px; top: 12px; margin: 0; font-size: 11px; } .langsw a { padding: 4px 8px; } }
@media (max-width: 960px) {
  a.recbox .lb { display: none; }
  a.recbox .tc { margin-left: 0 !important; }
  .langsw { top: auto; bottom: 14px; right: 138px; font-size: 10px; letter-spacing: .08em; }
  .langsw a { padding: 5px 7px; }
}
/* language switch: flags, the other language dimmed */
.langsw { border: 0; gap: 8px; margin-right: 14px; align-items: center; }
.langsw a { padding: 0; display: block; line-height: 0; background: transparent !important; }
.langsw a svg { display: block; width: 30px; height: 20px; }
.langsw a:not(.on) { opacity: .3; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.langsw a:not(.on):hover { opacity: .8; filter: none; }
@media (max-width: 960px) { .langsw a svg { width: 24px; height: 16px; } .langsw { gap: 6px; } }
@media (max-width: 960px) {
  .site-header .wrap { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; row-gap: 8px; padding-bottom: 10px; }
  .site-header nav { flex: 0 0 100%; }
  .langsw, a.recbox { position: static !important; }
  .langsw { margin-right: 10px; }
}
@media (max-width: 960px) { .site-header .wrap { flex-direction: row !important; } .site-header .wrap > * { width: auto; } .site-header nav { width: 100% !important; } }

/* Equipment card under Adam's channel + window */
.kitcard { display: block; width: 100%; margin-top: 22px; padding: 0; border: 1px solid var(--line-2); background: #111314; color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: border-color .2s, box-shadow .2s; }
.kitcard:hover, .kitcard:focus-visible { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); outline: none; }
.kc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.kc-led { width: 7px; height: 7px; border-radius: 50%; background: #555; }
.kitcard:hover .kc-led { background: var(--signal); box-shadow: 0 0 8px var(--signal); }
.kc-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px; }
.kc-body img { width: 100%; display: block; }
.kc-foot { border-top: 1px solid var(--line-2); padding: 12px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.kc-foot b { font-family: var(--display); font-size: 17px; letter-spacing: 0; text-transform: none; }
.kc-foot > span { color: var(--signal); white-space: nowrap; }
.kwin { position: fixed; inset: 0; z-index: 3000; background: rgba(5,6,7,.94); display: flex; align-items: center; justify-content: center; padding: 20px; }
.kwin[hidden] { display: none; }
.kw { width: min(1100px, 100%); max-height: 88vh; overflow: auto; background: #0a0b0c; border: 1px solid var(--line-2); }
.kw-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; position: sticky; top: 0; background: #0a0b0c; z-index: 2; }
.kw-top b { color: var(--signal); margin-right: 10px; }
.kw-x { width: 36px; height: 36px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 15px; cursor: pointer; }
.kw-x:hover { border-color: var(--signal); color: var(--signal); }
.kw .kit-grid { padding: 24px; }

/* ---------- Profiles: real colour photo at rest, linocut figure on hover ---------- */
.person .side .photo img.colour { opacity: 1 !important; filter: none !important; object-position: 50% 30%; }
.person .side .photo.has-photo img.crewfig { opacity: 0; }
.person .side .member:hover .photo.has-photo img.crewfig { opacity: 1; }
.person .side .member:hover .photo img.colour { opacity: .12 !important; }
.person .side .photo::after { opacity: .18; }

/* ---------- Gallery: real photos — B&W in the wall, colour on hover and in the lightbox ---------- */
.gscreen img { transition: filter .35s; }
.gmon:hover .gscreen img, .gmon:focus-visible .gscreen img { filter: none; }
.glb-screen { background: #050607; }
.glb-screen img { filter: none !important; object-fit: contain !important; }

/* ---------- Team page: the sound cart (hover a piece of kit) ---------- */
.cartsec { padding: 30px 0 90px; }
.cart-head { margin-bottom: 10px; }
.cart-ch { font-size: 12px; letter-spacing: .2em; color: var(--signal); }
.cart-title { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); margin: 6px 0 8px; }
.cart-hint { color: var(--dim); font-size: 13px; letter-spacing: .04em; }
.cart-wrap { max-width: 1240px; margin: 0 auto; }
svg.cart { width: 100%; height: auto; display: block; overflow: visible; }
svg.cart .ol { opacity: 0; transition: opacity .2s; pointer-events: none; }
svg.cart .ol.on { opacity: 1; }
svg.cart .hit { fill: transparent; cursor: pointer; outline: none; }
svg.cart .lb { opacity: 0; pointer-events: none; transition: opacity .2s; }
svg.cart .lb.on { opacity: 1; }
svg.cart .ld { fill: none; stroke: #ff2b2b; stroke-width: 4; stroke-dasharray: 900; stroke-dashoffset: 900; }
svg.cart .lb.on .ld { animation: cartline .45s ease-out forwards; }
@keyframes cartline { to { stroke-dashoffset: 0; } }
svg.cart .ldot { fill: #ff2b2b; }
svg.cart .bx { fill: #0a0b0c; stroke: #ff2b2b; stroke-width: 4; }
svg.cart .sq { fill: #ff2b2b; }
svg.cart .tt { fill: #ff2b2b; font: 700 24px "JetBrains Mono", "DejaVu Sans Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
svg.cart .li { fill: #ece6d8; font: 400 22px "JetBrains Mono", "DejaVu Sans Mono", monospace; }
svg.cart.active > image { filter: brightness(.5); transition: filter .2s; }
svg.cart > image { transition: filter .2s; }
@media (prefers-reduced-motion: reduce) { svg.cart .lb.on .ld { animation: none; stroke-dashoffset: 0; } }
svg.cart .li.joke { font-style: italic; fill: #ff8a8a; }
