:root {
  --accent: #D92B4B;
  --bg: #ffffff;
  --text: #333333;
  --heading: #2b2b2b;
  --muted: #8a8a8a;
  --muted-2: #b0b0b0;
  --border: #eaeaea;
  --border-2: #e4e4e4;
  --border-3: #dddddd;
  --serif: 'Instrument Serif', serif;
  --mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; }

/* The display:flex rules below would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; background: var(--bg); }

body {
  font-family: var(--mono);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #ffffff; }

button { font-family: var(--mono); }

img { max-width: 100%; display: block; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes hintBounce { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -6px); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.bg-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0; opacity: 1;
}

.pet-canvas {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 55;
}

.page { position: relative; z-index: 1; min-height: 100vh; }

/* Anchor targets clear the sticky nav. */
#projects, #experience, #about { scroll-margin-top: 90px; }

/* ---------- NAV ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 48px; position: sticky; top: 0;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(10px);
  z-index: 50; border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: var(--serif); font-size: 22px; font-style: italic; }
.nav-links { display: flex; gap: 28px; font-size: 13px; text-transform: lowercase; }
.nav-links a { text-decoration: none; color: var(--text); transition: color 0.15s; }
.nav-links a:hover { color: var(--accent); }

/* ---------- FILM STRIP ---------- */
.filmstrip {
  overflow: hidden; border-bottom: 1px solid var(--border);
  padding: 8px 0; background: rgba(255,255,255,0.5);
  margin-top: 24px; margin-bottom: -24px;
}
.filmstrip-track {
  display: inline-flex; gap: 14px; white-space: nowrap; align-items: center;
  will-change: transform;
}
.filmstrip-track img {
  height: 84px; width: 112px; object-fit: cover; object-position: top;
  border-radius: 6px;
}
.filmstrip--large { margin-top: 0; margin-bottom: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; }
.filmstrip--large .filmstrip-track img { height: 130px; width: 174px; border-radius: 8px; }

/* ---------- HERO ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 60px 48px 40px; max-width: 1400px; margin: 0 auto; min-height: 78vh;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; color: var(--accent); }
.hero-name {
  font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 9vw, 130px);
  line-height: 0.95; margin: 0; color: var(--heading);
}
.hero-name em { font-style: italic; }
.cursor-blink {
  display: inline-block; width: 0.45em; height: 0.08em; background: var(--accent);
  margin-left: 0.08em; animation: blink 1.2s step-end infinite;
}
.hero-sub { font-size: 16px; line-height: 1.7; max-width: 46ch; margin: 0; }
.hero-sub .amp { font-family: var(--serif); font-size: 1.15em; font-style: italic; }
.hero-cta { display: flex; gap: 16px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.btn-primary {
  text-decoration: none; background: var(--heading); color: #ffffff;
  padding: 12px 24px; border-radius: 999px; transition: background 0.15s;
}
.btn-primary:hover { background: var(--accent); color: #ffffff; }
.hero-hint { color: var(--muted-2); }
.hero-portrait { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#portrait-canvas { width: 100%; max-width: 560px; aspect-ratio: 1; cursor: crosshair; touch-action: none; }
.portrait-caption { font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; }
.portrait-fallback { width: 100%; max-width: 560px; }

/* ---------- MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 14px 0; white-space: nowrap; background: rgba(255,255,255,0.6);
}
.marquee-track {
  display: inline-flex; gap: 48px; animation: marquee 22s linear infinite;
  font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--muted);
}
.marquee-track .star { color: var(--accent); }

/* ---------- POLAROIDS ---------- */
.polaroid { transition: transform 0.3s; }
.polaroid:hover { transform: rotate(0deg) scale(1.03) !important; }
.polaroid-card {
  background: #ffffff; border: 1px solid var(--border-2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.09); padding: 12px 12px 40px;
}
.polaroid-photo {
  width: 210px; height: 230px; object-fit: cover; object-position: top;
}
.polaroid-photo--tall { width: 230px; height: 280px; object-fit: cover; }
.polaroid-photo--about { width: 320px; height: 360px; }
.polaroid-caption {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--muted); text-align: center; margin-top: 11px;
}

