:root {
  /* colors */
  --paper:      #F5F9FD;
  --card:       #FFFFFF;
  --ink:        #2B3A55;
  --ink-soft:   #66748F;
  --line:       #DCE7F2;
  --stroke:     #3F5B86;
  --link:       #3B82C4;

  --blue:       #7EB6E8;
  --purple:     #B49BDC;
  --coral:      #F4A89A;
  --mint:       #8FD3B6;
  --gold:       #F7D17A;

  --blue-tint:   #E3F0FB;
  --purple-tint: #EFE8F9;
  --coral-tint:  #FDECE8;
  --mint-tint:   #E6F6EE;
  --gold-tint:   #FDF5DF;

  /* per-page accent */
  --accent:      var(--blue);
  --accent-tint: var(--blue-tint);

  /* fonts */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* spacing */
  --max: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --shadow-offset: 6px;

  color-scheme: light;
}

/* dark mode */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:    #161A24;
  --card:     #1E2330;
  --ink:      #E9EDF5;
  --ink-soft: #A7B0C4;
  --line:     #2B3243;
  --stroke:   #8FB2DA;
  --link:     #8FC2F2;
  --blue-tint:   rgba(126, 182, 232, 0.20);
  --purple-tint: rgba(180, 155, 220, 0.22);
  --coral-tint:  rgba(244, 168, 154, 0.20);
  --mint-tint:   rgba(143, 211, 182, 0.20);
  --gold-tint:   rgba(247, 209, 122, 0.20);
}

/* Page accents */
body.page-home        { --accent: var(--blue);   --accent-tint: var(--blue-tint); }
body.page-science     { --accent: var(--purple); --accent-tint: var(--purple-tint); }
body.page-engineering { --accent: var(--blue);   --accent-tint: var(--blue-tint); }
body.page-design      { --accent: var(--coral);  --accent-tint: var(--coral-tint); }
body.page-personal    { --accent: var(--mint);   --accent-tint: var(--mint-tint); }
body.page-education   { --accent: var(--gold);   --accent-tint: var(--gold-tint); }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
::selection { background: var(--accent-tint); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

.mono, .eyebrow, .tag, .nav a, .pill {
  font-family: var(--font-mono);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 88px); }
.section + .section { border-top: 2px dashed var(--line); }
.page-hero + .section, .hero + .section { padding-top: clamp(28px, 4vw, 44px); }
.section--tight { padding-block: clamp(24px, 4vw, 40px); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* underline highlight */
.hl {
  position: relative; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(transparent 62%, var(--accent-tint) 62%, var(--accent-tint) 92%, transparent 92%);
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--ink); text-decoration: none;
}
.brand-logo {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--stroke); box-shadow: 2px 2px 0 var(--accent);
  transform: rotate(-4deg); transition: transform .25s;
}
.brand:hover .brand-logo { transform: rotate(4deg); }

.nav { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-block; padding: 0.45rem 0.85rem; border-radius: 999px;
  font-size: 0.86rem; text-decoration: none; color: var(--ink-soft);
  border: 2px solid transparent; transition: all .2s;
}
.nav a:hover { color: var(--ink); border-color: var(--line); }
.nav a[aria-current="page"] {
  color: var(--ink); background: var(--card); border-color: var(--stroke);
  box-shadow: 3px 3px 0 var(--accent);
}

.site-header .nav { margin-left: auto; }
.header-right { display: flex; align-items: center; gap: 0.6rem; margin-left: 0.6rem; order: 3; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  border: 2px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--stroke); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--stroke); border-radius: 10px;
  padding: 0.35rem 0.6rem; color: var(--ink); font-family: var(--font-mono); font-size: 0.85rem;
  cursor: pointer;
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; background: var(--card); border: 2px solid var(--stroke);
    border-radius: 14px; padding: 0.5rem; box-shadow: 5px 5px 0 var(--accent);
  }
  .nav.open { display: flex; }
}

/* --------------------------------------------------------------------------
   Sticker cards (the house style)
   -------------------------------------------------------------------------- */
