/* =====================================================================
   B.ZERO1 EXPERIENCE — 오디오 도슨트 (송은 × BVLGARI)
   ---------------------------------------------------------------------
   폰트  국문 Noto Sans KR(OFL, 서브셋) / 영문 BVLGARI CAPITALIS, Bulgari Type Light(원본)
   컬러  메인 네이비 · 그레이 / 포인트 러스트(재생 관련에만)
   대비  흰 글자: 네이비 11.4:1, 그레이 9.0:1, 러스트 5.4:1 (WCAG AA)
   반응형  280px(갤럭시 폴드 1·2 커버) ~ 폴더블 펼침(정사각형에 가까운 화면)·태블릿,
           가로 모드, 듀얼 스크린(viewport segments)까지 대응. 고정 px 너비 없음.
   ===================================================================== */
@font-face { font-family: "Noto Sans KR"; src: url("/fonts/NotoSansKR-subset.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "BVLGARI CAPITALIS"; src: url("/fonts/BVLGARI_CAPITALIS.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bulgari Type"; src: url("/fonts/Bulgari_Type_Light.otf") format("opentype"); font-weight: 300; font-display: swap; }

:root {
  --navy-d: rgb(25, 41, 66);   --navy: rgb(34, 58, 94);   --navy-l: rgb(55, 77, 109);
  --gray-d: rgb(56, 56, 56);   --gray: rgb(73, 73, 73);   --gray-l: rgb(107, 107, 107);
  --rust-d: rgb(150, 56, 33);  --rust: rgb(181, 71, 43);  --rust-l: rgb(204, 90, 50);

  --bg: var(--navy);
  --bg-deep: var(--navy-d);
  --panel: var(--gray-d);
  --accent: var(--rust);
  --accent-soft: var(--rust-l);
  --on-accent: #fff;
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, 0.8);
  --ink-3: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.18);
  --danger: #ffc2b5;

  /* 글자 단위 원칙: 영문·숫자 → 불가리 폰트, 한글 → Noto Sans KR
     (불가리 폰트에는 한글이 없어 한글 글자만 자동으로 Noto로 넘어감) */
  --font-ko: "Bulgari Type", "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --font-en: "Bulgari Type", "Noto Sans KR", -apple-system, sans-serif;
  --font-display: "BVLGARI CAPITALIS", "Noto Sans KR", serif;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 5.5vw, 32px);
  --maxw: 640px;
  --bar-h: 56px;
}
body[data-accent="orange"] { --accent: rgb(215, 107, 0); --accent-soft: rgb(222, 137, 41); --on-accent: var(--navy-d); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--navy-d); }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ko); font-weight: 350; font-size: 16px; line-height: 1.6; font-synthesis: none; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; }
.pre { white-space: pre-line; }
/* 영문 디스플레이 서체는 단어 중간에서 끊기지 않게 */
.i-title, .hero-title, .hero-eyebrow, .zone-code, .d-kicker, .track .ch, .drawer-home, .section-label, .menu-btn { overflow-wrap: normal; word-break: normal; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 빛 줄기 텍스처 (포스터 키비주얼 모티프) ---------- */
.streaks { position: relative; isolation: isolate; overflow: hidden; background-color: var(--streak-bg, var(--gray)); }
.streaks::before, .streaks::after { content: ""; position: absolute; inset: -10% -5%; z-index: -1; pointer-events: none; }
.streaks::before {
  background: linear-gradient(90deg,
    transparent 0 14%, rgba(255,255,255,.14) 17%, transparent 21%,
    transparent 37%, rgba(255,255,255,.08) 40%, transparent 44%,
    transparent 63%, rgba(255,255,255,.18) 66.5%, transparent 69%,
    transparent 81%, rgba(255,255,255,.28) 84%, rgba(255,255,255,.1) 86%, transparent 89%,
    transparent 94%, rgba(255,255,255,.14) 97%, transparent 100%);
  filter: blur(7px);
}
.streaks::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .16; mix-blend-mode: soft-light;
}

