/* ============================================================
   RED HIPPO — one-pager
   Dark, cinematic, monochrome + a single crimson accent.
   ============================================================ */

:root {
  /* Warm near-black world, tuned to the background artwork (#1B1311 base,
     #9C413D ember, dusty rose). */
  --bg:            #0d0a09;
  --bg-elev:       #17110f;
  --fg:            #f4f0ec;
  --muted:         #9a8f88;
  --line:          rgba(255, 244, 238, 0.10);

  /* Single accent. Change these two to re-theme the whole site. */
  --accent:        #c0392e;
  --accent-glow:   rgba(155, 65, 61, 0.42);
  --ember:         rgba(136, 60, 57, 0.55);

  --font-display:  'Anton', 'Arial Narrow', sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw:          1120px;
  --pad:           clamp(1.25rem, 5vw, 4rem);
  --section-gap:   clamp(6rem, 14vw, 11rem);

  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* keep the `hidden` attribute authoritative even when a class sets display */
[hidden] { display: none !important; }

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--fg);
  color: var(--bg);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
.skip-link:focus { left: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--fg);
}

.nav__menu {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.6rem);
}
.nav__menu a {
  position: relative;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  padding: 0.35rem 0;
  transition: color 0.25s var(--ease);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__menu a:hover,
.nav__menu a:focus-visible { color: var(--fg); }
.nav__menu a:hover::after,
.nav__menu a:focus-visible::after { transform: scaleX(1); }

/* hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  /* warm fallback glow — only seen if the artwork fails to load */
  background:
    radial-gradient(100% 80% at 50% 42%, var(--ember) 0%, transparent 55%),
    linear-gradient(180deg, #140d0b 0%, var(--bg) 60%, #080605 100%);
}

/* the hero artwork (assets/hero-bg.jpg) — shown prominently */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.94;
  animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.16) translateY(-2%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    /* light dark disc behind the logo — keeps legibility while letting the
       blood-moon glow through as a halo */
    radial-gradient(50% 44% at 50% 46%, rgba(8, 5, 5, 0.44) 0%, rgba(8, 5, 5, 0.14) 50%, transparent 74%),
    /* warm vignette to the edges */
    radial-gradient(120% 100% at 50% 50%, transparent 38%, rgba(8, 5, 5, 0.5) 84%, rgba(13, 10, 9, 0.9) 100%),
    /* top/bottom scrims for nav, tagline and scroll cue */
    linear-gradient(180deg, rgba(8, 5, 5, 0.5) 0%, transparent 26%, rgba(8, 5, 5, 0.62) 100%);
}

.hero__grain { /* film-grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__content {
  text-align: center;
  padding: 0 var(--pad);
  animation: rise 1.2s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__logo {
  width: min(78vw, 640px);
  margin: 0 auto;
  filter: drop-shadow(0 12px 60px rgba(0, 0, 0, 0.7));
}

/* typographic fallback wordmark (shown only if logo.png is missing) */
.hero__logo-text {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__logo-text span:first-child {
  font-size: clamp(2.6rem, 11vw, 7rem);
  color: var(--accent);
}
.hero__logo-text span:last-child {
  font-size: clamp(4.4rem, 20vw, 13rem);
  color: var(--fg);
}

.hero__tagline {
  margin: 1.8rem 0 0;
  font-size: clamp(0.75rem, 2.5vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.55em;
  color: var(--muted);
  padding-left: 0.55em; /* optically balance the tracking */
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  overflow: hidden;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--fg));
  animation: scrolldown 2.2s var(--ease) infinite;
}
@keyframes scrolldown {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-gap) var(--pad);
}

.section__label {
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent);
}

.section__title {
  margin: 0 0 2.8rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* full-bleed artwork behind key sections, fading into the black at top and
   bottom so the page reads as one continuous world */
.section--about,
.section--contact {
  position: relative;
  isolation: isolate;
}
.section--about::before,
.section--contact::before {
  content: "";
  position: absolute;
  inset: 0 auto;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background-size: cover;
  background-position: center;
}
.section--about::before {
  background-image:
    linear-gradient(180deg, var(--bg) 0%, rgba(13, 10, 9, 0.74) 24%, rgba(13, 10, 9, 0.74) 76%, var(--bg) 100%),
    url('../assets/about-bg.jpg');
}
.section--contact::before {
  background-image:
    linear-gradient(180deg, var(--bg) 0%, rgba(13, 10, 9, 0.80) 26%, rgba(13, 10, 9, 0.82) 74%, var(--bg) 100%),
    url('../assets/contact-bg.jpg');
}

/* ============================================================
   ABOUT / BIO
   ============================================================ */
.section--about {
  position: relative;
  text-align: center;
  max-width: 920px;
}
.bio__poem {
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  line-height: 1.6;
  font-weight: 300;
  color: var(--fg);
  margin: 0 auto;
}
.bio__poem em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.bio__statement {
  margin: 2.8rem auto 0;
  max-width: 40ch;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   WATCH / VIDEO
   ============================================================ */
.section--watch { text-align: center; }
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
}
.video__el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 50%, var(--accent-glow) 0%, transparent 70%),
    var(--bg-elev);
}
.video__placeholder p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.video__placeholder span { font-size: 0.85rem; color: var(--muted); }
.video__placeholder code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--fg);
}