.card {
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.card.lift:hover, a.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 var(--accent);
}
a.card { text-decoration: none; color: inherit; display: block; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card--blue   { --accent: var(--blue);   --accent-tint: var(--blue-tint); }
.card--purple { --accent: var(--purple); --accent-tint: var(--purple-tint); }
.card--coral  { --accent: var(--coral);  --accent-tint: var(--coral-tint); }
.card--mint   { --accent: var(--mint);   --accent-tint: var(--mint-tint); }
.card--gold   { --accent: var(--gold);   --accent-tint: var(--gold-tint); }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Tags & pills */
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.tag {
  font-size: 0.74rem; padding: 0.22rem 0.6rem; border-radius: 999px;
  background: var(--accent-tint); color: var(--ink); border: 1.5px solid transparent;
  transition: transform .15s;
}
.tag:hover { transform: rotate(-2deg); }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; padding: 0.35rem 0.8rem; border-radius: 999px;
  border: 2px solid var(--stroke); background: var(--card); color: var(--ink); text-decoration: none;
  box-shadow: 3px 3px 0 var(--accent); transition: transform .15s, box-shadow .15s;
}
.pill:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--accent); color: var(--ink); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500;
  padding: 0.7rem 1.2rem; border-radius: 12px; text-decoration: none;
  border: 2px solid var(--stroke); color: var(--ink); background: var(--card);
  box-shadow: 4px 4px 0 var(--accent); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); color: var(--ink); }
