/* pranaynichani.com — cinematic dark theme
   Palette: near-black canvas, warm cream text, single gold accent.
   Gold #d9a441 is close to Okabe-Ito orange — award/accent info is
   always accompanied by text, never colour alone. */

:root {
  --bg: #101010;
  --bg-raised: #181818;
  --bg-card: #1e1e1e;
  --line: #2b2b2b;
  --line-strong: #3d3d3d;
  --text: #f2f0e9;
  --text-dim: #a5a29a;
  --text-faint: #6f6d66;
  --accent: #d9a441;
  --accent-dim: #8a6c2f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #101010; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,16,16,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}
.logo { font-family: var(--font-body); font-size: 14px; letter-spacing: 3px; font-weight: 600; }
.logo span { color: var(--accent); }
nav.main { display: flex; gap: 28px; }
nav.main a {
  font-size: 13px; letter-spacing: 1px; color: var(--text-dim);
  padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s;
}
nav.main a:hover, nav.main a.active { color: var(--text); border-bottom-color: var(--accent); }
.nav-toggle { display: none; }

/* ---------- laurels strip ---------- */
.laurels { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.laurels .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  padding: 18px 32px; align-items: center;
}
.laurel { font-size: 13px; color: var(--text-dim); letter-spacing: 0.4px; }
.laurel strong { color: var(--accent); font-weight: 500; }

/* ---------- sections ---------- */
section.block { padding: 88px 0 64px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; }
h2.section-title { font-family: var(--font-display); font-weight: 350; font-size: 32px; }
.section-link { font-size: 13px; color: var(--text-dim); letter-spacing: 1px; }
.section-link:hover { color: var(--accent); }

/* ---------- work grid ---------- */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--bg-card); }
.card.span-8 { grid-column: span 8; }
.card.span-6 { grid-column: span 6; }
.card.span-4 { grid-column: span 4; }
.card .media { aspect-ratio: 16/9; overflow: hidden; }
.card.tall .media { aspect-ratio: 16/10; }
.card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: brightness(0.85);
}
.card:hover img { transform: scale(1.04); filter: brightness(1); }
.card .meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(10,10,10,0.92), transparent);
}
.card .meta h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.25; }
.card .meta p { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.card .tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; letter-spacing: 1px; color: #f4e3bb;
  background: rgba(16,16,16,0.75); border: 1px solid var(--accent-dim);
  padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(4px);
}

/* archive grid on work page */
.grid.archive { grid-template-columns: repeat(3, 1fr); }
.grid.archive .card { grid-column: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.5px;
  color: var(--text-dim); background: none; border: 1px solid var(--line-strong);
  padding: 8px 18px; border-radius: 20px; cursor: pointer; transition: all .2s;
}
.filters button:hover { color: var(--text); border-color: var(--text-faint); }
.filters button.on { color: #101010; background: var(--text); border-color: var(--text); }

/* ---------- timeline (edit suite) ---------- */
.timeline-section { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* the section is taller than its content — the extra height is the scroll
   runway during which the hero docks into the program monitor.
   NOTE: must be real content (::after), not padding — sticky elements
   cannot slide into their parent's padding box. */
section.suite-hero { border-top: none; padding: 0; }
section.suite-hero::after { content: ""; display: block; height: 135vh; }
section.suite-hero.stage-static::after { height: 44px; }
.suite-sticky { position: sticky; top: 64px; padding: 14px 0 24px; }

.suite { display: grid; grid-template-columns: 170px 1fr; gap: 18px; margin-bottom: 14px; }

/* hero overlay — starts full-viewport, JS interpolates it onto the monitor */
.hero-overlay {
  position: absolute; left: 0; top: 0; width: 100%; height: 100vh;
  overflow: hidden; z-index: 6; pointer-events: none;
}
.hero-overlay.gone { display: none; }
.ho-slides { position: absolute; inset: 0; }
.ho-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.8s ease; }
.ho-slide.on { opacity: 1; }
.ho-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.68) saturate(0.95);
}
.ho-slide-bg { display: none; } /* desktop keeps the cover fill; backdrop is mobile-only */
.ho-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.08) 50%, rgba(10,10,10,0.22) 100%);
}
.ho-text-big { position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 2; }
.ho-text-big .hero-kicker { font-size: 13px; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px; }
.ho-text-big .hero-title {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(38px, 5.4vw, 66px); line-height: 1.08;
  max-width: 760px; margin-bottom: 18px;
}
.ho-text-big .hero-sub { font-size: 16px; color: #cfccc2; max-width: 560px; }
.ho-scroll-hint {
  margin-top: 26px; font-size: 11px; letter-spacing: 2.5px; color: var(--accent);
  font-family: "SF Mono", Menlo, monospace; animation: hint-bob 2.4s ease-in-out infinite;
}
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .ho-scroll-hint { animation: none; } }
.ho-text-small { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 26px; opacity: 0; }
.ho-text-small .hero-kicker { font-size: 10px; letter-spacing: 2px; color: var(--accent); margin-bottom: 6px; }
.ho-title-small { font-family: var(--font-display); font-weight: 350; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.15; max-width: 540px; }
/* bins panel — the cell is the grid item; the panel is absolutely positioned
   inside it so open bins contribute ZERO height to the grid row. The row is
   sized by the monitor alone, and the bins list scrolls internally. */
