/* ============ PORO v2 — poroo.fi (Bucks Sauce -henkinen) ============ */
:root {
  --bg: #0a1220;
  --bg2: #0d1729;
  --fg: #efe3c8;
  --fg-45: rgba(239, 227, 200, .45);
  --fg-30: rgba(239, 227, 200, .3);
  --fg-12: rgba(239, 227, 200, .12);
  --field: rgba(239, 227, 200, .06);
  --field-focus: rgba(79, 227, 156, .12);
  --ink: #0a1220;
  --aurora: #4fe39c;
  --coral: #d95b34;
  --coral-dark: #b84523;
  --radius: 14px;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== Typografia ===== */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .01em;
}
.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--fg);
}
@media (max-width: 700px) { .outline { -webkit-text-stroke-width: 1.4px; } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap--narrow { max-width: 780px; }

/* ===== Pillerinapit ===== */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-size: 1rem; line-height: 1;
  border: 2px solid var(--fg); border-radius: 12px;
  padding: .85em 1.6em;
  background: transparent; color: var(--fg);
  cursor: pointer; text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.pill--solid { background: var(--coral); border-color: var(--coral); color: #fff; }
.pill--solid:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.pill--light { background: var(--fg); border-color: var(--fg); color: var(--ink); }
.pill--light:hover { background: #fff; }
.pill--ghost:hover { background: var(--fg); color: var(--ink); }
.pill--big { font-size: 1.25rem; padding: 1em 2.2em; border-radius: 16px; }
.pill--small { font-size: .85rem; padding: .6em 1.2em; }
.pill:active { transform: scale(.97); }

/* Rullaava tuplateksti-hover */
.rollbtn__inner {
  display: inline-flex; flex-direction: column; align-items: center;
  height: 1em; overflow: hidden;
}
.rollbtn__inner span {
  display: block; height: 1em; line-height: 1; flex-shrink: 0;
  transition: transform .35s cubic-bezier(.3, .9, .3, 1);
}
.rollbtn__inner span + span { margin-top: .55em; }
.rollbtn:hover .rollbtn__inner span { transform: translateY(calc(-1em - .55em)); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 3vw, 36px);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(10, 18, 32, .92); box-shadow: 0 10px 30px -18px #000; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.nav__links a {
  font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; opacity: .8; transition: opacity .15s, color .15s;
}
.nav__links a:hover { opacity: 1; color: var(--aurora); }
@media (max-width: 760px) { .nav__links { display: none; } }

.cartbtn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--fg-30); background: transparent; color: var(--fg);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cartbtn:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.cartbtn__count {
  position: absolute; top: -6px; right: -6px;
  background: var(--coral); color: #fff;
  font-size: .68rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 5px;
}
.cartbtn.bump { animation: bump .4s ease; }
@keyframes bump { 30% { transform: scale(1.3) rotate(-8deg); } }

/* ===== Hero ===== */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(100px, 14vh, 150px) clamp(16px, 4vw, 40px) 40px;
}
.hero__title {
  text-align: center;
  font-size: clamp(2.9rem, 8.6vw, 7.4rem);
  max-width: 16ch; margin: 0 auto;
  line-height: 1.12;
}
.hero__title .line { display: block; overflow: hidden; padding: .1em 0 .04em; margin: -.04em 0; }
.hero__title .w { display: inline-block; }

.stage { width: 100%; max-width: 1400px; margin-top: clamp(30px, 6vh, 70px); flex: 1; display: flex; flex-direction: column; }
.stage__topbar {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(4px, 6vw, 90px);
}
.stage__topbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 1px dashed var(--fg-30); z-index: -1;
}
.stage__label {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); padding: 0 10px;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.stage__label--right { font-weight: 700; }

/* Numero/nimirulla */
.ticker {
  position: relative; display: inline-flex; flex-direction: column;
  height: 1.15em; overflow: hidden; vertical-align: bottom;
}
.ticker span { display: block; height: 1.15em; line-height: 1.15; flex-shrink: 0; }
.ticker--names { align-items: flex-end; }