.btn-solid { background: var(--accent); color: #1F2433; }
.btn-solid:hover { color: var(--ink); }
.btn--blue   { --accent: var(--blue); }
.btn--purple { --accent: var(--purple); }
.btn--coral  { --accent: var(--coral); }
.btn--mint   { --accent: var(--mint); }
.btn--gold   { --accent: var(--gold); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.avatar {
  width: min(320px, 70vw); margin: 0 auto; aspect-ratio: 1;
  border: 3px solid var(--stroke); border-radius: 28px; overflow: hidden;
  box-shadow: 10px 10px 0 var(--accent); transform: rotate(-3deg);
  transition: transform .3s;
}
.avatar:hover { transform: rotate(0deg); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* floating icons */
.doodle {
  position: absolute; width: 40px; height: 40px; opacity: 0.55;
  color: var(--accent); pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}
.doodle svg { width: 100%; height: 100%; }
.doodle.d1 { top: 10%; left: 4%; color: var(--purple); animation-delay: -1s; }
.doodle.d2 { bottom: 12%; left: 8%; color: var(--mint); width: 34px; height: 34px; animation-delay: -4s; }
.doodle.d3 { top: 16%; right: 5%; color: var(--coral); animation-delay: -2s; }
.doodle.d4 { bottom: 14%; right: 9%; color: var(--gold); width: 32px; height: 32px; animation-delay: -6s; }
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 900px) { .doodle { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .doodle { animation: none; }
  html { scroll-behavior: auto; }
}

.hero .hero-actions .btn { padding-inline: 1.4rem; }
.hero-tabs .btn { font-size: 1rem; padding: 0.85rem 1.8rem; border-radius: 999px; }
.hero-tab-rows { display: inline-flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.hero-tab-rows .hero-actions { margin-top: 0; }
.hero-tabs--second { justify-content: center; }
@media (max-width: 640px) {
  .hero-tab-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; width: 100%; }
  .hero-tab-rows .hero-actions { display: contents; }
  .hero-tabs .btn { justify-content: center; padding-inline: 0.8rem; }
  .hero-tabs--second .btn:last-child { grid-column: 1 / -1; }
}
.hero-text .hobby-text .links, .hobby-text .links { margin-top: 1rem; }
.hobby-text .links .pill { margin: 0 0.4rem 0.5rem 0; }
.card .links { margin-bottom: 0; }

/* education list */
.edu { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.edu li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.edu li:last-child { border-bottom: 1px solid var(--line); }
.edu .when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); padding-top: 0.25rem; letter-spacing: 0.04em; }
@media (max-width: 480px) { .edu li { grid-template-columns: 1fr; gap: 0.2rem; } }

/* education page */
.edu-stack { display: grid; gap: 1.2rem; max-width: 720px; }
.edu-stack .card .role { margin-bottom: 0; }

/* design page */
.roles-grid .card { display: flex; flex-direction: column; }
.roles-grid .card h3 { margin-bottom: 0.5rem; }
.roles-grid .card .role { margin: 0 0 1.1rem; }
.roles-grid .card .links { margin-top: auto; }

/* section titles */
body.page-design .section { padding-block: clamp(28px, 4vw, 44px); }
body.page-design .section-head { margin-bottom: 1.2rem; }
body.page-design .section-head h2 { margin-bottom: 0.3rem; }
body.page-design .section-head h2::before,
body.page-design .section-head h2::after {
  content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); vertical-align: middle; margin: 0 0.7rem; position: relative; top: -2px;
}

body.page-design .page-hero .wrap { text-align: center; }
body.page-design .page-hero .lead { margin-inline: auto; }
body.page-design .eyebrow { justify-content: center; }
body.page-design .section-head { margin-inline: auto; text-align: center; }
body.page-design .gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
body.page-design .gallery figure { width: 222px; max-width: 100%; }
body.page-design .gallery.wide figure { width: 400px; }
body.page-design .gallery.tall figure { width: 270px; }
body.page-design .gallery--big figure { width: 300px; }
body.page-design .tags { justify-content: center; }
body.page-design .card .eyebrow { justify-content: flex-start; }

/* hero */
.page-hero { padding-block: clamp(40px, 6vw, 64px) clamp(8px, 2vw, 20px); position: relative; overflow: hidden; }
.page-hero .wrap { max-width: 860px; }
.page-hero h1 { margin-bottom: 0.9rem; }

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px;
  border-left: 2px dashed var(--line);
}
.timeline li { position: relative; padding-left: 2.4rem; margin-bottom: 2rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline .when { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.04em; }
.timeline h3 { margin: 0.2rem 0 0.1rem; }
.timeline .where { color: var(--ink-soft); margin-bottom: 0.6rem; font-size: 0.95rem; }
.timeline ul { margin: 0; padding-left: 1.1rem; }
.timeline ul li { padding-left: 0; margin-bottom: 0.35rem; }
.timeline ul li::before { display: none; }

/* --------------------------------------------------------------------------
   Chapters (science page): a label column and a prose column
   -------------------------------------------------------------------------- */
.chapter { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 720px) { .chapter { grid-template-columns: 1fr; gap: 1rem; } }
.chapter .meta { position: sticky; top: 90px; }
@media (max-width: 720px) { .chapter .meta { position: static; } }
.chapter .meta .eyebrow { margin-bottom: 0.5rem; }
.chapter .meta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.4rem; }
.chapter .meta .where { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.chapter .body { max-width: 64ch; }
.chapter .body p:last-of-type { margin-bottom: 0; }
.chapter .tags { margin-top: 1.4rem; }
.chapter--flip .meta { order: 2; }
@media (max-width: 720px) { .chapter--flip .meta { order: 0; } }

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; }
.checklist li::before {
  content: "✦"; position: absolute; left: 0; color: var(--accent); font-size: 0.9rem; top: 0.15rem;
}

.bullets { margin: 0.6rem 0 0; padding-left: 1.1rem; }
h3 + .bullets { margin-top: 0.3rem; }
.bullets li { margin-bottom: 0.4rem; }
.bullets li::marker { color: var(--accent); }
.card .bullets { font-size: 0.97rem; }
.card .bullets li { margin-bottom: 0.3rem; }
.role { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-soft); margin: -0.3rem 0 0.4rem; }
.chapter .meta .links { margin-top: 0.8rem; }

