@font-face {
  font-family: "Default Lingo";
  src: url("assets/fonts/Default-Lingo-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #080808;
  --paper: #e8e4dc;
  --dim: #87837c;
  --line: #292927;
  --acid: #d5ff45;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "DM Mono", monospace;
  --lingo: "Default Lingo", "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}
button { color: inherit; font: inherit; }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .13;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
.topbar { position: fixed; z-index: 15; top: 0; left: 0; width: 100%; padding: 25px 32px; display: flex; justify-content: space-between; align-items: center; mix-blend-mode: difference; }
.wordmark, .menu-button { background: none; border: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.wordmark span { color: var(--acid); margin: 0 4px; }
.topbar-right { display: flex; gap: 30px; align-items: center; }
.credit-count { color: var(--dim); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.credit-count i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); margin-right: 7px; }
.credit-count b { color: var(--paper); font-weight: 400; }
.menu-button { width: 30px; height: 24px; position: relative; }
.menu-button span { position: absolute; right: 0; width: 24px; height: 1px; background: var(--paper); transition: .3s; }
.menu-button span:first-child { top: 7px; }
.menu-button span:last-child { top: 15px; width: 15px; }
.menu-button.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button.open span:last-child { transform: translateY(-4px) rotate(-45deg); width: 24px; }
.menu { position: fixed; inset: 0 0 auto auto; z-index: 14; width: min(480px, 100%); height: 100vh; background: #11110f; border-left: 1px solid var(--line); padding: 130px 50px; transform: translateX(100%); transition: .45s cubic-bezier(.76,0,.24,1); display: flex; flex-direction: column; gap: 18px; }
.menu.open { transform: translateX(0); }
.menu button { background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 18px 0; font: italic 500 34px var(--serif); cursor: pointer; }
.menu p { margin-top: auto; color: var(--dim); font-size: 11px; }
.view { display: none; min-height: 100vh; padding: 105px 7vw 90px; animation: enter .7s ease both; }
.view.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } }
.home-view { position: relative; padding: 0; }
.home-view.active { display: grid; place-items: center; }
.exhibit-mark { position: absolute; top: 105px; left: 32px; text-transform: uppercase; color: var(--dim); font-size: 9px; letter-spacing: .12em; line-height: 1.7; }
.hero { text-align: center; margin-top: -3vh; }
.eyebrow { color: var(--acid); text-transform: uppercase; letter-spacing: .22em; font-size: 9px; margin-bottom: 28px; }
h1, h2 { margin: 0; font: 500 clamp(60px, 9vw, 140px)/.84 var(--serif); letter-spacing: -.06em; }
h1 em, h2 em { font-weight: 500; }
.lingo-home { font-family: var(--lingo); font-weight: 400; line-height: .9; letter-spacing: -.025em; }
.lingo-home em { font-family: var(--lingo); font-style: normal; font-weight: 400; }
.hero-sub { color: var(--dim); font: italic 500 clamp(20px, 2vw, 30px) var(--serif); margin: 28px 0 42px; }
.hero-actions { display: flex; justify-content: center; }
.primary-action { width: 220px; height: 66px; border: 1px solid var(--line); background: transparent; text-align: left; padding: 0 20px; cursor: pointer; transition: .3s; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.primary-action + .primary-action { border-left: 0; }
.primary-action span { color: var(--dim); display: block; font-size: 8px; margin-bottom: 6px; }
.primary-action:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.archive-link { position: absolute; left: 32px; bottom: 35px; background: none; border: 0; cursor: pointer; text-transform: uppercase; font-size: 9px; letter-spacing: .14em; color: var(--dim); }
.archive-link span { color: var(--acid); padding-left: 5px; }
.manifesto { position: absolute; right: 32px; bottom: 35px; color: var(--dim); font: italic 500 12px/1.5 var(--serif); text-align: right; }
.market-view { padding-left: 0; padding-right: 0; }
.section-intro { max-width: 720px; margin: 5vh 7vw 80px; }
.section-intro h2, .archive-head h2 { font-size: clamp(58px, 7vw, 108px); }
.section-intro > p:last-child, .archive-head > p:last-child { color: var(--dim); max-width: 430px; font: italic 500 16px/1.5 var(--serif); margin-top: 30px; }
.story-list { border-top: 1px solid var(--line); }
.empty-state { min-height: 440px; border-bottom: 1px solid var(--line); padding: 70px 7vw; display: grid; align-content: center; justify-items: start; }
.empty-state h3 { margin: 0; max-width: 860px; font: 500 clamp(44px, 6vw, 92px)/.92 var(--serif); letter-spacing: -.045em; }
.empty-state h3 em { color: var(--acid); font-weight: 500; }
.empty-state > p:last-of-type { max-width: 560px; color: var(--dim); font: italic 500 16px/1.55 var(--serif); margin: 28px 0 35px; }
.empty-state button { border: 1px solid var(--line); background: transparent; color: var(--paper); padding: 18px 22px; cursor: pointer; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; transition: .25s; }
.empty-state button:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.story-card { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 28px 7vw; display: grid; grid-template-columns: 45px 1fr auto auto auto; align-items: center; gap: 25px; cursor: pointer; text-align: left; transition: .25s; }
.story-card:hover { background: var(--paper); color: var(--ink); padding-left: 8vw; }
.story-number, .story-detail { color: var(--dim); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.story-title { font: italic 500 clamp(24px, 3vw, 42px) var(--serif); letter-spacing: -.025em; }
.live-tag { border: 1px solid currentColor; border-radius: 30px; padding: 7px 10px; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.listen-view { position: relative; }
.back-button { background: none; border: 0; color: var(--dim); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
.listen-stage { max-width: 1000px; margin: 9vh auto 0; text-align: center; }
.listen-meta { color: var(--dim); text-transform: uppercase; font-size: 9px; letter-spacing: .14em; display: flex; justify-content: center; gap: 20px; }
.listen-meta span:first-child::after { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--acid); margin-left: 20px; vertical-align: middle; }
.listen-stage h2 { font-size: clamp(55px, 8vw, 120px); margin: 35px 0 55px; }
.waveform { height: 42px; display: flex; gap: 3px; justify-content: center; align-items: center; opacity: .35; }
.waveform i { width: 1px; background: var(--paper); transition: opacity .3s; }
.player-row { display: grid; grid-template-columns: 50px 1fr 45px; align-items: center; gap: 20px; margin-top: 24px; }
.play-button { width: 45px; height: 45px; border: 1px solid var(--paper); border-radius: 50%; background: transparent; cursor: pointer; }
.play-button span { display: inline-block; border: 5px solid transparent; border-left: 8px solid var(--paper); transform: translateX(3px); }
.play-button.playing span { border: 0; width: 8px; height: 10px; border-left: 2px solid var(--paper); border-right: 2px solid var(--paper); transform: none; }
.progress-track { height: 1px; background: var(--line); cursor: pointer; }
#progressFill { width: 0; height: 1px; background: var(--acid); }
#playerTime { color: var(--dim); font-size: 9px; }
.identity-note { color: var(--dim); font: italic 500 12px var(--serif); margin: 25px 0 60px; }
.after-actions { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.after-actions button { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 22px 10px; cursor: pointer; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.after-actions button + button { border-left: 1px solid var(--line); }
.after-actions button:hover { background: var(--acid); color: var(--ink); }
.after-actions span { color: var(--dim); float: right; }
.record-layout { min-height: calc(100vh - 200px); display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 10vw; }
.record-copy h2 { font-family: var(--lingo); font-size: clamp(55px, 7vw, 105px); font-weight: 400; line-height: .92; letter-spacing: -.025em; }
.record-copy h2 em { font-family: var(--lingo); font-style: normal; font-weight: 400; color: var(--acid); }
.lingo-regular { font-feature-settings: normal; }
.lingo-italic { font-feature-settings: "salt" 1; }
.lingo-pixel { font-feature-settings: "ss02" 1; }
.prompt-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: -5px 0 42px; }
.prompt-categories button { border: 1px solid var(--line); border-radius: 30px; background: transparent; color: var(--dim); padding: 7px 11px; cursor: pointer; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; transition: .25s; }
.prompt-categories button:hover, .prompt-categories button.active { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.prompt-foot { margin-top: 40px; display: flex; align-items: center; gap: 25px; }
.prompt-foot > span { color: var(--dim); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.shuffle { color: var(--dim); background: none; border: 0; padding: 0; cursor: pointer; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.shuffle:hover { color: var(--paper); }
.recorder { border: 1px solid var(--line); min-height: 480px; padding: 35px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.record-status { align-self: stretch; color: var(--dim); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.record-status i { display: inline-block; width: 6px; height: 6px; background: var(--dim); border-radius: 50%; margin-right: 8px; }
.recorder.recording .record-status i { background: #ff4e38; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.timer { font: 500 clamp(65px, 8vw, 100px) var(--serif); letter-spacing: -.07em; margin: auto 0 20px; }
.record-line { width: 100%; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.recorder.recording .record-line::after { content: ""; position: absolute; inset: 0; background: var(--acid); transform-origin: left; animation: progress 300s linear; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.record-button { background: none; border: 0; margin: 40px 0 auto; cursor: pointer; display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.record-button span { width: 20px; height: 20px; border-radius: 50%; background: #ff4e38; }
.recorder.recording .record-button span { border-radius: 0; width: 15px; height: 15px; }
.record-button b { font-weight: 400; }
.recorder p { color: var(--dim); font-size: 8px; line-height: 1.7; text-align: center; }
.archive-head { padding: 5vh 0 80px; }
.fragment-wall { columns: 3; column-gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fragment { break-inside: avoid; min-height: 240px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; transition: .3s; }
.fragment:nth-child(3n+2) { min-height: 330px; }
.fragment:hover { background: #11110f; }
.fragment q { font: italic 500 clamp(20px, 2.2vw, 34px)/1.15 var(--serif); quotes: "“" "”"; }
.fragment span { color: var(--dim); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.fragment-empty { width: 100%; min-height: 360px; }
.fragment-empty q { color: var(--dim); }
dialog { width: min(600px, calc(100% - 30px)); color: var(--paper); background: #11110f; border: 1px solid var(--line); padding: 50px; }
dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 18px; top: 15px; background: none; border: 0; cursor: pointer; font-size: 25px; color: var(--dim); }
.dialog-inner .eyebrow { margin-bottom: 20px; }
.dialog-inner h3 { font: italic 500 42px/1 var(--serif); margin: 0 0 25px; }
.dialog-inner p { color: var(--dim); font-size: 10px; line-height: 1.7; }
.dialog-inner textarea { width: 100%; min-height: 130px; background: var(--ink); color: var(--paper); border: 1px solid var(--line); padding: 15px; resize: none; font: 12px/1.5 var(--mono); margin: 15px 0; }
.dialog-inner button { background: var(--acid); color: var(--ink); border: 0; padding: 15px 20px; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; cursor: pointer; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 30px; transform: translate(-50%, 100px); background: var(--acid); color: var(--ink); padding: 13px 18px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; transition: .3s; }
.toast.show { transform: translate(-50%, 0); }
footer { position: fixed; z-index: 10; bottom: 0; left: 0; width: 100%; padding: 10px 32px; display: flex; justify-content: space-between; color: #4b4944; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
@media (max-width: 760px) {
  .topbar { padding: 20px; } .credit-count { display: none; } .exhibit-mark, .manifesto { display: none; }
  .view { padding: 90px 20px 70px; } .home-view { padding: 0 20px; }
  h1 { font-size: clamp(58px, 20vw, 90px); } .hero-actions { flex-direction: column; align-items: center; }
  .primary-action + .primary-action { border-left: 1px solid var(--line); border-top: 0; }
  .archive-link { left: 20px; bottom: 25px; } footer { display: none; }
  .section-intro { margin: 4vh 20px 60px; } .story-card { padding: 24px 20px; grid-template-columns: 25px 1fr auto; gap: 10px; }
  .story-card .story-detail:nth-of-type(2), .story-card .live-tag { display: none; }
  .listen-stage { margin-top: 10vh; } .after-actions { grid-template-columns: 1fr; } .after-actions button + button { border-left: 0; }
  .record-layout { grid-template-columns: 1fr; gap: 50px; align-items: start; } .recorder { min-height: 400px; }
  .prompt-categories { margin-bottom: 30px; } .prompt-foot { align-items: flex-start; flex-direction: column; gap: 12px; }
  .fragment-wall { columns: 1; } .fragment { min-height: 220px !important; }
}
