/* ==========================================================================
   Marc Pashin — portfolio
   Palette pulled from the photographs: granite, bone, moss, deep forest.
   ========================================================================== */

:root {
  --ink: #0d0e0c;
  --ink-2: #161814;
  --bone: #ece8df;
  --bone-2: #e2ddd1;
  --stone: #8c887e;
  --stone-dark: #5e5b53;
  --moss: #9ca67f;
  --moss-deep: #5f6b45;
  --forest: #2c3623;
  --sage: #d8e3b4;
  --hema: #7a6aa6;     /* hematoxylin */
  --eosin: #de9fb2;    /* eosin */

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--moss); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.light { background: var(--bone); color: var(--ink); }
.dark  { background: var(--ink);  color: var(--bone); }

/* film grain — keeps the upscaled panorama from looking plasticky */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.eyebrow, .meta, .kicker, .caption, figcaption, .nav, .hero-tags, .stack {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
}
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.015em;
  margin: 0; text-wrap: balance;
}
.display em, .feature-title em, .hero-title em { font-style: italic; }
.light .display em, .light .feature-title em { color: var(--moss-deep); }
.dark .display em, .dark .feature-title em { color: var(--moss); }
.eyebrow { margin: 0 0 28px; opacity: .6; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  color: var(--bone);
  background: rgba(13,14,12,.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(236,232,223,.08);
}
.nav a { text-decoration: none; }
.nav-mark { font-size: 13px; letter-spacing: .2em; }
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.nav-links a { position: relative; opacity: .75; transition: opacity .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-now { min-width: 150px; text-align: right; opacity: .75; }
.nav-left { display: flex; align-items: center; gap: 18px; }
.nav-simple {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 5px 11px; border: 1px solid rgba(236,232,223,.3); border-radius: 999px;
  font-size: 10.5px; opacity: .85; transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.nav-simple:hover { opacity: 1; background: var(--bone); color: var(--ink); border-color: var(--bone); }
.nav-simple span { transition: transform .3s var(--ease); }
.nav-simple:hover span { transform: translateX(-3px); }
.nav-simple:focus-visible { outline: 1px solid var(--moss); outline-offset: 3px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: #1a1d20; color: #f4f1ea;
}
.hero-media {
  position: absolute; inset: 0;
  animation: heroIn 3.2s var(--ease) both;
}
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-pan { position: absolute; top: -3%; left: 0; height: 106%; will-change: transform; }
.hero-pan img {
  height: 100%; width: auto; max-width: none;
  image-rendering: -webkit-optimize-contrast; backface-visibility: hidden;
  animation: drift 150s ease-in-out -60s infinite alternate;
  will-change: transform;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(calc(-100% + 100vw), 0, 0); }
}
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,10,12,.42) 0%, rgba(8,10,12,.1) 40%, transparent 62%),
    linear-gradient(180deg, rgba(8,10,12,.28) 0%, transparent 16%, transparent 58%, rgba(8,10,12,.62) 100%);
}
.hero-inner {
  position: absolute; left: 0; right: 0; bottom: clamp(96px, 16vh, 170px);
  padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto;
  will-change: transform, opacity;
}
.hero-eyebrow { display: flex; gap: 28px; opacity: .8; margin-bottom: 18px; animation: fadeUp 1.4s .9s var(--ease) both; }
.hero-title {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(76px, 15vw, 240px); line-height: .86; letter-spacing: -.035em;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; animation: rise 1.6s var(--ease) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .35s; }
.hero-title .line:nth-child(2) > span { animation-delay: .5s; padding-left: .55em; }
.hero-line {
  margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 22px); max-width: 36ch; opacity: .92;
  animation: fadeUp 1.4s 1.1s var(--ease) both;
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 var(--gutter) 26px; animation: fadeUp 1.4s 1.4s var(--ease) both;
}
.hero-tags { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; opacity: .75; }
.hero-tags li::before { content: "— "; opacity: .6; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.scroll-cue i { width: 1px; height: 46px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: clamp(96px, 14vw, 200px) 0 clamp(72px, 9vw, 130px); }
.about-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start;
}
.about-label { grid-column: 1 / -1; }
.about-copy { grid-column: 1 / span 7; }
.about-copy .display { font-size: clamp(34px, 4.1vw, 64px); margin-bottom: 48px; }
.about-body { max-width: 58ch; margin-left: clamp(0px, 8vw, 120px); }
.about-body p { margin: 0 0 1.1em; }
.about-body p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 4.1em; line-height: .82; padding: .06em .1em 0 0;
}
.peek { border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent); cursor: default; transition: border-color .3s, color .3s; }
.peek:hover { border-color: var(--moss-deep); color: var(--moss-deep); }

