/* Original warm-paper / ink palette; gold remains the only accent. */
:root {
  --bg: #F4F0E8; --surface: #EDE8DE; --t1: #1D1A15; --t2: #5C5448;
  --t3: #8A8276; --t4: #BFB8AA; --divider: #E0D8CC; --gold: #B8943C;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-ui: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Courier New", monospace;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0B0810; --surface: #121016; --t1: #E8E4DC; --t2: #B8B2A6;
  --t3: #7A7262; --t4: #544E40; --divider: #221E24; --gold: #C9A84C;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { background: var(--bg); color: var(--t1); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; transition: background-color .5s, color .5s; }
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: .12em; }
.gold { color: var(--gold); }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--bg); z-index: 20; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.page-grain { position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .028; 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='.93' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%238A8276' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.header { height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--divider); }
.brand-sm { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 19px; letter-spacing: .18em; }
.brand-sm img { display: block; width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.header-note { color: var(--t2); font-size: 9px; letter-spacing: .19em; margin-left: 64px; }
.header nav { display: flex; align-items: center; gap: 29px; font-size: 12px; color: var(--t2); }
.header nav a { transition: color .25s; }
.header nav a:hover { color: var(--gold); }
.theme-btn { background: none; border: 1px solid var(--divider); min-width: 66px; min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; font-size: 12px; border-radius: 30px; transition: border-color .3s; }
.theme-btn:hover { border-color: var(--gold); }
.theme-symbol { font-size: 18px; line-height: 1; }
.hero { position: relative; }
.hero-topline { display: flex; justify-content: space-between; color: var(--t2); margin-top: 29px; font-size: 9px; letter-spacing: .13em; }
.hero-topline > span:first-child { display: flex; align-items: center; gap: 10px; }
.hero-topline > span:last-child { font-family: var(--font-serif); letter-spacing: .3em; }
.live-dot { display: inline-block; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px color-mix(in srgb, var(--gold) 50%, transparent); animation: breathe 3s ease-in-out infinite; }
.hero-stage { min-height: 566px; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 22px 0 26px; }
.eyebrow { font-size: 10px; letter-spacing: .28em; color: var(--t2); }
.hero-title { display: flex; font-family: var(--font-serif); font-size: clamp(94px, 11.4vw, 164px); line-height: 1.3; font-weight: 400; letter-spacing: -.055em; margin: 17px 0 22px -9px; white-space: nowrap; }
.hero-title span { display: inline-block; animation: title-arrive 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.hero-title span:nth-child(2) { animation-delay: .12s; }
.hero-title span:nth-child(3) { animation-delay: .24s; }
.hero-caption { display: flex; gap: 18px; align-items: flex-start; margin-top: 12px; }
.gold-rule { width: 30px; height: 1px; background: var(--gold); margin-top: 12px; }
.hero-caption p { color: var(--t2); font-family: var(--font-serif); font-size: 17px; line-height: 1.95; letter-spacing: .16em; }
.explore-link { margin-top: 29px; display: inline-flex; align-items: center; gap: 41px; font-size: 11px; letter-spacing: .12em; padding: 13px 0; border-bottom: 1px solid var(--t4); transition: gap .4s, color .4s; }
.explore-link:hover { gap: 55px; color: var(--gold); }
.explore-link span { font-size: 21px; }
.hero-enter { animation: arrive 1.1s .3s both; }
.sculpture { position: relative; width: 100%; aspect-ratio: 1; max-height: 570px; isolation: isolate; transform: translateY(-5px); }
.sculpture-aura { position: absolute; inset: 2%; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--gold) 13%, transparent), transparent 66%); animation: aura-breathe 7s ease-in-out infinite; }
#egg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.orbit { position: absolute; left: 6%; top: 8%; width: 88%; height: 82%; border: 1px solid color-mix(in srgb, var(--gold) 27%, transparent); border-radius: 50%; transform: rotate(-30deg) scaleY(.7); }
.orbit::before { content: ""; position: absolute; width: 5px; height: 5px; left: 50%; top: -3px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 14px var(--gold); }
.orbit-one { animation: orbit-turn 32s linear infinite; }
.orbit-two { left: 1%; top: 12%; width: 98%; height: 75%; transform: rotate(37deg) scaleY(.78); border-color: color-mix(in srgb, var(--gold) 16%, transparent); animation: orbit-return 44s linear infinite; }
.orbit-three { left: 14%; top: 5%; width: 72%; height: 87%; transform: rotate(26deg); border-style: dashed; border-color: color-mix(in srgb, var(--gold) 17%, transparent); animation: full-turn 90s linear infinite; }
.orbit-three::before { display: none; }
.egg-fallback { position: absolute; width: 43%; height: 60%; top: 16%; left: 28.5%; border: 1px solid var(--gold); border-radius: 49% 49% 46% 46% / 61% 61% 39% 39%; background: radial-gradient(ellipse at 65% 28%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 72%); }
.canvas-ready .egg-fallback { display: none; }
.sculpture-label { position: absolute; bottom: 3%; left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--t2); display: flex; flex-direction: column; text-align: center; gap: 10px; font-size: 9px; letter-spacing: .2em; }
.sculpture-label > span:last-child { font-family: var(--font-serif); font-size: 10px; color: var(--t3); letter-spacing: .25em; }
.sculpture-cross { position: absolute; font-size: 16px; color: var(--gold); font-family: var(--font-mono); }
.cross-top { top: 10%; left: 18%; }
.cross-bottom { bottom: 18%; right: 8%; }
.hero-side { position: absolute; top: 50%; right: -35px; writing-mode: vertical-rl; transform: translateY(-50%); color: var(--t3); font-size: 8px; letter-spacing: .2em; }
.countdown { border-block: 1px solid var(--divider); padding: 31px 0 29px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.countdown-kicker { color: var(--t2); display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .18em; }
.countdown .line { font-family: var(--font-serif); font-size: clamp(23px, 2.2vw, 32px); line-height: 1.45; margin: 10px 0 9px; letter-spacing: .06em; white-space: nowrap; }
.countdown .hl { font-family: Georgia, "Times New Roman", serif; font-size: 1.85em; line-height: 1; font-weight: 400; letter-spacing: -.045em; padding: 0 8px; display: inline-block; color: var(--gold); font-variant-numeric: tabular-nums; }
.date { color: var(--t2); font-size: 10px; letter-spacing: .27em; }
.countdown-right { padding-left: 22px; }
.detail { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.unit { display: flex; flex-direction: column; align-items: center; min-width: 42px; }
.num { font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3vw, 42px); font-weight: 400; font-variant-numeric: tabular-nums; color: var(--t1); line-height: 1.15; }
.label { color: var(--t2); margin-top: 11px; display: flex; gap: 5px; align-items: center; font-size: 9px; white-space: nowrap; }
.label span { font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; color: var(--t3); }
.countdown .sep { font-family: var(--font-mono); font-size: 17px; color: var(--t4); margin-top: 10px; }
.time-track { margin-top: 21px; height: 1px; background: var(--divider); overflow: hidden; }
.time-track span { display: block; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s linear; opacity: .6; }
.noscript-note { font-size: 12px; color: var(--t2); }
.hero-bottom { color: var(--t3); font-size: 8px; letter-spacing: .16em; display: flex; justify-content: space-between; padding-block: 20px; }
.hero-bottom a { font-family: var(--font-ui); font-size: 10px; color: var(--t2); letter-spacing: .05em; }
.hero-bottom a span { margin-left: 12px; }
.motion-toggle { border: 0; background: none; cursor: pointer; color: var(--t2); font-family: var(--font-ui); font-size: 10px; padding: 12px; margin-block: -12px; min-height: 36px; }
.motion-toggle span { color: var(--gold); margin-left: 6px; }
.motion-toggle:disabled { cursor: default; }
.project-section { padding-top: 109px; padding-bottom: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-heading h2 { font-family: var(--font-serif); font-size: clamp(30px, 3vw, 44px); font-weight: 400; letter-spacing: .045em; margin-top: 15px; }
.collection-count { color: var(--t2); padding-bottom: 4px; font-size: 9px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { position: relative; isolation: isolate; }
.featured { min-width: 0; border: 1px solid var(--divider); background: var(--surface); padding: 25px 31px 0; overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.featured::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(440px circle at var(--spot-x, 50%) var(--spot-y, 50%), color-mix(in srgb, var(--gold) 13%, transparent), transparent 75%); transition: opacity .4s; }
.featured:hover::before { opacity: 1; }
.featured:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--divider)); box-shadow: 0 18px 45px -30px color-mix(in srgb, var(--gold) 28%, transparent); }
.card-top { display: flex; justify-content: space-between; gap: 10px; color: var(--t2); font-size: 9px; }
.card-kind { font-family: var(--font-ui); font-size: 10px; letter-spacing: .05em; }
.card-art { height: 214px; position: relative; display: flex; align-items: center; justify-content: center; }
.art-caption { position: absolute; bottom: 14px; font-size: 7px; letter-spacing: .17em; color: var(--t2); }
.waveform { width: 82%; height: 116px; display: flex; gap: 5px; align-items: center; justify-content: center; }
.waveform i { --bar-height: 50%; display: block; flex: 1; max-width: 3px; height: var(--bar-height); background: var(--gold); opacity: .6; transform-origin: center; animation: wave-dance 2.6s ease-in-out infinite alternate; animation-delay: var(--bar-delay, 0s); animation-play-state: paused; }
.waveform i:nth-child(4n) { opacity: .9; }
.featured:hover .waveform i, .featured:focus-visible .waveform i { animation-play-state: running; }
.music-art::before, .music-art::after { content: ""; width: 92%; height: 1px; position: absolute; top: 49%; background: var(--gold); opacity: .16; }
.music-art::after { width: 130px; height: 130px; border-radius: 50%; background: none; border: 1px solid var(--gold); top: 17%; }
.chamber-ring { position: absolute; width: 143px; height: 143px; border: 1px solid var(--gold); border-radius: 50%; opacity: .45; top: 22px; }
.ring-a { width: 156px; height: 156px; top: 16px; border-style: dashed; animation: full-turn 70s linear infinite; }
.ring-b { transform: rotate(-38deg) scaleX(.57); animation: chamber-orbit 16s linear infinite; }
.ring-c { transform: rotate(38deg) scaleX(.57); animation: chamber-orbit 22s linear infinite reverse; }
.ring-a::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); top: -3px; left: 50%; }
.chamber-core { position: relative; margin-top: -23px; font-family: var(--font-serif); font-size: 39px; color: var(--gold); font-weight: 400; transition: transform .6s; }
.featured:hover .chamber-core { transform: scale(1.13); }
.card-title-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.name { font-family: var(--font-serif); font-size: 29px; font-weight: 400; letter-spacing: .05em; }
.arrow { display: inline-grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--divider); border-radius: 50%; font-size: 20px; font-family: var(--font-ui); color: var(--t2); transition: transform .4s, border-color .4s, color .4s, background .4s; }
.card:hover .arrow { transform: rotate(45deg); border-color: var(--gold); background: var(--gold); color: var(--bg); }
.desc { font-size: 12px; color: var(--t2); line-height: 1.9; text-wrap: pretty; letter-spacing: .025em; }
.featured .desc { margin-top: 14px; min-height: 69px; max-width: 440px; }
.card-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--divider); padding: 18px 0; margin-top: 24px; font-size: 10px; font-family: var(--font-ui); color: var(--t2); letter-spacing: .05em; }
.new-tab-note { color: var(--t3); font-size: 9px; }
.project-row { grid-column: 1 / -1; display: grid; grid-template-columns: 70px 1fr 1.55fr 50px; align-items: center; gap: 24px; min-height: 143px; border-bottom: 1px solid var(--divider); padding: 28px 18px; margin-top: -24px; transition: background .4s; }
.project-row:nth-child(3) { margin-top: 18px; border-top: 1px solid var(--divider); }
.project-number { color: var(--gold); font-size: 11px; }
.project-category { color: var(--t2); font-size: 8px; letter-spacing: .14em; }
.project-row .name { font-size: 24px; margin-top: 10px; }
.project-row .arrow { justify-self: end; }
.project-row:hover { background: var(--surface); }
.project-row .row-title { transition: transform .4s; }
.project-row:hover .row-title { transform: translateX(7px); }
.footer { border-top: 1px solid var(--divider); padding-block: 33px 44px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 17px; font-family: var(--font-serif); font-size: 21px; letter-spacing: .08em; }
.footer-brand span { color: var(--t2); font-size: 8px; letter-spacing: .15em; }
.footer-brand img { display: block; width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.footer > p { color: var(--t2); font-size: 9px; }
.footer-about { font-size: 11px; color: var(--t2); }
.footer-about span { margin-left: 28px; }
.reveal.is-pending { opacity: 0; transform: translateY(25px); }
.reveal { transition: opacity .85s, transform .85s cubic-bezier(.16, 1, .3, 1), border-color .4s, background .4s; }
.reveal.is-visible { opacity: 1; transform: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.offscreen-art, .offscreen-art *, .offscreen-art *::before { animation-play-state: paused !important; }
@keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes title-arrive { from { opacity: 0; transform: translateY(40px) rotate(4deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes aura-breathe { 0%, 100% { transform: scale(.9); opacity: .65; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes orbit-turn { from { transform: rotate(-30deg) scaleY(.7); } to { transform: rotate(330deg) scaleY(.7); } }
@keyframes orbit-return { from { transform: rotate(37deg) scaleY(.78); } to { transform: rotate(-323deg) scaleY(.78); } }
@keyframes full-turn { to { transform: rotate(360deg); } }
@keyframes chamber-orbit { from { transform: rotate(-38deg) scaleX(.57); } to { transform: rotate(322deg) scaleX(.57); } }
@keyframes wave-dance { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1.15); } }
@media (min-width: 1600px) { .hero-stage { min-height: 620px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero-stage { min-height: 496px; }
  .hero-title { font-size: 11.5vw; }
  .hero-side { right: -22px; }
  .hero-caption p { font-size: 15px; }
  .countdown { gap: 18px; }
  .countdown-right { padding-left: 0; }
  .label span { display: none; }
  .featured { padding-inline: 24px; }
  .featured .desc { min-height: 92px; }
  .project-row { grid-template-columns: 38px 1fr 1.5fr 40px; gap: 18px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .header { height: 78px; }
  .header-note { display: none; }
  .header nav { gap: 19px; }
  .header nav a { min-height: 44px; display: flex; align-items: center; }
  .theme-btn { min-height: 40px; min-width: 61px; }
  .brand-sm { font-size: 17px; gap: 8px; }
  .brand-sm img { width: 32px; height: 32px; }
  .hero-topline { margin-top: 23px; font-size: 7px; letter-spacing: .07em; }
  .hero-stage { min-height: auto; grid-template-columns: 1fr; padding-top: 49px; }
  .hero-copy { padding: 0; }
  .hero-title { font-size: clamp(83px, 21.5vw, 150px); margin: 12px 0 15px -4px; letter-spacing: .015em; }
  .hero-caption { margin-top: 0; gap: 13px; }
  .hero-caption p { font-size: 14px; line-height: 1.8; }
  .gold-rule { width: 23px; }
  .explore-link { position: absolute; right: 0; bottom: 3px; margin: 0; gap: 20px; font-size: 10px; }
  .explore-link:hover { gap: 25px; }
  .sculpture { width: min(100%, 480px); margin: 17px auto 0; transform: none; aspect-ratio: 1.09; }
  .sculpture-label { bottom: 3%; font-size: 8px; }
  .sculpture-label > span:last-child { display: none; }
  .hero-side { display: none; }
  .countdown { grid-template-columns: 1fr; gap: 26px; padding-block: 28px; margin-top: 16px; }
  .countdown-main { position: relative; }
  .countdown .line { font-size: 26px; margin-bottom: 0; }
  .countdown .hl { font-size: 1.75em; }
  .date { position: absolute; top: 0; right: 0; font-size: 8px; letter-spacing: .1em; }
  .countdown-kicker { font-size: 8px; }
  .num { font-size: 32px; }
  .detail { gap: 4px; }
  .unit { min-width: 34px; }
  .label { font-size: 9px; margin-top: 9px; }
  .label span { display: inline; font-size: 7px; }
  .countdown .sep { margin-top: 7px; font-size: 15px; }
  .time-track { margin-top: 19px; }
  .hero-bottom { font-size: 6px; letter-spacing: .08em; }
  .hero-bottom a { font-size: 9px; }
  .motion-toggle { font-size: 9px; padding-inline: 6px; }
  .project-section { padding-top: 64px; padding-bottom: 65px; }
  .section-heading { margin-bottom: 29px; }
  .section-heading h2 { font-size: 32px; margin-top: 12px; }
  .section-heading .eyebrow { font-size: 8px; }
  .collection-count { font-size: 7px; letter-spacing: .03em; }
  .projects { grid-template-columns: 1fr; gap: 18px; }
  .featured { padding: 21px 23px 0; }
  .card-art { height: 203px; }
  .featured .desc { min-height: 0; font-size: 12px; line-height: 1.85; }
  .name { font-size: 27px; }
  .card-bottom { margin-top: 23px; }
  .project-row { grid-template-columns: 23px 1fr 37px; gap: 11px; padding: 25px 3px; margin-top: -18px; }
  .project-row:nth-child(3) { margin-top: 16px; }
  .project-row .name { font-size: 23px; }
  .project-row .desc { grid-column: 2; grid-row: 2; margin-top: 2px; }
  .project-row .arrow { grid-column: 3; grid-row: 1; }
  .project-number { align-self: start; margin-top: 3px; font-size: 10px; }
  .project-category { font-size: 7px; }
  .footer { padding-block: 26px 30px; flex-wrap: wrap; gap: 22px; }
  .footer-brand { font-size: 19px; gap: 11px; }
  .footer-brand span { font-size: 7px; }
  .footer-brand img { width: 30px; height: 30px; }
  .footer > p { order: 3; flex-basis: 100%; font-size: 8px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .header nav { gap: 12px; }
  .hero-topline { font-size: 6px; }
  .hero-caption p { font-size: 12px; }
  .countdown .line { font-size: 23px; }
  .label span { display: none; }
  .countdown-kicker { font-size: 7px; }
  .date { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .hero-title span, .hero-enter { opacity: 1; transform: none; filter: none; }
}