.stage__mid {
  /* min-height laskettu vastaamaan kuvan max-korkeutta (46vh), jotta laudan
     alle ei jää tyhjää tilaa eikä tuote näytä "uppoavan" karuselliin. */
  position: relative; flex: 1; min-height: clamp(320px, 47vh, 500px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(4px, 3vw, 40px);
}
.stage__mid::before {
  content: ""; position: absolute; left: 0; right: 0; top: 55%;
  border-top: 1px dashed var(--fg-30);
}

.arrow {
  position: relative; z-index: 5;
  width: clamp(56px, 6.5vw, 88px); height: clamp(56px, 6.5vw, 88px);
  border: none; background: none; cursor: pointer; color: var(--ink);
  display: grid; place-items: center; flex-shrink: 0;
}
.arrow__bg {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--fg); border: 2px solid var(--fg);
  transition: background .3s ease;
}
.arrow:hover .arrow__bg { background: transparent; }
.arrow:hover { color: var(--fg); }
.arrow__icons {
  position: relative; z-index: 1; width: 26px; height: 17px; overflow: hidden;
}
.arrow__icons svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: transform .35s cubic-bezier(.3, .9, .3, 1);
}
.arrow__icons svg + svg { transform: translateX(-130%); }
.arrow:hover .arrow__icons svg { transform: translateX(130%); }
.arrow:hover .arrow__icons svg + svg { transform: translateX(0); }
.arrow__icons--flip { transform: rotate(180deg); }

.stage__center {
  position: relative; flex: 1; height: 100%; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  /* Ilman tätä flex-item ei suostu kutistumaan alle kuvan leveyden, jolloin
     nuoli + kuva + nuoli ylittää ruudun kapeilla näytöillä: sivu muuttuu
     panoroitavaksi ja tuote valuu oikealle pois keskeltä. */
  min-width: 0;
}
.stage__glow {
  position: absolute; width: min(46vh, 420px); height: min(46vh, 420px);
  max-width: 100%;
  border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(79, 227, 156, .32), rgba(79, 227, 156, .1) 60%, transparent);
}
.stage__views { position: relative; z-index: 1; height: 100%; width: 100%; display: grid; place-items: center; }
.stage__view {
  grid-area: 1 / 1;
  /* Kuva jättää säiliöönsä sivutilaa, jotta leijuvat koristeet mahtuvat
     laudan viereen eivätkä sen päälle. */
  max-height: min(46vh, 480px); width: auto; max-width: min(76%, 72vw, 380px);
  object-fit: contain;
  opacity: 0; transform: scale(.92) rotate(1.5deg);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
}
.stage__view.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage__view--collage {
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  filter: none;
}
.collage__poletti { width: clamp(130px, 20vh, 190px); filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
.collage__pawns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.collage__bell { width: 54px; color: var(--fg); }

.pawn {
  width: 42px; height: 58px; display: inline-block;
  background-color: var(--c, #999);
  -webkit-mask: url("../assets/reindeer.png") center / contain no-repeat;
  mask: url("../assets/reindeer.png") center / contain no-repeat;
}

/* Leijuvat elementit */
.floater { position: absolute; z-index: 2; pointer-events: none; will-change: transform; }
.floater img { width: 100%; }
.floater--1 { width: clamp(70px, 8vw, 110px); left: 6%; top: 8%; }
.floater--2 { width: clamp(46px, 5vw, 70px); right: 8%; top: 4%; filter: blur(2.5px); opacity: .75; rotate: -18deg; }
.floater--3 { left: 2%; bottom: 10%; rotate: 10deg; }
.floater--4 { right: 4%; bottom: 16%; filter: blur(1.5px); opacity: .8; rotate: -8deg; scale: 1.3; }
.floater--5 { right: 16%; top: 42%; }
.pawn--float { width: 54px; height: 74px; }
@media (max-width: 640px) {
  .floater--3, .floater--4 { display: none; }

  /* Koristeet sijoitellaan .stage__center-elementin sisällä, joka kapealla
     ruudulla kutistuu lähes kuvan levyiseksi — silloin prosenttipaikat osuvat
     laudan päälle. Siirretään ne säiliön reunojen ulkopuolelle, nuolten
     korkeuden ohi, jolloin lauta jää vapaaksi. */
  .floater--1 { width: 56px; left: -21%; top: 1%; }
  .floater--2 { width: 44px; right: -13%; top: 0; }
  /* nuoli on pystysuunnassa keskellä, joten noppa sen alapuolelle */
  .floater--5 { right: -14%; top: 74%; }

  /* Kapealla ruudulla nuolet veisivät kohtuuttoman osan rivistä, jolloin
     tuotekuvasta tulisi turhan pieni. Pienennetään nuoli 48 px:iin (yhä
     riittävä kosketuskohde) ja kavennetaan reunuksia. */
  .stage__mid { padding: 0 4px; }
  .arrow { width: 48px; height: 48px; }
  .arrow__icons { width: 22px; height: 15px; }

  /* Tikkerin leveys määräytyy pisimmästä nimestä ("Ensipainoslaatikko"), joten
     otsikkorivi ei mahdu 320 px:n näytölle ja selain zoomaa koko sivun ulos.
     Kavennetaan typografiaa ja reunuksia. */
  .stage__topbar { padding: 0 4px; }
  .stage__label { font-size: .7rem; letter-spacing: .08em; padding: 0 6px; }
}

/* Googly-silmät poletille */
.eyes { position: absolute; top: 26%; left: 50%; transform: translateX(-50%); display: flex; gap: 8%; }
.eye {
  width: 26%; aspect-ratio: 1; min-width: 18px; background: #fff; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 2px 4px rgba(0,0,0,.4);
}
.eye .pupil {
  width: 45%; aspect-ratio: 1; background: #111; border-radius: 50%;
  animation: lookaround 6s ease-in-out infinite;
}
@keyframes lookaround {
  0%, 34% { transform: translate(18%, 10%); }
  40%, 64% { transform: translate(-22%, 4%); }
  70%, 94% { transform: translate(6%, -18%); }
  100% { transform: translate(18%, 10%); }
}

.minidie {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--fg); position: relative; rotate: 14deg;
  box-shadow: 0 10px 20px rgba(0,0,0,.4);
}
.minidie span { position: absolute; width: 10px; height: 10px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.minidie span:first-child { top: 8px; left: 8px; }
.minidie span:last-child { bottom: 8px; right: 8px; }

.stage__botbar { display: flex; justify-content: center; padding: 26px 0 0; }

/* ===== Kyltit ===== */
.signs { position: relative; padding: clamp(80px, 12vw, 150px) 0; overflow: clip; }
.signs__floaters { position: absolute; inset: 0; pointer-events: none; }
.bgfloat { position: absolute; opacity: .5; }
.bgfloat--1 { width: 90px; left: 4%; top: 10%; filter: blur(3px); rotate: -14deg; }
.bgfloat--2 { width: 56px; right: 6%; top: 55%; filter: blur(5px); rotate: 22deg; opacity: .35; }
.bgfloat--3 { left: 8%; bottom: 6%; filter: blur(2px); rotate: 8deg; scale: 1.6; opacity: .5; }

.signs__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px); max-width: 1000px;
}
@media (max-width: 720px) { .signs__grid { grid-template-columns: 1fr; } }

