/* =========================================================
   SUNGHO PARK — The Spectrum Issue
   Editorial magazine · ivory paper · denim indigo
   ========================================================= */

:root {
  --paper: #f2eee7;
  --paper-2: #e7e1d6;
  --ink: #12151c;
  --ink-soft: #3a3f4a;
  --muted: #8a857c;
  --line: rgba(18, 21, 28, .14);
  --indigo: #24365a;
  --indigo-soft: #5a74a3;
  --night: #0f1522;
  --night-2: #182035;
  --night-ink: #ece7de;
  --night-line: rgba(236, 231, 222, .14);
  --night-muted: rgba(236, 231, 222, .52);
  --sky: #9fb3d6;

  --f-display: "Bodoni Moda", "Hahmlet", Georgia, serif;
  --f-serif: "Hahmlet", "Bodoni Moda", serif;
  --f-sans: "IBM Plex Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;

  --hd: 64px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --rail: 0px;
  --sec: clamp(104px, 13vw, 210px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 1100px) {
  :root { --rail: 64px; }
}
@media (max-width: 699px) {
  :root { --hd: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
i, em { font-style: italic; }
::selection { background: var(--indigo); color: var(--paper); }

.wrap {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: calc(var(--gutter) + var(--rail));
}
.hide-sm { }
@media (max-width: 699px) { .hide-sm { display: none; } }

.kicker {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- HEADER ---------------- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--hd);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-left: var(--gutter); padding-right: calc(var(--gutter) + var(--rail));
  background: rgba(242, 238, 231, .84);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
.hd__brand { font-family: var(--f-display); font-size: 21px; font-style: italic; letter-spacing: .01em; justify-self: start; }
.hd__nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.hd__nav a, .hd__vol, .hd__menu {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.hd__nav a { position: relative; padding: 6px 0; }
.hd__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd__vol { justify-self: end; color: var(--muted); }
.hd__menu { display: none; justify-self: end; }
@media (max-width: 899px) {
  .hd { grid-template-columns: 1fr auto; }
  .hd__nav, .hd__vol { display: none; }
  .hd__menu { display: block; padding: 10px 0 10px 16px; }
}

.mnav {
  position: fixed; inset: 0; z-index: 39;
  background: var(--paper);
  padding: calc(var(--hd) + 40px) var(--gutter) 120px;
}
.mnav nav { display: flex; flex-direction: column; }
.mnav a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--f-display); font-size: clamp(36px, 11vw, 56px); line-height: 1.25;
  border-bottom: 1px solid var(--line); padding: 10px 0;
}
.mnav a i { font-size: 13px; color: var(--indigo); font-family: var(--f-display); }

/* ---------------- COVER ---------------- */
.cover { padding-top: calc(var(--hd) + clamp(18px, 2.4vw, 36px)); padding-bottom: clamp(72px, 9vw, 140px); }
.cover__issue {
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
}
.cover__mast {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 12vw;
  line-height: .8;
  letter-spacing: -.03em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: clamp(14px, 1.6vw, 26px) 0 0;
  padding-bottom: .04em;
  visibility: hidden;
}
.cover__mast.is-fit { visibility: visible; }
.cover__mast-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.cover__mast-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.cover__mast.is-in .cover__mast-line > span { transform: none; }
.cover__mast-gap { display: inline-block; width: .22em; }
@media (max-width: 699px) {
  .cover__mast { line-height: .84; }
  .cover__mast-line { display: block; width: max-content; white-space: nowrap; }
  .cover__mast-gap { display: none; }
}

.cover__grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: clamp(20px, 3vw, 56px);
  margin-top: clamp(28px, 3.4vw, 56px);
  align-items: start;
}
.cover__left { padding-top: 8px; display: flex; flex-direction: column; gap: 18px; }
.cover__ko { font-family: var(--f-serif); font-weight: 200; font-size: clamp(36px, 4vw, 64px); line-height: 1; letter-spacing: .02em; }
.cover__role { font-family: var(--f-display); font-size: clamp(20px, 2vw, 30px); line-height: 1.15; }
.cover__role i { color: var(--indigo); }
.cover__lines { border-top: 1px solid var(--line); margin-top: 10px; }
.cover__lines li { border-bottom: 1px solid var(--line); padding: 11px 0; font-size: 13px; }
.cover__lines b { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin-right: 4px; }

.cover__photo { aspect-ratio: 2 / 3; overflow: hidden; cursor: zoom-in; position: relative; }
.cover__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); clip-path: inset(100% 0 0 0); transition: transform 2.2s var(--ease), clip-path 1.6s var(--ease); }
.cover.is-in .cover__photo img { transform: scale(1); clip-path: inset(0 0 0 0); }

