/* FilmN — filmn.info
 * 암실(darkroom) 한 가지 세계로 간다: 거의 검정 바탕 + 인화지 크림 섹션. 라이트/다크 전환은 두지 않는다(의도).
 * 강조색은 고정하지 않고 지금 보이는 필름 사진에서 뽑은 색(--accent, build.py accent_of)을 쓴다.
 * 작가 사진 위에는 그레인·블렌드·어둡게 덮기를 하지 않는다 — 색이 상품이다.
 */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #EF8D18; }

:root {
  color-scheme: dark;
  --bg: #0B0B0C;
  --bg-2: #131314;
  --bg-3: #1C1C1E;
  --ink: #F2EEE6;
  --ink-2: rgba(242, 238, 230, .68);
  --ink-3: rgba(242, 238, 230, .46);
  --rule: rgba(242, 238, 230, .14);
  --paper: #ECE7DC;
  --paper-hi: #FAF8F3;
  --paper-ink: #1E1A17;
  --paper-ink-2: rgba(30, 26, 23, .68);
  --paper-rule: rgba(30, 26, 23, .16);
  --safelight: #E04A2F;     /* 암실 안전등 */
  --edge: #E3A443;          /* 필름 가장자리 인쇄(엣지 코드) */
  --accent: #EF8D18;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --noise: url("/img/noise.png");
  transition: --accent .9s ease;
}
:root:lang(ja) {
  --sans: "Pretendard JP Variable", "Pretendard JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
:lang(ja) body, body:lang(ja) { line-break: strict; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
:lang(ja) :is(h1, h2, h3, .hero-lead) { word-break: auto-phrase; }
p { text-wrap: pretty; }

main {
  position: relative;
  z-index: 1;
  display: block;
  background: var(--noise) 0 0 / 200px, var(--bg);
}

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: var(--paper-ink); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ── 공통 조각 ─────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--safelight); box-shadow: 0 0 10px 1px rgba(224, 74, 47, .7);
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--ink); }

.edge {
  font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--edge);
}
.edge-k { margin-right: .6em; }
.edge-k::before { content: "▸ "; }

.sec-head {
  max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 80px); padding: 0 var(--gutter);
}
.sec-head h2, .app-copy h2 {
  margin: 0; max-width: 17em;
  font: 750 clamp(32px, 4.4vw, 64px)/1.16 var(--sans); letter-spacing: -0.045em;
}
.sec-hint, .sec-body { margin: 20px 0 0; max-width: 36em; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); }
.sec-hint::before { content: "↔"; display: inline-block; margin-right: .5em; color: var(--accent); }

