@font-face {
  font-family: Pretendard;
  src: url("assets/fonts/pretendard-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #24352c;
  --body: #444f42;
  --muted: #596458;
  --forest: #20352d;
  --forest-deep: #12261f;
  --forest-ink: #0f211a;
  --gold: #eacb91;
  --gold-dark: #795422;
  --paper: #fbf7ed;
  --stone: #f2ebdc;
  --white: #fffaee;
  --line: #d9ccb2;
  --ease-out: cubic-bezier(.2, .72, .22, 1);
  --surface-gold:
    repeating-linear-gradient(42deg, transparent 0 6px, #61482226 6px 7px, transparent 7px 13px),
    repeating-linear-gradient(-42deg, transparent 0 10px, #fff9e967 10px 11px, transparent 11px 20px),
    linear-gradient(112deg, #f2dfb0, #e4c890 63%, #f6e4b7);
  --surface-dark:
    repeating-linear-gradient(42deg, transparent 0 7px, #f5d69325 7px 8px, transparent 8px 14px),
    repeating-linear-gradient(-42deg, transparent 0 11px, #f5d69312 11px 12px, transparent 12px 22px),
    linear-gradient(112deg, #304339, #20362d 73%, #31493d);
  --surface-light:
    repeating-linear-gradient(42deg, transparent 0 7px, #9a733927 7px 8px, transparent 8px 15px),
    repeating-linear-gradient(-42deg, transparent 0 10px, #fffefa 10px 11px, transparent 11px 20px),
    linear-gradient(112deg, #fffaf0, #eee4d0 77%, #fbf4e4);
  --header-height: 76px;
  --rail-height: 52px;
  font-family: Pretendard, "Malgun Gothic", sans-serif;
  font-size: 100%;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.58; word-break: keep-all; overflow-wrap: break-word; }
body, p, h1, h2, h3, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #8e6b34; outline-offset: 4px; }
:is(.hero, .spaces, .visit, .header, .mobile-bar) :focus-visible { outline-color: #ebcb8d; }
.visit-card :focus-visible { outline-color: #8e6b34; }
::selection { background: #dfc796; color: #112a24; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 12px; padding: 10px 16px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(100% - 112px, 1250px); margin-inline: auto; }
.mobile-only { display: none; }

.header { position: sticky; z-index: 5; top: 0; height: var(--header-height); background: linear-gradient(105deg, #132820, #172c24 65%, #10231c); color: var(--white); border-bottom: 1px solid #a3844f; box-shadow: 0 4px 21px #12241a26; }
.header-inner { width: min(100% - 88px, 1410px); height: 100%; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; line-height: 1.04; }
.brand-mark { display: grid; place-items: center; border: 1px solid #bc9e60; width: 39px; height: 39px; font: 1.19rem Georgia, serif; letter-spacing: -.055em; color: #f5d9a1; box-shadow: inset 0 0 0 2px #16291f, inset 0 0 0 3px #ddbd7b62; transition: background-color .3s ease, box-shadow .3s ease; }
.brand:hover .brand-mark { background-color: #ddb97820; box-shadow: inset 0 0 0 2px #16291f, inset 0 0 0 3px #ddbd7b9e; }
.brand-type { display: grid; gap: 4px; }
.brand-type small { color: #e5c994; font-size: .72rem; font-weight: 650; }
.brand-type strong { font-size: 1.13rem; letter-spacing: -.055em; }
.header nav { display: flex; align-items: center; gap: clamp(16px, 2.7vw, 43px); font-size: .94rem; font-weight: 650; }
.header nav a { transition: color .22s ease; }
.header nav a:hover { color: var(--gold); }
.header .header-visit { padding: 10px 19px; background: var(--surface-gold); color: #283125; border: 1px solid #ecd4a1; border-radius: 2px; box-shadow: inset 0 0 0 2px #fff6db5e; }
.header .header-visit:hover { color: #19281e; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 580px; height: min(790px, calc(100svh - var(--header-height))); color: var(--white); background: #20342b; isolation: isolate; --hero-entry-delay: .14s; }
.hero.hero-introducing { --hero-entry-delay: .82s; }
.hero-art, .hero-shade, .scene, .scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { overflow: hidden; }
.scene { opacity: 0; transition: opacity 1.12s var(--ease-out); }
.scene.current { opacity: 1; }
.scene img { object-fit: cover; object-position: center 51%; }
.scene:nth-child(2) img { object-position: center 48%; }
.hero-shade { background: linear-gradient(90deg, #0e2219df 0%, #10291ab0 22%, #1832254a 57%, #132b1f06 100%), linear-gradient(0deg, #0b2118d8, #162c1c1a 34%, transparent 62%); }
.hero-inner { position: relative; height: 100%; display: grid; align-items: center; }
.hero-content { padding: 40px 0 75px; }
.hero-kicker, .hero h1 > *, .hero-copy, .hero-actions { animation: hero-enter .78s var(--ease-out) calc(var(--hero-entry-delay) + var(--entry-offset, 0s)) both; }
.hero h1 > span { --entry-offset: .09s; }
.hero h1 > strong { --entry-offset: .19s; }
.hero-copy { --entry-offset: .27s; }
.hero-actions { --entry-offset: .36s; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: #f8dfa7; letter-spacing: .21em; font-size: .83rem; font-weight: 680; margin-bottom: clamp(15px, 2.6vw, 27px); }
.hero-kicker::before { content: ""; flex: 0 0 clamp(11px, 2.3vw, 34px); height: 1px; background: currentColor; }
.hero h1 { display: grid; gap: .045em; font-size: clamp(3.6rem, 6.6vw, 7.25rem); line-height: .99; letter-spacing: -.085em; font-weight: 360; text-shadow: 0 3px 27px #0b211ba1; }
.hero h1 strong { font-weight: 650; color: #fff3d9; }
.hero-copy { margin-top: 28px; color: #fff9ec; font-size: clamp(1.05rem, 1.45vw, 1.28rem); letter-spacing: -.025em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin-top: 28px; }
.button { display: inline-flex; min-height: 46px; padding: 10px 21px; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 2px; font-weight: 700; line-height: 1.3; letter-spacing: -.018em; white-space: nowrap; }
.button.light { background: var(--surface-gold); border-color: #f0d6a0; color: #263124; box-shadow: inset 0 0 0 2px #fff7df64; }
.button.on-dark { background: var(--surface-dark); border-color: #c0a171; color: var(--white); box-shadow: inset 0 0 0 2px #d8bd7f2b; }
.button.primary { background: var(--surface-dark); border-color: #354b3c; color: var(--white); box-shadow: inset 0 0 0 2px #dec28746; }
.button.outline { border-color: #ac9161; background: var(--surface-light); color: var(--ink); box-shadow: inset 0 0 0 2px #fffaf389; }
:is(.header-visit, .button, .media-action) { position: relative; isolation: isolate; overflow: hidden; transition: transform .26s var(--ease-out), box-shadow .26s ease, border-color .26s ease; }
:is(.header-visit, .button, .media-action)::after { content: ""; position: absolute; pointer-events: none; inset: 0; background: linear-gradient(105deg, transparent 23%, #fff9e54d 48%, transparent 73%); transform: translateX(-115%); transition: transform .7s var(--ease-out); }
.media-button:is(:hover, :focus-visible) .media-action::after,
:is(.header-visit, .button):is(:hover, :focus-visible)::after { transform: translateX(115%); }
@media (hover: hover) {
  :is(.header-visit, .button):hover { transform: translateY(-2px); border-color: #e1c386; box-shadow: 0 5px 17px #172b2040, inset 0 0 0 2px #fff7db59; }
}
:is(.header-visit, .button):active { transform: translateY(0) scale(.98); }
.hero-footer { position: absolute; bottom: 0; left: 0; right: 0; min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #efd7a77f; }
.hero-next { display: flex; align-items: center; gap: 11px; padding-block: 9px; font-size: .88rem; font-weight: 680; }
.hero-next span { width: 8px; height: 8px; border: solid #fadca5; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-out); }
.hero-next:hover span { transform: translateY(2px) rotate(45deg); }
.scene-switcher { display: flex; gap: 5px; }
.scene-switcher button { color: #fff7e8; background: transparent; border: 1px solid transparent; border-radius: 2px; min-height: 43px; padding: 5px 10px; font-size: .86rem; transition: border-color .25s ease, color .25s ease, background-color .25s ease; }
.scene-switcher button[aria-pressed="true"] { border-color: #e7cb93a6; color: #fff0c6; background: var(--surface-dark); }
.scene-switcher button:hover { background-color: #1c362bba; }
.scene-switcher .auto-control { min-width: 40px; }
.chapter-rail { position: sticky; top: var(--header-height); z-index: 4; background: linear-gradient(110deg, #f7efe1, #f0e5d1 63%, #f6eddd); border-bottom: 1px solid #cbb890; box-shadow: 0 5px 17px #3d33151a; }
.chapter-links { min-height: var(--rail-height); display: flex; align-items: stretch; justify-content: center; gap: clamp(10px, 4.2vw, 64px); }
.chapter-links a { position: relative; display: grid; place-items: center; padding-inline: 4px; font-size: .9rem; font-weight: 680; white-space: nowrap; color: #47574b; transition: color .24s ease; }
.chapter-links a::after { content: ""; position: absolute; inset: auto 3px 0; height: 2px; background: #966b30; transform: scaleX(0); transition: transform .29s var(--ease-out); }
.chapter-links a:hover, .chapter-links a[aria-current] { color: #20382d; }
.chapter-links a:hover::after, .chapter-links a[aria-current]::after { transform: scaleX(1); }

.section { padding-block: clamp(75px, 9.6vw, 148px); scroll-margin-top: calc(var(--header-height) + var(--rail-height)); border-bottom: 1px solid #b69b642f; }
.overview { background: radial-gradient(ellipse at 83% 7%, #e9d3a44a, transparent 43%), var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(230px, .62fr); align-items: end; gap: 28px 40px; margin-bottom: clamp(28px, 4.2vw, 56px); }
.section-heading > p { color: var(--body); max-width: 340px; padding-bottom: 3px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 740; font-size: .92rem; color: var(--gold-dark); letter-spacing: .01em; }
.eyebrow::before { content: ""; flex: 0 0 20px; height: 1px; background: currentColor; transform-origin: left; }
.section h2 { font-size: clamp(2.6rem, 5.15vw, 5.2rem); letter-spacing: -.079em; line-height: 1.075; font-weight: 670; }
.section h3 { font-size: clamp(1.75rem, 3.25vw, 3.05rem); letter-spacing: -.067em; line-height: 1.13; font-weight: 690; }
.facts { border: 1px solid #ccb88e; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(44px, 7vw, 92px); background: linear-gradient(115deg, #fffaf0b5, #e5d3ab3d); box-shadow: inset 0 0 0 3px #fffaf091; }
.facts div { padding: 19px clamp(10px, 2.5vw, 37px) 23px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { color: var(--muted); font-size: .94rem; }
.facts dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; line-height: 1.13; margin-top: 9px; }
.facts strong { font-size: clamp(1.8rem, 4.13vw, 4.1rem); font-weight: 510; letter-spacing: -.075em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.facts dd span { font-size: .94rem; }
.overview-grid, .location-grid { display: grid; grid-template-columns: minmax(0, 1.43fr) minmax(0, .77fr); align-items: center; gap: clamp(30px, 6.8vw, 99px); }
.overview-copy > p:not(.eyebrow) { color: var(--body); margin: 19px 0 23px; max-width: 330px; }
figcaption { color: var(--muted); padding-top: 9px; font-size: .83rem; }
.media-button { position: relative; width: 100%; padding: 0; display: block; border: 1px solid #9b804c91; background: #e8e3d5; text-align: left; overflow: hidden; box-shadow: 0 13px 34px #27382921; }
.media-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .58s var(--ease-out); }
@media (hover: hover) {
  .media-button:hover img { transform: scale(1.025); }
}
.wide-media { aspect-ratio: 1.6; }
.media-action { position: absolute; display: flex; align-items: center; gap: 9px; right: 12px; bottom: 12px; border: 1px solid #c9af78a8; border-radius: 2px; background: var(--surface-dark); color: #fffaea; padding: 7px 11px; font-size: .82rem; font-weight: 650; }
.media-action b { font-size: 1.02rem; line-height: 1; }
.supply { margin-top: clamp(44px, 7vw, 90px); padding: 22px clamp(14px, 3vw, 33px); border: 1px solid var(--line); border-left: 2px solid #ad8545; display: flex; gap: 17px 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; background: linear-gradient(100deg, #f0e2c67d, #fffaf0); }
.supply strong { font-size: 1.2rem; letter-spacing: -.04em; }
.supply p { color: var(--muted); margin-top: 4px; }

.spaces, .visit { background: var(--forest); color: var(--white); }
.spaces { background: radial-gradient(ellipse at 83% 31%, #62754b39, transparent 53%), linear-gradient(145deg, #162b23, #233b2f 64%, #162f26); }
:is(.spaces,.visit) .eyebrow { color: var(--gold); }
:is(.spaces,.visit) .section-heading > p, .gallery-copy > p:not(.eyebrow), .visit-copy > p:not(.eyebrow) { color: #d9e2da; }
.choices { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 21px; }
.choices button { min-height: 45px; padding: 9px 15px; background: #fffaf061; border: 1px solid #b49c71; border-radius: 2px; font-size: .95rem; font-weight: 680; transition: color .24s ease, background-color .24s ease, border-color .24s ease, transform .24s var(--ease-out); }
.choices button[aria-pressed="true"] { color: var(--white); background: var(--surface-dark); border-color: #4b6250; }
.choices button:hover:not([aria-pressed="true"]) { background-color: #e7d3aa89; border-color: #927443; }
.spaces .choices button { border-color: #b9a476; color: #fff9ea; background-color: #152d23; }
.spaces .choices button[aria-pressed="true"] { color: #293425; background: var(--surface-gold); border-color: #e7cf9a; }
.spaces .choices button:hover:not([aria-pressed="true"]) { background-color: #3a5142; border-color: #e5c792; }
.choices button:active { transform: scale(.97); }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(0, .72fr); align-items: start; gap: clamp(24px, 5.5vw, 70px); }
.gallery-frame { aspect-ratio: 1.52; background: #243a2e; touch-action: pan-y; border-color: #d0b6788c; }
.gallery-frame img { object-position: center 48%; }
.gallery-copy { align-self: center; padding-bottom: 55px; }
.gallery-copy > p:not(.eyebrow) { margin: 14px 0 23px; }
.gallery-copy .actions { gap: 10px 17px; }
.text-link { padding-block: 10px; text-decoration: underline; text-underline-offset: 5px; font-weight: 650; }
.gallery-controls { display: flex; min-width: 0; justify-content: space-between; align-items: center; gap: 11px; margin-top: 12px; }
.thumbnails { display: flex; gap: 7px; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.thumbnails button { flex: 0 0 clamp(52px, 6vw, 83px); aspect-ratio: 1.44; padding: 2px; border: 1px solid transparent; background: transparent; opacity: .72; transition: opacity .24s ease, border-color .24s ease; }
.thumbnails button:is([aria-pressed="true"], :hover) { border-color: var(--gold); opacity: 1; }
.thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.paging { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .89rem; font-variant-numeric: tabular-nums; }
.paging span { min-width: 34px; text-align: center; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #eacb99bd; border-radius: 50%; background: #192c2190; transition: background-color .24s ease, transform .24s var(--ease-out); }
.icon-button span { font-family: Arial, sans-serif; font-size: 1.45rem; line-height: 1; margin-top: -2px; min-width: 0; }
.icon-button:hover { background: #f6fae72a; }
.icon-button:active { transform: scale(.92); }
.fine { font-size: .86rem; margin-top: 18px; color: var(--muted); }
.spaces .fine { color: #cbd9cb; }

.types { background: radial-gradient(ellipse at 27% 36%, #fffaf2, transparent 63%), var(--stone); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.59fr) minmax(0, .81fr); align-items: center; gap: clamp(26px, 6vw, 85px); }
.plan-modes { display: flex; gap: 10px; background: #fffaf1; padding: 5px 10px 0; border: 1px solid #d2c19e; border-bottom: 0; }
.plan-modes button { background: transparent; padding: 7px 9px; border: 0; border-bottom: 2px solid transparent; font-size: .9rem; transition: border-color .26s ease; }
.plan-modes button:is([aria-pressed="true"], :hover) { border-color: #9a7232; }
.plan-modes button[aria-pressed="true"] { font-weight: 740; }
.plan-frame { aspect-ratio: 1.35; background: #fff; border: 1px solid #d2c19e; }
.plan-frame img { object-fit: contain; padding: clamp(12px, 3vw, 38px); }
.plan-area { display: flex; gap: 8px; align-items: baseline; line-height: 1.03; margin: 12px 0 17px; }
.plan-area strong { font-weight: 520; font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.09em; }
.plan-area span { font-size: 1.36rem; }
.plan-copy h3 { font-size: 1.8rem; }
.plan-facts { margin-top: 17px; }
.plan-facts div { display: grid; grid-template-columns: 4.6rem 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); }
.plan-facts dt { color: var(--muted); font-size: .93rem; }
.plan-facts dd { font-weight: 650; }
.plan-copy .button { margin-top: 20px; }

.film { background: linear-gradient(133deg, #eee2c7 8%, #e5d7b8 55%, #f0e8d5); }
.film-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 37px); }
.film-card { background: var(--paper); border: 1px solid #beaa7e; padding: 9px; box-shadow: 0 11px 31px #57401f23; }
.film-card video { background: var(--forest-deep); width: 100%; aspect-ratio: 16 / 10; object-fit: contain; }
.film-card figcaption { padding: 9px 8px 5px; color: var(--ink); font-size: .98rem; font-weight: 650; }
.location { background: radial-gradient(ellipse at 91% 88%, #efdfbb76, transparent 47%), var(--paper); }
.location-grid .wide-media { aspect-ratio: 1.38; background: white; border: 1px solid #c6b389; }
.location-grid .wide-media img { object-fit: contain; }
.location-facts div { border-top: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 3.6rem 1fr; align-items: baseline; }
.location-facts div:last-child { border-bottom: 1px solid var(--line); }
.location-facts dt { font-size: .88rem; font-weight: 650; color: var(--gold-dark); }
.location-facts dd { font-size: 1.02rem; font-weight: 650; }
.visit { background: radial-gradient(ellipse at 0% 22%, #54785544, transparent 46%), linear-gradient(135deg, #152b23, #10241c 86%); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.19fr) minmax(0, .81fr); align-items: center; gap: clamp(30px, 6vw, 92px); }
.visit-copy > p:not(.eyebrow) { margin-top: 20px; }
.visit-copy address { margin: 24px 0 18px; font-style: normal; }
.visit-copy address strong { color: var(--gold); margin-right: 6px; }
.visit-copy address span { color: #ccdcd2; }
.visit-card { padding: clamp(22px, 3.2vw, 43px); background: radial-gradient(ellipse at 100% 0, #f1ddaf91, transparent 65%), var(--paper); border: 1px solid #baa060; box-shadow: 0 17px 55px #091a1390, inset 0 0 0 5px #fdf8ec, inset 0 0 0 6px #cdb88c; color: var(--ink); }
.visit-card .eyebrow { color: var(--gold-dark); margin-bottom: 0; }
.visit-number { display: inline-block; font-size: clamp(2.4rem, 4.4vw, 4.05rem); line-height: 1.2; letter-spacing: -.075em; font-weight: 670; margin: 5px 0 18px; }
.interests { border-block: 1px solid var(--line); padding-block: 12px; display: grid; gap: 7px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.interests dt { color: var(--muted); font-size: .85rem; }
.interests dd { font-weight: 630; }
.visit-days { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0; padding: 0; border: 0; }
.visit-days legend { font-size: .9rem; color: var(--muted); padding: 0 0 5px; }
.visit-days label { position: relative; cursor: pointer; }
.visit-days input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.visit-days span { display: block; border: 1px solid #ac956b; padding: 5px 12px; min-height: 36px; border-radius: 2px; font-size: .88rem; transition: border-color .24s ease; }
.visit-days input:checked + span { background: var(--surface-gold); border-color: #8b6b34; }
.visit-days input:focus-visible + span { outline: 2px solid #8e6b34; outline-offset: 3px; }
.visit-actions > a { flex: 1 1 105px; }
.visit-card .fine { margin-top: 10px; }
.footer { background: var(--forest-ink); color: #f7f1e4; padding-block: 35px; border-top: 1px solid #927445; }
.footer-inner { display: flex; justify-content: space-between; gap: 19px; align-items: center; }
.footer-inner p { color: #c2d1c8; font-size: .85rem; margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #e4eee4; font-size: .89rem; }
.footer a:hover { text-decoration: underline; }
.mobile-bar { display: none; }

.js-motion [data-reveal] { opacity: 0; transform: translateY(22px); }
.js-motion [data-reveal]:is(.visible, :focus-within) { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js-motion :is(.section-heading, .facts, .overview-grid, .gallery-grid, .plan-grid, .film-grid, .location-grid).visible > * { animation: panel-enter .66s var(--ease-out) var(--panel-delay, 0s) both; }
.js-motion .visible > :nth-child(2) { --panel-delay: .1s; }
.js-motion .visible > :nth-child(3) { --panel-delay: .18s; }
.js-motion .visible > :nth-child(4) { --panel-delay: .26s; }
.js-motion .visible .eyebrow::before { animation: trace-rule .75s var(--ease-out) both; }
@keyframes panel-enter { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes trace-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(13px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
dialog { max-width: none; max-height: none; width: min(1120px, calc(100% - 36px)); height: min(830px, calc(100dvh - 36px)); margin: auto; border: 1px solid #b49b65; padding: 0; color: var(--white); background: var(--forest); overflow: hidden; }
dialog::backdrop { background: #091a14ee; }
dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: dialog-enter .38s var(--ease-out) both; }
dialog[open]::backdrop { animation: backdrop-enter .38s var(--ease-out) both; }
body.viewer-open { overflow: hidden; }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 60px; padding: 7px 15px; border-bottom: 1px solid #ad9663; }
.viewer-top strong { font-size: 1.03rem; }
.viewer-actions { display: flex; align-items: center; gap: 10px; }
.viewer-zoom { white-space: nowrap; padding: 6px 10px; border: 1px solid #baa26d; background: var(--surface-dark); border-radius: 2px; }
.viewer-stage { overflow: auto; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); background: #13231b; padding: 10px; touch-action: pan-y; }
.viewer-stage img { width: 100%; height: 100%; max-height: 100%; min-height: 0; object-fit: contain; margin: auto; }
.viewer-stage.zoomed { display: block; touch-action: auto; }
.viewer-stage.zoomed img { width: max(155%, 950px); min-width: max(155%, 950px); max-width: none; height: auto; max-height: none; }
.viewer-paging { justify-content: center; padding: 7px 14px; border-top: 1px solid #ad9663; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 76px); }
  .header-inner { width: calc(100% - 64px); }
  .section h2 { font-size: clamp(2.7rem, 6.5vw, 4.5rem); }
}
@media (max-width: 740px) {
  :root { --header-height: 62px; --rail-height: 46px; }
  body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 40px); }
  .brand-mark { width: 34px; height: 34px; }
  .brand-type strong { font-size: 1.04rem; }
  .menu-toggle { display: flex; align-items: center; gap: 9px; min-height: 44px; border: 0; background: transparent; padding: 8px 0 8px 14px; font-size: .94rem; font-weight: 690; }
  .menu-toggle i { width: 17px; height: 11px; border-block: 1px solid currentColor; }
  .header nav { display: none; position: absolute; inset: calc(var(--header-height) - 1px) 0 auto; background: #172c23; padding: 12px 20px 20px; border-bottom: 1px solid #ae9055; box-shadow: 0 16px 20px #142c235a; }
  .header nav.open { display: grid; gap: 3px; animation: menu-enter .28s var(--ease-out) both; }
  @keyframes menu-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
  .header nav a { padding: 9px 10px; }
  .header .header-visit { justify-self: start; margin-top: 5px; }
  .hero { min-height: 530px; height: calc(100svh - var(--header-height) - 55px); max-height: 735px; }
  .hero-content { align-self: end; padding: 0 0 112px; }
  .hero-copy { margin-top: 19px; }
  .hero-actions { margin-top: 19px; }
  .hero h1 { font-size: clamp(3.5rem, 11vw, 6rem); }
  .hero-footer { min-height: 62px; }
  .hero-shade { background: linear-gradient(0deg, #0c2017f1 0%, #142d20bb 34%, #132c2044 68%, #1d392329), linear-gradient(90deg, #111e1656, transparent 84%); }
  .chapter-links { width: 100%; gap: 0; overflow-x: auto; justify-content: safe center; padding-inline: 12px; scrollbar-width: none; }
  .chapter-links::-webkit-scrollbar { display: none; }
  .chapter-links a { padding-inline: 9px; font-size: .81rem; }
  .section { padding-block: 70px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .section-heading > p { max-width: 450px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 34px; }
  .facts div { padding: 15px 7px 17px 12px; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts strong { font-size: clamp(2.08rem, 6.8vw, 3.4rem); }
  .overview-grid, .gallery-grid, .plan-grid, .location-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .gallery-copy { padding: 0; }
  .gallery-copy > p:not(.eyebrow) { margin-bottom: 13px; }
  .gallery-frame { aspect-ratio: 1.23; }
  .plan-frame { aspect-ratio: 1.15; }
  .plan-copy .eyebrow { margin: 0; }
  .plan-area { margin: 5px 0 12px; }
  .plan-facts { margin-top: 9px; }
  .visit-grid { gap: 31px; }
  .film-card { padding: 6px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .mobile-bar { position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); box-shadow: 0 -1px 0 #bc9f65, 0 -5px 23px #1a302936; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: grid; place-items: center; min-height: 55px; font-weight: 720; color: var(--white); background: var(--surface-dark); }
  .mobile-bar a:first-child { color: #283124; background: var(--surface-gold); }
}
@media (max-width: 425px) {
  .wrap, .header-inner { width: calc(100% - 34px); }
  .chapter-links { width: 100%; padding-inline: 6px; }
  .chapter-links a { padding-inline: 7px; font-size: .77rem; }
  .mobile-only { display: initial; }
  .hero-kicker { font-size: .76rem; gap: 7px; letter-spacing: .145em; }
  .hero { min-height: 500px; }
  .scene img { object-position: center; }
  .hero-copy { line-height: 1.42; }
  .hero-content { padding-bottom: 100px; }
  .section h2 { font-size: clamp(2.48rem, 9.9vw, 3.2rem); }
  .choices { gap: 5px; }
  .choices button { font-size: .88rem; padding-inline: 10px; }
  .film-grid { grid-template-columns: 1fr; }
  dialog { width: calc(100% - 16px); height: calc(100dvh - 16px); }
  .viewer-top { padding: 7px 9px; }
  .viewer-top strong { font-size: .92rem; }
}
@media (max-width: 640px) {
  .scene:first-child img { transform: scale(1.62); transform-origin: 64% bottom; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .js-motion [data-reveal] { opacity: 1; transform: none; }
}
