/* ============================================================
   SKY SHEN — Ghost Theme
   Design tokens → base → layout → components → pages → utils
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Palette */
  --c-bg:        #111111;
  --c-bg-tint:   #1A1A1A;
  --c-bg-dark:   #0A0A0A;
  --c-text:      #F0EBE3;
  --c-text-muted:#ABA49B; /* ≥4.5:1 on #111 (WCAG AA) */
  --c-accent:    #C2847A;
  --c-accent-h:  #D49A8F;
  --c-sage:      #7A9E8E;
  --c-border:    rgba(240, 235, 227, 0.1);

  /* Typography */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --f-mono:    'DM Mono', monospace;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;
  --text-6xl:  5rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;
  --sp-4xl: 9rem;

  /* Layout */
  --container:       1200px;
  --container-narrow: 720px;
  --container-wide:  1440px;
  --gutter:          clamp(1rem, 5vw, 2.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul[role="list"] { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- FOCUS ---- */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- MOTION PREFERENCE ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }
.container--centered { text-align: center; }
.container--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (max-width: 768px) {
  .container--split { grid-template-columns: 1fr; }
}

.section { padding-block: var(--sp-3xl); }
.section--tint { background: var(--c-bg-tint); }
.section--dark { background: var(--c-bg-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.section-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}
.section-label--light { color: var(--c-sage); }

.section-heading {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--sp-xl);
}
.section-heading--light { color: var(--c-text); }

.section-cta { display: block; margin-top: var(--sp-xl); }

/* Ghost editor content */
.gh-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--c-text);
}
.gh-content h2 { font-family: var(--f-display); font-size: var(--text-3xl); font-weight: 300; margin: var(--sp-2xl) 0 var(--sp-md); }
.gh-content h3 { font-family: var(--f-display); font-size: var(--text-2xl); font-weight: 400; margin: var(--sp-xl) 0 var(--sp-sm); }
.gh-content p  { margin-bottom: var(--sp-lg); }
.gh-content a  { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.gh-content blockquote {
  border-left: 2px solid var(--c-accent);
  padding-left: var(--sp-xl);
  font-family: var(--f-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--c-text-muted);
  margin: var(--sp-2xl) 0;
}
.gh-content figure { margin: var(--sp-2xl) 0; }
.gh-content figcaption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-top: var(--sp-sm);
  font-family: var(--f-mono);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75em 1.75em;
  border-radius: 2px;
  font-family: var(--f-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.btn--lg  { font-size: var(--text-base); padding: 1em 2.25em; }
.btn--sm  { font-size: var(--text-xs);  padding: 0.5em 1.25em; }

.btn--accent {
  background: var(--c-accent);
  color: var(--c-bg);
}
.btn--accent:hover { background: var(--c-accent-h); transform: translateY(-1px); }

.btn--outline {
  border: 1px solid var(--c-text);
  color: var(--c-text);
}
.btn--outline:hover { background: rgba(240,235,227,0.08); }

.btn--outline-light {
  border: 1px solid rgba(240,235,227,0.4);
  color: var(--c-text);
}
.btn--outline-light:hover { border-color: var(--c-text); }

.btn--ghost {
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}
.btn--ghost:hover { border-color: var(--c-text-muted); color: var(--c-text); }

.btn--text {
  padding: 0;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}
.btn--text:hover { color: var(--c-accent-h); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: var(--sp-lg);
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              padding var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  padding-block: var(--sp-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(240, 235, 227, 0.06);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.site-header__wordmark {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--c-text);
}

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  list-style: none;
}
.site-nav__link {
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--c-text); }

.site-nav__link--donate {
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  padding: 0.4em 1em;
  border-radius: 2px;
}
.site-nav__link--donate:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

/* Dropdown */
.site-nav__item--dropdown { position: relative; }
.site-nav__dropdown-toggle { font-size: var(--text-sm); letter-spacing: 0.05em; color: var(--c-text-muted); }
.site-nav__dropdown {
  position: absolute;
  top: calc(100% + var(--sp-sm));
  left: 0;
  background: var(--c-bg-tint);
  border: 1px solid var(--c-border);
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur-base), transform var(--dur-base);
  list-style: none;
}
.site-nav__item--dropdown:hover .site-nav__dropdown,
.site-nav__item--dropdown:focus-within .site-nav__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.site-nav__dropdown a {
  display: block;
  padding: var(--sp-sm) var(--sp-lg);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}