.video__sound {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.video__sound:hover { border-color: var(--accent); }
.video__sound-icon {
  width: 18px;
  height: 18px;
  background: var(--fg);
  /* speaker-muted glyph */
  -webkit-mask: no-repeat center / contain;
          mask: no-repeat center / contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3l2.5 2.5-1 1L15.5 13 13 15.5l-1-1L14.5 12 12 9.5l1-1L15.5 11l2.5-2.5 1 1L16.5 12z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13.5 3l2.5 2.5-1 1L15.5 13 13 15.5l-1-1L14.5 12 12 9.5l1-1L15.5 11l2.5-2.5 1 1L16.5 12z'/%3E%3C/svg%3E");
}
.video__sound-icon[data-state="unmuted"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13-3.5v2.1a5 5 0 0 1 0 8.8v2.1a7 7 0 0 0 0-13zm0 4.2v4.6a1.5 1.5 0 0 0 0-4.6z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 5V4L7 9H3zm13-3.5v2.1a5 5 0 0 1 0 8.8v2.1a7 7 0 0 0 0-13zm0 4.2v4.6a1.5 1.5 0 0 0 0-4.6z'/%3E%3C/svg%3E");
}

/* ============================================================
   LISTEN / RELEASE
   ============================================================ */
.release {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}
.release__art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 70% at 30% 20%, var(--ember) 0%, transparent 60%),
    linear-gradient(145deg, #1a1310, #080605);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.release__art span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.25);
  padding-left: 0.4em;
}
.release__kind {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}
.release__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.release__note { margin: 0.7rem 0 1.8rem; color: var(--muted); font-size: 0.95rem; }

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.platform svg { width: 18px; height: 18px; fill: currentColor; }
.platform:hover,
.platform:focus-visible {
  border-color: var(--accent);
  background: rgba(155, 65, 61, 0.12);
  transform: translateY(-2px);
}

/* ============================================================
   SHOWS
   ============================================================ */
.shows { list-style: none; margin: 0; padding: 0; }
.show {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.show:last-of-type { border-bottom: 1px solid var(--line); }
.show:hover { padding-left: 0.6rem; }
.show__date {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1;
}
.show__date strong { font-size: 2rem; font-weight: 400; }
.show__date em {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}
.show__info { display: flex; flex-direction: column; gap: 0.25rem; }
.show__venue { font-size: 1.1rem; font-weight: 500; }
.show__city { font-size: 0.88rem; color: var(--muted); }
.show__tickets {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--fg);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.show__tickets:hover { background: var(--fg); color: var(--bg); }
.shows__empty {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 8vw, 5rem);
  margin-bottom: 3.5rem;
}
.contact__role {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
}
.contact__email {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.contact__email:hover { color: var(--accent); border-bottom-color: var(--accent); }

.contact__form { width: 100%; max-width: 520px; }
.form__row { margin: 1.4rem 0; }
.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.form__input {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease);
}
.form__input:focus { outline: none; border-bottom-color: var(--accent); }
.form__textarea { resize: vertical; min-height: 6rem; }
.form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.form__submit {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid var(--fg);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.form__submit:hover { background: var(--fg); color: var(--bg); }
.form__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form__status {
  margin: 1.2rem 0 0;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.form__status[data-state="ok"] { color: var(--fg); }
.form__status[data-state="error"] { color: var(--accent); }

.contact__form {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.contact__form--sent {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.contact__success {
  max-width: 520px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.contact__success--visible { opacity: 1; transform: translateY(0); }
.contact__success-mark {
  margin: 0 0 1rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.1rem;
}
.contact__success-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.contact__success-text { margin: 0; color: var(--muted); }

.socials { display: flex; gap: 1rem; flex-wrap: wrap; }
.social {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.social svg { width: 20px; height: 20px; fill: var(--fg); transition: fill 0.25s var(--ease); }
.social:hover,
.social:focus-visible {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.social:hover svg { fill: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--pad);
  text-align: center;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  margin: 0 0 0.6rem;
}
.footer__copy { margin: 0; font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease);
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__menu a { font-size: 1rem; }

  .release { grid-template-columns: 1fr; text-align: center; }
  .release__art { max-width: 240px; margin: 0 auto; }
  .platforms { justify-content: center; }

  .show { grid-template-columns: 64px 1fr; row-gap: 1rem; }
  .show__date strong { font-size: 1.6rem; }
  .show__tickets { grid-column: 1 / -1; text-align: center; }

  .contact { flex-direction: column; gap: 2rem; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
