/* Radiokirppis: logon keltainen ja musta. Pohjina kerma, vaalea keltainen ja logon paidan vaalea liila.
   Kirkas keltainen vain herossa ja korostuksissa, musta tekstissä, painikkeissa ja footerissa.
   Layout: keskitetyt otsikot ja kortit, vasemmalle tasatut lomakkeet ja listat. */
:root {
  --yellow: #F4D53D;        /* logon keltainen */
  --yellow-soft: #FBEDAE;
  --cream: #FFF9E8;
  --lilac: #EFEBF4;         /* logon paidan sävy */
  --spot: #F4D53D;          /* listapallot ym. */
  --deep: #141414;          /* logon musta */
  --deep2: #000000;
  --ink: #1A1A1A;
  --ink-soft: #4A4744;
  --err: #B0122A;
  --ok: #1E6B3A;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;

  --bg: var(--cream);
  --fg: var(--ink);
  --head: var(--deep);
  --accent: var(--deep);
  --muted: var(--ink-soft);
  --card: #FFFDF6;
  --card-fg: var(--ink);
  --line: rgba(20, 20, 20, .18);
  color-scheme: light;
}

/* ---------- Osioteemat ---------- */
.t-tomato { --bg: var(--yellow); --card: var(--cream); }          /* hero: logon keltainen */
.t-teal   { --bg: var(--yellow-soft); --card: #FFFDF6; }
.t-pink   { --bg: var(--lilac); --card: #FFFDF6; }
.t-butter { --bg: var(--cream); --card: #FFFDF6; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid rgba(20, 20, 20, .75); outline-offset: 3px; border-radius: 6px; }
.t-teal :focus-visible { outline-color: var(--yellow); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--yellow); padding: 10px 16px; z-index: 100; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- Typografia ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: 1.18;          /* väljä, jotta Ä/Ö-pisteet eivät osu ylempään riviin */
  text-wrap: balance;
  margin: 0;
  padding-top: .08em;
  color: var(--head);
  overflow-wrap: break-word;
}
/* Kylttiotsikko: keltainen versaali ja kova luumuvarjo */
h1 {
  font-size: clamp(2.3rem, 7vw, 5.2rem);
  color: var(--deep);
  line-height: 1.2;
}
h2 { font-size: clamp(1.8rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.25; }
p { margin: 0; }
.eyebrow {
  font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg); margin: 0 0 .7rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--fg); max-width: 60ch; }
.small { font-size: .92rem; color: var(--muted); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Rakenne ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); background: var(--bg); color: var(--fg); position: relative; }
.section-head { text-align: center; display: grid; justify-items: center; gap: .9rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin-inline: auto; }
.center { text-align: center; }
.stack { display: grid; gap: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* Taajuusasteikko: radion viritinasteikon viivat osioiden välissä */
.dial {
  height: 22px; background: var(--ink);
  background-image:
    repeating-linear-gradient(90deg, var(--yellow) 0 2px, transparent 2px 60px),
    repeating-linear-gradient(90deg, rgba(255, 215, 106, .55) 0 1px, transparent 1px 12px);
  background-size: 100% 100%, 100% 55%;
  background-repeat: no-repeat;
  background-position: 0 0, 0 0;
}

/* ---------- Painikkeet ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px;
  font: 800 1rem/1.1 var(--font-body); letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; border: 2px solid rgba(20, 20, 20, .75); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--deep); border-color: var(--deep); color: var(--cream); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.btn--primary:hover { background: #000; color: var(--yellow); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.t-butter .btn--primary, .t-pink .btn--primary { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.t-butter .btn--primary:hover, .t-pink .btn--primary:hover { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.btn--sun { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.btn--sun:hover { color: var(--ink); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--yellow); }
.btn--big { min-height: 64px; padding-inline: 2.2rem; font-size: 1.1rem; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 248, 230, .96); color: var(--ink);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--deep);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem); text-decoration: none; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .55rem;
}
.brand:hover { color: var(--yellow); }
.brand-dot { width: .8em; height: .8em; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--deep); flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 800; padding: .5rem .85rem; border-radius: 999px;
  border: 2px solid transparent; transition: border-color .15s ease, background-color .15s ease;
}
.nav a:not(.btn):hover { border-color: var(--ink); color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { background: var(--yellow); border-color: var(--ink); }
.nav .btn { margin-left: .6rem; min-height: 46px; padding-inline: 1.2rem; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.menu-toggle {
  display: none; margin-left: auto; background: var(--yellow); border: 2px solid rgba(20, 20, 20, .75); border-radius: 999px;
  min-height: 46px; padding: 0 1rem; font: 800 .9rem var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); cursor: pointer; align-items: center; gap: .55rem; box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.burger { width: 18px; height: 12px; position: relative; display: inline-block; }
.burger::before, .burger::after, .burger span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.burger::before { top: 0; } .burger span { top: 5px; } .burger::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .3rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.25rem;
  }
  .nav:not(.is-open) { display: none; }
  .nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.15rem; text-align: center; }
  .nav .btn { margin: .5rem 0 0; }
}

/* Mobiilin kiinteä varauspainike */
.mobile-cta { display: none; }
@media (max-width: 1080px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 248, 230, .97); border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
  body.has-mobile-cta { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Kuvapaikat ---------- */
.ph {
  position: relative; width: 100%; max-width: 100%; min-width: 0; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, rgba(20, 20, 20, .08) 0 14px, rgba(20, 20, 20, .15) 14px 28px), var(--cream);
  border: 2px dashed rgba(20, 20, 20, .45);
  display: grid; place-content: center; text-align: center; gap: .25rem; padding: 1.25rem;
  color: var(--ink); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem;
  overflow-wrap: anywhere;
}
.ph small { display: block; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-size: .88rem; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--land { aspect-ratio: 4 / 3; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 10; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(20, 20, 20, .75); }
.media-frame img { width: 100%; height: auto; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(52px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.hero-text .lead { margin-inline: auto; font-weight: 500; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem; background: var(--deep); color: var(--cream);
  font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .5rem 1.1rem; border-radius: 999px;
}
.hero-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--spot); box-shadow: 0 0 0 3px var(--yellow); }
.hero-media { max-width: 440px; width: 100%; justify-self: center; }
.hero-media .media-frame, .hero-media .ph { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); background-color: var(--yellow); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 340px; }
}