.now { margin: 56px 0 0 clamp(0px, 8vw, 120px); max-width: 60ch; border-top: 1px solid rgba(13,14,12,.15); }
.now div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(13,14,12,.15); }
.now dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone-dark); padding-top: 3px; }
.now dd { margin: 0; font-size: 15px; }

/* education */
.edu { margin: 56px 0 0 clamp(0px, 8vw, 120px); max-width: 60ch; padding: 26px 0 8px; border-top: 1px solid rgba(13,14,12,.15); }
.edu-head { display: flex; align-items: center; gap: 18px; }
.edu-logo { height: 88px; width: 88px; flex: none; }
.edu-logo[hidden] { display: none; }
.edu-name { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.edu-meta { margin: 4px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--stone-dark); }
.major {
  display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 22px; cursor: pointer; text-align: left;
  background: transparent; border: 1px solid rgba(13,14,12,.25); border-radius: 14px;
  padding: 16px 16px 16px 20px;
  transition: background .35s var(--ease), color .35s, border-color .35s;
}
.major:hover { border-color: var(--ink); }
.major[aria-expanded="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.major:focus-visible { outline: 1px solid var(--moss-deep); outline-offset: 3px; }
.major-label { flex: 1; font-family: var(--serif); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; }
.major-label .amp { font-style: italic; color: var(--moss-deep); padding: 0 .1em; }
.major[aria-expanded="true"] .amp { color: var(--moss); }
.major-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; white-space: nowrap; }
.major-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 1px solid currentColor; font-family: var(--mono); font-size: 15px; line-height: 1;
  transition: transform .45s var(--ease);
}
.major[aria-expanded="true"] .major-icon { transform: rotate(45deg); }
.why { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.why.open { grid-template-rows: 1fr; }
.why-inner { overflow: hidden; min-height: 0; }
.why.open .why-inner { padding-top: 20px; }
.why-inner > p { margin: 0 0 1em; font-size: 16px; }
.edu + .now { margin-top: 28px; }

.about-portrait { grid-column: 9 / span 4; margin: 110px 0 0; position: sticky; top: 90px; }
.about-portrait .frame { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bone-2); }
.about-portrait img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 45%; margin-top: -9%; }
figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; opacity: .6; }


/* ==========================================================================
   CV SECTIONS — work / research / leadership
   ========================================================================== */
.cv-section { padding: clamp(90px, 11vw, 160px) 0 clamp(90px, 11vw, 150px); }
.cv-section.light + .cv-section.light { border-top: 1px solid rgba(13,14,12,.08); }
.cv-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.cv-head .eyebrow { grid-column: 1 / -1; }
.cv-head .display { grid-column: 1 / span 7; font-size: clamp(48px, 7vw, 108px); }
.cv-intro { grid-column: 8 / span 5; margin: 0; font-size: 17px; opacity: .78; max-width: 44ch; }

