/* =========================================================
   HEO JIIN — FOLIO 2026
   Minimal · sans-serif · soft white · thin black lines
   ========================================================= */

:root {
  --paper:     #fafafa;
  --paper-2:   #f2f2f0;
  --ink:       #141414;
  --ink-soft:  #3a3a3a;
  --ink-mute:  #8a8a8a;
  --line:      #141414;
  --line-soft: rgba(20,20,20,.14);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "JetBrains Mono", monospace;

  --pad: clamp(20px, 5vw, 72px);
  --t1: cubic-bezier(.2,.7,.2,1);
  --t2: cubic-bezier(.5,0,.05,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9100;
  pointer-events: none;
  transform: translate3d(-200px,-200px,0);
  transition: opacity .25s var(--t1);
  mix-blend-mode: difference;
}
.cursor__dot {
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: #fff;
  border-radius: 999px;
  transition: transform .28s var(--t1);
}
.cursor.is-hover .cursor__dot { transform: scale(3.4); }
/* hide the custom cursor on any touch-primary device — `hover: none`
   alone misses phones/webviews that wrongly report `hover: hover`,
   so `pointer: coarse` is checked as a second, more reliable signal */
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body { cursor: none; } a, button { cursor: none; } }

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: background .35s var(--t1), border-color .35s var(--t1);
}
/* over the hero video — transparent bar, white text */
.topbar.is-over-hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.topbar.is-over-hero .topbar__brand,
.topbar.is-over-hero .topbar__brand span,
.topbar.is-over-hero .topbar__nav a,
.topbar.is-over-hero .meta-clock {
  color: #fff;
}
.topbar.is-over-hero .topbar__brand { text-shadow: 0 1px 12px rgba(20,20,20,.4); }
.topbar__brand { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.topbar__brand span { color: var(--ink-mute); font-weight: 400; margin-left: 2px; }
.topbar__nav {
  justify-self: center;
  display: flex; gap: 26px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.topbar__nav a { color: var(--ink-mute); transition: color .2s var(--t1); }
.topbar__nav a:hover { color: var(--ink); }
.topbar__meta { justify-self: end; }
.meta-clock {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em;
  color: var(--ink-mute);
}

/* =========================================================
   HERO  — fullscreen video background
   ========================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  /* word bottom-left, intro bottom-right — align their last
     text-row baselines so MAKER and "BA in Design." sit level */
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: last baseline;
  padding: var(--pad);
  gap: 32px;
}

/* video fills the frame, no letterboxing */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* faint veil — lifts text legibility off the pastel video */
.hero__veil {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      rgba(20,20,20,.32) 0%,
      rgba(20,20,20,.10) 26%,
      rgba(20,20,20,0)   52%);
}

/* bottom-left: bold uppercase intro word */
.hero__word {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(44px, 8.5vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(20,20,20,.25);
}

/* bottom-right: small intro paragraph */
.hero__intro {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: none;
  justify-self: end;
  text-align: right;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  font-weight: 400;
  text-shadow: 0 1px 16px rgba(20,20,20,.4);
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vh, 56px) var(--pad) 22px;
  border-top: 1.5px solid var(--line);
}
.section-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-count {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* =========================================================
   WORKS GRID
   ========================================================= */
.works-section { padding-bottom: clamp(40px, 8vh, 96px); }
/* extra breathing room between the hero video and the first section */
.works-section .section-head {
  padding-top: clamp(56px, 9vh, 104px);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  padding: clamp(24px, 4vh, 44px) var(--pad) 0;
}
.work-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 18px;
  border: 0;
  border-radius: 4px;
  background-color: var(--paper-2);
  background-image: var(--thumb);
  background-size: cover;
  background-position: var(--thumb-pos, center);
  font: inherit;
  text-align: left;
  overflow: hidden;
  cursor: none;
  transition: transform .5s var(--t1), box-shadow .5s var(--t1);
}
/* opt-in hairline for cards where the artwork has a light edge
   that needs definition against the page */
.work-card--bordered {
  border: 1px solid rgba(20,20,20,.08);
}
.work-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 4px;
  background: rgba(20,20,20,0);
  transition: background .45s var(--t1);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(20,20,20,.4);
}
.work-card:hover::after { background: rgba(20,20,20,.12); }

/* ── coming soon card — visible but inert ── */
.work-card--soon {
  background-color: var(--paper-2);
  background-image: none;
  cursor: not-allowed;
}
.work-card--soon::after { display: none; }
.work-card--soon:hover {
  transform: none;
  box-shadow: none;
}
.work-card--soon .work-card__plate {
  background: transparent;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
  align-items: center;
  padding: 14px 22px;
  max-width: 80%;
}
.work-card--soon:hover .work-card__plate { transform: translate(-50%, 50%); }
.work-card--soon .work-card__title { color: var(--ink); }
.work-card--soon .work-card__cat {
  color: var(--ink-mute);
  margin-top: 6px;
  padding: 4px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
.work-card__plate {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 18px;
  background: var(--paper);
  border-radius: 2px;
  max-width: calc(100% - 36px);
  transition: transform .5s var(--t1);
}
.work-card:hover .work-card__plate { transform: translateY(-2px); }
.work-card__num {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .1em;
  color: var(--ink-mute);
}
.work-card__title {
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: -0.005em;
  line-height: 1.15;
  text-transform: uppercase;
}
.work-card__cat {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 5vh, 56px) var(--pad) clamp(40px, 8vh, 88px);
}
.about__lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.about__lead p { margin: 0 0 1em; }
.about__lead p:last-child { margin-bottom: 0; }