.cover__right { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; padding-top: clamp(40px, 9vw, 160px); }
.cover__sub { width: 78%; aspect-ratio: 2 / 3; overflow: hidden; cursor: zoom-in; }
.cover__sub img { width: 100%; height: 100%; object-fit: cover; }
.cover__quote { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.15; }
.cover__scroll { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.cover__scroll span { display: inline-block; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 899px) {
  .cover__grid { grid-template-columns: 1fr 1fr; }
  .cover__photo { grid-column: 1 / -1; order: -1; aspect-ratio: 4 / 5; }
  .cover__right { padding-top: 8px; }
  .cover__sub { width: 100%; }
}

/* ---------------- MARQUEE ---------------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: clamp(14px, 1.6vw, 22px) 0; }
.marquee__track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee__track span {
  font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 3vw, 44px); line-height: 1.1;
  padding: 0 .55em; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.1em;
}
.marquee__track span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--indigo); display: inline-block; margin-left: .55em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------------- SECTION HEAD ---------------- */
.sec-head {
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap;
  border-top: 1px solid currentColor;
  padding-top: 16px;
  margin-bottom: clamp(44px, 6vw, 100px);
}
.sec-head__no { font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--indigo); }
.sec-head__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(52px, 8.4vw, 136px); line-height: .9; letter-spacing: -.02em; }
.sec-head__title i { color: var(--indigo); }
.sec-head__ko { font-family: var(--f-serif); font-weight: 300; font-size: 15px; color: var(--muted); margin-left: auto; }

/* ---------------- PROFILE ---------------- */
.profile { padding-block: var(--sec); }
.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}
.profile__cut { display: flex; align-items: stretch; gap: 14px; justify-content: center; }
.profile__cut img { height: min(68vh, 640px); width: auto; object-fit: contain; }
.ruler { position: relative; width: 38px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.ruler__line {
  position: absolute; left: 0; top: 20px; bottom: 18px; width: 12px;
  border-left: 1px solid var(--ink);
}
.ruler__line svg { display: block; width: 12px; height: 100%; overflow: visible; }
.ruler__line line { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; shape-rendering: crispEdges; }
.ruler__top, .ruler__bottom { font-family: var(--f-display); font-size: 13px; line-height: 1; position: relative; left: 16px; }
.ruler__top { font-size: 18px; color: var(--indigo); }
.ruler__top::after { content: "cm"; font-family: var(--f-sans); font-size: 9px; letter-spacing: .14em; margin-left: 2px; color: var(--muted); }

.profile__ko { font-family: var(--f-serif); font-weight: 200; font-size: clamp(56px, 7vw, 108px); line-height: .95; letter-spacing: .02em; }
.profile__en { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.6vw, 38px); color: var(--indigo); margin: 10px 0 clamp(28px, 3.4vw, 52px); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.stats > div { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 20px; }
.stats dt, .facts dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.stats dt em { font-style: normal; letter-spacing: .1em; }
.stats dd { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.01em; }
.stats dd small { font-family: var(--f-sans); font-size: 12px; letter-spacing: .08em; margin-left: 4px; color: var(--muted); }
.facts { margin-top: clamp(22px, 2.6vw, 40px); }
.facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dd { font-family: var(--f-serif); font-weight: 300; font-size: 15px; }

/* 아치 틀 + 사진: 아이폰(사파리)은 퍼센트 max-height를 무시해 사진이 틀보다 커지고 아치 밖으로 삐져나왔다(2026-11-20).
   사진 높이를 틀 기준 92%로 직접 주고(아래 붙임·가운데), 아치 모양은 clip-path로 한 번 더 잘라 엔진과 상관없이 같게 한다. */
.profile__bust {
  position: relative;
  background: var(--paper-2);
  border-radius: 999px 999px 0 0;
  clip-path: inset(0 round 999px 999px 0 0);
  aspect-ratio: 3 / 5;
  overflow: hidden;
}
.profile__bust img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 92%; width: auto; max-width: none; }

@media (max-width: 1099px) {
  .profile__grid { grid-template-columns: 1fr 1fr; }
  .profile__info { grid-column: 1 / -1; order: -1; }
  .profile__cut img { height: min(64vh, 520px); }
}
@media (max-width: 599px) {
  .profile__cut img { height: 360px; }
  .facts > div { grid-template-columns: 96px 1fr; }
}