.site-nav__dropdown a:hover { color: var(--c-text); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: var(--sp-sm);
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--c-text);
  transition: transform var(--dur-base), opacity var(--dur-base);
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base);
  }
  .site-nav.is-open { opacity: 1; pointer-events: all; }
  .site-nav__list { flex-direction: column; gap: var(--sp-xl); text-align: center; }
  .site-nav__link { font-size: var(--text-2xl); }
  .site-nav__dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: none;
    border: none;
    text-align: center;
  }
  .site-nav__dropdown a { font-size: var(--text-lg); }
  .site-header__members { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-3xl);
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.1) 0%,
    rgba(10,10,10,0.2) 40%,
    rgba(10,10,10,0.75) 75%,
    rgba(10,10,10,0.95) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: 100px;
}
.hero__eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-md);
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-5xl), 10vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-lg);
}
.hero__sub {
  max-width: 520px;
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-xl);
}
.hero__actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.hero__scroll-cue {
  position: absolute;
  bottom: var(--sp-xl);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-text-muted), transparent);
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   WAVEFORM (Signature element)
   ============================================================ */
.waveform-divider {
  padding-block: var(--sp-xl);
  overflow: hidden;
}
.footer-wave { overflow: hidden; }
.waveform {
  width: 100%;
  height: 60px;
}
.waveform__bar {
  fill: var(--c-accent);
  opacity: 0.25;
  rx: 2;
  animation: waveAnim var(--dur, 1.4s) ease-in-out infinite alternate;
}
.waveform__bar:nth-child(odd)  { --dur: 1.1s; }
.waveform__bar:nth-child(3n)   { --dur: 1.7s; }
.waveform__bar:nth-child(5n)   { --dur: 0.9s; }
.waveform__bar:nth-child(7n)   { --dur: 2s; }
@keyframes waveAnim {
  from { opacity: 0.15; transform: scaleY(0.7); transform-box: fill-box; transform-origin: center; }
  to   { opacity: 0.45; transform: scaleY(1);   transform-box: fill-box; transform-origin: center; }
}

/* ============================================================
   LATEST RELEASE
   ============================================================ */
.latest-release__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
@media (max-width: 768px) {
  .latest-release__inner { grid-template-columns: 1fr; }
}
.latest-release__artwork img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.latest-release__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 300;
  margin-bottom: var(--sp-md);
}
.latest-release__excerpt {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xl);
  font-size: var(--text-lg);
}
.latest-release__actions { margin-bottom: var(--sp-xl); }
.stream-links { display: flex; gap: var(--sp-md); flex-wrap: wrap; }
.stream-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}
.stream-link:hover { color: var(--c-text); }
.stream-link svg { width: 16px; height: 16px; }

/* ============================================================
   ABOUT SNAP
   ============================================================ */
.about-snap__heading {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: var(--sp-lg);
}
.about-snap__heading em { color: var(--c-accent); font-style: italic; }
.about-snap__image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}

/* ============================================================
   VIDEO GRID
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--c-bg-tint);
  margin-bottom: var(--sp-md);
}
.video-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.video-card:hover .video-card__thumb img { transform: scale(1.04); }
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--c-text);
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.video-card:hover .video-card__play { opacity: 1; }
.video-card__title {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--sp-xs);
}
.video-card__date {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-family: var(--f-mono);
  letter-spacing: 0.08em;
}

/* ============================================================
   CRITTERS TEASER
   ============================================================ */
.critters-teaser { text-align: center; }
.critters-teaser__copy {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--sp-xl);
  color: var(--c-text-muted);
  font-size: var(--text-lg);
}

