/* model-dang v16 (v14 + 5. 모니터 방: 영상 회전 + 숨은 화면) — 흰 바탕·Pretendard.
   DANG만의 차이: 타자기 모노 글자(대문자, 양끝 정렬), 옛 웹 링크 파랑 한 색, 픽셀 커서, 1px 선·작은 번호.
   규칙: 격자는 단정하게, 칸마다 딱 한 번만 깬다. 소품 흉내(종이·테이프·손글씨)는 쓰지 않는다. */

@font-face {
  font-family: 'Pretendard';
  src: url('fonts/PretendardVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
/* 로고 시안 폰트(2026-10-14 당니님). 개인용만 무료 — 배포 전 라이선스 구매 또는 교체. 40_자산/폰트/출처.md */
@font-face {
  font-family: 'Quentin';
  src: url('fonts/Quentin.otf') format('opentype');
  font-display: block;
}

:root {
  --paper: #FFFFFF;
  --ink: #000000;
  --muted: #8A8A8A;
  --empty: #F1F1F1;
  --link: #0000EE;          /* 옛 웹 링크 파랑. 이 페이지의 유일한 색 */

  --font: 'Pretendard', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --logo: 'Quentin';   /* 로고 폰트: Quentin 32px로 결정(2026-10-14 당니님). 다른 안 'High Spirited' 42px | 'Amsterdam' 30px — 주소 끝 ?logo=high 처럼 바꿔 볼 수 있음(js 맨 위) */
  --logo-size: 32px;
  --mono: 'Courier New', Courier, ui-monospace, monospace;   /* 시스템 타자기 글꼴. 설치·CDN 없음 */
  --xs: 10.5px;
  --sm: 12px;

  --side: clamp(12px, 1.7vw, 24px);
  --gap: clamp(8px, 1vw, 14px);
  --bar: 52px;
  --section: clamp(120px, 14vw, 220px);
  --col: min(1120px, 100vw - var(--side) * 2);   /* 모든 칸이 같은 폭 안에 선다 */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; cursor: var(--cur, auto); }
a, button, [role="button"], .words__thumb, .words__hole { cursor: var(--cur-link, pointer); }
.looks__view { cursor: var(--cur-grab, grab); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--sm);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
ol, ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p, figure { margin: 0; }
:focus-visible { outline: 1px solid var(--link); outline-offset: 3px; }

.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0; }

/* ── 상단 바: 메뉴 / dang / 서울 시각 ── */
.bar {
  position: sticky; top: 0; z-index: 20;
  height: var(--bar);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--side);
  background: var(--paper);
  font-size: var(--xs);
}
.bar__nav { display: flex; gap: 22px; text-transform: uppercase; letter-spacing: .02em; }
.bar__mark { font-family: var(--logo), var(--font); font-size: var(--logo-size); font-weight: 400; letter-spacing: 0; line-height: 1; padding-bottom: 0; }   /* 예전: Pretendard 23px 300, 자간 -.035em, 아래 3px */
.bar__mark:hover { color: var(--ink); }
.bar__clock { justify-self: end; font-size: 11px; font-variant-numeric: tabular-nums; }
.bar__clock span:first-child { color: var(--muted); }

