﻿/* Potero Palvelut — Vantaa / Nordic wellness
   Clean · airy · editorial · no card clutter */

@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg: #fafaf8;
  --bg-2: #f1f0eb;
  --surface: #ffffff;
  --ink: #121a17;
  --ink-soft: #3d4a44;
  --line: rgba(18, 26, 23, 0.1);
  --forest: #1a3c32;
  --forest-2: #2a5a4a;
  --moss: #6b8f7e;
  --mist: #dce6e1;
  --font-brand: "Syne", "Arial Narrow", sans-serif;
  --font: "Public Sans", "Segoe UI", sans-serif;
  --ad-h: 1.6rem;
  --header-h: 4rem;
  --max: 70rem;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, #f7f6f2 0%, var(--bg) 28%, var(--bg) 100%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--forest-2);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--forest); }

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2.15rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.4rem); }
h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.muted { color: var(--ink-soft); }

/* ——— Ad ——— */
.ad-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--ad-h);
  display: grid;
  place-items: center;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: var(--ad-h);
  z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo-mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--forest);
}

.logo-text {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.1rem;
  min-width: 0;
}

.nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link svg {
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.nav-item.is-open .nav-link svg {
  transform: rotate(180deg);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.35rem;
  display: none;
  flex-direction: column;
  z-index: 30;
  /* bridge so cursor doesn't "fall through" the gap */
  margin-top: 0;
  padding-top: 0.35rem;
  box-shadow: 0 8px 24px rgba(18, 26, 23, 0.08);
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.55rem;
  height: 0.55rem;
}

.nav-item.is-open .dropdown {
  display: flex;
}

.dropdown a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.75rem;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--bg-2); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-cta { display: none; }

.burger {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2;
}

.burger span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
  transform-origin: center;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 0.5rem 1.25rem 1.5rem;
  max-height: calc(100svh - var(--ad-h) - var(--header-h));
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0.75rem 0 0.25rem;
}
.mobile-nav hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.75rem 0;
}
.mobile-cta {
  margin-top: 1rem;
  text-align: center;
  border-bottom: 0 !important;
  background: var(--forest) !important;
  color: #fff !important;
  padding: 0.9rem !important;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 1100px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
  .header-cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
  body.nav-open { overflow: auto; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover {
  background: var(--forest-2);
  color: #fff;
}

.btn-secondary {
  background: var(--mist);
  color: var(--forest);
}
.btn-secondary:hover {
  background: #cfdcd5;
  color: var(--forest);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.86rem; }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ——— Hero: full-bleed composition ——— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--ad-h) - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 15, 0.72) 0%, rgba(10, 18, 15, 0.45) 42%, rgba(10, 18, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 18, 15, 0.55) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 38rem);
  margin: 0 auto 0 max(1.25rem, calc((100vw - var(--max)) / 2 + 1.25rem));
  padding: 3.5rem 0 4rem;
}

@media (max-width: 899px) {
  .hero-content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
  }
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 1.1rem;
}