/* ============================================================
   PRESS LIST
   ============================================================ */
.press-list { display: flex; flex-direction: column; gap: 1px; }
.press-item__link {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: var(--sp-lg);
  padding-block: var(--sp-lg);
  border-top: 1px solid var(--c-border);
  transition: color var(--dur-fast);
}
.press-item__link:hover { color: var(--c-accent); }
.press-item__title { font-weight: 400; }
.press-item__pub, .press-item__date {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  font-family: var(--f-mono);
}
.press-item__arrow { color: var(--c-accent); }

/* ============================================================
   SUBSCRIBE FORM
   ============================================================ */
.signup-band { text-align: center; }
.subscribe-form-wrap { margin-top: var(--sp-xl); }
.subscribe-form__group {
  display: flex;
  max-width: 480px;
  margin-inline: auto;
  gap: 0;
}
.subscribe-form__input {
  flex: 1;
  background: var(--c-bg-tint);
  border: 1px solid var(--c-border);
  border-right: none;
  color: var(--c-text);
  padding: 0.75em 1em;
  font-family: var(--f-body);
  font-size: var(--text-base);
  border-radius: 2px 0 0 2px;
}
.subscribe-form__input:focus { outline: none; border-color: var(--c-accent); }
.subscribe-form__btn { border-radius: 0 2px 2px 0; }
.subscribe-form__note {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-top: var(--sp-sm);
  font-family: var(--f-mono);
}
.subscribe-form__message { margin-top: var(--sp-md); font-size: var(--text-sm); }
.subscribe-form__message--success { color: var(--c-sage); }
.subscribe-form__message--error   { color: #E07070; }

/* ============================================================
   RELEASES GRID
   ============================================================ */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}
.releases-grid--compact { grid-template-columns: repeat(3, 1fr); }
.release-card--featured { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) { .releases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .releases-grid { grid-template-columns: 1fr; } }

.release-card__artwork {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--c-bg-tint);
}
.release-card__artwork img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.release-card:hover .release-card__artwork img { transform: scale(1.04); }
.release-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-base);
}
.release-card:hover .release-card__overlay { opacity: 1; }
.release-card__listen { font-family: var(--f-mono); font-size: var(--text-sm); letter-spacing: 0.1em; }
.release-card__meta { padding-block: var(--sp-md); }
.release-card__title { font-family: var(--f-display); font-size: var(--text-xl); font-weight: 400; }
.release-card__year { font-size: var(--text-xs); color: var(--c-text-muted); font-family: var(--f-mono); }
.release-card__type {
  display: inline-block;
  font-size: var(--text-xs);
  color: var(--c-accent);
  font-family: var(--f-mono);
  margin-right: var(--sp-sm);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-support {
  background: var(--c-accent);
  color: var(--c-bg);
}
.footer-support__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-lg) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}
.footer-support .btn--accent {
  background: var(--c-bg);
  color: var(--c-accent);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-3xl) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}
@media (max-width: 768px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: var(--sp-xl); }
}
.footer-wordmark { font-family: var(--f-display); font-size: var(--text-xl); font-weight: 300; }
.site-footer__tagline { font-size: var(--text-sm); color: var(--c-text-muted); margin-top: var(--sp-sm); }

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-xl);
  list-style: none;
}
.footer-nav__list a {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}
.footer-nav__list a:hover { color: var(--c-text); }

.social-links {
  display: flex;
  gap: var(--sp-lg);
  list-style: none;
  justify-content: flex-end;
}
.social-links a { color: var(--c-text-muted); transition: color var(--dur-fast); }
.social-links a:hover { color: var(--c-text); }
.social-links svg { width: 20px; height: 20px; }

.site-footer__legal {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-lg) var(--gutter);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  font-family: var(--f-mono);
}
.site-footer__legal a:hover { color: var(--c-text); }

/* ============================================================
   BACK LINK
   ============================================================ */
