/* ==========================================================================
   VETOKULMA — Editorial newsroom design system  (light, print-inspired)
   Genre: itsenäinen urheilu-/vedonlyöntilehti. Ei dashboard-estetiikkaa.
   Luokkanimet säilytetty entisellään → HTML toimii.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..600&family=Libre+Franklin:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

:root {
  /* Paperi & muste */
  --paper:   #F7F4ED;   /* lämmin paperinvalkoinen */
  --paper-2: #FFFFFF;   /* kohotettu pinta */
  --paper-3: #EFEBE1;   /* hienovarainen vaihtopohja (sama perhe) */
  --ink:     #1A1712;   /* lähes-musta, lämmin */
  --ink-2:   #423B30;
  --muted:   #7A7264;   /* lämmin harmaa */
  --faint:   #A89E8C;
  --line:    #E3DCCD;   /* hiusviiva */
  --line-2:  #D2C9B6;

  /* Brändi: kirkas Vetokulma-vihreä (merkki/CTA) + luettava aksentti (teksti paperilla) */
  --brand:       #16C46A;
  --brand-deep:  #0FA557;
  --accent:      #0C7A41;
  --accent-deep: #084A28;
  --accent-tint: #E7F3EA;

  /* Typografia */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body:    'Libre Franklin', system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gap:  clamp(1rem, 2vw, 1.5rem);
  --r:    4px;
  --r-img: 3px;
  --shadow: 0 14px 34px -20px rgba(26,23,18,.28);

  /* yhteensopivuus arkistoituihin (vanhat nimet → editorial-arvot) */
  --bg: var(--paper); --bg-2: var(--paper-3); --surface: var(--paper-2); --surface-2: var(--paper-3);
  --text: var(--ink); --text-dim: var(--muted); --text-faint: var(--faint);
  --green: var(--accent); --gold: #9A6B16; --ice: #2C5E7E; --violet: #6A4E8C; --red: #A53326;
  --f-mono: var(--f-body); --r-sm: 4px; --r-lg: 6px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Tyypit ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.08;
  letter-spacing: -.015em; color: var(--ink); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-weight: 640; }
p { text-wrap: pretty; }
.kicker, .eyebrow {
  font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); display: inline-block; }
.lead { color: var(--ink-2); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: clamp(2.6rem, 6vw, 4.2rem); position: relative; }
.section-head { margin-bottom: 1.8rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink);
  display: flex; align-items: baseline; gap: 1rem; }
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; }
.section-head p { color: var(--muted); font-size: .95rem; margin-left: auto; }
.section-head .eyebrow { align-self: center; }
.angle-divider { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-body); font-weight: 600; font-size: .92rem; letter-spacing: .005em;
  padding: .72rem 1.3rem; border-radius: var(--r); border: 1.5px solid var(--ink);
  cursor: pointer; transition: background .18s, color .18s, transform .12s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #06250F; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }

/* ==========================================================================
   Topbar + Header  (masthead)
   ========================================================================== */
.topbar { background: var(--ink); color: var(--paper); font-size: .72rem; letter-spacing: .02em; }
.topbar .wrap { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; padding-block: .45rem; }
.topbar .age { color: var(--paper); font-weight: 700; border: 1px solid rgba(247,244,237,.4); padding: .02rem .4rem; border-radius: 3px; }
.topbar span:not(.age):not(.sep) { color: rgba(247,244,237,.7); }
.topbar .sep { margin-left: auto; color: rgba(247,244,237,.55); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid var(--line-2); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: 'Archivo', var(--f-body);
  font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.brand .mark { width: 28px; height: 28px; background: var(--brand); position: relative; border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%); display: inline-block; }
.brand .mark::after { content: "V"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #06250F; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1rem; }
.brand b { color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 1.4rem; margin-left: .5rem; font-weight: 600; font-size: .93rem; }
.nav a { color: var(--ink); transition: color .15s; padding-block: .3rem; }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: auto; display: flex; gap: .7rem; align-items: center; }
.burger { display: none; }

/* ==========================================================================
   Megamenu  (light)
   ========================================================================== */
