/* ─── Fonts ──────────────────────────────────────────────────────────────
   ABC Marist is a licensed/trial font used in the Figma design. It is NOT
   included in this repo — drop the licensed woff2 files into
   /assets/fonts/ and uncomment the @font-face rules below. Until then the
   site falls back to the serif stack. */

/*
@font-face {
  font-family: 'ABC Marist';
  src: url('/assets/fonts/ABCMaristUnlicensedTrial-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ABC Marist';
  src: url('/assets/fonts/ABCMaristUnlicensedTrial-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  --color-navy: #1f3c8d;
  --color-grey: #bbb;
  --color-black: #000;
  --color-white: #fff;

  --font-display: 'ABC Marist', Georgia, 'Times New Roman', serif;
  --font-body: 'ABC Marist', Georgia, 'Times New Roman', serif;

  --sidebar-width: 402px;
  --gutter: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: normal;
}

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─── Hero ──────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--color-navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100vh;
  height: 100dvh;
  padding: 10px var(--gutter);
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: 4.9375rem; /* 79px */
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--color-white);
  max-width: 24rem;
}

/* ─── Shared section chrome ─────────────────────────────────────────── */

.section {
  padding: 16px 8px 24px;
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
}

/* ─── Latest release ─────────────────────────────────────────────────── */

.release-cover {
  margin: 0 16px;
  aspect-ratio: 1 / 1;
  background: var(--color-white);
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.release-name {
  margin: 16px 16px 0;
}

.release-name a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

/* ─── Upcoming dates ─────────────────────────────────────────────────── */

.dates {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.date-entry {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.date-entry__range {
  margin: 0;
}

.date-entry__event {
  margin: 0;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.date-entry__location {
  margin: 0;
}

.ticket-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 24px;
  background: var(--color-grey);
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
}

/* ─── Images ─────────────────────────────────────────────────────────── */

.image-block {
  padding: 20px 0;
}

.image-block__frame {
  aspect-ratio: 402 / 387;
  background: repeating-conic-gradient(#e9e9e9 0% 25%, #f6f6f6 0% 50%) 50% / 20px 20px;
}

.image-block__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Contacts ───────────────────────────────────────────────────────── */

.contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-block__role {
  margin: 0;
}

.contact-block__details {
  padding: 0 16px;
}

.contact-block__company {
  margin: 0;
}

.contact-block__email {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

/* ─── Links ──────────────────────────────────────────────────────────── */

.link-group {
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-group a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  width: fit-content;
}

/* ─── Footer ─────────────────────────────────────────────────────────── */

.footer {
  padding: 16px 8px 4px;
}

.footer p {
  margin: 0;
}

.footer__legal a {
  text-decoration: none;
}

.footer__legal a:hover {
  text-decoration: underline;
}

/* ─── Layout wrapper ─────────────────────────────────────────────────── */

.page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ─── Legal pages ────────────────────────────────────────────────────── */

.legal {
  padding: 48px 8px;
  max-width: 640px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* ─── Presale page (one-screener) ───────────────────────────────────────
   Whole page is navy with white text, locked to viewport height: the
   spacer grows to absorb whatever room is left so the footer always sits
   at the bottom, whether content is short or (if it ever grows past a
   full screen) the page simply extends beyond 100vh as normal. */

.presale-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-navy);
  color: var(--color-white);
}

.presale-page .hero {
  height: auto;
  min-height: 0;
  background: transparent;
  padding: 32px 16px 0;
}

.presale-page .hero__title {
  padding-bottom: 0;
}

.presale-page .section__title {
  color: var(--color-white);
  font-size: 1.8125rem; /* 29px */
}

.presale-page .date-entry__range,
.presale-page .date-entry__event,
.presale-page .date-entry__location {
  color: var(--color-white);
}

.presale-page .ticket-button {
  background: #d44446;
}

.presale-page .link-group {
  padding: 0 16px 16px 24px;
}

.presale-page .link-group:last-child {
  padding-bottom: 0;
}

.presale-page .footer {
  color: var(--color-white);
}

.viewport-spacer {
  flex: 1 1 auto;
}

/* ─── Links page (one-screener) ─────────────────────────────────────────
   Same viewport-locked pattern as the presale page, but with labeled
   link groups (Socials / Music) instead of dates. */

.links-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-navy);
  color: var(--color-white);
}

.links-page .hero {
  height: auto;
  min-height: 0;
  background: transparent;
  padding: 32px 16px 0;
}

.links-page .hero__title {
  padding-bottom: 0;
}

.links-page__title {
  margin: 0;
  padding: 48px 16px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3rem; /* 48px */
  color: var(--color-white);
}

.links-page .link-group {
  padding: 0 16px 16px 24px;
  font-size: 1.5rem; /* 24px */
}

.links-page .footer {
  color: var(--color-white);
}

/* ─── Desktop layout ─────────────────────────────────────────────────── */

@media (min-width: 900px) {
  .page {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    column-gap: 56px;
    row-gap: 24px;
    padding: 0 var(--gutter);
  }

  .hero {
    grid-column: 1 / -1;
    margin: 0 calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  /* Left sidebar: latest release, dates, contacts, links stacked in reading order */
  .section--release {
    grid-column: 1;
    grid-row: 2;
  }

  .section--dates {
    grid-column: 1;
    grid-row: 3;
  }

  .section--contacts {
    grid-column: 1;
    grid-row: 4;
  }

  .section--links {
    grid-column: 1;
    grid-row: 5;
  }

  /* Right media column: both images grouped together, second one
     staggered — matches the "Image Left" / "Image Right" offset in the
     desktop Figma frame */
  .image-block--1 {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: start;
    width: var(--sidebar-width);
    padding: 36px 0;
  }

  .image-block--2 {
    grid-column: 2;
    grid-row: 5;
    align-self: start;
    width: var(--sidebar-width);
    padding: 36px 0;
    margin-left: 29%; /* mirrors the 290px offset in the desktop design at 982px width */
  }

  .footer {
    grid-column: 1 / -1;
    grid-row: 6;
    padding: 16px 8px 4px;
  }
}