.entries { list-style: none; margin-top: 0; margin-bottom: 0; }
.entry { border-top: 1px solid rgba(13,14,12,.16); }
.entry:last-child { border-bottom: 1px solid rgba(13,14,12,.16); }
.dark .entry { border-color: rgba(236,232,223,.16); }
.entry a {
  display: grid; grid-template-columns: 48px minmax(0, 1.15fr) minmax(0, 1.7fr) 130px; gap: 28px; align-items: start;
  padding: clamp(28px, 3.2vw, 44px) 0; text-decoration: none; position: relative; isolation: isolate;
}
.entry a::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: rgba(13,14,12,.045); opacity: 0; transition: opacity .45s var(--ease);
}
.dark .entry a::before { background: rgba(236,232,223,.05); }
.entry a:hover::before, .entry a:focus-visible::before { opacity: 1; }
.entry a:focus-visible { outline: none; }
.e-num, .e-role, .e-date, .e-go-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; }
.e-num { padding-top: 14px; opacity: .5; }
.e-who { display: flex; flex-direction: column; gap: 6px; }
.e-org { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 8px; transition: transform .6s var(--ease); }
.entry a:hover .e-org { transform: translateX(8px); font-style: italic; }
.e-role { opacity: .85; }
.e-date { opacity: .55; }
.e-what { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.e-sum { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 46ch; }
.e-results { font-size: 14px; line-height: 1.9; opacity: .75; }
.e-results b { font-family: var(--serif); font-weight: 400; font-size: 20px; margin-right: 3px; }
.e-results i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .4; margin: 0 12px; vertical-align: middle; }
.e-go { display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-top: 12px; }
.e-go-label { opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .5s var(--ease); }
.e-arrow {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 1px solid currentColor; font-size: 18px; opacity: .55;
  transition: background .4s var(--ease), color .4s, opacity .4s, transform .5s var(--ease);
}
.entry a:hover .e-go-label { opacity: .8; transform: none; }
.entry a:hover .e-arrow { opacity: 1; background: var(--ink); color: var(--bone); border-color: var(--ink); transform: rotate(-45deg); }
.dark .entry a:hover .e-arrow { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.cv-section.light .e-results b { color: var(--moss-deep); }
.cv-section.dark .e-results b { color: var(--moss); }

.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 22px; color: var(--stone-dark); }
.dark .meta { color: var(--stone); }
.feature-title {
  font-family: var(--serif); font-weight: 400; margin: 0 0 26px;
  font-size: clamp(32px, 3.4vw, 54px); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance;
}
.link-arrow { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow span, .contact-mail span, .contact-links span { display: inline-block; transition: transform .45s var(--ease); }
.link-arrow:hover span, .contact-mail:hover span, .contact-links a:hover span { transform: translate(3px, -3px); }

/* visual panels (used on project pages) */
.feature-viz { background: var(--bone-2); padding: clamp(18px, 2.2vw, 30px); position: relative; }
.feature-viz figcaption { display: block; text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 13px; line-height: 1.5; opacity: .65; margin-top: 16px; }
.viz-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.viz-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }

.toggle { display: inline-flex; border: 1px solid rgba(13,14,12,.25); border-radius: 999px; padding: 3px; gap: 2px; }
.dark .toggle { border-color: rgba(236,232,223,.25); }
.toggle button {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px; padding: 6px 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  opacity: .6; transition: background .35s var(--ease), color .35s, opacity .3s;
}
.toggle button:hover { opacity: 1; }
.toggle button.on { background: var(--ink); color: var(--bone); opacity: 1; }
.dark .toggle button.on { background: var(--bone); color: var(--ink); }
.toggle button:focus-visible, .rg:focus-visible { outline: 1px solid var(--moss-deep); outline-offset: 2px; }

/* rank chart */
#rankSvg { width: 100%; height: auto; display: block; overflow: visible; }
#rankSvg .col-label { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; fill: var(--stone-dark); }
#rankSvg .rk { font-family: var(--mono); font-size: 11px; fill: var(--ink); }
#rankSvg .rank-line { fill: none; stroke: var(--ink); stroke-width: 1.3; opacity: .7; transition: d .9s var(--ease), opacity .3s, stroke .3s; }
#rankSvg .rank-line.off { stroke: #b36c52; }
#rankSvg .pt { fill: var(--ink); }
#rankSvg g.row:hover .rank-line { opacity: 1; stroke-width: 2.2; }

/* molecule */
.viz-mol { color: var(--ink); }
#molSvg { width: 100%; height: auto; display: block; }
#molSvg .draw { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 2s var(--ease), opacity .3s, stroke .3s; }
.viz-mol.in #molSvg .draw { stroke-dashoffset: 0; }
#molSvg .draw.faint { opacity: .45; }
#molSvg .draw[data-r] { transition-delay: .6s; }
#molSvg .rg { cursor: pointer; outline: none; }
#molSvg .rg circle { fill: var(--bone); stroke: var(--ink); stroke-width: 1.2; transition: fill .35s, r .35s var(--ease); }
#molSvg .rg text, #molSvg .mol-core { font-family: var(--serif); font-size: 19px; text-anchor: middle; fill: var(--ink); transition: fill .35s; pointer-events: none; }
#molSvg .mol-core { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; fill: var(--stone-dark); }
#molSvg .rg.on circle { fill: var(--moss-deep); r: 24; }
#molSvg .rg.on text { fill: var(--bone); }
#molSvg line.on { stroke: var(--moss-deep); stroke-width: 2.4; }