.nav-item { display: inline-flex; align-items: center; }
.has-mega > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-2px); margin-left: .45rem; transition: .2s; }
.has-mega:hover > a::after { border-color: var(--accent); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  pointer-events: none; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
/* Hover-silta: kattaa headerin alapaddingin kuilun, jotta paneeli pysyy auki kun hiiri siirtyy linkistä paneeliin */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-inner { max-width: var(--maxw); margin-inline: auto; padding: 1.8rem clamp(1.1rem,4vw,2.2rem);
  display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 1.8rem; }
.mega-col h5 { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  margin-bottom: .8rem; font-weight: 700; }
.mega-col a { display: block !important; padding: .4rem 0; color: var(--ink-2); font-weight: 500; font-size: .94rem; border-bottom: 1px solid transparent; }
.mega-col a:hover { color: var(--accent); }
.mega-col a .ic { display: none; }
.mega-col a .kd { font-size: .68rem; color: var(--muted); margin-left: .4rem; }
.mega-feature { display: flex !important; flex-direction: column; justify-content: flex-end; gap: .3rem;
  background: var(--accent); color: var(--paper); border-radius: var(--r); padding: 1.3rem; }
.mega-feature .tag { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.mega-feature .op { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; color: var(--paper); }
.mega-feature small, .mega-feature .sc { color: rgba(247,244,237,.85); font-size: .85rem; }
.mega-sports { grid-template-columns: 1fr; }
.mega-sports .mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.ms-tile { display: flex !important; align-items: center; gap: .5rem; padding: .55rem .2rem; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--ink); }
.ms-tile:hover { color: var(--accent); }
.ms-tile .ic { display: none; }
.ms-tile .kd { margin-left: auto; font-size: .66rem; color: var(--muted); font-weight: 500; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
#nav-toggle { display: none; }
#nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
#nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero (slim editorial)
   ========================================================================== */
.hero .hero-grid { display: block; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 660; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--accent); font-style: italic; font-weight: 560; }
.hero .sub { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.hero-trust, .quickpanel { display: none; } /* dashboard-jäänteet pois */
.reveal > * { opacity: 0; transform: translateY(10px); animation: fadeUp .6s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal > *:nth-child(2){animation-delay:.06s}.reveal > *:nth-child(3){animation-delay:.12s}
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .reveal > *{animation:none;opacity:1;transform:none} }

/* ==========================================================================
   Featured: iso kuvajuttu + otsikkolista
   ========================================================================== */
.featured { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }
.lead-card { display: block; }
.lead-card .lc-media { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r-img); background: var(--paper-3); margin-bottom: 1.1rem; }
.lead-card .lc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead-card:hover .lc-media img { transform: scale(1.03); }
.lead-card .lc-body { padding: 0; }
.lead-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 620; margin: .55rem 0 .55rem; }
.lead-card:hover h2 { color: var(--accent); }
.lead-card .excerpt { color: var(--ink-2); max-width: 56ch; font-size: 1.02rem; }
.headlines { display: flex; flex-direction: column; }
.headline { display: grid; grid-template-columns: 84px 1fr; gap: .9rem; padding: 1.05rem 0; border-top: 1px solid var(--line); align-items: start; }
.headline:first-child { border-top: none; padding-top: 0; }
.headline .hl-media { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r-img); background: var(--paper-3); }
.headline .hl-media img { width: 100%; height: 100%; object-fit: cover; }
.headline h3 { font-size: 1.02rem; font-weight: 600; line-height: 1.22; letter-spacing: -.01em; transition: color .15s; }
.headline:hover h3 { color: var(--accent); }

/* ==========================================================================
   Kategoria-kicker (teksti, ei väridotteja)
   ========================================================================== */
.cat { font-family: var(--f-body); font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); display: inline-block; }
.cat::before { content: ""; }
.cat-uutinen, .cat-ennakko, .cat-analyysi, .cat-vihje, .cat-tulos { color: var(--accent); }

/* ==========================================================================
   Artikkelikortti (kuvavetoinen)
   ========================================================================== */
