/* Misto ART – verkkosivusto 2027
   Brandbook 2020: teatterin klassiset värit kohtaavat digitaalisen aksentin.
   Layout: tumma yksiteemainen sivusto, 1160 px palsta, siksak-ornamentti jakajana. */
:root {
  color-scheme: dark;
  --slate: #222A35;
  --ink: #171C24;
  --panel: #2A3441;
  --line: rgba(255, 255, 255, .11);
  --burgundy: #7B0A1C;
  --red: #B6142C;
  --aubergine: #451E3E;
  --teal: #004040;
  --hot: #F31335;
  --magenta: #AB0068;
  --yellow: #FEC106;
  --orange: #FF6C02;
  --text: #EEF1F5;
  --muted: #B7C0CC;
  /* Brandbook: Gotham. Otsikoissa käytetään koneelle asennettua Gotham Boldia, jos se löytyy;
     tuotantoon tarvitaan web-fonttitiedostot (Gothamin web-lisenssi tai Montserrat itse isännöitynä). */
  --font-display: "Misto Display", "Montserrat", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --font: "Montserrat", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --radius: 14px;
}

@font-face { font-family: "Misto Display"; font-weight: 700; font-display: swap; src: local("Gotham Bold"), local("Gotham-Bold"), local("Montserrat Bold"), local("Montserrat-Bold"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--slate); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--hot); text-underline-offset: .2em; }
a:hover { color: #fff; text-decoration-color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3, .eyebrow, .btn, .nav a, .login, .langs a, .facts dt, .contact dt, .win__title, .price small, .price__num,
.values small, .slogan, .fnav a, .form label, .card a.more, .ref-card small, .store__b small, .steps li::before { font-family: var(--font-display); }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.01em; hyphens: manual; }
h2 { font-size: clamp(1.2rem, 2.1vw, 1.6rem); line-height: 1.32; text-transform: uppercase; letter-spacing: .12em; }
h3, .h3 { font-size: 1.02rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .12em; hyphens: manual; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--yellow); color: #111; padding: 10px 16px; border-radius: 8px; }
.eyebrow { display: block; margin-bottom: 14px; color: var(--yellow); font-size: .78rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: #DDE3EA; max-width: 62ch; }
.muted { color: var(--muted); }
.nb { white-space: nowrap; }
.zz { display: block; width: 96px; height: auto; color: var(--hot); }
.zz--center { margin: 0 auto 26px; }

/* Painikkeet */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  background: linear-gradient(100deg, var(--red), var(--hot)); color: #fff;
  font: 700 .82rem/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 26px -10px rgba(243, 19, 53, .8);
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 30px -10px rgba(243, 19, 53, .95); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.btn--ghost:hover { border-color: #fff; box-shadow: none; }
.btn--small { padding: 11px 16px; font-size: .74rem; letter-spacing: .12em; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Ylätunniste */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23, 28, 36, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
/* Ylätunniste saa olla sisältöä leveämpi: pisin (suomenkielinen) valikko mahtuu myös leveämmällä fontilla. */
.site-header .wrap { width: min(100% - 40px, 1280px); }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: 110px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 20px; }
.nav a { font-size: .76rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; text-decoration: none; color: #D8DEE6; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--hot); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; }
.langs a { display: block; padding: 6px 7px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--muted); }
.langs a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.langs a[aria-current="true"] { color: #111; background: var(--yellow); }
.login { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: #D8DEE6; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 1280px) {
  .nav-toggle { display: block; }
  .site-header__in { flex-wrap: wrap; gap: 0 14px; }
  .nav, .header-tools { display: none; width: 100%; margin: 0; }
  .site-header.is-open .nav, .site-header.is-open .header-tools { display: flex; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 8px 0; }
  .nav a { display: block; padding: 12px 0; font-size: .86rem; }
  .header-tools { flex-wrap: wrap; padding: 10px 0 20px; border-top: 1px solid var(--line); }
}

/* Osiot */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--deep { background: var(--ink); }
.section--plum { background: linear-gradient(160deg, var(--aubergine) 0%, var(--slate) 70%); }
.section--teal { background: linear-gradient(200deg, var(--teal) 0%, var(--slate) 75%); }
.section--red { background: linear-gradient(120deg, var(--burgundy) 0%, var(--red) 55%, var(--magenta) 130%); }
.section__head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head h2 + .lead { margin-top: 18px; }
.corner { position: absolute; width: 150px; color: var(--burgundy); opacity: .75; pointer-events: none; }
.corner--tr { top: 34px; right: 3vw; }
.corner--bl { bottom: 34px; left: 3vw; }
@media (max-width: 900px) { .corner { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(23, 28, 36, .6) 50%, rgba(23, 28, 36, 0) 72%), linear-gradient(0deg, var(--slate) 0%, rgba(34, 42, 53, 0) 20%); }
.hero__in { position: relative; z-index: 1; padding: clamp(64px, 9vw, 124px) 0 clamp(72px, 9vw, 128px); max-width: min(640px, 47vw); margin-left: max(20px, calc((100% - var(--wrap)) / 2)); margin-right: 20px; }
.hero h1 { margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: .78rem; color: #DCE2EA; }
@media (max-width: 1000px) {
  .hero__in { max-width: 680px; }
  .hero__bg { width: 100%; opacity: .4; }
  .hero::after { background: linear-gradient(180deg, rgba(23, 28, 36, .72) 0%, rgba(23, 28, 36, .8) 60%, var(--slate) 100%); }
}
.page-hero { background: linear-gradient(150deg, var(--aubergine) 0%, var(--ink) 62%); padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20ch; margin-bottom: 20px; font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.page-hero--wide h1 { max-width: 26ch; }

/* Ruudukot ja kortit */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3 { grid-template-columns: minmax(0, 1fr); } }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid--2 { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; padding: 30px 28px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--hot)); }
.card:nth-child(3n+2)::before { background: linear-gradient(90deg, var(--magenta), var(--hot)); }
.card:nth-child(3n+3)::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.card h3, .card .h3 { margin-bottom: 12px; }
.card p { margin: 0; color: #D5DBE3; font-size: .98rem; }
.card p + p { margin-top: 12px; }
.card a.more { display: inline-block; margin-top: 16px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.values { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); text-align: center; }
.values h3 { font-size: 1.15rem; letter-spacing: .25em; padding-bottom: 16px; margin-bottom: 18px; position: relative; }
.values h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 64px; height: 3px; margin-left: -32px; background: linear-gradient(90deg, var(--hot), var(--magenta)); }
.values small { display: block; margin-bottom: 8px; color: var(--yellow); font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.values p { color: #D5DBE3; max-width: 34ch; margin-inline: auto; }

.split { display: grid; gap: clamp(30px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--yellow); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding-top: 4px; }
.facts dd { margin: 0; color: #E3E8EE; font-size: .98rem; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

.ticks li { position: relative; padding: 6px 0 6px 30px; color: #E3E8EE; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--hot); border-bottom: 3px solid var(--hot); transform: rotate(-45deg); }

.aud { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.aud article { padding: 32px 28px; border-radius: var(--radius); background: rgba(23, 28, 36, .42); border: 1px solid rgba(255, 255, 255, .16); }
.aud small { display: block; color: #FFD9DE; font-size: .82rem; margin: 6px 0 16px; }
.aud p { margin: 0; font-size: 1.12rem; line-height: 1.5; font-weight: 600; }

.refs { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.refs li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); font-weight: 600; font-size: .95rem; }
.ref-card small { display: block; margin-bottom: 12px; color: var(--yellow); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ref-card { display: flex; flex-direction: column; }
.ref-card a.more { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.ref-card a.more::after { content: " \2197"; }

/* UKK */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--hot); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; color: #D5DBE3; max-width: 70ch; }

/* CTA-nauha */
.cta { text-align: center; }
.cta h2 { max-width: 26ch; margin: 0 auto 18px; }
.cta p { max-width: 58ch; margin: 0 auto; color: #FFE9EC; }
.cta .btn-row { justify-content: center; }
.cta .btn { background: #fff; color: var(--burgundy); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .7); }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); box-shadow: none; }

/* Ominaisuusryhmät */
.fnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fnav a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: rgba(255, 255, 255, .05); }
.fnav a:hover { border-color: var(--hot); }
.flist { display: grid; gap: 22px; }
.flist--cols { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px 40px; }
.flist li { padding-left: 20px; border-left: 3px solid var(--red); }
.flist h3 { font-size: .92rem; margin-bottom: 6px; }
.flist p { margin: 0; color: #D5DBE3; font-size: .98rem; }
.fnote { margin-top: 26px; color: var(--muted); font-size: .92rem; }

/* Näyttökuvat selainsovelluksesta */
.shots { display: grid; gap: clamp(30px, 4.5vw, 52px); margin-top: clamp(32px, 5vw, 58px); }
.shots--first { margin-top: 0; }
.section--tight { padding-block: clamp(34px, 5vw, 60px) clamp(20px, 3vw, 34px); }
.vig { margin: 0; min-width: 0; }
.vig figcaption { margin-top: 14px; max-width: 860px; color: #D5DBE3; font-size: .92rem; }
.vig figcaption b { color: #fff; }
.vig__note { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.shot { display: block; border-radius: 12px; overflow: hidden; background: #0E1218; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .14); transition: box-shadow .2s ease; }
.shot img { display: block; width: 100%; height: auto; }
.shot:hover, .shot:focus-visible { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 0 2px var(--hot); }

/* Puhelin */
.phones { position: relative; display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px); padding: 20px 0; }
.ring { position: absolute; top: 50%; left: 50%; width: min(580px, 104%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(135deg, var(--hot), var(--orange) 35%, var(--magenta) 80%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); filter: drop-shadow(0 0 18px rgba(243, 19, 53, .9)); }
.phone { position: relative; flex: 0 1 236px; min-width: 0; aspect-ratio: 1320 / 2868; padding: 7px; border-radius: 34px; background: #0B0E13; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 34px 60px -26px #000; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.phone--back { margin-top: 44px; }
@media (max-width: 520px) { .phone--back { display: none; } }
.store { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store__b { display: inline-flex; flex-direction: column; padding: 10px 20px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px; background: rgba(0, 0, 0, .35); text-decoration: none; line-height: 1.25; }
.store__b small { color: var(--yellow); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.store__b b { font-size: 1.02rem; }
.steps { counter-reset: s; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 30px 26px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); display: block; margin-bottom: 14px; color: var(--hot); font-size: 2rem; font-weight: 700; line-height: 1; }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: #D5DBE3; font-size: .98rem; }

/* Hinta */
.price { padding: 38px 34px; border-radius: 18px; background: linear-gradient(160deg, var(--burgundy), var(--aubergine)); border: 1px solid rgba(255, 255, 255, .18); }
.price small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--yellow); }
.price__num { display: block; margin: 6px 0 10px; font-size: clamp(3rem, 7vw, 4.4rem); font-weight: 700; line-height: 1; }
.price__per { font-size: .32em; font-weight: 700; letter-spacing: .08em; white-space: nowrap; color: #FFE9EC; }
.price p { color: #FFE9EC; }
.price .ticks { margin: 18px 0 6px; }
.price .ticks li::before { border-color: var(--yellow); }

/* Lomakkeet ja yhteystiedot */
.form { display: grid; gap: 16px; padding: 30px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.form label { display: grid; gap: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #D8DEE6; }
.form input, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 9px; background: var(--ink); color: #fff; font: 400 1rem/1.4 var(--font); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: transparent; }
.form small { color: var(--muted); font-size: .84rem; }
.form .btn { justify-self: start; }
[hidden] { display: none !important; }
.form a:not(.btn), .news a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 9px; font-size: .92rem; }
.form__status--fail { background: rgba(243, 19, 53, .14); border: 1px solid rgba(243, 19, 53, .55); color: #FFE9EC; }
.form__status--ok { background: rgba(254, 193, 6, .12); border: 1px solid rgba(254, 193, 6, .5); color: #fff; font-weight: 700; }
.form__done:focus { outline: none; }
.form__done h2 { color: var(--yellow); }
.form button[disabled], .news button[disabled] { opacity: .65; cursor: progress; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Uutiskirjetilaus alatunnisteessa */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: center; margin-bottom: 44px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.news p { color: #D8DEE6; max-width: 46ch; }
.news__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: center; }
.news__form input { width: 100%; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: var(--slate); color: #fff; font: 400 1rem/1.4 var(--font); }
.news__form input:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: transparent; }
.news__form small, .news__form .form__status { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; }
.news__form .form__status--ok, .news__form .form__status--fail { color: #fff; }
@media (max-width: 760px) { .news { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .news__form { grid-template-columns: minmax(0, 1fr); } .news__form .btn { justify-self: start; } }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { color: var(--yellow); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contact dd { margin: 4px 0 0; font-size: 1.12rem; }
.contact address { font-style: normal; }

/* Teksti (tietosuoja) */
.prose { max-width: 760px; }
.prose h2 { margin: 44px 0 14px; font-size: 1.12rem; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { margin: 0 0 1em; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose p, .prose li { color: #DDE3EA; }

/* Alatunniste */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 60px 0 30px; font-size: .94rem; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer img { width: 150px; margin-bottom: 16px; }
.site-footer h2 { margin-bottom: 14px; font-size: .74rem; letter-spacing: .22em; color: var(--yellow); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: #D8DEE6; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; color: #D8DEE6; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.slogan { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }

.linklike { padding: 0; border: 0; background: none; color: #D8DEE6; font: inherit; cursor: pointer; }
.linklike:hover { color: #fff; text-decoration: underline; }

/* Evästeilmoitus: kiinteä palkki sivun alareunassa. Painikkeet ovat samanarvoiset. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 16px 20px; background: rgba(23, 28, 36, .97); border-top: 1px solid var(--line); box-shadow: 0 -14px 40px -18px rgba(0, 0, 0, .8); }
.consent__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; max-width: var(--wrap); margin: 0 auto; }
.consent p { flex: 1 1 420px; margin: 0; font-size: .9rem; color: #DDE3EA; }
.consent strong { margin-right: 6px; color: #fff; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { background: transparent; border-color: rgba(255, 255, 255, .7); box-shadow: none; }
.consent .btn:hover { border-color: #fff; background: rgba(255, 255, 255, .1); box-shadow: none; transform: none; }

/* Kielivalinta (juuri) */
.chooser { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; background: linear-gradient(160deg, var(--aubergine), var(--ink) 70%); }
.chooser img { width: 220px; margin-bottom: 30px; }
.chooser ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .site-header, .site-footer, .cta, .nav-toggle, .consent { display: none; } body { background: #fff; color: #000; } }