/* dot grid */
.dots { display: grid; grid-template-columns: repeat(14, 1fr); gap: clamp(6px, .9vw, 12px); padding: 8px 0; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(13,14,12,.14); transform: scale(.4); transition: transform .6s var(--ease), background .6s; }
.viz-dots.in .dots i { transform: scale(.62); background: rgba(13,14,12,.38); }
.viz-dots.in .dots i.lead { background: var(--moss-deep); }
.dots i:hover { transform: scale(1.1) !important; }
.key { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 0; margin-right: 4px; }
.key-a { background: var(--moss-deep); }
.key-b { background: rgba(13,14,12,.38); }

/* ==========================================================================
   INTERLUDE
   ========================================================================== */
.interlude { position: relative; height: 115vh; min-height: 640px; overflow: hidden; color: #f4f1ea; background: #1d2a16; }
.interlude-media { position: absolute; inset: -12% 0; will-change: transform; }
.interlude-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,8,.2), rgba(10,14,8,.05) 40%, rgba(10,14,8,.7)); }
.interlude-text { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); z-index: 1; }
.interlude-text .display { max-width: 32ch; font-size: clamp(34px, 4.6vw, 76px); text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.interlude .display em { color: #d8e3b4; }
.caption { display: flex; gap: 24px; margin-top: 22px; opacity: .8; }

.lab-viz { position: relative; background: var(--ink-2); color: var(--bone); border: 1px solid rgba(236,232,223,.08); }
#cellCanvas { display: block; width: 100%; aspect-ratio: 4 / 2.6; cursor: crosshair; }
.lab-controls { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px; border-top: 1px solid rgba(236,232,223,.08); }
.markers button { padding: 6px 10px; }
.kicker { color: var(--moss); margin: 0 0 12px; }

/* ==========================================================================
   PROJECTS — carousel
   ========================================================================== */
.projects { padding: clamp(90px, 11vw, 150px) 0 clamp(90px, 11vw, 140px); overflow: hidden; }

/* forest-green variant — sits between the light Leadership and dark Outside sections */
.forest { background: var(--forest); color: var(--bone); }
.forest .display em { color: var(--sage); }
.forest .eyebrow { opacity: .7; }
.forest .pj-count { opacity: .7; }
.forest .pj-btn { border-color: rgba(236,232,223,.4); }
.forest .pj-btn:hover:not(:disabled) { background: var(--bone); color: var(--forest); border-color: var(--bone); }
.forest .pj-btn:focus-visible { outline-color: var(--sage); }
.forest .pj-media {
  background:
    repeating-linear-gradient(135deg, rgba(236,232,223,.07) 0 1px, transparent 1px 14px),
    rgba(236,232,223,.05);
  border-color: rgba(236,232,223,.14);
}
.forest .pj-card:hover .pj-media { box-shadow: 0 24px 40px -24px rgba(0,0,0,.55); }
.forest .pj-num { color: rgba(236,232,223,.18); }
.forest .pj-tag { color: var(--sage); }
.forest .pj-desc { opacity: .78; }
.forest .pj-progress { background: rgba(236,232,223,.2); }
.forest .pj-progress i { background: var(--sage); }
.pj-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.pj-head .display { font-size: clamp(48px, 7vw, 108px); }
.pj-controls { display: flex; align-items: center; gap: 10px; }
.pj-count { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; opacity: .6; margin-right: 8px; font-variant-numeric: tabular-nums; }
.pj-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid rgba(13,14,12,.35); font-size: 18px;
  transition: background .35s var(--ease), color .35s, border-color .35s, opacity .3s;
}
.pj-btn:hover:not(:disabled) { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.pj-btn:disabled { opacity: .3; cursor: default; }
.pj-btn:focus-visible { outline: 1px solid var(--moss-deep); outline-offset: 3px; }

.pj-track {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  list-style: none; margin: 0; display: flex; gap: clamp(16px, 2vw, 28px);
  padding: 4px var(--edge) 8px; scroll-padding-inline: var(--edge);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.pj-track::-webkit-scrollbar { display: none; }
.pj-card { flex: 0 0 clamp(270px, 30vw, 420px); scroll-snap-align: start; }
.pj-card article { height: 100%; display: flex; flex-direction: column; }
.pj-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  background:
    repeating-linear-gradient(135deg, rgba(13,14,12,.06) 0 1px, transparent 1px 14px),
    var(--bone-2);
  border: 1px solid rgba(13,14,12,.1);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.pj-card:hover .pj-media { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(13,14,12,.35); }
.pj-media img { width: 100%; height: 100%; object-fit: cover; }
.pj-num { position: absolute; left: 18px; bottom: 6px; font-family: var(--serif); font-size: clamp(64px, 7vw, 110px); line-height: 1; color: rgba(13,14,12,.16); }
.pj-body { padding-top: 18px; }
.pj-tag { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--moss-deep); }
.pj-title { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; }
.pj-desc { margin: 0; font-size: 15px; opacity: .75; max-width: 40ch; }
.pj-progress { position: relative; height: 1px; margin-top: 36px; background: rgba(13,14,12,.15); }
.pj-progress i { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }
@media (max-width: 760px) {
  .pj-card { flex-basis: 80vw; }
  .pj-count { display: none; }
  .pj-btn { width: 42px; height: 42px; }
}

/* ==========================================================================
   OUTSIDE — pinned horizontal reel
   ========================================================================== */
.outside { position: relative; }
.reel-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.reel-track { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding: 0 var(--gutter); will-change: transform; height: 100%; }
.reel-panel { flex: 0 0 auto; }
.reel-intro { width: min(520px, 80vw); }
.reel-intro .display { margin-bottom: 28px; }
.reel-intro p:not(.eyebrow) { color: rgba(236,232,223,.78); max-width: 40ch; }
.reel-hint { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: 40px; opacity: .6; }
.reel-hint span { display: inline-block; animation: nudge 2s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.reel-frame { flex: 0 0 auto; margin: 0; position: relative; }
.reel-frame .img-wrap, .reel-frame > img { overflow: hidden; }
.reel-frame img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.reel-frame:hover img { transform: scale(1.035); }
.reel-frame.tall { height: 76vh; aspect-ratio: 3 / 4; }
.reel-frame.mid  { height: 62vh; aspect-ratio: 844 / 1125; align-self: flex-end; margin-bottom: 12vh; }
.reel-frame.wide { height: 52vh; aspect-ratio: 2000 / 473; }
.reel-frame.land { height: 60vh; aspect-ratio: 3 / 2; }
.reel-frame { overflow: visible; }
.reel-frame img { display: block; }
.reel-frame figcaption { position: absolute; left: 0; right: 0; top: 100%; justify-content: flex-start; gap: 14px; opacity: .75; }
.reel-frame figcaption b { font-weight: 400; color: var(--moss); }
.reel-frame figcaption span { margin-left: auto; opacity: .7; }

.reel-words { width: min(420px, 70vw); }
.words { list-style: none; margin: 0; padding: 0; }
.words li { font-family: var(--serif); font-size: clamp(34px, 4.2vw, 62px); line-height: 1.02; color: rgba(236,232,223,.28); transition: color .4s, transform .6s var(--ease); cursor: default; }
.words li:hover { color: var(--bone); transform: translateX(10px); font-style: italic; }
.reel-end { width: min(420px, 70vw); padding-right: 8vw; }
.reel-end .display { font-size: clamp(34px, 3.6vw, 54px); }
.reel-end a { text-decoration: none; }
.reel-end span { font-style: normal; display: inline-block; animation: nudgeY 2s var(--ease-io) infinite; }
@keyframes nudgeY { 50% { transform: translateY(6px); } }

.peek-float {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 280px; aspect-ratio: 4 / 5; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s, transform .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.peek-float { width: 220px; }
.peek-float.on { opacity: 1; }
.peek-float img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; }
.contact-media { position: absolute; inset: -10% 0; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.8); }
.contact-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(13,14,12,.55) 35%, rgba(13,14,12,.35) 60%, rgba(13,14,12,.92) 100%); }
.contact-inner { position: relative; z-index: 1; padding-top: 30vh; padding-bottom: 12vh; }
.contact-title { max-width: 14ch; font-size: clamp(44px, 7vw, 112px); text-shadow: 0 3px 18px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.65); }
.contact-mail {
  display: inline-flex; gap: 14px; margin-top: 48px; text-decoration: none;
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1;
  border-bottom: 1px solid rgba(236,232,223,.4); padding-bottom: 6px; transition: border-color .4s;
}
.contact-mail:hover { border-color: var(--bone); }
.contact-links { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.contact-links a { text-decoration: none; opacity: .8; transition: opacity .3s; }
.contact-links a:hover { opacity: 1; }
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(236,232,223,.14); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.foot a { text-decoration: none; }

/* ==========================================================================
   REVEALS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-img .frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease); }
.reveal-img.in .frame { clip-path: inset(0 0 0 0); }
.reveal-img figcaption { opacity: 0; transition: opacity 1s .8s; }
.reveal-img.in figcaption { opacity: .6; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
img[data-zoom] { cursor: zoom-in; }
.interlude::after, .interlude-text { pointer-events: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-columns: 72px 1fr 72px; align-items: center;
  background: rgba(8,9,8,.94); color: var(--bone);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.on { opacity: 1; }
.lb-figure { margin: 0; height: 100vh; height: 100svh; padding: 72px 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-width: 0; }
.lb-figure img {
  max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; cursor: zoom-out;
  transform: scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .45s var(--ease);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
}
.lightbox.on .lb-figure img.ready { transform: none; opacity: 1; }
.lb-figure figcaption { display: flex; justify-content: space-between; gap: 24px; width: 100%; max-width: 900px; margin: 0; opacity: .75; font-size: 13px; text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.lb-count { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .7; white-space: nowrap; }
.lb-close {
  position: absolute; top: 18px; right: var(--gutter); z-index: 2;
  background: none; border: 1px solid rgba(236,232,223,.3); border-radius: 999px; cursor: pointer;
  padding: 8px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.lb-close span { margin-left: 6px; }
.lb-close:hover { background: var(--bone); color: var(--ink); }
.lb-nav {
  justify-self: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: none; border: 1px solid rgba(236,232,223,.3); font-size: 18px;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.lb-nav:hover { background: var(--bone); color: var(--ink); }
.lb-prev:hover { transform: translateX(-3px); }
.lb-next:hover { transform: translateX(3px); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 1px solid var(--moss); outline-offset: 3px; }
body.lb-open { overflow: hidden; }
@media (max-width: 760px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: var(--gutter); }
  .lb-next { right: var(--gutter); left: auto; }
  .lb-figure { padding: 70px var(--gutter) 90px; }
  .lb-figure figcaption { flex-direction: column; gap: 4px; }
}

/* ==========================================================================
   PROJECT PAGES
   ========================================================================== */
.proj { background: var(--bone); color: var(--ink); }
.proj-hero { padding-top: clamp(130px, 16vw, 200px); padding-bottom: clamp(50px, 6vw, 80px); }
.back { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .65; margin-bottom: clamp(40px, 6vw, 80px); transition: opacity .3s, gap .4s var(--ease); }
.back:hover { opacity: 1; gap: 16px; }
.proj-title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 11vw, 170px); line-height: .9; letter-spacing: -.03em; margin: 0 0 28px; }
.proj-sub { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 0 0 clamp(36px, 4vw, 56px); }
.proj-lede { font-family: var(--serif); font-size: clamp(28px, 3.1vw, 46px); line-height: 1.15; letter-spacing: -.005em; max-width: 26ch; margin: 0; text-wrap: balance; }