/* 티켓형 CTA — 왼쪽 스텁(점선 절취선) + 본문. 호버 때 강조색이 왼쪽부터 찬다. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.ticket {
  --t-bg: var(--ink); --t-fg: var(--paper-ink);
  position: relative; display: inline-flex; align-items: stretch; min-height: 50px;
  border-radius: 8px 8px 18px 8px;
  background-color: var(--t-bg);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-size: 0% 100%;
  color: var(--t-fg); text-decoration: none;
  font: 650 15px/1 var(--sans); letter-spacing: -0.01em;
  box-shadow: inset 3px 0 0 var(--accent), 0 8px 24px rgba(0, 0, 0, .28);
  transition: background-size .4s cubic-bezier(.2, .7, .2, 1), color .25s, box-shadow .25s;
}
.ticket-stub {
  display: flex; align-items: center; padding: 0 13px 0 17px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .12em; opacity: .62;
  border-right: 1.5px dashed currentColor;
}
.ticket-main { display: flex; align-items: center; gap: 10px; padding: 0 20px 0 15px; white-space: nowrap; }
.ticket-arrow { font-style: normal; transition: transform .3s var(--ease); }
a.ticket[href]:hover { background-size: 100% 100%; color: #0B0B0C; }
a.ticket[href]:hover .ticket-arrow { transform: translate(2px, -2px); }
.ticket-soon {
  font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 6px; border-radius: 4px; background: rgba(30, 26, 23, .1);
}
.ticket.is-soon {
  --t-bg: var(--bg-3); --t-fg: var(--ink-2);
  background-image: none; cursor: default;
  box-shadow: inset 3px 0 0 var(--ink-3);
}
.ticket.is-soon .ticket-soon { background: rgba(242, 238, 230, .08); color: var(--ink-2); }
.ticket--sm { min-height: 36px; font-size: 13px; box-shadow: inset 3px 0 0 var(--accent); }
.ticket--sm .ticket-main { padding: 0 14px 0 15px; }
.ticket--ink { --t-bg: var(--paper-ink); --t-fg: var(--paper-hi); box-shadow: inset 3px 0 0 var(--safelight), 0 10px 24px rgba(30, 26, 23, .22); }
.ticket--ink { background-image: linear-gradient(var(--safelight), var(--safelight)); }
a.ticket--ink[href]:hover { color: var(--paper-hi); }

.arrow-link { display: inline-flex; gap: 6px; text-decoration: none; font-weight: 650; border-bottom: 1px solid var(--accent); padding-bottom: 3px; white-space: nowrap; }
.arrow-link:hover span { transform: translate(2px, -2px); }
.arrow-link span { display: inline-block; transition: transform .3s var(--ease); }

/* ── 헤더: 로고(차이 블렌드라 크림 섹션 위에서도 읽힘) + 다이내믹 아일랜드 ── */
.logo {
  position: fixed; z-index: 60; top: 13px; left: var(--gutter);
  font: 400 34px/1 var(--serif); letter-spacing: -0.03em;
  color: #F2EEE6; mix-blend-mode: difference; text-decoration: none;
  padding: 4px 0;
}
.island {
  position: fixed; z-index: 60; top: 12px; right: var(--gutter);
  display: flex; align-items: center; gap: 4px; padding: 5px;
  border-radius: 14px;
  background: rgba(16, 16, 17, .84);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(242, 238, 230, .08);
}
.island-btn, .lang summary {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer;
  font: 600 13px/1 var(--sans); color: var(--ink);
}
.island-btn:hover, .lang summary:hover, .lang[open] summary { background: rgba(242, 238, 230, .08); }
.lang { position: relative; }
.lang summary { list-style: none; font-family: var(--mono); font-weight: 500; letter-spacing: .06em; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 176px;
  margin: 0; padding: 6px; list-style: none;
  background: rgba(20, 20, 21, .97); border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.lang-list a:hover { background: rgba(242, 238, 230, .07); }
.lang-list b { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); width: 2.2em; }
.lang-list a[aria-current] { color: var(--accent); }
.lang-list a[aria-current] b { color: var(--accent); }

/* 전체화면 메뉴 */
.menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: var(--noise) 0 0 / 200px, var(--bg); color: var(--ink);
}
.menu::backdrop { background: rgba(0, 0, 0, .4); }
.menu[open] { animation: menu-in .42s var(--ease); }
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 12px var(--gutter) 32px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.menu-top .island-btn { background: rgba(242, 238, 230, .08); }
.menu-logo { font: 400 34px/1 var(--serif); letter-spacing: -0.03em; }
.menu-list { list-style: none; margin: auto 0; padding: 40px 0; }
.menu-list a {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px;
  padding: clamp(10px, 1.6vh, 18px) 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; font: 750 clamp(30px, 5.2vw, 64px)/1.1 var(--sans); letter-spacing: -0.045em;
}
.menu-list em { font: italic 400 clamp(20px, 2.2vw, 30px)/1 var(--serif); letter-spacing: 0; color: var(--ink-3); transition: color .25s; }
.menu-list a:hover em, .menu-list a:focus-visible em { color: var(--accent); }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.menu-sub, .menu-lang { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.menu-sub a, .menu-lang a { text-decoration: none; }
.menu-sub a:hover, .menu-lang a:hover { color: var(--ink); }
.menu-lang a[aria-current] { color: var(--accent); }

/* ── 히어로 ───────────────────────────────────────────── */
.hero {
  --mark: clamp(132px, 37vw, 600px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "mark mark mark" "copy print ctrl";
  column-gap: clamp(24px, 4vw, 64px);
  align-items: end;
  padding: 76px var(--gutter) clamp(40px, 5vw, 72px);
  max-width: 1800px; margin: 0 auto;
}
.wordmark {
  grid-area: mark; margin: 0; text-align: center; white-space: nowrap;
  font: 400 var(--mark)/.8 var(--serif); letter-spacing: -0.05em;
  user-select: none;
}
.wordmark span {
  display: inline-block;
  animation: letter 4.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * .12s);
}
@keyframes letter {
  0%, 60%, 100% { transform: none; text-shadow: none; }
  25% { transform: translateY(-.04em) rotate(-1.2deg); text-shadow: 0 .03em .1em color-mix(in srgb, var(--accent) 45%, transparent); }
  40% { transform: translateY(.01em) rotate(.5deg); }
}
.print {
  grid-area: print; position: relative; z-index: 2;
  width: clamp(250px, 27vw, 440px); aspect-ratio: 4 / 5;
  margin-top: calc(var(--mark) * -.32);
  margin-bottom: 52px;
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(.4, 0, .2, 1), visibility 0s .9s; }
.slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.slide-frame {
  position: absolute; inset: 0; overflow: hidden; background: #000;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .04), 0 40px 90px rgba(0, 0, 0, .6);
}
.slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1); transition: transform 7s linear;
}
.slide.is-on img { transform: scale(1.045); }
.slide .slide-a { opacity: 0; transition: opacity 1.9s ease, transform 7s linear; }
.slide.is-dev .slide-a { opacity: 1; }
.slide figcaption {
  position: absolute; top: calc(100% + 14px); left: 0; right: 0;
  display: grid; gap: 4px;
}
.slide-credit { font-size: 12px; line-height: 1.4; color: var(--ink-3); }