.back-link {
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  display: inline-block;
  margin-bottom: var(--sp-xl);
  transition: color var(--dur-fast);
}
.back-link:hover { color: var(--c-accent); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(80px + var(--sp-3xl));
  padding-bottom: var(--sp-2xl);
  border-bottom: 1px solid var(--c-border);
}
.page-hero__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--sp-md);
}
.page-hero__sub { color: var(--c-text-muted); font-size: var(--text-lg); }

/* ============================================================
   PLATFORMS
   ============================================================ */
.platforms__heading {
  font-family: var(--f-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  margin-bottom: var(--sp-2xl);
}
.platforms__list { display: flex; justify-content: center; gap: var(--sp-lg); flex-wrap: wrap; list-style: none; }
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.75em 1.5em;
  border: 1px solid var(--c-border);
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  transition: all var(--dur-base);
  border-radius: 2px;
}
.platform-link:hover { border-color: var(--c-accent); color: var(--c-accent); }
.platform-link svg { width: 18px; height: 18px; }

/* ============================================================
   STATIC PAGE
   ============================================================ */
.static-page__hero { position: relative; height: 50vh; overflow: hidden; }
.static-page__hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.static-page__hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--c-bg) 100%);
}
.static-page__hero-content {
  position: absolute;
  bottom: var(--sp-xl); left: 50%; transform: translateX(-50%);
  width: 100%;
}
.static-page__title { font-family: var(--f-display); font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl)); font-weight: 300; }
.static-page__title--over-image { color: var(--c-text); }
.static-page__header { padding-top: calc(80px + var(--sp-3xl)); padding-bottom: var(--sp-xl); border-bottom: 1px solid var(--c-border); }
.static-page__excerpt { color: var(--c-text-muted); font-size: var(--text-lg); margin-top: var(--sp-md); }

/* ============================================================
   POST PAGE (post.hbs)
   ============================================================ */
.post-header {
  padding-top: calc(80px + var(--sp-2xl));
}
.post-header__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--sp-md);
}
.post-header__excerpt {
  font-size: var(--text-xl);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-lg);
}
.post-header__meta {
  display: flex;
  gap: var(--sp-sm);
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-2xl);
}
.post-header__feature { margin-bottom: var(--sp-xl); }
.post-header__feature img { width: 100%; border-radius: 2px; }
.post-header__feature figcaption {
  text-align: center;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  margin-top: var(--sp-sm);
}

/* ============================================================
   POST CARDS (index.hbs, related posts)
   ============================================================ */
.post-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}
@media (max-width: 900px) { .post-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .post-card-grid { grid-template-columns: 1fr; } }

.post-card__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-tint);
  margin-bottom: var(--sp-md);
  border-radius: 2px;
}
.post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__tag {
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-card__title {
  font-family: var(--f-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin: var(--sp-xs) 0;
}
.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}
.post-card__date {
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--sp-2xl);
  font-family: var(--f-mono);
  font-size: var(--text-sm);
}
.pagination a { color: var(--c-accent); }
.pagination a:hover { color: var(--c-accent-h); }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: calc(80px + var(--sp-2xl));
}
.error-page__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 300;
  margin-bottom: var(--sp-md);
}
.error-page__message {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xl);
}
.error-page__wave {
  max-width: 400px;
  margin: 0 auto var(--sp-xl);
  opacity: 0.5;
}
.error-page__actions {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SPOTIFY EMBEDS
   ============================================================ */
.spotify-embed {
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-bg-tint);
  min-height: 152px;
}
.spotify-embed:not(.is-loaded) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotify-embed:not(.is-loaded)::before {
  content: "Loading player…";
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.08em;
}
.spotify-embed iframe { display: block; border-radius: 12px; }
.spotify-embed--compact { min-height: 152px; }
.spotify-embed noscript a { color: var(--c-accent); }

.hero__player {
  max-width: 480px;
  margin-top: var(--sp-xl);
}

/* Ghost embed cards (Spotify/YouTube pasted in editor) */
.gh-content .kg-embed-card {
  margin: var(--sp-2xl) 0;
}
.gh-content .kg-embed-card iframe {
  border-radius: 12px;
  max-width: 100%;
}