.proj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid rgba(13,14,12,.18); border-bottom: 1px solid rgba(13,14,12,.18); }
.proj-stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 60px); line-height: 1; color: var(--moss-deep); }
.proj-stats span { display: block; font-size: 14px; margin-top: 10px; opacity: .72; max-width: 24ch; }

.proj-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 140px); }
.glance { grid-column: 1 / span 3; position: sticky; top: 100px; align-self: start; margin: 0; }
.glance div { padding: 14px 0; border-top: 1px solid rgba(13,14,12,.14); }
.glance dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.glance dd { margin: 0; font-size: 15px; line-height: 1.5; }
.glance a { text-underline-offset: 3px; }
.story { grid-column: 5 / span 8; max-width: 760px; }
.story h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.1; margin: 0 0 20px; }
.story h2 .n { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; vertical-align: middle; opacity: .5; margin-right: 14px; }
.story section { margin-bottom: clamp(56px, 6vw, 88px); }
.story p { margin: 0 0 1.1em; font-size: 18px; line-height: 1.65; }
.story ul.did { list-style: none; padding: 0; margin: 0; counter-reset: did; }
.story ul.did li { position: relative; padding: 18px 0 18px 46px; border-top: 1px solid rgba(13,14,12,.12); font-size: 17px; }
.story ul.did li::before { counter-increment: did; content: counter(did, decimal-leading-zero); position: absolute; left: 0; top: 21px; font-family: var(--mono); font-size: 11px; opacity: .5; }
.story .explain { font-size: 15.5px; opacity: .8; margin-top: 18px; }
.story figure { margin: 0; }