.hero-copy { grid-area: copy; max-width: 380px; padding-bottom: 52px; }
.hero .ticket { min-width: 236px; }
.hero-lead { margin: 0 0 8px; font: 700 clamp(19px, 1.7vw, 25px)/1.42 var(--sans); letter-spacing: -0.035em; }
.hero-sub { margin: 0 0 26px; color: var(--ink-2); }
.hero-ctrl { grid-area: ctrl; justify-self: end; display: flex; align-items: center; gap: 10px; padding-bottom: 52px; }
.counter { display: flex; }
.counter button {
  position: relative; width: 44px; height: 40px; padding: 0 0 6px;
  border: 0; background: none; cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.counter button:hover { color: var(--ink-2); }
.counter button[aria-current="true"] { color: var(--ink); }
.counter button::after, .counter i { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 2px; }
.counter button::after { background: var(--rule); }
.counter i { z-index: 1; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.counter button[aria-current="true"] i { animation: fill 6.5s linear forwards; }
.hero.is-paused .counter i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.pause {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: none; cursor: pointer;
  display: grid; place-items: center;
}
.pause:hover { border-color: var(--ink-3); }
.pause i { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.pause[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* ── 선언 ─────────────────────────────────────────────── */
.manifesto {
  display: grid; justify-items: center; gap: clamp(28px, 4vw, 48px);
  padding: clamp(110px, 16vw, 230px) var(--gutter); text-align: center;
}
.mf-title { margin: 0; font: 800 clamp(42px, 7.6vw, 116px)/1.08 var(--sans); letter-spacing: -0.055em; }
.mf-l1, .mf-l2 { display: block; }
.mf-l1 { color: var(--ink-3); }
.mf-body { margin: 0; max-width: 33em; color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); }
/* 랙포커스 — JS 가 화면 아래에 있는 제목만 글자로 나누고 .is-pre 를 붙인다(처음부터 보이는 글은 그대로) */
.fw { display: inline-block; white-space: nowrap; }
.fc { display: inline-block; }
.is-pre .fc { opacity: 0; filter: blur(12px); transform: translateY(-.25em); }
.is-pre.is-in .fc {
  opacity: 1; filter: blur(0); transform: none;
  transition: opacity .8s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--r) * 55ms);
}

/* ── 현상(릴) ─────────────────────────────────────────── */
.reel { position: relative; padding-top: clamp(40px, 6vw, 80px); }
.reel-stage { display: grid; gap: clamp(80px, 12vw, 160px); padding: 0 var(--gutter) clamp(80px, 10vw, 140px); }
.ch {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: clamp(28px, 6vw, 110px);
  width: 100%; max-width: var(--max); margin: 0 auto;
}
.ch-text { max-width: 30em; }
.ch-name { margin: 16px 0 18px; font: 400 clamp(54px, 7.4vw, 120px)/.92 var(--serif); letter-spacing: -0.025em; }
.ch-film { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 20px; color: var(--ink-2); font-size: 14px; }
.ch-film em { font: italic 400 clamp(28px, 2.7vw, 40px)/1 var(--serif); letter-spacing: -0.01em; color: var(--accent); }
.ch-intro { margin: 0 0 22px; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17px); }
.ch-credit { margin: 0; font-size: 12px; color: var(--ink-3); }