.pub { margin-bottom: 1.2rem; padding-left: 1rem; border-left: 4px solid var(--accent); }
.pub p { margin: 0; }
.pub .venue { color: var(--ink-soft); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */
.project { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 560px) { .project { grid-template-columns: 1fr; } }
.project .when {
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft);
  padding-top: 0.35rem; letter-spacing: 0.04em;
}
.project h3 { margin-top: 0; }
.project .links { margin-top: 0.8rem; }

/* --------------------------------------------------------------------------
   Gallery (design page)
   -------------------------------------------------------------------------- */
.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gallery figure {
  margin: 0; background: var(--card); border: 2px solid var(--stroke); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--accent);
  transition: transform .2s, box-shadow .2s;
}
.gallery figure:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }
.gallery button {
  all: unset; display: block; cursor: zoom-in; width: 100%;
}
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery.wide img { aspect-ratio: 16 / 9; }
.gallery.tall img { aspect-ratio: 2 / 3; }
.gallery figcaption {
  padding: 0.7rem 0.9rem; font-size: 0.85rem; color: var(--ink-soft);
  border-top: 2px solid var(--line);
}
.gallery figure.g-blue   { --accent: var(--blue); }
.gallery figure.g-purple { --accent: var(--purple); }
.gallery figure.g-coral  { --accent: var(--coral); }
.gallery figure.g-mint   { --accent: var(--mint); }
.gallery figure.g-gold   { --accent: var(--gold); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: none;
  background: rgba(20, 20, 32, 0.86); padding: 4vh 4vw;
  align-items: center; justify-content: center; flex-direction: column; gap: 0.8rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 82vh; object-fit: contain;
  border: 3px solid #fff; border-radius: 12px; background: #fff;
}
.lightbox figcaption { color: #fff; font-family: var(--font-mono); font-size: 0.85rem; text-align: center; }
.lightbox .close {
  position: absolute; top: 16px; right: 16px; border: 2px solid #fff; background: transparent;
  color: #fff; border-radius: 10px; padding: 0.3rem 0.7rem; font-family: var(--font-mono); cursor: pointer;
}

/* --------------------------------------------------------------------------
   Misc blocks
   -------------------------------------------------------------------------- */
.banner {
  border: 2px solid var(--stroke); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--accent); margin-bottom: 2.5rem;
}
.banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

.now { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.now .card { padding: 1rem 1.2rem; }
.now .card .eyebrow { margin-bottom: 0.3rem; }
.now .card p { margin: 0; font-size: 0.98rem; }

/* personal page */
.hobby { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 720px) { .hobby { grid-template-columns: 1fr; gap: 1.2rem; } }
.hobby--flip .photo { order: 2; }
@media (max-width: 720px) { .hobby--flip .photo { order: 0; } }
.hobby-text { max-width: 52ch; }
.hobby-text .eyebrow { margin-bottom: 0.4rem; }
.hobby-text h2 { margin-bottom: 0.6rem; }
.hobby-text p:last-child { margin-bottom: 0; }
.photo {
  margin: 0; aspect-ratio: 4 / 3; overflow: hidden;
  border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--accent);
}
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%);
}
.photo--blue   { --accent: var(--blue); }
.photo--purple { --accent: var(--purple); }
.photo--coral  { --accent: var(--coral); }
.photo--mint   { --accent: var(--mint); }
.photo--gold   { --accent: var(--gold); }
.photo-slot {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, var(--accent-tint) 0 10px, var(--card) 10px 20px);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft); line-height: 1.6;
}
.photo--blue .photo-slot   { --accent-tint: var(--blue-tint); }
.photo--purple .photo-slot { --accent-tint: var(--purple-tint); }
.photo--coral .photo-slot  { --accent-tint: var(--coral-tint); }
.photo--gold .photo-slot   { --accent-tint: var(--gold-tint); }
.photo--mint .photo-slot   { --accent-tint: var(--mint-tint); }

.stat { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 2px solid var(--line); padding-block: 2.5rem 3rem; margin-top: 2rem;
  color: var(--ink-soft); font-size: 0.9rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem; align-items: center; }
.site-footer .pill-row { gap: 0.5rem; }
.site-footer p { margin: 0; }