.article-card { display: flex; flex-direction: column; background: transparent; border: none; border-radius: 0; overflow: visible; transition: none; }
.article-card:hover { transform: none; box-shadow: none; }
.article-card .thumb { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r-img); background: var(--paper-3); margin-bottom: .85rem; position: static; display: block; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover .thumb img { transform: scale(1.04); }
.article-card .thumb .glyph { display: none; }
.article-card .a-body { padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.article-card h3 { font-size: 1.22rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.article-card:hover h3 { color: var(--accent); }
.article-card .excerpt { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.a-meta { font-size: .76rem; color: var(--muted); display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; font-weight: 500; }
.a-meta .dot { color: var(--line-2); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(1.5rem, 3vw, 2.4rem) 1.8rem; }

/* ==========================================================================
   Byline / artikkelin meta
   ========================================================================== */
.byline { display: flex; align-items: center; gap: .7rem; }
.byline .av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--paper-3);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; color: var(--accent); font-size: .9rem; border: 1px solid var(--line-2); }
.byline .bl-meta { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.byline .bl-meta b { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Artikkeliotsikko (single)
   ========================================================================== */
.article-head { max-width: 760px; margin-inline: auto; text-align: left; }
.article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 640; margin: .7rem 0 1rem; }
.article-head .a-sub { font-size: 1.22rem; color: var(--ink-2); margin-bottom: 1.6rem; font-family: var(--f-display); font-weight: 400; line-height: 1.45; }
.article-head .a-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Laji-hub otsikkonauha */
.hub-head { display: flex; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1.6rem; }
.hub-head .hub-ic { display: none; }
.hub-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* ==========================================================================
   Lajit-lista
   ========================================================================== */
.sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.sport-tile { display: flex; align-items: baseline; gap: .6rem; padding: 1rem .2rem; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line); transition: color .15s; }
.sport-tile:hover { color: var(--accent); }
.sport-tile .ic { display: none; }
.sport-tile .name { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.sport-tile .vol { font-size: .76rem; color: var(--muted); }
.sport-tile .kd { font-size: .72rem; color: var(--accent); font-weight: 600; margin-left: auto; }

/* ==========================================================================
   Oppaat / guide
   ========================================================================== */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.guide-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem;
  display: flex; flex-direction: column; transition: border-color .18s, transform .18s; }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-card .tag { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .7rem; }
.guide-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .45rem; }
.guide-card p { color: var(--ink-2); font-size: .93rem; flex: 1; }
.guide-card .more { color: var(--accent); font-weight: 600; font-size: .88rem; margin-top: 1rem; }

/* ==========================================================================
   Expert / toimitus
   ========================================================================== */
.expert { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center;
  background: var(--paper-3); border-radius: var(--r); padding: 1.8rem; }
.expert .avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--paper);
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.expert h3 { font-size: 1.25rem; font-weight: 600; }
.expert .role { font-size: .82rem; color: var(--accent); margin: .15rem 0 .55rem; font-weight: 600; }
.expert p { color: var(--ink-2); font-size: .95rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem .2rem; font-family: var(--f-display); font-weight: 600;
  font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; transition: .2s; font-family: var(--f-body); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 .2rem 1.2rem; color: var(--ink-2); max-width: 70ch; }

/* ==========================================================================
   Uutiskirje
   ========================================================================== */