.sign { rotate: calc(var(--tilt, 0) * 1deg); }
.sign__plate {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(180deg, #cfc3a6, #a99e83);
  color: #1d1812;
  border-radius: 10px; padding: 12px 18px;
  width: calc(100% - 20px); margin: 0 auto -10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}
.sign__plate h3 { font-size: clamp(1.05rem, 1.8vw, 1.4rem); letter-spacing: .03em; white-space: nowrap; }
.sign__plate i {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, #6b6250, #17130d);
}
.sign__card {
  border: 1.5px solid var(--fg-30); border-radius: var(--radius);
  padding: 44px 28px 30px; text-align: center;
  background: rgba(239, 227, 200, .03);
}
.sign__icon {
  width: 84px; height: 84px; margin: 0 auto 20px;
  border: 1.5px solid var(--fg-30); border-radius: 50%;
  display: grid; place-items: center; color: var(--fg);
}
.sign__icon svg { width: 46px; height: 46px; }
.sign__card p { font-size: .98rem; opacity: .85; max-width: 34ch; margin: 0 auto; }

/* ===== Jättiotsikot ===== */
.giant { text-align: center; margin-bottom: clamp(30px, 5vw, 60px); }
.giant__small { display: block; font-size: clamp(2rem, 5vw, 4rem); margin-bottom: .22em; }
.giant__outline {
  display: block; font-size: clamp(3.2rem, 12.5vw, 12rem);
  color: transparent; -webkit-text-stroke: 2.5px var(--fg);
  line-height: 1.08; white-space: nowrap;
}
@media (max-width: 700px) { .giant__outline { -webkit-text-stroke-width: 1.6px; } }

/* ===== Kauppa ===== */
.shop { padding: clamp(80px, 12vw, 160px) 0; overflow: clip; }
.productcard {
  position: relative;
  background: var(--coral); color: #fff;
  border-radius: 26px;
  padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px);
  align-items: center;
  max-width: 1040px; margin: 0 auto;
}
@media (max-width: 860px) { .productcard { grid-template-columns: 1fr; } }
.productcard__frame {
  position: absolute; inset: 14px;
  border: 1.5px dashed rgba(255, 255, 255, .45);
  border-radius: 18px; pointer-events: none;
}
.productcard__media { position: relative; text-align: center; }
.productcard__name {
  position: static;
  font-size: clamp(3.6rem, 8vw, 7rem); line-height: .92;
  color: var(--fg);
}
.productcard__name span {
  display: block; font-size: .3em; letter-spacing: .3em; padding-left: .3em;
}
.productcard__media img {
  width: min(78%, 340px); margin: clamp(18px, 3vw, 34px) auto 0;
  border-radius: 10px;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .55);
  transform: rotate(-2deg);
  transition: transform .35s ease;
}
.productcard:hover .productcard__media img { transform: rotate(0deg) scale(1.02); }
.productcard__tag { margin-top: 18px; font-style: italic; font-size: .95rem; opacity: .9; }
.productcard__usp {
  list-style: none; display: grid; gap: 10px; margin-bottom: 28px;
  font-weight: 500; font-size: 1.02rem;
}
.productcard__usp li { display: flex; align-items: baseline; gap: 10px; }
.productcard__usp li::before { content: "→"; font-weight: 700; flex-shrink: 0; }
.productcard__buyrow { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center; gap: 2px;
  border: 2px solid rgba(255, 255, 255, .6); border-radius: 12px; padding: 4px;
}
.qty button {
  width: 40px; height: 40px; border: none; border-radius: 9px;
  background: transparent; color: inherit; font-size: 1.3rem; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.qty button:hover { background: rgba(255, 255, 255, .18); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; font-size: 1.1rem; }

/* Lisää koriin -tilakone */
.addbtn { gap: 1em; padding-block: 0; height: 52px; }
.addbtn__label { position: relative; display: block; height: 1em; overflow: hidden; min-width: 7.5em; }
.addbtn__text {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  height: 1em; line-height: 1;
  transition: transform .3s cubic-bezier(.3, .9, .3, 1), opacity .3s;
}
.addbtn__text:nth-child(2), .addbtn__text:nth-child(3) {
  position: absolute; inset: 0; transform: translateY(130%); opacity: 0;
}
.addbtn__label[data-state="adding"] .addbtn__text:nth-child(1),
.addbtn__label[data-state="added"] .addbtn__text:nth-child(1) { transform: translateY(-130%); opacity: 0; }
.addbtn__label[data-state="adding"] .addbtn__text:nth-child(2) { transform: translateY(0); opacity: 1; }
.addbtn__label[data-state="added"] .addbtn__text:nth-child(3) { transform: translateY(0); opacity: 1; }
.addbtn__price { border-left: 2px solid rgba(10, 18, 32, .25); padding-left: 1em; }
.productcard__hint { margin-top: 18px; font-size: .9rem; opacity: .85; }
.productcard__hint a { color: var(--fg); font-weight: 600; }

/* ===== Nopanheitto ===== */
.dice { padding: clamp(80px, 12vw, 160px) 20px; text-align: center; position: relative; overflow: clip; background: var(--bg2); }
.dice__sub { max-width: 46ch; margin: 0 auto 40px; opacity: .85; }
.dicearea {
  display: flex; gap: clamp(24px, 6vw, 60px); justify-content: center;
  margin-bottom: 30px; perspective: 900px;
}
.die3d { width: 108px; height: 108px; }
.die3d__cube {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.2, .8, .3, 1.05);
  transform: rotateX(-16deg) rotateY(22deg);
}
.face {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #f4ead3, #d9cba6);
  border: 2.5px solid #b3a480;
  border-radius: 18px;
  display: grid; place-items: center;
}
/* Silmäluvut ovat salmiakin muotoisia (kierretty neliö). main.js luo
   .pip-elementit oikeille paikoille kunkin sivun luvun mukaan. */
