:root {
  color-scheme: dark;
  --ink: #100d0b;
  --deep: #090807;
  --stone: #d7c9b3;
  --muted: #b7a88f;
  --ember: #b96831;
  --line: rgba(205, 167, 117, .34);
  --serif: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --display: "IM Fell English SC", "Palatino Linotype", Georgia, serif;
  font-family: var(--serif);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: var(--ink);
  color: var(--stone);
}
* { box-sizing: border-box; }
html { min-width: 320px; font-size: clamp(20px, 1vw + 16px, 22px); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--stone); font-weight: 500; line-height: 1.55; }
::selection { color: #120d08; background: #d39256; }
a { color: #e0b47e; text-underline-offset: .22em; }
a:hover { color: #f2d4aa; }
button, input, textarea { font: inherit; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
:focus-visible { outline: 2px solid #e0a565; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .7rem 1rem; transform: translateY(-150%); background: var(--stone); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1rem, 3vw, 2.5rem) clamp(1.1rem, 5vw, 5rem); }
.brand { display: block; width: clamp(7rem, 14vw, 12rem); line-height: 0; }
.brand img { width: 100%; height: auto; }
.share-link { display: inline-flex; min-height: 48px; align-items: center; padding: .55rem 1rem; border: 1px solid var(--line); background: rgba(16,13,11,.76); text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(23rem, .98fr); min-height: min(880px, 100svh); background: radial-gradient(ellipse at 70% 56%, rgba(70,43,28,.2), transparent 54%), var(--ink); }
.crypt-art { position: relative; isolation: isolate; min-height: 690px; margin: 0; overflow: hidden; background: var(--deep); }
.poster-atmosphere { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.crypt-image, .ritual-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.crypt-image { display: block; }
.crypt-image::after { content: ""; }
.crypt-image.video-ready { opacity: 0; }
.ritual-video { z-index: 1; }
.crypt-art::after { position: absolute; z-index: 2; inset: 0; content: ""; pointer-events: none; background: linear-gradient(0deg, rgba(9,8,7,.45), transparent 36%), linear-gradient(90deg, transparent 60%, var(--ink)); }
.staging-notice { position: absolute; z-index: 4; left: 1rem; bottom: 1rem; padding: .45rem .7rem; border: 1px solid var(--line); background: rgba(16,13,11,.88); color: #e3c29c; font-size: 1rem; }
.hero-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(7rem, 13vh, 10rem) clamp(1.3rem, 5vw, 5rem) 4rem; text-align: center; }
.flame-sigil { width: 30px; height: 38px; margin-bottom: 1rem; fill: none; stroke: var(--ember); stroke-width: 1.3; }
.hero h1 { width: min(100%, 28rem); margin: 0; line-height: 0; }
.hero h1 img { width: 100%; height: auto; }
.pre-release-copy { max-width: 31rem; margin: 1.4rem 0 0; color: #d4bd9b; font-size: clamp(1.2rem, 2vw, 1.65rem); font-style: italic; }
.timer { min-height: 2rem; margin: 2rem 0 0; color: #eee1cf; font-size: clamp(1.12rem, 2.2vw, 1.7rem); font-variant-numeric: tabular-nums lining-nums; }
.release-time { min-height: 1.4rem; margin: .3rem 0 0; color: var(--muted); font-size: 1rem; letter-spacing: .04em; }
.reveal-line { max-width: 32rem; margin: 2.1rem 0 0; color: #f0ddc4; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.12; }
.after-reveal { margin: 1rem 0 0; color: var(--muted); font-size: 1.12rem; font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.7rem; }
.action-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .62rem 1.25rem; border: 1px solid rgba(206,164,111,.55); background: rgba(26,20,16,.88); color: #eedcc3; cursor: pointer; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.action-button:hover:not(:disabled) { border-color: #e0a565; background: rgba(117,64,33,.36); color: #fff0d7; }
.action-button:disabled { cursor: wait; opacity: .65; }
.action-secondary { background: transparent; }
.status { min-height: 1.4em; margin: .6rem 0 0; color: #dfb17e; font-size: 1rem; }
.status[data-state="error"] { color: #efb5a2; }
.status[data-state="success"] { color: #d5c4a8; }
.section-rule { border-top: 1px solid var(--line); }
.signup, .reveal, .altar-wall { padding: clamp(3.5rem, 8vw, 7rem) clamp(1.2rem, 7vw, 7rem); }
.signup { display: grid; grid-template-columns: minmax(15rem, .8fr) minmax(18rem, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; background: #110e0c; }
.section-heading h2, h2 { margin: 0; color: #e6d4bb; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.13; }
.signup .section-heading h4 { margin: .65rem 0 0; color: var(--muted); font-family: var(--serif); font-size: clamp(1.25rem, 2.3vw, 1.65rem); font-weight: 500; line-height: 1.35; }
.eyebrow { margin: 0 0 .8rem; color: #cf8d5b; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }
.signup-form label, .offering-form > label:first-child { display: block; margin-bottom: .5rem; color: var(--stone); font-size: 1.08rem; }
.field-row { display: flex; gap: .6rem; }
input, textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid rgba(205,167,117,.48); border-radius: 0; padding: .7rem .8rem; background: #0c0a08; color: var(--stone); }
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #b7a88f; opacity: 1; }
.form-note { margin: .6rem 0 0; color: var(--muted); font-size: 1rem; }
.global-offering { max-width: 42rem; margin: 0 0 1.4rem; color: #c5b299; font-size: 1.12rem; line-height: 1.5; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.reveal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(20rem, .9fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; max-width: 1260px; margin: 0 auto; }
.player-copy h2, .altar-copy h2 { margin-bottom: 1.15rem; }
.player-copy { text-align: center; }
.player-frame { display: grid; min-height: 170px; place-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0,0,0,.2); }
.player-frame iframe { width: 100%; min-height: 170px; border: 0; }
.integration-note { padding: 1rem; color: var(--muted); text-align: center; }
.music-links, .community-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.2rem; }
.music-links { justify-content: center; }
.altar-intro { max-width: 36rem; margin: 0 0 1.6rem; color: #c5b299; font-size: 1.18rem; line-height: 1.45; }
.offering-form { display: grid; gap: .7rem; }
.character-count { justify-self: end; color: var(--muted); font-size: 1rem; font-variant-numeric: tabular-nums; }
.check-row { display: flex; align-items: flex-start; gap: .7rem; margin: .25rem 0; color: #d4c2a8; line-height: 1.4; }
.check-row input { flex: 0 0 20px; width: 20px; min-height: 20px; height: 20px; margin: .08rem 0 0; accent-color: var(--ember); }
.sharing-copy { margin: 0; color: var(--muted); }
.email-details { padding: .7rem 0; border-top: 1px solid rgba(205,167,117,.18); border-bottom: 1px solid rgba(205,167,117,.18); }
.email-details summary { min-height: 40px; color: #e0c5a2; cursor: pointer; }
.email-details > label:not(.check-row) { display: block; margin: .65rem 0 .35rem; }
.email-details input[type=email] { margin-bottom: .35rem; }
.privacy-note { margin: 1.2rem 0 0; color: var(--muted); font-size: 1rem; }
.crisis-support { padding: 1rem; border: 1px solid rgba(224,165,101,.52); color: #ead2b3; line-height: 1.5; }
.crisis-support a { white-space: nowrap; }
.altar-wall { background: #0d0b09; }
.altar-wall > * { max-width: 1050px; margin-left: auto; margin-right: auto; }
.altar-wall h2 { margin-bottom: .5rem; text-align: center; }
.wall-status { min-height: 1.7rem; color: var(--muted); }
.offerings-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; padding: 0; list-style: none; background: var(--line); }
.offerings-list li { min-height: 130px; padding: 1.4rem; background: #100d0b; }
.offering-number { color: #d18b58; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.offering-text { margin: .75rem 0 0; color: #e2d4c0; font-size: 1.35rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.community { padding: 2.3rem clamp(1.2rem, 7vw, 7rem); background: #100d0b; }
.community-links { justify-content: center; margin: 0; }
.community-links a, .music-links a { min-height: 44px; display: inline-flex; align-items: center; }
.community-links .social-logo-link, .music-links .social-logo-link { width: 56px; min-height: 56px; justify-content: center; padding: .3rem; text-decoration: none; }
.social-logo-link svg { display: block; width: 37.5px; height: 37.5px; fill: currentColor; }
.social-instagram svg { width: 26px; height: 26px; }
.social-soundcloud { color: #bf7849; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; padding: 1.7rem 1.2rem 2.5rem; border-top: 1px solid rgba(205,167,117,.16); background: #0b0908; color: var(--muted); text-align: center; }
.site-footer p { margin: 0; }
.copyright { flex-basis: 100%; }
@media (max-width: 960px) {
  .signup, .reveal-grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; }
}
@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding: 1rem; }
  .brand { width: 6.7rem; }
  .hero { display: flex; min-height: auto; flex-direction: column; }
  .crypt-art { order: 0; min-height: 34svh; height: 34svh; flex: none; }
  .crypt-image, .ritual-video { object-position: 50% 72%; }
  .crypt-art::after { background: linear-gradient(0deg, var(--ink), transparent 38%); }
  .hero-copy { order: 1; min-height: 55svh; margin-top: -2rem; padding: 1.4rem 1.2rem 3.5rem; background: linear-gradient(180deg, transparent, var(--ink) 2rem); }
  .flame-sigil { width: 25px; height: 31px; margin-bottom: .55rem; }
  .hero h1 { width: min(100%, 20rem); }
  .pre-release-copy { margin-top: .8rem; font-size: 1.16rem; }
  .timer { margin-top: 1.3rem; font-size: 1.13rem; }
  .reveal-line { margin-top: 1.35rem; font-size: 2.4rem; }
  .hero-actions { margin-top: 1rem; }
  .signup, .reveal, .altar-wall { padding: 3rem 1.2rem; }
  .signup { grid-template-columns: 1fr; gap: 1.5rem; }
  .field-row { flex-direction: column; }
  .reveal-grid { grid-template-columns: 1fr; gap: 3rem; }
  .offerings-list { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .share-link { padding: .45rem .65rem; }
  .hero-copy { padding-left: .85rem; padding-right: .85rem; }
  .timer { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