.hero h1 {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 0.9rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero .btn-primary {
  background: #fff;
  color: var(--forest);
}
.hero .btn-primary:hover {
  background: var(--mist);
  color: var(--forest);
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-alt {
  background:
    linear-gradient(180deg, var(--bg-2), transparent 70%);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

/* ——— Trust pillars: no cards ——— */
.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .pillar:nth-child(odd) { padding-right: 1.5rem; }
  .pillar:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

.pillar-dot {
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ——— Programs: editorial rows with media ——— */
.program-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.program-link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background-color 0.25s var(--ease);
}

.program-link:hover {
  color: inherit;
  background-color: rgba(26, 60, 50, 0.03);
}

.program-link-media {
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 3;
  max-width: 18rem;
}

.program-link-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.program-link:hover .program-link-media img {
  transform: scale(1.04);
}

.program-link-body {
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.program-link h3 {
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

.program-link p {
  margin: 0;
  max-width: 36rem;
}

.program-link .link-more {
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest-2);
}

@media (min-width: 700px) {
  .program-link {
    grid-template-columns: 11.5rem 1fr;
    gap: 1.75rem;
    padding: 1.5rem 0;
  }

  .program-link-media {
    max-width: none;
    width: 100%;
  }

  .program-link .link-more { margin-top: 0.45rem; }
}

@media (min-width: 960px) {
  .program-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
    border-top: none;
  }

  .program-link {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
  }
}

/* keep old grid-3 working if used */
.grid-3,
.grid-2,
.grid-features {
  display: grid;
  gap: 0;
}

/* ——— Features: open columns ——— */
.grid-features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .grid-features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-features { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

@media (min-width: 700px) {
  .feature {
    padding-right: 1.5rem;
    border-right: 1px solid var(--line);
  }
  .feature:nth-child(2n) {
    padding-left: 1.5rem;
    padding-right: 0;
    border-right: 0;
  }
}

@media (min-width: 1000px) {
  .feature:nth-child(2n) {
    padding-left: 0;
    padding-right: 1.5rem;
    border-right: 1px solid var(--line);
  }
  .feature:nth-child(3n) {
    padding-left: 1.5rem;
    padding-right: 0;
    border-right: 0;
  }
  .feature:nth-child(3n + 1) { padding-left: 0; }
}

.feature h3 { margin-bottom: 0.4rem; }

/* ——— Steps ——— */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  position: relative;
  padding: 1.75rem 1.25rem 1.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

@media (min-width: 1100px) {
  .step {
    padding-right: 1.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    padding-right: 0;
    border-right: 0;
  }
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

/* ——— Split / media ——— */
.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--forest);
}

.media-frame {
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame-square { aspect-ratio: 1; }
.media-frame-square img { aspect-ratio: 1; min-height: 0; }

/* ——— Meal sample ——— */
.meal-sample {
  display: grid;
  gap: 2rem;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(2rem, 5vw, 3rem);
}

.meal-sample h2,
.meal-sample h3 { color: #fff; }
.meal-sample p { color: rgba(255, 255, 255, 0.72); }

.meal-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .meal-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.meal-item {
  padding: 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
}

.meal-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-weight: 600;
}

/* ——— FAQ ——— */
.faq-list {
  display: grid;
  gap: 0;
  max-width: 46rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400;
  color: var(--moss);
}
.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-body {
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero .container { max-width: 44rem; }
.page-hero h1 { margin-bottom: 1rem; }

.content-block { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ——— Final CTA ——— */
.final-cta {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  background:
    linear-gradient(180deg, transparent, var(--mist) 55%, #c8d7cf);
}

.final-cta-inner {
  max-width: 34rem;
}

.final-cta-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer h3 {
  color: #fff;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }
}

.footer-brand p { color: rgba(255, 255, 255, 0.62); }
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-mark { background: var(--moss); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.footer-science {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-science-intro {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.science-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .science-list { grid-template-columns: 1fr 1fr; }
}

.science-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.science-source {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ——— Forms ——— */
.form-group { margin-bottom: 1.15rem; }

.form-group label,
.form-label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="time"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  min-height: 3rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea { min-height: 7rem; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(26, 60, 50, 0.12);
}

.choice-grid {
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 560px) {
  .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

.choice { position: relative; }
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: block;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
  min-height: 3.1rem;
  transition: border-color 0.15s, background 0.15s;
}

.choice input:checked + span {
  border-color: var(--forest);
  background: var(--mist);
  color: var(--forest);
}

.choice input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(26, 60, 50, 0.12);
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.checkbox-row input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--forest);
  flex-shrink: 0;
}

.form-row-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

.field-error {
  color: #8b2e2e;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.is-invalid { border-color: #a33 !important; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ——— Quiz ——— */
.quiz-wrap {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.quiz-progress { margin-bottom: 2rem; }

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 2px;
  background: var(--bg-2);
  overflow: hidden;
}

.progress-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--forest);
  transition: width 0.35s var(--ease);
}

.quiz-panel[hidden] { display: none !important; }

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* ——— Cookie ——— */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
  background: rgba(18, 26, 23, 0.28);
}

.cookie-banner-inner {
  width: min(100%, 52rem);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner h2 {
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 26, 23, 0.4);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cookie-modal[hidden] { display: none !important; }

.cookie-modal-panel {
  width: min(100%, 26rem);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.cookie-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* ——— Misc ——— */
.success-box {
  text-align: left;
  max-width: 32rem;
  margin: 4rem auto;
  padding: 2rem 1.25rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.team-card { text-align: left; }
.team-card .media-frame { margin-bottom: 1rem; }

.prose { max-width: 40rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { color: var(--ink-soft); }

.legal-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.img-placeholder {
  min-height: 14rem;
  background: var(--mist);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* ——— Motion ——— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .hero-brand { animation: rise 0.85s var(--ease) both; }
  .hero h1 { animation: rise 0.85s var(--ease) 0.08s both; }
  .hero-lead,
  .hero .btn-row { animation: rise 0.85s var(--ease) 0.16s both; }
  .hero-bg img {
    animation: zoom 1.4s var(--ease) both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