/* ---------------- SPECTRUM ---------------- */
.spectrum {
  --sp-bg: var(--paper);
  --sp-fg: var(--ink);
  --sp-line: var(--line);
  --sp-muted: var(--muted);
  --sp-accent: var(--indigo);
  background: var(--sp-bg);
  color: var(--sp-fg);
  padding-top: var(--sec);
  padding-bottom: clamp(60px, 8vw, 120px);
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
.spectrum.is-film {
  --sp-bg: var(--night);
  --sp-fg: var(--night-ink);
  --sp-line: var(--night-line);
  --sp-muted: var(--night-muted);
  --sp-accent: var(--sky);
}
.spectrum .sec-head__no, .spectrum .sec-head__title i { color: var(--sp-accent); transition: color .9s; }
.spectrum .sec-head__ko { color: var(--sp-muted); }

.tabs {
  position: sticky; top: var(--hd); z-index: 30;
  background: var(--sp-bg);
  border-bottom: 1px solid var(--sp-line);
  transition: background-color .9s var(--ease);
}
.tabs__inner { display: grid; grid-template-columns: 1fr 1fr; }
.tab {
  text-align: left; position: relative;
  padding: clamp(14px, 1.8vw, 24px) 0;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px;
  opacity: .34; transition: opacity .4s;
}
.tab + .tab { padding-left: clamp(16px, 3vw, 44px); border-left: 1px solid var(--sp-line); }
.tab:hover { opacity: .7; }
.tab.is-active { opacity: 1; }
.tab__no { grid-row: 1 / 3; font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--sp-accent); padding-top: .5em; }
.tab__en { font-family: var(--f-display); font-size: clamp(20px, 3vw, 44px); line-height: 1.05; letter-spacing: -.01em; }
.tab__ko { font-size: 11px; letter-spacing: .2em; color: var(--sp-muted); margin-top: 6px; }
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--sp-accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.tab + .tab::after { left: clamp(16px, 3vw, 44px); }
.tab.is-active::after { transform: scaleX(1); }

.panel { padding-top: clamp(60px, 8vw, 128px); animation: panelIn .9s var(--ease); }
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------- PHOTO + VIDEO PRIMITIVES ---------------- */
.ph { position: relative; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.spectrum.is-film .ph { background: var(--night-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ph:hover img { transform: scale(1.035); }

.vcard { cursor: pointer; }
.vcard__media { position: relative; overflow: hidden; background: #05070b; }
.vcard__media img, .vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__media video { opacity: 0; transition: opacity .8s ease; }
.vcard.is-live .vcard__media video { opacity: 1; }
.vcard__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 16, .55), rgba(8, 10, 16, 0) 45%);
  pointer-events: none;
}
.vcard__play {
  position: absolute; left: clamp(12px, 1.4vw, 22px); bottom: clamp(10px, 1.2vw, 18px); z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-style: italic; font-size: clamp(15px, 1.3vw, 19px); color: #f6f2ea;
}
.vcard__play::before {
  content: ""; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(246, 242, 234, .7);
  background-color: transparent;
  transition: background-color .4s, transform .5s var(--ease);
}
.vcard__play::after {
  content: ""; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  border-left: 10px solid #f6f2ea; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  transition: border-left-color .4s;
}
.vcard:hover .vcard__play::before { background-color: #f6f2ea; transform: scale(1.06); }
.vcard:hover .vcard__play::after { border-left-color: var(--ink); }

figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-top: 12px;
}
figcaption span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--sp-muted, var(--muted)); }
figcaption b { font-family: var(--f-serif); font-weight: 500; font-size: 15px; }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: linear-gradient(to top, rgba(8,10,16,.6), transparent); color: #f6f2ea; }
.ph figcaption span { color: rgba(246,242,234,.75); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.ph[data-reveal], .vcard[data-reveal] { transform: none; clip-path: inset(14% 0 0 0); transition: opacity 1.1s var(--ease), clip-path 1.4s var(--ease); }
.ph[data-reveal].in, .vcard[data-reveal].in { clip-path: inset(0 0 0 0); }

/* ---------------- STORIES (commercial) ---------------- */
.story { margin-bottom: clamp(110px, 14vw, 230px); }
.story__head { max-width: 640px; }
.story__head--right { margin-left: auto; text-align: right; }
.story__no { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--sp-muted); }
.story__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 7.4vw, 120px); line-height: .9; letter-spacing: -.02em; margin: 10px 0 12px; }
.story__title i { color: var(--sp-accent); }
.story__ko { font-family: var(--f-serif); font-weight: 300; font-size: 15px; color: var(--sp-muted); }