/* ============================================================
   FEATURED VIDEO (videos.hbs) — de-inlined
   ============================================================ */
.featured-video__embed {
  aspect-ratio: 16/9;
  background: var(--c-bg-tint);
  border-radius: 2px;
  overflow: hidden;
}
.featured-video__embed iframe,
.featured-video__embed .kg-embed-card,
.featured-video__embed .kg-embed-card iframe {
  width: 100%;
  height: 100%;
  margin: 0;
}
.featured-video__title {
  font-family: var(--f-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  margin-top: var(--sp-lg);
}
.featured-video__desc {
  color: var(--c-text-muted);
  margin-top: var(--sp-sm);
}

/* ============================================================
   THE LITTLE CRITTERS — sub-world identity
   Sage dusk palette · blob shapes · breathing motion
   ============================================================ */
.critters-world {
  /* Local token overrides: a softer world inside the site */
  --cw-bg:        #121815;            /* deep dusk green */
  --cw-bg-soft:   #17201C;
  --cw-card:      #1C2621;
  --cw-accent:    #8FB8A5;            /* lifted sage (AA on dusk bg) */
  --cw-text:      #EFEDE5;
  --cw-muted:     #A9B3AC;
  /* Per-critter moods */
  --mood-anxiety:    #E3B25C;         /* jittery amber */
  --mood-apathy:     #93A0B0;         /* flat grey-blue */
  --mood-anger:      #CD7A64;         /* rust */
  --mood-depression: #8E9CC7;         /* muted indigo */

  background: var(--cw-bg);
  color: var(--cw-text);
}
.critters-world .section { background: transparent; }

/* ---- Hero: dusk sky with drifting blobs ---- */
.critters-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 70% -10%, rgba(143,184,165,0.14), transparent 60%),
    linear-gradient(to bottom, #0E1412, var(--cw-bg));
}
.critters-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.critters-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(80px + var(--sp-4xl));
  padding-bottom: var(--sp-4xl);
  text-align: center;
}
.critters-hero__eyebrow {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cw-accent);
  margin-bottom: var(--sp-md);
}
.critters-hero__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-4xl), 9vw, var(--text-6xl));
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: var(--sp-lg);
}
.critters-hero__title em {
  font-style: italic;
  color: var(--cw-accent);
}
.critters-hero__sub {
  color: var(--cw-muted);
  font-size: var(--text-lg);
  max-width: 520px;
  margin-inline: auto;
}

/* Drifting blobs — the critters' presence before you meet them */
.critters-hero__blobs { position: absolute; inset: 0; z-index: 1; }
.blob {
  position: absolute;
  display: block;
  filter: blur(1px);
  opacity: 0.5;
  animation: blobFloat 9s ease-in-out infinite alternate;
}
.blob--1 {
  width: 140px; height: 120px;
  top: 18%; left: 8%;
  background: var(--mood-anxiety);
  border-radius: 61% 39% 52% 48% / 55% 46% 54% 45%;
  opacity: 0.16;
  animation-duration: 8s;
}
.blob--2 {
  width: 100px; height: 110px;
  top: 30%; right: 12%;
  background: var(--mood-depression);
  border-radius: 46% 54% 61% 39% / 48% 57% 43% 52%;
  opacity: 0.18;
  animation-duration: 11s;
  animation-delay: -3s;
}
.blob--3 {
  width: 80px; height: 72px;
  bottom: 18%; left: 22%;
  background: var(--mood-anger);
  border-radius: 55% 45% 42% 58% / 60% 42% 58% 40%;
  opacity: 0.14;
  animation-duration: 10s;
  animation-delay: -6s;
}
.blob--4 {
  width: 120px; height: 96px;
  bottom: 26%; right: 24%;
  background: var(--mood-apathy);
  border-radius: 42% 58% 55% 45% / 45% 52% 48% 55%;
  opacity: 0.15;
  animation-duration: 13s;
  animation-delay: -2s;
}
@keyframes blobFloat {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-26px) rotate(3deg); }
}