/* ================= 인트로 ================= */
.intro { --streak-bg: var(--navy-d); position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; cursor: pointer; }
.intro::before { animation: drift 6s ease-in-out infinite alternate; }
.intro-img { width: 100%; height: 100%; object-fit: contain; }
.intro-text {
  width: 100%; max-width: 560px; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(env(safe-area-inset-top) + clamp(28px, 9dvh, 110px)) var(--gutter) calc(env(safe-area-inset-bottom) + clamp(24px, 6dvh, 80px));
}
/* 시안 비율: 상단 문구 ~10% / 타이틀 ~38% / 안내 ~57% */
.intro-text::before, .intro-text::after { content: ""; }
.i-top { order: 0; margin: 0; font-family: var(--font-display); font-size: clamp(15px, min(5vw, 3.2dvh), 24px); line-height: 1.55; }
.i-main { order: 2; margin: clamp(28px, 18dvh, 220px) 0 0; display: grid; gap: clamp(4px, 1dvh, 12px); }
.i-title { margin: 0; font-family: var(--font-display); font-size: clamp(18px, min(6.6vw, 5.4dvh), 46px); letter-spacing: .05em; line-height: 1.15; }
.i-title-ko { margin: 0; font-size: clamp(15px, min(5.2vw, 3.3dvh), 25px); letter-spacing: .02em; }
.i-lead { order: 3; margin: clamp(20px, 8dvh, 110px) 0 0; font-size: clamp(13px, min(3.9vw, 2.3dvh), 17px); line-height: 1.7; color: var(--ink-2); }
.intro-text > * { opacity: 0; transform: translateY(8px); animation: rise 800ms var(--ease-out) forwards; }
.i-main { animation-delay: 250ms !important; }
.i-lead { animation-delay: 550ms !important; }
.intro.out { animation: fadeAway 900ms ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateX(-1.5%); } to { transform: translateX(1.5%); } }
@keyframes fadeAway { to { opacity: 0; visibility: hidden; } }

/* ================= 상단 바 ================= */
.topbar { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top); background: rgba(25, 41, 66, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 4px; height: var(--bar-h); max-width: 1100px; margin: 0 auto; padding: 0 max(6px, calc(var(--gutter) - 12px)) 0 var(--gutter); }
body[data-view="detail"] .topbar-inner { padding-left: max(6px, calc(var(--gutter) - 12px)); }
.topbar-logo { display: block; flex: 0 1 auto; width: clamp(118px, 40vw, 200px); min-width: 0; }
.topbar-logo img { width: 100%; height: auto; display: block; }
.menu-btn { margin-left: auto; }
.icon-btn { width: 44px; height: 44px; flex: none; }
.icon-btn-spacer, .menu-btn-spacer { display: none; }
.icon-btn { display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; border-radius: 50%; padding: 0; }
.icon-btn svg { width: 24px; height: 24px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 8px; background: none; border: 0; color: var(--ink); cursor: pointer; font-family: var(--font-display); font-size: 13px; letter-spacing: .14em; }
.burger { display: grid; gap: 5px; width: 18px; }
.burger i { display: block; height: 1.5px; background: currentColor; }
.menu-btn .x { position: relative; width: 16px; height: 16px; }
.menu-btn .x::before, .menu-btn .x::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.menu-btn .x::after { transform: rotate(-45deg); }
@media (max-width: 300px) { .menu-btn > span:first-child { display: none; } }

/* ================= 메인: 타이틀 + 탭 ================= */
.hero { text-align: center; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 7vw, 48px) var(--gutter) clamp(22px, 5vw, 32px); }
.hero-eyebrow { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(10px, 2.9vw, 12px); letter-spacing: clamp(.12em, 1vw, .26em); color: var(--ink-2); }
.hero-title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(18px, min(6.3vw, 6.5dvh), 40px); letter-spacing: .05em; line-height: 1.15; }
.hero-title-ko { margin: 8px 0 0; font-size: clamp(14px, 4.4vw, 18px); color: var(--ink-2); }

.tabs { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.tab { min-height: 50px; padding: 10px 6px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); color: var(--ink-3); cursor: pointer; font-size: clamp(13.5px, 4vw, 15px); font-weight: 400; transition: color 160ms ease, border-color 160ms ease; }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom: 2px solid #fff; }
.tab-panel { background: var(--panel); }
.tab-panel > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.tab-panel { padding: 22px var(--gutter) 26px; animation: fade 240ms ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.guide-list { list-style: none; counter-reset: g; padding: 0; margin: 0 auto; }
.guide-list li { counter-increment: g; display: grid; grid-template-columns: 2.6em 1fr; gap: 8px; padding: 0 0 12px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.guide-list li:last-child { padding-bottom: 0; }
.guide-list li::before { content: counter(g, decimal-leading-zero); white-space: nowrap; font-family: var(--font-display); font-size: 12.5px; color: var(--ink); padding-top: 2px; }

.exhibit-intro { margin: 0 auto 18px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.exhibit-info { display: grid; grid-template-columns: minmax(64px, auto) 1fr; gap: 10px 16px; margin: 0 auto; font-size: 14px; line-height: 1.6; padding-top: 16px; border-top: 1px solid var(--line); }
.exhibit-info dt { color: var(--ink-3); white-space: nowrap; }
.exhibit-info dd { margin: 0; color: var(--ink); min-width: 0; }
@media (max-width: 340px) {
  .exhibit-info { grid-template-columns: 1fr; gap: 2px; }
  .exhibit-info dd { margin-bottom: 10px; }
}

/* ================= 오디오 가이드 목록 ================= */
.state { padding: 28px 0 8px; }
.state-msg { text-align: center; color: var(--ink-3); font-size: 14px; margin: 0; }
.section-label { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 12px; letter-spacing: .26em; color: var(--ink-3); }
.notice h2 { font-size: 18px; font-weight: 500; margin: 0 0 12px; }
.notice p { color: var(--ink-2); margin: 0 0 12px; font-size: 15px; line-height: 1.7; }
.small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.status { min-height: 1.5em; font-size: 14px; }
.status.err { color: var(--danger); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; appearance: none; border: 1px solid rgba(255,255,255,.7); background: transparent; color: var(--ink); font-weight: 500; font-size: 15px; padding: 12px 18px; cursor: pointer; text-decoration: none; transition: background-color 160ms ease, transform 120ms ease; }
.btn:active { transform: scale(.98); }
.btn.primary { width: 100%; margin-top: 8px; background: #fff; color: var(--navy-d); border-color: #fff; font-weight: 600; }
.btn:disabled { opacity: .55; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--ink-3); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.code-form { display: flex; gap: 8px; margin-top: 10px; }
.code-form input { flex: 1; min-width: 0; min-height: 48px; font: inherit; font-size: 18px; letter-spacing: .3em; text-align: center; padding: 10px; border: 1px solid var(--line); background: var(--bg-deep); color: var(--ink); border-radius: 0; }
.code-form input::placeholder { color: var(--ink-3); letter-spacing: .1em; }
.help { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.help summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.help p { font-size: 13px; }
.spinner { width: 26px; height: 26px; margin: 8px auto 12px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.zone { margin-top: 18px; }
.zone-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 0 10px; border-bottom: 1px solid rgba(255,255,255,.5); }
.zone-code { font-family: var(--font-display); font-size: 24px; line-height: 1; letter-spacing: .04em; }
.zone-name { font-size: 13px; color: var(--ink-2); }
.zone-count { margin-left: auto; font-family: var(--font-en); font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.track { list-style: none; margin: 0; padding: 0; }
.track li { border-bottom: 1px solid var(--line); }
.track a { display: flex; gap: clamp(10px, 3.5vw, 16px); align-items: center; min-height: 68px; padding: 14px 0; text-decoration: none; }
.track a:active { background: rgba(255,255,255,.05); }
.track .no { flex: none; width: 2.7em; font-family: var(--font-display); font-size: clamp(17px, 5.3vw, 22px); line-height: 1; color: var(--ink-3); white-space: nowrap; }
.track .txt { flex: 1; min-width: 0; }
.track .ch { margin: 0 0 3px; font-family: var(--font-display); font-size: 10.5px; letter-spacing: .14em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track .tt { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.track .aa { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.track .go { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.track .go svg { width: 13px; height: 13px; }
.track a.is-now .go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.track a.is-now .no { color: var(--ink); }
.track a[aria-current="page"] .tt { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 2px; background: currentColor; animation: eq 900ms ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -300ms; } .eq i:nth-child(3) { animation-delay: -600ms; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }

.reveal { opacity: 0; transform: translateY(14px); animation: rise 560ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }

.footer { padding: 36px var(--gutter) calc(96px + env(safe-area-inset-bottom)); text-align: center; }
.footer img { width: min(170px, 60vw); opacity: .8; }

/* ================= 플레이어 화면 ================= */
.view { animation: fade 260ms ease; }
.d-head { text-align: left; }
.d-head-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(26px, 7vw, 40px) var(--gutter) 64px; }
.d-kicker { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin: 0 0 12px; font-family: var(--font-display); font-size: 12.5px; letter-spacing: .22em; color: var(--ink-2); }
.d-no { font-size: clamp(26px, 8vw, 32px); letter-spacing: .04em; color: var(--ink); }
.d-title { margin: 0 0 6px; font-size: clamp(20px, 6.2vw, 26px); font-weight: 500; line-height: 1.35; }
.d-meta { margin: 0; font-size: 14px; color: var(--ink-2); }

.d-body { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.player { position: relative; z-index: 2; margin-top: -40px; padding: 20px clamp(14px, 5vw, 24px) 14px; background: var(--panel); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.player-row { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 8vw, 40px); margin-bottom: 10px; }
.play { width: 64px; height: 64px; flex: none; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; transition: transform 120ms ease; padding: 0; }
.play:active { transform: scale(.94); }
.play.sm { width: 44px; height: 44px; }
.ic-play { width: 0; height: 0; border-left: 16px solid currentColor; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.play.sm .ic-play { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }
.playing .ic-play { width: 16px; height: 20px; border: 0; margin: 0; border-left: 5px solid currentColor; border-right: 5px solid currentColor; }
.play.sm.playing .ic-play { width: 11px; height: 13px; border-left-width: 4px; border-right-width: 4px; }
.skip { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--ink-2); cursor: pointer; padding: 0; }
.skip svg { width: 28px; height: 28px; }
#seek { display: block; width: 100%; height: 28px; margin: 0; accent-color: var(--accent-soft); }
.times { display: flex; justify-content: space-between; font-family: var(--font-en); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.no-audio { position: relative; z-index: 2; margin: -40px 0 0; padding: 18px; background: var(--panel); color: var(--ink-2); font-size: 14px; text-align: center; }

.d-figure { margin: 24px 0 0; background: var(--bg-deep); aspect-ratio: 4 / 3; }
.d-figure img { width: 100%; height: 100%; object-fit: contain; display: block; }

.script { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.script summary { cursor: pointer; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink); list-style: none; }
.script summary::-webkit-details-marker { display: none; }
.script summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 300; }
.script[open] summary::after { content: "−"; }
.d-desc { padding: 4px 0 22px; }
.d-desc p { line-height: 1.85; font-size: 15px; margin: 0 0 14px; color: var(--ink-2); }
.d-desc h4 { margin: 24px 0 10px; font-size: 15px; font-weight: 600; padding-left: 10px; border-left: 2px solid var(--accent-soft); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); }
.pager-btn { display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 76px; padding: 14px; background: var(--bg); text-decoration: none; font-size: 13.5px; line-height: 1.4; }
.pager-btn small { font-family: var(--font-display); font-size: 10.5px; letter-spacing: .22em; color: var(--ink-3); }
.pager-btn.next { text-align: right; align-items: flex-end; }
.pager-btn.is-empty { visibility: hidden; }

/* ================= 전체 메뉴 (Drawer) ================= */
.drawer { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--navy-d); animation: drawerIn 280ms var(--ease-out); }
.drawer-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: calc(var(--bar-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(6px, calc(var(--gutter) - 12px)) 0 var(--gutter); border-bottom: 1px solid var(--line); max-width: 1100px; width: 100%; margin: 0 auto; }
.drawer-head img { width: clamp(120px, 42vw, 210px); height: auto; }
.drawer-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 8px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.drawer-home { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 56px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.5); text-decoration: none; font-family: var(--font-display); font-size: clamp(15px, 4.6vw, 18px); letter-spacing: .06em; }
.drawer-home small { white-space: nowrap; font-family: var(--font-ko); font-size: 12.5px; letter-spacing: 0; color: var(--ink-3); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ================= 미니 플레이어 / 잠금 ================= */
.mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 2px solid var(--accent); }
.mini-title { flex: 1; min-width: 0; min-height: 44px; display: flex; align-items: center; font-size: 14px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lock { position: fixed; inset: 0; z-index: 55; background: var(--bg-deep); display: grid; place-items: center; padding: 24px; text-align: center; overflow-y: auto; }
.lock .notice { max-width: 400px; width: 100%; }
.lock-logo { width: min(170px, 60vw); margin-bottom: 28px; }

/* ================= 화면 크기별 ================= */
/* 넓은 화면(폴더블 펼침 가로·태블릿): 안내와 목록을 좌우 2단 */
@media (min-width: 900px) {
  .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1100px; margin: 0 auto; align-items: start; }
  .home-info { position: sticky; top: calc(var(--bar-h) + env(safe-area-inset-top)); }
  .home-list .wrap { padding-top: 8px; }
}
/* 듀얼 스크린(접힘선 기준 좌우 분할) */
@media (horizontal-viewport-segments: 2) {
  .home-grid { display: grid; grid-template-columns: env(viewport-segment-width 0 0) 1fr; column-gap: calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0)); max-width: none; }
  .home-info { position: sticky; top: var(--bar-h); max-height: calc(100dvh - var(--bar-h)); overflow-y: auto; }
}
/* 가로 모드처럼 높이가 낮은 화면 */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-inner { padding-top: 18px; padding-bottom: 14px; }
  .d-head-inner { padding-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .intro::before { animation: none; }
}
