/* NEVILLE — styles for the main site (every page except /links).
   The /links page keeps its own stylesheet, site.css. */
:root {
  --bg: #2b2828;
  --ink: #f4efe8;
  --ink-soft: rgba(244, 239, 232, .74);
  --ink-faint: rgba(244, 239, 232, .5);
  --line: rgba(244, 239, 232, .18);
  --line-strong: rgba(244, 239, 232, .4);
  --accent: #ff5a47;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100dvh;
  background: var(--bg) linear-gradient(to bottom, #7a130d, #4a0c09 38%, #2b2828 78%) fixed;
  color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
}
main { flex: 1; position: relative; z-index: 1; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- Backdrop: the red photo, fixed behind every page ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: #5a0f0c url("../img/bakgrund.webp") center / cover no-repeat;
}
.bg::after { /* melt the bottom of the photo into the page colour */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20, 6, 6, .25), transparent 22%, transparent 48%, var(--bg) 92%);
}
.veil {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(30, 12, 12, .55), rgba(40, 34, 34, .94) 75%);
  opacity: var(--veil, 1);
}
.is-home .veil { background: rgba(38, 30, 30, .92); opacity: var(--veil, 0); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  text-transform: uppercase; line-height: .95; letter-spacing: .005em; color: #fff;
  text-wrap: balance;
}
.display--hero { font-size: clamp(54px, 12.5vw, 196px); text-shadow: 0 4px 50px rgba(0, 0, 0, .3); }
.display--page { font-size: clamp(42px, 8.6vw, 124px); text-shadow: 0 4px 40px rgba(0, 0, 0, .3); }
.display--h2 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; overflow-wrap: break-word; }
.display--h3 { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.15; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.lede { font-size: clamp(18px, 1.9vw, 23px); font-weight: 300; line-height: 1.45; color: #fff; max-width: 34em; }
.muted { color: var(--ink-soft); }
.small { font-size: 13.5px; color: var(--ink-faint); }
.prose p { max-width: 38em; color: var(--ink-soft); }
.prose p + p { margin-top: 1em; }

/* Underlined text link, the main call-to-action style */
.ulink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; color: #fff; text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid #fff;
  transition: opacity .25s, gap .3s var(--ease);
}
.ulink:hover { gap: 11px; opacity: .8; }
.ulink svg { width: 16px; height: 16px; flex: none; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1.5px solid #fff; background: #fff; color: #1d1b1b;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
}
.pill:hover { background: transparent; color: #fff; }
.pill:active { transform: scale(.97); }
.pill--ghost { background: transparent; color: #fff; }
.pill--ghost:hover { background: #fff; color: #1d1b1b; }
.pill svg { width: 18px; height: 18px; }
.pill[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s;
}
.site-head.is-stuck { background: rgba(34, 28, 28, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.wordmark {
  justify-self: start; text-decoration: none; color: #fff;
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1; letter-spacing: .01em;
}
.nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav a {
  font-size: 14.5px; font-weight: 700; text-decoration: none; color: #fff; white-space: nowrap;
  padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .25s;
}
.nav a:hover, .nav a[aria-current=page] { border-color: #fff; }
.socials { justify-self: end; display: flex; gap: 4px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: background .25s; }
.socials a:hover { background: rgba(255, 255, 255, .16); }
.socials svg { width: 20px; height: 20px; }
.menu-btn { display: none; justify-self: end; font-weight: 700; font-size: 14.5px; padding: 10px 0; border-bottom: 2px solid #fff; }

@media (max-width: 980px) {
  .site-head { grid-template-columns: 1fr auto; }
  .menu-btn { display: block; position: relative; z-index: 2; }
  .wordmark { position: relative; z-index: 2; }
  .site-head .socials { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 90px var(--gutter) 40px; background: #241717;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 8.5vw, 44px); line-height: 1.1; border: 0; padding: 6px 0; }
  .nav a[aria-current=page] { color: var(--accent); }
  .menu-open { overflow: hidden; }
  /* a blurred header would trap the full-screen menu inside itself */
  .menu-open .site-head { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.page-head { padding: clamp(40px, 9vh, 110px) 0 clamp(36px, 6vh, 72px); }
.page-head .lede { margin-top: 22px; }
.section { padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.section--split { display: grid; grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: 24px clamp(24px, 5vw, 72px); }
.section__body > * + * { margin-top: 22px; }
@media (max-width: 960px) { .section--split { grid-template-columns: 1fr; } .display--h2 { font-size: 26px; } }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.rise { animation: rise 1s var(--ease) both; }
.rise:nth-child(2) { animation-delay: .08s; } .rise:nth-child(3) { animation-delay: .16s; } .rise:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Home hero ---------- */
.hero { min-height: calc(100svh - 76px); display: flex; flex-direction: column; }
.hero__main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 5vh; }
.hero__main .row { margin-top: clamp(18px, 3vh, 30px); }
.hero__signup {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: end; gap: 16px 48px;
  padding-block: 26px 34px; border-top: 1px solid var(--line);
}
.hero__signup p.signup-lead { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; line-height: 1.35; color: #fff; max-width: 22em; }
@media (max-width: 760px) { .hero__signup { grid-template-columns: 1fr; } }

/* ---------- Signup ---------- */
.signup { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.signup input[type=email] {
  width: 100%; height: 48px; padding: 0 2px; font: inherit; font-size: 17px; color: #fff;
  background: transparent; border: 0; border-bottom: 2px solid #fff; border-radius: 0;
}
.signup input::placeholder { color: var(--ink-soft); }
.signup input:focus { outline: none; border-color: var(--accent); }
.signup .hp { position: absolute; left: -9999px; }
.signup__msg { grid-column: 1 / -1; min-height: 1.5em; font-size: 14px; color: #fff; }
.signup__msg.is-error { color: #ffb3a6; }
.signup__fine { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-faint); margin-top: -6px; }
@media (max-width: 460px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Track list ---------- */
.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
  width: 100%; padding: 18px 6px; text-align: left; border-bottom: 1px solid var(--line);
  transition: background .25s, padding .35s var(--ease);
}
.track:hover { background: rgba(244, 239, 232, .06); padding-left: 14px; }
.track__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); font-size: 13px; font-variant-numeric: tabular-nums; }
.track__n svg { width: 18px; height: 18px; }
.track.is-current .track__n { background: #fff; color: #1d1b1b; border-color: #fff; }
.track__title { display: block; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(18px, 2.4vw, 28px); line-height: 1.1; color: #fff; }
.track__note { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-faint); }
.track__time { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.track__bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }
.embed { width: 100%; border: 0; border-radius: 14px; display: block; background: rgba(0, 0, 0, .2); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card .display { overflow-wrap: anywhere; font-size: 16px; }
.card {
  display: flex; flex-direction: column; gap: 12px; min-height: 190px; padding: 24px;
  border: 1.5px solid var(--line-strong); border-radius: 22px; background: rgba(43, 40, 40, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-decoration: none; transition: background .3s var(--ease), color .3s, transform .3s var(--ease), border-color .3s;
}
.card p { color: var(--ink-soft); font-size: 15px; }
.card .ulink { margin-top: auto; align-self: flex-start; }
a.card:hover { background: #fff; color: #1d1b1b; border-color: #fff; transform: translateY(-3px); }
a.card:hover .display, a.card:hover p { color: #1d1b1b; }
a.card:hover .ulink { color: #1d1b1b; border-color: #1d1b1b; }
.card__mail { font-weight: 700; font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.section__body > .card__mail { font-size: 17px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); }

/* ---------- Lists: news, timeline, shows ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 150px 1fr; gap: 6px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.item:first-child { border-top: 1px solid var(--line); }
.item__date { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); padding-top: 3px; }
.item__body > * + * { margin-top: 8px; }
.item__body p { color: var(--ink-soft); max-width: 38em; }
.item__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
@media (max-width: 620px) { .item { grid-template-columns: 1fr; } }
.empty { padding: 22px 24px; border: 1.5px dashed var(--line-strong); border-radius: 18px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 720px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 16px; color: #fff;
  background: rgba(244, 239, 232, .08); border: 1.5px solid var(--line-strong); border-radius: 14px;
  color-scheme: dark; transition: border-color .25s, background .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select option { color: #1d1b1b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(244, 239, 232, .14); }
.field [aria-invalid=true] { border-color: #ffb3a6; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__msg { font-size: 14.5px; color: #fff; }
.form__msg.is-error { color: #ffb3a6; }
.form .hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Press ---------- */
.bio { padding: 26px; border-radius: 20px; background: rgba(244, 239, 232, .07); border: 1px solid var(--line); }
.bio p { color: #fff; font-size: 17px; max-width: 40em; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.photo figcaption .ulink { font-size: 13.5px; padding: 2px 0; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.about__img { width: 100%; border-radius: 18px; border: 1.5px solid var(--line-strong); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__img { max-width: 260px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin: 0; }
.facts div { border-top: 2px solid #fff; padding-top: 10px; }
.facts dt { font-size: 13px; color: var(--ink-soft); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; color: #fff; }

/* ---------- Footer ---------- */
.site-foot { position: relative; z-index: 1; margin-top: clamp(40px, 8vw, 96px); border-top: 1px solid var(--line); background: rgba(34, 30, 30, .6); }
.foot-signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px 48px; align-items: end; padding-block: 36px; border-bottom: 1px solid var(--line); }
.foot-signup .signup-lead { font-size: 19px; font-weight: 600; line-height: 1.35; color: #fff; max-width: 22em; }
.foot-base { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 28px; padding-block: 24px 30px; font-size: 13.5px; color: var(--ink-soft); }
.foot-left { display: grid; gap: 10px; justify-items: start; }
.foot-copy { color: var(--ink-faint); }
.foot-base .socials { justify-self: center; }
@media (max-width: 760px) { .foot-base { grid-template-columns: 1fr; } .foot-base .socials { order: -1; justify-self: start; margin-left: -10px; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .foot-signup { grid-template-columns: 1fr; } }

/* ---------- Launch countdown ---------- */
body:not(.is-ready) main { visibility: hidden; }   /* nothing shows before the lock has been checked */
.is-locked .site-head { grid-template-columns: 1fr; }
.is-locked main { display: flex; }
.count { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(36px, 7vh, 72px); padding-block: 4vh; }
.count__grid { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(12px, 4vw, 64px); text-align: center; }
.count__soon { font-size: clamp(38px, 9vw, 132px); text-align: center; text-shadow: 0 4px 40px rgba(0, 0, 0, .3); }
.count__cell { display: grid; gap: 8px; justify-items: center; }
.count__num { font-size: clamp(40px, 11.5vw, 170px); font-variant-numeric: tabular-nums; text-shadow: 0 4px 40px rgba(0, 0, 0, .3); }
.count__label { font-size: clamp(11.5px, 1.3vw, 15px); font-weight: 700; color: #fff; }
.is-locked .site-foot { margin-top: 0; background: none; border-top-color: transparent; }
.admin-open { font-size: 13px; color: var(--ink-faint); padding: 8px 0; transition: color .2s; }
.admin-open:hover { color: #fff; }
.preview-note { padding-bottom: 22px; margin-top: -14px; font-size: 13px; color: var(--ink-faint); }
.preview-note button { text-decoration: underline; text-underline-offset: 4px; color: var(--ink-soft); }

/* Popup */
.modal {
  width: min(380px, calc(100vw - 32px)); padding: 0; color: var(--ink);
  background: #2b2828; border: 1.5px solid var(--line-strong); border-radius: 22px;
}
.modal::backdrop { background: rgba(10, 4, 4, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__form { position: relative; display: grid; gap: 14px; padding: 30px 26px 26px; }
.modal__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-soft); }
.modal__close:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.modal__close svg { width: 18px; height: 18px; }
.modal__text { font-size: 14.5px; color: var(--ink-soft); }
.modal input {
  width: 100%; height: 50px; padding: 0 16px; font: inherit; font-size: 17px; letter-spacing: .08em; color: #fff;
  background: rgba(244, 239, 232, .08); border: 1.5px solid var(--line-strong); border-radius: 14px;
}
.modal input:focus { outline: none; border-color: #fff; }
.modal__msg { min-height: 1.4em; margin-top: -6px; font-size: 13.5px; color: #ffb3a6; }

.pill--small { min-height: 40px; padding: 0 22px; font-size: 14px; }
.modal .signup { grid-template-columns: 1fr; gap: 14px; }
.modal .signup input[type=email] { height: 50px; padding: 0 16px; font-size: 17px; letter-spacing: 0; border: 1.5px solid var(--line-strong); border-radius: 14px; background: rgba(244, 239, 232, .08); }
.modal .signup input[type=email]:focus { border-color: #fff; }
.modal .signup__msg { min-height: 0; }
.modal .signup__msg:empty { display: none; }
.terms { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.terms input { width: 20px; height: 20px; margin: 0; padding: 0; accent-color: #fff; }
.terms a { color: #fff; }

.gate { display: grid; gap: 14px; justify-items: start; }
.prose a { color: #fff; }
.prose mark { background: #ffd84a; color: #1d1b1b; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.foot-links .admin-open { padding: 0; }

/* Language button (last item in the menu) */
.lang { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border: 1.5px solid var(--line-strong); border-radius: 999px; color: #fff; align-self: center; transition: background .25s, color .25s, border-color .25s; }
.lang:hover { background: #fff; color: #1d1b1b; border-color: #fff; }
@media (max-width: 980px) { .lang { align-self: flex-start; margin-top: 18px; font-size: 15px; padding: 8px 16px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
