/* ============================================================
   A Home of One's Choosing — Ashlee Oh
   Pratt Show 2026 · Undergraduate Communications Design
   Quiet, exhibition-grade type system rooted in hanji + minhwa.
   ============================================================ */

:root {
  /* — Hanji ivory + ink + minhwa red palette — */
  --ivory:        #f5ecdc;
  --ivory-soft:   #f1e6d2;
  --ivory-deep:   #e9dcc1;
  --paper:        #fbf6ea;
  --paper-warm:   #f4ead3;
  --ink:          #2a2620;
  --ink-soft:     #4a4238;
  --ink-faint:    #8a7f72;
  --rule:         #c7b69a;
  --rule-soft:    #d9cab0;
  --sun-red:      #b03a2e;
  --sun-red-deep: #8a2e25;
  --green-pine:   #4f6a4a;
  --green-soft:   #7d9374;
  --jade:         #6c8a72;
  --indigo:       #354b6a;
  --blue-mist:    #6f8aa1;
  --ochre:        #c89a4f;
  --earth:        #8c6f4f;
  --pink-dust:    #c98a82;
  --skin-warm:    #e8caa8;

  /* — Type system — */
  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --kr:    "Noto Serif KR", "Cormorant Garamond", serif;

  /* — Rhythm — */
  --measure:    36rem;
  --space-2xl:  clamp(5rem, 11vw, 9rem);
  --space-xl:   clamp(4rem, 9vw, 7rem);
  --space-lg:   clamp(2.5rem, 5vw, 4rem);
  --space-md:   clamp(1.5rem, 3vw, 2.25rem);
  --space-sm:   1rem;
  --gutter:     clamp(1.5rem, 5vw, 4rem);
  --container:  1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  /* Hanji-like multi-layer paper texture: soft radial warmth + fine fiber noise */
  background-image:
    radial-gradient(at 18% 8%,  rgba(200, 154, 79, 0.06), transparent 40%),
    radial-gradient(at 82% 78%, rgba(176, 58, 46, 0.035), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0 0.30  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
  background-size: auto, auto, 480px 480px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
a:hover { color: var(--sun-red); border-color: var(--sun-red); }

::selection { background: var(--sun-red); color: var(--paper); }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .55rem 1.1rem; border: 0;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 200; }

/* — Reveal-on-scroll (set by JS / IntersectionObserver) — */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1), transform 900ms cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* — Scroll progress thin red rule under top nav — */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 60;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sun-red), var(--sun-red-deep));
  transition: width 90ms linear;
}

/* ============================================================
   Top nav
   ============================================================ */
.topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(245, 236, 220, 0.82);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  border-bottom: 1px solid var(--rule-soft);
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  border: 0; color: var(--ink);
  padding: 4px 6px 4px 0;
}
.brand:hover { color: var(--sun-red); }
.brand-mark { display: inline-flex; color: var(--ink-soft); }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif); font-size: 1.18rem;
  font-style: italic; letter-spacing: .01em;
}
.brand-sub {
  font-family: var(--sans); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .22em;
  color: var(--ink-faint);
  margin-top: 2px;
}

.topnav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.6rem;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.topnav-links a {
  border: 0;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.topnav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--sun-red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1);
}
.topnav-links a:hover { color: var(--sun-red); }
.topnav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 36px; height: 32px; padding: 4px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--ink-soft); margin: 5px 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

