:root {
  --ink: #071014;
  --cream: #f2e8dc;
  --line: rgba(255, 255, 255, .2);
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: #f39c97; color: #071014; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(22px, 4vw, 64px);
  border-bottom: none;
  /* Pehme vari + mask, et ka blur sulaks servata läbipaistvaks (gradient, mitte järsk serv) */
  background: linear-gradient(180deg, rgba(4, 10, 13, .70) 0%, rgba(4, 10, 13, .38) 55%, rgba(4, 10, 13, 0) 100%);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}
.header-logo { width: 136px; transition: opacity .3s ease, transform .3s ease; }
.header-logo img { display: block; width: 100%; height: auto; filter: invert(1); }
/* Hero peal peidus (suur hero-logo katab brändi); "hüppab" header'isse kerimisel */
.site-header.at-top .header-logo { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.site-header nav a,
.header-contact {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.site-header nav a:hover,
.header-contact:hover { color: #fff; }
.header-contact { justify-self: end; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #071014;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 12, .97) 0%, rgba(4, 9, 12, .84) 31%, rgba(4, 9, 12, .26) 67%, rgba(4, 9, 12, .18) 100%),
    linear-gradient(180deg, rgba(4, 9, 12, .1) 0%, rgba(4, 9, 12, .05) 42%, rgba(4, 9, 12, .95) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 72% 32%, rgba(85, 219, 230, .15), transparent 25%),
    radial-gradient(circle at 84% 78%, rgba(255, 129, 160, .18), transparent 28%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-photo { position: absolute; z-index: 0; inset: 0; overflow: hidden; }
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  animation: photo-breathe 14s ease-in-out infinite alternate;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 112px clamp(22px, 6vw, 92px) 28px;
}
.hero-copy { align-self: center; max-width: 650px; padding-top: 22px; }
.eyebrow {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-logo {
  display: block;
  width: clamp(220px, 25vw, 360px);
  height: auto;
  margin-bottom: 22px;
  filter: invert(1);
}
.hero h1 {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: clamp(42px, 4.8vw, 72px);
  font-weight: 520;
  line-height: .93;
  letter-spacing: -.06em;
}
.hero-lead {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.52;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-actions a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 999px;
  background: rgba(5, 13, 17, .28);
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .12);
}
.hero-actions .primary-action {
  border-color: rgba(255, 255, 255, .82);
  background: #fff;
  color: #071014;
}
.hero-actions .primary-action:hover { background: var(--cream); }

/* ---------- Tracks ---------- */
.tracks { min-width: 0; }
.tracks-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.tracks-heading h2 { margin: 0; font-size: 13px; font-weight: 640; letter-spacing: .02em; }
.tracks-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .45);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.track-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 15, 19, .8), rgba(10, 13, 17, .58));
  box-shadow: 0 18px 45px rgba(2, 5, 7, .28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform .25s ease, border-color .25s ease;
}
.track-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .34); }
.track-card iframe {
  display: block;
  width: 100%;
  height: 80px;
  border: 0;
  border-radius: 12px;
  background: #161616;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  /* Ühtlane tume taust (ei korda hero-pilti) — õrn korall-kuma nagu hero's */
  background:
    radial-gradient(120% 90% at 82% 18%, rgba(255, 129, 160, .10), transparent 58%),
    radial-gradient(90% 70% at 12% 90%, rgba(85, 219, 230, .06), transparent 60%),
    linear-gradient(180deg, #0a141a 0%, #050c10 100%);
}
.contact-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  padding: 100px clamp(22px, 6vw, 92px) 40px;
}
.contact-inner > p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .58);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-inner > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .44);
  font-size: clamp(28px, 4.4vw, 58px);
  font-weight: 520;
  line-height: .98;
  letter-spacing: -.04em;
  transition: color .2s ease, border-color .2s ease;
}
.contact-inner > a:hover { color: var(--cream); border-color: rgba(255, 255, 255, .8); }
.contact-inner > a span { font-size: .38em; color: rgba(255, 255, 255, .65); }
.contact-inner nav { display: flex; gap: 22px; margin-top: 24px; }
.contact-inner nav a {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.contact-inner nav a:hover { color: #fff; }
.contact-inner small {
  display: block;
  margin-top: 80px;
  color: rgba(255, 255, 255, .4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@keyframes photo-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.045); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero-inner { padding: 104px 24px 24px; }
  .hero-copy { padding-top: 20px; }
  .hero h1 { max-width: 570px; font-size: clamp(43px, 8vw, 68px); }
  .track-grid {
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    overflow-x: auto;
    margin-right: -24px;
    padding-right: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .track-grid::-webkit-scrollbar { display: none; }
  .track-card { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  .site-header { min-height: 66px; padding: 11px 18px; }
  .header-logo { width: 112px; }
  .header-contact { font-size: 10px; }
  .hero { min-height: 100svh; }
  .hero::before {
    background: linear-gradient(180deg, rgba(4, 9, 12, .3) 0%, rgba(4, 9, 12, .42) 27%, rgba(4, 9, 12, .9) 59%, rgba(4, 9, 12, .98) 100%);
  }
  .hero-photo img { object-position: center 20%; }
  .hero-inner { min-height: 100svh; grid-template-rows: minmax(0, 1fr) auto; gap: 15px; padding: 88px 18px 16px; }
  .hero-copy { align-self: end; padding-top: 0; }
  .eyebrow { margin-bottom: 12px; font-size: 10px; }
  .hero-logo { width: 190px; margin-bottom: 13px; }
  .hero h1 { margin-bottom: 10px; font-size: clamp(34px, 10vw, 49px); }
  .hero-lead { display: none; }
  .hero-actions { margin-top: 14px; gap: 7px; }
  .hero-actions a { min-height: 34px; padding-inline: 12px; font-size: 11px; }
  .tracks-heading { margin-bottom: 7px; }
  .tracks-heading h2 { font-size: 11px; }
  .track-grid { grid-template-columns: 1fr; gap: 10px; margin-right: 0; padding-right: 0; overflow: visible; }
  .track-card { padding: 8px; border-radius: 15px; }
  .contact { min-height: 58svh; }
  .contact-inner { padding: 86px 18px 24px; }
  .contact-inner > p { margin-bottom: 20px; }
  .contact-inner > a { padding-bottom: 16px; font-size: clamp(23px, 7.5vw, 40px); }
  .contact-inner small { margin-top: 54px; }
}

/* ---------- Jaluse legaal ---------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 80px;
}
.footer-legal small { margin: 0; }
.footer-legal span { color: rgba(255, 255, 255, .28); }
.footer-legal a {
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.footer-legal a:hover { color: #fff; }

/* ---------- Küpsiste bänner ---------- */
.cookie-banner {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: clamp(14px, 3vw, 26px);
  transform: translate(-50%, 18px);
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(9, 17, 21, .88);
  box-shadow: 0 24px 60px rgba(2, 5, 7, .55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cookie-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 13px;
  line-height: 1.5;
}
.cookie-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .27);
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.cookie-btn:hover { transform: translateY(-1px); }
.cookie-btn--ghost:hover { border-color: rgba(255, 255, 255, .5); }
.cookie-btn--solid { border-color: #fff; background: #fff; color: #071014; }
.cookie-btn--solid:hover { background: var(--cream); }

@media (max-width: 560px) {
  .footer-legal { margin-top: 54px; gap: 8px; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 15px 16px; }
  .cookie-actions { justify-content: flex-end; }
}

/* ---------- Legaali leht (privaatsus) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 128px clamp(22px, 6vw, 40px) 96px;
}
.legal .back {
  display: inline-block;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.legal .back:hover { color: #fff; }
.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.legal .updated {
  margin: 0 0 44px;
  color: rgba(255, 255, 255, .42);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legal h2 {
  margin: 40px 0 12px;
  font-size: 15px;
  font-weight: 640;
  letter-spacing: .01em;
}
.legal p, .legal li {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.62;
}
.legal p { margin: 0 0 14px; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 13.5px;
}
.legal th, .legal td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  vertical-align: top;
  color: rgba(255, 255, 255, .72);
}
.legal th {
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legal .table-wrap { overflow-x: auto; }
.legal .cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 6px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.legal .cookie-settings-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px clamp(22px, 6vw, 40px);
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(255, 129, 160, .10), transparent 60%),
    linear-gradient(180deg, #0a141a 0%, #050c10 100%);
}
.notfound .nf-inner { max-width: 520px; }
.nf-code {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: clamp(64px, 16vw, 140px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  color: #f39c97;
}
.notfound h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 560;
  letter-spacing: -.02em;
}
.notfound p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .65);
  font-size: 16px;
  line-height: 1.55;
}
.nf-home {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease;
}
.nf-home:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

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