:root {
  /* Deep teal & burnt coral */
  --paper: #10272b;
  --ink: #f1e6dd;
  --ink-soft: #b7c4c0;
  --faint: #2a454a;
  --red: #ff806f;
  --active: #e5ec78;
  --page: 820px;
  --font-display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --font-text: Literata, "Iowan Old Style", Palatino, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.6rem;
}

.site {
  width: min(var(--page), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.brand {
  display: block;
  margin: 0.2rem auto 0.85rem;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 5.2vw, 2.85rem);
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--red);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  margin: 0 0 2rem;
  font-family: var(--font-text);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav a {
  text-decoration: none;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid transparent;
  color: var(--ink);
}

.nav a:hover {
  border-bottom-color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--active);
  border-bottom-color: var(--active);
}

.main {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

body[data-page="home"] {
  --page: 1100px;
}

.hero-photo {
  margin: 0.35rem 0 0.2rem;
  width: min(100%, 980px);
  justify-self: center;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-photo figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}

.join {
  width: min(100%, 460px);
  text-align: center;
}

.join h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.secret {
  margin: 0 0 1.35rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--ink-soft) 78%, transparent);
}

.secret p {
  margin: 0 0 0.7rem;
}

.secret p:last-child {
  margin-bottom: 0;
}

/* Home invite: readable, still mysterious */
.secret--invite {
  margin: 0.35rem 0 1.6rem;
  padding: 1rem 0 1.05rem 0.9rem;
  border-left: 2px solid color-mix(in srgb, var(--red) 55%, transparent);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  line-height: 1.65;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--ink-soft) 88%, var(--ink));
  animation: invite-in 0.9s ease-out both;
}

.secret-hook {
  color: color-mix(in srgb, var(--red) 72%, var(--ink-soft));
  font-weight: 500;
}

.secret-punch {
  margin-top: 0.85rem !important;
  color: color-mix(in srgb, var(--active) 65%, var(--ink-soft));
  font-weight: 500;
}

.secret-aside {
  opacity: 0.58;
}

@keyframes invite-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .secret--invite {
    animation: none;
  }
}

.notify {
  display: grid;
  gap: 0.65rem;
  text-align: left;
}

.notify label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.notify .req {
  color: var(--red);
}

.notify input {
  width: 100%;
  border: 1px solid var(--faint);
  background: #183338;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
}

.notify input:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.notify button {
  justify-self: start;
  border: 0;
  background: #2a454a;
  color: var(--ink);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.notify button:hover,
.notify button:focus-visible {
  background: var(--red);
  color: var(--paper);
}

.form-note {
  min-height: 1.3em;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-note.is-error {
  color: var(--red);
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: var(--paper);
  background: color-mix(in srgb, var(--red) 78%, #10272b);
  border-radius: 50%;
  text-decoration: none;
  overflow: visible;
}

.socials svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials svg.icon-fill,
.socials svg.icon-tiktok {
  fill: currentColor;
  stroke: none;
}

.socials svg.icon-tiktok {
  width: 1.35rem;
  height: 1.35rem;
  overflow: visible;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--red);
  color: var(--paper);
}

.page-title {
  margin: 0 0 0.35rem;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.prose {
  width: 100%;
  max-width: 42rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--ink-soft) 78%, transparent);
}

.kicker {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.prose p {
  margin: 0 0 1rem;
}

.prose em {
  font-style: italic;
}

.about-copy {
  width: min(100%, 460px);
  text-align: center;
}

.about-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--red);
}

.about-heading--ask {
  margin: 1.6rem 0 1rem;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
}

.about-copy .secret {
  margin: 0 0 1.25rem;
  text-align: left;
}

.secret-attr {
  margin-top: 0.55rem !important;
  color: var(--faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.64rem;
}

.about-still {
  margin: 0.4rem auto 1.35rem;
  width: min(100%, 420px);
}

.about-still img {
  width: 100%;
}

.about-still figcaption {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}

body[data-page="about"] .main {
  padding-top: 1.5rem;
}

.listen-links {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  margin: 0.2rem 0 1.6rem;
}

.listen-links a {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  color: var(--red);
}

.listen-links a:hover,
.listen-links a:focus-visible {
  color: var(--ink);
}

.releases {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  width: 100%;
}

.releases iframe {
  display: block;
  max-width: 100%;
  background: #fff;
}

.video-stack {
  display: grid;
  gap: 1.35rem;
  width: min(100%, 720px);
}

.frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #100d0c;
}

.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body[data-page="images"] {
  --page: 1100px;
}

.gallery {
  columns: 4;
  column-gap: 18px;
  width: 100%;
}

.gallery figure {
  break-inside: avoid;
  margin: 0 0 18px;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #161210;
  cursor: zoom-in;
}

.gallery img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.gallery button:hover img,
.gallery button:focus-visible img {
  opacity: 0.9;
}

body[data-page="contact"] .main,
body[data-page="music"] .main {
  padding-top: 4.5rem;
}

.contact-line {
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.contact-line a {
  color: var(--ink);
}

.contact-line a:hover {
  color: var(--red);
}

.lightbox {
  width: min(960px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  padding: 0.6rem;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(16, 39, 43, 0.82);
}

.lightbox-stage {
  position: relative;
  display: block;
  width: 100%;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #0a1618;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  display: grid;
  place-items: center;
  user-select: none;
}

.lightbox-prev {
  left: 0.4rem;
}

.lightbox-next {
  right: 0.4rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  color: var(--red);
}

.lightbox form {
  display: flex;
  justify-content: flex-end;
}

.lightbox .close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.2rem 0.55rem;
  color: var(--ink-soft);
}

.lightbox .close:hover,
.lightbox .close:focus-visible {
  color: var(--red);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .gallery {
    columns: 3;
    column-gap: 14px;
  }

  .gallery figure {
    margin-bottom: 14px;
  }
}

@media (max-width: 640px) {
  .gallery {
    columns: 2;
    column-gap: 12px;
  }

  .gallery figure {
    margin-bottom: 12px;
  }
}

@media (max-width: 520px) {
  .site {
    width: min(100% - 1.2rem, var(--page));
    padding-top: 1rem;
  }

  .nav {
    gap: 0.3rem 0.7rem;
    font-size: 0.72rem;
  }

  .releases iframe {
    width: min(350px, 100%) !important;
    height: min(350px, 100vw - 2rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