@media (max-width: 900px) {
  .topnav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule-soft);
    transform-origin: top; transform: scaleY(0);
    transition: transform 260ms ease;
  }
  .topnav-links li { border-top: 1px solid var(--rule-soft); }
  .topnav-links a {
    display: block;
    padding: 1rem clamp(1.25rem, 4vw, 3rem);
    letter-spacing: .2em;
  }
  .topnav-links a::after { display: none; }
  .topnav.open .topnav-links { transform: scaleY(1); }
  .nav-toggle { display: inline-block; }
  .topnav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topnav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .topnav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  max-width: var(--container); margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 3rem) 0 clamp(2rem, 4vw, 4rem);
}
.hero-art {
  position: relative; display: block;
}
.hero-art::before {
  content: ""; position: absolute; inset: -28px;
  background: var(--paper);
  box-shadow: 0 40px 100px -50px rgba(42, 38, 32, 0.45);
  z-index: -1;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1);
}
.hero-art::after {
  /* red sun motif tucked behind the image */
  content: ""; position: absolute;
  top: -32px; right: -22px;
  width: 86px; height: 86px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sun-red), var(--sun-red-deep));
  box-shadow: 0 0 70px -10px rgba(176,58,46,0.35);
  opacity: .92;
  z-index: -1;
  animation: sun-breath 6s ease-in-out infinite;
}
@keyframes sun-breath {
  0%,100% { transform: scale(1); opacity: .92; }
  50%     { transform: scale(1.06); opacity: 1; }
}
.hero-art img { width: 100%; height: auto; filter: saturate(.98); }
.hero-text { padding: 1rem 0; }
.kicker {
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 1.4rem;
}
.hero-text h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.0; letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
  color: var(--ink);
}
.hero-text h1 em {
  font-style: italic; font-weight: 500;
  color: var(--ink);
  background: linear-gradient(180deg, transparent 65%, rgba(176,58,46,0.14) 65%);
  padding: 0 .1em;
}
.subtitle {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  color: var(--sun-red); margin: 0 0 1.5rem;
  font-weight: 400;
  line-height: 1.3;
}
.byline {
  font-size: .92rem; color: var(--ink-soft);
  letter-spacing: .03em; margin: 0 0 2rem;
}
.byline strong { color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.byline span[lang="ko"] { font-family: var(--kr); color: var(--ink-faint); }
.lede {
  font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.55; color: var(--ink-soft);
  max-width: 30rem;
  margin: 0 0 2.2rem;
}
.lede em { color: var(--sun-red-deep); font-style: italic; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .9rem 1.5rem;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500; border: 1px solid var(--ink); border-radius: 0;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
}
.btn-primary:hover {
  background: var(--sun-red); border-color: var(--sun-red);
  color: var(--paper); transform: translateY(-1px);
  box-shadow: 0 16px 30px -18px rgba(176,58,46,0.55);
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero-art { order: -1; }
  .hero-art::before { inset: -16px; }
  .hero-art::after { width: 56px; height: 56px; top: -22px; right: -10px; }
}

/* — Hero strip (folding-screen thumb preview under the hero) — */
.hero-strip {
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 1.4rem 0 1rem;
}
.strip-cue {
  display: flex; align-items: center; gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.strip-line {
  flex: 1; max-width: 80px;
  height: 1px; background: var(--rule);
}
.strip-label {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint);
}
.strip-thumbs {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .5rem;
}
.strip-thumbs a {
  border: 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: .6rem .4rem;
  text-align: center;
  border-radius: 2px;
  transition: background 200ms ease;
}
.strip-thumbs a:hover {
  background: var(--ivory-soft);
}
.strip-thumbs a span:first-child {
  font-family: var(--serif); font-style: italic;
  color: var(--sun-red); font-size: 1.05rem;
}
.strip-thumbs a span:last-child {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .strip-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Verse / opening poem
   ============================================================ */
.verse {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-xl) var(--gutter);
  text-align: center;
}
.sun-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sun-red);
  margin: 0 auto var(--space-md);
  box-shadow: 0 0 0 6px rgba(176,58,46,0.10), 0 0 0 14px rgba(176,58,46,0.05);
  animation: sun-breath 6s ease-in-out infinite;
}
.sun-dot.lg {
  width: 18px; height: 18px;
  box-shadow: 0 0 0 8px rgba(176,58,46,0.10), 0 0 0 18px rgba(176,58,46,0.05);
}
.verse-body p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 .6em;
}
.verse-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Sections — shared
   ============================================================ */
.section {
  padding: var(--space-2xl) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.section-head { margin-bottom: var(--space-lg); }
.rule {
  width: 4rem; height: 1px;
  background: var(--sun-red);
  margin: 0 0 2.2rem;
  position: relative;
}
.rule::before {
  content: ""; position: absolute;
  left: 0; top: -3px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--sun-red);
}
.eyebrow {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sun-red-deep);
  margin: 0 0 .7rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.1; margin: 0 0 1.6rem;
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.section-lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44rem; margin: 0;
}