/* ── 칸 머리: 1px 선 위에 왼쪽 모노 제목, 오른쪽 작은 읽기 ── */
.sec { padding: var(--section) 0 0; }
.sec__head {
  width: var(--col); margin: 0 auto clamp(28px, 3.4vw, 52px);
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 7px;
  border-top: 1px solid var(--ink);
  font-size: 11px;
}
.sec__head h2 { font-size: inherit; font-weight: 700; }
.sec__head p { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

/* ═════ 1. 밀착인화 격자 ═════
   한 화면에 3줄이 다 들어오도록 칸 높이를 화면 높이에서 거꾸로 잡는다 */
.sheet {
  position: relative;
  --cell-h: calc((100svh - var(--bar) - 64px - 3 * 18px - 2 * var(--gap)) / 3);
  --cell-w: min(var(--cell-h) * .8, (100vw - var(--side) * 2 - 4 * var(--gap)) / 5);
  padding: 12px var(--side) 40px;
}
.sheet__grid {
  display: grid;
  grid-template-columns: repeat(5, var(--cell-w));
  gap: var(--gap);
  justify-content: center;
  counter-reset: frame;
}
.frame__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--empty);
}
.frame__img img, .frame__img video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.frame__no {
  display: flex; justify-content: space-between;
  height: 18px; padding-top: 4px;
  font-size: 10px; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.frame__no b { font-weight: 400; color: var(--muted); }
.frame--video .frame__no b { color: var(--link); }
.frame__img .frame__play { inset: auto auto 7px 7px; width: 6px; height: 7px; object-fit: fill; z-index: 1; }
.frame--video .frame__img video { opacity: 0; transition: opacity .2s; }
.frame--video.is-playing .frame__img video { opacity: 1; }
.frame--video.is-playing .frame__play { display: none; }

/* 가운데 한 칸: 글 (IINNA처럼 단어 사이를 띄운 양끝 정렬) */
.frame--text .frame__img { font-weight: 400; font-size: inherit; background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: .1em; padding: 0 2px; }
.type-line { display: flex; justify-content: space-between; font-family: var(--mono); text-transform: uppercase; font-size: clamp(11px, 1.25vw, 17px); line-height: 1.25; }
.type-line[data-al="c"] { justify-content: center; }
.type-line[data-al="r"] { justify-content: flex-end; }
.type-line--small { font-size: 10px; line-height: 1.4; color: var(--muted); margin-top: 1.4em; }

/* 커서가 흩뿌리는 단어 */
.scatter { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 50; }   /* 페이지 어디서나 커서를 따라다닌다 */
.scatter span {
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 11px; white-space: nowrap;
  animation: drift 1.3s cubic-bezier(.2, .6, .3, 1) forwards;
}
.scatter span.is-blue { color: var(--link); }
@keyframes drift {
  0%   { opacity: 1; transform: translate(var(--x), var(--y)); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))); }
}

/* ═════ 2. 문장 속 괄호 썸네일 + 뚫린 사진 ═════ */
.words__line {
  width: min(var(--col), 900px); margin: 0 auto;
  font-size: clamp(15px, 1.75vw, 24px); line-height: 1.9;
  text-align: center; text-wrap: balance;
}
.words__br { white-space: nowrap; }
.words__thumb {
  display: inline-block; vertical-align: -.28em;
  height: 1.3em; margin: 0 .12em;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px transparent;
  transition: box-shadow .15s;
}
.words__thumb.is-on { box-shadow: 0 0 0 1px var(--link); }
.words__photo {
  position: relative;
  width: min(var(--col), 900px); margin: clamp(48px, 6vw, 96px) auto 0;
  background-size: 100% 100%;
}
.words__hole {
  position: absolute;
  background: var(--paper);
  transition: background-color .25s ease;
}
.words__hole.is-on { background-color: transparent; box-shadow: inset 0 0 0 1px var(--link); }
.words__hole span {
  position: absolute; left: 3px; top: 2px;
  font-family: var(--mono); font-size: 10px; line-height: 1; color: var(--muted);
}
.words__hole.is-on span { color: var(--link); }

/* ═════ 3. 룩 라인업: 끝없이 도는 북 ═════
   11명 모두 같은 키(누끼가 같은 배율이라 높이만 같으면 정수리·발끝이 맞는다).
   가장자리로 갈수록 폭만 좁아지며 넘어간다. 높이는 절대 바뀌지 않는다. */