/* research write-up: figures, tables, facts */
.story .fig { margin: 28px 0; }
.story .fig img { width: 100%; height: auto; display: block; background: #fff; border: 1px solid rgba(13,14,12,.12); border-radius: 3px; }
.story .fig figcaption { display: block; margin-top: 10px; font-family: var(--sans); font-size: 13.5px; line-height: 1.5; letter-spacing: 0; text-transform: none; opacity: .65; }
.story .fig-mid { max-width: 520px; }
.story .fig-small { max-width: 560px; align-items: end; }
.story .fig-small img { background: transparent; border: 0; }
.story .fig-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.story .fig-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 8px; }
.story .fig-2 .fig, .story .fig-3 .fig { margin: 0; }
.story .fig-3 figcaption { text-align: center; margin-top: 6px; }
.story .fig-side { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.story .fig-side .fig { margin: 6px 0 0; position: sticky; top: 100px; }
.story .fig-side .kicker { margin: 18px 0 6px; color: var(--moss-deep); }
.story .fig-side .kicker:first-child { margin-top: 0; }
.story ul.spec { margin: 0 0 1.1em; padding-left: 1.1em; }
.story ul.spec li { font-size: 16px; line-height: 1.55; margin-bottom: 6px; }
.story ul.spec code, .story .arch code { font-family: var(--mono); font-size: 13px; background: rgba(13,14,12,.06); padding: 1px 5px; border-radius: 3px; }
.story ul.facts { list-style: none; padding: 18px 0 0; margin: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; border-top: 1px solid rgba(13,14,12,.16); }
.story ul.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1; color: var(--moss-deep); }
.story ul.facts span { display: block; margin-top: 6px; font-size: 14px; opacity: .72; }
.story table.cost { width: 100%; border-collapse: collapse; margin: 8px 0 0; font-size: 15px; }
.story table.cost th, .story table.cost td { padding: 12px 10px; text-align: left; border-bottom: 1px solid rgba(13,14,12,.14); }
.story table.cost thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; font-weight: 400; opacity: .65; }
.story table.cost tbody th { font-weight: 400; opacity: .7; }
.story table.cost td { font-family: var(--serif); font-size: 24px; }
.story table.cost td:first-of-type { color: var(--moss-deep); }
.story .outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.story .outcomes .kicker { color: var(--moss-deep); margin-bottom: 6px; }
.story .outcomes p:not(.kicker) { font-size: 16px; }
.story .arch { display: flex; align-items: stretch; gap: 10px; margin: 6px 0 24px; }
.story .arch div { flex: 1; border: 1px solid rgba(13,14,12,.2); border-radius: 10px; padding: 14px; background: rgba(255,255,255,.35); }
.story .arch b { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; line-height: 1.45; }
.story .arch span { display: block; margin-top: 6px; font-size: 14px; opacity: .7; }
.story .arch i { align-self: center; font-style: normal; opacity: .5; }
.story .formula { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); text-align: center; margin: 18px 0 4px; }
.story .formula sub { font-size: .55em; }
@media (max-width: 760px) {
  .story .fig-2, .story .outcomes, .story .fig-side { grid-template-columns: 1fr; }
  .story .fig-side .fig { position: static; }
  .story .fig-3 { grid-template-columns: repeat(2, 1fr); }
  .story .arch { flex-direction: column; }
  .story .arch i { transform: rotate(90deg); }
  .story table.cost td { font-size: 19px; }
  .story table.cost th, .story table.cost td { padding: 10px 6px; }
}