/* 원본 ↔ 필름 대각 비교. --s = 원본이 덮는 위치(-8%~108%), 경계는 4:5 상자에서 7.3° */
.cmp {
  --s: 50%;
  position: relative; width: min(44vw, 560px); aspect-ratio: 4 / 5;
  overflow: hidden; background: #000; cursor: ew-resize; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-b { clip-path: polygon(0 0, calc(var(--s) + 8%) 0, calc(var(--s) - 8%) 100%, 0 100%); }
.cmp-line {
  position: absolute; top: -1%; bottom: -1%; left: var(--s); width: 2px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 0 16px rgba(255, 255, 255, .45);
  transform: translateX(-50%) rotate(7.3deg); pointer-events: none;
}
.cmp-line i {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 2px solid #fff; background: rgba(11, 11, 12, .35);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transform: rotate(-7.3deg);
}
.cmp-line i::before, .cmp-line i::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-top: 2px solid #fff; border-left: 2px solid #fff;
}
.cmp-line i::before { left: 9px; transform: rotate(-45deg); }
.cmp-line i::after { right: 9px; transform: rotate(135deg); }
.cmp-tag {
  position: absolute; bottom: 14px; padding: 7px 9px; border-radius: 4px;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #F2EEE6;
  background: rgba(11, 11, 12, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cmp-tag--b { left: 14px; }
.cmp-tag--a { right: 14px; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.cmp:has(.cmp-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 5px; }
.reel-index, .reel-bar { display: none; }

/* 스티키 모드 — JS 가 움직임 허용일 때 .is-live 를 붙인다. 없으면 위의 세로 나열로 그대로 읽힌다. */
.reel.is-live .reel-track { height: calc(var(--n) * 85svh + 25svh); }
.reel.is-live .reel-stage { position: sticky; top: 0; height: 100svh; display: block; padding: 0; overflow: hidden; }
.reel.is-live .ch {
  position: absolute; inset: 0; max-width: none; padding: 84px max(var(--gutter), calc((100% - var(--max)) / 2)) 72px;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s;
}
.reel.is-live .ch.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.reel.is-live .ch .ch-text { transform: translateY(18px); transition: transform .8s var(--ease); }
.reel.is-live .ch.is-on .ch-text { transform: none; }
.reel.is-live .cmp { width: auto; height: min(calc(100svh - 190px), 700px); }
.reel.is-live .reel-index {
  position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2)); bottom: 24px; z-index: 2;
  display: flex; gap: 18px; margin: 0; padding: 0; list-style: none;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.reel-index li { transition: color .3s; }
.reel-index li.is-on { color: var(--ink); }
.reel-index li.is-on::before { content: "● "; color: var(--accent); }
.reel.is-live .reel-bar { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rule); z-index: 2; }
.reel-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ── 필름스트립 밴드 ───────────────────────────────────── */
.bands { position: relative; height: clamp(300px, 30vw, 440px); overflow: clip; display: grid; place-items: center; }
.band { position: absolute; left: -6%; right: -6%; padding: 26px 0; }
.band--paper { background: var(--paper); color: var(--paper-ink); transform: translateY(-44px) rotate(4deg); }
.band--dark { background: #050505; color: var(--ink); transform: translateY(44px) rotate(-4deg); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
/* 퍼포레이션(필름 구멍) */
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, currentColor 0 11px, transparent 11px 25px);
}
.band--dark::before, .band--dark::after { opacity: .85; color: var(--paper); }
.band--paper::before, .band--paper::after { opacity: .9; color: #050505; }
.band::before { top: 7px; }
.band::after { bottom: 7px; }
.band-track { display: flex; width: max-content; animation: marquee 150s linear infinite; }
.band--paper .band-track { animation-duration: 70s; animation-direction: reverse; }
.bands:hover .band-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band-seq {
  display: flex; align-items: center; gap: .42em; margin: 0; padding-right: .42em;
  font-size: clamp(38px, 5.6vw, 84px); line-height: 1.15; white-space: nowrap;
}
.band-seq .fill { font-family: var(--serif); font-style: italic; letter-spacing: -0.015em; }
.band-seq .line { font: 700 .82em/1 var(--sans); letter-spacing: -0.035em; color: transparent; -webkit-text-stroke: 1.2px currentColor; }
.band--dark .band-seq .line { -webkit-text-stroke-color: var(--ink); }
.band-seq .tag { font: 500 .17em/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .62; align-self: center; }
.band-seq i { font-style: normal; font-size: .32em; color: var(--safelight); }

/* ── 컨택트 시트(인화지 크림) ───────────────────────────── */
.sheet { background: var(--paper); color: var(--paper-ink); padding: clamp(84px, 11vw, 160px) 0; }
.sheet .eyebrow { color: var(--paper-ink-2); }
.sheet .sec-body { color: var(--paper-ink-2); }
.sheet-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.loupe { margin: 0; position: sticky; top: 90px; }
.loupe-print {
  aspect-ratio: 4 / 5; overflow: hidden; background: #111;
  border: clamp(8px, 1vw, 14px) solid var(--paper-hi);
  box-shadow: 0 1px 0 rgba(30, 26, 23, .08), 0 30px 60px rgba(30, 26, 23, .22);
}
.loupe-print img { width: 100%; height: 100%; object-fit: cover; }
.loupe figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.loupe .edge { color: #B26F12; }
.loupe-hint { font-size: 12px; color: var(--paper-ink-2); }
.strips { display: grid; gap: clamp(22px, 3vw, 36px); }
.strip {
  --frame-gap: clamp(8px, 1.2vw, 16px);
  position: relative; margin: 0; padding: 30px clamp(12px, 1.4vw, 20px) 30px; list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--frame-gap);
  background: #121110; border-radius: 2px;
  box-shadow: 0 18px 36px rgba(30, 26, 23, .2);
}
.strip:nth-child(1) { transform: rotate(-.7deg); }
.strip:nth-child(2) { transform: rotate(.5deg) translateX(1.2%); }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 9px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 12px, transparent 12px 27px); opacity: .9;
}
.strip::before { top: 9px; }
.strip::after { bottom: 9px; }
.frame {
  all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; cursor: pointer;
  color: rgba(242, 238, 230, .78);
}
.frame-no { display: block; margin-bottom: 6px; font: 500 10px/1 var(--mono); letter-spacing: .12em; color: var(--edge); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: filter .3s; }
.frame:hover img { filter: brightness(1.08); }
.frame-label { display: block; margin-top: 8px; font: 500 12px/1.35 var(--sans); }
.frame-label em { display: block; font: italic 400 16px/1.2 var(--serif); color: var(--paper); }
/* 고른 컷 — 그리스 펜슬 표시 */
.frame[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: 10px -7px -8px -8px; pointer-events: none;
  border: 2.5px solid var(--safelight);
  border-radius: 12px 18px 10px 20px / 18px 10px 20px 12px;
  transform: rotate(-1.6deg);
}
.frame:focus-visible { outline: 2px solid var(--edge); outline-offset: 6px; }
.sheet-credit { max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gutter); font-size: 12px; color: var(--paper-ink-2); }