.newsletter { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: clamp(1.8rem, 4vw, 2.8rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; align-items: center; }
.newsletter .eyebrow { color: #9FC6AE; }
.newsletter h2 { color: var(--paper); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
.newsletter p { color: rgba(247,244,237,.75); margin-top: .5rem; }
.nl-form { display: flex; gap: .6rem; }
.nl-form input { flex: 1; background: rgba(247,244,237,.08); border: 1px solid rgba(247,244,237,.25);
  border-radius: var(--r); padding: .8rem 1rem; color: var(--paper); font-family: var(--f-body); font-size: .95rem; }
.nl-form input::placeholder { color: rgba(247,244,237,.5); }
.nl-form input:focus { outline: none; border-color: #9FC6AE; }
.nl-form .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.nl-form .btn-primary:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }

/* ==========================================================================
   Vastuullisuus
   ========================================================================== */
.resp-banner { background: var(--paper-3); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--r); padding: 1.3rem 1.5rem; display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.resp-banner .ic { display: none; }
.resp-banner p { color: var(--ink-2); font-size: .88rem; flex: 1; min-width: 260px; }
.resp-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Prose (artikkelit)
   ========================================================================== */
.prose { max-width: 680px; margin-inline: auto; font-size: 1.12rem; line-height: 1.72; }
.prose p { margin-bottom: 1.3rem; color: var(--ink); }
.prose h2 { font-size: 1.7rem; font-weight: 600; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.3rem; font-weight: 600; margin: 1.6rem 0 .6rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem 1.3rem; color: var(--ink); }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.2rem; margin: 1.6rem 0; font-family: var(--f-display); font-size: 1.3rem; font-style: italic; color: var(--ink-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 3rem 2rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9FC6AE; margin-bottom: 1rem; font-weight: 700; }
.footer-grid a { color: rgba(247,244,237,.7); display: block; padding: .25rem 0; font-size: .92rem; transition: color .15s; }
.footer-grid a:hover { color: var(--paper); }
.footer-about .brand { color: var(--paper); } .footer-about .brand b { color: var(--brand); }
.footer-about p { color: rgba(247,244,237,.5); font-size: .88rem; margin-top: .9rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(247,244,237,.15); margin-top: 2.2rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .76rem; color: rgba(247,244,237,.5); }
.footer-bottom .age { color: #9FC6AE; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .mega-inner { grid-template-columns: repeat(2, 1fr); }
  .mega-feature { grid-column: 1 / -1; }
  .mega-sports .mega-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .burger { display: flex; }
  .nav { display: flex; position: fixed; left: 0; right: 0; top: 109px; flex-direction: column; gap: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--line-2); padding: .5rem clamp(1.1rem,4vw,2.2rem) 1.5rem;
    margin: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease; align-items: stretch; }
  #nav-toggle:checked ~ .nav { max-height: 82vh; overflow-y: auto; }
  .header-cta { display: none; }
  .nav-item { display: block; }
  .nav-item > a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .mega { display: none; }
  .section-head { flex-direction: column; gap: .3rem; align-items: flex-start; }
  .section-head p { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Arkistoidut affiliate-komponentit — kevyt light-yhteensopivuus (ei live-käytössä)
   ========================================================================== */
.op-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; align-items: center; margin-bottom: .8rem; }
.op-rank { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; color: var(--accent); }
.stars { color: var(--gold); } .chip { font-size: .74rem; border: 1px solid var(--line); padding: .15rem .5rem; border-radius: 3px; color: var(--muted); }
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--paper-3); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.trust-strip { background: var(--paper-3); border-block: 1px solid var(--line); }
.trust-strip .wrap { display: flex; gap: 1.5rem; flex-wrap: wrap; padding-block: 1rem; }
.pay-pill { display: inline-flex; gap: .5rem; border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ==========================================================================
   MOTION & POLISH — brändinmukainen elävyys
   ========================================================================== */
/* Megamenu: sulava "pyörähdys" — nuoli kääntyy + paneeli & sarakkeet porrastetusti */
.has-mega > a::after { transition: transform .35s cubic-bezier(.2,.85,.25,1), border-color .2s; }
.has-mega:hover > a::after, .has-mega:focus-within > a::after { transform: rotate(225deg) translateY(1px); }
.mega { transform-origin: top center; transform: translateY(10px) scaleY(.985);
  transition: opacity .26s ease, transform .34s cubic-bezier(.2,.85,.25,1), visibility .34s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { transform: translateY(0) scaleY(1); }
.mega-inner > * { opacity: 0; transform: translateY(9px); transition: opacity .3s ease, transform .36s cubic-bezier(.2,.85,.25,1); }
.has-mega:hover .mega-inner > *, .has-mega:focus-within .mega-inner > * { opacity: 1; transform: none; }
.mega-inner > *:nth-child(1){ transition-delay:.05s } .mega-inner > *:nth-child(2){ transition-delay:.09s }
.mega-inner > *:nth-child(3){ transition-delay:.13s } .mega-inner > *:nth-child(4){ transition-delay:.17s }

/* Scroll-paljastukset (JS lisää luokat vain taitteen alapuolelle → ei välkettä) */
.reveal-on-scroll { opacity: 0; transform: translateY(22px); will-change: opacity, transform;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-on-scroll.in { opacity: 1; transform: none; }

/* Osio-otsikon vihreä viiva piirtyy */
.section-head, .hub-head { position: relative; }
.section-head::after, .hub-head::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand); transition: width .7s cubic-bezier(.2,.7,.2,1) .12s; }
.section-head.in::after, .hub-head.in::after { width: 64px; }

/* Kategorian alle vihreä viiva hoverilla */
.article-card .cat, .headline .cat, .lead-card .cat { position: relative; }
.article-card .cat::after, .headline .cat::after, .lead-card .cat::after { content: ""; position: absolute;
  left: 0; bottom: -3px; height: 2px; width: 0; background: var(--brand); transition: width .3s ease; }
.article-card:hover .cat::after, .headline:hover .cat::after, .lead-card:hover .cat::after { width: 30px; }

/* Hienovaraiset hoverit */
.guide-card { transition: border-color .2s, transform .25s, box-shadow .25s; }
.guide-card:hover { box-shadow: 0 18px 40px -26px rgba(26,23,18,.4); }
.guide-card .more { transition: letter-spacing .2s; }
.guide-card:hover .more { letter-spacing: .015em; }
.btn-primary { transition: background .18s, color .18s, transform .15s, box-shadow .22s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(22,196,106,.55); }
.sport-tile { transition: color .18s, background .2s, padding-left .22s; }
.sport-tile:hover { background: var(--accent-tint); padding-left: .55rem; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
  .mega-inner > * { opacity: 1; transform: none; transition: none; }
  .section-head::after, .hub-head::after { transition: none; }
}