.story__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 32px); row-gap: clamp(36px, 5vw, 88px);
  margin-top: clamp(32px, 4.6vw, 72px);
}
/* A — Tweed Noir */
.s-a1 { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 4 / 5; }
.s-a2 { grid-column: 9 / 13; grid-row: 1; aspect-ratio: 2 / 3; margin-top: 12%; }
.s-a3 { grid-column: 9 / 12; grid-row: 2; aspect-ratio: 4 / 5; align-self: end; }
.s-a4 { grid-column: 4 / 8; grid-row: 3; aspect-ratio: 2 / 3; }
/* B — Denim Duet */
.ph--bleed { width: calc(100% - var(--rail)); aspect-ratio: 21 / 9; margin-top: clamp(32px, 4.6vw, 72px); }
.ph--bleed img { object-position: center 42%; }
.s-b1 { grid-column: 1 / 5; aspect-ratio: 2 / 3; }
.s-b2 { grid-column: 6 / 9; aspect-ratio: 4 / 5; margin-top: 40%; }
.s-b3 { grid-column: 10 / 13; aspect-ratio: 4 / 5; margin-top: 12%; }
.s-b4 { grid-column: 2 / 6; aspect-ratio: 2 / 3; }
.s-b5 { grid-column: 7 / 12; aspect-ratio: 4 / 5; margin-top: 18%; }
/* C — Blue Hour */
.s-c0 { grid-column: 1 / 4; grid-row: 1; align-self: end; }
.s-c1 { grid-column: 4 / 13; grid-row: 1; aspect-ratio: 2000 / 1813; }
.s-c2 { grid-column: 2 / 6; grid-row: 2; aspect-ratio: 2 / 3; }
.s-c3 { grid-column: 8 / 12; grid-row: 2; aspect-ratio: 4 / 5; margin-top: 30%; }

@media (max-width: 899px) {
  .story__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px; }
  .s-a1 { grid-column: 1 / -1; grid-row: auto; }
  .s-a2 { grid-column: 1 / 4; grid-row: auto; margin-top: 0; }
  .s-a3 { grid-column: 4 / 7; grid-row: auto; margin-top: 30%; }
  .s-a4 { grid-column: 2 / 6; grid-row: auto; }
  .ph--bleed { width: 100%; aspect-ratio: 4 / 3; }
  .s-b1 { grid-column: 1 / -1; }
  .s-b2 { grid-column: 1 / 4; margin-top: 0; }
  .s-b3 { grid-column: 4 / 7; margin-top: 30%; }
  .s-b4 { grid-column: 1 / 4; margin-top: 0; }
  .s-b5 { grid-column: 4 / 7; margin-top: 30%; }
  .s-c0 { grid-column: 1 / -1; }
  .s-c1 { grid-column: 1 / -1; grid-row: auto; }
  .s-c2 { grid-column: 1 / 4; grid-row: auto; }
  .s-c3 { grid-column: 4 / 7; grid-row: auto; margin-top: 30%; }
}

/* ---------------- BLOCK / SUBHEAD ---------------- */
.block { margin-bottom: clamp(100px, 12vw, 200px); }
.block--tight { margin-bottom: 0; }
.subhead {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--sp-line);
  padding-top: 16px; margin-bottom: clamp(28px, 3.6vw, 56px);
}
.subhead h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4.2vw, 64px); line-height: 1; letter-spacing: -.01em; }
.subhead h3 i { color: var(--sp-accent); }
.subhead span { font-size: 11px; letter-spacing: .22em; color: var(--sp-muted); }

/* TVCF */
.cf-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(14px, 2vw, 32px); row-gap: clamp(36px, 5vw, 80px);
}
.cf-gs { grid-column: 1 / 9; grid-row: 1 / 3; }
.cf-yh { grid-column: 9 / 13; grid-row: 1; }
.cf-index { grid-column: 9 / 13; grid-row: 2; align-self: end; }
.cf-as1 { grid-column: 2 / 6; grid-row: 3; aspect-ratio: 1; }
.cf-as2 { grid-column: 7 / 11; grid-row: 3; aspect-ratio: 1; margin-top: 22%; }
.cf-index { border-top: 1px solid var(--sp-fg); }
.cf-index li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--sp-line); }
.cf-index span { font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--sp-accent); }
.cf-index b { font-family: var(--f-serif); font-weight: 500; font-size: 16px; }
.cf-index em { font-style: normal; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sp-muted); }
@media (max-width: 899px) {
  .cf-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 32px; }
  .cf-gs { grid-column: 1 / -1; grid-row: auto; }
  .cf-yh { grid-column: 1 / -1; grid-row: auto; }
  .cf-index { grid-column: 1 / -1; grid-row: auto; }
  .cf-as1 { grid-column: 1 / 4; grid-row: auto; }
  .cf-as2 { grid-column: 4 / 7; grid-row: auto; margin-top: 30%; }
}

/* Portfolio (masonry) */
.pf-grid { columns: 4; column-gap: clamp(12px, 1.6vw, 24px); }
.pf-grid > * { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 24px); }
.pf-grid .ph img { height: auto; }
.pf-grid .vcard figcaption { padding-bottom: 4px; }
@media (max-width: 1099px) { .pf-grid { columns: 3; } }
@media (max-width: 699px) { .pf-grid { columns: 2; } }