/* ── 앱 ───────────────────────────────────────────────── */
.app { padding: clamp(100px, 12vw, 180px) var(--gutter); }
.app-in {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 120px); align-items: center;
}
.feats { margin: 44px 0 36px; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.feats li {
  display: grid; grid-template-columns: 8em minmax(0, 1fr); column-gap: 24px; row-gap: 6px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.feats .edge { grid-row: span 2; padding-top: 5px; }
.feats h3 { margin: 0; font: 700 clamp(18px, 1.5vw, 21px)/1.35 var(--sans); letter-spacing: -0.03em; }
.feats p { margin: 0; color: var(--ink-2); }
.soon-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.transfer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  margin-top: 40px; padding: 20px 22px;
  border: 1px dashed rgba(242, 238, 230, .24); border-radius: 8px 8px 18px 8px;
}
.transfer p { margin: 0; max-width: 32em; color: var(--ink-2); font-size: 15px; }
.transfer b { color: var(--ink); font-weight: 650; }
.phone {
  justify-self: center; margin: 0; width: min(100%, 340px); padding: 9px; border-radius: 52px;
  background: #19191B; box-shadow: inset 0 0 0 1.5px #3A3A3D, 0 50px 110px rgba(0, 0, 0, .65);
  transform: rotate(2.5deg);
}
.phone img { border-radius: 43px; }

/* ── 작가 ─────────────────────────────────────────────── */
.artists { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 170px); }
.cards {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px);
  max-width: 1720px; margin: 0 auto; padding: 0 var(--gutter); list-style: none;
}
.card:nth-child(even) { margin-top: clamp(48px, 6vw, 110px); }
.card-link { display: block; text-decoration: none; }
.card-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #000; outline: 1px solid transparent; outline-offset: 7px; transition: outline-color .3s; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card-link:hover .card-photo, .card-link:focus-visible .card-photo { outline-color: var(--accent); }
.card-link:hover img { transform: scale(1.035); }
.card-meta { display: block; padding-top: 18px; }
.card-meta > span { display: block; }
.card-name { margin: 10px 0 8px; font: 400 clamp(30px, 2.5vw, 42px)/1 var(--serif); letter-spacing: -0.02em; }
.card-pack { font-size: 14px; color: var(--ink-2); }
.card-pack em { font: italic 400 19px/1 var(--serif); color: var(--accent); }
.card-films { margin: 10px 0 16px; font-size: 12px; line-height: 1.65; color: var(--ink-3); }
.card-go { display: inline-flex !important; gap: 6px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); font: 650 13px/1 var(--sans); transition: border-color .3s; }
.card-link:hover .card-go { border-color: var(--accent); }
.card-credit { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--ink-3); }

