:root { --bg: #fafaf8; --ink: #1d211e; --muted: #626b61; --accent: #d5ff65; --line: #1d211e26; --surface: #f1f2ef; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-nav-height, 84px) + 22px); scroll-padding-bottom: 150px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:where(a, button, summary, input, video, [tabindex]):focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 120; background: var(--ink); color: var(--bg); padding: 14px 20px; }
.skip:focus { top: 12px; }
.world-switcher { display: flex; justify-content: space-between; gap: 20px; padding: 20px 6%; border-bottom: 1px solid var(--line); }
.world-switcher nav { display: flex; gap: 24px; }
#world-main { min-height: 65vh; }
html.has-global-navigation #world-main :where(section, article, details, .participation-host) { scroll-margin-top: 0; }
.section-wrap { padding: clamp(56px, 8vw, 120px) 6%; max-width: 1540px; margin-inline: auto; }
.eyebrow { font-size: 11px; line-height: 1.6; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 24px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); border-radius: 28px; font-size: 14px; line-height: 1.5; }
.primary-link:hover { background: #354332; }
.secondary-link { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--ink); font-size: 14px; line-height: 1.5; }
.secondary-link > span { font-size: 20px; }
.secondary-link:hover { border-bottom-width: 2px; padding-bottom: 9px; }
.home-hero { max-width: 1540px; margin: auto; padding: clamp(64px, 8vw, 124px) 6% 0; display: grid; grid-template-columns: 1.65fr 1fr; gap: 80px 8%; align-items: center; }
.home-hero-copy > .eyebrow { color: var(--muted); margin-bottom: 30px; }
.home-hero h1 { font-size: clamp(52px, 6.4vw, 96px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.home-hero h1 em { font-style: normal; }
.home-deck { max-width: 490px; color: var(--muted); font-size: clamp(16px, 1.55vw, 20px); line-height: 1.65; margin-top: 34px; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; }
.home-identity { width: 100%; max-width: 360px; justify-self: end; }
.home-identity-art { display: grid; align-items: center; aspect-ratio: 1; background: transparent; padding: 11%; }
.home-identity-art svg { display: block; width: 100%; height: auto; }
.home-identity figcaption { display: flex; justify-content: space-between; font-size: 12px; line-height: 1.6; margin-top: 16px; color: var(--muted); }
.home-release { grid-column: 1 / -1; display: grid; grid-template-columns: .8fr 1.25fr 1.7fr 1.1fr; align-items: center; gap: 25px; padding: 31px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.home-release > span { color: var(--muted); font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .07em; }
.home-release > a:not(.home-release-link) { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.home-release p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.home-release-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 6px; }
.home-release-link span { font-size: 20px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; max-width: 1540px; margin: auto; padding: 20px 6%; color: var(--muted); font-size: 12px; line-height: 1.5; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 5px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.music-album { padding-top: 40px; }
.section-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.quiet-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.quiet-status::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #638742; }
.album-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin: 28px 0 48px; }
.album-heading h1 { font-size: clamp(68px, 10.3vw, 148px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.album-heading h1 > span { color: #517b2c; }
.album-heading p { font-size: 15px; line-height: 1.75; color: var(--muted); padding-bottom: 5px; }
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; }
.song-card { max-width: 360px; width: 100%; }
.track-art-button { display: block; width: 100%; padding: 0; background: var(--surface); border: 0; position: relative; text-align: left; }
.track-art-button > img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.track-art-play { display: grid; place-items: center; position: absolute; right: 13px; bottom: 13px; width: 42px; height: 42px; border-radius: 50%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); font-size: 12px; }
.art-play-caption { display: block; position: absolute; left: 13px; bottom: 13px; padding: 10px 13px; font-size: 12px; line-height: 1.6; background: var(--bg); color: var(--ink); }
.track-art-button:hover .track-art-play, .track-art-button.is-playing .track-art-play { background: var(--accent); border-color: var(--ink); }
.song-heading { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 20px; }
.song-heading > span { font-size: 11px; color: var(--muted); padding-top: 5px; }
.song-heading h2 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.song-card > p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 12px 0 3px 36px; }
.track-story-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; line-height: 1.5; color: var(--muted); text-decoration: underline; text-underline-offset: 5px; }
.song-card > .track-story-link { margin-left: 36px; }
.track-story-link:hover { color: var(--ink); }
.album-note, .release-note { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 30px; max-width: 720px; }
.album-progress { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; font-size: 12px; color: var(--muted); }
.album-progress > div { display: flex; gap: 9px; }
.album-progress i { display: block; width: 7px; height: 7px; border: 1px solid var(--muted); border-radius: 50%; }
.album-progress i.is-heard { background: #517b2c; border-color: #517b2c; }
.releases, .music-invitation { border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: .65fr 1.3fr 1fr; gap: 30px; align-items: start; margin-bottom: 40px; }
.section-intro .eyebrow { color: var(--muted); padding-top: 8px; }
.section-intro h2, .music-invitation h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.06; font-weight: 500; letter-spacing: -.04em; }
.section-intro p { font-size: 15px; line-height: 1.8; color: var(--muted); padding-top: 7px; }
.release-chapter { border-top: 1px solid var(--line); }
.release-chapter:last-child { border-bottom: 1px solid var(--line); }
.release-chapter summary { display: grid; grid-template-columns: 55px 1fr 12px; align-items: center; gap: 28px; min-height: 112px; padding: 25px 6px; cursor: pointer; list-style: none; }
.release-chapter summary::-webkit-details-marker { display: none; }
.release-number { font-size: 12px; color: var(--muted); align-self: start; padding-top: 7px; }
.release-name { font-size: clamp(25px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.04em; }
.release-name small { display: block; font-size: 11px; line-height: 1.6; letter-spacing: 0; color: var(--muted); margin-top: 10px; }
.release-chevron { display: block; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.release-chapter[open] .release-chevron { transform: rotate(225deg); }
.release-interior { display: grid; grid-template-columns: 1fr 1.1fr; gap: 7%; padding: 8px 40px 35px 89px; }
.release-interior > div > p { font-size: 16px; line-height: 1.8; max-width: 500px; }
.release-week { display: block; font-size: 11px; color: var(--muted); margin-top: 24px; }
.release-interior > .secondary-link { justify-self: start; align-self: start; }
.release-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.release-records article { min-width: 0; max-width: 210px; }
.release-records img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.release-records h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.03em; font-weight: 500; margin-top: 15px; }
.release-records small { display: block; font-size: 11px; color: var(--muted); margin-top: 6px; }
.release-records .track-story-link { display: flex; }
.play-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 0; background: transparent; border: 0; font-size: 12px; text-align: left; }
.play-button > span { font-size: 10px; }
.play-button:hover, .play-button.is-playing { text-decoration: underline; text-underline-offset: 5px; }
.music-invitation { display: grid; grid-template-columns: 1.1fr 1fr; gap: 9%; align-items: end; }
.music-invitation .eyebrow { color: var(--muted); margin-bottom: 25px; }
.music-invitation p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }
.site-footer { max-width: 1540px; margin: auto; display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 40px 6%; padding: 44px 6% 30px; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.05em; }
.footer-brand > span { display: block; width: 8px; height: 8px; border-radius: 50%; background: #517b2c; }
.site-footer p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 12px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 0 22px; }
.site-footer nav a, .footer-note a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-note { display: flex; flex-direction: column; gap: 16px; align-items: end; padding-top: 10px; font-size: 11px; color: var(--muted); }
.no-script { padding: 60px 6%; max-width: 900px; }
.no-script p { margin: 24px 0; }
.no-script a { text-decoration: underline; }
.no-script audio { max-width: 420px; }
.listening-dock:not(.is-revealed) { display: none; }
.listening-dock { position: fixed; z-index: 85; bottom: 16px; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: 54px minmax(140px, 1fr) auto minmax(160px, .8fr); gap: 20px; align-items: center; padding: 14px 20px; width: calc(100% - 40px); max-width: 1040px; background: #faf9f3; border: 1px solid #1d211e40; border-radius: 6px; box-shadow: 0 6px 30px #1d211e18; }
.listening-dock > img { width: 54px; height: 54px; object-fit: contain; }
.dock-track { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dock-track strong { font-size: 15px; line-height: 1.35; font-weight: 500; }
.dock-track > span { font-size: 11px; line-height: 1.4; color: var(--muted); }
#dock-story { align-self: start; padding: 3px 0; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.dock-controls { display: flex; align-items: center; gap: 4px; }
.dock-controls button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 25px; }
#dock-toggle { font-size: 14px; background: var(--accent); border-color: var(--accent); }
.dock-audio { min-width: 0; }
.player-ready audio { display: none; }
.dock-progress { display: none; }
.player-ready .dock-progress { display: flex; gap: 10px; align-items: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.dock-progress input { min-width: 0; width: 100%; height: 44px; accent-color: #517b2c; cursor: pointer; }
body.player-shown { padding-bottom: 145px; }
#world-main :where(button, a, summary, input) { scroll-margin-bottom: 160px; }
.participation-host { --play-bg: #eeeee4; --play-ink: #1d211e; --play-accent: #d5ff65; --play-line: #1d211e40; padding-top: 0; }
.participation h2 span, .participation-chip.is-filled, .participation[data-phase=success] .participation-status { color: #36532c; }
.participation-primary, .participation-pad:not(:disabled):hover, .participation-pad:not(:disabled):focus-visible { color: #1d211e; }
.participation-secondary:hover, .participation-track-links a:hover, .participation-text-button:hover { color: #36532c; }
.participation-ready-mark i, .participation-chip.is-filled { border-color: #517b2c; }
.participation button:focus-visible, .participation a:focus-visible { outline-color: #1d211e; }
@media (min-width: 1540px) { .project-pages-scope { max-width: 1540px; margin: auto; } }
@media (max-width: 1000px) {
  .home-hero { grid-template-columns: 1.5fr 1fr; gap: 38px 5%; }
  .home-hero h1 { font-size: 7vw; }
  .home-release { grid-template-columns: .8fr 1.2fr 1.5fr; }
  .home-release-link { grid-column: 2 / -1; justify-self: start; }
  .section-intro { grid-template-columns: 1.2fr 1fr; }
  .section-intro > .eyebrow { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1.4fr 1fr; }
  .footer-note { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; align-items: center; }
}
@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; padding-top: 52px; gap: 36px; }
  .home-hero h1 { font-size: 11vw; }
  .home-hero-copy > .eyebrow { font-size: 11px; margin-bottom: 24px; }
  .home-deck { font-size: 16px; margin-top: 25px; max-width: 430px; }
  .home-actions { margin-top: 25px; gap: 8px 22px; }
  .home-identity { display: flex; align-items: center; gap: 24px; max-width: none; justify-self: start; }
  .home-identity-art { width: 110px; flex-shrink: 0; padding: 19px; }
  .home-identity figcaption { font-size: 12px; margin: 0; }
  .home-release { margin-top: 0; gap: 16px 25px; grid-template-columns: 1fr 1fr; padding: 28px 0; }
  .home-release > span { grid-column: 1 / -1; font-size: 10px; }
  .home-release > a:not(.home-release-link) { font-size: 36px; }
  .home-release p { font-size: 12px; }
  .home-release-link { grid-column: 1 / -1; }
  .breadcrumbs { padding-block: 15px; font-size: 11px; }
  .music-album { padding-top: 25px; }
  .section-top { align-items: start; gap: 16px; }
  .section-top .eyebrow, .quiet-status { font-size: 11px; }
  .album-heading { display: block; margin: 22px 0 32px; }
  .album-heading h1 { font-size: 15.7vw; }
  .album-heading p { font-size: 14px; margin-top: 23px; }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .song-heading { gap: 7px; grid-template-columns: 20px 1fr; margin-top: 16px; }
  .song-heading h2 { font-size: 22px; line-height: 1.2; }
  .song-heading > span { font-size: 9px; }
  .song-card > p { font-size: 13px; margin: 12px 0 3px; }
  .song-card > .track-story-link { margin-left: 0; }
  .art-play-caption { position: static; font-size: 11px; padding: 10px 0; background: transparent; }
  .track-art-button { background: transparent; }
  .track-art-play { bottom: 50px; right: 10px; width: 36px; height: 36px; font-size: 10px; }
  .album-progress { align-items: start; flex-wrap: wrap; }
  .section-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .section-intro h2, .music-invitation h2 { font-size: 12vw; }
  .section-intro p { font-size: 14px; }
  .release-chapter summary { grid-template-columns: 25px 1fr 10px; gap: 16px; padding-block: 23px; }
  .release-name { font-size: 26px; }
  .release-name small { font-size: 10px; }
  .release-interior { display: block; padding: 0 0 28px 47px; }
  .release-interior > div > p { font-size: 15px; }
  .release-records { margin-top: 26px; gap: 18px; }
  .release-records h3 { font-size: 17px; }
  .release-records .play-button { font-size: 11px; }
  .release-records .track-story-link { font-size: 11px; }
  .release-interior > .secondary-link { margin-top: 16px; }
  .music-invitation { display: block; }
  .music-invitation p { margin-top: 28px; font-size: 15px; }
  .site-footer { padding-top: 32px; gap: 28px; }
  .listening-dock { grid-template-columns: 36px minmax(0, 1fr) auto; width: calc(100% - 20px); gap: 2px 10px; bottom: 8px; padding: 10px 12px 4px; }
  .listening-dock > img { width: 36px; height: 36px; }
  .dock-track strong { font-size: 13px; }
  .dock-track .dock-kicker { font-size: 10px; }
  #dock-release { display: none; }
  #dock-story { font-size: 11px; padding-block: 2px; }
  .dock-controls { gap: 0; }
  .dock-controls button { border-color: transparent; }
  .dock-audio { grid-column: 1 / -1; }
  body.player-shown { padding-bottom: 165px; }
  .participation-game { display: flex; flex-direction: column; }
  .participation-topline { order: 0; }
  .participation-controls { order: 1; margin: 12px 0 0; }
  .participation-status { order: 2; }
  .participation-chain { order: 3; min-height: 70px; }
  .participation-pads { order: 4; }
  .participation-hint { order: 5; }
  .participation[data-phase=ready] .participation-pads { display: none; }
}
@media (max-width: 600px) {
  .primary-link { font-size: 14px; padding-inline: 20px; }
  .secondary-link { font-size: 14px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand { font-size: 23px; }
}
@media (max-width: 370px) {
  .home-release > a:not(.home-release-link) { font-size: 30px; }
  .album-grid { grid-template-columns: 1fr; gap: 34px; }
  .song-heading h2 { font-size: 25px; }
  .song-heading { grid-template-columns: 25px 1fr; }
  .release-records { grid-template-columns: 1fr; }
  .release-records article { max-width: 230px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