/* ============================================================
   Statement
   ============================================================ */
.statement-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.statement-body {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.26rem);
  line-height: 1.7;
  color: var(--ink-soft);
}
.statement-body p { margin: 0 0 1.4em; }
.statement-body em { color: var(--sun-red-deep); font-style: italic; }
.statement-body em[lang="ko"] { font-family: var(--kr); font-style: normal; }

.statement-aside {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-top: 2px solid var(--sun-red);
  box-shadow: 0 14px 40px -28px rgba(42,38,32,0.35);
}
.fact-list { margin: 0; }
.fact-list > div {
  padding: .9rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.fact-list > div:last-child { border-bottom: 0; }
.fact-list dt {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .25rem;
}
.fact-list dd {
  margin: 0; color: var(--ink);
  font-family: var(--serif); font-size: 1.05rem;
}

@media (max-width: 880px) {
  .statement-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Sequence (byeongpung overview filmstrip)
   ============================================================ */
.section-sequence {
  background: linear-gradient(180deg, transparent 0%, var(--ivory-soft) 14%, var(--ivory-soft) 86%, transparent 100%);
}
.screen {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.5rem, 1vw, 1rem);
  position: relative;
}
.screen::before, .screen::after {
  content: ""; position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--rule);
}
.screen::before { left: -10px; }
.screen::after  { right: -10px; }
.screen-panel {
  position: relative;
  transition: transform 450ms cubic-bezier(.2,.7,.2,1);
}
.screen-panel a {
  display: block;
  border: 0;
  background: var(--paper);
  padding: 6px 6px 0;
  box-shadow:
    inset 0 0 0 1px var(--rule-soft),
    0 10px 24px -18px rgba(42,38,32,0.35);
  transition: transform 450ms cubic-bezier(.2,.7,.2,1), box-shadow 450ms ease;
}
.screen-panel a:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px var(--sun-red),
    0 24px 40px -22px rgba(42,38,32,0.4);
}
.screen-panel img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  filter: saturate(.96);
}
.screen-label {
  padding: .7rem .2rem 1rem;
  text-align: center;
  display: flex; flex-direction: column; gap: 2px;
}
.screen-label .num {
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--sun-red);
}
.screen-label .ttl {
  font-family: var(--serif); font-style: italic;
  color: var(--ink);
  font-size: .98rem;
}
.screen-label .reg {
  font-size: .7rem; color: var(--ink-faint);
  letter-spacing: .04em;
}
.screen-caption {
  margin: 2rem auto 0;
  text-align: center;
  max-width: 38rem;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

@media (max-width: 920px) {
  .screen { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .screen { grid-template-columns: repeat(2, 1fr); }
  .screen-label .reg { display: none; }
}

/* ============================================================
   The Six Plates (asymmetric editorial layout)
   ============================================================ */
.plates {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: clamp(4rem, 9vw, 7rem);
}
.plate {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  scroll-margin-top: 88px;
}
.plate-left  { grid-template-columns: 1fr 1.25fr; }
.plate-left .plate-image { order: 2; }
.plate-left .plate-meta  { order: 1; }

.plate-image { position: relative; }
.plate-image::before {
  content: ""; position: absolute; inset: -18px;
  background: var(--paper);
  box-shadow: 0 32px 70px -42px rgba(42,38,32,0.4);
  z-index: 0;
}
.plate-image .lightbox-trigger {
  position: relative; z-index: 1;
  display: block; width: 100%;
  padding: 0; border: 0; background: transparent;
  cursor: zoom-in;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.plate-image .lightbox-trigger:hover { transform: translateY(-4px); }
.plate-image .lightbox-trigger:focus-visible {
  outline: 2px solid var(--sun-red); outline-offset: 6px;
}
.plate-image img { width: 100%; filter: saturate(.98); }

.plate-meta { padding: 1rem 0; }
.plate-num {
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sun-red);
  margin: 0 0 1rem;
  font-weight: 500;
}
.plate-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  margin: 0 0 .25rem;
  color: var(--ink);
}
.plate-sub {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin: 0 0 1.5rem;
}
.plate-sub::before {
  content: ""; display: inline-block;
  width: 22px; height: 1px; background: var(--sun-red);
  vertical-align: middle; margin-right: .6rem;
  transform: translateY(-3px);
}
.plate-line {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 1.8rem;
  max-width: 30rem;
}
.plate-spec { margin: 1.4rem 0 0; max-width: 26rem; }
.plate-spec > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: .55rem 0;
  border-top: 1px solid var(--rule-soft);
}
.plate-spec > div:last-child { border-bottom: 1px solid var(--rule-soft); }
.plate-spec dt {
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint);
}
.plate-spec dd {
  margin: 0; color: var(--ink); font-size: .92rem;
}

