/* ==========================================================
   Daye Kang — portfolio
   Editorial, typography-led. Fraunces (display) + Inter (text)
   + IBM Plex Mono (meta). Warm paper, ink, persimmon accent.
   ========================================================== */

:root {
  --paper: #ffffff;
  --paper-2: #f5f5f3;
  --ink: #1b1a17;
  --ink-soft: #4c4a44;
  --ink-mute: #908d84;
  --accent: #1b1a17;
  --accent-ink: #1b1a17;
  --award: #966d15;
  --award-bg: #f6edd8;
  --rule: #e3e3e3;
  --rule-strong: #e3e3e3;
  --max: 1120px;
  --disp: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.teaching-page { background: #f7f7f5; }

::selection { background: var(--accent); color: #fff; }

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

a { color: inherit; text-decoration: none; }
p a, .abs a, .what a, li a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(27,26,23,.35);
  transition: text-decoration-color .15s;
}
p a:hover, .what a:hover { text-decoration-color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ---------- utilities ---------- */
.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0 28px;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--disp);
  font-size: 1.22rem; font-weight: 500; letter-spacing: .005em;
}
.brand span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 12px;
  text-decoration: none;
  transition: color .15s;
}
nav a:hover { color: var(--ink); }
nav a.active { color: var(--ink); font-weight: 700; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.45rem; cursor: pointer; color: var(--ink); }
@media (max-width: 800px) {
  .nav { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  nav { display: none; width: 100%; }
  nav.open { display: block; padding-top: 8px; }
  nav ul { flex-direction: column; gap: 2px; }
}

/* ---------- hero (home) ---------- */
.hero { padding: 84px 28px 64px; }
.hero-grid {
  display: grid; grid-template-columns: 400px minmax(0,1fr);
  gap: 72px; align-items: start;
}
.hero-side { min-width: 0; }
.hero .cta { margin-top: 30px; }
.hero .kicker { margin-bottom: 22px; }
.hero h1 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 360;
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero h1 em { font-style: normal; font-weight: 600; color: var(--ink); }
.hero .bio p { max-width: 620px; margin-bottom: 15px; color: var(--ink-soft); font-size: 1.01rem; }
.hero .bio .lead { font-size: 1.24rem; line-height: 1.42; color: var(--ink); margin-bottom: 22px; }
.hero .pron { font-family: var(--mono); font-size: .78rem; color: var(--ink-mute); margin-top: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.chip {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: #fff; color: var(--ink-soft);
}
.chip.gold { border-color: #e5d3a1; background: var(--award-bg); color: var(--award); font-weight: 500; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  transition: background .18s, color .18s, transform .18s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* Hero contact links — minimal "CV | Google Scholar" + icon row (under portrait) */
.hero-links { margin: 12px 0 0; }
.hl-text { display: flex; align-items: center; gap: 13px; font-weight: 700; font-size: 1.22rem; letter-spacing: .01em; }
.hl-text a { color: #14532d; text-decoration: none; transition: color .18s; }
.hl-text a:hover { color: #0d3a1f; }
.hl-sep { color: #14532d; font-weight: 400; }
.hl-icons { display: flex; align-items: center; gap: 26px; margin-top: 20px; }
.hl-icons a { color: #222; display: inline-flex; transition: color .18s, transform .18s; }
.hl-icons a:hover { color: #14532d; transform: translateY(-1px); }
.hl-icons svg { height: 23px; width: auto; display: block; }

/* organic profile: portrait blob (front) + nature video blob (behind) */
.portrait-organic {
  position: relative;
  width: 100%;
  aspect-ratio: 705 / 602;
}
.portrait-organic .po-portrait,
.portrait-organic .po-nature {
  position: absolute;
  display: block;
  object-fit: cover;
}
.portrait-organic .po-portrait {
  left: 0.809%; top: 0.314%; width: 65.131%; height: 87.825%;
  object-position: 50% 20%;
  clip-path: url(#poPortraitClip); -webkit-clip-path: url(#poPortraitClip);
  z-index: 2;
}
.portrait-organic .po-nature {
  left: 18.597%; top: 13.594%; width: 81.139%; height: 85.592%;
  clip-path: url(#poNatureClip); -webkit-clip-path: url(#poNatureClip);
  z-index: 1;
  background: radial-gradient(ellipse at 64% 20%, #f4f0cc 0%, #dbe89f 14%, #93b84e 42%, #557f30 72%, #28471c 100%);
}
.po-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait-organic { max-width: 300px; }
}

/* ---------- section headings ---------- */
.section { padding: 30px 0 20px; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  border-top: 1px solid var(--rule);
  padding-top: 18px; margin-bottom: 34px;
}
.sec-head h2 {
  font-family: var(--disp); font-weight: 300;
  font-size: 1.9rem; letter-spacing: -.01em;
}
.sec-head .num { font-family: var(--mono); font-size: .72rem; color: var(--ink-mute); letter-spacing: .1em; }
.sec-head .more { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.sec-head .more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- page head (subpages) ---------- */
.page-head { padding: 76px 0 44px; }
.page-head .kicker { margin-bottom: 18px; }
.page-head h1 {
  font-family: var(--disp); font-weight: 300;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.12; letter-spacing: -.01em;
  max-width: 900px;
}
.page-head .lede { margin-top: 20px; color: var(--ink-soft); font-size: 1.04rem; max-width: 640px; }

/* ---------- news ---------- */
.news { list-style: none; max-width: 820px; }
.news > li {
  display: grid; grid-template-columns: 104px 1fr; gap: 26px;
  padding: 17px 0; border-bottom: 1px solid var(--rule);
}
.news .date {
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  color: var(--ink-mute); letter-spacing: .08em; padding-top: 4px; white-space: nowrap;
}
.news .what { color: var(--ink-soft); font-size: .97rem; }
.news .what ul { margin: 8px 0 2px 20px; font-size: .92rem; list-style: disc; }
.news .what ul li { display: list-item; margin: 4px 0; padding: 0; border: 0; }
.news .badge { font-weight: 600; color: var(--award); }
@media (max-width: 560px) { .news > li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- publications ---------- */
.pub {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  padding: 42px 0; border-bottom: 1px solid var(--rule);
}
.pub:last-of-type { border-bottom: none; }
.pub .thumb {
  position: relative; border-radius: 10px; overflow: hidden;
  align-self: start; background: var(--paper-2);
}
.pub .thumb img {
  width: 100%; aspect-ratio: 4/2.9; object-fit: cover;
  transition: transform .5s ease;
}
.pub:hover .thumb img { transform: scale(1.035); }
.pub .thumb::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08);
}
.pub .venue {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.award-pill {
  display: inline-block;
  font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em;
  color: var(--award); background: var(--award-bg);
  border: 1px solid #e5d3a1; border-radius: 999px;
  padding: 3px 11px;
}
.pub h3 {
  font-family: var(--disp); font-weight: 600;
  font-size: 1.42rem; line-height: 1.28; letter-spacing: -.008em;
  margin-bottom: 10px;
}
.pub .authors { font-size: .89rem; color: var(--ink-mute); margin-bottom: 14px; }
.pub .authors b { color: var(--ink); font-weight: 600; }
.pub .abs { font-size: .94rem; color: var(--ink-soft); margin-bottom: 18px; max-width: 640px; }
.pub .links { display: flex; gap: 8px; flex-wrap: wrap; }
.pub .links a {
  font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 15px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink);
  transition: background .15s, color .15s;
}
.pub .links a:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .pub { grid-template-columns: 1fr; gap: 20px; } .pub .thumb { max-width: 340px; } }

/* ---------- project cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 34px; padding-bottom: 40px;
}
.card { position: relative; display: block; }
.card .frame { border-radius: 12px; overflow: hidden; position: relative; background: var(--paper-2); }
.card .frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08);
}
.card img {
  width: 100%; aspect-ratio: 16/10.5; object-fit: cover;
  transition: transform .55s ease;
}
.card:hover img { transform: scale(1.045); }
.card .pad { padding: 18px 4px 0; }
.card .tag {
  font-family: var(--mono); font-size: .66rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute);
  display: block; margin-bottom: 8px;
}
.card h3 {
  font-family: var(--disp); font-weight: 600;
  font-size: 1.28rem; line-height: 1.28; margin-bottom: 8px;
  display: inline;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 96%;
  transition: background-size .3s ease;
}
.card:hover h3 { background-size: 100% 1.5px; }
.card p { font-size: .9rem; color: var(--ink-soft); margin-top: 8px; }
.card .arrow {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(250,248,244,.92); color: var(--ink);
  font-size: .95rem;
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity .25s, transform .25s;
}
.card:hover .arrow { opacity: 1; transform: none; }

/* ---------- artwork gallery ---------- */
.gallery { columns: 4 230px; column-gap: 18px; padding-bottom: 50px; }
.gallery .art { break-inside: avoid; margin-bottom: 18px; border-radius: 10px; overflow: hidden; position: relative; }
.gallery .art::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(27,26,23,.08);
}
.gallery img { width: 100%; transition: transform .5s ease; }
.gallery .art:hover img { transform: scale(1.04); }

/* ---------- detail pages ---------- */
.meta-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  gap: 20px 34px; padding: 26px 0; margin: 10px 0 30px;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.meta-grid dt {
  font-family: var(--mono); font-size: .64rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 6px;
}
.meta-grid dd { font-size: .92rem; color: var(--ink); }
.dsec, #intro { scroll-margin-top: 92px; }
article.detail h2 {
  font-family: var(--disp); font-weight: 700;
  font-size: 1.5rem; margin: 46px 0 20px; letter-spacing: -.008em;
  border-bottom: 1px solid var(--rule); padding-bottom: 12px;
}
article.detail p { max-width: 660px; margin-bottom: 15px; color: var(--ink-soft); }
article.detail ul { max-width: 660px; margin: 0 0 15px 20px; color: var(--ink-soft); }
article.detail img { margin: 22px 0; border-radius: 10px; }
article.detail h3 {
  font-family: var(--sans); font-weight: 600; font-size: 1.02rem;
  margin: 26px 0 8px; color: var(--ink);
}
.figrow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.figrow.c3 { grid-template-columns: 1fr 1fr 1fr; }
.figrow.c4 { grid-template-columns: repeat(4, 1fr); }
.figrow.c21 { grid-template-columns: 2fr 1fr; align-items: end; }
.split { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; margin: 18px 0; }
.split img { margin: 0 !important; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }
.vstack img { margin: 0 0 16px !important; }
.figrow img { margin: 6px 0 !important; }
@media (max-width: 640px) { .figrow, .figrow.c3 { grid-template-columns: 1fr; } .figrow.c4 { grid-template-columns: 1fr 1fr; } }
.pull-quote {
  font-family: var(--disp); font-style: italic; font-weight: 600;
  font-size: 1.5rem; line-height: 1.4; color: var(--ink);
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 24px; margin: 28px 0; max-width: 700px;
}
.caption { font-family: var(--mono); font-size: .72rem; color: var(--ink-mute); margin: -12px 0 20px; max-width: 660px; }
.qa {
  border: 1px solid var(--rule); border-radius: 10px; background: #fff;
  padding: 18px 22px; margin-bottom: 14px; max-width: 680px;
}
.qa .who { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--accent-ink); margin-bottom: 8px; }
.qa p { font-size: .92rem; margin-bottom: 8px; }
.qa p:last-child { margin-bottom: 0; }
.awards-line {
  margin-top: 16px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  color: var(--award);
}
.back-home {
  display: inline-block; margin: 44px 0 20px;
  font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.back-home:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- teaching portfolio ---------- */
.teaching-course { padding-bottom: 96px; }
.teaching-course-head {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: 60px; align-items: end; padding: 34px 0 32px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.teaching-course-head h2 {
  font-family: "Fraunces", Georgia, serif; font-weight: 430;
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  margin: 10px 0 14px;
}
.course-code { color: var(--ink); font-weight: 600; font-size: .92rem; }
.course-summary { color: var(--ink-soft); font-size: 1rem; max-width: 560px; }
.teaching-subtitle {
  margin: 34px 0 18px; font-family: var(--disp); font-size: 1.35rem;
  font-weight: 600; line-height: 1.25; letter-spacing: -.01em;
}
.teaching-projects { border-bottom: 1px solid var(--rule); }
.teaching-project {
  min-width: 0; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  grid-template-rows: 1fr auto; column-gap: 46px; align-items: stretch;
  padding: 38px 0; border-top: 1px solid var(--rule);
}
.teaching-project:first-child { border-top: 0; }
.teaching-preview {
  grid-row: 1 / 3; position: relative; width: 100%; aspect-ratio: 16 / 10.5;
  overflow: hidden; border: 1px solid var(--rule); border-radius: 12px; background: #fff;
  box-shadow: none;
}
.teaching-preview img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.teaching-preview video {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: top center;
  transform: scale(1.4); transform-origin: top center;
}
.teaching-project-copy {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding: 4px 0 22px;
}
.project-number { font-family: var(--mono); font-size: .72rem; color: var(--ink-mute); }
.teaching-project-copy h3 {
  font-family: var(--disp); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.22;
  margin: 0 0 9px;
}
.teaching-project-copy p { max-width: 720px; color: var(--ink-soft); font-size: .94rem; }
.teaching-project-copy .student-credit {
  margin: -1px 0 10px; color: var(--ink); font-size: .8rem; font-weight: 600; line-height: 1.45;
}
.teaching-launch {
  display: flex; justify-content: space-between; align-items: center;
  margin-left: 0; padding: 12px 0;
  font-family: var(--mono); font-size: .78rem; font-weight: 650; letter-spacing: .025em;
  transition: color .18s, padding .18s;
}
.teaching-launch:hover { color: #14532d; padding-left: 6px; }
.teaching-launch span { font-size: 1rem; }
@media (max-width: 760px) {
  .teaching-course-head { grid-template-columns: 1fr; gap: 24px; }
  .teaching-project { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; padding: 30px 0 34px; }
  .teaching-preview { grid-row: auto; }
  .teaching-project-copy { grid-template-columns: 1fr; gap: 4px; }
  .teaching-launch { margin-left: 0; }
}

/* ---------- full-bleed hero (detail pages) ---------- */
.bleed { width: 100vw; margin: 12px calc(50% - 50vw) 34px; }
.bleed img {
  width: 100%; max-height: 82vh; object-fit: cover;
  border-radius: 0 !important; margin: 0 !important; border: none;
}

/* ---------- detail page side nav (scrollspy) ---------- */
.side-nav {
  display: none;
  position: fixed; left: 24px; top: 50%; transform: translateY(-50%);
  z-index: 60; max-width: 158px;
}
@media (min-width: 1480px) { .side-nav { display: block; } }
.side-nav a {
  display: block;
  font-family: var(--sans); font-size: .72rem; line-height: 1.45;
  letter-spacing: .06em;
  padding: 4px 0;
  color: var(--ink-mute); opacity: .75;
  transition: color .2s, opacity .2s;
}
.side-nav a:hover { color: var(--ink); opacity: 1; text-decoration: none; }
.side-nav a.on { color: var(--ink); opacity: 1; font-weight: 700; }

/* ---------- flow layouts (labeled columns) ---------- */
.lcol { text-align: center; }
.lcol .caption { text-align: left; }
.lcol-label {
  font-family: var(--disp); font-weight: 700; font-size: 1.15rem;
  color: var(--accent-ink); margin-bottom: 10px; text-align: center;
}
.flow-center { max-width: 460px; margin: 26px auto 6px; text-align: center; position: relative; }
.flow-center img { margin: 8px auto !important; }
.flow-arrows { display: flex; justify-content: space-between; padding: 2px 0 6px; color: var(--ink); font-size: 1.5rem; opacity: .4; }

/* ---------- artwork hover overlay + lightbox ---------- */
.gallery .art { cursor: zoom-in; }
.art-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(22,21,18,.72), rgba(22,21,18,0) 55%);
  opacity: 0; transition: opacity .25s ease;
  border-radius: 10px; pointer-events: none;
}
.art-overlay span {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .08em; color: #fff;
}
.gallery .art:hover .art-overlay { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(22,21,18,.95);
  display: none; align-items: center; justify-content: center;
  padding: 36px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 6px; margin: 0 auto; }
.lightbox figcaption {
  margin-top: 18px; color: rgba(250,248,244,.85);
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.lightbox figcaption strong {
  display: block; font-family: var(--disp); font-weight: 600; font-size: 1.2rem;
  color: #fff; margin-bottom: 6px;
}
.lightbox figcaption span { font-size: .86rem; line-height: 1.55; }

/* ---------- footer ---------- */
footer { margin-top: 90px; background: var(--ink); color: var(--paper); }
.foot { max-width: var(--max); margin: 0 auto; padding: 64px 28px 40px; }
.foot .kicker { color: rgba(255,255,255,.7); margin-bottom: 16px; }
.foot .big-link {
  font-family: var(--disp); font-weight: 300;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem); letter-spacing: -.01em;
  color: var(--paper);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s ease;
}
.foot .big-link:hover { background-size: 100% 2px; }
.foot-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(250,248,244,.16);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  color: rgba(250,248,244,.55);
}
.foot-row a { color: rgba(250,248,244,.8); margin-left: 22px; }
.foot-row a:hover { color: #fff; }


/* ---------- colored section bands (full-bleed, like original) ---------- */
.banded {
  width: 100vw;
  margin: 40px calc(50% - 50vw);
  padding: 54px calc(50vw - 50%) 46px;
}
.banded > h2:first-child { margin-top: 0; }
.band-purple { background: #7300e6; }
.band-plum   { background: #290b42; }
.band-dark   { background: #3b4142; }
.band-lav    { background: #f5f2ff; }
.band-gray   { background: #fafafa; }
.banded.dk, .banded.dk h2, .banded.dk h3 { color: #fff; }
.banded.dk p, .banded.dk ul, .banded.dk li { color: rgba(255,255,255,.92); }
.banded.dk .caption { color: rgba(255,255,255,.65); }
.banded.dk h2 { border-bottom-color: rgba(255,255,255,.35); }
.banded.dk .pull-quote { color: #fff; border-left-color: rgba(255,255,255,.7); }
.banded.dk .lcol-label { color: #fff; }

/* ---------- interview cards (Non-Experts / Experts) ---------- */
.int-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; align-items: start; margin: 24px 0; }
@media (max-width: 720px) { .int-grid { grid-template-columns: 1fr; } }
.int-col > h3 {
  margin-top: 0 !important;
  border-bottom: 1px solid var(--rule); padding-bottom: 10px;
}
.int-card { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.int-col .int-card:last-child { border-bottom: none; }
.int-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
article.detail .int-head img, .int-head img {
  width: 92px !important; height: 92px !important;
  border-radius: 50% !important; object-fit: cover;
  margin: 0 !important; flex-shrink: 0; border: none;
}
.int-name { font-weight: 600; font-size: .98rem; }
.int-name b { color: var(--accent-ink); }
.int-role { color: var(--ink-mute); font-size: .86rem; margin-top: 2px; }
.int-card p.q { color: var(--ink-soft); font-size: .93rem; margin-bottom: 12px; }

.meta-grid > div:last-child { min-width: 0; }
@media (max-width: 860px) {
  .meta-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
}


/* ---------- decorative videos ---------- */
video { display: block; max-width: 100%; }
.video-strip { margin-top: 60px; margin-bottom: 0; }
.video-strip video { width: 100%; height: auto; display: block; }
.video-duo { margin: 44px 0 20px; }
.video-duo video { width: 100%; border-radius: 10px; }
.gallery .art video { width: 100%; }

/* ---------- concept composition (books + characters + arrow) ---------- */
.compose { position: relative; max-width: 640px; margin: 30px auto 8px; padding: 0 52px; }
.compose img.bg { width: 100%; margin: 0 !important; }
.compose img.char-l, .compose img.char-r {
  position: absolute; top: 50%; transform: translateY(-50%);
  height: 90%; width: auto !important; margin: 0 !important;
}
.compose .char-l { left: 0; }
.compose .char-r { right: 0; }
.compose .arr {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 2.6rem; color: #c2b2f0; line-height: 1;
}

/* ---------- arrow between paired images ---------- */
.arrow-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 18px 0; }
.arrow-row img { margin: 0 !important; }
.arr2 { font-size: 2.1rem; color: #c2b2f0; line-height: 1; }
@media (max-width: 640px) { .arrow-row { grid-template-columns: 1fr; } .arr2 { transform: rotate(90deg); justify-self: center; } }

/* ---------- typographic hierarchy refinements ---------- */
article.detail p, article.detail ul { line-height: 1.7; }
article.detail h3 { font-size: 1.04rem; margin: 30px 0 10px; }
article.detail h2 { font-size: 1.45rem; }
.caption { line-height: 1.6; margin-top: -8px; }
.news .what { line-height: 1.65; }
.abs { line-height: 1.65; }


/* ---------- lightbox catalog label + navigation ---------- */
.lightbox figure { cursor: default; }
.lightbox figcaption { margin-top: 22px; }
.lightbox figcaption strong {
  display: block; font-weight: 600; font-size: 1.15rem;
  color: #fff; margin-bottom: 12px; letter-spacing: .01em;
}
.lb-meta {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px 40px; margin-bottom: 14px;
}
.lb-meta .k {
  display: block; font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 3px;
}
.lb-meta .v { display: block; font-size: .84rem; color: rgba(255,255,255,.92); }
.lightbox figcaption p {
  font-size: .86rem; line-height: 1.6; color: rgba(255,255,255,.78);
  max-width: 560px; margin: 0 auto;
}
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 310; background: none; border: none; cursor: pointer;
  font-size: 3.4rem; line-height: 1; color: rgba(255,255,255,.55);
  padding: 20px 22px; transition: color .15s;
}
.lb-nav:hover { color: #fff; }
.lb-nav.prev { left: 8px; }
.lb-nav.next { right: 8px; }