/* ── 제휴 ─────────────────────────────────────────────── */
.join { display: grid; justify-items: center; padding: clamp(60px, 8vw, 120px) var(--gutter) clamp(110px, 13vw, 190px); overflow: clip; }
.join-big {
  margin: 0; text-align: center; white-space: pre-line;
  font: italic 400 clamp(64px, 14vw, 240px)/.86 var(--serif); letter-spacing: -0.035em;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 238, 230, .4);
  user-select: none;
}
.join-card {
  position: relative; max-width: 560px; margin-top: calc(clamp(64px, 14vw, 240px) * -.24);
  padding: clamp(28px, 4vw, 48px);
  background: var(--paper); color: var(--paper-ink);
  border-radius: 10px 10px 28px 10px;
  box-shadow: inset 4px 0 0 var(--safelight), 0 40px 90px rgba(0, 0, 0, .55);
  transform: rotate(-1.8deg);
}
.join-card .eyebrow { color: var(--paper-ink-2); }
.join-card h2 { margin: 0 0 16px; font: 800 clamp(28px, 3.2vw, 44px)/1.18 var(--sans); letter-spacing: -0.045em; }
.join-card p { margin: 0 0 28px; color: var(--paper-ink-2); }
.join-card .join-mail { margin: 14px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .04em; color: var(--paper-ink-2); }