@media (max-width: 880px) {
  .plate, .plate-left { grid-template-columns: 1fr; }
  .plate-left .plate-image { order: 0; }
  .plate-left .plate-meta { order: 0; }
}

/* ============================================================
   Traditions
   ============================================================ */
.traditions {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.tradition {
  background: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  border-top: 2px solid var(--sun-red);
  box-shadow: 0 18px 42px -32px rgba(42,38,32,0.32);
  display: flex; flex-direction: column;
}
.tradition-hangul {
  font-family: var(--kr);
  font-size: 2.6rem;
  color: var(--ink);
  margin: 0 0 .2rem;
  line-height: 1;
}
.tradition-name {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.6rem;
  margin: 0 0 .15rem;
  color: var(--ink);
}
.tradition-en {
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.2rem;
}
.tradition-body {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
  flex: 1;
}
.tradition-img {
  display: block;
  background: var(--ivory-deep);
  padding: 6px;
  box-shadow: 0 8px 18px -14px rgba(42,38,32,0.4);
}
.tradition-img img {
  width: 100%; height: 200px; object-fit: cover;
  filter: saturate(.92);
}

@media (max-width: 880px) {
  .traditions { grid-template-columns: 1fr; }
  .tradition-img img { height: 240px; }
}

/* ============================================================
   Symbols
   ============================================================ */
.symbols-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem 2.5rem;
  margin: 0;
}
.symbol {
  border-top: 1px solid var(--rule-soft);
  padding: 1.2rem 0 0;
  transition: border-color 240ms ease;
}
.symbol:hover { border-top-color: var(--sun-red); }
.symbol dt {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; color: var(--ink);
  margin: 0 0 .4rem;
}
.symbol dd {
  margin: 0; color: var(--ink-soft);
  font-size: .96rem; line-height: 1.6;
}
.dot {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 50%; flex: none;
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px rgba(0,0,0,0.06);
}
.dot-door     { background: var(--ink); }
.dot-path     { background: var(--ochre); }
.dot-water    { background: var(--indigo); }
.dot-mountain { background: var(--jade); }
.dot-tree     { background: var(--green-soft); }
.dot-sun      { background: var(--sun-red); }
.dot-home     { background: var(--pink-dust); }

/* ============================================================
   Process
   ============================================================ */
.section-process {
  background: linear-gradient(180deg, transparent 0%, var(--ivory-soft) 12%, var(--ivory-soft) 88%, transparent 100%);
}
.process-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2.5rem, 4vw, 4rem) 0;
  border-top: 1px solid var(--rule-soft);
}
.process-block:first-of-type { border-top: 0; padding-top: 0; }
.process-copy { position: sticky; top: 96px; }
.process-num {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sun-red);
  margin: 0 0 1rem;
}
.process-copy h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.process-copy p {
  margin: 0; color: var(--ink-soft);
  max-width: 28rem; font-size: 1rem;
}

.process-images {
  display: grid; gap: 1rem;
}
.process-images.two-up   { grid-template-columns: repeat(2, 1fr); }
.process-images.three-up { grid-template-columns: repeat(3, 1fr); }
.process-images.four-up  { grid-template-columns: repeat(4, 1fr); }