.face .pip {
  position: absolute; width: 18px; height: 18px;
  background: var(--ink); border-radius: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
}
.f1 { transform: translateZ(54px); }
.f6 { transform: rotateY(180deg) translateZ(54px); }
.f2 { transform: rotateY(90deg) translateZ(54px); }
.f5 { transform: rotateY(-90deg) translateZ(54px); }
.f3 { transform: rotateX(90deg) translateZ(54px); }
.f4 { transform: rotateX(-90deg) translateZ(54px); }

.dice__status { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; opacity: .75; margin-bottom: 24px; }
.porowin {
  margin: 40px auto 0; max-width: 520px;
  border: 2px dashed var(--aurora);
  border-radius: 20px; padding: 32px;
  animation: popin .5s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes popin { from { transform: scale(.6); opacity: 0; } }
.porowin__shout {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem); color: var(--aurora);
  margin-bottom: 12px; line-height: 1;
}
.porowin .pill { margin-top: 18px; }
.code {
  border: 1px dashed var(--aurora); border-radius: 8px;
  padding: .12em .5em; letter-spacing: .12em; color: var(--aurora);
}
.confetti { position: absolute; inset: 0; pointer-events: none; z-index: 5; }

/* ===== Miksi ===== */
.why { padding: clamp(90px, 13vw, 170px) 20px; text-align: center; overflow: clip; }
.why__letters {
  font-size: clamp(3.4rem, 13.5vw, 13rem);
  line-height: .9; white-space: nowrap;
}
.why__letters .L {
  display: inline-block;
  color: transparent; -webkit-text-stroke: 2px var(--fg);
}
.why__letters .L.fill { color: var(--fg); -webkit-text-stroke-color: transparent; }
.why__manifesto {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.2rem, 2.6vw, 2rem); line-height: 1.25;
  max-width: 34ch; margin: clamp(30px, 5vw, 60px) auto;
}
.why__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px); text-align: left;
  margin-top: clamp(30px, 5vw, 60px);
}
@media (max-width: 820px) { .why__grid { grid-template-columns: 1fr; } }
.why__item { border-top: 1px dashed var(--fg-30); padding-top: 22px; }
.why__num {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--aurora); letter-spacing: .2em;
}
.why__item h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 12px; }
.why__item p { font-size: .95rem; opacity: .82; }