/* ---- Section labels/headings within the world ---- */
.critters-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cw-accent);
  margin-bottom: var(--sp-md);
}
.critters-heading {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: var(--sp-lg);
}

/* ---- Creator's letter ---- */
.critters-letter__card {
  background: var(--cw-card);
  border: 1px solid rgba(143,184,165,0.14);
  border-radius: 28px 30px 26px 32px / 30px 26px 32px 28px; /* softly irregular */
  padding: clamp(var(--sp-xl), 5vw, var(--sp-3xl));
  position: relative;
}
.critters-letter__label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cw-accent);
  margin-bottom: var(--sp-lg);
}
.critters-letter__body {
  font-size: var(--text-lg);
  color: var(--cw-text);
}
.critters-letter__body blockquote {
  border-left-color: var(--cw-accent);
  color: var(--cw-muted);
}
.critters-letter__body a { color: var(--cw-accent); }
.critters-letter__sign {
  display: block;
  margin-top: var(--sp-xl);
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--cw-accent);
}

/* ---- Field guide ---- */
.critters-guide__intro {
  color: var(--cw-muted);
  max-width: 480px;
  margin-bottom: var(--sp-2xl);
}
.critters-guide__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl) var(--sp-lg);
}
@media (max-width: 1000px) { .critters-guide__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .critters-guide__grid { grid-template-columns: 1fr; } }

.critter-entry {
  --mood: var(--cw-accent);
  animation: critterBreath 5s ease-in-out infinite;
}
/* Per-critter mood colour + staggered breathing */
.critter-entry:nth-child(4n+1) { --mood: var(--mood-anxiety);    animation-duration: 3.4s; }
.critter-entry:nth-child(4n+2) { --mood: var(--mood-apathy);     animation-duration: 7s; animation-delay: -2s; }
.critter-entry:nth-child(4n+3) { --mood: var(--mood-anger);      animation-duration: 4.2s; animation-delay: -1s; }
.critter-entry:nth-child(4n+4) { --mood: var(--mood-depression); animation-duration: 6s; animation-delay: -3s; }
@keyframes critterBreath {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.critter-entry__link { display: block; }
.critter-entry__portrait {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--mood) 22%, transparent), transparent 70%),
    var(--cw-card);
  border: 1px solid color-mix(in srgb, var(--mood) 35%, transparent);
  border-radius: 58% 42% 50% 50% / 48% 55% 45% 52%; /* blob frame */
  overflow: hidden;
  margin-bottom: var(--sp-lg);
  transition: border-radius var(--dur-slow) var(--ease-out),
              border-color var(--dur-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
.critter-entry:nth-child(4n+2) .critter-entry__portrait { border-radius: 45% 55% 58% 42% / 52% 45% 55% 48%; }
.critter-entry:nth-child(4n+3) .critter-entry__portrait { border-radius: 52% 48% 44% 56% / 58% 50% 50% 42%; }
.critter-entry:nth-child(4n+4) .critter-entry__portrait { border-radius: 48% 52% 55% 45% / 44% 58% 42% 56%; }
.critter-entry__link:hover .critter-entry__portrait {
  border-radius: 50%;
  border-color: var(--mood);
}
.critter-entry__portrait img {
  width: 78%; height: 78%;
  object-fit: contain;
}
.critter-entry__no {
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--mood) 80%, white);
}
.critter-entry__name {
  font-family: var(--f-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  margin: var(--sp-xs) 0 var(--sp-sm);
}
.critter-entry__traits {
  font-size: var(--text-sm);
  color: var(--cw-muted);
  line-height: 1.65;
}

/* ---- Community gallery ---- */
.critters-gallery-band { background: var(--cw-bg-soft); }
.critters-art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}
@media (max-width: 700px) { .critters-art-grid { grid-template-columns: repeat(2, 1fr); } }
.critters-art-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cw-card);
  border-radius: 24px 20px 26px 22px / 22px 26px 20px 24px;
}
.critters-art-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.critters-art-item:hover img { transform: scale(1.05); }