.about__sheet { margin: 0; }
.about__sheet div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.about__sheet div:first-child { border-top: 1px solid var(--line-soft); }
.about__sheet dt {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.about__sheet dd {
  margin: 0;
  font-size: 13.5px;
  text-align: right;
  color: var(--ink);
}

/* Multi-line row (Experience) — label left, stacked values right */
.about__sheet-multi {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.about__sheet-multi dt {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.about__sheet-multi dd {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.about__sheet-multi dd span {
  font-size: 13.5px;
  color: var(--ink);
}

/* Skills row — stacked label + two-line tag grid */
.about__sheet-skills {
  display: block;
  padding: 14px 0 4px;
  border-bottom: 1px solid var(--line-soft);
}
.about__sheet-skills dt {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.about__sheet-skills dd {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;     /* two clean columns */
  gap: 8px 14px;
}
.about__sheet-skills dd span {
  font-size: 13px;
  color: var(--ink);
  text-align: left;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.about__skills { grid-column: 1 / -1; }
.about__skills h3 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 400;
}
.about__skills ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.about__skills li {
  padding: 7px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-bottom: 0; }
.contact__list {
  list-style: none; margin: 0;
  padding: clamp(8px, 2vh, 20px) var(--pad) clamp(40px, 8vh, 80px);
}
.contact__list li { border-bottom: 1px solid var(--line-soft); }
.contact__list li:first-child { border-top: 1px solid var(--line-soft); }
.contact__list a {
  display: flex; align-items: baseline; gap: 20px;
  padding: clamp(20px, 3.4vh, 34px) 4px;
  transition: padding-left .4s var(--t1);
}
.contact__list a:hover { padding-left: 22px; }
.contact__label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute);
  flex: 0 0 90px;
}
.contact__value {
  font-weight: 500;
  font-size: clamp(17px, 2vw, 26px);
  letter-spacing: -0.015em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px var(--pad);
  border-top: 1.5px solid var(--line);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.foot a { transition: color .2s var(--t1); }
.foot a:hover { color: var(--ink); }

/* =========================================================
   CASE OVERLAY  — fullscreen, slides up from bottom
   ========================================================= */
.overlay {
  position: fixed; inset: 0; z-index: 500;
  visibility: hidden;
}
.overlay.is-open { visibility: visible; }

/* dim backdrop — the index dims behind */
.overlay__scrim {
  position: absolute; inset: 0;
  background: rgba(20,20,20,.5);
  opacity: 0;
  transition: opacity .45s var(--t1);
  cursor: none;
}
.overlay.is-open .overlay__scrim { opacity: 1; }

/* the project sheet — leaves a strip of backdrop at the top */
.overlay__sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: clamp(54px, 9vh, 92px);          /* gap at top -> dimmed index peeks */
  background: var(--paper);
  border-top: 1.5px solid var(--line);
  border-radius: 14px 14px 0 0;
  transform: translateY(100%);
  transition: transform .6s var(--t2);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -30px 60px -30px rgba(20,20,20,.5);
}
.overlay.is-open .overlay__sheet { transform: translateY(0); }

/* sticky close handle */
.overlay__close {
  position: sticky; top: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  width: 100%;
  padding: 14px var(--pad) 12px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 14px 14px 0 0;
  cursor: none;
}
.overlay__close-bar {
  width: 44px; height: 4px;
  border-radius: 999px;
  background: var(--line-soft);
  transition: background .2s var(--t1);
}
.overlay__close:hover .overlay__close-bar { background: var(--ink); }
.overlay__close-txt {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute);
}

.overlay__inner { padding-bottom: 90px; }

/* ── case content ───────────────────────────────── */
.case__hero {
  padding: clamp(36px, 6vw, 80px) var(--pad) clamp(28px, 4vw, 48px);
  max-width: 1100px;
}
.case__no {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.case__title {
  margin: 0 0 28px;
  font-weight: 500;
  font-size: clamp(34px, 6.5vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.case__meta {
  list-style: none; margin: 0 0 30px; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.case__meta li {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px 16px 0;
}
.case__meta li + li { border-left: 1px solid var(--line-soft); padding-left: 18px; }
.case__meta li span {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.case__meta li b { font-weight: 500; font-size: 14px; }
.case__lede {
  margin: 0 0 14px;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
}
.case__para {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* external link button inside a case (e.g. research deck) */
.case__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: none;
  transition: background .25s var(--t1), color .25s var(--t1);
}
.case__link:hover {
  background: var(--ink);
  color: var(--paper);
}

/* =========================================================
   CASE GALLERY  — pair / full / video, no leftover whitespace
   ========================================================= */
.case__gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 20px);
  padding: clamp(8px, 1.4vw, 20px) var(--pad) 0;
}

/* shared figure shell */
.case__gallery figure {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid rgba(20,20,20,.06);   /* very light grey edge */
  border-radius: 4px;
  overflow: hidden;
}

/* ── two images on one row, equal height, cropped to align ── */
.g-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 20px);
  align-items: stretch;
}
.g-pair figure {
  aspect-ratio: 3 / 2;          /* uniform row height — kills frame gaps */
}
.g-pair figure img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;            /* fill the frame, no whitespace */
  object-position: center;
}

/* square + wide variant: 1st figure keeps a true 1:1,
   2nd figure matches that height (wide gif fills, cropped sides) */
.g-pair--sq figure:first-child { aspect-ratio: 1 / 1; }
.g-pair--sq figure:last-child  { aspect-ratio: auto; }   /* stretches to row height */
.g-pair--sq figure:last-child img { height: 100%; }

/* photo + wide gif: gif keeps a 16:9 frame (more horizontal room),
   the photo column is narrower and crops to the same row height */
.g-pair--wide {
  grid-template-columns: 0.62fr 1fr;   /* photo smaller, gif wider */
}
.g-pair--wide figure:last-child {       /* the gif — wide 16:9 */
  aspect-ratio: 16 / 9;
}
.g-pair--wide figure:first-child {      /* the photo — fills row height */
  aspect-ratio: auto;
}
.g-pair--wide figure:first-child img { height: 100%; }

/* ── one image, full width, natural aspect ── */
.g-full {
  width: 100%;
}
.g-full img {
  display: block;
  width: 100%; height: auto;    /* original ratio, no crop */
}

/* ── video, full width 16:9 ── */
.g-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-color: transparent;
}
.g-video iframe,
.g-video video {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}

/* ── placeholder for not-yet-uploaded images ── */
.g-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg,
      var(--paper-2) 0 14px,
      #ededeb 14px 28px);
  border: 1px dashed var(--line-soft);
}
.g-empty.g-full { aspect-ratio: 21 / 9; }
.g-empty span {
  font-family: var(--mono);
  font-size: 13px; letter-spacing: .1em;
  color: var(--ink-mute);
}