/* ---------- INTERLUDE ---------- */
.interlude {
  max-width: 1000px; margin: 0 auto; padding: 100px 48px 90px;
  display: flex; flex-direction: column; align-items: center; gap: 50px; text-align: center;
}
.interlude-quote {
  font-family: var(--serif); font-size: 34px; line-height: 1.5; color: var(--heading);
  margin: 0; max-width: 28ch;
}
.interlude-quote em { color: var(--accent); font-style: italic; }
.polaroid-row { display: flex; gap: 38px; justify-content: center; flex-wrap: wrap; }

/* ---------- PROJECTS ---------- */
.projects { max-width: 1400px; margin: 0 auto; padding: 90px 48px; }
.section-heading-row { display: flex; align-items: baseline; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-heading { font-family: var(--serif); font-weight: 400; font-size: 56px; margin: 0; color: var(--heading); }
.section-heading-note { font-size: 13px; color: var(--muted); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  font-family: var(--mono); font-size: 12px; cursor: pointer; border: 1px solid var(--border-3);
  background: transparent; color: #666666; border-radius: 999px; padding: 8px 18px;
  transition: all 0.18s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { color: #ffffff; }

.project-list { display: flex; flex-direction: column; }
.project-row { border-top: 1px solid var(--border); }
.project-row:last-child { border-bottom: 1px solid var(--border); }
.project-head {
  display: grid; grid-template-columns: 60px 1fr auto auto; gap: 24px; align-items: baseline;
  padding: 26px 12px; cursor: pointer; color: var(--text);
  transition: background 0.2s, padding-left 0.2s; background: none; border: none; width: 100%;
  text-align: left; font-family: var(--mono);
}
.project-head:hover { background: rgba(246,246,246,0.85); padding-left: 28px; }
.project-num { font-size: 13px; color: var(--accent); }
.project-title-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.project-name { font-family: var(--serif); font-size: 32px; color: var(--heading); }
.project-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.project-tag {
  font-size: 12px; color: var(--muted); border: 1px solid var(--border-3); border-radius: 999px;
  padding: 5px 14px; white-space: nowrap; align-self: center;
}
.project-year { font-size: 13px; color: var(--muted-2); white-space: nowrap; }

.project-expand { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 36px; padding: 6px 12px 40px 84px; align-items: start; }
.project-shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-width: 0; }
.project-shots:empty { display: none; }
.project-shots--single { grid-template-columns: minmax(0, 1fr); max-width: 50%; margin: 0 auto; }
.project-shot-img { width: 100%; height: 230px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--border-2); }
.project-shot {
  width: 100%; height: 230px; border-radius: 6px; background: rgba(127,127,127,0.06);
  border: 1.5px dashed rgba(51,51,51,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted-2); text-align: center; padding: 12px;
}
.project-detail { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.project-more { font-size: 13px; line-height: 1.8; color: #555555; margin: 0; }
.project-field { display: flex; flex-direction: column; gap: 6px; }
.project-field-label { font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; }
.project-field-value { font-size: 13px; color: var(--text); }
.project-stack { font-size: 12px; color: var(--accent); }
.project-links { display: flex; gap: 18px; font-size: 13px; }
.see-more-btn {
  font-family: var(--mono); font-size: 13px; cursor: pointer; background: transparent;
  border: 1px solid var(--border-3); color: var(--muted); border-radius: 999px;
  padding: 10px 28px; margin: 24px auto 8px; display: block;
  transition: all 0.18s;
}
.see-more-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- SNAPSHOT BREAK ---------- */
.snapshot-break { display: flex; gap: 48px; justify-content: center; padding: 24px 48px 100px; flex-wrap: wrap; }

/* ---------- EXPERIENCE ---------- */
.experience { background: rgba(250,250,250,0.8); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.experience-top {
  max-width: 1400px; margin: 0 auto; padding: 90px 48px; display: grid;
  grid-template-columns: 0.8fr 1.2fr; gap: 60px;
}
.experience-heading-col { position: sticky; top: 110px; align-self: start; }
.exp-years-row { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 18px; }
.exp-years { font-size: 46px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.exp-years-label { font-size: 12px; color: var(--muted); max-width: 18ch; line-height: 1.5; }
.experience-blurb { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 34ch; }

.job-list { display: flex; flex-direction: column; gap: 0; }
.job-row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--border-2); }
.job-dates { display: flex; flex-direction: column; gap: 4px; }
.job-years { font-size: 13px; color: var(--muted-2); }
.job-dur { font-size: 11px; color: var(--accent); }
.job-type { font-size: 11px; color: var(--muted-2); }
.job-body { display: flex; flex-direction: column; gap: 6px; }
.job-role { font-size: 16px; font-weight: 700; color: var(--heading); }
.job-role em { font-family: var(--serif); font-weight: 400; color: var(--accent); font-style: italic; }
.job-blurb { font-size: 13px; line-height: 1.7; color: #666666; }

.orgs-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px 90px; display: flex; flex-direction: column; gap: 24px; }
.orgs-heading-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.orgs-heading { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; color: var(--heading); }
.orgs-note { font-size: 12px; color: var(--muted); }
.org-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.org-card {
  border: 1px solid var(--border-2); background: #ffffff; border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.org-years { font-size: 11px; color: var(--accent); letter-spacing: 0.08em; }
.org-role { font-size: 14px; font-weight: 700; color: var(--heading); }
.org-name { font-family: var(--serif); font-style: italic; font-size: 16px; color: #666666; }
.org-blurb { font-size: 12px; line-height: 1.7; color: var(--muted); }

.job-stack { font-size: 11px; color: var(--accent); letter-spacing: 0.05em; margin-top: 6px; }
.job-link { font-size: 12px; color: var(--accent); text-decoration: none; margin-top: 8px; display: inline-block; border-bottom: 1px solid currentColor; }
.job-link:hover { opacity: 0.75; color: var(--accent); }

/* ---------- AWARDS ---------- */
.awards-wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px 90px; display: flex; flex-direction: column; gap: 24px; }
.awards-heading-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.awards-heading { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; color: var(--heading); }
.awards-note { font-size: 12px; color: var(--muted); }
.award-list { display: flex; flex-direction: column; gap: 0; }
.award-card {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  padding: 22px 0; border-top: 1px solid var(--border-2);
  align-items: start;
}
.award-star { font-size: 18px; color: var(--accent); padding-top: 2px; }
.award-body { display: flex; flex-direction: column; gap: 5px; }
.award-name { font-size: 15px; font-weight: 700; color: var(--heading); }
.award-year { font-size: 11px; color: var(--accent); margin-left: 8px; font-weight: 400; }
.award-desc { font-size: 13px; line-height: 1.7; color: #666666; }


/* ---------- ABOUT ---------- */
.about {
  max-width: 1200px; margin: 0 auto; padding: 110px 48px; display: grid;
  grid-template-columns: 380px 1fr; gap: 70px; align-items: center;
}
.about-photo { justify-self: center; position: relative; transform: rotate(-3deg); transition: transform 0.3s; }
.about-photo:hover { transform: rotate(0deg) scale(1.02); }
.about-photo .polaroid-card--float { animation: floatY 5.5s ease-in-out infinite; padding: 14px 14px 52px; box-shadow: 0 14px 40px rgba(0,0,0,0.1); }
.about-photo-tape {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(2deg);
  width: 90px; height: 26px; background: var(--accent); opacity: 0.35;
}
.about-lede { font-family: var(--serif); font-size: 28px; line-height: 1.5; color: var(--heading); margin: 0 0 22px; }
.about-lede em { color: var(--accent); font-style: italic; }
.about-body { font-size: 15px; line-height: 1.9; color: #666666; margin: 0 0 16px; max-width: 60ch; }
.about-body em { color: var(--accent); font-style: italic; font-family: var(--serif); font-size: 16px; }
.about-body strong { color: var(--heading); font-weight: 700; font-style: normal; }
.about-body--closing { border-top: 1px solid var(--border-2); padding-top: 16px; margin-top: 4px; font-style: italic; color: #888; }
.about-copy .section-heading { margin: 0 0 28px; }

/* ---------- INTRO ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: #ffffff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; cursor: pointer; opacity: 1; transition: opacity 0.65s;
}
.intro.exit { opacity: 0; pointer-events: none; }
.intro.done { display: none; }
#intro-canvas { width: min(300px, 60vw); aspect-ratio: 1; }
.intro-name { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--heading); }
.intro-text { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.intro-skip { font-size: 11px; color: #c0c0c0; }

/* ---------- PICKER ---------- */
.picker-wrap {
  position: fixed; bottom: 20px; right: 20px; z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.picker-panel {
  background: #ffffff; border: 1px solid var(--border-2); border-radius: 12px;
  padding: 16px 18px; box-shadow: 0 10px 34px rgba(0,0,0,0.1);
  display: flex; flex-direction: column; gap: 12px; width: 208px;
}
.picker-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.picker-swatches { display: flex; gap: 8px; }
.picker-swatch {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid #ffffff;
}
.picker-swatch.active { border: 3px solid var(--heading); }
.picker-pets { display: flex; flex-wrap: wrap; gap: 6px; }
.picker-pet-btn {
  font-family: var(--mono); font-size: 11px; cursor: pointer; border: 1px solid var(--border-3);
  background: transparent; color: #666666; border-radius: 999px; padding: 6px 12px;
}
.picker-pet-btn.active { color: #ffffff; border-color: var(--accent); background: var(--accent); }
.picker-footnote { font-size: 10px; color: var(--muted-2); line-height: 1.5; }
.picker-toggle {
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #ffffff;
  border: none; cursor: pointer; font-size: 19px; box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center; transition: transform 0.15s;
}
.picker-toggle:hover { transform: scale(1.08); }

/* ---------- PICKER HINT ---------- */
.picker-hint {
  position: fixed; bottom: 84px; right: 80px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.picker-hint-card {
  background: #ffffff; border: 1px solid var(--border-2); border-radius: 10px; padding: 12px 16px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.08); max-width: 230px;
  display: flex; flex-direction: column; gap: 6px;
}
.picker-hint-title { font-size: 12px; font-weight: 700; color: var(--heading); }
.picker-hint-body { font-size: 12px; line-height: 1.6; color: #666666; }
.picker-hint-dismiss {
  align-self: flex-end; font-family: var(--mono); font-size: 11px; cursor: pointer;
  border: none; background: transparent; color: var(--accent); padding: 0; text-decoration: underline;
}
.picker-hint-arrow {
  font-size: 30px; color: var(--accent); animation: hintBounce 1s ease-in-out infinite;
  line-height: 1; margin-right: -46px;
}

/* ---------- XP BAR ---------- */
.xp-bar {
  position: fixed; bottom: 20px; left: 20px; z-index: 60;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--border-2); border-radius: 10px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.xp-bar-row { display: flex; gap: 10px; align-items: baseline; font-size: 11px; }
.xp-level { color: var(--accent); font-weight: 700; }
.xp-title { color: var(--muted); }
.xp-track { width: 150px; height: 6px; background: #efefef; border-radius: 999px; overflow: hidden; }
.xp-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.25s; }

/* ---------- GAME OVERLAY ---------- */
.game-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px;
}
.game-header { display: flex; justify-content: space-between; align-items: center; width: 480px; max-width: 92vw; padding: 4px 0; }
.game-title { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--heading); }
.game-lives { font-size: 14px; color: var(--accent); letter-spacing: 3px; }
.game-scores { font-size: 12px; color: var(--muted); }
.game-combo-bar { width: 480px; max-width: 92vw; font-size: 11px; letter-spacing: 0.08em; text-align: center; min-height: 18px; color: #888; transition: color 0.2s; }
#game-canvas { border: 1px solid var(--border-2); background: #ffffff; touch-action: none; cursor: none; max-width: 92vw; height: auto; }
.game-footer { display: flex; gap: 22px; align-items: center; font-size: 12px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.game-close {
  font-family: var(--mono); font-size: 12px; cursor: pointer; border: 1px solid var(--border-3);
  background: transparent; color: #666666; border-radius: 999px; padding: 6px 16px;
}
.game-close:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border); padding: 40px 48px; display: flex;
  justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto;
  flex-wrap: wrap; gap: 16px;
}
.footer-say-hi { font-family: var(--serif); font-style: italic; font-size: 20px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; }

/* Scroll-reveal hidden/shown state is applied via inline styles from script.js
   (only for elements below the fold at load), so no base rule lives here. */

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 24px 32px; min-height: unset; }
  .hero-portrait { order: -1; }
  .nav { padding: 18px 24px; }
  .experience-top { grid-template-columns: 1fr; gap: 32px; }
  .experience-heading-col { position: static; }
  .about { grid-template-columns: 1fr; padding: 70px 24px; gap: 40px; }
  .about-photo { order: -1; }
  .projects, .interlude, .experience-top, .orgs-wrap, .awards-wrap { padding-left: 24px; padding-right: 24px; }
  .project-head { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .project-tag, .project-year { grid-column: 2; justify-self: start; }
  .project-expand { grid-template-columns: 1fr; padding-left: 24px; }
  .footer { padding: 32px 24px; justify-content: center; text-align: center; }
  .xp-bar, .picker-hint { display: none; }
}

@media (max-width: 600px) {
  /* nav */
  .nav { padding: 14px 20px; gap: 12px; }
  .nav-logo { font-size: 18px; }
  .nav-links { gap: 16px; font-size: 12px; }

  /* hero */
  .hero { padding: 28px 20px 24px; gap: 24px; }
  .hero-copy { gap: 18px; }
  .hero-sub { font-size: 14px; }
  .hero-hint { display: none; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* filmstrip */
  .filmstrip-track img { height: 64px; width: 86px; }
  .filmstrip--large .filmstrip-track img { height: 100px; width: 133px; }

  /* marquee */
  .marquee-track { font-size: 18px; gap: 32px; }

  /* interlude */
  .interlude { padding: 52px 20px 52px; gap: 32px; }
  .interlude-quote { font-size: 22px; }
  .polaroid-photo { width: 160px; height: 175px; }

  /* section headings */
  .section-heading { font-size: 36px; }

  /* projects */
  .projects { padding: 60px 20px; }
  .project-name { font-size: 24px; }
  .project-expand { padding-left: 0; padding-right: 0; gap: 24px; }
  .project-shots--single { max-width: 100%; }
  .project-shot-img { height: 180px; }

  /* snapshot */
  .snapshot-break { gap: 20px; padding: 8px 20px 60px; flex-direction: column; align-items: center; }
  .polaroid-photo--tall { width: 200px; height: 240px; }

  /* experience */
  .experience-top { padding: 52px 20px; }
  .job-row { grid-template-columns: 1fr; gap: 8px; }
  .job-dates { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
  .orgs-wrap, .awards-wrap { padding: 0 20px 60px; }
  .org-grid { grid-template-columns: 1fr; }
  .award-card { grid-template-columns: 24px 1fr; gap: 10px; }

  /* about */
  .about { padding: 52px 20px; }
  .about-lede { font-size: 20px; }
  .polaroid-photo--about { width: 100%; height: auto; aspect-ratio: 3 / 4; }
  .about-photo { width: 100%; }

  /* game overlay */
  #game-canvas { width: 100%; height: auto; }
  .game-overlay { padding: 16px; }

  /* picker */
  .picker-wrap { bottom: 16px; right: 16px; }

  /* footer */
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

@media (max-width: 420px) {
  .nav-logo { font-size: 16px; }
  .nav-links { gap: 12px; font-size: 11px; }
  .section-heading { font-size: 30px; }
  .project-name { font-size: 20px; }
  .interlude-quote { font-size: 19px; }
  .hero-sub { font-size: 13px; }
  .filmstrip-track img { height: 54px; width: 72px; }
  .filmstrip--large .filmstrip-track img { height: 84px; width: 112px; }
}
