/* ==========================================================================
   BIMAL KUMAL — PENCIL TEST LAB
   Hand-crafted cel-animation aesthetic. Paper, pencil, grease marker, boil.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&family=Architects+Daughter&family=Lora:ital,wght@0,400..700;1,400..600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper:      #f1e6cf;
  --paper-2:    #e9dbbd;
  --paper-3:    #e3d2ac;
  --ink:        #2b2217;
  --ink-soft:   #5c5040;
  --ink-faint:  #8a7c66;
  --pencil:     #3e6fa0;
  --grease:     #b3392a;
  --grease-2:   #c96a3e;
  --line:       rgba(43, 34, 23, 0.22);
  --line-soft:  rgba(43, 34, 23, 0.12);
  --glow:       transparent;
  --shadow:     rgba(43, 34, 23, 0.14);

  --disp:  'Shantell Sans', cursive;
  --hand:  'Architects Daughter', cursive;
  --serif: 'Lora', serif;

  color-scheme: light;
}

[data-theme="dark"] {
  --paper:      #171009;
  --paper-2:    #1f160d;
  --paper-3:    #241a10;
  --ink:        #f2e2bd;
  --ink-soft:   #cdb68c;
  --ink-faint:  #8f7c5c;
  --pencil:     #85b4e6;
  --grease:     #ff8a63;
  --grease-2:   #ffab6b;
  --line:       rgba(242, 226, 189, 0.18);
  --line-soft:  rgba(242, 226, 189, 0.1);
  --glow:       rgba(255, 178, 90, 0.16);
  --shadow:     rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  position: relative;
  overflow-x: hidden;
  transition: background .6s ease, color .6s ease;
  background-image:
    radial-gradient(ellipse 60% 45% at 50% 0%, var(--glow), transparent 70%);
}

::selection { background: var(--grease); color: var(--paper); }

/* ── PAPER GRAIN ─────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .22; }

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── BOIL ANIMATION (2-3 frame hand-redraw loop) ────────────── */
@keyframes boil {
  0%   { transform: translate(0,0) rotate(0deg); }
  33%  { transform: translate(.5px,-.6px) rotate(.35deg); }
  66%  { transform: translate(-.6px,.4px) rotate(-.3deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}
.boil { animation: boil 0.5s steps(3, jump-none) infinite; transform-origin: center; }

@keyframes boil-frames {
  0%, 32%  { opacity: 1; }
  33%, 65% { opacity: 0; }
  66%, 98% { opacity: 0; }
  99%,100% { opacity: 1; }
}
.frame-a { animation: frames-a .6s steps(1,end) infinite; }
.frame-b { animation: frames-b .6s steps(1,end) infinite; }
.frame-c { animation: frames-c .6s steps(1,end) infinite; }
@keyframes frames-a { 0%,33.9%{opacity:1} 34%,100%{opacity:0} }
@keyframes frames-b { 0%,33.9%{opacity:0} 34%,67.9%{opacity:1} 68%,100%{opacity:0} }
@keyframes frames-c { 0%,67.9%{opacity:0} 68%,100%{opacity:1} }

/* ── LIGHT SWITCH (dark-mode toggle) ────────────────────────── */
.light-switch {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 900;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 3px 0 var(--shadow);
  transition: background .4s, transform .25s, box-shadow .25s;
}
.light-switch:hover { transform: translate(-1px,-2px) rotate(-3deg); box-shadow: 3px 5px 0 var(--shadow); }
.light-switch:active { transform: translate(0,0); box-shadow: 1px 1px 0 var(--shadow); }
.light-switch svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.light-switch .moon { display: none; }
[data-theme="dark"] .light-switch .sun { display: none; }
[data-theme="dark"] .light-switch .moon { display: block; }
.light-switch-label {
  position: absolute;
  bottom: -1.3rem;
  font-family: var(--hand);
  font-size: .55rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* ── NAV ─────────────────────────────────────────────────────── */
.exposure-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.2rem;
  background: linear-gradient(var(--paper) 70%, transparent);
  backdrop-filter: blur(2px);
}

.brand {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--ink);
  text-decoration: none;
  transform: rotate(-2deg);
  display: inline-block;
  position: relative;
}
.brand .dot { color: var(--grease); }

.reel-links { display: flex; gap: 2.1rem; list-style: none; margin-right: 4.6rem; }
.reel-links a {
  font-family: var(--hand);
  font-size: .82rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.reel-links a:hover { color: var(--grease); }
.reel-links a::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: -5px;
  height: 6px;
  background: var(--pencil);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease, opacity .2s;
  border-radius: 40% 60% 60% 40%/ 60% 40% 70% 30%;
}
.reel-links a:hover::after { opacity: .35; transform: scaleX(1); }

/* ── TITLE CARD (hero) ──────────────────────────────────────── */
.title-card {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5.5rem 3rem;
  position: relative;
}

.peg-strip {
  position: fixed;
  top: 0; bottom: 0;
  width: 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}
.peg-strip.left { left: 0; }
.peg-strip.right { right: 0; }
.peg-strip span {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1.6px solid var(--ink-faint);
  opacity: .55;
}

.scene-tag {
  font-family: var(--hand);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grease);
  margin-bottom: 1.1rem;
}
.scene-tag::before { content: '◆ '; }

