@font-face { font-family: 'Bodoni Moda'; src: url('../assets/fonts/bodoni-moda.woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../assets/fonts/dm-sans.woff2'); font-weight: 400 600; font-display: swap; }

/* Cream/red production theme. Better Burger reference: red #e9483c, Cubano/Europa.
   Warm paper is an interpretation of its printed cream branding.
   Typography revised to complement the AELYSIS serif logo: Bodoni Moda / DM Sans. */
:root {
  color-scheme: light;
  --cream: #f8f4e9;
  --red: #e9483c;
  --red-half: rgb(233 72 60 / 50%);
  --blue: #88a6b5;
  --ink: var(--cream);
  --ink-soft: var(--cream);
  --pink: var(--red);
  --rose: var(--red);
  --paper: var(--red);
  --paper-muted: var(--red);
  --gold: var(--blue);
  --line: rgb(233 72 60 / 28%);
  --shadow: transparent;
  --font-ui: 'DM Sans', Arial, sans-serif;
  --font-display: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --font-countdown: var(--font-ui);
  --brand-width: min(92vw, 58rem);
}
html, body { background: var(--cream); color: var(--red); }
body { min-height: 100svh; }
body::before, body::after,
.eclipse-stage::before, .eclipse-stage::after,
.stars-layer, .glow-flicker-layer,
.site-brand::after, .countdown-values::after,
.icon-link::after { display: none !important; }
.site-header { padding-top: clamp(1.25rem, 4vh, 3rem); gap: 1rem; }
.site-nav { width: min(26rem, 82vw); color: var(--red); }
.site-nav .icon-link, .site-nav .mailing-list-link, .site-header > .about-link {
  color: var(--red); background: transparent; border: 1px solid var(--red); box-shadow: none;
}
.site-nav .icon-link:hover, .site-nav .mailing-list-link:hover,
.site-header > .about-link:hover,
.site-nav .icon-link:focus-visible, .site-nav .mailing-list-link:focus-visible,
.site-header > .about-link:focus-visible {
  color: var(--red); background: rgb(233 72 60 / 8%); border-color: var(--red); box-shadow: none;
}
.site-nav button:disabled { opacity: 0.55; }
.site-brand { margin: 0; aspect-ratio: 1600 / 520; }
.site-brand-logo { filter: none; animation: none; opacity: 1; transform: none; }
.site-brand-lockup { --lyric-font-size: 0.875rem; }
.lyric-inscription { color: var(--blue); min-height: 2rem; margin-top: 0.25rem; }
.lyric-line { color: var(--blue); font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600; text-shadow: none; letter-spacing: 0.02em; }
.lyric-line.is-active { opacity: 1; text-shadow: none; animation: none; }
.home-shell { padding-top: 0.5rem; gap: 1.5rem; }
.eclipse-stage { height: clamp(11rem, 24vh, 15rem); }
.release-countdown { width: min(30rem, 90vw); color: var(--red); text-shadow: none; }
.release-pending { transform: none; gap: 1.25rem; }
.release-announcement { font-family: var(--font-display); gap: 0.6rem; }
.release-announcement-title { color: var(--blue); font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 600; -webkit-text-stroke: 0.15px currentColor; letter-spacing: 0.14em; line-height: 1; }
.release-announcement-subtitle { color: var(--red-half); font-family: var(--font-ui); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.16em; }
.countdown-values { color: var(--red-half); }
.countdown-value { color: inherit; font-family: var(--font-countdown); font-size: clamp(1.125rem, 3vw, 1.5rem); font-weight: 600; line-height: 1.15; }
.countdown-unit { padding: 0 0.75rem; }
.countdown-unit + .countdown-unit { border-left-color: var(--red-half); }
.countdown-complete { color: var(--red); font-family: var(--font-display); }
.release-player { width: min(27rem, 100%); background: transparent; color: var(--red); border: 1px solid var(--red); border-radius: 3px; font-family: var(--font-ui); box-shadow: none; }
.release-preview { zoom: 1; background: transparent; }
.release-player-top, .release-track-list, .release-track-list li,
.release-player-controls { background: transparent; border-color: var(--line); }
.release-player :is(h2, span, p, button, a, svg) { color: var(--red); font-family: var(--font-ui); }
.release-player h2 { font-family: var(--font-display); }
.release-player button { background: transparent; border-color: var(--red); box-shadow: none; }
.release-player .release-play { background: var(--red); color: var(--cream); }
.release-player .release-play svg { color: var(--cream); }
.release-player .release-track-number { color: var(--blue); }
.release-player .release-play-lock { color: var(--red); background: var(--cream); border-color: var(--red); box-shadow: none; }
.release-player-art { object-fit: contain; padding: 0.35rem; background: var(--cream); border: 1px solid var(--line); }
.site-footer { margin-top: auto; padding-top: 2rem; padding-bottom: 1rem; }
.visit-counter { color: var(--blue); font-family: var(--font-ui); }
.contact-overlay::backdrop { background: rgb(248 244 233 / 88%); backdrop-filter: blur(3px); }
.contact-form, .about-panel { background: var(--cream); color: var(--red); border: 1px solid var(--red); border-radius: 3px; box-shadow: 0 1.25rem 4rem rgb(233 72 60 / 8%); padding: clamp(1.25rem, 4vw, 2rem); }
.contact-header h2 { font: 400 1.5rem/1.2 var(--font-display); }
.contact-form :is(label, input, textarea, button), .contact-intro, .contact-status,
.subscribe-consent, .signup-note, .about-panel p, .about-contact-link { color: var(--red); font-family: var(--font-ui); }
.contact-intro, .contact-status, .subscribe-consent, .signup-note, .contact-form label { font-size: 1rem; }
.contact-form input, .contact-form textarea { color: var(--red); background: var(--cream); border: 1px solid var(--red); border-radius: 3px; box-shadow: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--red); opacity: 0.7; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); outline: 2px solid var(--blue); outline-offset: 3px; box-shadow: none; }
.contact-submit { font-family: var(--font-display) !important; font-size: 1.125rem; font-weight: 400; color: var(--cream) !important; background: var(--red); border-color: var(--red); border-radius: 3px; }
.contact-submit:hover, .contact-submit:focus-visible { background: var(--red); color: var(--cream); border-color: var(--red); outline: 2px solid var(--blue); outline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 600px) {
  .site-header { gap: 0.75rem; padding-top: 1rem; }
  .site-brand { width: var(--brand-width); }
  .site-brand-lockup { --lyric-font-size: 0.75rem; }
  .lyric-line { font-size: 0.75rem; }
  .home-shell { gap: 1rem; }
  .eclipse-stage { height: 11rem; }
  .release-player { width: min(24rem, 100%); }
}