/* ===== Tarina-nosto ===== */
/* Kaikuu /tarina-sivun 3D-maailmaa: revontulikajo ja hehkuva polku, jotta
   siirtymä etusivulta tarinaan tuntuu samalta maisemalta. */
.story {
  position: relative;
  overflow: clip;
  padding: clamp(100px, 14vw, 180px) 20px;
  background:
    radial-gradient(120% 100% at 50% 120%, rgba(79, 227, 156, .07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0b1626 55%, var(--bg) 100%);
  text-align: center;
}
.story::before,
.story::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-12) 25%, var(--fg-12) 75%, transparent);
}
.story::before { top: 0; }
.story::after { bottom: 0; }

/* Revontulikaista, joka hengittää hitaasti taustalla */
.story__aurora {
  position: absolute; inset: -25% -10% auto;
  height: 80%;
  pointer-events: none;
  background:
    radial-gradient(48% 58% at 20% 42%, rgba(79, 227, 156, .38), transparent 70%),
    radial-gradient(44% 54% at 58% 26%, rgba(79, 195, 227, .3), transparent 70%),
    radial-gradient(42% 58% at 86% 48%, rgba(125, 110, 227, .26), transparent 70%);
  filter: blur(26px);
  animation: storyAurora 18s ease-in-out infinite alternate;
}
@keyframes storyAurora {
  from { transform: translate3d(-3%, 0, 0) scaleY(1); opacity: .75; }
  to   { transform: translate3d(3%, 4%, 0) scaleY(1.15); opacity: 1; }
}

/* Hehkuva polku — sama vihreä viiva jota reki ajaa tarinasivulla */
.story__path {
  position: absolute; inset: auto 0 0;
  width: 100%; height: clamp(150px, 22vw, 260px);
  pointer-events: none;
  opacity: .85;
}
.story__path path {
  fill: none;
  stroke: var(--aurora);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(79, 227, 156, .8));
  stroke-dasharray: 2 11;
  animation: storyTrail 5.5s linear infinite;
}
@keyframes storyTrail { to { stroke-dashoffset: -26; } }