.title-lettering {
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: .92;
  color: var(--ink);
  letter-spacing: -.01em;
}
.title-lettering .sketch-underline { display: block; position: relative; width: fit-content; }

.wavy-rule {
  width: min(100%, 560px);
  height: 22px;
  margin: 1.6rem 0 1.5rem;
  color: var(--pencil);
  stroke-width: 3;
  fill: none;
  overflow: visible;
}

.role-line {
  font-family: var(--hand);
  font-size: 1.15rem;
  color: var(--ink-soft);
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}
.role-line .typed {
  color: var(--ink);
  border-bottom: 3px solid var(--grease);
  padding-bottom: 1px;
}
.role-line .caret {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--grease);
  animation: blink .85s step-end infinite;
  transform: translateY(2px);
}
@keyframes blink { 50% { opacity: 0; } }

.slate {
  margin-top: 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.6rem;
  border-top: 2px dashed var(--line);
}

.slate-loc {
  font-family: var(--hand);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.slate-links { display: flex; flex-direction: column; gap: .35rem; align-items: flex-end; text-align: right; }
.slate-links a {
  font-family: var(--serif);
  font-size: .78rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, color .2s;
}
.slate-links a:hover { color: var(--grease); border-color: var(--grease); }

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  font-family: var(--hand);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-cue svg { width: 26px; height: 30px; color: var(--grease); fill: none; stroke-width: 2.2; stroke-linecap: round; }

/* ── FILMSTRIP MARQUEE ───────────────────────────────────────── */
.filmstrip {
  background: var(--ink);
  padding: .9rem 0;
  overflow: hidden;
  position: relative;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.filmstrip::before, .filmstrip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100%;
  background-image: radial-gradient(circle, var(--paper) 3.5px, transparent 3.6px);
  background-size: 34px 100%;
  background-position: center;
  opacity: .9;
}
.filmstrip::before { top: -2px; height: 7px; }
.filmstrip::after { bottom: -2px; height: 7px; }

.filmstrip-track {
  display: flex;
  width: max-content;
  animation: scroll-left 28s linear infinite;
}
.filmstrip-track .frame {
  font-family: var(--hand);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--paper);
  padding: .2rem 1.6rem;
  border-right: 1px dashed rgba(241,230,207,.3);
  white-space: nowrap;
}
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION SHELL ───────────────────────────────────────────── */
section { padding: 6.5rem 5.5rem; position: relative; }

.section-head { margin-bottom: 3.6rem; }
.section-kicker {
  font-family: var(--hand);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grease);
  margin-bottom: .4rem;
  display: block;
}
.section-title {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  color: var(--ink);
  display: inline-block;
  position: relative;
}
.section-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--ink-faint);
  margin-top: .6rem;
}