/* ---------- Faktanumerot ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.fact { text-align: center; padding: 1.4rem 1rem 1.6rem; display: grid; gap: .4rem; align-content: start; border-top: 2px solid var(--deep); }
.fact-num { font-family: var(--font-display); font-size: clamp(3.2rem, 8vw, 5.6rem); line-height: 1.08; color: var(--deep); }
.fact-num small { font-size: .45em; }
.fact p { font-weight: 700; max-width: 22ch; margin-inline: auto; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Asiakaspolut ---------- */
.paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.paths > * { min-width: 0; }
.path {
  display: grid; gap: 1rem; align-content: start; justify-items: center; text-align: center;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  border: 2px solid rgba(20, 20, 20, .75); background: var(--lilac); box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.path:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); color: var(--ink); }
.path--sell { background: var(--yellow); }
.path h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--deep); }
.path p { max-width: 38ch; font-weight: 500; }
.path .go { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-top: auto; border-bottom: 2.5px solid currentColor; }
@media (max-width: 700px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Hintalaatikot (hintalappu) ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); }
.prices > * { min-width: 0; }
.price-tag {
  position: relative; display: grid; gap: .45rem; justify-items: center; align-content: start; text-align: center;
  padding: 2.5rem 1.2rem 1.6rem; border-radius: var(--radius); background: var(--yellow);
  border: 2px solid rgba(20, 20, 20, .75); text-decoration: none; color: var(--ink); box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.price-tag::before { /* hintalapun reikä */
  content: ""; position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; border: 2px solid rgba(20, 20, 20, .75); background: var(--bg);
}
.price-tag:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); color: var(--ink); }
.price-tag .pt-name { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.price-tag .pt-price { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.08; color: var(--deep); }
.price-tag .pt-per { font-weight: 800; }
.price-tag .pt-extra { font-size: .95rem; }
.price-tag .pt-go { margin-top: auto; padding-top: .6rem; font-weight: 800; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 2.5px solid currentColor; }
.price-tag:nth-child(2) { background: var(--cream); }
.price-tag:nth-child(3) { background: #FFFDF5; }
.price-tag--hl { background: var(--yellow-soft) !important; }

.price-tag--hl .pt-price { color: var(--deep); }
.price-note { text-align: center; margin-top: 2rem; display: grid; gap: .3rem; font-weight: 500; }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .prices { grid-template-columns: 1fr; } }

/* ---------- Instagram ---------- */
.ig-handle {
  display: inline-block; font-family: var(--font-display); color: var(--ink); text-decoration: none;
  white-space: nowrap; font-size: clamp(1.05rem, 5.2vw, 2.4rem); line-height: 1.2; max-width: 100%;
  background: var(--yellow); padding: .15em .6em; border-radius: 999px; border: 2px solid rgba(20, 20, 20, .75);
}
.ig-handle:hover { color: var(--deep); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.ig-grid a { display: block; border-radius: var(--radius); min-width: 0; }
@media (max-width: 700px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Kaksi palstaa ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split-text { display: grid; gap: 1.1rem; min-width: 0; }
.split-text h2 { text-align: center; }
.split-media { min-width: 0; }
.split-media .ph, .split-media .media-frame { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; text-align: left; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--spot); box-shadow: inset 0 0 0 3px var(--deep);
}
.t-teal .check-list li::before { background: var(--yellow); }

/* ---------- Kortit ---------- */
.cards { display: grid; gap: clamp(14px, 2vw, 22px); }
.cards > * { min-width: 0; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); color: var(--card-fg); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); display: grid; gap: .8rem; align-content: start; text-align: center; height: 100%;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.card h3, .card h2 { color: var(--deep); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cards--2 { grid-template-columns: 1fr; } }

/* Vaiheet */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step {
  counter-increment: step; background: var(--yellow); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius);
  padding: 1.4rem 1.1rem; display: grid; gap: .7rem; justify-items: center; text-align: center; align-content: start; height: 100%;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.step::before {
  content: counter(step); font-family: var(--font-display); font-size: 1.6rem; line-height: 1;
  width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: var(--cream);
  padding-top: .05em;
}
.step p { font-weight: 700; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .step { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; }
}
@media (max-width: 640px) { .step { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* Aukioloajat */
.hours-card { max-width: 480px; margin-inline: auto; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; text-align: left; width: 100%; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; border-radius: 10px; font-variant-numeric: tabular-nums; }
.hours li.is-today { background: var(--yellow); color: var(--ink); font-weight: 800; }
.open-status { font-weight: 800; display: inline-flex; align-items: center; gap: .5rem; justify-content: center; }
.open-status::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.open-status.is-open::before { background: var(--yellow-soft); box-shadow: 0 0 0 4px rgba(13, 110, 99, .25); }

/* Hinnasto */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.plan-grid > * { min-width: 0; }
.plan {
  background: var(--yellow); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 1.1rem; align-content: start; text-align: center; height: 100%;
  grid-template-rows: auto auto auto 1fr auto; box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.plan:nth-child(2) { background: var(--cream); }
.plan:nth-child(3) { background: var(--lilac); }
.plan--hl { background: var(--yellow-soft) !important; }
.plan-name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.2; color: var(--ink); }
.plan-desc { font-weight: 500; }
.plan-prices { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.plan-price { display: grid; justify-items: center; }
.plan-price b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1.08; color: var(--deep); }

.plan-price span { font-weight: 800; }
.plan .check-list { justify-self: center; max-width: 34ch; }
.plan--hl .check-list li::before { background: var(--yellow); }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }

.price-table-wrap { overflow-x: auto; max-width: 720px; margin-inline: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cream); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 2px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 800; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { background: var(--ink); color: var(--yellow); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* Säännöt (details) */
.rules { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.rules details { background: var(--yellow); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.rules details:nth-child(even) { background: var(--lilac); }
.rules summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 800; font-size: 1.12rem;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--deep); transition: transform .2s ease; }
.rules details[open] summary::after { transform: rotate(45deg); }
.rules .rule-body { padding: 0 1.3rem 1.3rem; display: grid; gap: .8rem; text-align: left; }
.rules a { color: var(--deep); }

/* Pöytäkartta */
.map-figure { max-width: 820px; margin: 0 auto; display: grid; gap: .9rem; }
.map-figure .ph { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.map-figure figcaption { text-align: center; font-weight: 600; }

/* Valmis myymään (vaalea) */
.ready-box { display: grid; gap: 1.2rem; justify-items: center; text-align: center; }

/* ---------- Yhteystiedot ---------- */
.contact-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.contact-boxes > * { min-width: 0; }
.cbox {
  background: var(--yellow); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .9rem; text-align: center; justify-items: center; height: 100%;
  box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.cbox:nth-child(2) { background: var(--lilac); }
.cbox:nth-child(3) { background: var(--cream); }
.cbox-label { font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: .3rem .8rem; border-radius: 999px; }
.cbox-main { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.25; }
.cbox .hours { max-width: 260px; }
.cbox .btn { width: 100%; max-width: 280px; }
.cbox .btn--primary { box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
@media (max-width: 900px) { .contact-boxes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.map-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.map-row > * { min-width: 0; }
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(20, 20, 20, .75); background: var(--cream); color: var(--ink); min-height: 320px; display: grid; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.map-embed iframe { border: 0; width: 100%; height: 100%; min-height: 320px; display: block; }
.map-consent { display: grid; place-content: center; gap: 1rem; text-align: center; padding: 1.5rem; }
.facade { display: grid; }
.facade .ph, .facade .media-frame { height: 100%; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.facade img { width: 100%; height: 100%; object-fit: contain; background: var(--cream); }
@media (max-width: 760px) { .map-row { grid-template-columns: 1fr; } .facade .ph { aspect-ratio: 4 / 3; height: auto; } }

.ask-box {
  max-width: 620px; margin: clamp(32px, 4vw, 48px) auto 0; background: var(--lilac); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius);
  padding: 1.6rem; text-align: center; display: grid; gap: .8rem; justify-items: center; box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.ask-box h3 { color: var(--deep); font-size: 1.6rem; }
.ask-box a { color: var(--ink); }
.copy-line { display: inline-flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; }
.copy-btn { background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: .25rem .8rem; font: 800 .8rem var(--font-body); color: var(--ink); cursor: pointer; }
.copy-btn:hover { background: var(--ink); color: var(--yellow); }

/* ---------- Lomake ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--cream); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.form { display: grid; gap: 1.5rem; text-align: left; color: var(--ink); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.form legend { font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.25; padding: 0; margin-bottom: .6rem; color: var(--deep); }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mode-switch label {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 60px; padding: .6rem 1rem;
  border: 2px solid rgba(20, 20, 20, .75); border-radius: 14px; font-weight: 800; cursor: pointer; background: #FFFDF5;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch label:has(input:checked) { background: var(--yellow); border-color: var(--deep); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.mode-switch label:has(input:focus-visible) { outline: 2px solid rgba(20, 20, 20, .75); outline-offset: 3px; }
@media (max-width: 420px) { .mode-switch { grid-template-columns: 1fr; } }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; align-content: start; }
.field label, .field .label { font-weight: 800; font-size: .98rem; }
.req { color: var(--err); }
.opt { font-weight: 600; color: var(--ink-soft); font-size: .85rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .75rem .95rem; border: 2px solid rgba(20, 20, 20, .75); border-radius: 12px;
  font: 500 1rem var(--font-body); color: var(--ink); background: #FFFBEE;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--deep); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--err); background: #FFE9E6; }
.error { color: var(--err); font-weight: 800; font-size: .92rem; }
.error:empty { display: none; }
.hint { color: var(--ink-soft); font-size: .9rem; font-weight: 600; }

.stepper { display: inline-flex; align-items: center; border: 2px solid rgba(20, 20, 20, .75); border-radius: 999px; overflow: hidden; background: #FFFBEE; width: max-content; }
.stepper button { width: 54px; height: 54px; border: 0; background: var(--yellow); font: 800 1.6rem/1 var(--font-display); color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--spot); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; background: var(--yellow); }
.stepper output { min-width: 5.5rem; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

.checks { display: grid; gap: .6rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--deep); flex: none; }
.check a { color: var(--deep); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.notice { background: var(--lilac); border: 2px solid rgba(20, 20, 20, .75); border-radius: 14px; padding: 1rem 1.2rem; font-weight: 700; }
.form-actions { display: grid; gap: .8rem; }
.form-actions .btn { width: 100%; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.form-error-summary { color: var(--err); font-weight: 800; }
.form-error-summary:empty { display: none; }

.estimate {
  position: sticky; top: calc(100px + env(safe-area-inset-top, 0px));
  background: var(--deep); color: var(--cream); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px);
  display: grid; gap: 1rem; box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.estimate h2 { font-size: 1.35rem; color: var(--yellow); text-align: center; }
.est-total { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 3.8rem); line-height: 1.08; text-align: center; color: var(--yellow); }
.est-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.est-rows li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255, 248, 230, .3); padding-bottom: .45rem; font-variant-numeric: tabular-nums; }
.est-rows li span:last-child { font-weight: 800; text-align: right; }
.estimate .small { color: #DCEDE6; }
@media (max-width: 900px) { .estimate { position: static; } }

.success {
  background: var(--cream); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  display: grid; gap: 1rem; text-align: center; justify-items: center; box-shadow: 0 8px 24px rgba(20, 20, 20, .08);
}
.success h2 { color: var(--deep); }
.success dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; text-align: left; margin: 0; max-width: 460px; width: 100%; }
.success dt { font-weight: 800; }
.success dd { margin: 0; }

/* Tekstisivu */
.prose { max-width: 760px; margin-inline: auto; display: grid; gap: 1rem; text-align: left; background: var(--cream); border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); box-shadow: 0 8px 24px rgba(20, 20, 20, .08); }
.prose h2 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); margin-top: .8rem; text-align: left; color: var(--deep); }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #F6E6D0; padding-block: 0 28px; font-size: .95rem; }
.site-footer .dial { margin-bottom: 44px; background-color: var(--ink); }
.site-footer a { color: #F6E6D0; }
.site-footer a:hover { color: var(--yellow); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand { font-family: var(--font-display); color: var(--yellow); text-transform: uppercase; font-size: 1.6rem; line-height: 1.15; text-decoration: none; }
.foot-brand img { height: 56px; width: auto; }
.foot-h { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--spot); margin-bottom: .5rem; }
.foot-col { display: grid; gap: .25rem; align-content: start; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(246, 230, 208, .2); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .88rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #F6E6D0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.linklike:hover { color: var(--yellow); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; text-align: center; }
  .foot-brand-col { grid-column: 1 / -1; justify-items: center; }
  .foot-bottom { justify-content: center; text-align: center; }
  .foot-bottom nav { justify-content: center; }
}

/* Evästeasetukset */
.consent {
  position: fixed; z-index: 80; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(560px, calc(100% - 32px)); background: var(--yellow); color: var(--ink); border: 2px solid rgba(20, 20, 20, .75);
  border-radius: var(--radius); padding: 1.3rem; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); display: grid; gap: .9rem;
}
.consent h2 { font-size: 1.15rem; color: var(--ink); }
.consent .btn-row { justify-content: flex-start; }
.consent .btn { min-height: 46px; font-size: .9rem; padding-inline: 1.1rem; }
.consent .small { color: var(--ink); }

/* Animaatiot: sisältö näkyy aina, liike on vain hienovarainen lisä */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .reveal-2 { animation-delay: .08s; } .reveal-3 { animation-delay: .16s; } .reveal-4 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-media, .ig-grid a { transform: none !important; }
}

/* Mobiili */
@media (max-width: 700px) {
  .split-text, .split-text p, .prose h2 { text-align: center; }
  .split-text .check-list { text-align: left; }
}
@media (max-width: 420px) {
  .menu-toggle { padding: 0 .8rem; gap: .45rem; font-size: .8rem; }
  .brand { font-size: 1.05rem; gap: .4rem; }
  .ph { padding: .75rem; font-size: .75rem; }
  .ph small { font-size: .75rem; }
  .price-table td:last-child, .price-table th:last-child { white-space: normal; }
  .price-table th, .price-table td { padding: .75rem .8rem; }
}
@media (max-width: 350px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle { min-width: 46px; justify-content: center; }
}

/* Kuvat eivät rajaudu: luonnollinen kuvasuhde, leveys rajattu */
.split-media .media-frame { max-width: 460px; margin-inline: auto; }
.hero-media .media-frame { background: var(--yellow); }
.price-tag:nth-child(3) { background: #FFFDF5; }

.plan .check-list { align-content: start; align-self: start; }
.fact-num, .price-tag .pt-price, .ig-handle, .foot-brand, .est-total, .plan-name, .cbox-main, .form legend, .plan-price b { font-weight: 800; }
.ig-handle { color: var(--deep); }

/* ===== Logon värit: keltainen + musta ===== */
.btn--primary { color: var(--yellow); }
.hero-tag { color: var(--yellow); }
.hero-tag::before { background: var(--yellow); box-shadow: none; }
.step::before { color: var(--yellow); }
.step, .cbox, .rules details, .rules details:nth-child(even), .plan, .plan:nth-child(2), .plan:nth-child(3),
.price-tag, .price-tag:nth-child(2), .price-tag:nth-child(3), .form-card, .card, .prose { background: #FFFDF6; }
.price-tag:nth-child(1) { background: var(--yellow); }
.cbox:nth-child(2), .cbox:nth-child(3) { background: #FFFDF6; }
.price-tag--hl, .plan--hl { background: var(--deep) !important; color: var(--cream); border-color: var(--deep); }
.price-tag--hl .pt-price, .plan--hl .plan-price b, .plan--hl .plan-name { color: var(--yellow); }
.price-tag--hl .pt-go { color: var(--yellow); }
.plan--hl .plan-desc, .plan--hl .plan-price span { color: var(--cream); }
.plan--hl .btn--primary { background: var(--yellow); color: var(--deep); border-color: var(--yellow); }
.plan--hl .check-list li::before { background: var(--yellow); box-shadow: none; }
.path { background: var(--lilac); }
.path--sell { background: var(--yellow); }
.ask-box { background: var(--yellow-soft); }
.ask-box h3 { color: var(--deep); }
.estimate h2, .est-total { color: var(--yellow); }
.estimate .small { color: #D9D4CC; }
.est-rows li { border-bottom-color: rgba(255, 249, 232, .25); }
.check-list li::before { box-shadow: inset 0 0 0 3px var(--deep); }
.site-footer, .site-footer a, .linklike { color: #F2EEE6; }
.brand img { height: clamp(40px, 5vw, 54px); width: auto; }
.foot-brand img { height: 72px; width: auto; }
.hero .eyebrow { color: var(--deep); }
.ig-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 2px solid rgba(20, 20, 20, .75); transition: transform .2s ease; }
.ig-grid a:hover .ig-img { transform: translateY(-4px); }
.h1-big { display: block; font-size: clamp(1.85rem, 8.6vw, 5.6rem); line-height: 1.12; }
.hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.hero-text > * { min-width: 0; max-width: 100%; }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 3.2rem); }
.h1-big { font-size: clamp(1.85rem, 5vw, 4.1rem); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2.6rem); }
  .h1-big { font-size: clamp(1.85rem, 9vw, 4.1rem); }
}

/* Hero: julkisivukuva tummennettuna taustalla */
.hero--photo {
  background-color: #141414;
  background-image: linear-gradient(rgba(14, 14, 14, .74), rgba(14, 14, 14, .82)), url("img/julkisivu-1600.webp");
  background-size: cover; background-position: center 40%;
  color: #FFF9E8;
  --fg: #FFF9E8; --muted: #E8E2D4;
}
@media (max-width: 820px) {
  .hero--photo { background-image: linear-gradient(rgba(14, 14, 14, .76), rgba(14, 14, 14, .84)), url("img/julkisivu-800.webp"); }
}
.hero--photo h1 { color: var(--yellow); }
.hero--photo .lead { color: #FFF9E8; }
.hero--photo .hero-tag { background: var(--yellow); color: var(--deep); }
.hero--photo .hero-tag::before { background: var(--deep); }
.hero--photo .btn--primary { background: var(--yellow); border-color: var(--yellow); color: var(--deep); }
.hero--photo .btn--primary:hover { background: #FFE15A; color: var(--deep); }
.hero--photo .btn--ghost { color: #FFF9E8; border-color: #FFF9E8; }
.hero--photo .btn--ghost:hover { background: #FFF9E8; color: var(--deep); }
.hero--photo .hero-media .media-frame { border-color: var(--yellow); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.hero--photo :focus-visible { outline-color: var(--yellow); }
/* Yhteystiedot: julkisivukuvaa ei rajata, kartta venyy samaan korkeuteen */
.facade .media-frame { height: auto; align-self: start; }
.facade .media-frame img { height: auto; object-fit: initial; }
.map-row { align-items: start; }
.map-embed { height: 100%; }
.hero-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.hero--photo { padding-block: clamp(64px, 10vw, 140px); }
.hero--photo .h1-big { font-size: clamp(1.85rem, 8.4vw, 5.8rem); }
.hero--photo h1 { font-size: clamp(1.5rem, 4.6vw, 3.6rem); }
.hero--photo .h1-big { font-size: clamp(1.8rem, 8vw, 4.7rem); white-space: nowrap; }
.map-figure { max-width: 680px; }
.map-img { background: #000; box-shadow: 0 8px 24px rgba(20, 20, 20, .12); }
.map-figure .lead { text-align: center; }
.hero-years {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: clamp(.95rem, 2.6vw, 1.35rem); color: var(--yellow);
  margin-bottom: -.6rem;
}
.hero-years::before, .hero-years::after { content: ""; width: clamp(18px, 5vw, 48px); height: 2px; background: currentColor; }
.hero-years { white-space: nowrap; max-width: 100%; }
@media (max-width: 520px) {
  .hero-years { letter-spacing: .05em; font-size: clamp(.8rem, 4.2vw, 1rem); gap: .45rem; margin-bottom: -.3rem; }
  .hero-years::before, .hero-years::after { display: none; }
}

/* Lomakkeen natiivit kontrollit aina vaaleina (ettei selaimen tumma tila tee niistä harmaita) */
input, select, textarea { color-scheme: light; }
.check input { background: #fff; }

/* Päivämääräkenttä: koko kenttä avaa kalenterin, oma näkyvä kalenteri-ikoni */
.field input[type="date"] {
  position: relative; cursor: pointer;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 22px;
}
.field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0;
  opacity: 0; cursor: pointer;
}
.field input[type="date"]::-webkit-datetime-edit { cursor: pointer; }

/* Myyntiprovisio näkyy aina hinnan vieressä */
.prov {
  display: inline-block; justify-self: center; align-self: center;
  background: var(--deep); color: var(--yellow);
  font-weight: 800; font-size: .85rem; letter-spacing: .02em; line-height: 1.3;
  padding: .3rem .75rem; border-radius: 999px; text-align: center;
}
.prov--lg { font-size: clamp(.9rem, 2vw, 1.05rem); padding: .45rem 1.1rem; margin-inline: auto; }
.price-tag--hl .prov, .plan--hl .prov { background: var(--yellow); color: var(--deep); }
.plan { grid-template-rows: auto auto auto auto 1fr auto; }
.price-note b { font-weight: 800; }
.est-rows li.est-prov { color: var(--yellow); }
.est-total { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.book-grid > *, .form-card, .form, .form > *, .stack { min-width: 0; }
.field select { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
.prov { font-size: .92rem; padding: .35rem .9rem; }

/* Matalampi footer */
.site-footer { padding-block: 0 16px; font-size: .9rem; line-height: 1.45; }
.site-footer .dial { height: 14px; margin-bottom: 26px; }
.foot-grid { gap: 18px 24px; align-items: start; }
.foot-brand img { height: 52px; }
.foot-brand-col { gap: .45rem; }
.foot-brand-col p { font-size: .85rem; max-width: 30ch; }
.foot-h { margin-bottom: .2rem; font-size: .72rem; }
.foot-col { gap: .1rem; }
.foot-col ul { display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
.foot-bottom { margin-top: 20px; padding-top: 12px; font-size: .8rem; gap: .4rem 1rem; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
  .foot-brand-col { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; }
  .foot-brand img { height: 40px; }
  .foot-col ul { justify-content: center; flex-direction: column; gap: .1rem; }
}
@media (max-width: 480px) {
  .site-footer { font-size: .8rem; }
  .foot-brand-col p { font-size: .78rem; }
  .foot-h { font-size: .66rem; letter-spacing: .08em; }
}
@media (max-width: 900px) { .foot-brand-col p { max-width: 36ch; text-align: left; } }
/* Footer: logo ylhäällä keskellä, tiedot kolmena sarakkeena */
.foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.foot-brand-col { grid-column: 1 / -1; display: flex; justify-content: center; }
.foot-brand img { height: 52px; }
.foot-col ul { justify-content: center; }
.foot-bottom { justify-content: center; text-align: center; }
@media (max-width: 900px) { .foot-brand img { height: 42px; } }
.foot-brand-col { margin-bottom: 14px; }
@media (max-width: 900px) { .foot-brand-col { margin-bottom: 10px; } }
.cafe-cards { display: grid; gap: clamp(14px, 2vw, 22px); min-width: 0; }
.cafe-cards .card { height: auto; }
@media (max-width: 820px) { .cafe-split .split-media { order: -1; } }

/* Ostoksille: tiivis rakenne */
.hero--compact { padding-block: clamp(36px, 5vw, 64px); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chips li { background: var(--yellow); color: var(--deep); font-weight: 800; font-size: .92rem; padding: .4rem .9rem; border-radius: 999px; border: 2px solid rgba(20, 20, 20, .75); }
.shop-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.shop-card {
  background: #FFFDF6; border: 2px solid rgba(20, 20, 20, .75); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; box-shadow: 0 8px 24px rgba(20, 20, 20, .08); text-align: center;
}
.shop-card-img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 60%; border-bottom: 2px solid rgba(20, 20, 20, .75); }
.shop-card-body { padding: clamp(18px, 2.4vw, 26px); display: grid; gap: .6rem; align-content: start; justify-items: center; }
.shop-card h3 { color: var(--deep); }
.shop-card--hours { grid-template-rows: 1fr; background: var(--deep); color: var(--cream); border-color: var(--deep); }
.shop-card--hours h3 { color: var(--yellow); font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.shop-card--hours .small { color: #DDD7CB; }
.shop-card--hours .hours li.is-today { background: var(--yellow); color: var(--deep); }
.shop-card--hours .open-status::before { background: #8A857D; }
.shop-card--hours .open-status.is-open::before { background: #5FD38A; box-shadow: 0 0 0 4px rgba(95, 211, 138, .25); }
.shop-card--hours .btn--primary { background: var(--yellow); color: var(--deep); border-color: var(--yellow); margin-top: .4rem; }
.shop-card--hours .shop-card-body { align-content: center; height: 100%; }
@media (max-width: 900px) { .shop-cards { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }
