/* SHIN JINJU · Compact Gothic
   ------------------------------------------------
   Palette: paper / ink / navy / olive / camel
   Typography: Pretendard (kr) + Space Grotesk (latin) + JetBrains Mono (accent)
------------------------------------------------- */

:root {
  --bg: #FAFAF7;
  --bg-alt: #EDE8DB;
  --ink: #111110;
  --ink-2: #2C2A26;
  --mute: #6E6A62;
  --line: #D0CABB;
  --line-2: #E4DFD1;
  --navy: #0F2137;
  --olive: #4A5F46;
  --camel: #B87A45;
  --paper: #FFFFFF;

  /* All gothic — no serif */
  --serif: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, sans-serif;
  --sans-latin: "Space Grotesk", "Inter", ui-sans-serif, sans-serif;
  --sans-kr:    "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, sans-serif;
  --mono:       "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --gutter: clamp(16px, 3.2vw, 44px);
  --content: 1240px;

  --sec-pad: clamp(56px, 8vw, 104px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-kr);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "kern";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
:lang(en) body { font-family: var(--sans-latin); letter-spacing: 0; }

/* Fine noise texture on background */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(rgba(17,17,16,.018) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* Layout ------------------------------------------------- */
.wrap { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
section { padding: var(--sec-pad) 0; position: relative; z-index: 1; }
.section-head {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr;
  gap: clamp(20px, 4vw, 56px);
  margin-bottom: clamp(28px, 4vw, 56px);
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  position: relative;
}
@media (max-width: 720px){ .section-head { grid-template-columns: 1fr; gap: 8px; } }

.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--camel);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--camel);
  transform: rotate(45deg);
}
.title {
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}
:lang(en) .title { font-family: var(--sans-latin); font-weight: 700; letter-spacing: -0.03em; }
.hairline { height: 1px; background: var(--line); border: 0; }
.hairline-2 { height: 1px; background: var(--line-2); border: 0; }

/* Nav ------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: baseline; gap: 10px; }
.nav-brand .mark {
  font-family: var(--sans-kr);
  font-size: 13px;
  letter-spacing: -.02em;
  font-weight: 800;
  background: var(--ink); color: var(--bg);
  padding: 4px 8px; border-radius: 3px;
}
.nav-brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--mute);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  font-family: var(--sans-kr);
  font-size: 13px;
  letter-spacing: -.01em;
  color: var(--ink-2);
  font-weight: 600;
  transition: color .2s;
  position: relative;
  padding: 4px 0;
}
:lang(en) .nav-links a { font-family: var(--sans-latin); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; font-weight: 500; }
.nav-links a:hover { color: var(--camel); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--camel);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
}
.lang-toggle button {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--mute);
  transition: all .2s;
  font-weight: 500;
}
.lang-toggle button.is-active { background: var(--ink); color: var(--bg); }

.nav-toggle { display: none; }
@media (max-width: 900px){
  .nav-links { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px;
    width: 32px; height: 32px; align-items: center; justify-content: center;
  }
  .nav-toggle span { width: 18px; height: 1px; background: var(--ink); transition: transform .3s; }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 22px;
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--bg);
    padding: 32px var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav-links a { font-size: 15px; }
}

/* Hero ------------------------------------------------- */
.hero {
  min-height: 92vh;
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 88px; padding-bottom: 40px;
  position: relative;
}
.hero::before {
  content: "BLUEPRINT / 2026 / SHIN JINJU / BLUEPRINT / 2026 / SHIN JINJU / ";
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: .3em;
  color: var(--mute);
  white-space: nowrap; overflow: hidden;
  text-overflow: clip;
  opacity: .5;
  pointer-events: none;
}
.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-kicker .line { flex: 1; height: 1px; background: var(--ink); max-width: 80px; }
.hero-kicker::after {
  content: "● LIVE";
  font-family: var(--mono);
  color: var(--camel);
  font-size: 10px;
  letter-spacing: .1em;
  margin-left: auto;
}
.hero-headline {
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: clamp(48px, 10vw, 148px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: var(--ink);
  overflow: hidden;
}
:lang(en) .hero-headline { font-family: var(--sans-latin); letter-spacing: -0.04em; }
.hero-headline span {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroRise 1.1s cubic-bezier(.2,.7,.15,1) forwards;
}
.hero-headline span:nth-child(1) { animation-delay: 0.15s; }
.hero-headline span:nth-child(2) { animation-delay: 0.35s; }
.hero-headline span:nth-child(3) { animation-delay: 0.55s; }
@keyframes heroRise {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hero-headline .accent {
  color: var(--camel);
  font-weight: 800;
  font-style: normal;
  position: relative;
  display: inline-block;
  overflow: visible;
  background-image: linear-gradient(90deg, var(--camel) 0%, #E4A56A 30%, var(--camel) 60%, #8F5A2F 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroRise 1.1s cubic-bezier(.2,.7,.15,1) 0.55s forwards, heroShimmer 5s ease-in-out 1.9s infinite;
  /* prevent descender clipping on mobile browsers */
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
@keyframes heroShimmer {
  0%, 100% { background-position:   0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-headline .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 6px;
  background: var(--camel);
  opacity: .18;
  z-index: -1;
  transform-origin: left center;
  animation: heroUnderline 1.4s cubic-bezier(.2,.7,.15,1) 1.4s forwards;
  transform: scaleX(0);
}
@keyframes heroUnderline {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Blinking cursor after the accent line for a live-typewriter feel */
.hero-headline .accent::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.75em;
  margin-left: 8px;
  background: var(--camel);
  vertical-align: -12%;
  opacity: 0;
  animation: heroCursor 1.1s step-end 2s infinite, heroCursorReveal 0.01s 1.9s forwards;
  -webkit-text-fill-color: var(--camel);
}
@keyframes heroCursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes heroCursorReveal { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-headline span,
  .hero-headline .accent,
  .hero-headline .accent::after,
  .hero-headline .accent::before {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-headline .accent { -webkit-text-fill-color: var(--camel); background: none; }
}
.hero-meta {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  margin-top: clamp(28px, 4vw, 56px);
  align-items: end;
}
@media (max-width: 720px){ .hero-meta { grid-template-columns: 1fr; gap: 22px; } }

.hero-roles {
  display: flex; flex-wrap: wrap; gap: 6px 8px;
}
.hero-role {
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -0.005em;
  color: var(--ink);
  font-weight: 600;
  padding: 6px 11px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  transition: all .2s;
}
:lang(en) .hero-role { font-family: var(--sans-latin); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.hero-role:nth-child(2n){ background: var(--ink); color: var(--bg); }
.hero-role:nth-child(3n){ background: var(--camel); color: var(--bg); border-color: var(--camel); }
.hero-role:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }

.hero-sub {
  font-family: var(--sans-kr);
  font-weight: 500;
  font-size: clamp(14px, 1.35vw, 17px);
  color: var(--ink-2);
  max-width: 460px;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 2px solid var(--camel);
}

.hero-cta-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans-kr);
  font-size: 13px;
  letter-spacing: -.01em;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 4px;
  transition: transform .2s, box-shadow .2s, background .3s;
  border: 1px solid var(--ink);
}
:lang(en) .btn { font-family: var(--sans-latin); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--camel); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-outline { border-color: var(--line); color: var(--ink-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn .arr { display: inline-block; transition: transform .3s; }
.btn:hover .arr { transform: translateX(4px); }

.hero-scroll {
  display: none;
}
.hero-scroll .dash { width: 20px; height: 1px; background: var(--mute); animation: scrollDash 2.4s infinite; }
@keyframes scrollDash {
  0%,100% { transform: scaleX(1); opacity: .5; }
  50% { transform: scaleX(1.6); opacity: 1; }
}

/* About ------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.6fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
@media (max-width: 900px){ .about-grid { grid-template-columns: 1fr; } }

.about-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-alt);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--ink);
  max-width: 280px;
}
@media (max-width: 900px){ .about-portrait { max-width: 220px; } }
.about-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.02);
  transition: filter .6s;
}
.about-portrait:hover img { filter: grayscale(0) contrast(1); }
.about-portrait .caption {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--bg);
  background: var(--ink);
  padding: 3px 7px;
  border-radius: 2px;
}

.about-text .title { margin-bottom: 20px; }
.about-letter p {
  font-family: var(--sans-kr);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 14px;
  text-wrap: pretty;
}
:lang(en) .about-letter p { font-family: var(--sans-latin); font-weight: 400; }
.about-letter p:first-child::first-letter {
  font-weight: 800;
  font-size: 1.4em;
  color: var(--camel);
}
.about-letter .signoff {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--ink);
  margin-top: 20px;
  font-weight: 500;
}

/* Roles ------------------------------------------------- */
.roles-section { background: var(--bg-alt); }
.roles-list { display: flex; flex-direction: column; }
.role-item {
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 70px 1.2fr 1.8fr auto;
  gap: 22px;
  align-items: center;
  transition: padding .3s, background .3s;
  position: relative;
}
.role-item:last-child { border-bottom: 1px solid var(--ink); }
.role-item:hover {
  padding: 24px 16px;
  background: var(--paper);
}
.role-item::before {
  content: "→";
  position: absolute;
  left: -22px; top: 50%; transform: translateY(-50%);
  opacity: 0;
  font-weight: 800; color: var(--camel);
  transition: opacity .3s, left .3s;
}
.role-item:hover::before { opacity: 1; left: -8px; }
@media (max-width: 900px){
  .role-item, .role-item:hover {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
}
.role-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink);
  font-weight: 500;
}
.role-title {
  font-family: var(--sans-kr);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}
:lang(en) .role-title { font-family: var(--sans-latin); font-weight: 700; }
.role-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.role-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: var(--mute);
  margin-top: 4px;
}
.role-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 160px;
}
@media (max-width: 900px){
  .role-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
  }
}
.role-cta {
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s;
  border: 1px solid var(--ink);
  padding: 7px 12px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  line-height: 1;
}
:lang(en) .role-cta { font-family: var(--sans-latin); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; }
.role-cta:hover { background: var(--ink); color: var(--bg); transform: translate(-1px,-1px); box-shadow: 2px 2px 0 var(--camel); }
.role-cta-sms {
  background: var(--camel);
  color: var(--bg);
  border-color: var(--camel);
}
.role-cta-sms:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--camel);
}
.role-cta-sms svg { stroke: currentColor; flex: none; }
.role-item:nth-child(1) .role-title { color: var(--navy); }
.role-item:nth-child(2) .role-title { color: var(--camel); }
.role-item:nth-child(3) .role-title { color: var(--olive); }

/* Works ------------------------------------------------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 900px){ .works-grid { grid-template-columns: 1fr; } }
.work {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: 2px;
  aspect-ratio: 4/5;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  color: var(--bg);
  transition: transform .5s;
}
.work::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,33,55,.2) 0%, rgba(15,33,55,.85) 100%);
  z-index: 1;
}
.work .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s;
  z-index: 0;
}
.work:hover .bg { transform: scale(1.06); }
.work > * { position: relative; z-index: 2; }
.work-1 { grid-column: span 7; }
.work-2 { grid-column: span 5; }
.work-3 { grid-column: span 12; aspect-ratio: 16/6; }
@media (max-width: 900px){
  .work-1, .work-2, .work-3 { grid-column: span 1; aspect-ratio: 4/5; }
  .work-3 { aspect-ratio: 4/3; }
}
.work-1 .bg { background: linear-gradient(160deg, #1a2b45, #0f2137 60%, #050b17); }
.work-2 .bg { background: linear-gradient(160deg, #c68a55, #8f5a2f 60%, #4a2e17); }
.work-3 .bg { background: linear-gradient(120deg, #4A5F46, #2d3b2c 60%, #14201b); }
/* SVG art layers */
.work .art {
  position: absolute; inset: 0; z-index: 1;
  opacity: .35;
}
.work-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--camel);
  margin-bottom: 8px;
  font-weight: 500;
}
.work-title {
  font-family: var(--sans-kr);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 480px;
}
:lang(en) .work-title { font-family: var(--sans-latin); font-weight: 700; letter-spacing: -0.02em; }
.work-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  opacity: .85;
  margin-top: 6px;
}
.work-desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  opacity: .9;
  max-width: 520px;
}

/* Numbers ------------------------------------------------- */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px){ .numbers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px){ .numbers-grid { grid-template-columns: repeat(2, 1fr); } }

.num-cell {
  padding: 26px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background .3s;
  position: relative;
}
.num-cell::before {
  content: attr(data-i);
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--mono);
  font-size: 10px; color: var(--mute);
  letter-spacing: .04em;
}
.num-cell:hover { background: var(--ink); color: var(--bg); }
.num-cell:hover .num-label { color: rgba(250,250,247,.7); }
.num-cell:hover::before { color: var(--camel); }
.num-value {
  font-family: var(--sans-latin);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 700;
  line-height: 1;
  color: inherit;
  letter-spacing: -0.04em;
}
.num-label {
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  color: var(--mute);
  margin-top: 8px;
  font-weight: 600;
}
:lang(en) .num-label { font-family: var(--sans-latin); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; font-weight: 500; }

/* Books ------------------------------------------------- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1fr;
  gap: 32px;
}
@media (max-width: 900px){ .books-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .books-grid { grid-template-columns: 1fr; } }

.book {
  display: flex; flex-direction: column;
  gap: 20px;
}
.book-cover {
  aspect-ratio: 2/3;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .3s;
  position: relative;
  overflow: hidden;
}
.book:hover .book-cover { transform: translateY(-4px); }
.book-cover::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--ink);
}
.book-1 .book-cover::after { background: var(--navy); }
.book-2 .book-cover::after { background: var(--olive); }
.book-3 .book-cover::after { background: var(--camel); }
.book-num {
  font-family: var(--sans-latin);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--mute);
  text-transform: uppercase;
}
.book-cover-title {
  font-family: var(--sans-kr);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: var(--ink);
}
:lang(en) .book-cover-title { font-family: var(--sans-latin); font-weight: 700; }
.book-info h3 {
  font-family: var(--sans-kr);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--ink);
}
.book-info p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--mute);
  margin-top: 4px;
}
.paper-card {
  background: var(--ink);
  color: var(--bg);
  padding: 32px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 2/3;
}
.paper-card .kicker { color: var(--camel); }
.paper-card h3 {
  font-family: var(--sans-kr);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.03em;
  margin: 16px 0;
}
.paper-card p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  opacity: .7;
}

/* Philosophy ------------------------------------------------- */
.philosophy-section { background: var(--ink); color: var(--bg); }
.philosophy-section .kicker { color: rgba(250,250,247,.5); }
.philosophy-section .title { color: var(--bg); }
.phil-lead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px 36px;
  margin-bottom: 40px;
  border: 1px solid rgba(250,250,247,.15);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(184,122,69,.08), transparent 60%),
    rgba(250,250,247,.03);
  position: relative;
  overflow: hidden;
}
.phil-lead::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--camel), transparent);
}
.phil-lead-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--camel);
  color: var(--camel);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phil-lead-mark svg { width: 30px; height: 30px; }
.phil-lead-title {
  font-family: var(--sans-kr);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.04em;
  color: var(--bg);
  margin-bottom: 16px;
}
:lang(en) .phil-lead-title { font-family: var(--sans-latin); font-weight: 800; }
.phil-lead-accent {
  background: linear-gradient(90deg, var(--camel), #E4A56A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}
.phil-lead p {
  font-family: var(--sans-kr);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(250,250,247,.82);
  letter-spacing: -.01em;
  max-width: 720px;
}
:lang(en) .phil-lead p { font-family: var(--sans-latin); font-weight: 400; }
@media (max-width: 720px){
  .phil-lead {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 22px;
    margin-bottom: 28px;
  }
  .phil-lead-mark { width: 44px; height: 44px; }
  .phil-lead-mark svg { width: 24px; height: 24px; }
}

.phil-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(250,250,247,.15);
  border-left: 1px solid rgba(250,250,247,.15);
}
@media (max-width: 720px){ .phil-grid { grid-template-columns: 1fr; } }
.phil-cell {
  padding: 40px 34px;
  border-right: 1px solid rgba(250,250,247,.15);
  border-bottom: 1px solid rgba(250,250,247,.15);
  transition: background .3s;
}
.phil-cell:hover { background: rgba(184,122,69,.06); }
.phil-num {
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: .06em;
  color: var(--camel);
  margin-bottom: 22px !important;
  font-weight: 600 !important;
}
.phil-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--camel);
  margin-bottom: 18px;
  font-weight: 500;
}
.phil-cell h3 {
  font-family: var(--sans-kr);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 16px;
  color: var(--bg);
}
:lang(en) .phil-cell h3 { font-family: var(--sans-latin); font-weight: 800; }
.phil-cell p {
  font-family: var(--sans-kr);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(250,250,247,.88);
  letter-spacing: -.01em;
}
:lang(en) .phil-cell p { font-family: var(--sans-latin); font-weight: 400; }

/* Testimonials ------------------------------------------------- */
.voices-intro,
.press-intro {
  font-family: var(--sans-kr);
  font-size: 14px;
  color: var(--mute);
  max-width: 640px;
  line-height: 1.65;
  padding-left: 14px;
  border-left: 2px solid var(--camel);
  margin-top: 12px;
}
:lang(en) .voices-intro, :lang(en) .press-intro { font-family: var(--sans-latin); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px){ .test-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .test-grid { grid-template-columns: 1fr; } }
.test-card {
  padding: 22px 20px 20px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  border-radius: 4px;
}
.test-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--camel);
  margin-bottom: 12px;
  font-weight: 500;
}
.test-card:nth-child(3n+1) .test-tag { background: var(--navy); color: #F6E1C2; }
.test-card:nth-child(3n+2) .test-tag { background: var(--camel); color: var(--paper); }
.test-card:nth-child(3n+3) .test-tag { background: var(--olive); color: var(--paper); }
.test-card:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--camel); }
.test-card::before {
  content: "“";
  position: absolute;
  top: -8px; left: 16px;
  font-family: var(--sans-latin);
  font-size: 44px;
  line-height: 1;
  color: var(--camel);
  z-index: 0;
  font-weight: 700;
  background: var(--paper);
  padding: 0 6px;
}
.test-card blockquote {
  font-family: var(--sans-kr);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
  margin-top: 0;
  position: relative;
  z-index: 1;
  text-wrap: pretty;
  letter-spacing: -.02em;
}
:lang(en) .test-card blockquote { font-family: var(--sans-latin); font-weight: 500; letter-spacing: -.01em; }
.test-card cite {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--mute);
  font-style: normal;
}

/* Press ------------------------------------------------- */
.press-list { display: flex; flex-direction: column; }
.press-row {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 20px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  transition: padding .3s, background .3s, border-color .3s;
}
.press-row:last-child { border-bottom: 1px solid var(--line); }
.press-row:hover { padding: 14px 12px; background: var(--bg-alt); border-color: var(--ink); }
.press-year {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--camel);
  font-weight: 500;
}
.press-title {
  font-family: var(--sans-kr);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -.02em;
}
:lang(en) .press-title { font-family: var(--sans-latin); font-weight: 600; }
.press-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--mute);
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Fees ------------------------------------------------- */
.fees-note {
  font-family: var(--sans-kr);
  color: var(--mute);
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 13.5px;
  line-height: 1.55;
  padding-left: 12px;
  border-left: 2px solid var(--camel);
}
.fees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px){ .fees-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .fees-grid { grid-template-columns: 1fr; } }
.fee-cell {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.fee-cell:hover { background: var(--paper); }
.fee-t {
  font-family: var(--sans-kr);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
:lang(en) .fee-t { font-family: var(--sans-latin); font-weight: 600; }
.fee-p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--camel);
  font-weight: 500;
}

/* Archive (Films + Books + Field combined) ---------------------------- */
.archive-section { background: var(--bg); }
.archive-intro {
  font-size: 14px;
  color: var(--mute);
  max-width: 640px;
  margin-bottom: 40px;
  padding-left: 12px;
  border-left: 2px solid var(--camel);
  line-height: 1.55;
}
/* Library block (books on a shelf) ---------------------------------- */
.library-block, .gallery-block {
  margin-top: 40px;
  padding: 32px 32px 36px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
/* Bookstore vibe: soft paper texture + top rail */
.library-block {
  background:
    linear-gradient(180deg, #FBF7EC 0%, #F6F1DF 100%);
}
.library-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--camel), var(--olive));
}
.library-block::after {
  content: "BOOKSTORE / OPEN / SHIN JINJU · SELECTED · SHELF A / OPEN / BOOKSTORE / OPEN";
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  text-align: center;
  color: var(--mute);
  opacity: .35;
  pointer-events: none;
}

/* Museum vibe: ink wall + track light */
.gallery-block {
  margin-top: 32px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,240,220,.14), transparent 70%),
    linear-gradient(180deg, #1a1a18 0%, #0f0f0d 100%);
  color: var(--bg);
  border-color: var(--ink);
}
.gallery-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 100%);
  border-bottom: 1px solid rgba(250,240,220,.12);
}
/* Track lights */
.gallery-block::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 6px;
  background:
    radial-gradient(circle at 16.6% 50%, #FAFAF7 0 2px, transparent 3px),
    radial-gradient(circle at 50%   50%, #FAFAF7 0 2px, transparent 3px),
    radial-gradient(circle at 83.3% 50%, #FAFAF7 0 2px, transparent 3px),
    linear-gradient(90deg, rgba(250,250,247,.15), rgba(250,250,247,.35), rgba(250,250,247,.15));
  border-radius: 999px;
  opacity: .7;
}
.gallery-block .block-title { color: var(--bg); }
.gallery-block .block-head { border-bottom-color: rgba(250,240,220,.2); }
.gallery-block .block-icon { border-color: rgba(250,240,220,.35); background: transparent; color: var(--bg); }
.gallery-block .block-label { color: #C68A55; }
.gallery-block .block-count { color: var(--camel); }

@media (max-width: 720px){ .library-block, .gallery-block { padding: 22px 18px 28px; } }

.block-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.block-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  background: var(--bg);
}
.block-icon svg { width: 22px; height: 22px; }
.block-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--camel);
  font-weight: 500;
  margin-bottom: 3px;
}
.block-title {
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.03em;
  color: var(--ink);
}
:lang(en) .block-title { font-family: var(--sans-latin); font-weight: 700; }
.block-count {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 500;
  color: var(--camel);
  letter-spacing: -.02em;
  line-height: 1;
}

/* SHELF -------------------------------------------------- */
.shelf {
  position: relative;
  padding: 16px 4px 0;
}
.shelf-books {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 8px 0;
  flex-wrap: wrap;
  min-height: 220px;
}
.shelf-board {
  height: 12px;
  background:
    linear-gradient(180deg, #6E4A2E 0%, #3D2818 100%);
  border-radius: 2px;
  box-shadow: 0 6px 12px -6px rgba(0,0,0,.35);
  position: relative;
  margin: 0 -4px;
}
.shelf-board::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 2px;
  background: rgba(250,250,247,.15);
}
.shelf-caption {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mute);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Book 3D --------------------------------------------- */
.book3d {
  --book-w: 92px;
  --book-h: 220px;
  --book-d: 30px;
  width: var(--book-w);
  height: var(--book-h);
  position: relative;
  perspective: 900px;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.book3d:hover { z-index: 5; transform: translateY(-14px); }
.book3d-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-4deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.book3d:hover .book3d-inner { transform: rotateY(-40deg) translateX(-6px); }

.book3d-spine {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--book-spine) 0%, var(--book-spine-2) 100%);
  border-radius: 2px 4px 4px 2px;
  box-shadow:
    inset 2px 0 0 rgba(255,255,255,.12),
    inset -2px 0 0 rgba(0,0,0,.25),
    0 8px 12px -8px rgba(0,0,0,.4);
  display: flex; flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 14px 6px;
  color: var(--bg);
  text-align: center;
}
.book3d-band {
  width: 60%; height: 1.5px;
  background: rgba(255,255,255,.35);
}
.book3d-spine-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.3;
  max-height: 130px;
  overflow: hidden;
}
:lang(en) .book3d-spine-title { font-family: var(--sans-latin); font-weight: 700; }
.book3d-spine-author {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  opacity: .75;
  padding-top: 4px;
}

.book3d-cover {
  position: absolute;
  inset: 0;
  transform: rotateY(-90deg) translateZ(0);
  transform-origin: left center;
  background: linear-gradient(135deg, var(--book-spine) 0%, var(--book-spine-2) 100%);
  border-radius: 0 4px 4px 0;
  padding: 12px;
  color: var(--bg);
  box-shadow: 0 10px 20px -10px rgba(0,0,0,.5);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.book3d:hover .book3d-cover {
  transform: rotateY(-88deg) translateZ(var(--book-d));
}
.cover-frame {
  width: 100%; height: 100%;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 3px;
  padding: 10px 8px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.cover-kicker {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}
.cover-title {
  font-family: var(--sans-kr);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--bg);
  margin-top: 4px;
}
:lang(en) .cover-title { font-family: var(--sans-latin); font-weight: 800; font-size: 16px; }
.cover-mark {
  width: 32px; height: 32px;
  margin: 6px auto;
  opacity: .8;
  color: var(--bg);
}
.cover-mark svg { width: 100%; height: 100%; }
.cover-sub {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
  opacity: .8;
  line-height: 1.3;
  text-align: center;
}

.book3d-label {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  opacity: 0;
  transition: opacity .3s .1s;
  text-align: center;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}
.book3d:hover .book3d-label { opacity: 1; }
.book3d-label::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--ink);
}
.book3d-label-t {
  font-family: var(--sans-kr);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
:lang(en) .book3d-label-t { font-family: var(--sans-latin); font-weight: 600; }
.book3d-label-m {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .02em;
  color: var(--camel);
  margin-top: 3px;
}

.book3d-paper { --book-h: 200px; }

/* GALLERY (films) -------------------------------------- */
.gallery-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.6vw, 52px);
  align-items: start;
  padding: clamp(20px, 3vw, 40px) clamp(8px, 2vw, 24px);
  position: relative;
  z-index: 1;
}
@media (max-width: 900px){ .gallery-wall { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px){ .gallery-wall { grid-template-columns: 1fr; gap: 40px; } }

/* Each frame stacks vertically: matte on top, caption directly beneath.
   Caption uses the full column width so the third one never gets squeezed. */
.frame {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  gap: 18px;
  transition: transform .3s;
  position: relative;
  text-align: center;
  width: 100%;
  min-width: 0;
}
.frame:hover { transform: translateY(-2px); }
.frame-wide { grid-column: 1 / -1; }
.frame-wide .frame-mat { max-width: 240px; }

/* Museum matte + frame (real oil-painting feel) */
.frame-mat {
  position: relative;
  padding: 14px 14px 16px;
  border-radius: 2px;
  background:
    linear-gradient(180deg, #F6F1E4 0%, #E8E1CE 100%);
  box-shadow:
    inset 0 0 0 1px rgba(17,17,16,.4),
    inset 0 0 0 6px #FBF7EC,
    inset 0 0 0 7px rgba(17,17,16,.3),
    0 10px 24px -12px rgba(0,0,0,.7),
    0 2px 0 rgba(0,0,0,.3);
  transition: box-shadow .3s, transform .3s;
  width: 220px;
  max-width: 100%;
}
@media (max-width: 900px){ .frame-mat { width: 100%; max-width: 240px; } }

.frame:hover .frame-mat {
  box-shadow:
    inset 0 0 0 1px rgba(17,17,16,.5),
    inset 0 0 0 6px #FBF7EC,
    inset 0 0 0 7px rgba(17,17,16,.35),
    0 18px 36px -12px rgba(0,0,0,.8),
    0 4px 0 rgba(0,0,0,.35);
}
/* Nail on top */
.frame-mat::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px;
  background: radial-gradient(circle at 30% 30%, #C8B08E, #6E5A3E);
  border-radius: 50%;
  box-shadow: 0 2px 3px rgba(0,0,0,.4);
}
/* Wire hanging (subtle) */
.frame-mat::after {
  content: "";
  position: absolute;
  top: -8px; left: 50%;
  width: 40px; height: 8px;
  border: 1px solid rgba(250,240,220,.2);
  border-bottom: none;
  border-radius: 999px 999px 0 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.frame-canvas {
  aspect-ratio: 5/7;
  overflow: hidden;
  border-radius: 1px;
  position: relative;
  background: #0a0a0a;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.4),
    inset 0 4px 12px rgba(0,0,0,.4);
}
.frame-wide .frame-canvas { aspect-ratio: 5/7; }
.frame-canvas svg { width: 100%; height: 100%; display: block; }

/* Poster (real film-poster image inside a museum frame) */
.frame-poster { aspect-ratio: 5/6; }
.frame-poster-wide { aspect-ratio: 5/6; }
.frame-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s;
  filter: saturate(.95) contrast(1.02);
}
.frame:hover .frame-poster img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}
/* Museum lighting glow across canvas */
.frame-poster::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,240,220,.18) 0%, transparent 60%),
    linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.frame-poster .frame-plate { z-index: 2; }

.frame-plate {
  position: absolute;
  bottom: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11,11,10,.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(200,176,142,.5);
  padding: 3px 7px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  color: #F6F1E4;
}
.plate-kind { color: #C68A55; font-weight: 600; }
.plate-year { color: #C8B08E; }

/* Museum wall label (bigger, editorial) */
.frame-caption {
  padding: 4px 2px;
  color: #F6F1E4;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cap-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--camel);
  display: block;
  font-weight: 600;
}
.cap-t {
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #F6F1E4;
  text-wrap: balance;
}
:lang(en) .cap-t { font-family: var(--sans-latin); font-weight: 700; letter-spacing: -.02em; }
.cap-m {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: #C8B08E;
  line-height: 1.5;
  max-width: 100%;
}
.cap-d {
  font-family: var(--sans-kr);
  font-size: 13px;
  color: rgba(246,241,228,.75);
  line-height: 1.6;
  max-width: 320px;
}
:lang(en) .cap-d { font-family: var(--sans-latin); }
.cap-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans-kr);
  font-size: 12px;
  font-weight: 700;
  color: var(--camel);
  padding: 7px 14px;
  border: 1px solid var(--camel);
  border-radius: 3px;
  transition: all .2s;
  margin-top: 4px;
}
:lang(en) .cap-cta { font-family: var(--sans-latin); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.frame:hover .cap-cta { background: var(--camel); color: #0a0a0a; }

.gallery-caption {
  display: flex; justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(250,240,220,.15);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246,241,228,.5);
  position: relative;
  z-index: 1;
}

/* YouTube channels ---------------------------------------------------- */
.yt-section { background: var(--ink); color: var(--bg); }
.yt-section .kicker { color: var(--camel); }
.yt-section .kicker::before { background: var(--camel); }
.yt-section .title { color: var(--bg); }
.yt-section .section-head { border-bottom-color: rgba(250,250,247,.2); }
.yt-intro {
  color: rgba(250,250,247,.7);
  max-width: 500px;
  font-size: 14px;
}
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
@media (max-width: 900px){ .yt-grid { grid-template-columns: 1fr; } }

.yt-card {
  position: relative;
  padding: 24px 20px 20px;
  background: rgba(250,250,247,.03);
  border: 1px solid rgba(250,250,247,.15);
  border-radius: 6px;
  transition: transform .25s, box-shadow .25s, background .25s;
  display: flex; flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.yt-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  border-radius: 999px;
  background: var(--camel);
  opacity: 0;
  transition: opacity .4s, transform .4s;
  filter: blur(30px);
  pointer-events: none;
}
.yt-card:hover {
  transform: translate(-3px,-3px);
  box-shadow: 6px 6px 0 var(--camel);
  background: rgba(250,250,247,.06);
  border-color: var(--camel);
}
.yt-card:hover::before { opacity: .15; transform: scale(1.2); }

.yt-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--camel);
  font-weight: 500;
}
.yt-badge svg { width: 14px; height: 14px; }

.yt-name {
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--bg);
}
:lang(en) .yt-name { font-family: var(--sans-latin); font-weight: 700; }

.yt-desc {
  font-size: 13px;
  color: rgba(250,250,247,.7);
  line-height: 1.5;
  margin-bottom: 6px;
}

.yt-handle {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(250,250,247,.5);
  letter-spacing: .02em;
}

.yt-actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.yt-btn {
  font-family: var(--sans-kr);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all .2s;
  border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 6px;
}
:lang(en) .yt-btn { font-family: var(--sans-latin); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.yt-btn-sub {
  background: var(--camel);
  color: var(--bg);
}
.yt-btn-sub:hover { background: var(--bg); color: var(--ink); }
.yt-btn-visit {
  background: transparent;
  color: var(--bg);
  border-color: rgba(250,250,247,.3);
}
.yt-btn-visit:hover { border-color: var(--bg); background: rgba(250,250,247,.08); }

/* Newsletter ------------------------------------------------- */
.news-section { background: var(--bg-alt); }
.news-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 720px){ .news-inner { grid-template-columns: 1fr; gap: 32px; } }
.news-form {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.news-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 10px 4px;
  font-family: var(--sans-kr);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.news-form input::placeholder { color: var(--mute); }
.news-form button {
  padding: 8px 14px;
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  font-weight: 700;
  color: var(--bg);
  background: var(--ink);
  border-radius: 3px;
  transition: background .3s;
}
:lang(en) .news-form button { font-family: var(--sans-latin); text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; }
.news-form button:hover { background: var(--camel); }
.news-privacy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--mute);
}
.news-success {
  padding: 8px 0;
  font-family: var(--sans-kr);
  font-weight: 600;
  color: var(--olive);
  display: none;
}
.news-success.show { display: block; }

/* CTA ------------------------------------------------- */
.cta-section {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}
.cta-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--camel);
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--sans-kr);
  font-weight: 800;
  font-size: clamp(26px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--bg);
  margin: 0 auto 16px;
  max-width: 820px;
  text-wrap: balance;
}
:lang(en) .cta-title { font-family: var(--sans-latin); font-weight: 700; }
.cta-sub {
  font-family: var(--sans-kr);
  font-size: 14px;
  color: rgba(250,250,247,.72);
  margin-bottom: 28px;
}
.cta-section .btn-primary { background: var(--bg); color: var(--ink); }
.cta-section .btn-primary:hover { background: var(--camel); color: var(--bg); }

/* Category chips (short list, links to apply page) */
.cat-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.cat-chip {
  padding: 6px 12px;
  border: 1px solid rgba(250,250,247,.25);
  border-radius: 3px;
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  color: rgba(250,250,247,.85);
  font-weight: 600;
  transition: all .2s;
}
:lang(en) .cat-chip { font-family: var(--sans-latin); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.cat-chip:hover {
  border-color: var(--camel);
  color: var(--camel);
  background: rgba(184,122,69,.08);
}

/* Contact ------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-row .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mute);
}
.contact-row .v {
  font-family: var(--sans-kr);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
:lang(en) .contact-row .v { font-family: var(--sans-latin); font-weight: 600; }
.contact-row .v a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.contact-row .v a:hover { border-bottom-color: var(--camel); color: var(--camel); }
.contact-card {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.contact-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-channels {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 12px;
}
.contact-channels a {
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  font-weight: 600;
  transition: all .2s;
}
:lang(en) .contact-channels a { font-family: var(--sans-latin); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.contact-channels a:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* Footer ------------------------------------------------- */
.footer {
  padding: 40px var(--gutter) 28px;
  border-top: 1px solid var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink);
  font-weight: 500;
}
.footer-line {
  font-family: var(--sans-kr);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.footer-actions { display: flex; gap: 12px; align-items: center; }
.footer-actions a {
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  transition: all .2s;
}
:lang(en) .footer-actions a { font-family: var(--sans-latin); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.footer-actions a:hover { background: var(--ink); color: var(--bg); }

/* Reveal on scroll ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-1 { transition-delay: .05s; }
.reveal-2 { transition-delay: .12s; }
.reveal-3 { transition-delay: .18s; }
.reveal-4 { transition-delay: .24s; }
.reveal-5 { transition-delay: .3s; }

/* PWA install toast */
.pwa-toast {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--ink); color: var(--bg);
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  font-weight: 600;
  z-index: 60;
  display: none;
  gap: 10px; align-items: center;
  box-shadow: 4px 4px 0 var(--camel);
}
:lang(en) .pwa-toast { font-family: var(--sans-latin); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.pwa-toast.show { display: inline-flex; }
.pwa-toast button { color: var(--camel); font-weight: 600; }

/* Apply page --------------------------------------------- */
.apply-page { padding-top: 100px; }
.apply-hero {
  padding: 60px 0 40px;
  text-align: center;
}
.apply-hero .title { max-width: 720px; margin: 0 auto 16px; }
.apply-hero .sub {
  font-family: var(--sans-kr);
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
}
.steps-row {
  display: flex; justify-content: center; gap: 40px;
  margin: 40px 0 60px;
  flex-wrap: wrap;
}
.step-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid var(--line);
  transition: all .3s;
}
.step-pill.is-active {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}
.step-pill.is-done { color: var(--olive); border-color: var(--olive); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}
@media (max-width: 900px){ .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
  transition: all .25s;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px;
  border-radius: 2px;
}
.cat-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.cat-card.is-selected {
  border-color: var(--camel);
  background: rgba(184,122,69,.05);
  box-shadow: 0 0 0 1px var(--camel) inset;
}
.cat-card .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--camel);
  font-weight: 500;
}
.cat-card .t {
  font-family: var(--sans-kr);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.03em;
}
:lang(en) .cat-card .t { font-family: var(--sans-latin); font-weight: 700; }
.cat-card .d {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--mute);
}

.form-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0;
}
.form-summary {
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 3px;
  font-family: var(--sans-kr);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
:lang(en) .form-summary { font-family: var(--sans-latin); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.form-summary .change {
  color: var(--camel);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  font-family: var(--mono);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
@media (max-width: 720px){ .form-grid { grid-template-columns: 1fr; } }
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--sans-kr);
  font-size: 12px;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 700;
}
:lang(en) .field label { font-family: var(--sans-latin); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.field label .opt {
  color: var(--mute);
  font-weight: 400;
  margin-left: 6px;
}
.field label .req {
  color: var(--camel);
  margin-left: 6px;
}
.field input, .field textarea, .field select {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px;
  font-family: var(--sans-kr);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--camel);
}
.field textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.field.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.field.check input { width: 18px; height: 18px; margin-top: 3px; }
.field.check label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  font-family: var(--sans-kr);
}
.form-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.success-panel {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
  padding: 60px 40px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.success-panel .mark {
  width: 56px; height: 56px; margin: 0 auto 24px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.success-panel .t {
  font-family: var(--sans-kr);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}
:lang(en) .success-panel .t { font-family: var(--sans-latin); font-weight: 700; }
.success-panel .d {
  color: var(--mute);
  margin-bottom: 24px;
  font-family: var(--sans-kr);
  font-size: 14px;
}

/* Works page --------------------------------------------- */
.works-hero {
  padding: 140px 0 60px;
  text-align: center;
}

/* Install page --------------------------------------------- */
.install-hero { padding: 140px 0 40px; text-align: center; }
.install-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px){ .install-cards { grid-template-columns: 1fr; } }
.install-card {
  padding: 40px 32px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.install-card h3 {
  font-family: var(--sans-kr);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
:lang(en) .install-card h3 { font-family: var(--sans-latin); font-weight: 700; }
.install-card ol {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.install-card ol li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
}
.install-cta {
  text-align: center;
  margin-top: 48px;
}

/* Print reset for the deep-web fallback */
@media print { .nav, .footer, .pwa-toast, .hero-scroll { display: none !important; } }

/* =============================================================
   MOBILE OPTIMIZATION · 모바일 최적화 (≤ 640px)
   ============================================================= */

/* Prevent horizontal overflow anywhere on the page */
html, body { overflow-x: hidden; }

@media (max-width: 640px) {
  :root {
    --gutter: 18px;
    --sec-pad: 56px;
  }
  body {
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }
  * { min-width: 0; }
  .wrap { padding: 0 var(--gutter); }

  /* Buttons must meet iOS 44×44 tap target */
  .btn, .role-cta, .yt-btn, .cap-cta, .footer-actions a, .contact-channels a {
    min-height: 44px;
  }

  /* Section head — title/intro stacked cleanly */
  .section-head { border-bottom-width: 1px; }
  .section-head > div { min-width: 0; }
  .section-head .kicker { margin-bottom: 4px; }

  /* Nav — compact + full-width dropdown */
  .nav { padding: 10px 16px; }
  .nav-brand .sub { display: none; }
  .nav-right { gap: 10px; }
  .lang-toggle button { padding: 4px 7px; font-size: 10px; }

  /* Kill decorative horizontal overflow (watermark + bookstore ticker) */
  .hero::before,
  .library-block::after {
    letter-spacing: .15em !important;
    font-size: 8px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    max-width: 100vw !important;
  }

  /* Hero — smaller headline, tighter meta */
  .hero { min-height: auto; padding-top: 84px; padding-bottom: 48px; }
  .hero-headline {
    font-size: clamp(38px, 12vw, 60px);
    line-height: 1;
  }
  .hero-headline .accent {
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
  }
  .hero-kicker { font-size: 10px; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
  .hero-kicker .line { max-width: 40px; }
  .hero-kicker::after { margin-left: 0; }
  .hero-meta { gap: 20px; margin-top: 28px; }
  .hero-roles { gap: 5px 6px; }
  .hero-role { font-size: 11px; padding: 6px 10px; }
  .hero-sub { font-size: 13.5px; padding-left: 12px; }
  .hero-cta-row { gap: 8px; margin-top: 20px; }
  .btn { padding: 12px 18px; font-size: 12.5px; }

  /* Section head — stacked and slimmer */
  .section-head {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 12px;
    margin-bottom: 24px;
  }
  .title { font-size: clamp(22px, 6.4vw, 30px); }
  .kicker { font-size: 10px; }

  /* About */
  .about-grid { gap: 20px; }
  .about-portrait { max-width: 200px; margin: 0 auto; }
  .about-letter p { font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }

  /* Roles — stacked, actions full-width */
  .role-item, .role-item:hover {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 20px 0 !important;
  }
  .role-item::before { display: none; }
  .role-title { font-size: 20px; }
  .role-desc { font-size: 14px; }
  .role-ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
  }
  .role-cta {
    justify-content: center;
    padding: 12px 14px;
    font-size: 13px;
  }
  .role-cta-sms { font-size: 13px; }

  /* Archive — library shelf full-width, books wrap */
  .library-block, .gallery-block { padding: 20px 16px 32px; }
  .block-head { grid-template-columns: 40px 1fr; gap: 12px; margin-bottom: 18px; }
  .block-count { grid-column: 1 / -1; text-align: right; font-size: 22px; margin-top: -6px; }
  .block-title { font-size: 16px; }
  .shelf-books { gap: 4px; min-height: 180px; }
  .book3d { --book-h: 180px; --book-w: 70px !important; }
  .book3d:hover { transform: translateY(-8px); }
  .book3d:hover .book3d-inner { transform: rotateY(-4deg); }
  .book3d:hover .book3d-cover { transform: rotateY(-90deg); }
  .book3d-label { display: none; }
  .book3d-spine-title { font-size: 10px; max-height: 100px; }
  .cover-title { font-size: 14px; }
  .shelf-caption { font-size: 9px; letter-spacing: .12em; flex-direction: column; gap: 2px; align-items: flex-start; }

  /* Gallery — single column stack, poster centered, caption directly below */
  .gallery-wall { padding: 12px 4px; gap: 36px; }
  .frame { gap: 14px; }
  .frame-mat { width: 100% !important; max-width: 240px !important; margin: 0 auto; }
  .frame-wide .frame-mat { max-width: 240px !important; }
  .cap-num { font-size: 10.5px; }
  .cap-t { font-size: clamp(19px, 5.6vw, 24px); }
  .cap-m { font-size: 10.5px; }
  .cap-d { font-size: 13px; line-height: 1.55; max-width: 320px; }
  .cap-cta { padding: 9px 16px; font-size: 12.5px; }
  .gallery-caption { font-size: 9.5px; letter-spacing: .06em; flex-direction: column; gap: 4px; align-items: flex-start; }

  /* Numbers — 2 columns on phone */
  .numbers-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .num-cell { padding: 20px 14px; }
  .num-value { font-size: 44px; }

  /* Philosophy lead + cells */
  .phil-lead { padding: 22px 18px; margin-bottom: 22px; gap: 14px; }
  .phil-lead-title { font-size: 22px; margin-bottom: 12px; }
  .phil-lead p { font-size: 14.5px; }
  .phil-cell { padding: 26px 20px; }
  .phil-cell h3 { font-size: 22px; margin-bottom: 12px; }
  .phil-cell p { font-size: 15px; line-height: 1.65; }

  /* Voices — one column on tight phones */
  .test-grid { gap: 12px; }
  .test-card { padding: 20px 18px 18px; }
  .test-card blockquote { font-size: 14px; line-height: 1.55; }
  .test-card cite { font-size: 10.5px; }
  .voices-intro, .press-intro { font-size: 13.5px; padding-left: 12px; }

  /* Press — stack rows */
  .press-row, .press-row:hover {
    grid-template-columns: 60px 1fr !important;
    grid-template-rows: auto auto;
    gap: 4px 12px !important;
    padding: 12px 0 !important;
  }
  .press-tag { grid-column: 2; justify-self: start; font-size: 9px; padding: 2px 6px; }
  .press-title { font-size: 14px; grid-column: 2; }
  .press-year { font-size: 11px; }

  /* Fees */
  .fees-grid { grid-template-columns: 1fr !important; }
  .fee-cell { padding: 18px 16px; }
  .fee-t { font-size: 14px; }

  /* Newsletter */
  .news-inner { grid-template-columns: 1fr !important; gap: 20px; }
  .news-form input { font-size: 14px; padding: 10px 2px; }

  /* CTA section */
  .cta-title { font-size: 24px; }
  .cta-sub { font-size: 13px; }
  .cat-chips { gap: 6px; }
  .cat-chip { font-size: 11px; padding: 6px 10px; }

  /* Contact */
  .contact-grid { gap: 24px; }
  .contact-row { grid-template-columns: 74px 1fr !important; padding: 12px 0 !important; }
  .contact-row .v { font-size: 15px; }
  .contact-channels a { font-size: 11px; padding: 5px 10px; }

  /* YouTube channels — stack */
  .yt-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .yt-card { padding: 20px 18px; }
  .yt-name { font-size: 16px; }
  .yt-desc { font-size: 13px; }
  .yt-actions { gap: 6px; }
  .yt-btn { padding: 8px 12px; font-size: 12px; flex: 1; justify-content: center; }

  /* Footer */
  .footer { padding: 32px 16px 24px; gap: 12px; justify-content: flex-start; }
  .footer-tag, .footer-line { font-size: 11px; }
  .footer-actions { width: 100%; }
  .footer-actions a { flex: 1; text-align: center; }

  /* PWA toast */
  .pwa-toast { right: 12px; bottom: 12px; left: 12px; justify-content: center; }
}

/* Extra-small phones (≤ 380px): single-column Voices grid */
@media (max-width: 380px) {
  .test-grid { grid-template-columns: 1fr !important; }
  .hero-headline { font-size: clamp(34px, 11vw, 46px); }
  .cap-t { font-size: 20px; }
  .role-title { font-size: 18px; }
}

/* Apply form on phone */
@media (max-width: 640px) {
  .apply-page { padding-top: 72px; }
  .apply-hero { padding: 30px 0 20px; }
  .steps-row { gap: 8px; margin: 20px 0 30px; }
  .step-pill { font-size: 9.5px; padding: 5px 8px; letter-spacing: .06em; }
  .cat-grid { grid-template-columns: 1fr !important; gap: 8px; margin-bottom: 30px; }
  .cat-card { min-height: 92px; padding: 18px 16px; }
  .cat-card .t { font-size: 15px; }
  .cat-card .d { font-size: 10.5px; }
  .form-grid { grid-template-columns: 1fr !important; gap: 16px 0 !important; }
  .form-summary { padding: 10px 14px; font-size: 12px; }
  .field label { font-size: 12px; }
  .field input, .field textarea, .field select { font-size: 16px; padding: 12px 14px; }
  .news-form input { font-size: 16px !important; }
  .form-actions { flex-direction: column-reverse; gap: 8px; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* Works page mobile */
@media (max-width: 640px) {
  .work-large { height: auto; min-height: 260px; padding: 24px 20px; margin: 16px 0 32px; }
  .work-large .t { font-size: 24px !important; }
  .work-detail { gap: 16px !important; margin-bottom: 60px !important; }
  .work-detail p { font-size: 14px !important; }
  .festival-row { grid-template-columns: 56px 1fr auto !important; gap: 10px !important; padding: 12px 0 !important; }
  .festival-row .name { font-size: 13px !important; }
}

/* Install page mobile */
@media (max-width: 640px) {
  .install-cards { grid-template-columns: 1fr !important; gap: 12px; }
  .install-card { padding: 22px 18px; }
  .install-card h3 { font-size: 16px; }
  .install-card ol li { font-size: 13px; }
}