/* ---------------- FILM ---------------- */
.works {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 40px); row-gap: clamp(56px, 7vw, 120px);
}
.work { grid-column: 1 / 7; }
.work--offset { grid-column: 7 / 13; margin-top: clamp(60px, 10vw, 180px); }
.work--feature { grid-column: 1 / -1; }
.works .work:not(.work--feature) .vcard__media { aspect-ratio: 16 / 9 !important; }
.work__meta {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto;
  column-gap: clamp(14px, 1.6vw, 24px); row-gap: 4px; justify-content: start; align-items: baseline;
  padding-top: 18px;
}
.work__no { grid-row: 1 / 4; font-family: var(--f-display); font-style: italic; font-size: clamp(40px, 4.4vw, 72px); line-height: .9; color: var(--sp-accent); }
.work .work__genre { font-size: 11px; letter-spacing: .2em; color: var(--sp-fg); text-transform: none; }
.work__genre em { font-style: italic; font-family: var(--f-display); letter-spacing: .02em; font-size: 14px; color: var(--sp-muted); margin-left: 6px; }
.work__title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(19px, 1.9vw, 28px); line-height: 1.3; }
.work .work__line { font-family: var(--f-serif); font-weight: 300; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--sp-muted); }
.work .work__line::before { content: "— "; }
.work--feature .work__meta { column-gap: clamp(18px, 2.4vw, 40px); padding-top: 22px; }
.work--feature .work__no { font-size: clamp(56px, 6.4vw, 104px); }
.work--feature .work__title { font-size: clamp(24px, 2.6vw, 40px); }
@media (max-width: 899px) {
  .work, .work--offset { grid-column: 1 / -1; margin-top: 0; }
}

.act-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 32px);
}
.act-main { grid-column: 1 / 9; grid-row: 1; align-self: start; }
.act-s1 { grid-column: 9 / 13; grid-row: 1; aspect-ratio: 4 / 3; align-self: start; }
.act-s2 { grid-column: 1 / 5; grid-row: 2; aspect-ratio: 3 / 2; }
.act-s3 { grid-column: 5 / 9; grid-row: 2; aspect-ratio: 3 / 2; margin-top: 5vw; }
.act-s4 { grid-column: 9 / 13; grid-row: 2; aspect-ratio: 3 / 2; margin-top: 10vw; }
@media (max-width: 899px) {
  .act-grid { grid-template-columns: 1fr 1fr; }
  .act-main { grid-column: 1 / -1; grid-row: auto; }
  .act-s1, .act-s2, .act-s3, .act-s4 { grid-column: auto; grid-row: auto; margin-top: 0; }
}

.filmo__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 6vw, 110px); }
.filmo__list { border-top: 1px solid var(--sp-fg); }
.filmo__list li { display: grid; grid-template-columns: 64px 110px 1fr; gap: 10px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--sp-line); }
.filmo__list .y { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--sp-accent); }
.filmo__list .c { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sp-muted); }
.filmo__list b { font-family: var(--f-serif); font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); }
.filmo__list b em { font-family: var(--f-display); font-weight: 400; font-size: 13px; color: var(--sp-accent); margin-left: 8px; }
.filmo__more { margin-top: 18px; text-align: right; font-family: var(--f-serif); font-weight: 300; font-size: 14px; color: var(--sp-muted); }
@media (max-width: 799px) {
  .filmo__grid { grid-template-columns: 1fr; }
  .filmo__list + .filmo__list { border-top: 0; }
  .filmo__list li { grid-template-columns: 52px 92px 1fr; }
}

.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 16px); }
.scenes .ph { aspect-ratio: 1; }
@media (max-width: 699px) { .scenes { grid-template-columns: 1fr 1fr; } }

/* ---------------- GLOBAL ---------------- */
.global { padding-block: var(--sec); background: var(--paper-2); }
.global__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); align-items: end; }
.global__video { grid-column: 1 / 9; }
.global__side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 14px; }
.global__langs { font-family: var(--f-display); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.08; margin-bottom: clamp(18px, 2.6vw, 40px); }
.resume { border-top: 1px solid var(--ink); }
.resume__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease), background-color .5s, color .5s;
}
.resume__btn span { font-family: var(--f-display); font-size: clamp(22px, 2vw, 30px); }
.resume__btn em { font-style: normal; font-size: 10.5px; letter-spacing: .22em; color: var(--indigo); transition: color .5s; }
.resume__btn:hover { background: var(--ink); color: var(--paper); padding-inline: 16px; }
.resume__btn:hover em { color: var(--sky); }
@media (max-width: 899px) {
  .global__video, .global__side { grid-column: 1 / -1; }
}

/* ---------------- CONTACT ---------------- */
.contact { padding-top: var(--sec); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); align-items: end; }
.contact__photo { grid-column: 1 / 6; aspect-ratio: 2 / 3; }
.contact__body { grid-column: 7 / 13; padding-bottom: 6px; }
.contact__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 10vw, 168px); line-height: .88; letter-spacing: -.025em; margin: 8px 0 clamp(20px, 3vw, 44px); }
.contact__mail { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 3.2vw, 48px); border-bottom: 1px solid currentColor; padding-bottom: 2px; word-break: break-all; transition: color .4s; }
.contact__mail:hover { color: var(--indigo); }
.contact__list { margin-top: clamp(28px, 3.6vw, 56px); border-top: 1px solid var(--ink); }
.contact__list li { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact__list span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-family: var(--f-serif); font-weight: 500; font-size: 17px; }
.contact__list a:hover { color: var(--indigo); }
@media (max-width: 899px) {
  .contact__photo { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .contact__body { grid-column: 1 / -1; }
}

.ft { margin-top: clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); }
.ft__inner { display: flex; justify-content: space-between; padding-block: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1099px) { .ft { padding-bottom: 84px; } }

/* ---------------- FIXED DOCK (language + pdf + social) ---------------- */
.dock {
  position: fixed; z-index: 45;
  display: flex; align-items: center;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 10px 40px rgba(8, 10, 16, .22);
  border: 1px solid rgba(242, 238, 231, .08);
}
.dock__group { display: flex; align-items: center; gap: 6px; }
.dock__label { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; }
.dock__btn, .dock__icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(242, 238, 231, .22);
  transition: background-color .35s, color .35s, border-color .35s;
}
.dock__btn { font-family: "Bodoni Moda", Georgia, serif; font-size: 12px; letter-spacing: .04em; }
.dock__btn[data-lang="zh"], .dock__btn[data-lang="ja"] { font-family: "Hahmlet", "Noto Serif SC", "Noto Serif JP", serif; font-size: 13px; letter-spacing: 0; }
.dock__btn.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.dock__icon { border-color: transparent; }
.dock__icon svg, .dock__pdf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dock__icon svg .fill { fill: currentColor; stroke: none; }
.dock__btn:not(.is-on):hover, .dock__icon:hover { background: rgba(242, 238, 231, .14); border-color: rgba(242, 238, 231, .5); }
.dock__pdf {
  display: grid; place-items: center; gap: 2px;
  width: 40px; padding: 8px 0; border-radius: 999px;
  background: var(--indigo); color: #f6f2ea;
  font-size: 9.5px; letter-spacing: .18em; line-height: 1;
  transition: background-color .35s, color .35s;
}
.dock__pdf span { padding-left: .18em; }
.dock__pdf:hover { background: #f6f2ea; color: var(--ink); }
.dock__sep { background: rgba(242, 238, 231, .22); }

@media (min-width: 1100px) {
  .dock {
    right: 16px; top: 50%; transform: translateY(-50%);
    flex-direction: column; gap: 12px;
    padding: 18px 8px; border-radius: 999px;
  }
  .dock__group { flex-direction: column; }
  .dock__label { writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 4px; }
  .dock__sep { width: 16px; height: 1px; }
}
@media (max-width: 1099px) {
  .dock {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: space-between; gap: 6px;
    padding: 6px 8px; border-radius: 999px;
    max-width: 520px; margin-inline: auto;
  }
  .dock__label { display: none; }
  .dock__group { gap: 4px; }
  .dock__sep { width: 1px; height: 22px; flex: none; }
  .dock__btn, .dock__icon { width: 31px; height: 31px; }
  .dock__pdf { width: 31px; height: 31px; padding: 0; border-radius: 50%; }
  .dock__pdf span { display: none; }
}
@media (max-width: 359px) {
  .dock { left: 6px; right: 6px; padding: 5px 6px; gap: 4px; }
  .dock__group { gap: 2px; }
  .dock__btn, .dock__icon, .dock__pdf { width: 28px; height: 28px; }
}

/* ---------------- LANGUAGE-SPECIFIC TYPE ---------------- */
html[lang="zh-CN"] {
  --f-display: "Bodoni Moda", "Noto Serif SC", serif;
  --f-serif: "Noto Serif SC", "Hahmlet", serif;
  --f-sans: "IBM Plex Sans KR", "Noto Sans SC", system-ui, sans-serif;
}
html[lang="ja"] {
  --f-display: "Bodoni Moda", "Noto Serif JP", serif;
  --f-serif: "Noto Serif JP", "Hahmlet", serif;
  --f-sans: "IBM Plex Sans KR", "Noto Sans JP", system-ui, sans-serif;
}
.orig { font-family: "Hahmlet", serif; font-style: normal; font-weight: 300; font-size: .72em; letter-spacing: 0; opacity: .6; white-space: nowrap; }
html[lang="en"] .work__genre em { display: none; }
html:not([lang="en"]) .hd__nav a { font-size: 12.5px; letter-spacing: .08em; }
html:not([lang="en"]) .cover__role i, html:not([lang="en"]) .vcard__play { font-style: normal; }
html:not([lang="en"]) .vcard__play { font-family: var(--f-serif); font-size: 14px; }
html[lang="en"] .work .work__genre > span { font-family: var(--f-display); font-style: italic; letter-spacing: .02em; font-size: 15px; }

/* print-only panel heading (tabs are hidden in the PDF) */
.print-head { display: none; }

/* ---------------- TOAST ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 120;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--indigo); color: #f6f2ea;
  padding: 12px 20px; border-radius: 999px;
  font-size: 13px; line-height: 1.4; text-align: center; max-width: calc(100vw - 32px);
  transition: opacity .4s, transform .5s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1099px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------------- LIGHTBOX ---------------- */
.lb {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(10, 13, 20, .95);
  display: grid; place-items: center;
  animation: lbIn .4s ease;
}
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb__stage { max-width: 92vw; max-height: 86vh; display: grid; place-items: center; }
.lb__stage img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lb__stage video { width: min(92vw, 1280px); max-height: 86vh; background: #000; }
.lb__stage video.is-portrait { width: auto; height: 86vh; max-width: 92vw; }
.lb__close { position: absolute; top: 18px; right: 22px; color: #f6f2ea; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding: 10px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); color: #f6f2ea; font-family: var(--f-display); font-size: 30px; padding: 18px; opacity: .7; transition: opacity .3s; }
.lb__nav:hover { opacity: 1; }
.lb__prev { left: 8px; }
.lb__next { right: 8px; }
.lb__nav[hidden] { display: none; }
.lb__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(246, 242, 234, .6); font-size: 11px; letter-spacing: .24em; }

/* ---------------- PRINT / PDF ----------------
   ?print=1 로 열면 JS가 내용을 A4 판형(.pg, 1240×1753px) 11장으로 재배치한다.
   쪽마다 내용을 판 가운데에 두어 위아래 여백이 같게 하고, 넘치면 JS가 비율대로 축소(zoom)한다. */
html.is-print { --rail: 0px; --gutter: 72px; --sec: 0px; }
html.is-print body { background: #b8b2a8; }
html.is-print .hd, html.is-print .dock, html.is-print .mnav, html.is-print .toast, html.is-print .lb,
html.is-print .marquee, html.is-print .cover__scroll, html.is-print .vcard__play,
html.is-print .vcard__media video, html.is-print .global__side .resume,
html.is-print .global__side [data-i18n="global.pdf"] { display: none !important; }
html.is-print [data-reveal], html.is-print .ph[data-reveal], html.is-print .vcard[data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
html.is-print .cover__mast-line > span { transform: none !important; transition: none !important; }
html.is-print .cover__photo img { transform: none !important; clip-path: none !important; transition: none !important; }
html.is-print .ph:hover img { transform: none; }

html.is-print .pg {
  --sp-bg: var(--paper); --sp-fg: var(--ink); --sp-line: var(--line); --sp-muted: var(--muted); --sp-accent: var(--indigo);
  width: 1240px; height: 1753px; margin: 0 auto 24px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 0; background: var(--paper); color: var(--ink);
  break-after: page; page-break-after: always;
}
html.is-print .pg--film {
  --sp-bg: var(--night); --sp-fg: var(--night-ink); --sp-line: var(--night-line); --sp-muted: var(--night-muted); --sp-accent: var(--sky);
  background: var(--night); color: var(--night-ink);
}
html.is-print .pg--film .ph { background: var(--night-2); }
html.is-print .pg__in { width: 100%; margin: 0 auto; }
html.is-print .pg__in > * + * { margin-top: 64px; }
html.is-print .pg .cover, html.is-print .pg .profile, html.is-print .pg .global, html.is-print .pg .contact,
html.is-print .pg .story, html.is-print .pg .block { padding: 0; margin-bottom: 0; background: none; }
html.is-print .pg .sec-head { margin-bottom: 48px; }
html.is-print .pg .subhead { margin-bottom: 36px; }
html.is-print .print-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--sp-line); padding-bottom: 14px; }
html.is-print .print-head b { font-family: var(--f-display); font-weight: 400; font-size: 44px; line-height: 1; }
html.is-print .print-head span:last-child { font-size: 12px; letter-spacing: .2em; color: var(--sp-muted); margin-left: auto; }
html.is-print .pg .ft { margin-top: 48px; padding-bottom: 0; }

/* 1. 표지 — 왼쪽 정보 단 + 오른쪽 큰 사진 */
html.is-print .pg .cover__grid { grid-template-columns: 330px 1fr; grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 40px; margin-top: 40px; }
html.is-print .pg .cover__left { grid-column: 1; grid-row: 1; }
html.is-print .pg .cover__right { grid-column: 1; grid-row: 2; padding-top: 0; align-self: end; }
html.is-print .pg .cover__photo { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 4 / 6.4; }
html.is-print .pg .cover__sub { width: 100%; }
/* 2. 프로필 */
html.is-print .pg .profile__cut img { height: 1000px; }
/* 3. 트위드 */
html.is-print .pg .story__grid { row-gap: 32px; margin-top: 36px; }
html.is-print .pg .s-a1 { grid-column: 1 / 7; grid-row: 1 / 3; }
html.is-print .pg .s-a2 { grid-column: 7 / 10; grid-row: 1; margin-top: 0; }
html.is-print .pg .s-a3 { grid-column: 10 / 13; grid-row: 1; align-self: start; }
html.is-print .pg .s-a4 { grid-column: 7 / 10; grid-row: 2; }
/* 4. 데님 듀엣 — 와이드 1장 + 3장 + 2장 (2026-11-23 2장 추가) */
html.is-print .pg .ph--bleed { width: 100%; aspect-ratio: 21 / 9; margin-top: 36px; }
html.is-print .pg .story--b .ph--bleed { aspect-ratio: 12 / 5; }
html.is-print .pg .story--b .story__grid { row-gap: 20px; margin-top: 22px; }
html.is-print .pg .story--b .story__grid > .ph { margin-top: 0; aspect-ratio: 5 / 6; }
html.is-print .pg .story--b .story__grid > .ph img { object-position: 50% 0%; }
html.is-print .pg .s-b1 { grid-column: 1 / 5; grid-row: 1; }
html.is-print .pg .s-b2 { grid-column: 5 / 9; grid-row: 1; }
html.is-print .pg .s-b3 { grid-column: 9 / 13; grid-row: 1; }
html.is-print .pg .s-b4 { grid-column: 3 / 7; grid-row: 2; }
html.is-print .pg .s-b5 { grid-column: 7 / 11; grid-row: 2; }
/* 6. 광고 */
html.is-print .pg .cf-as1 { grid-column: 1 / 7; grid-row: 3; }
html.is-print .pg .cf-as2 { grid-column: 7 / 13; grid-row: 3; margin-top: 0; }
/* 7. 포트폴리오 */
html.is-print .pg .pf-grid { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
html.is-print .pg .pf-grid > .vcard { display: none; }
html.is-print .pg .pf-grid > .ph { margin: 0; aspect-ratio: 3 / 4; }
html.is-print .pg .pf-grid .ph img { height: 100%; object-position: 50% 0%; }  /* 3:4 칸에 맞출 때 머리 쪽 기준(아래만 자름) */
/* 8. 대표작 */
html.is-print .pg[data-name="works"] .pg__in > * + * { margin-top: 40px; }
html.is-print .pg .works { row-gap: 28px; }
html.is-print .pg .work--offset { margin-top: 0; }
html.is-print .pg .work--feature { grid-column: 1 / 9; }
html.is-print .pg .work--feature .work__no { font-size: 64px; }
html.is-print .pg .work__meta { padding-top: 12px; }
/* 9. 액션 */
html.is-print .pg .act-main { grid-column: 1 / 13; grid-row: 1; }
html.is-print .pg .act-s1 { grid-column: 1 / 7; grid-row: 2; aspect-ratio: 3 / 2; margin-top: 0; }
html.is-print .pg .act-s2 { grid-column: 7 / 13; grid-row: 2; aspect-ratio: 3 / 2; margin-top: 0; }
html.is-print .pg .act-s3 { grid-column: 1 / 7; grid-row: 3; aspect-ratio: 3 / 2; margin-top: 0; }
html.is-print .pg .act-s4 { grid-column: 7 / 13; grid-row: 3; aspect-ratio: 3 / 2; margin-top: 0; }
/* 10. 필모 */
html.is-print .pg .filmo__list li { padding: 20px 0; }
html.is-print .pg .filmo__list b { font-size: 20px; }
html.is-print .pg .scenes { width: 78%; margin-left: auto; margin-right: auto; }  /* 장면 6장(3×2)이 한 쪽에 들어가게 */

@media print {
  @page { size: A4; margin: 0; }
  html, body { margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; background: var(--paper) !important; }
  html.is-print .pg { margin: 0; }
}

/* MOTION: 윈도우 '애니메이션 효과'(prefers-reduced-motion) 설정과 관계없이 모든 방문자에게 같은 움직임을 보여 준다 (오너 지시 2026-11-19) */