.process-images figure {
  margin: 0; display: flex; flex-direction: column;
}
.process-images picture {
  display: block;
  background: var(--paper);
  padding: 5px;
  box-shadow: 0 10px 22px -16px rgba(42,38,32,0.35);
  transition: transform 400ms cubic-bezier(.2,.7,.2,1), box-shadow 400ms ease;
}
.process-images figure:hover picture {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px -18px rgba(42,38,32,0.45);
}
.process-images img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--paper); filter: saturate(.94);
}
.process-images figcaption {
  margin-top: .7rem;
  font-size: .8rem; color: var(--ink-faint);
  line-height: 1.45;
  font-family: var(--sans);
}

.process-mixed {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
.palette {
  margin: 0;
  background: var(--paper);
  padding: 1.3rem 1.4rem;
  box-shadow: 0 14px 34px -26px rgba(42,38,32,0.3);
}
.palette-title {
  font-family: var(--serif); font-style: italic;
  color: var(--ink);
  margin: 0 0 .8rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 1.1rem;
}
.palette > div {
  padding: .55rem 0;
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: .5rem;
  border-bottom: 1px solid var(--rule-soft);
}
.palette > div:last-child { border-bottom: 0; }
.palette dt {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--serif); font-style: italic;
  font-size: .98rem; color: var(--ink);
}
.palette dd {
  margin: 0; color: var(--ink-soft);
  font-size: .85rem;
}
.swatch {
  display: inline-block; width: 18px; height: 18px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  flex: none;
}
.sw-red    { background: var(--sun-red); }
.sw-ochre  { background: var(--ochre); }
.sw-jade   { background: var(--jade); }
.sw-indigo { background: var(--indigo); }
.sw-earth  { background: var(--earth); }
.sw-skin   { background: var(--skin-warm); }

@media (max-width: 980px) {
  .process-block { grid-template-columns: 1fr; }
  .process-copy { position: static; }
  .process-images.four-up { grid-template-columns: repeat(2, 1fr); }
  .process-images.three-up { grid-template-columns: repeat(2, 1fr); }
  .process-mixed { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .process-images.four-up { grid-template-columns: repeat(2, 1fr); }
  .process-images.three-up { grid-template-columns: 1fr; }
  .process-images.two-up { grid-template-columns: 1fr; }
}

/* ============================================================
   Reflection
   ============================================================ */
.section-reflection {
  background: var(--ivory);
  padding: var(--space-2xl) var(--gutter);
}
.reflection-inner {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.reflection-questions {
  list-style: none; margin: 0; padding: 0;
}
.reflection-questions li {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 .6em;
}
.reflection-coda {
  margin: 2.5rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
}
.rule-inline {
  display: inline-block; width: 28px; height: 1px;
  background: var(--sun-red); vertical-align: middle;
  margin-right: .8rem; transform: translateY(-3px);
}

/* ============================================================
   Booklet
   ============================================================ */
.booklet-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.booklet-body {
  max-width: var(--measure);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.65;
}
.booklet-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.thesis-links { margin-top: 2.5rem; }
.thesis-links-eyebrow {
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .8rem;
}
.thesis-links ul {
  list-style: none; margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: .98rem;
}
.thesis-links li {
  border-top: 1px solid var(--rule-soft);
  padding: .85rem 0;
}
.thesis-links li:last-child { border-bottom: 1px solid var(--rule-soft); }
.thesis-links a {
  border: 0; display: flex; align-items: center; justify-content: space-between;
  color: var(--ink); gap: 1rem;
}
.thesis-links a:hover { color: var(--sun-red); }
.thesis-links .arrow {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-faint);
  transition: transform 220ms ease, color 220ms ease;
}
.thesis-links a:hover .arrow { transform: translateX(4px); color: var(--sun-red); }

.booklet-stack {
  position: relative;
  height: clamp(260px, 36vw, 460px);
}
.booklet-stack .bk {
  position: absolute; top: 0; left: 0;
  width: 60%; aspect-ratio: 3 / 4;
  background: var(--paper); padding: 6px;
  box-shadow: 0 24px 50px -30px rgba(42,38,32,0.5);
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}
.booklet-stack .bk img { width: 100%; height: 100%; object-fit: cover; }
.booklet-stack .bk-1 { transform: rotate(-6deg) translate(-2%, 6%); z-index: 1; }
.booklet-stack .bk-2 { left: 22%; transform: rotate(2deg) translate(0, 0); z-index: 2; }
.booklet-stack .bk-3 { left: 44%; transform: rotate(8deg) translate(0, 4%); z-index: 1; }
.booklet-stack:hover .bk-1 { transform: rotate(-10deg) translate(-6%, 8%); }
.booklet-stack:hover .bk-3 { transform: rotate(12deg) translate(4%, 4%); }

@media (max-width: 880px) {
  .booklet-grid { grid-template-columns: 1fr; }
  .booklet-stack { display: none; }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-bio {
  max-width: var(--measure);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  margin: 0 0 2.5rem;
  line-height: 1.65;
}
.contact-list { margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--rule-soft);
  padding: 1.2rem 0;
}
.contact-list > div:last-child { border-bottom: 1px solid var(--rule-soft); }
.contact-list dt {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint);
}
.contact-list dd {
  margin: 0; color: var(--ink);
  font-family: var(--serif); font-size: 1.18rem;
}
.contact-list a { font-family: var(--serif); }