.release-player-progress { background: var(--red-half); }
.release-track-list { border-top: 1px solid var(--line); }
.contact-submit, .contact-submit:hover, .contact-submit:focus-visible { color: var(--red) !important; background: transparent; }
.release-play-lock [stroke="#fff"] { stroke: var(--red); }
.release-play-lock [fill="#fff"] { fill: var(--cream); }

@font-face { font-family: 'Bodoni Moda'; src: url('../assets/fonts/bodoni-moda-italic.woff2'); font-style: italic; font-weight: 400 600; font-display: swap; }
.release-announcement-subtitle { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; font-weight: 400; text-transform: none; letter-spacing: 0.025em; }
.subscribe-form label, .subscribe-form input { font-family: var(--font-display); font-weight: 400; }
.icon-link .instagram-icon { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }

/* Keep all five symbols in one centred, naturally flowing row. */
.site-nav { display: flex; justify-self: stretch; margin: 0; justify-content: center; align-items: center; gap: clamp(1rem, 3vw, 1.75rem); width: 100%; max-width: none; height: auto; }
.site-nav .icon-link { position: static; flex: 0 0 2.75rem; inset: auto; margin: 0; transform: none; }

.icon-link .contact-icon, .icon-link .mailing-icon { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
/* Blur every part of the artwork inside a separate, sharp tile frame. */
.release-preview .release-player-art-frame { width: var(--player-art-size); height: var(--player-art-size); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.release-preview .release-player-art { width: 100%; height: 100%; border: 0; background: transparent; filter: blur(6px); }

/* Player branding only; navigation symbol retains its existing size. */
.release-spotify-mark { width: 28px; height: 28px; }

/* Approved flexible-nib title artwork; real alpha lets the page show through. */
.release-announcement { justify-items: center; }
.release-announcement-title { display: block; }
@media (max-width: 600px) { .eclipse-stage { height: 13rem; } }

/* Local-only figurine border; each original PNG remains unmodified. */
:root { --figurine-size: 54px; --figurine-pitch: 68; }
body { padding: calc(var(--figurine-size) + 9px) calc(var(--figurine-size) * 512 / 896 + 14px); }
.figurine-frame { position: absolute; inset: 5px; z-index: 20; pointer-events: none; user-select: none; }
.figurine-edge { position: absolute; display: flex; justify-content: space-around; align-items: center; pointer-events: none; }
.figurine-edge-top, .figurine-edge-bottom { left: calc(var(--figurine-size) * 0.8); right: calc(var(--figurine-size) * 0.8); height: var(--figurine-size); }
.figurine-edge-top { top: 0; }
.figurine-edge-bottom { bottom: 0; }
.figurine-edge-left, .figurine-edge-right { top: calc(var(--figurine-size) + 12px); bottom: calc(var(--figurine-size) + 12px); width: calc(var(--figurine-size) * 512 / 896); flex-direction: column; }
.figurine-edge-left { left: 0; }
.figurine-edge-right { right: 0; }
.figurine-slot { position: relative; display: block; flex: none; width: calc(var(--figurine-size) * 512 / 896); height: var(--figurine-size); opacity: 0.9; }
.figurine-slot .figurine { display: block; width: 100%; height: 100%; object-fit: contain; }
.figurine-slot.is-blue .figurine { opacity: 0; }
.figurine-slot.is-blue::after { position: absolute; inset: 0; content: ""; background: var(--blue); -webkit-mask: var(--figurine-source) center / contain no-repeat; mask: var(--figurine-source) center / contain no-repeat; }
.figurine-edge-top .figurine-slot, .figurine-edge-bottom .figurine-slot { transform: rotate(90deg); }
.site-header { grid-template-columns: minmax(0, 1fr); }
.site-brand-lockup, .site-nav { min-width: 0; }
.site-brand { width: min(75%, 43.5rem); }
.release-countdown { width: min(30rem, 100%); }
.release-announcement { width: 100%; grid-template-columns: minmax(0, 1fr); }
.release-announcement-title { width: 100%; min-width: 0; }
@media (min-width: 601px) and (max-width: 1024px) {
  :root { --figurine-size: 45px; --figurine-pitch: 57; }
}
@media (max-width: 600px) {
  :root { --figurine-size: 32px; --figurine-pitch: 43; }
  .site-header, .home-shell, .site-footer { padding-inline: 0; }
  .site-nav { gap: clamp(0.25rem, 1vw, 0.75rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .figurine-slot { animation: figurine-ink-breathe var(--ink-duration, 3.75s) ease-in-out var(--ink-delay, -1.875s) infinite; }
}
@keyframes figurine-ink-breathe {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 1; }
}

/* Counter follows the document corner and can overlay the decorative frame. */
.site-brand-lockup { grid-template-columns: minmax(0, 1fr); }
.site-footer { position: static; padding: 0; }
.visit-counter { position: absolute; left: 5px; bottom: 5px; z-index: 21; }

/* Top logo with a document-scrolling navigation rail on the left. */
:root { --nav-size: 44px; --sidebar-space: 56px; }
body { padding-left: calc(var(--figurine-size) * 512 / 896 + 14px + var(--sidebar-space)); }
.site-header { width: calc(100% + var(--sidebar-space)); margin-left: calc(-1 * var(--sidebar-space)); padding: 0; }
.site-nav { position: absolute; top: 0; left: 0; width: var(--nav-size); height: auto; flex-direction: column; gap: 12px; justify-content: flex-start; justify-self: auto; }
.site-nav .icon-link { flex: 0 0 var(--nav-size); width: var(--nav-size); height: var(--nav-size); min-height: var(--nav-size); }
@media (max-width: 600px) {
  :root { --nav-size: 32px; --sidebar-space: 40px; }
  .site-nav { gap: 10px; }
  .release-announcement-title { font-size: clamp(1.6rem, 6vw, 2.6rem); }
}
@media (max-width: 360px) { .release-player-top, .release-track-list { padding-inline: 12px; } }

/* Additional breathing room beneath AELYSIS before the lyric row. */
.site-brand-lockup { row-gap: 50px; }