.draft { border: 1px dashed rgba(13,14,12,.35); padding: 22px 24px; background: rgba(255,255,255,.25); }
.draft::before { content: "Draft — Marc to write"; display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #a0553b; margin-bottom: 10px; }
.draft p { font-size: 16px !important; opacity: .7; margin: 0 !important; }

.proj-next { display: block; background: var(--ink); color: var(--bone); text-decoration: none; padding: clamp(60px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.proj-next .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.proj-next small { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: 18px; }
.proj-next strong { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 120px); line-height: .95; letter-spacing: -.02em; transition: transform .7s var(--ease); display: inline-block; }
.proj-next:hover strong { transform: translateX(14px); font-style: italic; }
.proj-next .e-arrow { width: 72px; height: 72px; font-size: 26px; }
.proj-next:hover .e-arrow { background: var(--bone); color: var(--ink); opacity: 1; transform: rotate(-45deg); }
.proj-foot { background: var(--ink); color: var(--bone); border-top: 1px solid rgba(236,232,223,.14); }
.proj-foot .foot { opacity: .6; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .about-copy { grid-column: 1 / span 12; }
  .about-portrait { grid-column: 1 / span 12; position: static; margin-top: 64px; max-width: 520px; }
  .cv-head .display, .cv-intro { grid-column: 1 / -1; }
  .cv-intro { margin-top: 24px; }
  .entry a { grid-template-columns: 40px 1fr 60px; }
  .e-what { grid-column: 2 / 3; grid-row: 2; padding-top: 0; }
  .e-go { grid-column: 3; grid-row: 1; }
  .e-go-label { display: none; }
  .glance { grid-column: 1 / -1; position: static; margin-bottom: 56px; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
  .story { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding-top: 15px; padding-bottom: 15px; }
  .nav-now { display: none; }
  .nav-left { gap: 12px; width: 100%; justify-content: space-between; }
  .hero-eyebrow { flex-direction: column; gap: 4px; }
  .hero-tags { display: none; }
  .hero-foot { justify-content: flex-end; }
  .hero-title .line:nth-child(2) > span { padding-left: .3em; }
  .about-body, .now, .edu { margin-left: 0; }
  .now div { grid-template-columns: 1fr; gap: 4px; }
  .entry a { grid-template-columns: 1fr 48px; gap: 16px; }
  .e-num { display: none; }
  .e-who { grid-column: 1; grid-row: 1; }
  .e-what { grid-column: 1 / -1; grid-row: 2; }
  .e-go { grid-column: 2; grid-row: 1; padding-top: 4px; }
  .e-results i { margin: 0 8px; }
  .glance { grid-template-columns: 1fr; }
  .story p { font-size: 17px; }

  /* reel becomes native swipe on phones */
  .outside { height: auto !important; padding: 90px 0 110px; }
  .reel-pin { position: static; height: auto; overflow: visible; display: block; }
  .reel-track {
    transform: none !important; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding-bottom: 50px; -webkit-overflow-scrolling: touch; scrollbar-width: none; align-items: flex-start;
  }
  .reel-track::-webkit-scrollbar { display: none; }
  .reel-track > * { scroll-snap-align: start; }
  .reel-frame.tall, .reel-frame.mid { height: auto; width: 78vw; margin: 0; align-self: auto; }
  .reel-frame.wide { height: auto; width: 150vw; margin: 0; align-self: auto; }
  .reel-frame.land { height: auto; width: 88vw; margin: 0; align-self: auto; }
  .reel-intro, .reel-words, .reel-end { width: 82vw; }
  .reel-hint { display: none; }
  .peek-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .hero-pan img { animation: none; transform: translateX(calc(-50% + 50vw)); }
  .grain { display: none; }
}