@media (max-width: 620px) {
  .contact-list > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-foot {
  border-top: 1px solid var(--rule-soft);
  padding: 2.5rem var(--gutter);
}
.foot-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
}
.foot-credit, .foot-meta {
  font-size: .82rem;
  color: var(--ink-faint);
  margin: 0;
}
.foot-credit em { font-family: var(--serif); color: var(--ink); }
.foot-meta span[lang="ko"] { font-family: var(--kr); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 18, 14, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox[aria-hidden="false"] {
  display: flex; flex-direction: column;
  animation: lb-in 280ms cubic-bezier(.2,.7,.2,1);
}
@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-frame {
  margin: 0;
  display: flex; flex-direction: column; align-items: center;
  max-width: 95vw;
}
.lightbox img {
  max-width: 92vw; max-height: 78vh;
  background: var(--paper); padding: 10px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}
.lightbox figcaption {
  margin-top: 1.2rem;
  text-align: center;
  color: var(--ivory-soft);
  max-width: 44rem;
}
.lightbox-meta {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sun-red);
  margin: 0 0 .35rem;
}
.lightbox-title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 0 0 .5rem;
  color: var(--paper);
}
.lightbox-caption {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; margin: 0 0 .5rem;
  color: var(--ivory-soft);
  line-height: 1.45;
}
.lightbox-counter {
  margin: 1rem 0 0;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none; border: 0; color: var(--ivory);
  cursor: pointer; padding: 0;
  transition: color 220ms ease, transform 220ms ease;
}
.lightbox-close {
  top: 1.4rem; right: 1.6rem;
  font-size: 2.2rem; line-height: 1;
  width: 2rem; height: 2rem;
}
.lightbox-prev, .lightbox-next {
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  font-family: var(--serif); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 1.8rem; }
.lightbox-next { right: 1.8rem; }
.lightbox-close:hover { color: var(--sun-red); transform: rotate(90deg); }
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--sun-red); border-color: var(--sun-red);
  background: rgba(176,58,46,0.10);
}

