:root {
  --night: #1a1a1a;
  --night-2: #262626;
  --snow: #f4f6fb;
  --muted: #a8a8ac;
  --gold: #f3c75e;
  --amber: #e2953a;
  --cream: #fff8e7;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--snow);
  background: radial-gradient(ellipse at 50% -10%, #3a3a3a 0%, var(--night) 55%) fixed, var(--night);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- Snö ---------- */
.snow {
  position: fixed;
  inset: -100% 0 0 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 120px 80px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 200px 160px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 280px 40px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 340px 220px, rgba(255,255,255,.7) 50%, transparent 51%);
  background-size: 380px 260px;
  opacity: .5;
  animation: snowfall 22s linear infinite;
}
@keyframes snowfall { to { transform: translateY(50%); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 18vh 1.5rem 0;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  margin: .3rem 0 0;
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3.5rem, 13vw, 9rem);
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold) 60%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--muted);
  margin: .8rem 0 0;
}
.mountains {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 160px;
}

/* ---------- Sektioner ---------- */
main { position: relative; z-index: 1; }

section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 2.5rem;
  text-align: center;
}

.mixer { background: none; }
.mixer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.stage { text-align: center; }
#drink { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.caption {
  min-height: 1.6em;
  margin: .5rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}

/* Ånga */
.wisp { opacity: .0; animation: rise 3.2s ease-in-out infinite; }
.w2 { animation-delay: 1s; }
.w3 { animation-delay: 2s; }
@keyframes rise {
  0%   { opacity: 0; transform: translateY(10px); }
  40%  { opacity: .45; }
  100% { opacity: 0; transform: translateY(-30px); }
}

/* Recept */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .4s, border-color .4s, transform .4s, opacity .4s;
  opacity: .55;
}
.step .num {
  flex: none;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  background: rgba(255,255,255,.1);
  transition: background .4s, color .4s;
}
.step strong { display: block; font-size: 1.1rem; }
.step span:not(.num) { color: var(--muted); font-size: .95rem; }

.step.active {
  opacity: 1;
  background: rgba(243,199,94,.12);
  border-color: rgba(243,199,94,.5);
  transform: translateX(6px);
}
.step.active .num { background: var(--gold); color: var(--night); }
.step.done { opacity: 1; }
.step.done .num { background: rgba(243,199,94,.35); }

.replay {
  margin-top: 1.5rem;
  font: 600 1rem var(--sans);
  color: var(--night);
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  cursor: pointer;
  transition: transform .2s, background .2s, opacity .2s;
}
.replay:hover { transform: translateY(-2px); background: #ffd77a; }
.replay:disabled { opacity: .4; cursor: default; transform: none; }

/* ---------- Varför ---------- */
.why { padding-top: 3rem; }
.lead {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.55;
}
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.reasons article {
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
}
.reasons h3 {
  margin: 0 0 .5rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
}
.reasons p { margin: 0; color: #d6dceb; }

.story {
  margin: 3.5rem auto 0;
  max-width: 760px;
  padding: 2rem 2.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(243,199,94,.16), rgba(226,149,58,.08));
  border: 1px solid rgba(243,199,94,.3);
}
.story h3 {
  margin: 0 0 .6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
}
.story p { margin: 0; }

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .mixer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .recipe { text-align: center; }
  .step { text-align: left; }
  .hero { min-height: 60vh; padding-top: 14vh; }
}

@media (prefers-reduced-motion: reduce) {
  .snow, .wisp { animation: none; }
  .wisp { opacity: .3; }
}