.fi { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.fi.on { opacity: 1; transform: translateY(0); }
.fi.d1 { transition-delay: .1s; } .fi.d2 { transition-delay: .2s; } .fi.d3 { transition-delay: .3s; }

/* ── DAILIES (projects) ──────────────────────────────────────── */
#work { background: var(--paper-2); }

.cels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

.cel {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 6px 18px 8px 22px / 18px 8px 22px 6px;
  box-shadow: 5px 6px 0 var(--shadow);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cel:hover, .cel:focus-within { transform: translate(-2px,-3px) rotate(-.3deg); box-shadow: 8px 10px 0 var(--shadow); }
.cel.is-big { grid-column: 1 / -1; }

.cel::before {
  content: '';
  position: absolute;
  top: 10px; right: 14px;
  width: 20px; height: 20px;
  border: 1.6px dashed var(--ink-faint);
  border-radius: 50%;
  opacity: .5;
}

.cel-tape {
  position: absolute;
  top: -10px; left: 28px;
  width: 64px; height: 26px;
  background: rgba(179, 57, 42, .22);
  border: 1px solid rgba(179,57,42,.4);
  transform: rotate(-4deg);
}

.cel-id {
  font-family: var(--hand);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grease);
  margin-bottom: 1.1rem;
}
.cel-name {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: .3rem;
}
.cel-type { font-family: var(--hand); font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.cel-date { font-family: var(--serif); font-style: italic; font-size: .72rem; color: var(--ink-faint); margin-bottom: 1.3rem; }

.cel-stack { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.chip {
  font-family: var(--hand);
  font-size: .64rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  padding: .22rem .6rem;
  border: 1.4px solid var(--ink);
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: var(--paper-2);
}

.cel-desc { list-style: none; font-family: var(--serif); font-size: .88rem; line-height: 1.65; color: var(--ink-soft); margin-bottom: 1.4rem; }
.cel-desc li { position: relative; padding-left: 1.2rem; margin-bottom: .5rem; }
.cel-desc li::before { content: '✎'; position: absolute; left: 0; color: var(--pencil); font-size: .85em; }

.cel-links { display: flex; gap: 1.4rem; margin-bottom: .6rem; }
.cel-links a {
  font-family: var(--hand);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grease);
  text-decoration: none;
  border-bottom: 1.5px solid var(--grease);
}
.cel-links a:hover { color: var(--pencil); border-color: var(--pencil); }

.cel-hint {
  font-family: var(--hand);
  font-size: .64rem;
  color: var(--ink-faint);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.cel-hint svg { width: 14px; height: 14px; stroke: var(--ink-faint); fill: none; stroke-width: 2; }

/* exploded rotoscope diagram overlay */
.cel-diagram {
  position: absolute;
  inset: 0;
  background: var(--paper-3);
  padding: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
  display: flex;
  flex-direction: column;
}
.cel:hover .cel-diagram,
.cel:focus-within .cel-diagram,
.cel.is-open .cel-diagram {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease, visibility 0s;
}
.cel-diagram-label {
  font-family: var(--hand);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grease);
  margin-bottom: .6rem;
}
.cel-diagram svg { width: 100%; flex: 1; }
.cel-diagram text {
  font-family: var(--hand);
  fill: var(--ink);
  font-size: 10.5px;
}
.cel-diagram .node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.6;
}
.cel-diagram .arrow {
  stroke: var(--pencil);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 1s ease .1s;
}
.cel:hover .cel-diagram .arrow,
.cel:focus-within .cel-diagram .arrow,
.cel.is-open .cel-diagram .arrow { stroke-dashoffset: 0; }

/* the flagship cel shows its diagram inline as a dim "blueprint" at rest,
   and hover brings it fully into ink — a signature moment for the lead project */
.cel.is-big .cel-diagram {
  position: static;
  visibility: visible;
  opacity: .5;
  filter: grayscale(.35);
  transform: none;
  background: transparent;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 2px dashed var(--line-soft);
  transition: opacity .4s ease, filter .4s ease;
}
.cel.is-big:hover .cel-diagram,
.cel.is-big:focus-within .cel-diagram,
.cel.is-big.is-open .cel-diagram { opacity: 1; filter: none; }
.cel.is-big { display: flex; flex-direction: column; }

/* ── TOOL DESK (skills) ──────────────────────────────────────── */
#skills { background: var(--paper); }

.desk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.drawer {
  border: 2px solid var(--ink);
  border-radius: 4px 14px 4px 14px / 14px 4px 14px 4px;
  padding: 1.5rem 1.4rem;
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--shadow);
}
.drawer-label {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px dashed var(--line);
}
.drawer-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.drawer-list li { display: inline-flex; }

/* ── MODEL SHEET (about) ─────────────────────────────────────── */
#about { background: var(--paper-2); }

.sheet-grid {
  display: grid;
  grid-template-columns: minmax(200px, .85fr) 2fr;
  gap: 4rem;
  align-items: start;
}