/* =========================================================
   EXPERIMENTS — lighter layout for the side-studies case
   ========================================================= */
.case__hero--compact {
  padding-bottom: clamp(16px, 2vw, 28px);
}
.case__hero--compact .case__title {
  font-size: clamp(28px, 5vw, 64px);
  margin-bottom: 18px;
}

.case__experiments {
  padding: clamp(8px, 1.4vw, 20px) var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 96px);
}

.exp {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-soft);
}
.exp:first-child {
  border-top: 0;
  padding-top: 0;
}

.exp__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.exp__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.exp__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.exp__para {
  margin: 0;
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.exp__grid {
  margin-top: clamp(6px, 0.8vw, 10px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.4vw, 20px);
}
.exp__cell {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid rgba(20,20,20,.06);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.exp__cell--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.exp__cell img,
.exp__cell video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* natural — let the asset set its own height (no crop).
   Defined after the base rule so it wins on equal specificity. */
.exp__cell--natural {
  aspect-ratio: auto;
}
.exp__cell--natural img,
.exp__cell--natural video {
  height: auto;
  object-fit: contain;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.work-card,
.about__lead,
.about__sheet,
.about__skills,
.contact__list li {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--t1), transform .8s var(--t1),
              box-shadow .5s var(--t1);
}
.is-in { opacity: 1 !important; transform: translateY(0) !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .case__meta { grid-template-columns: repeat(2, 1fr); }
  .case__meta li:nth-child(3) { border-left: 0; padding-left: 0; }
  .case__meta li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar__nav { display: none; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 3 / 2; }
  .about__grid { grid-template-columns: 1fr; }
  .about__sheet dd { font-size: 12.5px; }
  .overlay__sheet { top: clamp(44px, 7vh, 64px); }
  /* gallery: pairs stack to single column on mobile */
  .g-pair { grid-template-columns: 1fr; }
  .g-pair figure { aspect-ratio: 4 / 3; }
  /* experiments: stack the grid on mobile */
  .exp__grid { grid-template-columns: 1fr; }
  .exp__cell { aspect-ratio: 4 / 3; }
  .exp__cell--wide { aspect-ratio: 16 / 9; }
  .exp__cell--natural { aspect-ratio: auto; }
  /* hero: stack word + intro vertically */
  .hero {
    grid-template-columns: 1fr;
    align-content: end;
    align-items: start;
    gap: 16px;
  }
  .hero__intro {
    justify-self: start;
    text-align: left;
    max-width: 40ch;
  }
  /* on mobile, ignore the desktop line breaks and let text flow */
  .hero__intro br { display: none; }
}
@media (max-width: 560px) {
  .case__meta { grid-template-columns: 1fr; }
  .case__meta li,
  .case__meta li + li {
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--line-soft);
  }
  .case__meta li:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