.story__inner { position: relative; z-index: 1; }
.story__eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .9rem;
  color: var(--aurora);
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
.story__title {
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: .95;
}
.story__title .line { display: block; }
/* Tiukalla rivivälillä (.95) toisen rivin Ö/Ä-pisteet jäävät ensimmäisen
   rivin alle piiloon — pudotetaan outline-rivi omalle korkeudelleen. */
.story__title .line.outline { padding-top: .14em; }
/* Kapeilla näytöillä koko otsikko rivittyy, joten väljennetään riviväliäkin. */
@media (max-width: 620px) { .story__title { line-height: 1.1; } }
.story__lede {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  max-width: 30ch;
  margin: clamp(26px, 4vw, 44px) auto 0;
  opacity: .85;
}
.story__cta {
  margin-top: clamp(32px, 4.5vw, 52px);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.story__cta svg { transition: transform .25s ease; }
.story__cta:hover { box-shadow: 0 14px 40px -14px rgba(217, 91, 52, .8); }
.story__cta:hover svg { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .story__aurora, .story__path path { animation: none; }
}

/* ===== Sitaatit ===== */
.quotes { padding: clamp(60px, 8vw, 100px) 0; background: var(--bg2); overflow: clip; }
.marquee { overflow: hidden; white-space: nowrap; padding: 16px 0; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee--left .marquee__track { animation: mq-left 40s linear infinite; }
.marquee--right .marquee__track { animation: mq-right 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes mq-left { to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.quote {
  display: inline-flex; align-items: baseline; gap: 14px;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  padding: 0 clamp(24px, 3vw, 48px);
  border-left: 1px dashed var(--fg-30);
}
.quote em {
  font-family: var(--font-body); font-style: normal; font-size: .5em;
  text-transform: none; opacity: .6; letter-spacing: 0;
}

/* ===== FAQ ===== */
.faq { padding: clamp(80px, 11vw, 150px) 0; }
.faq__title { text-align: center; font-size: clamp(2.2rem, 6vw, 4.4rem); margin-bottom: 40px; }
.faq__title .outline { margin-left: .25em; }
.faq__list { display: grid; gap: 12px; }
.faq__list details {
  border: 1.5px solid var(--fg-30); border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .2s;
}
.faq__list details[open] { border-color: var(--fg); }
.faq__list summary {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .03em;
  cursor: pointer; list-style: none; position: relative; padding-right: 34px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; translate: 0 -50%;
  font-size: 1.5rem; color: var(--aurora); transition: rotate .2s;
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__list details p { margin-top: 12px; opacity: .85; font-size: .95rem; }

/* ===== Footer ===== */
.footer { position: relative; padding: clamp(40px, 6vw, 80px) 0 40px; overflow: clip; border-top: 1px dashed var(--fg-30); }
.footer__giantlogo {
  display: block; width: min(560px, 72vw);
  margin: 0 auto clamp(28px, 5vw, 56px);
  opacity: .95; user-select: none; pointer-events: none;
}
.footer__inner { display: grid; gap: 28px; margin-top: clamp(30px, 5vw, 60px); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.bgb { width: 52px; height: 52px; }
.footer__brand span { opacity: .6; font-size: .9rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a {
  text-decoration: none; font-weight: 600; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; opacity: .8;
}
.footer__links a:hover { color: var(--aurora); opacity: 1; }
.footer__legal { font-size: .8rem; opacity: .45; }

/* ===== Kori ===== */
.overlay {
  position: fixed; inset: 0; background: rgba(4, 8, 16, .65);
  z-index: 80; animation: fadein .25s ease;
}
@keyframes fadein { from { opacity: 0; } }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(430px, 100vw);
  background: var(--bg2);
  border-left: 1px dashed var(--fg-30);
  display: flex; flex-direction: column;
  animation: slidein .3s cubic-bezier(.2, .9, .3, 1);
}
@keyframes slidein { from { transform: translateX(100%); } }
.cart__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px; border-bottom: 1px dashed var(--fg-30);
}
.cart__head h3 { font-size: 1.5rem; }
.cart__close, .modal__close {
  background: none; border: none; color: var(--fg);
  font-size: 1.15rem; cursor: pointer; opacity: .7;
}
.cart__close:hover, .modal__close:hover { opacity: 1; }
.cart__body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart__empty { text-align: center; opacity: .6; padding: 46px 0; }
.cartitem { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.cartitem img { width: 62px; border-radius: 8px; border: 2px solid var(--fg-30); }
.cartitem__info { flex: 1; }
.cartitem__info strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
.cartitem__price { font-size: .9rem; opacity: .75; }
.cartitem .qty { border-color: var(--fg-30); transform: scale(.82); transform-origin: left; }
.cartitem .qty button { color: var(--fg); }
.cartitem .qty button:hover { background: var(--fg-12); }
.cart__foot { padding: 22px 26px; border-top: 1px dashed var(--fg-30); }
.cart__codeRow { display: flex; gap: 10px; margin-bottom: 8px; }
.cart__codeRow input {
  flex: 1; background: var(--field);
  border: 1.5px solid var(--fg-45); border-radius: 12px;
  color: var(--fg); padding: 11px 16px; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .08em; font-size: .9rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cart__codeRow input::placeholder { color: var(--fg-45); }
.cart__codeRow input:hover { border-color: var(--fg); }
.cart__codeRow input:focus {
  outline: none; border-color: var(--aurora);
  background: var(--field-focus);
  box-shadow: 0 0 0 3px var(--field-focus);
}
.cart__codeMsg { font-size: .85rem; margin-bottom: 8px; }
.cart__codeMsg.ok { color: var(--aurora); }
.cart__codeMsg.err { color: var(--coral); }
.cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 16px 0; font-size: 1.05rem;
}
.cart__total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--aurora); }
.cart__checkout { width: 100%; }
.cart__ship { font-size: .8rem; opacity: .55; text-align: center; margin-top: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ===== Kassa ===== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; justify-content: center; align-items: flex-start;
  padding: 20px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: rgba(4, 8, 16, .7);
  animation: fadein .25s ease;
}
.modal__card {
  position: relative; width: min(480px, 100%);
  margin: auto;
  background: var(--bg2); color: var(--fg);
  border: 1.5px dashed var(--fg-30);
  border-radius: 20px; padding: 36px;
  animation: popin .35s cubic-bezier(.2, 1.2, .4, 1);
}
@media (max-height: 720px) { .modal__card { padding: 28px 30px; } }
.modal__card h3 { font-size: 1.9rem; margin-bottom: 6px; }
.modal__sum { opacity: .75; margin-bottom: 22px; font-weight: 600; }
.modal__eyebrow {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--aurora);
  margin-bottom: 10px;
}
.modal__lede {
  font-size: .95rem; line-height: 1.55; opacity: .88;
  margin-bottom: 22px;
}
.modal__lede strong { color: var(--aurora); font-weight: 600; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal form { display: grid; gap: 14px; }
.modal label {
  display: grid; gap: 6px; font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.modal input {
  border: 1.5px solid var(--fg-45); border-radius: 12px;
  padding: 13px 15px; font-family: var(--font-body); font-size: 1rem;
  background: var(--field); color: var(--fg);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.modal input::placeholder { color: var(--fg-45); }
.modal input:hover { border-color: var(--fg); }
.modal input:focus {
  outline: none; border-color: var(--aurora);
  background: var(--field-focus);
  box-shadow: 0 0 0 3px var(--field-focus);
}
.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal__note { font-size: .8rem; opacity: .6; text-align: center; }
.modal__done { text-align: center; }
.modal__done .porowin__shout { color: var(--coral); }
.modal__done .pill { margin-top: 20px; }

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

/* ===== Lakisivut (tietosuoja, evästeet, ehdot) ===== */
.footer__links--legal { margin-top: -8px; }
.footer__links--legal a { font-size: .85rem; opacity: .55; }

.legalpage { min-height: 100svh; display: flex; flex-direction: column; }
.legalpage__nav { padding: 18px clamp(16px, 3vw, 32px); }
.legalpage__nav img { height: 34px; width: auto; }
.legal {
  max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 60px) 24px 80px;
  flex: 1;
}
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .5em; line-height: 1.05; }
.legal h2 { font-size: 1.35rem; margin: 1.8em 0 .5em; line-height: 1.15; }
.legal p, .legal li { opacity: .88; }
.legal ul { padding-left: 1.3em; margin: .6em 0; }
.legal ul li { margin-bottom: .35em; }
.legal a { color: var(--aurora); }
.legal .legal__updated { font-size: .85rem; opacity: .55; margin-top: 2.5em; }
.legal .legal__back { display: inline-block; margin-top: 2em; font-weight: 600; text-decoration: none; }
.legal .legal__back:hover { color: var(--aurora); }
