@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --paper: #f7f3e9;
  --paper-deep: #efe8d8;
  --ink: #282721;
  --muted: #777267;
  --line: #d9d0bc;
  --honey: #e9ad30;
  --honey-deep: #b77a16;
  --cream: #fffdf7;
  --serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--sans); min-width: 320px; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--honey-deep); outline-offset: 4px; }
.paper-grain { position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); }
.site-shell { min-height: 100svh; display: grid; grid-template-rows: 88px minmax(0, 1fr) 49px; overflow: hidden; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; gap: 26px; padding: 0 clamp(24px, 5vw, 82px); border-bottom: 1px solid rgba(87,77,60,.12); }
.brand { border: 0; background: none; padding: 0; width: 129px; display: flex; align-items: center; }
.brand img { display: block; width: 100%; height: auto; }
.site-header__caption { color: #837e72; font-size: 11px; letter-spacing: .13em; padding-left: 25px; border-left: 1px solid var(--line); white-space: nowrap; }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
.header-actions button { color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 100px; padding: 9px 15px; font-size: 12px; transition: background .25s, border-color .25s; }
.header-actions button:hover { background: rgba(233,173,48,.12); border-color: var(--line); }
.header-actions span { color: var(--honey-deep); margin-left: 5px; }
.app { min-height: 0; position: relative; }
.view { min-height: 100%; opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.view.is-leaving { opacity: 0; transform: translateY(-8px); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 clamp(24px, 5vw, 82px); border-top: 1px solid rgba(87,77,60,.12); color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.footer-mark { color: var(--honey-deep); font-size: 20px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--honey-deep); font-weight: 700; font-size: 11px; letter-spacing: .2em; }
.eyebrow::before { content: ''; width: 30px; height: 1px; background: currentColor; }

/* Opening map */
.home-view { position: relative; padding: clamp(30px, 5vh, 58px) clamp(24px, 7vw, 110px) 60px; display: flex; flex-direction: column; min-height: calc(100svh - 137px); }
.home-copy { position: relative; z-index: 2; max-width: 820px; }
.home-copy h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -.065em; font-size: clamp(43px, 5.4vw, 88px); line-height: 1.3; margin: 27px 0 22px; }
.home-copy h1 em { color: var(--honey-deep); font-style: normal; }
.home-copy p { color: #6f6b61; font-size: clamp(14px, 1.25vw, 17px); line-height: 2; margin: 0; }
.home-corner { position: absolute; top: 8%; right: 8%; width: 150px; aspect-ratio: 1; border: 1px solid #dfd3b7; border-radius: 50%; display: grid; place-items: center; color: #c6a45e; font-family: var(--serif); font-size: 58px; transform: rotate(-14deg); }
.home-corner::before { content: ''; width: 70%; height: 70%; border: 1px dashed #d9c494; border-radius: 50%; position: absolute; }
.map-wrap { position: relative; margin-top: auto; padding-top: 80px; }
.map-caption { position: absolute; top: 9px; left: 0; display: flex; align-items: center; gap: 14px; font-size: 11px; color: #888174; letter-spacing: .13em; }
.map-caption b { width: 22px; height: 22px; border-radius: 50%; background: var(--honey); display: grid; place-items: center; color: var(--ink); font-size: 12px; }
.map-line { position: absolute; width: 100%; height: 135px; left: 0; top: 54px; overflow: visible; pointer-events: none; }
.map-line path { fill: none; stroke: #c9af75; stroke-width: 1.5; stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: draw-line 1.8s .2s ease forwards; }
.map-line .map-line-shadow { stroke: #e7dec9; stroke-width: 14; opacity: .35; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.map-nodes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; padding-bottom: 25px; }
.map-node { position: relative; background: none; border: 0; text-align: left; padding: 0 4px; min-height: 218px; color: var(--ink); opacity: 0; animation: rise-in .55s ease forwards; animation-delay: calc(.26s + var(--i) * .13s); }
.map-node:nth-child(even) { padding-top: 36px; }
.map-node__number { display: block; font-family: var(--serif); font-size: 11px; color: #9c8c6f; margin-bottom: 18px; }
.map-node__dot { display: block; width: 19px; height: 19px; border: 5px solid var(--paper); background: var(--honey); border-radius: 50%; outline: 1px solid var(--honey-deep); box-shadow: 0 0 0 0 rgba(233,173,48,.2); transition: transform .3s, box-shadow .3s; }
.map-node:hover .map-node__dot, .map-node:focus-visible .map-node__dot { transform: scale(1.4); box-shadow: 0 0 0 12px rgba(233,173,48,.13); }
.map-node__time { display: block; margin-top: 20px; color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.map-node__title { display: block; margin-top: 9px; font-family: var(--serif); font-weight: 600; font-size: clamp(14px, 1.3vw, 19px); line-height: 1.5; transition: color .25s; }
.map-node:hover .map-node__title { color: var(--honey-deep); }
.home-bottom { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 20px; }
.home-start { border: 0; background: var(--ink); color: #fff; border-radius: 50%; width: 116px; height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; transition: background .3s, transform .3s; box-shadow: 0 13px 30px rgba(40,39,33,.13); }
.home-start span { color: var(--honey); font-size: 24px; line-height: 1; }
.home-start:hover { background: #4b3b23; transform: translateY(-5px); }
.home-quote { font-family: var(--serif); font-size: 13px; color: #827967; line-height: 1.8; text-align: right; }
@keyframes rise-in { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }

/* Story scenes */
.story-view { min-height: calc(100svh - 137px); display: flex; flex-direction: column; padding: 0 clamp(24px, 5vw, 82px) 36px; }
.timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; gap: 0; position: relative; padding: 28px 0 25px; }
.timeline::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: #d3c6a9; }
.timeline__node { border: 0; background: none; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #968c79; font-size: 10px; letter-spacing: .12em; transition: color .3s; }
.timeline__node::before { content: ''; width: 11px; height: 11px; background: var(--paper); border: 1px solid #ad9c7a; border-radius: 50%; transition: background .3s, transform .3s, box-shadow .3s; }
.timeline__node.is-active { color: var(--ink); font-weight: 700; }
.timeline__node.is-active::before { background: var(--honey); transform: scale(1.35); box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--honey); }
.timeline__node:hover { color: var(--honey-deep); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: clamp(25px, 4vw, 72px); align-items: stretch; min-height: 380px; flex: 1; }
.story-copy { padding-top: clamp(8px, 3vh, 44px); display: flex; flex-direction: column; align-items: flex-start; }
.stage-meta { display: flex; align-items: center; gap: 18px; font-size: 11px; color: var(--muted); letter-spacing: .13em; }
.stage-meta b { color: var(--honey-deep); font-family: var(--serif); font-size: 17px; font-weight: 500; }
.story-copy h1 { font: 500 clamp(40px, 4.5vw, 71px)/1.35 var(--serif); letter-spacing: -.04em; max-width: 900px; margin: 25px 0 18px; }
.story-rule { width: 84px; height: 1px; background: var(--honey-deep); margin: 0 0 20px; }
.story-lines { max-width: 625px; }
.story-lines p { margin: 0 0 8px; font-size: clamp(15px, 1.28vw, 18px); line-height: 1.92; color: #59564f; opacity: 0; transform: translateY(7px); transition: opacity 1.65s ease, transform 1.65s ease; transition-delay: calc(.1s + var(--i) * 1.05s); }
.story-view.is-revealed .story-lines p { opacity: 1; transform: translateY(0); }
.story-reveal { display: inline-flex; align-items: center; gap: 10px; min-height: 35px; margin: 0 0 8px; padding: 4px 0; border: 0; background: transparent; color: var(--honey-deep); font-size: 11px; letter-spacing: .12em; opacity: 1; transition: opacity .65s ease, transform .4s ease, visibility .65s; }
.story-reveal:hover { transform: translateX(4px); }
.story-reveal__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 4px rgba(233,173,48,.16); }
.story-view.is-revealed .story-reveal { opacity: 0; visibility: hidden; pointer-events: none; }
.scene-art { position: relative; min-height: 370px; margin: 0; overflow: hidden; border-radius: 3px; background: var(--scene-bg, #e8dfcd); border: 1px solid rgba(87,77,60,.1); opacity: 0; animation: scene-enter 1.25s .2s ease forwards; }
@keyframes scene-enter { from { opacity: 0; transform: translateX(28px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
.scene-art__image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 50%; }
.scene-art::before { content: ''; position: absolute; z-index: 2; inset: 17px; border: 1px solid rgba(255,255,255,.65); pointer-events: none; }
.scene-art::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(34,31,25,.62), rgba(34,31,25,0)); pointer-events: none; }
.scene-art__badge { position: absolute; z-index: 2; right: 35px; top: 34px; padding: 6px 9px; border-radius: 100px; background: rgba(255,253,247,.84); font: 500 10px var(--sans); letter-spacing: .17em; color: #655b4a; }
.scene-art figcaption { position: absolute; left: 36px; bottom: 31px; z-index: 2; color: var(--cream); font-size: 11px; letter-spacing: .1em; text-shadow: 0 1px 5px rgba(34,31,25,.3); }
.scene-art figcaption strong { display: block; font: 500 24px var(--serif); letter-spacing: 0; margin: 4px 0 3px; }
.scene-art--s1 { --scene-bg: linear-gradient(145deg,#eadab7,#d1c6a9 70%,#c9b78e); }
.scene-art--s2 { --scene-bg: linear-gradient(145deg,#d9dac4,#b9c5a6 65%,#dfd5b3); }
.scene-art--s3 { --scene-bg: linear-gradient(145deg,#d7dcd6,#bbc5c1 65%,#e2dbcd); }
.scene-art--s4 { --scene-bg: linear-gradient(145deg,#eadcc7,#cbad90 65%,#9c8071); }
.scene-art--s6 { --scene-bg: linear-gradient(145deg,#d5d6cc,#b7bcbb 65%,#b6a897); }
.product-block { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 16px; opacity: 0; animation: rise-in .95s .65s ease forwards; }
.product-block__heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 15px; }
.product-block__heading h2 { font-size: 11px; letter-spacing: .2em; color: var(--honey-deep); margin: 0; }
.product-block__heading span { font-size: 10px; color: var(--muted); }
.products { display: grid; grid-template-columns: repeat(var(--product-count), minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; width: 100%; display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 12px; padding: 10px; background: rgba(255,255,255,.47); border: 1px solid #e7ddc9; min-height: 79px; text-align: left; color: var(--ink); }
.product-card__image { width: 62px; height: 57px; display: grid; place-items: center; border: 1px dashed #bfb199; color: #8f8370; font-size: 9px; line-height: 1.4; text-align: center; letter-spacing: .04em; }
.product-card__image.has-photo { overflow: hidden; border: 1px solid #d8c8a7; background: #e4d7bd; }
.product-card__image.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card__text b { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.product-card__text small { display: block; font-size: 10px; color: var(--muted); line-height: 1.45; }
.story-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 21px; gap: 20px; }
.text-action { border: 0; background: none; padding: 10px 0; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.text-action:hover { color: var(--honey-deep); }
.next-action { border: 1px solid var(--ink); background: var(--ink); color: #fff; border-radius: 100px; min-width: 171px; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 12px; transition: background .25s, transform .25s; }
.next-action:hover { background: #55432a; transform: translateX(4px); }
.next-action span { color: var(--honey); font-size: 20px; line-height: .6; }

/* Quiet years and closing */
.quiet-view { background: #f5f0e5; }
.quiet-grid { flex: 1; display: grid; grid-template-columns: .35fr 1fr .35fr; align-items: center; }
.quiet-note { font-family: var(--serif); color: #b4a587; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .35em; justify-self: center; }
.quiet-copy { text-align: center; padding: 24px 0; }
.quiet-copy h1 { font: 500 clamp(28px, 3.6vw, 52px)/1.6 var(--serif); margin: 19px 0 28px; }
.quiet-copy p { font: 400 clamp(14px, 1.35vw, 19px)/2.05 var(--serif); margin: 0; color: #69645d; opacity: 0; transform: translateY(7px); transition: opacity 1.65s ease, transform 1.65s ease; transition-delay: calc(.1s + var(--i) * .8s); }
.quiet-copy p:nth-last-child(-n+2) { color: #2d2b26; font-weight: 600; }
.quiet-copy .story-reveal { margin: 0 auto 12px; }
.quiet-view.is-revealed .quiet-copy p { opacity: 1; transform: translateY(0); }
.closing-view { min-height: calc(100svh - 137px); padding: 65px clamp(24px, 8vw, 130px) 45px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing-kicker { color: var(--honey-deep); font-size: 11px; letter-spacing: .2em; }
.closing-doors { display: flex; align-items: flex-end; justify-content: center; gap: clamp(25px, 7vw, 130px); height: 165px; margin: 24px 0 28px; width: 100%; }
.closing-door { height: 100%; width: 112px; border: 1px solid #b9a784; border-bottom: 0; border-radius: 52px 52px 0 0; position: relative; opacity: 0; animation: rise-in .7s ease forwards; }
.closing-door:nth-child(2) { animation-delay: .4s; height: 135px; width: 105px; }
.closing-door::before { content: ''; position: absolute; right: 13px; top: 70px; width: 6px; height: 6px; border-radius: 50%; background: #a8936d; }
.closing-door::after { content: ''; position: absolute; width: 140%; left: -20%; bottom: 0; height: 1px; background: #b9a784; }
.closing-door span { position: absolute; bottom: -28px; left: 50%; white-space: nowrap; transform: translateX(-50%); font-size: 10px; color: var(--muted); }
.closing-view h1 { font: 500 clamp(31px, 4vw, 60px)/1.45 var(--serif); letter-spacing: -.04em; margin: 18px 0 18px; }
.closing-view p { font: 400 clamp(14px, 1.35vw, 18px)/2 var(--serif); color: #706a5e; margin: 0 0 25px; }
.closing-view .next-action { margin-top: auto; }

/* Q&A overview */
.overview-view { min-height: calc(100svh - 137px); padding: 34px clamp(24px, 5vw, 82px) 42px; }
.overview-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.overview-head h1 { font: 500 clamp(30px, 3.8vw, 55px)/1.4 var(--serif); margin: 16px 0 9px; }
.overview-head p { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.8; }
.overview-head .next-action { white-space: nowrap; }
.overview-section-label { font-size: 10px; letter-spacing: .22em; color: var(--honey-deep); margin: 35px 0 16px; font-weight: 700; }
.overview-path { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; position: relative; }
.overview-path::before { content: ''; position: absolute; top: 17px; left: 7%; right: 7%; height: 1px; background: #cab78e; }
.overview-path button { position: relative; z-index: 1; border: 0; background: none; text-align: left; padding: 0 5px 5px; color: var(--ink); opacity: .55; transition: opacity .3s, transform .3s; }
.overview-path button.is-related, .overview-path button.is-all { opacity: 1; }
.overview-path button:hover { opacity: 1; transform: translateY(-4px); }
.overview-path i { display: block; width: 34px; height: 34px; border: 1px solid #bd9d5e; border-radius: 50%; background: var(--paper); color: var(--honey-deep); font: normal 13px var(--serif); display: grid; place-items: center; margin-bottom: 14px; }
.overview-path b { display: block; font: 500 clamp(13px, 1.3vw, 18px)/1.5 var(--serif); }
.overview-path small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; margin-top: 4px; }
.overview-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category { border: 1px solid #dfd2b7; background: rgba(255,255,255,.42); padding: 17px; text-align: left; min-height: 156px; transition: background .3s, transform .3s, border-color .3s; }
.category:hover, .category.is-active { background: #fffaf0; border-color: var(--honey-deep); transform: translateY(-3px); }
.category__top { display: flex; justify-content: space-between; color: var(--honey-deep); font-size: 11px; }
.category h2 { font: 500 clamp(16px, 1.55vw, 22px) var(--serif); margin: 16px 0 10px; }
.category p { color: #777064; line-height: 1.75; font-size: 11px; margin: 0; }
.overview-detail { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 50px; }
.overview-detail p { margin: 0; color: #6c665a; font-size: 12px; line-height: 1.8; }
.overview-detail strong { color: var(--ink); font-weight: 600; }
.overview-detail button { background: none; border: 0; white-space: nowrap; color: var(--honey-deep); font-size: 11px; padding: 8px; }

/* Small narrative details: drawn path, chapter texture, and gentle motion. */
.site-header::after { content: '✳'; position: absolute; left: clamp(24px, 5vw, 82px); bottom: -7px; color: var(--honey-deep); background: var(--paper); font-size: 10px; padding: 0 5px; transform: translateX(-4px); }
.home-copy h1 em { position: relative; white-space: nowrap; }
.home-copy h1 em::after { content: ''; position: absolute; left: 4%; right: 1%; bottom: -.04em; height: .08em; border-bottom: 2px solid rgba(183,122,22,.42); border-radius: 50%; transform: rotate(-2deg) scaleX(0); transform-origin: left; animation: underline-in .8s 1.1s ease forwards; }
@keyframes underline-in { to { transform: rotate(-2deg) scaleX(1); } }
.map-traveler { fill: var(--honey-deep); stroke: var(--honey-deep); stroke-width: 1.4; opacity: .82; filter: drop-shadow(0 2px 2px rgba(80,59,22,.18)); }
.map-traveler ellipse { fill: var(--honey); stroke: #5f4a25; }
.map-node__title { text-wrap: balance; }
.timeline__progress { position: absolute; top: 33px; left: 8%; height: 2px; border-radius: 2px; background: var(--honey-deep); transform-origin: left; animation: progress-enter .65s ease both; }
@keyframes progress-enter { from { transform: scaleX(.5); opacity: .3; } to { transform: scaleX(1); opacity: 1; } }
.story-copy { position: relative; isolation: isolate; }
.story-watermark { position: absolute; top: -28px; right: 2%; z-index: -1; color: rgba(183,122,22,.07); font: 500 clamp(145px, 17vw, 290px)/1 var(--serif); letter-spacing: -.12em; pointer-events: none; user-select: none; opacity: 0; animation: watermark-in 1s .15s ease forwards; }
@keyframes watermark-in { from { opacity: 0; transform: translateY(23px) rotate(-5deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
.scene-art { box-shadow: 0 20px 45px rgba(81,67,40,.07), inset 0 0 75px rgba(255,255,255,.17); }
.scene-art__badge { display: flex; align-items: center; gap: 8px; }
.scene-art__badge::before { content: ''; width: 5px; height: 5px; background: var(--honey-deep); border-radius: 50%; }
.scene-art figcaption::before { content: '✳'; position: absolute; left: 0; top: -24px; color: var(--honey-deep); font-size: 15px; }
.product-block { position: relative; }
.product-block::before { content: ''; position: absolute; top: -2px; left: 0; width: 70px; height: 3px; background: var(--honey); transform: scaleX(0); transform-origin: left; animation: underline-in .9s .7s ease forwards; }
.product-card { position: relative; opacity: 0; animation: rise-in .85s ease forwards; animation-delay: calc(.85s + var(--i) * .24s); transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.product-card:hover { border-color: #caa860; background: #fffaf0; transform: translateY(-3px); box-shadow: 0 9px 20px rgba(91,71,31,.08); }
.product-card__image { position: relative; background: linear-gradient(140deg,rgba(233,173,48,.06),rgba(255,255,255,.32)); }
.product-card__image::after { content: '↗'; position: absolute; right: 4px; top: 2px; color: #b8a783; font-size: 9px; }
.product-card__image.has-photo::after { content: none; }
.product-card__arrow { position: absolute; right: 12px; top: 11px; color: var(--honey-deep); font-size: 14px; opacity: .6; transition: transform .25s, opacity .25s; }
.product-card:hover .product-card__arrow { transform: translate(3px, -3px); opacity: 1; }
.product-card.is-opening { transform: perspective(900px) rotateY(-12deg) scale(.94); }
.product-dialog { width: min(940px, calc(100vw - 48px)); max-height: min(700px, calc(100svh - 48px)); padding: 0; border: 0; border-radius: 4px; color: var(--ink); background: var(--cream); box-shadow: 0 35px 100px rgba(41,34,23,.24); overflow: auto; opacity: 0; transform: perspective(1300px) rotateY(-30deg) scale(.73) translateY(28px); transform-origin: 38% 50%; transition: opacity .46s cubic-bezier(.2,.7,.1,1), transform .58s cubic-bezier(.18,.78,.12,1); }
.product-dialog[open] { display: block; }
.product-dialog.is-open { opacity: 1; transform: perspective(1300px) rotateY(0) scale(1) translateY(0); }
.product-dialog.is-closing { opacity: 0; transform: perspective(1300px) rotateY(16deg) scale(.87) translateY(12px); transition-duration: .3s; }
.product-dialog::backdrop { background: rgba(37,34,29,.46); backdrop-filter: blur(7px); animation: backdrop-in .45s ease both; }
@keyframes backdrop-in { from { background: rgba(37,34,29,0); backdrop-filter: blur(0); } }
.product-sheet { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); min-height: min(570px, calc(100svh - 48px)); position: relative; }
.product-sheet__close { position: absolute; z-index: 2; top: 18px; right: 19px; width: 38px; height: 38px; border: 1px solid rgba(74,64,46,.24); border-radius: 50%; background: rgba(255,253,247,.9); color: var(--ink); font-size: 25px; line-height: 1; transition: transform .25s, background .25s; }
.product-sheet__close:hover { transform: rotate(90deg); background: #fff; }
.product-sheet__visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 400px; padding: 32px; background: radial-gradient(circle at 65% 35%,rgba(255,255,255,.52),transparent 36%),linear-gradient(135deg,#e7d7b5,#cfc5ad 60%,#bcb9aa); overflow: hidden; }
.product-sheet__visual::before { content: ''; position: absolute; inset: 19px; border: 1px solid rgba(255,255,255,.58); pointer-events: none; }
.product-sheet__visual::after { content: ''; position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid rgba(67,60,44,.2); border-radius: 50%; left: 18%; top: 20%; }
.product-sheet__visual-label, .product-sheet__visual-note { position: relative; z-index: 1; font-size: 10px; letter-spacing: .16em; color: #615743; }
.product-sheet__visual-mark { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: rgba(102,84,49,.32); font: 160px var(--serif); }
.product-sheet__visual.has-photo { background: #756a55; }
.product-sheet__visual.has-photo::before { z-index: 3; }
.product-sheet__visual.has-photo::after { z-index: 1; left: 0; top: auto; bottom: 0; width: 100%; height: 42%; border: 0; border-radius: 0; aspect-ratio: auto; background: linear-gradient(to top, rgba(26,25,23,.65), transparent); }
.product-sheet__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-sheet__visual.is-cropped .product-sheet__photo { transform: scale(1.16); }
.product-sheet__extra { position: absolute; z-index: 2; right: 38px; bottom: 76px; width: 33%; aspect-ratio: 1.25; object-fit: cover; border: 6px solid #fff9ed; box-shadow: 0 12px 26px rgba(32,27,18,.3); transform: rotate(3deg); }
.product-sheet__visual.has-photo .product-sheet__visual-label, .product-sheet__visual.has-photo .product-sheet__visual-note { z-index: 4; color: #fffaf0; text-shadow: 0 1px 8px rgba(24,22,17,.5); }
.product-sheet__visual.is-framed { background: radial-gradient(circle at 72% 24%, #eee4cc, transparent 43%), linear-gradient(150deg, #e2d6bc, #c9bea8); }
.product-sheet__visual.is-framed::after { content: none; }
.product-sheet__visual.is-framed .product-sheet__photo { inset: auto; left: 7%; top: 50%; width: 86%; height: auto; max-height: 68%; padding: 8px; background: #fffaf0; object-fit: contain; box-shadow: 0 19px 38px rgba(59,50,35,.22); transform: translateY(-50%); }
.product-sheet__visual.has-photo.is-framed .product-sheet__visual-label, .product-sheet__visual.has-photo.is-framed .product-sheet__visual-note { color: #5b4c33; text-shadow: none; }
.product-sheet__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(48px, 6vw, 88px) clamp(30px, 5vw, 70px) 40px; }
.product-sheet__chapter { margin-top: 44px; font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.product-sheet__body h2 { font: 500 clamp(36px, 3.8vw, 58px)/1.25 var(--serif); letter-spacing: -.04em; margin: 18px 0 14px; }
.product-sheet__lead { margin: 0; font: 400 clamp(15px, 1.4vw, 19px)/1.7 var(--serif); color: #655a48; }
.product-sheet__rule { width: 72px; height: 2px; background: var(--honey); margin: 34px 0 25px; }
.product-sheet__description { margin: 0; max-width: 430px; color: #555047; font-size: 14px; line-height: 2.05; }
.product-sheet__draft { margin-top: auto; padding-top: 35px; font-size: 10px; color: #948b7b; letter-spacing: .08em; }
@media (max-width: 680px) { .product-dialog { width: calc(100vw - 24px); max-height: calc(100svh - 24px); } .product-sheet { grid-template-columns: 1fr; } .product-sheet__visual { min-height: 240px; padding: 24px; } .product-sheet__visual-mark { font-size: 100px; } .product-sheet__extra { right: 30px; bottom: 50px; width: 27%; border-width: 4px; } .product-sheet__body { padding: 28px 30px 32px; } .product-sheet__chapter { margin-top: 25px; } .product-sheet__body h2 { margin: 12px 0; } .product-sheet__rule { margin: 22px 0 17px; } .product-sheet__draft { padding-top: 22px; } }
.closing-link { width: clamp(90px, 17vw, 230px); height: 100px; overflow: visible; margin-bottom: 14px; }
.closing-link path { fill: none; stroke: #b99754; stroke-width: 1.4; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw-link 1.4s .7s ease forwards; }
@keyframes draw-link { to { stroke-dashoffset: 0; } }
.overview-path button:hover i, .overview-path button.is-related i { background: var(--honey); border-color: var(--honey-deep); color: var(--ink); transition: background .25s, color .25s; }
.category { position: relative; overflow: hidden; }
.category::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .38s ease; }
.category:hover::after, .category.is-active::after { transform: scaleX(1); }
.next-action span { transition: transform .28s; }
.next-action:hover span { transform: translate(2px, -2px); }

@media (min-width: 1500px) and (min-height: 850px) { .story-grid { min-height: 470px; } .scene-art { min-height: 470px; } .home-view { padding-top: 7vh; } }
@media (min-width: 761px) and (max-height: 800px) {
  .site-shell { grid-template-rows: 68px minmax(0, 1fr) 40px; }
  .site-header { padding-inline: clamp(24px, 5vw, 72px); }
  .brand { width: 111px; }
  .home-view { min-height: calc(100svh - 108px); padding: 24px clamp(24px, 7vw, 90px) 18px; }
  .home-copy h1 { font-size: clamp(41px, 4.5vw, 64px); margin: 15px 0 12px; line-height: 1.25; }
  .home-copy p { font-size: 13px; }
  .home-corner { width: 110px; font-size: 42px; }
  .map-wrap { padding-top: 43px; }
  .map-caption { top: 0; }
  .map-line { top: 28px; height: 105px; }
  .map-node { min-height: 145px; }
  .map-node:nth-child(even) { padding-top: 21px; }
  .map-node__number { margin-bottom: 7px; }
  .map-node__time { margin-top: 11px; }
  .map-node__title { margin-top: 5px; font-size: clamp(13px, 1.22vw, 17px); }
  .home-bottom { margin-top: 1px; }
  .home-start { width: 78px; height: 78px; font-size: 10px; }
  .home-start span { font-size: 18px; }
  .home-quote { font-size: 11px; }
  .story-view { min-height: calc(100svh - 108px); padding-bottom: 15px; }
  .timeline { padding: 17px 0 14px; }
  .timeline::before { top: 23px; }
  .timeline__progress { top: 22px; }
  .story-grid { min-height: 0; }
  .story-copy { padding-top: 8px; }
  .story-copy h1 { font-size: clamp(35px, 3.7vw, 53px); margin: 13px 0 11px; }
  .story-rule { margin-bottom: 13px; }
  .story-lines p { font-size: clamp(13px, 1.1vw, 16px); line-height: 1.7; margin-bottom: 5px; }
  .scene-art { min-height: 260px; }
  .scene-art figcaption { bottom: 20px; }
  .product-block { margin-top: 12px; padding-top: 11px; }
  .product-block__heading { margin-bottom: 9px; }
  .product-card { min-height: 60px; padding: 6px; grid-template-columns: 47px 1fr; gap: 8px; }
  .product-card__image { width: 47px; height: 45px; font-size: 8px; }
  .product-card__text b { font-size: 11px; margin-bottom: 2px; }
  .product-card__text small { font-size: 9px; }
  .story-controls { padding-top: 10px; }
  .next-action { padding: 10px 18px; }
  .quiet-copy { padding: 8px 0; }
  .quiet-copy h1 { font-size: 38px; margin: 8px 0 14px; }
  .quiet-copy p { font-size: 14px; line-height: 1.75; }
  .closing-view { min-height: calc(100svh - 108px); padding-top: 30px; padding-bottom: 18px; }
  .closing-doors { height: 118px; margin: 18px 0 20px; }
  .closing-door { width: 80px; }
  .closing-door:nth-child(2) { height: 105px; width: 74px; }
  .closing-view h1 { font-size: 42px; margin: 13px 0; }
  .closing-view p { font-size: 14px; line-height: 1.8; margin-bottom: 15px; }
}
@media (max-width: 1050px) { .site-header__caption { display: none; } .home-corner { display: none; } .story-grid { grid-template-columns: 1fr .9fr; gap: 24px; } .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } .overview-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .site-shell { grid-template-rows: 66px minmax(0,1fr) 44px; } .site-header { padding: 0 19px; } .brand { width: 104px; } .header-actions button { padding: 7px 8px; font-size: 10px; } .site-footer { padding: 0 19px; } .site-footer span:nth-child(2) { display: none; } .home-view { min-height: calc(100svh - 110px); padding: 32px 22px 30px; } .home-copy h1 { font-size: clamp(39px, 8vw, 58px); margin: 23px 0 13px; } .home-copy p { font-size: 13px; } .map-wrap { margin-top: 27px; padding-top: 38px; } .map-caption { top: 0; } .map-line { display: none; } .map-nodes { grid-template-columns: repeat(2,1fr); gap: 0; padding-bottom: 0; } .map-node, .map-node:nth-child(even) { min-height: 96px; padding: 9px 9px 9px 19px; border-left: 1px solid #ccb98f; } .map-node__number { display: none; } .map-node__dot { width: 12px; height: 12px; border: 3px solid var(--paper); position: absolute; left: -6px; top: 15px; } .map-node__time { margin-top: 0; font-size: 9px; } .map-node__title { margin-top: 4px; font-size: 14px; } .home-bottom { margin-top: 15px; } .home-start { width: 95px; height: 95px; font-size: 11px; } .home-quote { font-size: 10px; } .story-view { padding: 0 22px 25px; min-height: calc(100svh - 110px); } .timeline { padding: 18px 0; } .timeline::before { top: 24px; } .timeline__node { font-size: 8px; line-height: 1.3; letter-spacing: 0; } .story-grid { display: flex; flex-direction: column; gap: 20px; } .story-copy { padding-top: 5px; } .story-copy h1 { font-size: clamp(34px, 7vw, 50px); margin: 17px 0 14px; } .story-lines p { font-size: 14px; line-height: 1.7; } .scene-art { min-height: 260px; } .product-block { margin-top: 20px; } .products { grid-template-columns: 1fr 1fr; } .quiet-grid { grid-template-columns: 1fr; } .quiet-note { display: none; } .quiet-copy h1 { font-size: 35px; } .quiet-copy p { font-size: 14px; } .closing-view { min-height: calc(100svh - 110px); padding: 45px 20px; } .overview-view { padding: 28px 20px; } .overview-head { display: block; } .overview-head .next-action { margin-top: 20px; } .overview-path { grid-template-columns: repeat(3,1fr); row-gap: 20px; } .overview-path::before { display: none; } .overview-categories { grid-template-columns: 1fr 1fr; } .category { min-height: 145px; padding: 12px; } .overview-detail { display: block; } }
@media (max-width: 470px) { .header-actions button:first-child { display: none; } .products { grid-template-columns: 1fr; } .product-card { min-height: 66px; } .scene-art { min-height: 230px; } .overview-categories { grid-template-columns: 1fr; } .overview-path b { font-size: 12px; } }
@keyframes calm-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .map-traveler { display: none; }
  .view { transition: opacity .7s ease !important; }
  .view.is-leaving { transform: none !important; }
  .story-lines p, .quiet-copy p { transform: none !important; transition: opacity 1.65s ease !important; }
  .story-lines p { transition-delay: calc(.1s + var(--i) * 1.05s) !important; }
  .quiet-copy p { transition-delay: calc(.1s + var(--i) * .8s) !important; }
  .story-reveal { transition: opacity .65s ease, visibility .65s !important; }
  .scene-art { transform: none !important; animation: calm-fade 1.25s .2s ease both !important; }
  .product-block { transform: none !important; animation: calm-fade .95s .65s ease both !important; }
  .product-card { transform: none !important; animation: calm-fade .85s ease both !important; animation-delay: calc(.85s + var(--i) * .24s) !important; }
  .product-dialog { transition: opacity .6s ease, transform .8s cubic-bezier(.18,.78,.12,1) !important; }
  .product-dialog.is-closing { transition-duration: .3s !important; }
  .product-dialog::backdrop { animation: backdrop-in .6s ease both !important; }
}
