/* -----------------------------------------------------------
   Miles from Eden — design tokens
----------------------------------------------------------- */
:root {
  --bg:          #0a0908;
  --bg-panel:    #131110;
  --bg-panel-2:  #1c1712;
  --line:        rgba(237, 230, 216, 0.10);
  --line-strong: rgba(237, 230, 216, 0.22);

  --gold:        #c9a24b;
  --gold-bright: #e8c874;
  --ember:       #b8481f;

  --text:        #ede6d8;
  --text-muted:  #9a927f;
  --text-dim:    #6b6355;

  --font-display: 'Pirata One', serif;
  --font-head:    'Oswald', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 104px;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2 { margin: 0; }

/* film-grain overlay for the whole page */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  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)'/%3E%3C/svg%3E");
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-2);
}

.section__title {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: var(--space-3);
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4);
}

/* -----------------------------------------------------------
   Mile-sign — recurring signature: a metal roadside plate
   whose number counts down toward "MIL 000 · HJEM", marking
   the journey the page tells section by section.
----------------------------------------------------------- */
.mile-sign {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 4px 14px rgba(0,0,0,0.4);
  font-family: var(--font-head);
  margin-bottom: var(--space-3);
}
.mile-sign__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.mile-sign__num {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.mile-sign__sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ember);
  margin-left: 4px;
}
.mile-sign--home { border-color: var(--gold); }

/* -----------------------------------------------------------
   Nav
----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--space-4);
  background: linear-gradient(180deg, rgba(10,9,8,0.9), rgba(10,9,8,0));
  backdrop-filter: blur(2px);
}
.nav__mark {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-bright);
}
.nav__links {
  display: flex;
  gap: var(--space-4);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a { color: var(--text-muted); transition: color .2s; }
.nav__links a:hover { color: var(--gold-bright); }
.nav__cta {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 8px 18px;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.nav__cta:hover { border-color: var(--gold); color: var(--gold-bright); }

/* -----------------------------------------------------------
   Hero
----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(15%) contrast(1.05);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10,9,8,1) 0%, rgba(10,9,8,0.55) 42%, rgba(10,9,8,0.15) 70%, rgba(10,9,8,0.55) 100%),
    linear-gradient(90deg, rgba(10,9,8,0.75) 0%, rgba(10,9,8,0.1) 55%);
}
.hero__mile { position: absolute; top: 110px; left: var(--space-4); }
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-4) var(--space-6);
  max-width: 640px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 128px);
  line-height: 0.88;
  color: var(--text);
  text-shadow: 0 6px 40px rgba(0,0,0,0.6);
}
.hero__tagline {
  margin: var(--space-3) 0 var(--space-4);
  color: var(--text-muted);
  font-size: 18px;
  max-width: 46ch;
}
.hero__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero__scroll {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll span {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* -----------------------------------------------------------
   Buttons
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #171205;
  font-weight: 600;
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--wide { width: 100%; margin-top: var(--space-3); }

/* -----------------------------------------------------------
   Om
----------------------------------------------------------- */
.om__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: start;
}
.om__p {
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 var(--space-2);
}
.om__figure {
  margin: 0;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--bg-panel);
}
.om__figure img { filter: grayscale(25%) contrast(1.05); }
.om__figure figcaption {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-top: 10px;
  text-align: center;
}
.credits {
  margin-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.credits li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.credits__navn { color: var(--text); }
.credits__rolle { color: var(--text-dim); text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }

/* -----------------------------------------------------------
   Diskografi
----------------------------------------------------------- */
.tracklist { border-top: 1px solid var(--line); }
.tracklist__row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: var(--space-2);
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.tracklist__row:hover { background: rgba(201,162,75,0.05); }
.tracklist__nr {
  font-family: var(--font-head);
  color: var(--text-dim);
  font-size: 14px;
}
.tracklist__tittel {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tracklist__type {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-size: 11px;
}
.tag-e {
  font-size: 10px;
  font-family: var(--font-body);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  padding: 1px 5px;
  border-radius: 2px;
}

/* -----------------------------------------------------------
   Hør nå
----------------------------------------------------------- */
.platformer { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color .2s, padding-left .2s;
}
.platform:hover { color: var(--gold-bright); padding-left: 10px; }
.platform__pil { color: var(--gold); font-size: 18px; }

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-6) var(--space-4) var(--space-4);
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer__verse {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--text);
  max-width: 620px;
  margin: 0 auto var(--space-4);
}
.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.footer__links a:hover { color: var(--gold-bright); }
.footer__meta { color: var(--text-dim); font-size: 12px; }
.mile-sign--home { margin: 0 auto var(--space-3); }

/* -----------------------------------------------------------
   Focus states / a11y
----------------------------------------------------------- */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--gold:hover { transform: none; }
}

/* -----------------------------------------------------------
   Responsive
----------------------------------------------------------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .om__grid { grid-template-columns: 1fr; }
  .hero__mile { top: 90px; }
}
@media (max-width: 560px) {
  .section { padding: var(--space-5) var(--space-2); }
  .hero__content { padding: 0 var(--space-2) var(--space-5); }
  .tracklist__tittel { font-size: 15px; }
  .platform { font-size: 16px; }
}