.stats-col { display: flex; flex-direction: column; gap: 2.2rem; }
.stat-card { position: relative; padding-left: .2rem; }
.stat-ring {
  position: absolute;
  top: -10px; left: -14px;
  width: 78px; height: 56px;
  border: 2.2px solid var(--grease);
  border-radius: 50% 50% 55% 45% / 60% 55% 45% 50%;
  opacity: .55;
}
.stat-num { font-family: var(--disp); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--ink); position: relative; white-space: nowrap; }
.stat-num.sm { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.stat-label { font-family: var(--hand); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: .25rem; }

.bio-col { display: flex; flex-direction: column; gap: 2.4rem; }
.bio-text { font-family: var(--serif); font-size: 1.08rem; line-height: 1.85; color: var(--ink-soft); }
.bio-text em { font-style: italic; color: var(--grease-2); }

.note-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 3px 14px 3px 14px / 14px 3px 14px 3px;
  padding: 1.6rem 1.7rem;
  box-shadow: 4px 5px 0 var(--shadow);
}
.note-tape {
  position: absolute;
  top: -11px; right: 24px;
  width: 58px; height: 24px;
  background: rgba(62,111,160,.25);
  border: 1px solid rgba(62,111,160,.4);
  transform: rotate(5deg);
}
.note-label { font-family: var(--hand); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grease); margin-bottom: .9rem; }
.note-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .2rem; }
.note-main { font-family: var(--serif); font-weight: 600; font-size: .92rem; color: var(--ink); }
.note-side { font-family: var(--hand); font-size: .66rem; color: var(--ink-faint); white-space: nowrap; }
.note-sub { font-family: var(--serif); font-size: .78rem; color: var(--ink-soft); margin-bottom: .6rem; }
.note-fine { font-family: var(--serif); font-size: .72rem; color: var(--ink-faint); line-height: 1.7; }

/* ── APPROVAL REEL (awards) ──────────────────────────────────── */
#awards { background: var(--paper); }

.stamp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.stamp-card {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 10px 4px 14px 4px / 4px 14px 4px 10px;
  padding: 1.7rem 1.9rem;
  background: var(--paper-2);
  box-shadow: 4px 5px 0 var(--shadow);
  overflow: hidden;
}
.stamp-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 58px; height: 58px;
  border: 2.4px solid var(--grease);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  opacity: .8;
}
.stamp-badge span {
  font-family: var(--disp);
  font-weight: 800;
  font-size: .56rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grease);
  text-align: center;
  line-height: 1.1;
}
.stamp-tag { font-family: var(--hand); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pencil); margin-bottom: .6rem; }
.stamp-title { font-family: var(--disp); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--ink); margin-bottom: .5rem; max-width: 80%; }
.stamp-body { font-family: var(--serif); font-size: .82rem; color: var(--ink-soft); line-height: 1.6; max-width: 85%; }

/* ── ROLL CREDITS (contact) ──────────────────────────────────── */
#contact { padding-bottom: 3rem; }
.credits-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2.5rem; }
.credits-cta { font-family: var(--disp); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .96; color: var(--ink); }
.credits-cta .hl { color: var(--grease); }

.credits-list { display: flex; flex-direction: column; gap: .9rem; align-items: flex-end; }
.credits-list a {
  font-family: var(--hand);
  font-size: .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.credits-list a:hover { color: var(--grease); border-color: var(--grease); }

footer {
  padding: 1.2rem 5.5rem 1.6rem;
  display: flex;
  justify-content: space-between;
  border-top: 2px dashed var(--line);
  font-family: var(--hand);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 980px) {
  .peg-strip { display: none; }
  .title-card { padding: 6rem 2.2rem 3rem; }
  section { padding: 5rem 2.2rem; }
  .exposure-bar { padding: 1rem 1.4rem; }
  .cels-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: repeat(2, 1fr); }
  .sheet-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stats-col { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .stamp-grid { grid-template-columns: 1fr; }
  footer { padding: 1.2rem 2.2rem 1.6rem; }
}

@media (max-width: 600px) {
  .reel-links { display: none; }
  .desk-grid { grid-template-columns: 1fr; }
  .credits-inner { flex-direction: column; align-items: flex-start; }
  .credits-list { align-items: flex-start; }
  footer { flex-direction: column; gap: .35rem; }
  .slate { flex-direction: column; align-items: flex-start; }
  .slate-links { align-items: flex-start; text-align: left; }
}