.bins-cell { position: relative; min-height: 0; }
.bins { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); padding: 12px 10px; display: flex; flex-direction: column; min-height: 0; }
.bins-head { font-size: 10px; letter-spacing: 2px; color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; margin: 2px 4px 8px; flex-shrink: 0; }
.bins-list { flex: 1; overflow-y: auto; min-height: 0; margin: 0 -4px; padding: 0 4px; }
.bins-list::-webkit-scrollbar { width: 8px; }
.bins-list::-webkit-scrollbar-track { background: transparent; }
.bins-list::-webkit-scrollbar-thumb { background: #3d3d3d; border-radius: 4px; }
.bins-list::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

.bin-group { border-bottom: 1px solid var(--line); }
.bin-group:last-child { border-bottom: none; }
.bin-header {
  display: flex; align-items: center; gap: 8px; width: 100%;
  font-family: "SF Mono", Menlo, monospace; font-size: 12px; text-align: left;
  color: var(--text-dim); background: none; border: none; cursor: pointer;
  padding: 9px 4px; transition: color .15s;
}
.bin-header:hover { color: var(--text); }
.bin-icon { font-size: 9px; color: var(--accent-dim); transition: transform .2s; display: inline-block; width: 8px; }
.bin-group.open .bin-icon { transform: rotate(90deg); color: var(--accent); }
.bin-label { flex: 1; }
.bin-count { color: var(--text-faint); font-size: 11px; }
.bin-items { display: none; padding: 0 0 8px 6px; }
.bin-group.open .bin-items { display: block; }
.bin-item {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  font-family: var(--font-body); font-size: 12px; color: var(--text-dim);
  background: none; border: none; cursor: pointer; padding: 5px 6px;
  border-radius: 3px; transition: all .15s;
}
.bin-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bin-item:hover { color: var(--text); background: var(--bg-card); }
.bin-item.on { color: var(--accent); background: var(--bg-card); }
.bin-dot { font-size: 8px; color: var(--text-faint); flex-shrink: 0; width: 8px; }
.bin-item.on .bin-dot, .bin-item:hover .bin-dot { color: var(--accent-dim); }

/* sub-bins — a client/campaign grouping nested inside Commercial or Real Estate */
.bin-subgroup { margin: 0 0 2px; }
.bin-subheader {
  display: flex; align-items: center; gap: 7px; width: 100%;
  font-family: "SF Mono", Menlo, monospace; font-size: 10.5px; letter-spacing: .3px;
  text-align: left; color: var(--text-faint); background: none; border: none;
  cursor: pointer; padding: 6px 4px 6px 2px; transition: color .15s;
}
.bin-subheader:hover { color: var(--text-dim); }
.bin-subicon { font-size: 8px; color: var(--accent-dim); transition: transform .2s; display: inline-block; width: 7px; }
.bin-subgroup.open .bin-subicon { transform: rotate(90deg); color: var(--accent); }
.bin-sublabel { flex: 1; }
.bin-subitems { display: none; padding: 0 0 4px 10px; }
.bin-subgroup.open .bin-subitems { display: block; }

.monitor { position: relative; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); overflow: hidden; }
.mon-label {
  position: absolute; top: 10px; left: 12px; z-index: 3; pointer-events: none;
  font-family: "SF Mono", Menlo, monospace; font-size: 9px; letter-spacing: 2px;
  color: rgba(242,240,233,0.55); background: rgba(16,16,16,0.55);
  padding: 3px 8px; border-radius: 3px; backdrop-filter: blur(3px);
}
.mon-tc { font-family: "SF Mono", Menlo, monospace; font-size: 11px; color: var(--accent-dim); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.mon-screen { position: relative; aspect-ratio: 16/9; max-height: 34vh; min-height: 200px; width: 100%; background: #000; cursor: pointer; }
.mon-screen img, .mon-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.mon-screen .mon-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: rgba(242,240,233,0.92); text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  background: none; border: 0; cursor: pointer; transition: transform .2s; z-index: 2;
}
.mon-screen:hover .mon-play { transform: scale(1.12); color: var(--accent); }
.mon-screen .mon-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; font-size: 13px;
}
.mon-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 9px 16px; border-top: 1px solid var(--line);
}
.mon-bar .tl-title { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.mon-bar .tl-detail { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.mon-controls { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
#mon-open { font-size: 11px; letter-spacing: 1.5px; color: var(--accent); }
#mon-open:hover { text-decoration: underline; }

/* autoplay switch */
.ap-toggle { display: flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; padding: 0; }
.ap-track { width: 32px; height: 18px; border-radius: 10px; background: var(--line-strong); position: relative; transition: background .2s; }
.ap-thumb { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--text-dim); transition: all .2s; }
.ap-toggle[aria-checked="true"] .ap-track { background: var(--accent-dim); }
.ap-toggle[aria-checked="true"] .ap-thumb { left: 16px; background: var(--accent); }
.ap-label { font-size: 11px; letter-spacing: 1px; color: var(--text-dim); }
.ap-toggle[aria-checked="true"] .ap-label { color: var(--text); }
.tl-scroll { overflow: auto; max-height: clamp(240px, 40vh, 430px); padding-bottom: 4px; }
.tl-scroll::-webkit-scrollbar { height: 10px; width: 10px; }
.tl-scroll::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 5px; }
.tl-scroll::-webkit-scrollbar-thumb { background: #3d3d3d; border-radius: 5px; border: 2px solid #1a1a1a; }
.tl-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }
.tl-scroll::-webkit-scrollbar-corner { background: transparent; }
.tl-inner { position: relative; min-width: 900px; }

/* timeline toolbar (zoom controls) */
.tl-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 2px 0 8px; }
.tl-tool-group { display: flex; align-items: center; gap: 6px; }
.tl-tool-label { font-size: 9px; letter-spacing: 1.5px; color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; }
.tl-toolbar button {
  font-family: "SF Mono", Menlo, monospace; font-size: 11px; line-height: 1;
  color: var(--text-dim); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 3px; padding: 4px 10px; cursor: pointer; transition: all .15s;
}
.tl-toolbar button:hover { color: var(--accent); border-color: var(--accent-dim); }
.tl-toolbar .tl-hint { margin-left: auto; }
.tl-years { display: flex; border-bottom: 1px solid var(--line-strong); padding-bottom: 6px; }
.tl-years span { flex: 1; font-size: 11px; color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; }
.tl-ticks {
  height: 5px; margin-bottom: 10px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 1px, transparent 1px calc(100% / 16));
}
.tl-track.tl-audio-track { height: calc(var(--trackh, 24px) + 2px); }
.tl-audio {
  position: absolute; top: 2px; height: calc(100% - 4px); border-radius: 3px; overflow: hidden;
  border: 1px solid #33473c; background: #182019; pointer-events: none;
}
.tl-audio svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #4a6b56; opacity: 0.85; }
.tl-audio span {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-family: "SF Mono", Menlo, monospace; font-size: 9px; letter-spacing: 0.5px;
  color: #9fc4ab; background: rgba(24,32,25,0.8); padding: 1px 6px; border-radius: 2px;
}
.tl-track { position: relative; height: var(--trackh, 24px); margin-bottom: 4px; }
.tl-track-tag {
  position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  font-size: 9px; letter-spacing: 1.2px; color: var(--text-faint);
  font-family: "SF Mono", Menlo, monospace; pointer-events: none; z-index: 1;
}
.tl-clip {
  position: absolute; top: 2px; height: calc(var(--trackh, 24px) - 4px); border-radius: 3px;
  display: flex; align-items: center; gap: 6px; padding: 0 8px; cursor: pointer;
  font-size: var(--clipfs, 9.5px); letter-spacing: 0.5px; white-space: nowrap; overflow: hidden;
  font-family: "SF Mono", Menlo, monospace;
  border: 1px solid var(--line-strong); color: var(--text-dim);
  background: var(--bg-card); transition: border-color .2s, color .2s, background .2s;
}
.tl-clip-name { overflow: hidden; text-overflow: ellipsis; }
.cthumb {
  display: none; height: calc(100% - 8px); aspect-ratio: 16/9;
  object-fit: cover; border-radius: 2px; flex: 0 0 auto;
}
.tl-inner[data-vz="2"] .cthumb, .tl-inner[data-vz="3"] .cthumb { display: block; }
.tl-clip:hover, .tl-clip.hov { border-color: var(--text-faint); color: var(--text); }
.tl-clip.lit { border-color: var(--accent); color: var(--text); background: #262115; }
.tl-clip.editor { border-left: 3px solid var(--accent); }
.tl-playhead {
  position: absolute; top: 20px; bottom: 0; width: 2px;
  background: #e05a4e; pointer-events: none; transition: left .25s ease;
}
.tl-playhead::before {
  content: ""; position: absolute; top: -8px; left: -5px;
  border: 6px solid transparent; border-top: 8px solid #e05a4e;
}
.tl-playhead.grabbable { pointer-events: auto; cursor: ew-resize; touch-action: none; }
.tl-playhead.grabbable::after { content: ""; position: absolute; top: -10px; bottom: 0; left: -7px; right: -7px; }
#timeline .tl-years, #timeline .tl-ticks { cursor: ew-resize; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 12px; font-size: 12px; color: var(--text-faint); }
.tl-legend .editor-key { border-left: 3px solid var(--accent); padding-left: 8px; }
.tl-hint {
  margin-left: auto; letter-spacing: 1px; color: var(--accent-dim); font-size: 10px;
  font-family: "SF Mono", Menlo, monospace;
}

/* mini timeline (project pages) — same NLE look, compact, clips are links */
.tl-mini { min-width: 760px; }
.tl-mini .tl-years span { font-size: 10px; }
.tl-mini .tl-track { height: 26px; margin-bottom: 5px; }
.tl-mini .tl-clip { top: 2px; height: 22px; font-size: 9px; padding: 0 7px; }
.tl-mini .tl-track-tag { font-size: 8px; }
.tl-mini .tl-playhead { top: 14px; }

/* ---------- thesis ---------- */
.thesis { text-align: center; max-width: 820px; margin: 0 auto; }
.thesis blockquote {
  font-family: var(--font-display); font-weight: 350;
  font-size: clamp(24px, 3.4vw, 36px); line-height: 1.35;
}
.thesis blockquote em { color: var(--accent); font-style: italic; }
.thesis p { margin-top: 24px; color: var(--text-dim); font-size: 15px; }

/* ---------- strips (teaching / commercial) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 6px;
  padding: 36px; transition: border-color .2s;
}
.panel:hover { border-color: var(--line-strong); }
.panel h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin-bottom: 12px; }
.panel p { font-size: 14.5px; color: var(--text-dim); }
.panel .go { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: 1px; color: var(--accent); }

/* ---------- project page ---------- */
.proj-top { padding-top: 30px; }
.proj-back { display: inline-block; font-size: 12px; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 22px; }
.proj-back:hover { color: var(--accent); }
.proj-lead { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }

/* media frame — holds player, still, or fallback; always 16:9 */
.proj-media { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.proj-media img, .proj-media iframe, .proj-media .ytm iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.proj-media img { object-fit: cover; }

.proj-info { padding-top: 4px; }
.proj-award { font-size: 12px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 12px; }
.proj-info h1 { font-family: var(--font-display); font-weight: 350; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; }
.proj-type { font-size: 14px; color: var(--text-dim); margin: 8px 0 20px; }
.proj-info .spec { border-top: 1px solid var(--line); padding-top: 4px; }
.proj-yt { display: inline-block; margin-top: 20px; font-size: 13px; letter-spacing: 1px; color: var(--accent); border-bottom: 1px solid var(--accent-dim); padding-bottom: 2px; }
.proj-yt:hover { border-color: var(--accent); }

.proj-desc { max-width: 760px; margin-top: 48px; font-size: 17px; line-height: 1.75; color: #d8d6cd; }
.proj-desc .laurels-text { margin-top: 24px; padding: 20px; border-left: 2px solid var(--accent); background: var(--bg-raised); font-size: 14.5px; color: var(--text-dim); }

/* fallback when a trailer refuses to embed */
.yt-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; overflow: hidden; }
.yt-fallback-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; filter: blur(2px); }
.yt-fallback-in { position: relative; text-align: center; padding: 20px; }
.yt-fallback-in p { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; }

.clip-bin-head { margin-top: 36px; font-size: 11px; letter-spacing: 2px; color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; }
.clip-bin-subhead { margin: 20px 0 10px; font-size: 10.5px; letter-spacing: 1px; color: var(--accent-dim); font-family: "SF Mono", Menlo, monospace; }
.clip-bin-subhead:first-of-type { margin-top: 14px; }
.clip-bin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; }
.clip-bin + .clip-bin-subhead { margin-top: 20px; }
.clip-thumb {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 4px;
  padding: 0 0 8px; cursor: pointer; text-align: left; overflow: hidden; transition: border-color .2s;
}
.clip-thumb:hover { border-color: var(--accent-dim); }
.clip-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.clip-thumb span { display: block; padding: 8px 10px 0; font-size: 11.5px; color: var(--text-dim); font-family: var(--font-body); line-height: 1.4; }