/* ---- Invitation card ---- */
.critters-invite__card {
  text-align: center;
  background:
    radial-gradient(ellipse 90% 100% at 50% 0%, rgba(143,184,165,0.1), transparent 65%),
    var(--cw-card);
  border: 1px dashed rgba(143,184,165,0.35);
  border-radius: 32px 28px 30px 34px / 28px 34px 26px 30px;
  padding: clamp(var(--sp-xl), 5vw, var(--sp-3xl));
}
.critters-invite__heading {
  font-family: var(--f-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: 300;
  margin-bottom: var(--sp-md);
}
.critters-invite__card p {
  color: var(--cw-muted);
  max-width: 460px;
  margin: 0 auto var(--sp-xl);
}

/* ---- Sage button variant ---- */
.btn--sage {
  background: var(--cw-accent, var(--c-sage));
  color: #121815;
  border-radius: 999px;   /* fully soft in the critters world */
}
.btn--sage:hover {
  background: color-mix(in srgb, var(--cw-accent, var(--c-sage)) 85%, white);
  transform: translateY(-1px);
}

/* ---- Team (world variant) ---- */
.team-card--critters .team-card__photo {
  border-radius: 55% 45% 50% 50% / 48% 52% 48% 52%;
}
.team-card--critters .team-card__role { color: var(--cw-muted); }

/* Reduced motion: critters rest quietly */
@media (prefers-reduced-motion: reduce) {
  .critter-entry, .blob { animation: none !important; }
}

/* ============================================================
   RELEASE HEADER (release.hbs) — supplemental
   ============================================================ */
.release-header {
  padding-top: calc(80px + var(--sp-2xl));
  padding-bottom: var(--sp-2xl);
}
.release-header__cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.release-header__title {
  font-family: var(--f-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 300;
  margin-bottom: var(--sp-sm);
}
.release-header__tagline {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}
.release-header__date {
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-xl);
}
.release-header__stream-label {
  display: block;
  font-family: var(--f-mono);
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}
.stream-buttons { display: flex; gap: var(--sp-md); flex-wrap: wrap; }
.stream-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.6em 1.25em;
  border: 1px solid var(--c-border);
  border-radius: 2px;
  font-size: var(--text-sm);
  transition: all var(--dur-base);
}
.stream-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.stream-btn svg { width: 16px; height: 16px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  color: var(--c-text-muted);
  padding: var(--sp-3xl) 0;
  font-size: var(--text-lg);
}
.empty-state a { color: var(--c-accent); text-decoration: underline; }

/* ============================================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================================ */
/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  z-index: 200;
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 0.75em 1.5em;
  border-radius: 0 0 4px 4px;
  font-weight: 500;
  transition: top var(--dur-fast);
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   GHOST EDITOR CARD WIDTHS (required by gscan)
   ============================================================ */
.gh-content .kg-width-wide {
  position: relative;
  width: calc(100% + 20vw);
  max-width: 85vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.gh-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .gh-content .kg-width-wide,
  .gh-content .kg-width-full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }
}

/* ============================================================
   GHOST CUSTOM FONTS SUPPORT (required by gscan)
   ============================================================ */
:root {
  --gh-font-heading: var(--f-display);
  --gh-font-body: var(--f-body);
}
body { font-family: var(--gh-font-body, var(--f-body)); }
h1, h2, h3, h4, h5, h6 { font-family: var(--gh-font-heading, var(--f-display)); }
.static-page__body--no-header { padding-top: calc(80px + var(--sp-2xl)); }

/* Home teaser hints at the critters world */
.critters-teaser {
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(143,184,165,0.08), transparent 60%),
    #121815;
}
.critters-teaser .section-label--light { color: #8FB8A5; }
.critters-teaser .btn--outline-light {
  border-radius: 999px;
  border-color: rgba(143,184,165,0.5);
}
.critters-teaser .btn--outline-light:hover {
  border-color: #8FB8A5;
  color: #8FB8A5;
}
