/* SUIT subset (tools/subset_suit.py, audit_v1 #28): the characters in use only; the later rule wins over base.css */
@font-face { font-family: 'SUIT'; src: url('../assets/fonts/SUIT-Variable-sub.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
/* SANJIRO Web v1 — chapters on top of the prototype system (base.css = web_proto/css/proto.css, copied each build).
   Same rules: one event per screen, amber 1 px line as the only accent, 7 states for every control, >= 4.5:1 text. */

/* ---------------------------------------------------------------- shared */
.skip { position: fixed; z-index: 300; left: 12px; top: -60px; padding: 10px 14px; background: var(--paper); color: var(--ink); border-radius: 4px; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ch { position: relative; padding-block: clamp(96px, 14vh, 168px); }
.bone { background: var(--bone); color: var(--ink); }
.display { font: 300 clamp(36px, 5vw, 76px)/1.1 var(--kr); letter-spacing: -.025em; margin: 14px 0 28px; max-width: 22ch; text-wrap: balance; }
.h2 { font: 400 clamp(26px, 2.8vw, 40px)/1.2 var(--kr); letter-spacing: -.015em; margin: 10px 0 18px; }
.h3 { font: 500 clamp(18px, 1.6vw, 22px)/1.4 var(--kr); margin-bottom: 12px; }
.lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; }
.paper .kicker, .bone .kicker { color: #5f5a52; }
.paper .tag, .bone .tag { color: #4a463f; }
.num { font-family: var(--lat); font-feature-settings: 'tnum' 1, 'lnum' 1; }
.odo-l { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.02em; }
/* text links (B3): amber underline draws in from the left, leaves to the right */
.tl { text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) no-repeat 100% 100% / 0 1px; transition: background-size var(--base) var(--expo); padding-bottom: 1px; }
.tl:hover, .tl:focus-visible { background-position: 0 100%; background-size: 100% 1px; }
.tl:active { opacity: .75; }
/* chips on light paper */
.paper .chip, .bone .chip { border-color: rgba(14, 15, 17, .32); color: var(--ink); }
.paper .chip::before, .bone .chip::before { background: var(--ink); }
.paper .chip.is-on span, .bone .chip.is-on span { color: var(--paper); }
.paper .chip:hover:not(.is-on), .bone .chip:hover:not(.is-on) { border-color: var(--ink); }
.paper .tbl th, .paper .tbl td, .bone .tbl th, .bone .tbl td { border-top-color: var(--line-l); }
.paper .tbl th, .bone .tbl th, .paper .tbl caption { color: #5f5a52; }
.paper .btn-ic, .bone .btn-ic { border-color: rgba(14, 15, 17, .3); color: var(--ink); }

/* header nav */
.hd-nav { display: flex; gap: 18px; margin-left: auto; font-size: 13px; }
.hd-nav a { text-decoration: none; color: var(--dim); padding: 6px 0; background: linear-gradient(var(--amber), var(--amber)) no-repeat 100% 100% / 0 1px; transition: color var(--fast), background-size var(--base) var(--expo); }
.hd-nav a:hover, .hd-nav a:focus-visible { color: var(--light); background-position: 0 100%; background-size: 100% 1px; }
.hd .now { margin-left: 18px; }
@media (max-width: 1080px) { .hd-nav { display: none; } .hd .now { margin-left: auto; } }

/* ---------------------------------------------------------------- S0 intro film -> building ghost + connection into the hero
   (coordinator 2026-10-10). Every overlay layer is placed in px by v1.js (film rect = the <video>'s cover / contain box). */
.intro { position: fixed; inset: 0; z-index: 90; background: #000; transition: opacity 900ms var(--inout); }
.intro-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro.is-out { opacity: 0; pointer-events: none; }
.io-clip, .io-top, .io-frame, .io-hero { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.io-clip { overflow: hidden; }                               /* the ghost stays inside the film band (phones: letterbox) */
.io-clip img, .io-top img, .io-frame img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.io-ghost { opacity: 0; mix-blend-mode: lighten; transform-origin: 50% 50%; will-change: opacity, transform; }
.io-card, .io-mark, .io-line { opacity: 0; }
.io-top .io-line { top: calc(849 / 1080 * 100%); height: calc(7 / 1080 * 100%); }
.io-frame { visibility: hidden; transform-origin: 0 0; will-change: transform; }
.io-hero { visibility: hidden; overflow: hidden; transform-origin: 0 0; will-change: transform, opacity; }
.io-hero-in { position: absolute; transform-origin: 0 0; will-change: transform; }
.io-hero-in img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.io-bld { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.io-shade, .io-scrim { position: absolute; inset: 0; opacity: 0; }
.intro-skip { position: absolute; right: var(--gx); bottom: 28px; }
html.intro-on { overflow: hidden; }
html.no-intro .intro { display: none; }

/* ---------------------------------------------------------------- S1 asset */
.as-bls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: 24px; }
.bl { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 14px; align-content: start; }
.bl-a { margin-top: 6px; }
.bl-role { color: #4a463f; font-size: 14px; }
.bl-t td { text-align: right; }
.bl-dl { display: grid; gap: 6px; font-size: 14px; }
.bl-dl div { display: grid; grid-template-columns: 88px 1fr; gap: 12px; }
.bl-dl dt { color: #5f5a52; }
.as-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 56px; border-top: 1px solid var(--line-l); padding-top: 24px; }
.as-total-l { font: 500 13px var(--kr); color: #5f5a52; }
.as-total-n { flex-basis: 100%; font-size: 13px; color: #4a463f; }
.as-conn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(80px, 12vh, 140px); align-items: start; }
.as-conn-copy { display: grid; gap: 12px; }
.as-tog { display: flex; gap: 8px; margin: 10px 0 4px; }
.as-fig { background: var(--bone); padding: 18px; }
.as-fig figcaption { margin-top: 10px; font-size: 13px; color: #4a463f; display: flex; gap: 10px; align-items: center; }
.fig-site { width: 100%; height: auto; }
.f-band { fill: rgba(14, 15, 17, .06); }
.f-band-t, .f-lb { font: 400 12px var(--kr); fill: #3a3833; }
.f-b46 { fill: var(--basalt); transition: fill var(--base); }
.f-b47 { fill: #6f6a62; transition: fill var(--base); }
.f-id { font: 500 18px var(--lat); fill: var(--paper); letter-spacing: .04em; }
.f-gap { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; transition: stroke var(--base), stroke-width var(--base); }
.f-hatch { stroke: #6f6a62; stroke-width: 1; }
.f-lead, .f-dimline { stroke: #3a3833; stroke-width: 1; }
.f-arrow { fill: none; stroke: var(--ink); stroke-width: 1.4; transition: stroke var(--base), stroke-width var(--base); }
.f-dim { font-family: var(--kr); }
/* [연결]: the shared 1F–3F gap zone flows (review only, no bridge); [따로]: 1147's own street entrance is the line */
.as-fig[data-mode="joined"] .f-gap { stroke: var(--amber); stroke-width: 2; animation: dash 1.6s linear infinite; }
.as-fig[data-mode="separate"] .f-b47 { fill: #4a463f; }
.as-fig[data-mode="separate"] .f-arrow:nth-of-type(1) { stroke: var(--amber); stroke-width: 2.4; }
@keyframes dash { to { stroke-dashoffset: -14; } }
html.rm .as-fig .f-gap { animation: none; }
/* [연결]/[따로] (user 2026-10-12, real device: the pressed button did not read as pressed, the copy did not change, the figure
   barely did). Buttons: pressed = amber border + amber fill, ink text (contrast ~7:1); not pressed = border only; hover only
   where a pointer hovers (no stuck hover on touch). Figure: [연결] both buildings in the same dark tone and the strip between
   them filled amber with the flowing dashes on top; [따로] the strip back to hatching, 1147 lighter, both entrance arrows
   amber. 0.4 s; reduced motion: at once. The line above the figure and the fact row '연결' change with it (js/v1.js). */
.as-tog .chip { min-height: 44px; padding: 0 20px; font-size: 14px; background: transparent; border: 1.5px solid rgba(14, 15, 17, .42); color: var(--ink); }
.as-tog .chip::before { background: var(--amber); }
.as-tog .chip.is-on { border-color: var(--amber); }
.as-tog .chip.is-on span { color: var(--ink); font-weight: 600; }
.paper .as-tog .chip:hover:not(.is-on) { border-color: rgba(14, 15, 17, .42); }
@media (hover: hover) { .paper .as-tog .chip:hover:not(.is-on) { border-color: var(--amber); } }
.as-tog .chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.as-mode-line { margin: 0 0 12px; min-height: 2.9em; font: 500 15px/1.45 var(--kr); color: var(--ink); }
.as-fig .f-b46, .as-fig .f-b47, .as-fig .f-arrow, .as-fig .f-gap-fill, .as-fig .f-b47 + .f-id { transition: fill .4s var(--expo), stroke .4s var(--expo), stroke-width .4s var(--expo), opacity .4s var(--expo); }
.as-fig .f-gap-fill { fill: var(--amber); stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 3; opacity: 0; }
.as-fig[data-mode="joined"] .f-gap-fill { opacity: 1; animation: dash 1.6s linear infinite; }
.as-fig[data-mode="joined"] .f-b47 { fill: var(--basalt); }
.as-fig[data-mode="separate"] .f-gap { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 3; animation: none; }
.as-fig[data-mode="separate"] .f-b47 { fill: #b9b2a6; }
.as-fig[data-mode="separate"] .f-b47 + .f-id { fill: var(--ink); }
.as-fig[data-mode="separate"] .f-arrow.f-arrow-47, .as-fig[data-mode="separate"] .f-arrow.f-arrow-46 { stroke: var(--amber); stroke-width: 3; }
html.rm .as-fig .f-b46, html.rm .as-fig .f-b47, html.rm .as-fig .f-arrow, html.rm .as-fig .f-gap-fill, html.rm .as-fig .f-b47 + .f-id { transition: none; }
html.rm .as-fig .f-gap-fill { animation: none; }
.as-photos { margin-top: clamp(80px, 12vh, 140px); }
.as-ph-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; margin-bottom: 20px; }
.as-ph-note { font-size: 13px; color: #4a463f; }
.as-ph { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: end; }
.ph figcaption { margin-top: 10px; font-size: 13px; color: #3a3833; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.ph-facade img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.as-realm { margin-top: 36px; display: grid; gap: 4px; max-width: 56ch; }
.as-adj { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: 14px; }
.as-adj li { display: grid; gap: 4px; border-top: 1px solid var(--line-l); padding-top: 12px; }
.as-adj span { color: #4a463f; }
.as-foot { margin-top: 28px; font-size: 13px; color: #4a463f; }
@media (max-width: 860px) {
  .as-bls, .as-conn, .as-ph, .as-adj { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- S3 location */
.lc { background: transparent; }
.lc-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 28px; align-items: start; }
.lc-map { background: #12151a; }
.lc-map figcaption { padding: 10px 14px 12px; color: #a39d93; font-size: 12.5px; }
.loc-map { width: 100%; height: auto; }
.m-sea { fill: #18202a; } .m-mn { fill: none; stroke: #2a2d32; stroke-width: .6; } .m-mj { fill: none; stroke: #4a4c51; stroke-width: 1.1; }
.m-wt { fill: none; stroke: #3b5566; stroke-width: 1; } .m-sj { fill: none; stroke: #7aa0b6; stroke-width: 1.8; } .m-cs { fill: none; stroke: #5b5e63; stroke-width: .8; }
.m-rt line { fill: none; stroke-width: 1.6; } .m-r1 line { stroke: var(--light); } .m-r2 line { stroke: #a39d93; stroke-dasharray: 5 4; }
.m-nd { fill: var(--light); } .m-start { fill: none; stroke: var(--light); stroke-width: 1.4; }
.loc-map text { font: 400 12.5px var(--kr); fill: var(--light); }
.loc-map .m-wtr { fill: #9ec0d3; }
.m-site { fill: var(--amber); } .m-halo { fill: none; stroke: var(--amber); stroke-opacity: .55; }
.loc-map .m-site-lb { font: 500 12px var(--lat); letter-spacing: .14em; } .loc-map .m-site-sub { font: 400 10.5px var(--lat); fill: #a39d93; }
.m-scale line, .m-north line, .m-north path { stroke: #a39d93; fill: none; } .loc-map .m-scale text, .loc-map .m-north text { font: 400 10.5px var(--lat); fill: #a39d93; }
/* the course draws in, segment after segment (no motion: shown) */
html.motion .lc-map .m-rt line { opacity: 0; transition: opacity 500ms var(--expo); transition-delay: calc(var(--i, 0) * 110ms); }
html.motion .lc-map.is-drawn .m-rt line { opacity: 1; }
.lc-side { display: grid; gap: 14px; font-size: 15px; }
.routes { display: grid; gap: 12px; margin-top: 6px; }
.routes li { display: grid; gap: 2px; border-top: 1px solid var(--line-d); padding-top: 10px; }
.rt-km { font-size: 22px; } .rt-b { font-size: 13px; color: var(--dim); }
.lc-truth { display: grid; gap: 4px; font-size: 13px; color: var(--dim); }
.lc-judg { display: grid; gap: 4px; }
.dp { border-top: 1px solid var(--line-d); padding-top: 12px; display: grid; gap: 4px; }
.dp-v { font-size: 22px; } .dp-d, .dp-s { font-size: 13px; color: var(--dim); }
.lc-gather { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(72px, 10vh, 120px); align-items: center; }
.lc-roof figcaption { margin-top: 8px; }
.lc-g-copy { display: grid; gap: 18px; }
.mrr { display: grid; gap: 10px; }
.mrr li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; border-top: 1px solid var(--line-d); padding-top: 10px; }
.mrr b { font: 500 13px var(--lat); letter-spacing: .14em; color: var(--amber); }
.lc-gtruth { font-size: 13px; color: var(--dim); }
@media (max-width: 860px) { .lc-grid, .lc-gather { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- S4 section navigator */
.nv { height: 260vh; padding: 0; background: transparent; }
.nv-pin { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 48px);
  align-items: center; padding: 72px calc(var(--gx) + var(--rail-w)) 32px var(--gx); }
.nv-copy { display: grid; gap: 12px; align-content: center; }
.nv-copy .display { margin: 6px 0 8px; }
.nv-lead { font-size: 14px; color: var(--dim); max-width: 46ch; }
.nv-alt-now { margin: 10px 0 4px; }
.nv-alt-now .odo-xl { font-size: clamp(44px, 6vw, 96px); }
.nv-journey { display: grid; gap: 8px; }
.nv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-chips .chip { min-height: 32px; padding: 0 10px; font: 500 11.5px/1 var(--lat); letter-spacing: .1em; }
.nv-props { display: grid; gap: 2px; font-size: 14px; color: var(--dim); }
.nv-fig { position: relative; }
.nv-fig figcaption { font-size: 12.5px; color: var(--dim); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.nv-svg { width: 100%; height: auto; overflow: visible; }
.nv-gl { stroke: rgba(236, 233, 226, .35); stroke-width: 1; }
.nv-f rect { fill: rgba(236, 233, 226, .04); stroke: rgba(236, 233, 226, .28); stroke-width: 1; transition: fill var(--base) var(--expo), stroke var(--base); }
.nv-f .nv-slab { stroke: transparent; stroke-width: 2; transition: stroke var(--fast); }
.nv-f.is-lit rect { fill: rgba(236, 233, 226, .12); stroke: rgba(236, 233, 226, .6); }
.nv-f.is-hot rect, .nv-f:focus-visible rect { fill: rgba(217, 138, 58, .16); }
.nv-f.is-hot .nv-slab, .nv-f:focus-visible .nv-slab { stroke: var(--amber); }
.nv-f:focus { outline: none; }
.nv-f:active rect { fill: rgba(217, 138, 58, .3); }
.nv.has-journey .nv-f:not(.is-journey) { opacity: .35; }
.nv-f.is-journey rect { stroke: var(--amber); }
.nv-f { transition: opacity var(--base); }
.nv-47 rect { fill: rgba(140, 135, 126, .1); }
.nv-n { font: 500 20px var(--lat); fill: var(--light); }
.nv-r { font: 400 16px var(--kr); fill: rgba(236, 233, 226, .8); }
.nv-alt { font: 400 15px var(--lat); fill: rgba(236, 233, 226, .74); }
.nv-alt-s { fill: var(--amber); }
.nv-summit { stroke: var(--amber); stroke-width: 2; }
.nv-datum { stroke: rgba(236, 233, 226, .3); stroke-width: 1; stroke-dasharray: 2 4; }
.nv-zone { stroke: rgba(236, 233, 226, .55); stroke-dasharray: 4 3; }
.nv-hatch { stroke: rgba(236, 233, 226, .25); }
.nv-b { font: 500 14px var(--lat); letter-spacing: .12em; fill: rgba(236, 233, 226, .8); }
.nv-tip { position: absolute; z-index: 2; transform: translateY(-50%); display: grid; gap: 2px; padding: 10px 12px; background: rgba(14, 15, 17, .92); border: 1px solid var(--amber); font-size: 13px; pointer-events: none; min-width: 120px; }
.nv-tip[hidden] { display: none; }
.nv-tip b { font: 500 15px var(--lat); }
html.rm .nv { height: auto; } html.rm .nv-pin { position: relative; }
@media (max-width: 860px) {
  .nv { height: auto; } .nv-pin { position: relative; grid-template-columns: 1fr; padding-top: 96px; }
}

/* ---------------------------------------------------------------- S5 floor chapters (v1 additions to the prototype template) */
.fl-hero.no-depth .fl-img { transform: scale(1.005); transition: transform 1.2s var(--expo); }
.fl + .fl, .td + .fl { margin-top: 0; }
.cd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-block: 12px 40px; position: relative; padding-top: 14px; }
.cd-l { font-size: 13px; color: var(--dim); }
.cd-v { font-size: clamp(28px, 3vw, 40px); letter-spacing: .02em; }
.cd-line { position: absolute; left: var(--gx); top: 0; width: 120px; height: 1px; background: rgba(236, 233, 226, .3); }
.cd.is-lit .cd-line { background: var(--amber); box-shadow: 0 0 12px rgba(217, 138, 58, .7); }

/* ---------------------------------------------------------------- S7 3F day dial */
.td { height: 240vh; padding: 0; }
.td-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); overflow: hidden; }
.td-media { position: relative; overflow: hidden; background: #0b0c0e; }
.td-img, .td-gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td-gl { opacity: 0; transition: opacity var(--base); } .td-gl.is-ready { opacity: 1; }
.td-media .tag { position: absolute; left: var(--gx); top: 76px; }
.td-media .td-ex { position: absolute; left: calc(var(--gx) + 44px); top: 80px; font: 500 11px/1 var(--kr); color: rgba(236, 233, 226, .8); }   /* W-20 2026-10-11: the needle in the stills is an example */
.td-copy { display: grid; align-content: center; gap: 18px; padding: 80px calc(var(--gx) + var(--rail-w)) 40px clamp(20px, 3vw, 48px); }
/* 3F wind dial: the bronze dial in the 3F render — basalt face, brass 1 px ticks, amber north + handle, bronze needle */
.td-dial { --td-face0: #26231f; --td-face1: #181715; --td-face2: #0f0e0d; --td-brass: #b98a57; --td-brass-d: rgba(185, 138, 87, .55); --td-lab: #d8b48a;
  --td-amber: #E39A4C; --td-ring: rgba(185, 138, 87, .38); --td-hot: #f3d2a6; --td-arc: rgba(236, 233, 226, .22); --td-cap-hl: rgba(255, 238, 210, .75);
  position: relative; width: min(300px, 64vw); aspect-ratio: 1; touch-action: none; border-radius: 50%; cursor: grab; }
.paper .td-dial, .td-dial[data-tone="paper"] { --td-face0: #3a342d; --td-face1: #2a2622; --td-face2: #1c1a17; --td-ring: rgba(120, 82, 44, .55); --td-arc: rgba(14, 15, 17, .22); --td-amber: #A85F1C; }
.td-dial.is-drag { cursor: grabbing; }
.td-dial svg { width: 100%; height: 100%; overflow: visible; shape-rendering: geometricPrecision; }
.td-face { stroke: var(--td-brass); stroke-width: 1.5; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
.td-grain { fill: #000; opacity: .22; mix-blend-mode: screen; pointer-events: none; }
.td-r { fill: none; stroke: var(--td-ring); stroke-width: 1; vector-effect: non-scaling-stroke; }
.td-r1 { stroke: var(--td-brass-d); }
.td-tk { stroke: var(--td-brass-d); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke var(--fast); }
.td-tk-l { stroke: var(--td-brass); }
.td-tk.is-hot { stroke: var(--td-hot); }
.td-lb { fill: var(--td-lab); font: 500 9.5px/1 var(--num, var(--kr)); letter-spacing: .08em; }
.td-lb-n { fill: var(--td-amber); font-weight: 600; }
/* H01 (2026-10-10): Jeju wind names on the dial; the standard direction in small type under each (>= 4.5:1 on the face) */
.td-lb { font: 600 10.5px/1 var(--kr); letter-spacing: 0; }
.td-lb-s { fill: #C9B79C; font: 500 7.5px/1 var(--kr); letter-spacing: 0; }
.td-terms { margin: 14px 0 6px; font-size: 13px; line-height: 1.55; color: #A49F96; max-width: 34em; }
.td-north { fill: var(--td-amber); }
.td-arc { fill: none; stroke: var(--td-arc); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.td-handle { fill: var(--td-face1); stroke: var(--td-amber); stroke-width: 2; transition: r var(--fast) var(--expo), fill var(--fast); }
.td-dial:hover .td-handle, .td-dial.is-drag .td-handle { r: 7.5; fill: var(--td-amber); }
.td-dial:active .td-face { stroke: var(--td-hot); }
.td-needle-g { filter: drop-shadow(0 1.5px 1.2px rgba(0, 0, 0, .6)); }
.td-needle-hl { stroke: rgba(255, 228, 188, .7); stroke-width: .6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.td-cap { stroke: #2a1a0c; stroke-width: .8; } .td-cap-hl { fill: var(--td-cap-hl); }
.td-dial[data-wind="default"] .td-needle-g { opacity: .62; }
.td-dial:not([data-wind]) .td-needle-g { opacity: .35; }
.td-time { position: absolute; left: 0; right: 0; bottom: 21%; margin: 0; text-align: center; font-size: 22px; color: var(--light); pointer-events: none; }
.td-dial:focus-visible { outline: 2px solid var(--td-amber); outline-offset: 6px; }
.td-wind-l { margin: 0; font-size: 13px; color: var(--dim); }
.td-wind-n { color: var(--light); }
.td-wind-s { color: var(--light); font-size: 15px; }
.td-wind-src { color: var(--dim); }
.paper .td-wind-n, .paper .td-wind-s { color: var(--ink); }
.td-stops { display: flex; gap: 8px; flex-wrap: wrap; }
.td-stop { display: grid; gap: 2px; padding: 8px 12px; min-height: 44px; border: 1px solid var(--line-d); border-radius: 6px; font-size: 13px; color: var(--dim); transition: border-color var(--fast), color var(--fast); }
.td-stop .num { font-size: 15px; color: var(--light); }
.td-stop:hover { border-color: rgba(236, 233, 226, .5); }
.td-stop.is-cur { border-color: var(--amber); color: var(--light); }
.td-stop:active { transform: scale(.97); }
.td-stop[aria-disabled="true"] { opacity: .38; }
.td-lines { position: relative; min-height: 4.8em; }
.td-line { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(8px); transition: opacity var(--base) var(--expo), transform var(--base) var(--expo); }
.td-line.is-cur { opacity: 1; transform: none; }
html.rm .td { height: auto; } html.rm .td-pin { position: relative; }
@media (max-width: 860px) {
  .td { height: auto; } .td-pin { position: relative; height: auto; grid-template-columns: 1fr; }
  .td-media { aspect-ratio: 3 / 2; } .td-copy { padding: 32px var(--gx) 48px; }
}

/* ---------------------------------------------------------------- S8 lease configurator */
.ls-lead { display: grid; gap: 4px; max-width: 64ch; }
.cf { margin-top: 48px; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips .chip { min-height: 44px; padding: 0 18px; font: 500 12.5px/1 var(--lat); letter-spacing: .1em; }
.cf-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 28px; align-items: center; }
.cf-fig { background: var(--bone); padding: 18px; }
.cf-svg { width: 100%; height: auto; }
.cf-gl { stroke: rgba(14, 15, 17, .35); }
.cf-f { fill: rgba(14, 15, 17, .05); stroke: rgba(14, 15, 17, .3); stroke-width: 1; transition: fill 420ms var(--expo), stroke 420ms; }
.cf-f.on { fill: var(--ink); stroke: var(--ink); }
.cf-f.cf-47.on { fill: #4a463f; }
.cf-n { font: 500 13px var(--lat); fill: #3a3833; pointer-events: none; }
.cf-f.on + .cf-n { fill: var(--paper); }
.cf-zone { fill: none; stroke: transparent; stroke-dasharray: 4 3; }
.cf-fig.is-hub .cf-zone { stroke: var(--amber); stroke-width: 2; animation: dash 1.6s linear infinite; }
html.rm .cf-fig.is-hub .cf-zone { animation: none; }
html.rm .cf-f { transition: none; }
.cf-side { display: grid; gap: 14px; }
.cf-area .odo-xl { font-size: clamp(48px, 6vw, 96px); }
.cf-h { font: 500 22px var(--kr); }
.cf-dl { display: grid; gap: 6px; font-size: 14px; }
.cf-dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.cf-dl dt { color: #5f5a52; }
.cf-note { font-size: 13px; color: #4a463f; border-left: 1px dashed #6f6a62; padding-left: 10px; }
.ls-terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 72px; }
.ls-flow { display: grid; gap: 8px; counter-reset: f; }
.ls-flow li { counter-increment: f; display: grid; grid-template-columns: 32px 1fr; border-top: 1px solid var(--line-l); padding-top: 8px; }
.ls-flow li::before { content: counter(f, decimal-leading-zero); font: 500 13px var(--lat); color: #5f5a52; }
.ls-note, .ls-detail { margin-top: 16px; display: grid; gap: 4px; font-size: 14px; color: #3a3833; }
.ls-prop { margin-top: 80px; font: 300 clamp(26px, 3vw, 44px)/1.25 var(--kr); max-width: 24ch; }
.ls-foot { margin-top: 24px; font-size: 13px; color: #4a463f; display: grid; gap: 2px; }
@media (max-width: 860px) { .cf-body, .ls-terms { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- S9 register */
.board { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: #4a463f; }
.board .on { color: var(--ink); font-weight: 500; }
.rg-total { font-size: .5em; vertical-align: super; color: #5f5a52; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.rg-list { display: grid; }
.rg-g { border-top: 1px solid var(--line-l); }
.rg-g[hidden] { display: none; }
.rg-g summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; font: 500 17px var(--kr); list-style: none; }
.rg-g summary::-webkit-details-marker { display: none; }
.rg-g summary::after { content: '+'; font: 400 22px var(--lat); transition: transform var(--base) var(--expo); }
.rg-g[open] summary::after { transform: rotate(45deg); }
.rg-g summary:hover { color: #3a3833; }
.rg-g summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.rg-c { margin-left: auto; font-size: 13px; color: #5f5a52; }
.rg-g ul { display: grid; gap: 0; padding-bottom: 16px; }
.rg-g li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 200px); gap: 16px; padding: 10px 0; border-top: 1px dashed var(--line-l); font-size: 14.5px; }
.rg-id { color: #5f5a52; } .rg-own { color: #4a463f; font-size: 13px; }
.legend, .notes { margin-top: 28px; font-size: 13px; color: #3a3833; display: grid; gap: 4px; }
@media (max-width: 860px) { .rg-g li { grid-template-columns: 56px 1fr; } .rg-own { grid-column: 2; } }

/* ---------------------------------------------------------------- next step + contact */
.nx { background: transparent; }
.nx-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.nx-copy { display: grid; gap: 16px; }
.nx-ask { font: 300 clamp(28px, 3.4vw, 52px)/1.25 var(--kr); letter-spacing: -.015em; max-width: 22ch; }
.nx-steps { display: grid; gap: 8px; counter-reset: s; margin-top: 8px; }
.nx-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; border-top: 1px solid var(--line-d); padding-top: 8px; }
.nx-steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px var(--lat); color: var(--dim); }
.nx-contact { display: grid; gap: 16px; border-top: 1px solid var(--line-d); padding-top: 18px; }
.nx-dl { display: grid; gap: 8px; font-size: 15px; }
.nx-dl div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.nx-dl dt { color: var(--dim); }
.nx-act { display: flex; flex-wrap: wrap; gap: 10px; }
.nx-act .btn { text-decoration: none; }
.kakao .dr-in img { width: min(320px, 100%); margin-top: 16px; }
.ft { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; }
.ft .tl { margin-left: auto; color: var(--light); }
/* design credit + copyright (user 2026-10-11): the credit on its own line, the copyright in small type; the studio name in the
   contact block's face and tracking (.kicker: 500 Latin, .12em) */
.ft .ft-credit { flex-basis: 100%; margin-top: 18px; color: var(--light); }
.ft .ft-copy { flex-basis: 100%; font-size: 11px; line-height: 1.6; color: #8f8a81; max-width: 72ch; }
.ft .fog { font: 500 1em/1 var(--lat); letter-spacing: .12em; }
@media (max-width: 860px) { .nx-grid { grid-template-columns: 1fr; } }

/* 360 ring label for a stair link ("계단으로 옥상") */
.pv-ring-l { position: absolute; left: 50%; top: calc(100% + 6px); translate: -50% 0; white-space: nowrap; padding: 5px 9px; font-size: 12px; color: var(--light); background: rgba(14, 15, 17, .72); border: 1px solid var(--amber); border-radius: 999px; }

/* cursor dot: two-tone (light fill + ink ring) instead of a difference blend, so it reads on mid-grey images too */
/* pure white fill + pure black ring: at the worst mid-grey (L ~ .18) one of the two still clears 4.5:1 */
.cur-dot { mix-blend-mode: normal; background: #fff; box-shadow: 0 0 0 1.5px #000; }
.cursor.on-paper .cur-dot { box-shadow: 0 0 0 1.5px rgba(244, 241, 234, .9); }
.cursor[data-c="text"] .cur-dot { box-shadow: 0 0 0 1px #000; }

/* ---------------------------------------------------------------- fixed UI over paper (user WEB QA 2026-10-10)
   Rail: two copies of the ticks — .rl-d (light, on a soft scrim that keeps photos readable) and .rl-p (ink) — each
   clipped by main.js to the dark / paper sections under it, so the colour changes exactly at a boundary, never flickers.
   The 1 px line is split the same way. Mark and header take data-tone (8 px hysteresis) and change colour in 240 ms.
   Paper amber is #9A5418 (5.0:1 on paper, 4.7:1 on bone; #D98A3A is 2.5:1). Targets: text >= 4.5:1, ticks / line / mark >= 3:1. */
:root { --amber-p: #9A5418; --tone-t: 240ms; }
.rail ol.rl-d { left: -150px; color: var(--light); }
.rail ol.rl-d::before { content: ''; position: absolute; inset: -170px -14px -170px -40px; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0) 0, rgba(5, 6, 8, .5) 42%, rgba(5, 6, 8, .66) 84%, rgba(5, 6, 8, .82) 94%, rgba(5, 6, 8, .82) 100%);   /* deeper only in the last ~30 px: tick, line and mark >= 3.5:1 over bright plates */
  /* feathered on every side (audit_v1 #15: no box edge over bright photos): 150 px vertical fade, soft left falloff */
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 150px, #000 calc(100% - 150px), transparent 100%), linear-gradient(90deg, transparent 0, #000 38%);
  -webkit-mask-composite: source-in; mask: linear-gradient(180deg, transparent 0, #000 150px, #000 calc(100% - 150px), transparent 100%), linear-gradient(90deg, transparent 0, #000 38%); mask-composite: intersect; }
.rail ol.rl-p { left: -150px; color: var(--ink); }
.rl-t button { opacity: .9; transition: opacity var(--fast); }
.rl-p .rl-t button { opacity: .88; }
.rl-t button:hover, .rl-t button.is-hv, .rl-t.is-cur button { opacity: 1; }
.rl-t button.is-hv .rl-n, .rl-t button.is-kf .rl-n { max-width: 90px; opacity: 1; }
.rl-p .rl-t button.is-kf { outline: 2px solid var(--amber-p); outline-offset: 2px; opacity: 1; }
.rl-t button[aria-disabled="true"] { opacity: .4; }
.rail::before { background: var(--rl-line, rgba(236, 233, 226, .6)); opacity: 1; z-index: 1; }
.rl-p .rl-summit button::after { background: var(--amber-p); }
.rl-mark { z-index: 2; box-shadow: 0 0 0 1.5px rgba(14, 15, 17, .85); transition: background-color var(--tone-t) var(--inout); }
.rl-mark[data-tone="paper"] { background: var(--amber-p); }
.hd { color: var(--light); background: none; transition: transform var(--base) var(--expo), color var(--tone-t) var(--inout); }
.hd::before, .hd::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity var(--tone-t) var(--inout), background-color var(--base); }
.hd::before { background: linear-gradient(180deg, rgba(5, 6, 8, .55), rgba(5, 6, 8, 0)); }
.hd::after { background: linear-gradient(180deg, rgba(244, 241, 234, .82), rgba(244, 241, 234, 0)); opacity: 0; }
.hd.is-bar::before { background: rgba(12, 13, 15, .78); }
.hd.is-bar::after { background: rgba(244, 241, 234, .9); }
.hd[data-tone="paper"] { color: var(--ink); }
.hd[data-tone="paper"]::before { opacity: 0; } .hd[data-tone="paper"]::after { opacity: 1; }
.hd .wordmark span, .hd .now, .hd-nav a { transition: color var(--tone-t) var(--inout), background-size var(--base) var(--expo); }
.hd[data-tone="paper"] .wordmark span, .hd[data-tone="paper"] .now, .hd[data-tone="paper"] .hd-nav a { color: rgba(14, 15, 17, .72); }
.hd[data-tone="paper"] .hd-nav a:hover, .hd[data-tone="paper"] .hd-nav a:focus-visible { color: var(--ink); }
.hd[data-tone="paper"] .now-dot, .hd[data-tone="paper"] .hd-prog { background: var(--amber-p); }
.hd[data-tone="paper"] .proto-badge { color: rgba(14, 15, 17, .72); border-color: rgba(14, 15, 17, .5); }

/* ---------------------------------------------------------------- living background v2 (2026-10-10)
   html shows the pre-lit basalt tile of the current sun phase (also the no-WebGL fallback); the lit WebGL ground covers it
   once its maps are in. Film grain: a 256 px tile on a fixed layer stepped at 12 fps (compositor-only transforms). */
html.bg-v2 { background: var(--bg-ink, #0E0F11) url(../assets/bg/bg3_fallback_day_512.webp) repeat; background-size: 600px 600px; }
html.bg-v2[data-bgphase="night"] { background-image: url(../assets/bg/bg3_fallback_night_512.webp); }
html.bg-v2[data-bgphase="dawn"] { background-image: url(../assets/bg/bg3_fallback_dawn_512.webp); }
html.bg-v2[data-bgphase="golden"] { background-image: url(../assets/bg/bg3_fallback_golden_512.webp); }
.bg-grain { position: fixed; inset: -256px; z-index: -1; pointer-events: none; background: url(../assets/bg/bg2_grain_256.png); animation: bg-grain .667s steps(1) infinite; will-change: transform; }
@keyframes bg-grain { 0% { transform: translate(0, 0); } 12.5% { transform: translate(-97px, 61px); } 25% { transform: translate(43px, -118px); } 37.5% { transform: translate(-151px, -37px); }
  50% { transform: translate(122px, 88px); } 62.5% { transform: translate(-29px, 141px); } 75% { transform: translate(77px, -63px); } 87.5% { transform: translate(-133px, 17px); } }
html.rm .bg-grain { animation: none; }
html.bg-off .bg-grain { display: none; }

/* floor hero kicker over photos (audit_v1 #16): light text + a deeper, longer bottom-left shade under the copy */
.fl-copy .kicker { color: rgba(236, 233, 226, .88); text-shadow: 0 1px 14px rgba(5, 6, 8, .6); }
.fl-copy .kicker .kn { color: var(--light); }
.fl-shade { background: linear-gradient(0deg, rgba(7, 8, 10, .86) 0, rgba(7, 8, 10, .58) 30%, rgba(7, 8, 10, .22) 56%, rgba(7, 8, 10, 0) 76%),
  radial-gradient(ellipse 70% 60% at 0% 100%, rgba(7, 8, 10, .45), rgba(7, 8, 10, 0) 70%); }
/* a soft local plate behind the hero copy (bright windows behind the kicker: 4F, 1147 2F on phones) */
.fl-copy { isolation: isolate; }
.fl-copy::before { content: ''; position: absolute; inset: -70px -90px -50px -70px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 65% at 32% 52%, rgba(7, 8, 10, .62), rgba(7, 8, 10, .34) 58%, rgba(7, 8, 10, 0) 82%); }
html.rm .fl-copy::before { opacity: 1; }

/* floor interstitials (audit_v1 #17): one compact beat instead of 1–1.5 empty screens — the number rolls in with the floor's
   kicker and a mini section of its building (this floor lit); the step to the next floor is a short line. Heroes pin shorter. */
.fl-enter { height: 44vh; }
.fl-enter-in { position: relative; display: grid; justify-items: center; gap: 14px; background: radial-gradient(closest-side, rgba(7, 8, 10, .55), rgba(7, 8, 10, 0)); padding: 18px 40px; }
.fl-enter-meta { display: flex; align-items: center; gap: 14px; }
.fl-enter-map rect { fill: rgba(236, 233, 226, .22); }
.fl-enter-map rect.on { fill: var(--amber); }
.fl-enter-k { margin: 0; font: 500 12.5px/1.4 var(--lat); letter-spacing: .1em; color: rgba(236, 233, 226, .78); }
.fl-hero { height: 190vh; }
.fl-ascent { height: 24vh; gap: 12px; }
.asc-rule { height: 56px; }
.asc-v { font-size: clamp(20px, 2vw, 28px); color: rgba(236, 233, 226, .82); }
html.rm .fl-enter { height: 26vh; }
@media (max-width: 860px) { .fl-enter { height: 36vh; } .fl-ascent { height: 18vh; } .fl-hero { height: 170vh; } }

/* 360 top bar on phones (audit_v1 #26): labels never wrap; the tools take their own row under the title */
.pv-top .btn-ic { white-space: nowrap; }
.pv-tools .btn-ic[hidden] { display: none; }
@media (max-width: 560px) {
  .pv-top { flex-wrap: wrap; row-gap: 8px; }
  .pv-title { max-width: none; flex: 1 1 100%; }
  .pv-tools { margin-left: auto; }
}

/* intro film on portrait screens (audit_v1 #3): the 16:9 film is letterboxed (contain), so the wordmark and the closing
   credit are never cut ("NJI / ME OF GROU"); the black band is the film's own ground */
@media (orientation: portrait) { .intro-v { object-fit: contain; } }

/* 한눈에 보기 (audit_v1 #7) */
.gv { padding-block: clamp(72px, 10vh, 120px); }
.gv-total { margin: 10px 0 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.gv-total .num { font: 300 clamp(36px, 4.4vw, 64px)/1 var(--kr); letter-spacing: -.02em; }
.gv-note { font-size: 13px; color: var(--dim); }
.gv-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.gv-h3 { font: 500 12px/1.4 var(--lat); letter-spacing: .12em; color: rgba(236, 233, 226, .72); margin: 22px 0 10px; text-transform: uppercase; }
.gv-col > .gv-h3:first-child { margin-top: 0; }
.gv-b + .gv-b { margin-top: 26px; }
.gv-bh { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 4px; } .gv-bh b { font: 500 15px/1.3 var(--lat); letter-spacing: .08em; } .gv-bh span { font-size: 13.5px; color: var(--dim); }
.gv-ent { margin: 0 0 8px; font-size: 13.5px; } .gv-ent span { color: var(--dim); margin-right: 6px; }
.gv-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.gv-t th, .gv-t td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid rgba(236, 233, 226, .12); vertical-align: top; }
.gv-t thead th { font-weight: 500; color: var(--dim); font-size: 12px; }
.gv-t .sum th, .gv-t .sum td { border-bottom: 0; font-weight: 500; }
.gl-basis { color: var(--dim); font-size: 12.5px; }
.gv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; }
.gv-list li { display: grid; grid-template-columns: 96px 1fr; gap: 2px 12px; } .gv-list b { font-weight: 500; }
.gv-opts li { grid-template-columns: 96px 84px 1fr; } .gv-opts .num { text-align: right; }
.gv-checks li { grid-template-columns: 56px 1fr; } .gv-id { color: var(--dim); font: 500 12px/1.6 var(--lat); } .gv-own { grid-column: 2; color: var(--dim); font-size: 12.5px; }
.gv-more { margin-top: 22px; display: flex; gap: 18px; font-size: 14px; }
@media (max-width: 860px) { .gv-grid { grid-template-columns: 1fr; } .gl-basis { display: none; } .gv-opts li { grid-template-columns: 1fr auto; } .gv-opts li span:last-child { grid-column: 1 / -1; color: var(--dim); } }

/* site photos: the 1146-20 front, the rooftop view toward 1147 (FIELD-015) and the proposal facade (user 2026-10-10) */
.as-ph { grid-template-columns: .8fr 1.5fr 1fr; }
@media (max-width: 860px) { .as-ph { grid-template-columns: 1fr; } }

/* type finish (audit_v1 #29, A6): no one-word orphans in leads and headlines */
.lead, .tx-lead p, .fl-one, .nv-lead, .display, .h2, .fl-h, .tx-h, .nx-ask, .as-total-n, .gv-note { text-wrap: pretty; }
.display, .h2, .fl-h, .tx-h, .nx-ask { text-wrap: balance; }

/* the one item decided together (user 2026-10-10): 1147 connection */
.gv-co, .ax-co { margin: 10px 0 0; font-size: 14px; color: var(--light); border-left: 1px solid var(--amber); padding-left: 10px; }
.paper .ax-co, .bone .ax-co { color: var(--ink); }   /* W-06 2026-10-11: on paper the light text nearly vanished (236,233,226 on 244,241,234) */

/* dimmest grey label one step brighter (main 2026-10-10): over the brightest 0.1 % of the basalt A ground at midday
   #9A958C reached 4.64:1; #A49F96 keeps >= 5.25:1 at every time of day (evidence/v1/bg_v2_basalt/BG_V2_MEASURE.json) */
.sc th, .ft, .gl-sep, .lb-sep { color: #A49F96; }

/* A8 (coordinator 2026-10-10): 360 header icon buttons; lightbox touch hint (coarse pointers, fades after ~2.5 s) */
.pv-icon { width: 44px; height: 44px; padding: 0; display: inline-grid; place-items: center; }
.pv-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pv-icon[hidden] { display: none; }
.lb-touch { display: none; }
@media (pointer: coarse) {
  .lb .lb-hint { display: none; }                         /* the keyboard hint (Esc, arrows) is for fine pointers */
  .lb-touch { display: block; position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); margin: 0; text-align: center;
    font-size: 13px; color: rgba(236, 233, 226, .78); pointer-events: none; animation: lb-touch 3.2s var(--inout) forwards; }
}
@keyframes lb-touch { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }
html.rm .lb-touch { animation: none; }

/* A6: Korean pair of English kickers / journey chips */
.k-ko { letter-spacing: 0; text-transform: none; font-family: var(--kr); }
.chip-d .jr-ko { margin-left: 6px; font: 400 12px/1 var(--kr); letter-spacing: 0; opacity: .78; }

/* A10 (coordinator 2026-10-10): closing chapter over the street at blue hour; the rail finishes back at 0 m */
#next { position: relative; isolation: isolate; overflow: hidden; }
.nx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.nx-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 62%; display: block; }
.nx-bg::after { content: ''; position: absolute; inset: 0;   /* >= .86 ink everywhere: the dimmest label keeps >= 5:1 over the brightest street light */
  background: linear-gradient(180deg, rgba(9, 10, 13, .86) 0, rgba(9, 10, 13, .86) 60%, rgba(9, 10, 13, .93) 100%); }
.rl-fin { position: absolute; right: 0; bottom: -26px; font: 500 11px/1 var(--lat); letter-spacing: .04em; color: var(--amber); white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity 600ms var(--inout) 900ms, transform 600ms var(--inout) 900ms; }
.rail.is-finish .rl-fin { opacity: 1; transform: none; }
html.rm .rl-fin { transition: none; }

/* A7 (coordinator 2026-10-10): printing the web page gives one clear line and the PDF address, nothing else */
.print-note { display: none; }
@media print {
  @page { margin: 20mm; }
  html, body { background: #fff !important; color: #111 !important; }
  body > *:not(.print-note) { display: none !important; }
  .print-note { display: block !important; font: 400 12pt/1.6 var(--kr); color: #111; }
  .print-note .pn-h { font-size: 20pt; font-weight: 500; margin: 0 0 8pt; }
  .print-note a { color: #111; text-decoration: underline; word-break: break-all; }
}

/* A1 vector floor plans (plans_v1) in the spec drawer: paper variant, legend held back until the copy audit (main 2026-10-10) */
.plan-svgs { display: grid; gap: 10px; }
.plan-svgs .plan-svg { width: 100%; height: auto; display: block; }
/* main 2026-10-10: wider drawer on desktop, the plan fills it edge to edge and opens the full-screen plan view */
@media (min-width: 861px) { .drawer { width: min(720px, 50vw); } }
.dr-plan { padding: 0; border: 0; background: transparent; }
.dr-plan figcaption { padding: 0 2px; }
.plan-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line-l); background: #F4F1EA; cursor: zoom-in; }
.plan-open:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.plan-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; line-height: 1.4; color: #6f6a62; }
.plan-legend li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.plan-legend .lg { display: inline-block; width: 16px; height: 6px; flex: none; box-sizing: border-box; }
.plan-legend .lg-struct { background: #0E0F11; }
.plan-legend .lg-part { background: rgba(14,15,17,.22); border: 1px solid #0E0F11; }
.plan-legend .lg-glass { height: 1px; background: rgba(14,15,17,.72); }
.plan-legend .lg-zone { height: 0; border-top: 1px dashed rgba(14,15,17,.6); }
.plan-legend .lg-core { height: 2px; background: #D98A3A; }
.plan-open .plan-svgs { display: grid; gap: 0; }
/* A1: the 360 minimap is the dark vector plan (plans_v1 minimap variant) */
.pv-map { background: #0E0F11; }
.pv-map img { opacity: 1; }

/* 360 minimap (main 2026-10-10): bigger, the cropped vector plan fills it; the view cone is an SVG wedge drawn by pano.js */
.pv-map { width: auto; flex: none; }
.pv-map img { display: block; width: auto; height: auto; max-width: 260px; max-height: 260px; }   /* a tall plan (1147) stays within 260 px */
@media (max-width: 860px) { .pv-map { width: auto; } .pv-map img { max-width: 140px; max-height: 140px; } }
@media (max-width: 560px) { .pv-map { width: auto; } .pv-map img { max-width: 140px; max-height: 140px; } }
svg.pv-cone { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
svg.pv-cone::before, svg.pv-cone::after { content: none; }

/* S01 copy audit 2026-10-10: the screen's manufacturer reference table folds (closed by default; mark only) */
.sc-spec { grid-column: 1 / -1; border-top: 1px solid var(--line, rgba(236,233,226,.18)); padding-top: 12px; }
.sc-spec > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .02em; color: #A49F96; min-height: 44px; }
.sc-spec > summary::-webkit-details-marker { display: none; }
.sc-spec > summary::after { content: '▸'; font-size: 12px; line-height: 1; }
.sc-spec[open] > summary::after { content: '▾'; }
.sc-spec > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sc-spec .tbl { margin-top: 8px; }
.sc-spec .sc-note { margin-top: 10px; }
/* H01 (2026-10-10): the time readout sits between the inner ring and the 마 / 남 label (it touched them at bottom 21 %) */
.td-dial .td-time { bottom: 26.5%; line-height: 1; }

/* hero / 1147 time slider (2026-10-10): stops placed by the same x rule as the pointer (main.js Scrub px()), stacked in one
   grid cell so the row keeps its height; a hero view with a single scene keeps its clock and hides the track and "now"
   without moving anything (opacity + visibility) */
.tx-stops { display: grid; justify-content: stretch; }
.tx-stop { grid-area: 1 / 1; justify-self: start; }
#time-ext .tx-scrub, #time-ext .tx-now { transition: opacity .35s var(--expo), visibility 0s linear 0s; }
#time-ext[data-single] .tx-scrub, #time-ext[data-single] .tx-now { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--expo), visibility 0s linear .35s; }
/* the header "now" chip grows by "… 장면을 보여 줍니다" when a view shows a stand-in scene: on desktop its box keeps the room
   for the longest line so the header nav does not move on a view change (2026-10-10 slider QA) */
@media (min-width: 1081px) { .hd .now { min-width: 290px; } }
/* header lockup "SANJIRO · 임대 제안", the same form as the footer and the PDF (main decision 2026-10-10, P025) */
.wordmark .wm-sep { margin: 0 -4px; }

/* S4 navigator on the section A final (2026-10-11): the render is the ground (dimmed), the floor links sit on its floor bands;
   text sizes in the 1750-unit viewBox. Phone: the figure scrolls sideways at 70 % of the screen height. */
.nv-scroll { position: relative; }
.nv-sec .nv-img { opacity: .62; transition: opacity var(--base) var(--expo); }
.nv-sec .nv-f rect { fill: rgba(236, 233, 226, 0); stroke: rgba(236, 233, 226, .14); stroke-width: 2; }
.nv-sec .nv-f.is-lit rect { fill: rgba(236, 233, 226, .07); stroke: rgba(236, 233, 226, .4); }
.nv-sec .nv-f.is-hot rect, .nv-sec .nv-f:focus-visible rect { fill: rgba(217, 138, 58, .18); stroke: var(--amber); }
.nv-sec .nv-f .nv-slab { stroke-width: 4; }
.nv-sec .nv-f.is-journey rect { stroke: var(--amber); stroke-width: 3; }
.nv-sec .nv-47 rect { fill: rgba(236, 233, 226, 0); }
.nv-sec .nv-n { font-size: 38px; }
.nv-sec .nv-r { font-size: 30px; }
.nv-sec .nv-alt { font-size: 30px; }
.nv-sec .nv-b { font-size: 24px; }
.nv-sec .nv-gl { stroke-width: 2; }
.nv-sec .nv-summit { stroke-width: 4; }
.nv-sec .nv-zone { fill: none; stroke: var(--amber); stroke-width: 4; stroke-dasharray: 14 10; }
@media (max-width: 860px) {
  .nv-fig-sec { min-width: 0; max-width: 100%; }
  /* N-05 (user 2026-10-11): both buildings whole by default - the section fits the width (was 70svh tall and scrolled
     sideways, the 1147 side off screen); its labels are drawn larger so they stay readable at this scale */
  .nv-fig-sec .nv-scroll { overflow: visible; }
  .nv-fig-sec .nv-sec { width: 100%; height: auto; max-width: none; }
}
@media (min-width: 768px) and (max-width: 860px) {
  .nv-sec .nv-n { font-size: 54px; } .nv-sec .nv-r, .nv-sec .nv-alt { font-size: 44px; }
  /* the label lines were spaced for 38 / 30 (n -> r 36, r -> alt 50 user units): r and alt move down 14 units so the larger
     lines do not touch (bottom of a floor's block ~ +111, the next floor's name starts >= 155 below) */
  .nv-sec .nv-r, .nv-sec .nv-alt:not(.nv-alt-s) { transform: translateY(14px); }
}
/* N-05 phone redesign (user 2026-10-11, <= 767 px): the drawing alone, fitted to the width (both buildings whole) - no text on
   it (the labels would be 8-10 px), only what belongs to the drawing: floor bands, slabs, the ground line, the amber summit
   line and the connection band. Under it the floors as a list (build_v1 nav_floor_list): floor · use · altitude, 48 px rows,
   type >= 14 px; a tap lights the floor's band in amber (the desktop hover) and goes to the floor; the connection item
   lights the band only. 768 px and up: unchanged (the list is not shown). */
.nv-list { display: none; }
@media (max-width: 767px) {
  .nv-sec text { display: none; }
  .nv-fig figcaption { font-size: 14px; }
  .nv-fig figcaption .tag { font-size: 14px; }
  .nv-list { display: block; margin-top: 8px; }
  .nv-list .nl-k { font-size: 14px; margin: 20px 0 6px; }
  .nv-list ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
  .nl-f { display: flex; align-items: baseline; gap: 12px; width: 100%; min-height: 48px; padding: 13px 2px; box-sizing: border-box;
    border: 0; border-bottom: 1px solid var(--line-d); background: none; color: var(--light); font: inherit; text-align: left; text-decoration: none;
    transition: color var(--fast), border-color var(--fast), background-color var(--fast); }
  .nl-n { flex: none; min-width: 3.4em; font: 500 16px/1.3 var(--lat); letter-spacing: .01em; }
  .nl-zone .nl-n { font-family: var(--kr); font-weight: 500; }
  .nl-r { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; color: var(--dim); }
  .nl-a { flex: none; font: 400 15px/1.3 var(--lat); font-feature-settings: 'tnum' 1, 'lnum' 1; color: var(--light); white-space: nowrap; }
  .nl-f.is-hot, .nl-f[aria-pressed="true"] { color: var(--amber); border-bottom-color: var(--amber); background: rgba(217, 138, 58, .08); }
  .nl-f.is-hot .nl-r, .nl-f.is-hot .nl-a { color: var(--amber); }
  .nl-f:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
}
.nv-sec .nv-zone.is-hot { fill: rgba(217, 138, 58, .28); stroke-dasharray: none; }

/* typography (main QA 2026-10-11): names stay whole; the hero H1 in designed lines. Desktop / tablet: two lines, the font
   size held so the longer line fits the copy box (11.6 em); phone (< 768 px): three lines. */
.nb { white-space: nowrap; }
.reveal-lines .w, .reveal-lines .ln-i { white-space: nowrap; }
/* reveal-lines that could not be measured (no width at the time: hidden, not laid out) stay unsplit and fade in as a block */
html.motion .reveal-lines.ln-off { opacity: 0; transition: opacity 1.1s var(--expo); }
html.motion .reveal-lines.ln-off.is-in { opacity: 1; }
#time-ext .tx-h .hl { white-space: nowrap; }
#time-ext .tx-h .br-m { display: none; }
@media (min-width: 861px) {
  #time-ext .tx-copy { max-width: min(46vw, 560px); }
  #time-ext .tx-h { font-size: min(clamp(28px, 2.6vw, 40px), calc(min(46vw, 560px) / 11.6)); }
}
@media (max-width: 860px) { #time-ext .tx-h { font-size: min(clamp(26px, 4.2vw, 36px), calc((100vw - 2 * var(--gx)) / 11.8)); } }
@media (max-width: 767px) {
  #time-ext .tx-h .br-m { display: inline; }
  #time-ext .tx-h { font-size: min(26px, calc((100vw - 2 * var(--gx)) / 10.4)); }   /* longest line '매장에서 시작한 러닝이' */
}
/* phone / tablet hero band (main QA 2026-10-11): the time track takes the full width (5 stop labels need it: '골든아워' and
   '블루아워' touched at 360-390 px); the "now" button moves up beside the scene clock, so the band keeps its height */
@media (max-width: 860px) {
  #time-ext .tx-clock { grid-column: 1; grid-row: 1; }
  #time-ext .tx-now { grid-column: 2; grid-row: 1; align-self: center; }
  #time-ext .tx-scrub { grid-column: 1 / -1; grid-row: 2; }
}

/* hero safe area: the three-line set of the title on a desktop where two lines cannot keep off the building (main.js fitHero) */
@media (min-width: 861px) {
  #time-ext .tx-h.tx-h3 .br-m { display: inline; }
}

/* hero scrim v2 (main QA 2026-10-11): no wall-to-wall veil; a soft ellipse fitted to the copy box (feather ~120 px, placed by
   main.js fitHero), faded to <= .12 over the 1146-20 silhouette (mask), with a light text shadow carrying the edges.
   Strength per view / state: data/hero_scrim_v1.json (lead >= 4.5:1, title >= 3:1 on the real pixels behind the text). */
@media (min-width: 861px) {
  /* the scrim is drawn on a canvas (main.js placeScrim): a feathered box around the copy, the 1146-20 silhouette cut down to
     <= .12; the host keeps the per-state strength (opacity: var(--scrim)) and its crossfade */
  #time-ext .tx-scrim { background: none; }
  #time-ext .tx-scrim-c { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
}
#time-ext .tx-h, #time-ext .tx-lead, #time-ext .tx-copy .kicker { text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 0 40px rgba(0, 0, 0, .28); }   /* scrim v3: a light shadow, the wide layer carrying more */

/* B' compact time UI (main decision 2026-10-11, main.js placeUI): on a desktop where the crew meets the full-width UI band,
   the clock, the track and its dots gather left of the crew (width --ui-w = crew box left - 24 px - UI left). Dots only;
   the active scene's name sits over the pointer, a dot's name shows on hover / keyboard focus; same x rule (Scrub px()). */
@media (min-width: 861px) {
  #time-ext[data-ui="compact"] .tx-ui { width: var(--ui-w); max-width: var(--ui-w); grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "clock now" "scrub scrub"; row-gap: 24px; column-gap: 16px; align-items: center; }
  #time-ext[data-ui="compact"][data-ui-now="track"] .tx-ui { grid-template-areas: "clock clock" "scrub now"; }
  #time-ext[data-ui="compact"] .tx-clock { grid-area: clock; width: auto; }
  #time-ext[data-ui="compact"] .tx-sun { display: none; }
  #time-ext[data-ui="compact"] .tx-scrub { grid-area: scrub; min-width: 240px; padding-top: 0; }
  #time-ext[data-ui="compact"] .tx-now { grid-area: now; justify-self: end; }
  #time-ext[data-ui="compact"] .tx-stops { position: absolute; left: 0; right: 0; top: 0; height: 26px; margin: 0; pointer-events: none; }
  #time-ext[data-ui="compact"] .tx-stop-b { position: relative; width: 22px; height: 26px; min-height: 0; padding: 0; gap: 0; place-items: center; pointer-events: auto; }
  #time-ext[data-ui="compact"] .tx-stop-b.is-cur { pointer-events: none; }            /* the pointer sits on it: presses go to the track */
  #time-ext[data-ui="compact"] .tx-stop-b.is-cur i { opacity: 0; }
  #time-ext[data-ui="compact"] .tx-stop-l { position: absolute; left: 50%; bottom: calc(100% + 4px); translate: -50% 0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--fast); }
  #time-ext[data-ui="compact"] .tx-stop-b.is-cur .tx-stop-l, #time-ext[data-ui="compact"] .tx-stop-b:hover .tx-stop-l, #time-ext[data-ui="compact"] .tx-stop-b:focus-visible .tx-stop-l { opacity: 1; }
  #time-ext[data-ui="compact"] .tx-stops:has(.tx-stop-b:hover, .tx-stop-b:focus-visible) .tx-stop-b.is-cur .tx-stop-l { opacity: 0; }
  /* one scene name only (main 2026-10-11): the clock row keeps the time; the name over the pointer says the scene. The state
     text stays for screen readers. */
  #time-ext[data-ui="compact"] .tx-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* the UI's own scrim instead of the full-width dark band (main 2026-10-11): a smooth ellipse round the UI (peak .78,
     1 - smoothstep falloff, main.js placeUI sizes it so it is <= .08 at the crew box); the crew's feet stay light */
  #time-ext[data-ui="compact"] .tx-band { background: none; }
  #time-ext[data-ui="compact"] .tx-ui { position: relative; inset: auto; z-index: 0; }   /* relative only to host the scrim: no offset (base .tx-ui carries left / bottom) */
  #time-ext[data-ui="compact"] .tx-ui::before { content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: var(--uis-l); top: var(--uis-t); width: var(--uis-w); height: var(--uis-h);
    background: radial-gradient(closest-side, rgba(9, 10, 13, 0.780) 0.0%, rgba(9, 10, 13, 0.765) 8.3%, rgba(9, 10, 13, 0.722) 16.7%, rgba(9, 10, 13, 0.658) 25.0%, rgba(9, 10, 13, 0.578) 33.3%, rgba(9, 10, 13, 0.487) 41.7%, rgba(9, 10, 13, 0.390) 50.0%, rgba(9, 10, 13, 0.293) 58.3%, rgba(9, 10, 13, 0.202) 66.7%, rgba(9, 10, 13, 0.122) 75.0%, rgba(9, 10, 13, 0.058) 83.3%, rgba(9, 10, 13, 0.015) 91.7%, rgba(9, 10, 13, 0.000) 100.0%); }
}

/* '두 건물' (main 2026-10-11, js/twobldg.js): orbit -> auto-turn -> amber cut ahead of the 0 m -> summit navigator.
   Desktop with motion: an opaque layer over the navigator's pinned stage for the first --tb-len of #stack; the wipe
   clips it away from the top. Phones: a pinned block before the navigator. Reduced motion: a still frame, then the navigator. */
#stack.has-tb { --tb-len: 220; }
.tb-orbit.sjo { height: 100%; }
.tb-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--amber); box-shadow: 0 0 14px rgba(217, 138, 58, .55); opacity: 0; pointer-events: none; z-index: 9; }
.tb { position: relative; }
.tb-stage { position: relative; overflow: hidden; background: var(--ink); }
@media (min-width: 861px) {
  html.motion #stack.has-tb { height: calc(260vh + var(--tb-len) * 1vh); }
  html.motion #stack.has-tb .tb { position: absolute; inset: 0; z-index: 7; }
  html.motion #stack.has-tb .tb-track, html.motion #stack.has-tb .tb-stage { position: absolute; inset: 0; }
}
@media (max-width: 860px) {
  #stack.has-tb .tb { grid-column: 1 / -1; order: -1; margin: -96px calc(-1 * var(--gx)) 24px; }
  html.motion #stack.has-tb .tb-track { height: 230svh; }
  html.motion #stack.has-tb .tb-stage { position: sticky; top: 0; height: 100svh; }
  /* the track's last screen lies over the start of the navigator: the fade reveals the navigator in place (no black
     screen scrolling by after the fade; found in the v2 evidence 2026-10-11) */
  html.motion #stack.has-tb .tb { z-index: 3; margin-bottom: calc(24px - 100svh); }
  html.motion #stack.has-tb .tb[data-phase="cut"], html.motion #stack.has-tb .tb[data-phase="done"] { pointer-events: none; }
}
html.rm #stack.has-tb .tb { grid-column: 1 / -1; order: -1; }
html.rm #stack.has-tb .tb-stage { height: 70svh; }

/* no layout shift when the compact time UI takes over at load (2026-10-11, found by tools/tb_qa.cjs: the hero band grew
   by 17 px ~0.3 s after load, CLS .08): the UI stays hidden until main.js placeUI has placed it, and on desktops the band
   keeps the compact UI's height in every view (so a view change does not move the band either) */
html.js #time-ext:not([data-ui-ready]) .tx-ui { visibility: hidden; }
@media (min-width: 861px) { #time-ext .tx-ui { min-height: 84px; } }
/* reduced motion has no reveal: the hero copy waits for its first fit (main.js fitHero sets data-safe), so the lead does not
   rewrap visibly at load (CLS .014 found by tools/tb_qa.cjs, present since the hero safe-area fit) */
html.js.rm #time-ext:not([data-safe]) .tx-copy { visibility: hidden; }

/* W-05 (user 2026-10-11): the gap title sits on the dark wall under the 2F window (image rows ~.52-.64), not on the lit
   artwork; the amber line stops around the title. --gy = image row .58 on screen: cover by width (wide screens)
   50svh + (.58 - .5) x 1.2236 vw; cover by height (phones) 58svh -> the larger of the two */
.gap-pin { --gy: max(58svh, calc(50svh + 9.8vw)); }
.gap-copy { top: var(--gy); }
.gap-line { -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--gy) - 84px), transparent calc(var(--gy) - 70px), transparent calc(var(--gy) + 70px), #000 calc(var(--gy) + 84px));
  mask-image: linear-gradient(to bottom, #000 calc(var(--gy) - 84px), transparent calc(var(--gy) - 70px), transparent calc(var(--gy) + 70px), #000 calc(var(--gy) + 84px)); }
.sd-n { fill: rgba(236, 233, 226, .55); }   /* W-07: pane numbers in the 4-pane window scheme */
@media (max-width: 860px) { .lb-bg { background: #08090c; } }   /* W-10 2026-10-11: phones - the page text no longer shows through the viewer */
.lb.is-single .lb-prev, .lb.is-single .lb-next, .lb.is-single .lb-count { display: none; }   /* W-09 2026-10-11: one item, no arrows */

/* W-15 (user 2026-10-11): phones and tablets had no way to jump between sections - a '메뉴' button in the header opens the
   same five links as a row of chips under it (the site's chip language); a link or Esc closes it */
.hd-menu { display: none; }
@media (max-width: 1080px) {
  .hd-menu { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; margin-left: auto; border: 1px solid rgba(236, 233, 226, .35); border-radius: 999px; font: 500 12.5px/1 var(--kr); color: inherit; background: rgba(8, 9, 12, .35); }
  .hd-menu + .now { margin-left: 12px; }
  .hd.is-menu .hd-nav { display: flex; position: absolute; left: 0; right: 0; top: 56px; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px var(--gx) 16px; background: rgba(8, 9, 12, .94); }
  .hd.is-menu .hd-nav a { padding: 9px 14px; border: 1px solid rgba(236, 233, 226, .3); border-radius: 999px; color: var(--light); background: none; font-size: 13px; }
  .hd[data-tone="paper"] .hd-menu { color: rgba(14, 15, 17, .8); border-color: rgba(14, 15, 17, .3); background: rgba(244, 241, 234, .6); }
  .hd[data-tone="paper"].is-menu .hd-nav a { color: var(--light); }
}
/* W-16 2026-10-11 (QA r2: strokes of the neighbouring digits in frames taken while it rolls - with 1em cells the next digit
   is only .25em from the window, so the slow end of the roll kept a sliver in view): each cell is 1.5em tall with the digit
   at its top, the window stays 1em (the glyph spans about .16-.91em) - a neighbour is .6em away and leaves the window
   before the roll slows down; the resting offset is a whole number of device px of the cell height (js/main.js) */
.odo .od { clip-path: none; }
.odo .od .od-c span { flex: none; height: 1.5em; line-height: 1; }   /* .od in the selector: orbit/orbit.css (loaded later) repeats the 1em rule */
.nv-f:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }   /* W-19 2026-10-11 */
html.rm .sc-img { transition: none; }   /* 1147 screen toggle: instant under reduced motion (2026-10-11) */
.gfa-src { font-weight: 400; white-space: nowrap; }   /* PDF-03 2026-10-11: the GFA row names its source (건축물대장) */
/* N-07 (user 2026-10-11): the time cursor (ring + sun) rides 26 px above the pointer, so over a stop it sits on the track
   and the stop's label under the pointer stays readable */
.cursor[data-c="time"] .cur-ring, .cursor[data-c="time"] .cur-sun { translate: 0 -26px; }
/* N-02 (user 2026-10-11): on phones and tablets the header bar and the open menu are opaque - page text never shows through
   or runs under the wordmark / buttons (dark bar on dark sections, paper bar on paper sections, dark while the menu is open) */
@media (max-width: 1080px) {
  .hd.is-bar::before { background: #0c0d0f; }
  .hd.is-bar::after { background: #f4f1ea; }
  .hd.is-menu { color: var(--light); }
  .hd.is-menu::before { background: #0c0d0f; opacity: 1; }
  .hd.is-menu::after { opacity: 0; }
  .hd.is-menu .wordmark span, .hd.is-menu .now { color: rgba(236, 233, 226, .8); }
  .hd.is-menu .hd-menu { color: var(--light); border-color: rgba(236, 233, 226, .35); background: none; }
  .hd.is-menu .hd-nav { background: #0c0d0f; border-bottom: 1px solid rgba(236, 233, 226, .12); }
}
/* W-05 (user 2026-10-11): a soft dark ellipse behind the gap title, so it reads while it passes over the lit ground floor */
.gap-copy::before { content: ''; position: absolute; z-index: -1; inset: -48px -12%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 9, 12, .62), rgba(8, 9, 12, .38) 55%, rgba(8, 9, 12, 0)); }
/* W-13 (user 2026-10-11): a view with a single scene (동문로 교차로) reads as one line '18:11 블루아워' - no slider, no stray sun dot */
#time-ext[data-single] .tx-sun { visibility: hidden; }

/* floor hero brightness (user 2026-10-12: the B1 / 2F heroes read 20-39 % darker than their source PNGs; the WebGL depth
   layer and the WebP are within 0.3 % of the source - the darkening was the full-frame shade: a bottom gradient up to .86 and
   a bottom-left radial .45, plus a large plate behind the copy). The shade is gone; one plate sits only behind the copy
   block (the copy box now hugs its text: right edge auto), solid .64 (.66 on phones) reaching 24 px past the text with a 20 px soft edge, enough for the 12 px kicker
   (>= 4.5:1) and the heading (>= 3:1) over the brightest floor (tools/floor_tone_qa.cjs). The tag carries its own small
   ground. Scrims stay only where text sits. */
.fl-shade { display: none; }
.fl-copy { right: auto; max-width: calc(100% - 2 * var(--gx) - var(--rail-w)); }
.fl-copy::before { inset: -24px; background: rgba(7, 8, 10, .46); border-radius: 160px; filter: blur(56px);
  -webkit-mask-image: none; mask-image: none; }
.fl-copy .kicker, .fl-copy .fl-h { text-shadow: 0 0 2px rgba(5, 6, 8, .6), 0 0 10px rgba(5, 6, 8, .8), 0 0 24px rgba(5, 6, 8, .74), 0 0 48px rgba(5, 6, 8, .56), 0 0 88px rgba(5, 6, 8, .3); }
.fl-tag .tag { background: rgba(7, 8, 10, .55); }
/* the 12 px kicker over the brightest walls / windows: its own soft ground, a pill blurred out by a wide shadow (no edge) */
.fl-copy .kicker { background: rgba(5, 6, 8, .62); border-radius: 999px; box-shadow: 0 0 18px 12px rgba(5, 6, 8, .62); }
/* phones and short landscape screens: the copy covers much of the frame, so a tighter feather */
@media (max-width: 860px), (max-height: 520px) { .fl-copy::before { inset: -8px -8px 12px -8px; filter: blur(32px); background: rgba(7, 8, 10, .3); } }   /* bottom pulled in (QA R2-02 crops, 2026-10-12): the feather stays off the bright floor under the buttons */
.fl-hero .grain { mix-blend-mode: overlay; }   /* 2026-10-12: the 3.5 % grain layer (mid-grey noise) pulled the highlights down ~2 %; overlay keeps the texture, not the shift */
/* landscape phones (user 2026-10-12, 844 x 390): the copy above the picture took the whole pinned screen and the hero
   picture collapsed to 0 px. The hero is not pinned there: copy, then the picture one screen high, then the time UI
   (the stops still change the scene; the scroll-scrub of the time is off at this size) */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 520px) {
  #time-ext { height: auto; }
  #time-ext .tx-pin { position: relative; height: auto; overflow: visible; }
  #time-ext .tx-media { flex: none; height: 100vh; height: 100svh; }
}

/* headline exclusion (QA D-03 / D-04, 2026-10-12; js psCopy): the floor copy block moves off the people's heads and torsos */
.fl-copy.at-top { top: calc(56px + clamp(20px, 5vh, 64px)); bottom: auto; }
.fl-copy.at-right { left: auto; right: calc(var(--gx) + var(--rail-w)); }
.fl-copy.at-low { bottom: 12px; gap: 10px; }
.fl-copy.at-low.at-tight { bottom: 4px; gap: 4px; }   /* the last few px above a crew's hips (3F at ultra-wide) */
/* landscape phones (QA D-04): the photo one screen high, the copy under it (no text over the crew) */
@media (orientation: landscape) and (max-height: 520px) {
  .fl-hero { height: auto; }
  .fl-pin { position: relative; height: auto; overflow: visible; }
  .fl-media { position: relative; inset: auto; height: 100vh; height: 100svh; }
  .fl-copy { position: relative; left: auto; right: auto; bottom: auto; max-width: none; padding: 24px var(--gx) 32px; }
  .fl-copy::before { display: none; }
  .fl-copy .kicker { background: none; box-shadow: none; }
  .fl-tag { bottom: auto; top: calc(100svh - 40px); }
}
@media (max-width: 600px) { .now-x { display: none; } }   /* QA D-10: the header status stays one line on phones */
.cursor.t-down[data-c="time"] .cur-ring, .cursor.t-down[data-c="time"] .cur-sun { translate: 0 26px; }   /* QA D-13 */

/* in-page link targets (QA R2-01, js): focus moves there like the browser's own jump; no ring on a whole section */
.jump-t:focus { outline: none; }

/* the hero stage is the picture's own height where it is not pinned (building first, 2026-10-12: nothing cropped vertically);
   the 1147 cover zooms in about the title's row (QA R3-01), so the dark band under the 2F screen stays under the title */
.gap-b { transform-origin: 50% var(--gy, 50%); }
@media (max-width: 860px) and (orientation: landscape) and (max-height: 520px) {
  #time-ext .tx-media { height: max(100svh, calc(100vw / 1.5)); }
}
@media (min-width: 861px) { html.rm #time-ext .tx-pin { height: max(100vh, calc(100vw / 1.5)); } }

/* site-visit call dialog (#next, user-approved 2026-10-12; PC only - a phone dials the tel: link): the Kakao drawer's paper
   panel; the number large, a copy button with a brief done state, the QR that dials from a phone camera */
.visit .vq-dl { display: grid; gap: 10px; margin: 0; }
.visit .vq-dl > div { display: grid; grid-template-columns: 5.5em 1fr; align-items: baseline; gap: 12px; }
.visit .vq-dl dt { color: rgba(14, 15, 17, .62); font-size: 14px; }
.visit .vq-dl dd { margin: 0; font-size: 17px; }
.visit .vq-dl dd.vq-num { font: 300 clamp(30px, 3.4vw, 40px)/1.15 var(--kr); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.visit .vq-num a { color: inherit; }
.visit .vq-copy-row { display: flex; align-items: center; gap: 14px; margin: 0; }
.visit .vq-copy { color: var(--ink); border-color: rgba(14, 15, 17, .32); }
.visit .vq-copy.is-done { border-color: var(--amber); }
.visit .vq-status { font-size: 13px; color: rgba(14, 15, 17, .62); }
.visit .vq-qr { margin: 4px 0 0; display: grid; gap: 12px; justify-items: start; }
.visit .vq-svg { width: min(220px, 60vw); height: auto; display: block; border: 1px solid rgba(14, 15, 17, .12); }
.visit .vq-qr figcaption { font-size: 14px; line-height: 1.55; color: rgba(14, 15, 17, .72); }
.visit .vq-kk { padding-top: 14px; border-top: 1px solid rgba(14, 15, 17, .12); }