.spec { font-size: 13.5px; }
.spec dt { color: var(--text-faint); letter-spacing: 1px; font-size: 11px; margin-top: 16px; }
.spec dd { color: var(--text); margin-top: 4px; line-height: 1.6; }

/* mini-timeline nav wrapper */
.proj-strip-wrap { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.strip-head { font-size: 11px; letter-spacing: 2px; color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; margin-bottom: 14px; }

.proj-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 72px; margin-top: 40px; font-size: 14px; color: var(--text-dim); }
.proj-nav a:hover { color: var(--accent); }

.btn {
  display: inline-block; margin-top: 4px; padding: 11px 26px;
  border: 1px solid var(--accent); border-radius: 30px; color: var(--accent);
  font-size: 13px; letter-spacing: 1.5px; transition: all .2s;
}
.btn:hover { background: var(--accent); color: #101010; }

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding-top: 72px; padding-bottom: 72px; }
.about-grid h2 { font-family: var(--font-display); font-weight: 350; font-size: 34px; margin-bottom: 24px; }
.about-grid .lede { font-size: 18px; line-height: 1.8; color: #d8d6cd; margin-bottom: 20px; }
.about-grid p { color: var(--text-dim); margin-bottom: 18px; }
.fact-list { font-size: 14px; }
.fact-list h4 { font-size: 12px; letter-spacing: 2px; color: var(--accent); margin: 28px 0 10px; font-weight: 500; }
.fact-list li { list-style: none; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text-dim); }