.looks { --fig: clamp(360px, 37vw, 540px); }
.looks__view {
  position: relative;
  height: calc(var(--fig) + 64px);
  overflow: hidden;
  touch-action: pan-y;
  outline-offset: -1px;
  user-select: none; -webkit-user-select: none;
}
.looks__view.is-drag { cursor: var(--cur-grab, grabbing); }
.looks__track { position: absolute; inset: 20px 0 0; }
.look {
  position: absolute; top: 0; left: 50%;
  width: calc(var(--fig) * .75);      /* 사진 폭 전체를 보여 줘서 팔·가방이 안 잘린다(2026-10-14) */
  margin-left: calc(var(--fig) * -.375);
  will-change: transform;
}
.look[hidden] { display: block; visibility: hidden; }
.look__fig { display: block; width: 100%; transform-origin: 50% 100%; transition: opacity .25s ease; }
.look img { opacity: var(--fig-o, 1); }   /* 거의 옆으로 돌아간 룩은 흐려지며 넘어간다 */
.look img {
  width: 100%; height: var(--fig);
  object-fit: contain; object-position: 50% 100%;   /* 사진 비율 그대로, 높이는 모두 --fig */
  pointer-events: none;
}
.look__cap {
  position: absolute; top: 4px; left: calc(50% + var(--fig) * .17);
  writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 9.5px; line-height: 1.15; text-transform: uppercase;
  max-height: calc(var(--fig) * .55);
  width: 2.4em;
  opacity: var(--cap-o, 0);
}
.look__no {
  position: relative;
  display: flex; justify-content: center;   /* 번호는 그 룩 발 아래 가운데(칸 양끝에 두면 옆 룩 번호처럼 보였다, 2026-10-14) */
  margin-top: 6px;
  font-family: var(--mono); font-size: 10px; font-variant-numeric: tabular-nums;
  opacity: var(--no-o, 1);
}
.look__no b { position: absolute; left: calc(50% + 1.8em); font-weight: 400; color: var(--link); visibility: hidden; }
.look.is-worn .look__no { color: var(--link); }
.look.is-worn .look__no b { visibility: visible; }
.looks__track:has(.look__fig:hover, .look__fig:focus-visible) .look__fig:not(:hover):not(:focus-visible) { opacity: .16; }
.looks__view.is-drag .look__fig { opacity: 1 !important; }
.looks__text { width: min(var(--col), 64ch); margin: 22px auto 0; font-size: var(--sm); text-align: center; min-height: 3em; text-wrap: balance; }

/* ═════ 4. 입은 사진: 책상 위 인화지. 흰 테두리 + 아래 번호 줄(밀착인화 번호와 같은 글자) ═════
   소품(집게·테이프·바인더)은 쓰지 않는다. 인화지 한 장과 그림자만. */
.wearing__head, #wearing-head { scroll-margin-top: calc(var(--bar) + 20px); }
.prints {
  --pw: clamp(118px, 15vw, 172px);     /* 보통 장 폭 */
  --big: clamp(170px, 23vw, 262px);    /* 전신 장 폭 */
  position: relative;
  width: var(--col); height: clamp(500px, 52vw, 640px);
  margin: 0 auto;
}
.print {
  position: absolute; left: var(--x, 50%); top: var(--y, 50%);
  width: var(--pw);
  padding: 7px 7px 0;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .06), 0 10px 26px -12px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transition: left .55s cubic-bezier(.2, .8, .2, 1), top .55s cubic-bezier(.2, .8, .2, 1), transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, box-shadow .2s ease;
  user-select: none; -webkit-user-select: none;
  cursor: var(--cur-grab, grab);
}
/* --ar 사진 비율, --f 폭 배율(js가 넓이를 비슷하게 맞춤) */
.print { width: calc(var(--pw) * var(--f, 1)); }
.print--big { width: calc(var(--big) * var(--f, 1)); }
.prints[data-mode="stack"] .print { width: calc(var(--big) * var(--f, 1)); cursor: var(--cur-link, pointer); }
.print__img { aspect-ratio: var(--ar, .8); overflow: hidden; background: var(--empty); }
.print__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.print--big img { object-position: 40% 50%; }   /* 오른쪽 아래 표시가 칸 밖으로 나가게 */
.print__no {
  display: flex; justify-content: space-between;
  padding: 6px 0 7px;
  font-size: 10px; font-variant-numeric: tabular-nums;
}
.print__no b { font-weight: 400; color: var(--muted); }
.print--empty .print__img { background: var(--paper); box-shadow: inset 0 0 0 1px #E6E6E6; }
.print.is-still { transition: opacity .4s ease, box-shadow .2s ease; }
.print.is-held {
  transition: opacity .4s ease, box-shadow .2s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .06), 0 22px 40px -14px rgba(0, 0, 0, .34);
  cursor: var(--cur-grab, grabbing);
}
.print:focus-visible { outline: 1px solid var(--link); outline-offset: 3px; }