@media (max-width: 720px) {
  .lightbox-prev, .lightbox-next {
    width: 40px; height: 40px; font-size: 1.1rem;
  }
  .lightbox-prev { left: .8rem; }
  .lightbox-next { right: .8rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   v2 refinements — text/layout/visibility tightening
   ============================================================ */

/* — Byline alt name treatment (replaces 오하늘) — */
.byline-alt {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  margin-left: .15rem;
  letter-spacing: .01em;
}

/* — Verse: tighten eyebrow + breathing space — */
.verse-eyebrow {
  font-size: .68rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--sun-red-deep);
  margin: 0 auto var(--space-md);
  text-align: center;
  font-weight: 500;
}
.verse {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* — Section title: loosen max-width so journey/title doesn't truncate awkwardly — */
.section-title {
  max-width: 28ch;
}

/* — Stronger contrast on small labels for visibility — */
.eyebrow {
  color: var(--sun-red-deep);
  font-weight: 600;
}
.kicker {
  color: var(--ink-soft);
}
.fact-list dt,
.plate-spec dt,
.contact-list dt,
.thesis-links-eyebrow {
  color: var(--ink-soft);
  font-weight: 500;
}

/* — Scroll progress: pull just under nav border instead of fighting it — */
.scroll-progress {
  top: auto;
  bottom: calc(100vh - 0px); /* fallback */
}
/* Use modern positioning: ride at the very top of the viewport */
.scroll-progress {
  top: 0;
  bottom: auto;
  height: 3px;
  background: rgba(176,58,46,0.08);
}
.scroll-progress span {
  background: linear-gradient(90deg, var(--sun-red-deep), var(--sun-red));
}

/* — Hero strip thumbs: more discoverable hover affordance — */
.strip-thumbs a {
  border: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.strip-thumbs a:hover {
  background: var(--paper);
  border-color: var(--rule-soft);
  transform: translateY(-2px);
}
.strip-thumbs a:hover span:first-child {
  color: var(--sun-red);
}
.strip-thumbs a:focus-visible {
  outline: 2px solid var(--sun-red);
  outline-offset: 3px;
}

/* — Plate sub: replace inline rule with a leading roman-line for cleaner wrapping — */
.plate-sub::before {
  display: none;
}
.plate-sub {
  position: relative;
  padding-left: 2rem;
}
.plate-sub::after {
  content: ""; position: absolute;
  left: 0; top: .7em;
  width: 22px; height: 1px;
  background: var(--sun-red);
}
@media (max-width: 700px) {
  .plate-sub { padding-left: 0; }
  .plate-sub::after { display: none; }
}

/* — Plate title: a touch more presence — */
.plate-title {
  letter-spacing: -0.015em;
}

/* — Traditions: equal-height cards, image pinned to bottom — */
.tradition { min-height: 100%; }
.tradition-img { margin-top: auto; }

/* — Better tradition image height balance — */
.tradition-img img { height: 220px; }
@media (max-width: 880px) {
  .tradition-img img { height: 260px; }
}

/* — Symbol hover dot pulse — */
.symbol:hover .dot {
  transform: scale(1.15);
  transition: transform 220ms ease;
}

/* — Booklet stack: keep a single visible cover on mobile instead of hiding — */
@media (max-width: 880px) {
  .booklet-stack {
    display: block;
    height: auto;
    max-width: 220px;
    margin: 1.5rem auto 0;
  }
  .booklet-stack .bk-1,
  .booklet-stack .bk-3 { display: none; }
  .booklet-stack .bk-2 {
    position: relative;
    left: 0;
    width: 100%;
    transform: rotate(0);
  }
}

/* — Lightbox: better caption stacking + readable counter — */
.lightbox figcaption { padding: 0 1rem; }
.lightbox-counter { color: var(--ivory-soft); opacity: .8; }

/* — Universal focus ring for keyboard nav (visibility) — */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sun-red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* — Process num: lift visibility — */
.process-num {
  color: var(--sun-red);
  font-weight: 600;
}

/* — Reflection coda: tighten — */
.reflection-coda {
  font-style: italic;
  color: var(--ink);
}

/* — Sequence panel labels: more readable register words — */
.screen-label .reg {
  color: var(--ink-soft);
  font-style: italic;
}
.screen-panel a:hover .screen-label .num { color: var(--sun-red-deep); }

/* — Mobile rhythm: tighter section padding on small screens — */
@media (max-width: 600px) {
  .section {
    padding-left: clamp(1.2rem, 5vw, 2rem);
    padding-right: clamp(1.2rem, 5vw, 2rem);
  }
  .plate-title { font-size: 1.85rem; line-height: 1.05; }
  .verse-body p { font-size: 1.1rem; }
  .reflection-questions li { font-size: 1.25rem; }
  .hero-text h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}

/* — Print: a clean fall-back for anyone who prints the page — */
@media print {
  .topnav, .scroll-progress, .hero-strip, .lightbox, .booklet-stack { display: none !important; }
  body { background: white; color: black; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