/* ---------- blog ---------- */
.post-list { max-width: 760px; }
.post-item { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); }
.post-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; transition: color .2s; }
.post-item:hover h3 { color: var(--accent); }
.post-item .date { font-size: 12px; color: var(--text-faint); letter-spacing: 1px; margin-bottom: 6px; }
.post-item p { color: var(--text-dim); font-size: 15px; margin-top: 8px; }
article.post { max-width: 720px; margin: 0 auto; padding: 64px 32px; }
article.post h1 { font-family: var(--font-display); font-weight: 350; font-size: 40px; line-height: 1.2; margin-bottom: 12px; }
article.post .date { font-size: 12px; color: var(--text-faint); letter-spacing: 1px; margin-bottom: 36px; }
article.post p { margin-bottom: 20px; color: #d8d6cd; font-size: 17px; line-height: 1.8; }
article.post h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; margin: 36px 0 14px; }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 56px 0; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
.foot-contact a { font-family: var(--font-display); font-size: clamp(20px, 3vw, 30px); }
.foot-contact a:hover { color: var(--accent); }
.foot-meta { font-size: 12.5px; color: var(--text-faint); text-align: right; }
.foot-meta a { color: var(--text-dim); }
.foot-meta a:hover { color: var(--accent); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }

  /* header collapses to logo + hamburger; nav drops down as an overlay panel */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 30px; height: 30px; background: none; border: 0; padding: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  header.site.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.site.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  header.site.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 6px 20px 14px;
  }
  header.site.nav-open nav.main { display: flex; }
  nav.main a { font-size: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  nav.main a:last-child { border-bottom: 0; }

  .grid, .grid.archive { grid-template-columns: 1fr 1fr; }
  .card.span-8, .card.span-6, .card.span-4 { grid-column: auto; }
  .proj-lead, .about-grid, .duo { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 72vh; }

  /* Phones get a plain full-width hero — the interactive edit suite (bins,
     program monitor, scrubbable timeline) is a desktop-only experience and
     is hidden here. Projects stay reachable via Selected work + the nav. */
  section.suite-hero.stage-mobile { padding: 0; }
  section.suite-hero.stage-mobile::after { display: none; }
  .stage-mobile .suite-sticky { position: static; padding: 0; }
  .stage-mobile > .suite-sticky > .wrap { display: none; }
  .stage-mobile .hero-overlay {
    position: relative; left: 0; top: 0; width: 100%; height: 72vh;
    border-radius: 0; display: block;
  }
  .stage-mobile .ho-text-big { bottom: 6vh; }
  .stage-mobile .ho-text-big .hero-title { font-size: clamp(30px, 8.5vw, 46px); }
  .stage-mobile .ho-scroll-hint { display: none; }

  /* Full-screen phone hero: show each still/poster whole (contain) so wide
     poster text is never cropped, on a blurred zoomed copy of itself that
     fills the portrait frame for a cinematic full-bleed feel. */
  .stage-mobile .ho-slide-bg {
    display: block; position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    filter: blur(30px) brightness(0.62) saturate(1.15);
    transform: scale(1.3);
  }
  .stage-mobile .ho-slide img { object-fit: contain; object-position: 50% 20%; filter: brightness(0.95) saturate(1); }

  /* ---- Rush-style mobile mini-editor: sticky chrome + vertical scrub timeline ---- */
  .rush-mobile { position: relative; }
  .rush-sticky {
    position: sticky; top: 64px; z-index: 5;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 10px 14px 8px;
  }
  .rush-appbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
  .rush-back { font-size: 12px; color: var(--text-dim); letter-spacing: 0.5px; }
  .rush-brand { font-size: 11px; letter-spacing: 2px; color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; }
  .rush-appbar-actions { display: flex; align-items: center; gap: 10px; }
  .rush-share { font-size: 16px; color: var(--text-dim); }
  .rush-skip {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 22px; padding: 0; background: none; border: 0; cursor: pointer;
    color: var(--text-dim); border: 1px solid var(--line-strong); border-radius: 4px;
  }
  .rush-skip svg { width: 16px; height: 16px; }
  .rush-skip:hover, .rush-skip:active { color: var(--accent); border-color: var(--accent-dim); }

  .rush-program { position: relative; border-radius: 5px; overflow: hidden; }
  .rush-program-tag {
    position: absolute; top: 8px; left: 8px; z-index: 2; pointer-events: none;
    font-family: "SF Mono", Menlo, monospace; font-size: 9px; letter-spacing: 1.5px;
    color: rgba(242,240,233,0.6); background: rgba(16,16,16,0.55); padding: 3px 7px; border-radius: 3px;
  }
  .rush-screen { position: relative; aspect-ratio: 16/9; background: #000; cursor: pointer; }
  .rush-screen img, .rush-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
  .rush-screen .mon-empty {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; font-size: 11px;
  }

  .rush-readout { display: flex; align-items: center; gap: 12px; padding: 8px 2px 4px; }
  .rush-readout-text { flex: 1; min-width: 0; }
  .rush-readout h3 { font-family: var(--font-display); font-weight: 400; font-size: 16px; line-height: 1.25; }
  .rush-readout p { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
  .rush-open {
    flex-shrink: 0; white-space: nowrap; font-size: 10px; letter-spacing: 1px;
    color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 4px;
    padding: 7px 11px; font-family: "SF Mono", Menlo, monospace;
  }
  .rush-open:hover, .rush-open:active { background: var(--accent); color: #101010; }

  .rush-transport { display: flex; align-items: center; gap: 14px; padding: 6px 2px 8px; }
  .rush-transport button { background: none; border: 0; color: var(--text-dim); padding: 4px; cursor: pointer; }
  .rush-transport button svg { width: 20px; height: 20px; display: block; }
  #rush-play-btn { color: var(--text); }
  #rush-play-btn svg { width: 24px; height: 24px; }
  .rush-size-btn svg { width: 16px; height: 16px; }
  .rush-size-btn:hover, .rush-size-btn:active { color: var(--accent); }
  .rush-tc {
    margin-left: auto; font-family: "SF Mono", Menlo, monospace; font-size: 11px;
    color: var(--accent-dim); letter-spacing: 1px; font-variant-numeric: tabular-nums;
  }

  .rush-toolbar { display: flex; gap: 2px; overflow-x: auto; padding: 2px 0 4px; }
  .rush-tab {
    flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: 0; color: var(--text-faint); font-size: 9.5px; letter-spacing: 0.5px;
    padding: 5px 8px; border-radius: 5px; transition: color .15s, background .15s; cursor: pointer;
  }
  .rush-tab svg { width: 18px; height: 18px; }
  .rush-tab.on { color: var(--accent); background: var(--bg-card); }

  .rush-timeline { position: relative; padding: 26px 20px 60px 64px; }
  .rt-rail { position: absolute; left: 40px; top: 26px; bottom: 60px; width: 2px; background: var(--line-strong); }
  .rt-card { position: relative; margin-bottom: 22px; }
  .rt-yr {
    position: absolute; left: -62px; top: 3px; width: 30px; text-align: right;
    font-family: "SF Mono", Menlo, monospace; font-size: 9.5px; color: var(--text-faint);
  }
  .rt-dot {
    position: absolute; left: -28px; top: 4px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--line-strong); border: 2px solid var(--bg-raised);
  }
  .rt-card.active .rt-dot { background: var(--accent); }
  .rt-media {
    position: relative; aspect-ratio: var(--rt-ar, 16/5.5); max-height: 34vh; border-radius: 6px; overflow: hidden;
    background: var(--bg-card); border: 2px solid transparent;
  }
  .rt-card.active .rt-media { border-color: var(--accent); }
  .rt-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); transition: filter .2s; }
  .rt-card.active .rt-media img { filter: brightness(1); }
  .rt-noposter {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: var(--text-faint); font-family: "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: 2px;
    background: repeating-linear-gradient(45deg, #1c1c1c, #1c1c1c 10px, #181818 10px, #181818 20px);
  }
  .rt-tag {
    position: absolute; top: 10px; left: 10px; font-size: 10.5px; letter-spacing: 0.5px; color: #f4e3bb;
    background: rgba(16,16,16,0.75); border: 1px solid var(--accent-dim); padding: 3px 9px; border-radius: 16px;
  }
  .rt-now {
    display: none; position: absolute; top: 10px; right: 10px; font-size: 10px; letter-spacing: 0.5px;
    color: #101010; background: var(--accent); padding: 3px 9px; border-radius: 16px; font-weight: 600;
  }
  .rt-card.active .rt-now { display: inline-flex; }
  .rt-play {
    display: none; position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
    align-items: center; justify-content: center; background: rgba(16,16,16,0.55); border: 0;
    border-radius: 50%; color: var(--text); cursor: pointer;
  }
  .rt-card.active .rt-play { display: flex; }
  .rt-play svg { width: 22px; height: 22px; }
  .rt-meta { padding: 6px 2px 0; }
  .rt-meta h3 { font-family: var(--font-display); font-weight: 400; font-size: 15px; line-height: 1.2; }
  .rt-meta p { font-size: 11px; color: var(--text-dim); margin-top: 1px; }
  .rt-now-text {
    display: none; margin-left: 8px; font-size: 9px; letter-spacing: 0.5px; font-weight: 600;
    color: #101010; background: var(--accent); padding: 2px 7px; border-radius: 12px; vertical-align: middle;
  }

  /* thinnest step: no posters at all, just a plain text list (like the
     desktop mini-timeline) — maximizes how many rows fit on screen */
  .rt-text .rt-media { display: none; }
  .rt-text .rt-card {
    margin-bottom: 2px; padding: 7px 10px; border-radius: 4px;
    border-left: 3px solid transparent; transition: border-color .15s, background .15s;
  }
  .rt-text .rt-card.active { border-left-color: var(--accent); background: var(--bg-card); }
  .rt-text .rt-yr, .rt-text .rt-dot { top: 50%; transform: translateY(-50%); }
  .rt-text .rt-meta { padding: 0; }
  .rt-text .rt-meta h3 { font-size: 13px; }
  .rt-text .rt-meta p { font-size: 10px; margin-top: 0; }
  .rt-text .rt-card.active .rt-now-text { display: inline-block; }
}
@media (max-width: 560px) {
  .grid, .grid.archive { grid-template-columns: 1fr; }
}