/* ── 바인더: 나노바나나 바인더 사진 위에 사진을 얹는다. 종이 자리는 그 사진에서 잰 값(px → %). 사진을 바꾸면 숫자만 다시 잰다.
   넘기는 장은 같은 사진의 종이 부분을 잘라 바탕으로 쓴다. ── */
.binder {
  position: relative;
  margin: 10px auto 0;
  background: var(--img) 0 0 / 100% 100% no-repeat;
  cursor: var(--cur-grab, grab);
  touch-action: pan-y;   /* 세로는 스크롤, 가로는 넘기기 */
  user-select: none; -webkit-user-select: none;
}
.binder.is-drag { cursor: grabbing; }
.binder .bshot:not(.bshot--empty) { cursor: zoom-in; }
.leaf { position: absolute; transform-origin: 0 50%; transition: transform .8s cubic-bezier(.3, .7, .2, 1); }
.leaf.is-turned { transform: rotateY(-180deg); }
.page__folio { font-size: var(--xs); color: var(--muted); }
.page__text { max-width: 30ch; font-size: var(--xs); line-height: 1.45; }
.bshot { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.bshot__no { font-size: 10px; font-variant-numeric: tabular-nums; }
.bshot__img { height: 100%; aspect-ratio: var(--ar, .8); overflow: hidden; background: var(--empty); }
.bshot__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bshot--big img { object-position: 40% 50%; }
.bshot--empty .bshot__img { background: transparent; box-shadow: inset 0 0 0 1px #D8D8D2; }
.bshot__empty { position: absolute; right: 0; bottom: -17px; font-size: 10px; font-weight: 400; color: var(--muted); }

/* 데스크톱 펼침면: 원본 바인더/hf_094032(2752x1536) → x270~2480 y120~1430 잘라 binder_spread_a4.webp(바닥 투명·그림자만).
   잘린 사진(2210x1310) 기준 왼쪽 면 x232~1063 y70~1213, 오른쪽 면 x1154~1990 y69~1214, 넘기는 축 x1108.5 */
.binder[data-variant="spread"] {
  --img: url('바인더/binder_spread_a4.webp');
  width: min(var(--col), 1000px); aspect-ratio: 2210 / 1310;
  perspective: 2600px;
}
.binder[data-variant="spread"]:focus-visible { outline-offset: -20px; }
[data-variant="spread"] .binder__base { position: absolute; inset: 0; }
[data-variant="spread"] .page {
  position: absolute;
  container-type: size;   /* 사진 크기를 면 크기에 맞추려고 */
  display: flex; flex-direction: column;
  padding: 9% 9% 7%;
}
[data-variant="spread"] .binder__base .page--l { left: 10.50%; top: 5.34%; width: 37.60%; height: 87.25%; padding: 3.59% 5.19% 2.79% 3.59%; }   /* % 여백은 담는 상자 폭 기준이라 넘기는 장과 같은 px가 되게 바인더 폭으로 환산. 링 쪽은 넓게 */
[data-variant="spread"] .leaf { top: 0; bottom: 0; left: 50.16%; width: 39.89%; transform-style: preserve-3d; }
[data-variant="spread"] .leaf .page { backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--img) no-repeat; }
[data-variant="spread"] .leaf .page--r { left: 5.16%; top: 5.27%; width: 94.84%; height: 87.40%; background-size: 264.35% 114.41%; background-position: 83.99% 41.82%; padding-left: 13%; }
[data-variant="spread"] .leaf .page--l { left: 5.16%; top: 5.34%; width: 94.27%; height: 87.25%; background-size: 265.94% 114.61%; background-position: 16.82% 41.92%; transform: rotateY(180deg); padding-right: 13%; }
[data-variant="spread"] .page__head { display: flex; justify-content: space-between; font-size: var(--xs); }
[data-variant="spread"] .page__head span:first-child { text-transform: none; font-family: var(--font); font-size: 15px; letter-spacing: -.02em; line-height: 1; }
[data-variant="spread"] .page__shots { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5%; }
[data-variant="spread"] .bshot { height: min(42cqh, calc((84cqw - 34px) / var(--ar, .8))); }   /* 높이는 면 기준, 가로 사진은 면 폭을 넘지 않게 */
[data-variant="spread"] .page--l .bshot { height: min(72cqh, calc((84cqw - 34px) / var(--ar, .8))); }
[data-variant="spread"] .page--r .page__folio { text-align: right; }

/* v20 면 배치(LOOKS pages). 번호는 사진 왼쪽 밖에 띄워 사진이 면 가운데 오게. 크기는 늘 면 안쪽(여백 9%) 기준이라 여백은 지켜진다 */
[data-variant="spread"] .bshot__no { position: absolute; right: calc(100% + 6px); top: 0; }
[data-variant="spread"] .page__shots[data-n="1"] .bshot { height: min(72cqh, calc((84cqw - 34px) / var(--ar, .8))); }
[data-variant="spread"] .page__shots[data-at="tight"] { gap: 0; }
[data-variant="spread"] .page__shots[data-at="tight"] .bshot { height: min(40cqh, calc((84cqw - 34px) / var(--ar, .8))); }
[data-variant="spread"] .page__shots[data-at="diag"] { justify-content: space-between; align-items: stretch; }
[data-variant="spread"] .page__shots[data-at="diag"] .bshot:first-child { align-self: flex-start; height: min(50cqh, calc((62cqw - 34px) / var(--ar, .8))); }
[data-variant="spread"] .page__shots[data-at="diag"] .bshot:last-child { align-self: flex-end; height: min(30cqh, calc((52cqw - 34px) / var(--ar, .8))); }
.bshot--cut .bshot__img { background: transparent; overflow: visible; }
.bshot--cut .bshot__img img { object-fit: contain; }
/* 블렌딩: 사진이 종이와 섞이게(WEARING.blend). 바탕을 비워야 종이와 섞인다 */
.binder .bshot__img { position: relative; background: transparent; }
.binder .bshot__img img { mix-blend-mode: var(--blend, normal); }
.binder .bshot__img img.bshot__over { position: absolute; inset: 0; mix-blend-mode: normal; }
/* 자유 배치(at: 'free'): 면 전체 기준 % 자리 */
[data-variant="spread"] .page__shots[data-at="free"] { position: absolute; inset: 0; display: block; }
[data-variant="spread"] .page__shots[data-at="free"] .bshot { position: absolute; left: var(--px); top: var(--py); width: var(--pw); height: auto; }
[data-variant="spread"] .page__shots[data-at="free"] .bshot__img { width: 100%; height: auto; }
[data-variant="spread"] .page__shots[data-at="free"] + .page__folio { margin-top: auto; }
[data-variant="spread"] .page__shots[data-at="free"] .bshot__no { display: none; }   /* 자유 배치 면은 번호 없이(당니님 그림) */
[data-variant="spread"] .page:has(> .page__shots[data-spread]) { overflow: hidden; }   /* 두 면 건너는 사진은 종이 끝에서 잘린다 */

/* 좁은 화면 한 면: 바인더/binder_page.webp(원본 hf_093121 1792x2400). 맨 위 종이 x230~1703 y26~2313, 링 구멍이 x355까지라 넘기는 장은 x360부터(축) */
.binder[data-variant="page"] {
  --img: url('바인더/binder_page.webp');
  width: min(var(--col), 640px); aspect-ratio: 1792 / 2400;
  perspective: 2200px;
}
[data-variant="page"] .leaf {
  left: 20.09%; top: 1.08%; width: 74.94%; height: 95.29%;
  background: var(--img) no-repeat; background-size: 133.43% 104.94%; background-position: 80.18% 23.01%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
[data-variant="page"] .bpage {
  position: absolute; inset: 0;
  container-type: size;
  display: grid; grid-template-columns: 34% 1fr; gap: 4%;
  padding: 7% 8% 6% 6%;
}
[data-variant="page"] .bpage__side { display: flex; flex-direction: column; gap: 14px; }
[data-variant="page"] .bpage__side .page__folio { margin-top: auto; }
[data-variant="page"] .page__mark { font-size: 15px; letter-spacing: -.02em; line-height: 1; }
[data-variant="page"] .page__head { display: flex; flex-direction: column; gap: 6px; font-size: var(--xs); }
[data-variant="page"] .page__shots { min-height: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
[data-variant="page"] .bshot { height: min(28.5cqh, calc((52cqw - 30px) / var(--ar, .8))); gap: 8px; }
[data-variant="page"] .bshot__no { font-size: 9px; }
[data-variant="page"] .page__text { font-size: 9.5px; }
[data-variant="page"] .page__shots[data-n="1"], [data-variant="page"] .page__shots[data-n="2"] { justify-content: center; gap: 6%; }
[data-variant="page"] .page__shots[data-n="1"] .bshot { height: min(80cqh, calc((52cqw - 30px) / var(--ar, .8))); }
[data-variant="page"] .page__shots[data-n="2"] .bshot { height: min(42cqh, calc((52cqw - 30px) / var(--ar, .8))); }
[data-variant="page"] .page__shots[data-at="tight"] { gap: 0; }
[data-variant="page"] .page__shots[data-at="diag"] { justify-content: space-between; }
[data-variant="page"] .page__shots[data-at="diag"] .bshot:last-child { align-self: flex-end; height: min(24cqh, calc((36cqw - 30px) / var(--ar, .8))); }

/* ── 크게 보기 ── */
.is-zoom { overflow: hidden; }
.zoom {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 56px 72px 40px;
  background: rgba(255, 255, 255, .97);
  opacity: 0; transition: opacity .25s ease;
  cursor: zoom-out;
}
.zoom[hidden] { display: none; }
.zoom.is-on { opacity: 1; }
.zoom__fig { display: flex; flex-direction: column; align-items: center; gap: 12px; max-height: 100%; }
.zoom__img { max-width: min(86vw, 1100px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; cursor: default; }
.zoom__cap { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 64ch; text-align: center; font-size: var(--sm); cursor: default; }
.zoom__no { font-size: var(--xs); white-space: pre; color: var(--muted); }
.zoom__btn, .zoom__close { position: absolute; font-size: var(--xs); color: var(--muted); text-transform: uppercase; cursor: var(--cur-link, pointer); }
.zoom__btn:hover, .zoom__close:hover { color: var(--link); }
.zoom__prev { left: var(--side); top: 50%; }
.zoom__next { right: var(--side); top: 50%; }
.zoom__close { right: var(--side); top: 18px; }

.prints__tools {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: var(--col); margin: 14px auto 0;
  font-size: var(--xs);
}
.prints__mode { display: flex; gap: 14px; }
.prints__mode button, .prints__tidy { color: var(--muted); text-transform: uppercase; }
.prints__mode button[aria-pressed="true"] { color: var(--link); }
.prints__mode button:hover, .prints__tidy:hover { color: var(--ink); }
.prints__hint { color: var(--muted); }
.prints__tidy { justify-self: end; }
.wearing__text { width: min(var(--col), 64ch); margin: 28px auto 0; font-size: var(--sm); text-align: center; text-wrap: balance; }
.wearing__text b { font-family: var(--mono); font-weight: 400; }


/* ═════ 5. 모니터 방: 회전 장면 위에 화면 18칸을 % 로 얹는다. 꺼진 화면은 장면 그대로(검정) ═════ */
.desk__stage {
  position: relative; overflow: hidden;
  width: min(100vw - var(--side) * 2, 1100px); margin: 0 auto;   /* 위 모니터 띠가 붙어 키가 커져서 폭을 줄임 → 사람(영상 화질)이 덜 크게 보인다 */
  cursor: var(--cur, default);
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.desk__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.desk__room { position: absolute; left: 0; width: 100%; }
.desk__top { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; pointer-events: none; }
/* 위 모니터 3대. 주사선은 셋 다 옅게 */
.scr--up { z-index: 2; }   /* 위 띠(z 1) 위에 */
.tv { position: absolute; z-index: 2; overflow: hidden; container-type: size; background: #050508; color: #fff; pointer-events: none; }
.tv::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px); }
.tv--rec { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }   /* gap 은 cq 단위를 쓰면 안 됨: 자기 자신이 아니라 바깥(없으면 화면) 기준이 된다 */
.tv--rec b { font-weight: 400; font-size: 13cqh; letter-spacing: .08em; display: flex; align-items: center; gap: .5em; }
.tv--rec b::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--link); box-shadow: 0 0 .5em var(--link); animation: tv-blink 1.2s steps(1) infinite; }
.tv__tc { font-size: 15cqh; font-variant-numeric: tabular-nums; }
@keyframes tv-blink { 50% { opacity: 0; } }
.tv--ticker { background: var(--link); display: flex; align-items: center; }
.tv__run { white-space: pre; font-size: 14cqh; text-transform: uppercase; letter-spacing: .02em; animation: tv-run 40s linear infinite; }
@keyframes tv-run { to { transform: translateX(-50%); } }
.tv--radar { background: #050508 linear-gradient(rgba(0, 0, 238, .22) 1px, transparent 1px) 0 0 / 12.5cqw 12.5cqh, linear-gradient(90deg, rgba(0, 0, 238, .22) 1px, transparent 1px) 0 0 / 12.5cqw 12.5cqh; }
.tv__dot { position: absolute; left: 50%; top: 50%; width: 6cqw; height: 6cqw; margin: -3cqw 0 0 -3cqw; background: var(--link); box-shadow: 0 0 0 1cqw rgba(0, 0, 238, .35); transition: left .12s linear, top .12s linear; animation: tv-blink 1s steps(1) infinite; }
.tv--radar.is-live .tv__dot { animation: none; }
.tv__xy { position: absolute; left: 7cqw; bottom: 7cqh; font-size: 9cqh; color: rgba(255, 255, 255, .7); }
.desk__over { position: absolute; z-index: 3; pointer-events: none; }
.desk__front { position: absolute; z-index: 2; background-repeat: no-repeat; pointer-events: none; }
.scr { position: absolute; z-index: 1; overflow: hidden; container-type: size; cursor: var(--cur-link, pointer); }
.scr__in { position: absolute; inset: 0; opacity: 0; }
.scr.is-found .scr__in { opacity: 1; }
/* 켜질 때: 가운데 가로줄이 펴지며 한 번 깜빡(지지직 없이) */
.scr.is-flick .scr__in { animation: scr-on .32s ease-out both; }
@keyframes scr-on {
  0% { transform: scaleY(.02); filter: brightness(3); opacity: 1; }
  40% { transform: scaleY(1); filter: brightness(1.6); }
  55% { opacity: .55; }
  70% { opacity: 1; }
  100% { transform: none; filter: none; }
}
/* 주사선은 모든 켜진 화면에 아주 옅게 */
.scr__in::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); }
.scr__in--code {
  background: var(--link); color: #fff;
  padding: 9cqh 8cqw; white-space: pre; font-size: 10.5cqh; line-height: 1.35; text-transform: none;
}
.scr__in--code::before { content: ''; }
.scr.is-found .scr__in--code { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.scr__in--word {
  display: grid; place-items: center; align-content: center; gap: 2cqh;
  background: var(--link); color: #fff; font-size: 26cqh; letter-spacing: .04em;
}
.scr__in--word small { font-size: 9cqh; opacity: .75; }
.scr__in--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.scr__in--cursor { background: var(--link); display: grid; place-items: center; }
.scr__in--cursor img { height: 62%; image-rendering: pixelated; }
.scr__in--wall { background-repeat: no-repeat; transition: opacity .4s ease; }

/* ── 푸터 ── */
.foot {
  display: flex; justify-content: space-between; gap: 24px;
  width: var(--col); margin: var(--section) auto 0;
  padding: 8px 0 22px;
  border-top: 1px solid var(--ink);
  font-size: var(--xs);
}
.foot .mono { font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .look__fig, .words__hole, .words__thumb, .frame--video .frame__img video { transition: none; }
  .print, .leaf, .zoom { transition: none; }
  .scr.is-flick .scr__in, .tv__run, .tv--rec b::before, .tv__dot { animation: none; }
}

/* ── 휴대폰: 3열 x 5줄. 가운데 칸은 그대로 가운데 ── */
@media (max-width: 700px) {
  :root { --bar: 48px; }
  .bar { grid-template-columns: auto 1fr; }
  .bar__mark { order: -1; }
  .bar__nav { justify-content: flex-end; gap: 12px; font-size: 9.5px; }
  .bar__clock { display: none; }
  .bar__mark { font-size: calc(var(--logo-size) * .9); }
  .sheet { --cell-w: calc((100vw - var(--side) * 2 - 2 * var(--gap)) / 3); padding-bottom: 0; }
  .sheet__grid { grid-template-columns: repeat(3, var(--cell-w)); }
  .type-line { font-size: 11px; }
  .type-line--small { font-size: 8.5px; }
  .looks { --fig: 340px; }
  .prints { height: 128vw; --big: 64vw; }
  .zoom { padding: 48px 12px 24px; }
  .zoom__img { max-width: 100%; }
  .zoom__prev, .zoom__next { top: auto; bottom: 18px; }
  .prints__tools { grid-template-columns: 1fr auto; }
  .foot { flex-direction: column; gap: 4px; }
}
.prints__mode[hidden] { display: none; }

/* ═════ 0. 첫 화면 모니터 방: 화면에 붙어 있는 동안 스크롤로 다가간다 ═════ */
.hero { height: 210svh; }
.hero__pin {
  position: sticky; top: var(--bar);
  height: calc(100svh - var(--bar));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__note { position: absolute; top: 12px; right: var(--side); z-index: 5; font-size: var(--xs); color: var(--muted); }
.is-rolling .desk__over, .is-rolling .desk__front, .is-rolling .scr:not(.scr--up) { visibility: hidden; }
.hero .desk__stage {
  /* 아래쪽은 흰 바탕으로 서서히 사라진다(딱 잘린 끝이 안 보이게) */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  width: min(100vw - var(--side) * 2, (100svh - var(--bar) - 40px) * 1928 / 1533); margin: 20px auto 0; }
.wearing + .sheet { margin-top: var(--section); }   /* 맨 아래로 내린 격자(2026-10-15) */