/* ── 엔딩 크레딧 ───────────────────────────────────────── */
.ft { position: relative; z-index: 0; background: #070708; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--rule); }
.ft-in { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 110px) var(--gutter) 28px; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.ft h2 { margin: 0 0 18px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.credits, .ft-list { margin: 0; padding: 0; list-style: none; }
.credits a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.credits-name { font: 400 28px/1.05 var(--serif); color: var(--ink); transition: color .25s; }
.credits a:hover .credits-name { color: var(--accent); }
.credits-pack { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.ft-list li { padding: 3px 0; line-height: 1.6; }
.ft-list a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.ft-list a:hover { color: var(--ink); border-color: var(--ink-3); }
.ft-list b { font-weight: 700; color: var(--ink); }
.ft-note { margin: 0 0 12px; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.ft-mark {
  margin: clamp(56px, 8vw, 110px) 0 0; text-align: center; white-space: nowrap; user-select: none;
  font: 400 clamp(110px, 29vw, 470px)/.78 var(--serif); letter-spacing: -0.055em; color: #18181A;
}
.ft-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 12px; color: var(--ink-3); }
.ft-base a { text-decoration: none; }

/* 넓고 높은 화면에서는 본문이 올라가며 크레딧이 드러난다 */
@media (min-width: 1100px) and (min-height: 820px) {
  .ft { position: sticky; bottom: 0; }
}

/* 모바일 하단 스토어 바 — 출시 후에만(data-when="live") */
.dock { display: none; }

/* ── 404 · 문서 ───────────────────────────────────────── */
.nf { min-height: 82svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 120px var(--gutter) 80px; text-align: center; }
.nf-frame { width: 180px; aspect-ratio: 4 / 5; border: 1px dashed var(--ink-3); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(242, 238, 230, .04) 14px 15px); }
.nf h1 { margin: 10px 0 0; font: 400 clamp(40px, 5.4vw, 72px)/1.05 var(--serif); letter-spacing: -0.02em; }
.nf h1:lang(ko), .nf h1:lang(ja) { font: 750 clamp(30px, 4vw, 52px)/1.2 var(--sans); letter-spacing: -0.045em; }
.nf p { margin: 0 0 14px; color: var(--ink-2); }

.doc { max-width: 780px; margin: 0 auto; padding: 130px var(--gutter) clamp(90px, 10vw, 140px); }
.doc h1 { margin: 0 0 40px; font: 800 clamp(32px, 4vw, 48px)/1.2 var(--sans); letter-spacing: -0.045em; }
.doc-body { color: var(--ink-2); font-size: 15.5px; }
.doc-body h2 { margin: 56px 0 14px; color: var(--ink); font: 700 22px/1.35 var(--sans); letter-spacing: -0.035em; }
.doc-body h3 { margin: 32px 0 10px; color: var(--ink); font: 700 17px/1.4 var(--sans); letter-spacing: -0.02em; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul { margin: 0 0 16px; padding-left: 1.2em; }
.doc-body li { margin: 4px 0; }
.doc-body li::marker { color: var(--ink-3); }
.doc-body a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.doc-body .tbl { overflow-x: auto; margin: 0 0 20px; border-top: 1px solid var(--rule); }
.doc-body table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.doc-body th, .doc-body td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.doc-body th { color: var(--ink); font-weight: 650; white-space: nowrap; }
.doc-mail { margin: 24px 0 8px !important; }
.doc-mail a { font: 400 clamp(28px, 4vw, 44px)/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--accent); overflow-wrap: anywhere; }

/* ── 반응형 ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); gap: 16px; padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
  .card { flex: 0 0 min(70vw, 300px); scroll-snap-align: start; }
  .card:nth-child(even) { margin-top: 0; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .sheet-body, .app-in { grid-template-columns: minmax(0, 1fr); }
  .loupe { position: static; max-width: 520px; }
  .phone { width: min(76vw, 320px); }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .logo { font-size: 30px; top: 12px; }
  .island-cta { display: none; }
  .hero {
    --mark: 37vw;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "mark" "print" "ctrl" "copy";
    padding-top: 84px;
  }
  .print { justify-self: center; width: 72vw; margin-top: calc(var(--mark) * -.14); margin-bottom: 70px; }
  .hero-ctrl { justify-self: center; padding-bottom: 28px; }
  .hero-copy { max-width: none; padding-bottom: 8px; }
  .is-pre .fc { filter: none; }
  .ch { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cmp { width: 100%; }
  .reel.is-live .ch { align-content: start; gap: 16px; padding-top: 76px; padding-bottom: 60px; }
  .reel.is-live .ch-name { margin: 8px 0 8px; font-size: clamp(44px, 12vw, 60px); }
  .reel.is-live .ch-film { margin-bottom: 8px; }
  .reel.is-live .ch-intro { margin-bottom: 0; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .reel.is-live .ch-credit { display: none; }
  .reel.is-live .cmp { justify-self: center; width: auto; height: min(calc(100svh - 360px), 112vw); min-height: 300px; }
  .reel.is-live .reel-index { gap: 10px; font-size: 9.5px; letter-spacing: .06em; bottom: 20px; }
  .strip { padding-left: 8px; padding-right: 8px; }
  .frame-label { font-size: 11px; }
  .frame-label em { font-size: 14px; }
  .feats li { grid-template-columns: minmax(0, 1fr); }
  .feats .edge { grid-row: auto; padding: 0; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); }
  .ticket-main { padding-right: 16px; }
  .dock {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 12, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--rule);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .dock.is-shown { transform: none; }
  .dock .stores { flex-wrap: nowrap; }
  .dock .ticket { flex: 1; min-height: 46px; }
  .dock .ticket-main { padding: 0 12px; }
}

/* ── 움직임 줄이기 ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  :root { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .wordmark span, .band-track, .menu[open] { animation: none !important; }
  .counter i { animation: none !important; }
  .counter button[aria-current="true"] i { transform: scaleX(1); }
  .slide img, .slide.is-on img { transform: none; }
}
