:root {
  --ink: #1f4138;
  --deep: #163a30;
  --paper: #fffdf7;
  --milk: #f8f7ef;
  --mint: #e8f3e0;
  --celadon: #bedbc1;
  --pistachio: #dceaa9;
  --lime: #eaf486;
  --blue: #a9d9ef;
  --coral: #ef9d91;
  --line: rgba(31, 65, 56, .22);
  --serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --sans: Inter, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); overflow-x: hidden; }
body.is-dialog-open { overflow: hidden; }
button, a { color: inherit; }
button { font: inherit; }
img { display: block; width: 100%; }
a { text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 1000; opacity: .18; mix-blend-mode: multiply; 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E"); }
.page-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 999; }
.page-progress span { display: block; width: 0; height: 100%; background: var(--coral); }

/* OPENING BOOK */
.book-stage { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; padding: 5.5rem 5vw 6rem; background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.95), transparent 30%), radial-gradient(circle at 85% 80%, rgba(169,217,239,.55), transparent 26%), linear-gradient(135deg, #edf7e8, #d6ead5 52%, #eef1cc); }
.book-stage::before, .book-stage::after { content: ''; position: absolute; border-radius: 50%; filter: blur(2px); opacity: .75; }
.book-stage::before { width: 24rem; height: 24rem; left: -8rem; bottom: -7rem; background: #d6efb1; }
.book-stage::after { width: 18rem; height: 18rem; right: -4rem; top: -6rem; background: #f4efaa; }
.book-stage__notes { position: absolute; inset: 1.5rem 2rem auto; display: flex; justify-content: space-between; font-size: .66rem; letter-spacing: .22em; z-index: 3; }
.book-stage__whisper { position: absolute; left: 4vw; bottom: 8%; z-index: 3; font: 500 1.1rem/1.4 var(--serif); transform: rotate(-5deg); }
.book-stage__whisper i { color: #5c7b70; }
.book { width: min(83vw, 1080px); aspect-ratio: 1.55; position: relative; perspective: 2200px; z-index: 2; filter: drop-shadow(0 30px 35px rgba(31,65,56,.18)); transition: transform 1s cubic-bezier(.2,.9,.2,1); }
.book__spread { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 8px 14px 14px 8px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(31,65,56,.12); opacity: 0; transition: opacity .35s .2s; }
.book__spread::after { content: ''; position: absolute; left: 50%; inset-block: 0; width: 1.5rem; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(25,45,38,.12), transparent); pointer-events: none; }
.book-page { position: relative; min-width: 0; padding: clamp(1.5rem, 3vw, 3rem); background: linear-gradient(120deg, #fffef9, #f5f6ea); overflow: hidden; }
.book-page--left { border-right: 1px solid #e5e5d9; }
.page-no { position: absolute; right: 1.3rem; bottom: 1rem; font: .7rem var(--sans); letter-spacing: .18em; }
.kicker { margin: 0 0 1rem; font-size: .58rem; letter-spacing: .22em; }
.toc-portrait { width: 62%; height: 55%; position: relative; margin: 0 auto 1rem; transform: rotate(-2deg); background: white; padding: 8px 8px 30px; box-shadow: 0 8px 20px rgba(31,65,56,.13); }
.toc-portrait img { height: 100%; object-fit: cover; object-position: 50% 30%; }
.sticker { position: absolute; display: grid; place-items: center; z-index: 2; }
.sticker--sun { width: 4.3rem; height: 4.3rem; right: -2rem; top: 14%; border-radius: 50%; background: var(--lime); font-size: .52rem; font-weight: 800; letter-spacing: .1em; transform: rotate(8deg); }
.sticker--flower { left: -2rem; bottom: 15%; color: var(--coral); font-size: 3.4rem; filter: drop-shadow(2px 2px 0 #fff); }
.toc-note { max-width: 88%; }
.toc-note h2 { margin: 0 0 .5rem; font: 600 clamp(1.2rem,2vw,2rem) var(--serif); }
.toc-note p { margin: 0; font-size: clamp(.68rem,.85vw,.85rem); line-height: 1.8; }
.toc-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.toc-head p { margin: 0; font: 600 clamp(1.5rem,2.8vw,2.7rem) var(--serif); }
.toc-head span { text-align: right; font-size: .55rem; line-height: 1.6; letter-spacing: .16em; }
.toc-list { margin-top: 1rem; }
.toc-list a { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: .6rem; padding: clamp(.65rem,1.2vw,1rem) 0; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s; }
.toc-list a:hover { padding-left: .5rem; color: #699661; }
.toc-list i { font: italic 1.2rem var(--serif); }
.toc-list span { font: 600 clamp(1rem,1.7vw,1.5rem) var(--serif); }
.toc-list small { display: block; margin-top: .2rem; font: .56rem var(--sans); letter-spacing: .08em; }
.toc-list b { font-size: 1rem; }
.toc-footer { display: flex; align-items: end; justify-content: space-between; margin-top: 1.2rem; }
.tiny-sticker { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--coral); color: white; text-align: center; font-size: .48rem; line-height: 1.3; font-weight: 700; transform: rotate(-8deg); }
.toc-footer p { margin: 0; text-align: right; font: 500 1.2rem/1 var(--serif); }
.toc-footer em { color: #6b9e6f; }
.book-cover { position: absolute; inset: 0 auto 0 25%; width: 50%; border: 0; padding: 0; cursor: pointer; overflow: hidden; color: var(--deep); transform-origin: left center; transform-style: preserve-3d; transition: left .8s cubic-bezier(.2,.8,.2,1), transform 1.35s cubic-bezier(.18,.78,.12,1), box-shadow 1.2s; border-radius: 3px 14px 14px 3px; box-shadow: -12px 0 20px rgba(30,62,51,.14), 8px 18px 24px rgba(30,62,51,.2); backface-visibility: hidden; }
.book-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-cover__wash { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,.2), transparent 40%, rgba(227,240,217,.1)); }
.book-cover__top { position: absolute; inset: 4% 5% auto; border-top: 1px solid currentColor; padding-top: .65rem; text-align: left; font-size: .52rem; letter-spacing: .18em; }
.book-cover__edition { position: absolute; right: 5%; top: 12%; font: 500 .66rem/1.2 var(--serif); text-align: right; }
.book-cover__title { position: absolute; top: 18%; left: 9%; right: 9%; text-align: left; }
.book-cover__title b { display: block; font: 500 clamp(2.5rem,5.3vw,5.4rem)/.75 var(--serif); letter-spacing: -.05em; }
.book-cover__title em { display: block; margin-left: 10%; font: italic 500 clamp(2.5rem,5.3vw,5.4rem)/.88 var(--serif); color: #5a8b67; }
.book-cover__title small { display: block; margin: 1.4rem 0 0 12%; font: 500 clamp(.65rem,.8vw,.85rem) var(--serif); letter-spacing: .1em; }
.book-cover__seal { position: absolute; left: 8%; bottom: 8%; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border: 1px solid var(--deep); border-radius: 50%; font-size: .55rem; line-height: 1.3; letter-spacing: .12em; transform: rotate(-10deg); }
.book-cover__hint { position: absolute; right: 6%; bottom: 6%; display: flex; gap: .5rem; align-items: center; font-size: .62rem; letter-spacing: .12em; }
.book-cover__hint i { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--coral); color: white; font-style: normal; }
.book.is-open .book__spread { opacity: 1; }
.book.is-open .book-cover { left: 50%; transform: rotateY(-176deg); box-shadow: 16px 12px 25px rgba(30,62,51,.18); pointer-events: none; }
.book.is-open { transform: translateX(0); }
.open-book, .enter-site { position: absolute; bottom: 1.4rem; z-index: 4; border: 0; background: transparent; cursor: pointer; }
.open-book { right: 3vw; width: 10rem; height: 10rem; border-radius: 50%; background: var(--ink); color: white; transform: rotate(7deg); transition: transform .3s, background .3s; }
.open-book span { display: block; font: italic 1.3rem var(--serif); }
.open-book i { display: block; margin-top: .4rem; font-size: .58rem; font-style: normal; letter-spacing: .12em; }
.open-book:hover { transform: rotate(0) scale(1.05); background: #5d8b64; }
.book-stage.is-open .open-book { opacity: 0; pointer-events: none; transform: translateY(20px); }
.enter-site { opacity: 0; pointer-events: none; left: 50%; transform: translate(-50%,20px); padding: .8rem 1.4rem; border-bottom: 1px solid currentColor; font-size: .68rem; letter-spacing: .16em; transition: .45s .8s; }
.book-stage.is-open .enter-site { opacity: 1; pointer-events: auto; transform: translate(-50%,0); }

/* NAV */
.site-content { position: relative; background: var(--paper); }
.ticker { overflow: hidden; background: var(--lime); border-block: 1px solid var(--ink); padding: .6rem 0; font-size: .62rem; letter-spacing: .18em; white-space: nowrap; }
.ticker div { width: max-content; animation: ticker 24s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: .9rem 4vw; background: rgba(255,253,247,.88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand b { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--ink); color: white; font: italic 1rem var(--serif); }
.brand span { font-size: .52rem; line-height: 1.35; letter-spacing: .12em; }
.site-nav { display: flex; gap: 2.2rem; font-size: .68rem; letter-spacing: .12em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 1px; background: var(--ink); transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.pill { padding: .8rem 1.1rem; border: 1px solid var(--ink); border-radius: 999px; font-size: .6rem; letter-spacing: .12em; }
.pill:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; }

/* EDITORIAL SECTIONS */
.editorial-hero { min-height: 100svh; display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items: center; padding: 8rem 6vw 7rem; overflow: hidden; background: radial-gradient(circle at 5% 20%, #eef6d1, transparent 25%), var(--paper); }
.section-label { margin: 0 0 2rem; font-size: .62rem; letter-spacing: .18em; }
.section-label i { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-right: .8rem; border-radius: 50%; background: var(--coral); color: white; font-style: normal; }
.hero-copy h1, .section-head h2, .profile-spread h2, .journey h2, .mood-board h2 { margin: 0; font: 500 clamp(3rem,6.2vw,7.4rem)/.88 var(--serif); letter-spacing: -.055em; }
.hero-copy h1 em, .section-head h2 em, .profile-spread h2 em, .journey h2 em, .mood-board h2 em { color: #6a9a6c; font-weight: 500; }
.hero-lead { max-width: 35rem; margin: 2rem 0; font-size: clamp(.92rem,1.2vw,1.1rem); line-height: 1.9; }
.identity-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.identity-row span, .skill-cloud span { padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .58rem; letter-spacing: .11em; background: rgba(255,255,255,.55); }
.round-link { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.2rem; font-size: .68rem; letter-spacing: .16em; }
.round-link b { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: white; transition: transform .25s; }
.round-link:hover b { transform: translateY(5px); }
.hero-collage { position: relative; min-height: 720px; }
.sky-photo { position: absolute; width: 64%; right: 2%; top: 0; margin: 0; padding: 10px 10px 42px; background: white; box-shadow: 0 20px 50px rgba(31,65,56,.15); transform: rotate(2.4deg); }
.sky-photo img { height: 520px; object-fit: cover; object-position: center 33%; }
.sky-photo figcaption { padding-top: 1rem; font: italic .88rem var(--serif); }
.flower-photo { position: absolute; left: 0; bottom: 1rem; width: 47%; margin: 0; padding: 9px; background: #fff; box-shadow: 0 14px 35px rgba(31,65,56,.16); transform: rotate(-5deg); }
.flower-photo img { aspect-ratio: .86; object-fit: cover; }
.paper-note { position: absolute; right: 0; bottom: 4%; min-width: 15rem; padding: 1.5rem; background: var(--pistachio); transform: rotate(4deg); font: italic 2rem/1 var(--serif); box-shadow: 0 8px 20px rgba(31,65,56,.1); }
.paper-note span { display: block; margin-top: 1rem; font: .55rem var(--sans); letter-spacing: .15em; }
.doodle { position: absolute; z-index: 4; color: var(--coral); font-size: 5rem; }
.doodle--one { right: 58%; top: 4%; transform: rotate(-12deg); }
.doodle--two { right: 4%; top: 52%; color: var(--blue); font-size: 6rem; }
.tape { position: absolute; z-index: 5; width: 8rem; height: 2rem; top: -1rem; right: 22%; background: rgba(227,238,184,.75); transform: rotate(-7deg); }
.quote-spread { min-height: 65vh; display: grid; align-content: center; gap: 2rem; padding: 7rem 9vw; background: var(--blue); position: relative; overflow: hidden; }
.quote-spread::after { content: '✿'; position: absolute; right: 5%; bottom: -3rem; font: 16rem var(--serif); color: rgba(255,255,255,.45); }
.quote-spread > p, .quote-spread > span { margin: 0; font-size: .62rem; letter-spacing: .2em; }
.quote-spread blockquote { margin: 0; max-width: 70rem; font: 500 clamp(2.2rem,4.5vw,5.2rem)/1.18 var(--serif); }
.works, .journey { padding: 9rem 5vw; }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 4rem; margin-bottom: 4rem; }
.section-head .section-label { grid-column: 1 / -1; margin-bottom: -1rem; }
.section-head > p:last-child { max-width: 32rem; line-height: 1.8; }
.filters { display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter { border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: .7rem 1rem; font-size: .58rem; letter-spacing: .13em; cursor: pointer; }
.filter.is-active, .filter:hover { background: var(--ink); color: white; }
.project-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 5rem 1.5rem; }
.project-card { grid-column: span 6; border: 0; padding: 0; background: transparent; text-align: left; cursor: pointer; transition: transform .3s; }
.project-card:nth-child(4n+1), .project-card:nth-child(4n+4) { grid-column: span 7; }
.project-card:nth-child(4n+2), .project-card:nth-child(4n+3) { grid-column: span 5; margin-top: 6rem; }
.project-card[hidden] { display: none; }
.project-card__image { position: relative; overflow: hidden; background: var(--mint); }
.project-card__image img { aspect-ratio: 1.25; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project-card:nth-child(3n+2) .project-card__image img { aspect-ratio: .88; }
.project-card:hover .project-card__image img { transform: scale(1.035); }
.project-card__index { position: absolute; left: .8rem; top: .8rem; z-index: 2; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; background: var(--paper); border-radius: 50%; font: italic 1rem var(--serif); }
.project-card__open { position: absolute; right: .8rem; top: .8rem; z-index: 2; padding: .65rem .9rem; background: var(--lime); border-radius: 99px; font-size: .55rem; letter-spacing: .08em; }
.project-card__content { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding-top: 1rem; border-top: 1px solid transparent; }
.project-card__content h3 { margin: 0; font: 600 clamp(1.5rem,2.4vw,2.6rem) var(--serif); }
.project-card__content > span { font-size: .55rem; letter-spacing: .1em; text-align: right; }
.project-card__content p { grid-column: 1/-1; margin: .4rem 0 0; color: #526c63; font-size: .82rem; }
.profile-spread { display: grid; grid-template-columns: 1.05fr 1.2fr .75fr; gap: 4vw; padding: 9rem 6vw; background: var(--mint); border-block: 1px solid var(--line); }
.profile-spread__facts dl { margin: 0; }
.profile-spread__facts dl div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.profile-spread__facts dt { font-size: .65rem; color: #6a8279; }
.profile-spread__facts dd { margin: 0; font: 500 1rem/1.6 var(--serif); }
.skill-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.profile-spread aside { align-self: start; padding: 2rem; background: var(--lime); transform: rotate(2deg); box-shadow: 0 12px 30px rgba(31,65,56,.12); }
.profile-spread aside span { font-size: .55rem; letter-spacing: .16em; }
.profile-spread aside b { display: block; margin: 1rem 0; font: italic 5rem/1 var(--serif); }
.profile-spread aside p { margin: 0; font: 500 1rem/1.7 var(--serif); }
.journey { background: #fbf9f1; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: .5fr 1.4fr auto; gap: 3vw; align-items: start; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.timeline time { font: italic 1.4rem var(--serif); }
.timeline h3 { margin: 0 0 .5rem; font: 600 1.6rem var(--serif); }
.timeline p { max-width: 44rem; margin: 0; color: #587168; line-height: 1.8; }
.timeline > li > span { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--ink); border-radius: 50%; font: italic 1rem var(--serif); }
.timeline .future { margin-top: 1rem; padding-inline: 1.5rem; background: var(--celadon); border: 0; }
.mood-board { min-height: 900px; position: relative; padding: 8rem 6vw; overflow: hidden; background: linear-gradient(125deg,#b9d6bd,#dfeebc); }
.mood-board__copy { width: 35%; position: relative; z-index: 5; }
.mood-board__copy > p:last-child { max-width: 28rem; line-height: 1.8; }
.mood-board figure { position: absolute; margin: 0; padding: 8px 8px 30px; background: white; box-shadow: 0 18px 45px rgba(31,65,56,.18); }
.mood-board figure img { height: 100%; object-fit: cover; }
.mood-a { width: 35%; height: 62%; right: 8%; top: 10%; transform: rotate(3deg); }
.mood-b { width: 24%; height: 39%; right: 36%; bottom: 6%; transform: rotate(-5deg); }
.mood-c { width: 18%; height: 31%; right: 2%; bottom: 2%; transform: rotate(7deg); }
.mood-sticker { position: absolute; right: 45%; top: 13%; z-index: 4; display: grid; place-items: center; width: 7rem; height: 7rem; border-radius: 50%; background: var(--coral); color: white; text-align: center; font-size: .7rem; line-height: 1.3; letter-spacing: .12em; transform: rotate(-10deg); }
.contact { min-height: 85vh; padding: 7rem 6vw 2rem; display: flex; flex-direction: column; background: var(--ink); color: #f8faed; }
.contact__top { display: flex; justify-content: space-between; align-items: start; }
.contact__top span { font-size: .6rem; letter-spacing: .17em; }
.contact h2 { margin: auto 0 2rem; max-width: 75rem; font: 500 clamp(3.2rem,7.4vw,8rem)/.88 var(--serif); letter-spacing: -.05em; }
.contact h2 em { color: var(--lime); }
.contact > p { margin: 0 0 2rem; }
.contact__links { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact__links a { display: flex; justify-content: space-between; min-width: min(100%,24rem); padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.35); font: 500 1.1rem var(--serif); }
.contact__links b { color: var(--coral); }
.contact__links > span { align-self: center; padding: 1rem 0; font-size: .58rem; letter-spacing: .16em; color: rgba(255,255,255,.7); }
.contact footer { display: flex; justify-content: space-between; margin-top: auto; padding-top: 4rem; font-size: .55rem; letter-spacing: .13em; }

/* DIALOG */
.project-dialog { width: min(94vw,1300px); max-height: 92vh; padding: 0; border: 0; border-radius: 12px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.project-dialog::backdrop { background: rgba(19,48,39,.72); backdrop-filter: blur(8px); }
.dialog__topbar { position: sticky; top: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); background: rgba(255,253,247,.93); }
.dialog__topbar p, .dialog__close { margin: 0; font-size: .58rem; letter-spacing: .15em; }
.dialog__close { border: 0; background: var(--ink); color: white; border-radius: 99px; padding: .65rem .9rem; cursor: pointer; }
.dialog__content { display: grid; grid-template-columns: .72fr 1.28fr; gap: 3rem; padding: 3rem; }
.dialog__intro { position: sticky; top: 6rem; align-self: start; }
.dialog__intro h2 { margin: .5rem 0 1rem; font: 600 clamp(2.4rem,4vw,4.8rem)/.9 var(--serif); }
.dialog__intro > p:not(.section-label) { line-height: 1.85; }
.dialog__intro dl div { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.dialog__intro dt { font-size: .65rem; }
.dialog__intro dd { margin: 0; font: 500 .95rem var(--serif); }
.dialog__gallery { display: grid; gap: 1rem; }
.dialog__gallery figure { margin: 0; background: var(--mint); }
.dialog__gallery img { width: 100%; }

/* MUSIC */
.music-dock { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: min(23rem, calc(100vw - 2rem)); filter: drop-shadow(0 14px 28px rgba(22,58,48,.2)); }
.music-dock__toggle { width: 100%; min-height: 4.2rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .65rem .85rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(31,65,56,.94); color: white; text-align: left; cursor: pointer; backdrop-filter: blur(12px); }
.music-dock__toggle > span:nth-child(2) { min-width: 0; }
.music-dock__toggle b, .music-dock__toggle em { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music-dock__toggle b { margin-bottom: .25rem; font-size: .48rem; letter-spacing: .18em; color: var(--lime); }
.music-dock__toggle em { font: italic .86rem var(--serif); }
.music-disc { position: relative; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: repeating-radial-gradient(circle, #18362d 0 3px, #315c4e 4px 5px); border: 1px solid rgba(255,255,255,.45); }
.music-disc::before { content: 'NQ'; position: absolute; inset: 29%; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font: italic .48rem var(--serif); }
.music-disc i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: white; left: calc(50% - 2px); top: calc(50% - 2px); z-index: 2; }
.music-dock.is-playing .music-disc { animation: record-spin 5s linear infinite; }
@keyframes record-spin { to { transform: rotate(360deg); } }
.music-dock__arrow { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: .62rem; font-style: normal; transition: transform .3s, background .3s; }
.music-dock.is-playing .music-dock__arrow { background: var(--coral); }
.music-progress { display: block; width: 100%; height: 2px; margin-top: .42rem; overflow: hidden; background: rgba(255,255,255,.18); }
.music-progress i { display: block; width: 0; height: 100%; background: var(--lime); transition: width .2s linear; }
.music-dock audio { display: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .book-stage { padding: 4rem 1rem 6rem; align-items: center; }
  .book { width: min(92vw,560px); aspect-ratio: .76; }
  .book__spread { grid-template-columns: 1fr; overflow-y: auto; }
  .book-page { min-height: 100%; padding: 1.5rem; }
  .book-page--left { display: none; }
  .book-cover { left: 0; width: 100%; transform-origin: left center; }
  .book.is-open .book-cover { left: 0; transform: rotateY(-178deg); }
  .book-cover__title b, .book-cover__title em { font-size: clamp(3.2rem,13vw,5rem); }
  .book-stage__whisper { display: none; }
  .open-book { width: 7.5rem; height: 7.5rem; right: 1rem; bottom: 1rem; }
  .site-header { min-height: 64px; }
  .site-nav { position: fixed; inset: 64px 0 auto; display: none; flex-direction: column; gap: 0; padding: 1rem 5vw 2rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: grid; gap: 5px; border: 0; background: transparent; padding: .5rem; }
  .menu-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); }
  .pill { display: none; }
  .editorial-hero { grid-template-columns: 1fr; padding: 6rem 5vw; }
  .hero-collage { min-height: 640px; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-head .section-label { margin-bottom: 0; }
  .project-card, .project-card:nth-child(n) { grid-column: span 6; margin-top: 0; }
  .profile-spread { grid-template-columns: 1fr; }
  .profile-spread aside { max-width: 24rem; }
  .mood-board { min-height: 1050px; }
  .mood-board__copy { width: 70%; }
  .mood-a { width: 52%; height: 48%; right: 6%; top: 34%; }
  .mood-b { width: 38%; height: 31%; left: 8%; bottom: 5%; }
  .mood-c { width: 31%; height: 25%; right: 5%; bottom: 1%; }
  .dialog__content { grid-template-columns: 1fr; padding: 1.5rem; }
  .dialog__intro { position: static; }
}

@media (max-width: 600px) {
  .book-stage__notes { inset-inline: 1rem; }
  .book-stage__notes span:last-child { display: none; }
  .book { width: 92vw; aspect-ratio: .7; }
  .book-cover__title { top: 20%; }
  .book-cover__seal { width: 4rem; height: 4rem; }
  .toc-list a { padding: .9rem 0; }
  .toc-list span { font-size: 1.25rem; }
  .editorial-hero { padding-top: 5rem; }
  .hero-collage { min-height: 500px; }
  .sky-photo { width: 78%; }
  .sky-photo img { height: 360px; }
  .flower-photo { width: 46%; }
  .paper-note { min-width: 10rem; font-size: 1.4rem; padding: 1rem; }
  .quote-spread { min-height: 70vh; padding-inline: 6vw; }
  .works, .journey { padding: 6rem 5vw; }
  .project-grid { gap: 3.2rem 0; }
  .project-card, .project-card:nth-child(n) { grid-column: 1/-1; }
  .project-card:nth-child(3n+2) .project-card__image img { aspect-ratio: 1.1; }
  .profile-spread { padding: 6rem 5vw; }
  .timeline li { grid-template-columns: 1fr auto; }
  .timeline time { grid-column: 1/-1; }
  .timeline h3 { font-size: 1.3rem; }
  .mood-board { min-height: 900px; padding: 6rem 5vw; }
  .mood-board__copy { width: 90%; }
  .mood-a { width: 62%; height: 42%; top: 40%; }
  .mood-b { width: 44%; height: 28%; }
  .mood-c { width: 34%; height: 23%; }
  .mood-sticker { width: 5.5rem; height: 5.5rem; right: 1rem; top: 34%; }
  .contact { padding-inline: 5vw; }
  .contact footer { gap: 1rem; flex-wrap: wrap; }
  .music-dock { right: .7rem; bottom: .7rem; width: calc(100vw - 1.4rem); }
  .music-dock__toggle { min-height: 3.7rem; }
  .music-disc { width: 2.45rem; height: 2.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
