/* Basilico Verde – ravintolateema (myös mallipohja muille ravintoloille). Vihreä, lämmin valkoinen, kulta ja persikka;
   Fraunces + DM Sans; terävät kulmat. Pohja on yhteinen lohkojen luokkasopimus (themes/README.md), Verde-ilme alla osiossa 13.
   Sivuston asetukset voivat ylikirjoittaa :root-muuttujat (--accent, --radius, --font-heading, --font-body).
   Tarjoukset: offers-lohko (.cms-of*, osio 13). Koukku: data-cart-on-add / theme.json cartOnAdd (kori, myöhemmin). */

/* ---------- 1. Muuttujat ---------- */
:root {
  --accent: #2c5e3a;
  --accent-ink: #faf7f0;
  --text: #1d2a21;
  --muted: #56604f;
  --bg: #faf7f0;
  --surface: #f1ecdf;
  --line: #d6d5c8;
  --radius: 0px;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: Fraunces, Georgia, "Times New Roman", serif;

  --accent-hover: color-mix(in srgb, var(--accent) 86%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 8%, var(--bg));
  --accent-light: color-mix(in srgb, var(--accent) 45%, #fff);
  --input-border: #1d2a21;
  --danger: #b42318;
  --color-primary: var(--accent);

  --shell: 1240px;
  --prose: 700px;
  --gutter: 20px;
  --section-y: clamp(44px, 6vw, 80px);
  --radius-sm: calc(var(--radius) * .6);
  --shadow: 5px 5px 0 var(--accent);
  --side: max(var(--gutter), calc((100% - var(--shell)) / 2));
  --card: #fffdf8; --gold: #b8923a; --gold-ink: #7a5a14; --peach: #f2c7a8; --peach-ink: #5b3418; --olive: #7b8f4a; --ink: #1d2a21; --cream-text: #faf7f0; --cream-muted: #d6e6d9;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- 2. Perusta ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 3.875rem); line-height: 1.06; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.625rem); }
h3 { font-size: 1.25rem; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0; padding: 0; }
main { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.accent { color: var(--accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--bg); }
.border-top { border-top: 1px solid var(--line); }
.icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }

/* ---------- 3. Rakenne ---------- */
.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section, .hero { padding: var(--section-y) var(--side); }
.section.bg-surface { background: var(--surface); }
/* kaksi valkoista osiota peräkkäin: ei tuplatyhjää */
.section:not(.bg-surface) + .section:not(.bg-surface) { padding-top: 0; }
.section__inner { max-width: var(--prose); }

.eyebrow { display: block; margin-bottom: 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); line-height: 1.4; }
.label { margin: 0; font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
a.link-arrow:hover::after, .service-card:hover .link-arrow::after, .job-card:hover .link-arrow::after { transform: translateX(4px); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > .lead { margin-top: 16px; }
.section-head > .link-arrow { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: grid; gap: 20px 64px; max-width: none; align-items: end; }
.section-head--split .stack { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.section-head--split .lead { margin-top: 0; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr 1fr; } }

/* ---------- 4. Napit ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 .9375rem/1.2 var(--font-body); text-decoration: none; text-align: center; cursor: pointer; color: var(--text); background: transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 82%, #fff); color: var(--bg); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost { border-color: var(--line); background: var(--bg); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-ghost-dark { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-group--center { justify-content: center; }
@media (max-width: 559px) { .btn-group--stack-mobile { flex-direction: column; align-items: stretch; } }

/* ---------- 5. Header, valikko, footer ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 68px; padding: 0 var(--side); }
.site-logo { margin-right: auto; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.site-logo:hover { color: var(--text); }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav a { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9375rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, background-color .2s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 820px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: calc(100% + 2 * var(--gutter)); flex-direction: column; gap: 0; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; border-top: 1px solid var(--line); background: var(--bg); }
  .js .site-header.is-open .site-nav { display: flex; }
  .js .site-nav a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; background: none; }
  .js .site-nav a:last-child { border-bottom: 0; }
  .site-header__inner { padding-block: 0; }
}

.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9375rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 32px var(--side); }
.site-footer__brand { font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__nav a { color: var(--muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer__copy { flex-basis: 100%; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; }
.hero--page { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.hero--page .hero__inner { max-width: 820px; }
.hero--page h1 { font-size: clamp(2.125rem, 1.1rem + 3.6vw, 3.25rem); }
.hero h1 { margin-bottom: 20px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero__actions { margin-top: 32px; }
.hero--home { padding-block: clamp(56px, 9vw, 128px); text-align: center; background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.hero--home .hero__inner { max-width: 900px; margin-inline: auto; }
.hero--home h1 { font-size: clamp(2.5rem, 1rem + 6vw, 4.75rem); }
.hero--home .lead { margin-inline: auto; max-width: 640px; }
.hero--home .btn-group { justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--muted); }
.hero__trust .icon { width: 18px; height: 18px; color: var(--accent); margin-right: 4px; }
.breadcrumb { margin-bottom: 28px; font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); color: #a3aab6; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 500; }

.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 5px 14px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .875rem; color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.pill:hover { border-color: var(--accent); color: var(--text); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; text-transform: none; white-space: nowrap; }
.badge--soft { background: var(--accent-soft); color: var(--accent); }
.badge--outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.badge--dark { background: var(--text); color: var(--bg); }

/* ---------- 7. Ruudukot ja kortit ---------- */
.grid-lines { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 640px) {
  .grid-lines.cols-2, .grid-lines.cols-3, .grid-lines.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-lines.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-lines.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) { .grid-lines.cols-2, .grid-lines.cols-3, .grid-lines.cols-4 { grid-template-columns: minmax(0, 1fr); } }

.service-card, .pricing-card, .testimonial-card, .job-card, .team-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.service-card, .job-card { transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.service-card:hover, .job-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--shadow); }
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.service-card__title a, .job-card__title a { color: var(--text); text-decoration: none; }
.service-card__title a::after, .job-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card__title a:focus-visible::after, .job-card__title a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.service-card__text, .job-card__text { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.service-card__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.service-card__list li { position: relative; padding-left: 22px; }
.service-card__list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-50%); }
.service-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 24px; }
.service-card__list + .service-card__footer, .service-card__text + .service-card__footer { border-top: 0; }
.service-card__price { font-weight: 600; font-size: .9375rem; color: var(--text); }

.icon-box { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent); }
.icon-box .icon { width: 22px; height: 22px; vertical-align: 0; }

.feature { padding-top: 24px; border-top: 1px solid var(--line); }
.feature .icon-box { margin-bottom: 18px; }
.feature__title { margin-bottom: 8px; }
.feature__text { color: var(--muted); font-size: 1rem; }
.feature-list { list-style: none; max-width: 820px; border-bottom: 1px solid var(--line); }
.feature-list .feature { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; padding: 26px 0; }
.feature-list .feature .icon-box { grid-row: 1 / span 2; margin: 0; }
.feature-list .feature__title { margin-bottom: 4px; }

.kpi { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.kpi__label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi__value { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-heading); font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: var(--text); font-variant-numeric: tabular-nums; }
.kpi__unit { font-size: 1.125rem; font-weight: 600; letter-spacing: 0; color: var(--accent); }
.kpi__text { color: var(--muted); font-size: .9375rem; max-width: 30ch; }

/* Prosessi */
.process-steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.process-step { position: relative; counter-increment: step; padding: 0 0 32px 44px; border-left: 1px solid var(--line); margin-left: 14px; }
.process-step:last-child { padding-bottom: 0; border-left-color: transparent; }
.process-step::before { content: counter(step); position: absolute; left: -15px; top: -2px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .8125rem; font-weight: 700; }
.process-step__meta { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.process-step__title { margin-bottom: 8px; }
.process-step__text { color: var(--muted); font-size: 1rem; max-width: 46ch; }
@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 32px; }
  .process-step { padding: 28px 0 0; margin: 0; border-left: 0; border-top: 1px solid var(--line); }
  .process-step:last-child { border-top-color: var(--line); }
  .process-step::before { left: 0; top: -15px; }
}

/* Hinnoittelu */
.pricing-card { padding: 32px; }
.pricing-card--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.pricing-card__tier { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pricing-card__desc { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.pricing-card__price { margin: 24px 0; padding: 24px 0; border-block: 1px solid var(--line); font-family: var(--font-heading); font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.pricing-card__price small { display: block; margin-bottom: 4px; font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pricing-card__unit { font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.pricing-card__list { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; align-content: start; font-size: .9375rem; }
.pricing-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.pricing-card__list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.pricing-card__list .is-muted { color: var(--muted); }
.pricing-card__list .is-muted .icon { color: #a3aab6; opacity: .7; }
.pricing-card__list .is-muted { text-decoration: line-through; text-decoration-color: #c4c9d2; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; color: var(--accent); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 44px 24px 0; color: var(--muted); max-width: 68ch; }
.faq-layout { display: grid; gap: 8px 72px; align-content: start; }
.faq-layout > .section-head { margin-bottom: 32px; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .faq-layout > .section-head { position: sticky; top: 100px; align-self: start; margin-bottom: 0; }
}

/* Referenssit */
.case-list { display: grid; }
.case-row { display: grid; gap: 32px; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); align-items: center; }
.case-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .case-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .case-row--reverse .case-row__body { order: 2; }
}
.case-row__client { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.case-row__logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.01em; }
.case-row__logo .icon { color: var(--accent); }
.case-row__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); letter-spacing: -.025em; }
.case-row__text { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.case-row .link-arrow { margin-top: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tag { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; color: var(--muted); background: var(--bg); }

.data-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.bg-surface .data-card { background: var(--bg); }
.data-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.data-card__head b { color: var(--text); font-weight: 600; }
.data-card__live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .75rem; font-weight: 500; }
.data-card__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.data-card__chart { padding: 16px 20px 8px; }
.data-card__chart svg { display: block; width: 100%; height: auto; }
.data-card__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.data-card__meta > div { padding: 14px 20px; border-bottom: 1px solid var(--line); }
.data-card__meta > div:nth-child(odd) { border-right: 1px solid var(--line); }
.data-card__meta > div:nth-last-child(-n+2) { border-bottom: 0; }
.data-card__meta dt { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.data-card__meta dd { margin: 2px 0 0; font-weight: 600; font-size: .9375rem; }
.chart-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.chart-axis { fill: none; stroke: #a3aab6; stroke-width: 1.5; }
.chart-area { fill: var(--accent); fill-opacity: .1; stroke: none; }
.chart-primary-stroke { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.chart-compare-stroke { stroke: #a3aab6; stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; }

/* Suositukset */
.testimonial-card { margin: 0; gap: 28px; justify-content: space-between; }
.testimonial-card__quote { margin: 0; font-size: 1.125rem; line-height: 1.55; letter-spacing: -.01em; color: var(--text); }
.testimonial-card__quote::before { content: "\201C"; display: block; height: .55em; font-size: 3.5rem; line-height: .9; color: var(--accent); font-family: Georgia, serif; }
.testimonial-card__person { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar, .team-card__avatar { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .9375rem; font-weight: 700; letter-spacing: .02em; }
.testimonial-card__name { font-weight: 600; }
.testimonial-card__role { font-size: .875rem; color: var(--muted); }

/* Logorivi */
.logo-row__caption { margin-bottom: 28px; text-align: center; }
.logo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .logo-row { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logo-row__item { display: flex; align-items: center; justify-content: center; padding: 28px 12px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; color: var(--muted); }
.logo-row__item:nth-child(2n) { border-right: 0; }
@media (min-width: 600px) { .logo-row__item:nth-child(2n) { border-right: 1px solid var(--line); } .logo-row__item:nth-child(3n) { border-right: 0; } }
@media (min-width: 1000px) { .logo-row__item:nth-child(3n) { border-right: 1px solid var(--line); } .logo-row__item:nth-child(6n) { border-right: 0; } .logo-row__item { border-bottom: 0; } }

/* Tiimi, yhteys, työpaikat */
.team-card { align-items: flex-start; }
.team-card__avatar { width: 60px; height: 60px; font-size: 1.125rem; margin-bottom: 18px; }
.team-card__avatar--accent { background: var(--accent); color: var(--accent-ink); }
.team-card__role { margin-top: 2px; color: var(--muted); font-size: .9375rem; }
.contact-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.contact-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }
.contact-list .icon { width: 18px; height: 18px; color: var(--accent); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.job-card__meta span + span::before { content: "·"; margin-right: 14px; color: #a3aab6; }
.job-card .link-arrow { margin-top: auto; padding-top: 22px; }

/* ---------- 8. Lomakkeet ---------- */
.form-card { max-width: 760px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-label { font-size: .9375rem; font-weight: 600; }
.req { color: var(--danger); }
.form-input, .form-select, .form-textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--input-border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: 400 1rem/1.4 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease; }
.form-textarea { min-height: 144px; resize: vertical; }
.form-select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: var(--text); }
.form-input:focus-visible, .form-select:focus-visible, .form-textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); border-radius: var(--radius-sm); }
.form-input:user-invalid, .form-textarea:user-invalid { border-color: var(--danger); }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .9375rem; color: var(--muted); cursor: pointer; }
.form-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }

/* ---------- 9. CTA-palkki ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; margin: 0 var(--side); padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); border-radius: calc(var(--radius) * 1.6); background: var(--text); color: var(--bg); }
.cta-band__art { position: absolute; right: 0; bottom: 0; z-index: -1; width: min(620px, 90%); height: auto; fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1.5; pointer-events: none; }
.cta-band__art .is-accent { stroke: var(--accent-light); stroke-width: 2; }
.cta-band__inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; } .cta-band__actions { justify-self: end; } }
.cta-band h2 { color: inherit; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }
.cta-band .eyebrow { color: var(--accent-light); }
.cta-band .accent { color: var(--accent-light); }
.cta-band__text p { margin-top: 16px; max-width: 54ch; color: rgba(255, 255, 255, .78); }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }
.cta-band__note { font-size: .875rem; color: rgba(255, 255, 255, .7); }
.cta-band .btn-primary { background: var(--bg); border-color: var(--bg); color: var(--text); }
.cta-band .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--text); }
.cta-band :focus-visible { outline-color: #fff; }
.cta-band--primary { background: var(--accent); color: var(--accent-ink); }
.cta-band--primary .eyebrow, .cta-band--primary .cta-band__text p, .cta-band--primary .cta-band__note { color: color-mix(in srgb, var(--accent-ink) 88%, var(--accent)); }
.cta-band--primary .accent { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.cta-band--primary .cta-band__art { stroke: rgba(255, 255, 255, .22); }
.cta-band--primary .cta-band__art .is-accent { stroke: rgba(255, 255, 255, .6); }
.cta-band--primary .btn-primary { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.cta-band--primary .btn-primary:hover { background: color-mix(in srgb, var(--accent-ink) 90%, var(--accent)); color: var(--accent); }
/* Chat-painike näytetään vain, kun sivustolla on chat-widget (html.has-chat) */
[data-open-chat] { display: none; }
.has-chat [data-open-chat] { display: inline-flex; }
main > .cta-band:last-child { margin-bottom: var(--section-y); }
main > .cta-band:first-child { margin-top: var(--section-y); }

/* ---------- 10. Sisältöelementit ---------- */
.prose { color: var(--text); font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.prose h3 { margin-top: 1.9em; font-size: 1.3125rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .75em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; }
.prose strong { font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; }
.callout { padding: 20px 24px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); font-size: 1rem; line-height: 1.6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table thead th { background: var(--surface); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table tbody th { font-weight: 600; }
.table td, .table thead th:not(:first-child) { text-align: center; }
.table .is-yes { color: var(--accent); font-size: 1.125rem; font-weight: 700; }
.table .is-no { color: #8a92a0; }
.divider-hatch { width: min(var(--shell), 100% - 2 * var(--gutter)); height: 14px; margin: 0 auto; border-block: 1px solid var(--line); background: repeating-linear-gradient(-45deg, var(--line) 0 1px, transparent 1px 8px); }

/* ---------- 11. Animaatio ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 12. Tulostus ---------- */
@media print {
  :root { --section-y: 24px; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .site-header, .skip-link, .cta-band__art, .btn-group, .site-footer__nav, [data-open-chat] { display: none !important; }
  .hero, .section, .section.bg-surface, .hero--home, .hero--page { background: #fff; padding-block: 16px; border: 0; }
  .cta-band, .cta-band--primary { background: #fff; color: #000; border: 1px solid #999; margin-inline: 0; }
  .cta-band h2, .cta-band .accent { color: #000; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .service-card, .pricing-card, .case-row, .faq__item, .testimonial-card, .kpi, .feature, .process-step { break-inside: avoid; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #444; }
  details.faq__item:not([open]) .faq__a { display: block; }
}


/* ======================================================================
   13. BASILICO VERDE: teemakohtaiset tyylit (ylikirjoittavat yllä olevan pohjan)
   Lähde: design/basilico/verde/verde.css (Samin hyväksymä mockup 2026-10-19).
   ====================================================================== */
/* Tyypit: Fraunces-otsikot, DM Sans -teksti, kevyt paino */
body { font-size: 1rem; line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -.01em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 1rem + 4.6vw, 4.2rem); line-height: 1.03; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.8rem); line-height: 1.05; }
h3 { font-size: 1.35rem; line-height: 1.2; letter-spacing: 0; }
[id] { scroll-margin-top: 96px; }
.accent { font-style: italic; color: var(--accent); text-decoration: none; }
.eyebrow { display: block; margin-bottom: 10px; font: 500 .72rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.label { font-size: .72rem; letter-spacing: .16em; }
.link-arrow { font-weight: 500; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow:hover { color: var(--text); }
.lead { color: var(--muted); font-size: 1.1rem; }
.section { border-top: 1px solid var(--line); }
.cms-contact > .section__inner, .cms-fr > .section__inner, .cms-map > .section__inner, .cms-loc > .section__inner, .cms-rev > .section__inner, .cms-car > .section__inner, .cms-oh > .section__inner { max-width: none; }
.section.cms-bg-dark, .section.cms-bg-tint { border-top: 0; }
.section:not(.bg-surface) + .section:not(.bg-surface) { padding-top: var(--section-y); }
.section.bg-surface { background: var(--surface); }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); }
.divider-hatch { border-color: var(--line); }

/* Napit: terävät, ohut kirjainväli */
.btn { min-height: 44px; padding: 0 24px; border-radius: 0; font-weight: 500; letter-spacing: .03em; font-size: .95rem; }
.btn-lg { min-height: 48px; padding: 0 28px; font-size: .98rem; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { transform: none; box-shadow: none; }
.btn-secondary { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: none; }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 85%, #fff); color: var(--bg); transform: none; box-shadow: none; }
.btn-outline { border-width: 1px; border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost { border-width: 1px; border-color: var(--text); background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Ylapalkki: kiinteä, viiva alla, aktiivinen sivu alleviivattuna */
.site-header { position: sticky; top: 0; width: auto; margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(250, 247, 240, .95); box-shadow: none; }
.site-header.is-scrolled { box-shadow: none; }
.site-header__inner { min-height: 72px; gap: 8px 16px; padding: 0 var(--side); flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font: 400 1.75rem/1 var(--font-heading); letter-spacing: -.01em; color: var(--text); }
.site-logo:hover { color: var(--accent); }
.site-logo::before { content: none; }
.site-logo__mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.site-nav { margin-left: 8px; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-weight: 400; }
.site-nav a:hover { background: none; color: var(--accent); }
.site-nav a[aria-current="page"] { background: none; color: var(--text); font-weight: 500; border-bottom-color: var(--accent); }
.nav-toggle { border-radius: 0; border-color: var(--line); background: transparent; }
@media (min-width: 821px) { .site-nav { margin-right: auto; } .site-logo { margin-right: 0; } }
@media (max-width: 820px) {
  .site-header { position: sticky; border-radius: 0; }
  .site-header__inner { min-height: 64px; padding: 0 var(--gutter); }
  .site-logo { font-size: 1.55rem; }
  .site-header__cta { order: 2; }
  .nav-toggle { order: 3; }
  .js .site-nav { order: 4; position: static; flex-basis: calc(100% + 2 * var(--gutter)); margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--bg); box-shadow: none; }
  .js .site-nav a { min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); font: 400 1.3rem var(--font-heading); color: var(--muted); }
  .js .site-nav a[aria-current="page"] { color: var(--accent); }
  .js .site-nav a:last-child { border-bottom: 0; }
  .site-header.is-open { border-radius: 0; }
}
@media (max-width: 820px) { .site-logo { margin-right: auto; } }
@media (max-width: 480px) { .site-header__inner { gap: 6px 8px; } .site-logo { font-size: 1.1rem; gap: 5px; } .site-logo__mark { width: 20px; height: 20px; } .site-header__cta { min-height: 44px; padding: 0 10px; font-size: .8rem; letter-spacing: 0; } }

/* Hero: vasemmalle tasattu, iso Fraunces-otsikko */
.hero--home, .hero--page { margin-top: 0; padding: clamp(28px, 4vw, 56px) var(--side) clamp(24px, 3.5vw, 44px); border-radius: 0; border: 0; background: var(--bg); text-align: left; isolation: auto; overflow: visible; }
.hero--home::before, .hero--home::after, .hero--page::before, .hero--page::after { content: none; }
.hero--home .hero__inner, .hero--page .hero__inner { margin-inline: 0; max-width: 780px; }
.hero--home h1, .hero--page h1 { font-size: clamp(2.3rem, 1rem + 4.6vw, 4.2rem); line-height: 1.03; margin: 0 0 16px; }
.hero--home .lead, .hero--page .lead { margin-inline: 0; max-width: 52ch; }
.hero--home .btn-group, .hero--page .hero__actions { justify-content: flex-start; margin-top: 24px; }
.hero__trust { justify-content: flex-start; gap: 8px 24px; }
.hero__trust li { display: inline-flex; align-items: center; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-weight: 400; }
.pill { border-radius: 0; box-shadow: inset 0 0 0 1px var(--line); }
.badge { border-radius: 0; background: var(--peach); color: var(--peach-ink); font: 500 .66rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: .45em .8em; }
.badge--soft { background: var(--peach); color: var(--peach-ink); }
.badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--gold-ink); color: var(--gold-ink); }
.badge--dark { background: var(--text); color: var(--bg); }
.breadcrumb li + li::before { content: "/"; color: var(--muted); }

/* Kortit: terävät, ohut reuna, hover = vihreä varjo */
.grid-lines { gap: 20px; }
.service-card, .pricing-card, .testimonial-card, .job-card, .team-card { padding: 22px 24px; border: 1px solid var(--text); border-radius: 0; background: var(--card); box-shadow: none; }
.service-card:hover, .job-card:hover { transform: translate(-2px, -2px); border: 1px solid var(--text); box-shadow: var(--shadow); }
.service-card__title { font-size: 1.4rem; line-height: 1.2; }
.service-card__price { font: 400 1.5rem var(--font-heading); color: var(--accent); }
.service-card__top { margin-bottom: 12px; }
.icon-box { width: 48px; height: 48px; border-radius: 0; background: var(--surface); color: var(--accent); }
.grid-lines > :nth-child(3n+2) .icon-box { background: var(--surface); color: var(--accent); }
.grid-lines > :nth-child(3n) .icon-box { background: var(--surface); color: var(--accent); }
.feature { padding: 22px 24px; border: 1px solid var(--line); border-radius: 0; background: var(--card); }
.bg-surface .feature { background: var(--card); box-shadow: none; }
.kpi { padding: 22px 24px; border: 1px solid var(--text); border-radius: 0; background: var(--card); box-shadow: none; }
.kpi__value { font-family: var(--font-heading); font-weight: 400; color: var(--accent); }
.kpi__unit { color: var(--gold-ink); }
.process-step { border-left-style: solid; }
.process-step::before { font-family: var(--font-heading); font-weight: 400; border-radius: 0; }
.pricing-card--featured { border: 1px solid var(--text); box-shadow: var(--shadow); }
.pricing-card__price { border-block-style: solid; font-weight: 400; }
.pricing-card__list .icon { color: var(--accent); }
.testimonial-card__quote { font-family: var(--font-heading); font-weight: 400; font-style: italic; }
.testimonial-card__avatar, .team-card__avatar { background: var(--peach); color: var(--peach-ink); font-family: var(--font-heading); font-weight: 400; border-radius: 0; }
.team-card__avatar--accent { background: var(--accent); color: var(--accent-ink); }
.tag { background: var(--card); border: 1px solid var(--line); border-radius: 0; }
.contact-list .icon { color: var(--accent); }
.data-card, .table-wrap { border-radius: 0; }
.callout { border: 0; border-left: 4px solid var(--gold); border-radius: 0; background: var(--surface); color: var(--text); }

/* FAQ: vaakaviivat kuten ruokalistan haitari */
.faq { display: block; border-top: 1px solid var(--text); }
.faq__item { padding: 0; border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: none; box-shadow: none; }
.faq__q { padding: 18px 0; min-height: 44px; font: 400 clamp(1.25rem, 1rem + 1vw, 1.6rem) var(--font-heading); }
.faq__item[open] .faq__q { color: var(--accent); }
.faq__icon { width: 24px; height: 24px; border-radius: 0; background: none; }

/* CTA: vihreä nauha */
.cta-band { background: var(--accent); border-radius: 0; color: var(--cream-text); }
.cta-band h2 { color: var(--cream-text); }
.cta-band__text p, .cta-band__note { color: var(--cream-muted); }
.cta-band .eyebrow { color: var(--peach); }
.cta-band .eyebrow::before { content: none; }
.cta-band .accent { color: var(--peach); }
.cta-band .btn-primary { background: var(--cream-text); border-color: var(--cream-text); color: var(--accent); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff; color: var(--accent); }
.cta-band .btn-ghost-dark, .cta-band .btn-ghost { border-color: var(--cream-text); background: transparent; color: var(--cream-text); }
.cta-band--primary { background: var(--text); }
.cta-band--primary .eyebrow, .cta-band--primary .cta-band__text p, .cta-band--primary .cta-band__note { color: var(--cream-muted); }
.cta-band--primary .accent { color: var(--peach); }
.cta-band--primary .btn-primary { background: var(--cream-text); color: var(--text); }
.cta-band__art { stroke: rgba(250, 247, 240, .18); }
.cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--peach); }

/* Alapalkki: kortin värinen, ohut viiva ylhäällä */
.site-footer { margin-top: 16px; padding: 0; border-top: 1px solid var(--text); background: var(--card); color: var(--muted); }
.site-footer__inner { max-width: none; margin: 0; padding: 36px var(--side) 12px; border-radius: 0; background: none; align-items: flex-start; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 9px; font: 400 1.4rem/1 var(--font-heading); color: var(--text); }
.site-footer__brand .site-logo__mark { width: 26px; height: 26px; }
.site-footer__contact { display: grid; gap: 2px; margin: 0; font-size: .92rem; font-style: normal; }
.site-footer__contact span:empty { display: none; }
.site-footer__contact a { color: var(--accent); font-weight: 500; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); }
.site-footer__nav a:hover { color: var(--accent); text-decoration: none; }
.site-footer__nav a[aria-current="page"] { color: var(--text); font-weight: 500; }
.site-footer__copy { border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
@media (max-width: 760px), (pointer: coarse) { .site-footer__nav a { min-height: 44px; } }

/* Lomakkeet: alaviiva-kentät ja isot kirjaimet kuten mockupissa */
.form-card { max-width: none; padding: clamp(20px, 3vw, 29px); border: 1px solid var(--text); border-radius: 0; background: var(--card); box-shadow: none; }
.form-label { font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.form-input, .form-select, .form-textarea { min-height: 48px; padding-inline: 0; border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: transparent; }
.form-textarea { padding: .6em .7em; border: 1px solid var(--text); }
.form-input:focus-visible, .form-select:focus-visible, .form-textarea:focus-visible { border-radius: 0; box-shadow: none; outline: 2px solid var(--accent); outline-offset: 2px; }
.table .is-no { color: var(--muted); }

/* ---------- CMS-lohkot (themes/_blocks), Verde-ilmeeseen ---------- */
/* Ruokalista (menu_board): kategoria-chipit teräviksi, rivit viivoilla, hinta Fraunces */
body .cms-menu-sec { --m-accent: var(--accent); --m-text: var(--text); --m-muted: var(--muted); --m-line: var(--line); --m-bg: var(--bg); --menu-chip: var(--card); --menu-top: 72px; }
body .cms-menu-bar { padding-block: 8px; border-bottom: 1px solid var(--line); }
body .cms-menu-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 0; background: transparent; font-weight: 400; }
body .cms-menu-nav a:hover { border-color: var(--accent); color: var(--accent); }
body .cms-menu-nav a.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
body .cms-menu-search input { border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: transparent; padding-inline: 0; }
body .cms-menu-cat { border-top: 1px solid var(--text); margin-top: 28px; padding-top: 18px; }
body .cms-menu-cat__title { font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.2rem); line-height: 1.1; }
body .cms-menu-cat__no { color: var(--gold-ink); font-weight: 500; letter-spacing: .2em; }
body .cms-menu-item__name { font-weight: 500; }
body .cms-menu-item__badge, body .cms-menu-card__badge { border-radius: 0; background: var(--peach); color: var(--peach-ink); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
body .cms-menu-item__price, body .cms-menu-card__price { font-weight: 400; font-size: 1.2rem; }
body .cms-menu-item__media { border-radius: 0; }
body .cms-menu-card { border: 1px solid var(--text); border-radius: 0; background: var(--card); --card-border: 1px solid var(--text); }
body .cms-menu-card__name { font-weight: 400; letter-spacing: 0; }
body .cms-menu-card__btn { min-height: 44px; display: inline-flex; align-items: center; border-radius: 0; font-weight: 500; }
body .cms-pcard__btn, body .cms-promo__btn, body .cms-loc__chip, body .cms-oh__now { border-radius: 0; }
body .cms-oh__now { background: var(--surface); color: var(--accent); font-weight: 500; }
body .cms-oh__now.is-closed { background: var(--surface); color: var(--peach-ink); }
body .cms-oh__box { max-width: 36rem; padding: 22px 26px; border: 1px solid var(--text); background: var(--card); --p2-line: var(--line); }
body .cms-oh__table tr[aria-current="date"] :is(th, td) { color: var(--accent); }

/* Tarjoukset (offers-lohko, themes/_blocks/offers.css, luokat cms-of*): Verde-kortit kuten mockup (verde.css .vo): terävä reuna,
   hinta Fraunces vihreänä, persikkamerkki, koko leveyden painike, hover = vihreä varjo. Kaikki kolme mallia. */
.cms-of > .section__inner { max-width: none; }
body .cms-of { --of-accent: var(--accent); --of-ink: var(--accent-ink); --of-text: var(--text); --of-muted: var(--muted); --of-line: var(--line); --of-surface: var(--surface); --of-bg: var(--card); --of-radius: 0px; }
body .cms-of__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body .cms-of__item { border: 1px solid var(--text); border-radius: 0; background: var(--card); transition: transform .2s, box-shadow .2s; }
body .cms-of__item:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
body .cms-of__item.is-upcoming { opacity: 1; border-style: dashed; background: transparent; }
body .cms-of__item.is-upcoming:hover { transform: none; box-shadow: none; }
body .cms-of__badge { top: 12px; left: auto; right: 12px; border-radius: 0; background: var(--peach); color: var(--peach-ink); font: 500 .66rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: .3em .7em; }
body .cms-of__img { aspect-ratio: 16 / 8; }
body .cms-of__body { gap: 4px; padding: 22px 24px; }
body .cms-of__price { font: 400 2.9rem/1 var(--font-heading); color: var(--accent); margin-bottom: 8px; }
body .cms-of__old { font: 400 .9rem var(--font-body); }
body .cms-of__title { font: 400 1.4rem/1.2 var(--font-heading); }
body .cms-of__sub { color: var(--gold-ink); font-weight: 500; font-size: .92rem; }
body .cms-of__valid { font-weight: 400; font-size: .82rem; margin-top: 4px; }
body .cms-of__terms { font-size: .88rem; margin-top: 4px; }
body .cms-of__btn { width: 100%; border-radius: 0; font-weight: 500; letter-spacing: .03em; }
body .cms-of__btn:hover { filter: none; background: var(--accent-hover); color: var(--accent-ink); }
body .cms-of__soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 0; font-size: .88rem; font-style: italic; font-weight: 400; }
body .cms-of--tickets .cms-of__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body .cms-of--tickets .cms-of__price { border-left: 1px dashed var(--text); font-size: 2.2rem; margin-bottom: 0; }
body .cms-of__tab { border-radius: 0; font-weight: 400; }
body .cms-of__tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); }
@media (max-width: 900px) { body .cms-of__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body .cms-of__list, body .cms-of--tickets .cms-of__list { grid-template-columns: minmax(0, 1fr); } body .cms-of__badge { position: static; align-self: flex-start; margin: 16px 24px 0; } }
@media (prefers-reduced-motion: reduce) { body .cms-of__item, .service-card { transition: none; } body .cms-of__item:hover, .service-card:hover { transform: none; } }
body .cms-card { border: 1px solid var(--text); border-radius: 0; background: var(--card); }
body .cms-card__label { font-family: var(--font-body); letter-spacing: .16em; color: var(--gold-ink); }
body .cms-card .icon-box, body .cms-card [class*="icon"] { border-radius: 0; background: var(--surface); color: var(--accent); }
body .cms-card__body a { color: var(--accent); }

/* Ruokalista (menu-lohko, themes/_blocks/menu.css, luokat cms-mn*): Verde-ilme kuten mockup (verde/ruokalista.html): terävät kulmat, tumma viiva,
   otsikot ja hinnat Fraunces, vihreä lisäysnappi ja persikkamerkki. Kaikki kolme mallia ja annosikkuna. */
body .cms-mn { --mn-accent: var(--accent); --mn-ink: var(--accent-ink); --mn-text: var(--text); --mn-muted: var(--muted); --mn-line: var(--line); --mn-surface: var(--surface); --mn-bg: var(--card); --mn-radius: 0px; }
body .cms-mn > .section__inner { max-width: 960px; }
body .cms-mn__cat { border: 1px solid var(--text); border-radius: 0; background: var(--card); }
body .cms-mn__cname { font: 400 1.5rem/1.15 var(--font-heading); letter-spacing: -.01em; }
body .cms-mn__count { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
body .cms-mn__item { border-top-color: var(--line); }
body .cms-mn__img { border-radius: 0; width: 84px; height: 84px; }
body .cms-mn__name { font: 500 1.05rem/1.3 var(--font-body); }
body .cms-mn__price { font: 400 1.25rem/1 var(--font-heading); color: var(--accent); }
body .cms-mn__badge { border-radius: 0; background: var(--peach); color: var(--peach-ink); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: .25em .6em; }
body .cms-mn__mark { border-radius: 0; border-color: var(--text); color: var(--text); }
body .cms-mn__add { border-radius: 0; font-weight: 400; }
body .cms-mn__add:hover:not(:disabled) { filter: none; background: var(--accent-hover); }
body .cms-mn__sold { border-radius: 0; border-color: var(--text); color: var(--text); }
body .cms-mn__noorder { color: var(--gold-ink); }
body .cms-mn--tabs .cms-mn__cat, body .cms-mn--compact .cms-mn__cat { border: 0; background: transparent; }
body .cms-mn__tab { border-radius: 0; border-color: var(--text); background: transparent; font-weight: 400; }
body .cms-mn__tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
body .cms-mn--compact .cms-mn__cname { border-bottom-color: var(--text); font-size: 1.25rem; }
body .cms-mn-dlg__box { border-radius: 0; border: 1px solid var(--text); background: var(--bg); box-shadow: var(--shadow); }
body .cms-mn-dlg__title { font: 400 1.7rem/1.15 var(--font-heading); }
body .cms-mn-dlg__opt, body .cms-mn-dlg__qty, body .cms-mn-dlg__text textarea { border-radius: 0; border-color: var(--text); }
body .cms-mn-dlg__opt:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
body .cms-mn-dlg__go { border-radius: 0; font-weight: 500; letter-spacing: .03em; }
@media (max-width: 640px) { body .cms-mn__img { width: 64px; height: 64px; } body .cms-mn__cname { font-size: 1.3rem; } }

/* Ravintolatilaus (kori, kassa, seuranta; themes/_blocks/order.css, luokat cms-or*): Verde-ilme kuten mockup (design/basilico/tilaus/): terävät kulmat,
   tumma viiva, Fraunces-otsikot, vihreä toimintonappi ja persikkahuomautus. Kori aukeaa lisäyksestä (theme.json cartOnAdd: drawer). */
body .cms-or, body .cms-or-cart, body .cms-or-drawer, body .cms-or-backdrop, body .cms-or-toast { --or-accent: var(--accent); --or-ink: var(--accent-ink); --or-text: var(--text); --or-muted: var(--muted); --or-line: var(--line); --or-surface: var(--surface); --or-bg: var(--bg); --or-card: var(--card); --or-radius: 0px; }
body .cms-or-cartbtn { border-radius: 0; box-shadow: var(--shadow); font-weight: 500; letter-spacing: .02em; }
body .cms-or-cartbtn b { border-radius: 0; }
body .cms-or-drawer { border-left: 1px solid var(--text); box-shadow: -6px 0 0 color-mix(in srgb, var(--accent) 25%, transparent); }
body .cms-or-drawer__head h2, body .cms-or-sec__h h2, body .cms-or-sum h2, body .cms-or-panel h2 { font: 400 1.5rem/1.15 var(--font-heading); }
body .cms-or .cms-or-st { font-weight: 400; }
body .cms-or-eta b, body .cms-or-sum .cms-or-tot { font-weight: 400; }
body .cms-or-sec, body .cms-or-panel, body .cms-or-hero, body .cms-or-sum { border-radius: 0; }
body .cms-or-sec__h > span { font-family: var(--font-heading); color: var(--gold-ink); border-color: var(--gold); }
body .cms-or-go, body .cms-or-submit { border-radius: 0; font-weight: 500; letter-spacing: .03em; }
body .cms-or-go:hover, body .cms-or-submit:hover:not(:disabled) { background: var(--accent-hover); }
body .cms-or-input { border-radius: 0; border-color: var(--input-border); }
body .cms-or-paused { background: var(--peach); color: var(--peach-ink); }
body .cms-or-note { border-left-color: var(--accent); background: var(--accent-soft); }
body .cms-or-note--warn { border-left-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, var(--bg)); }
body .cms-or-note--err { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, var(--bg)); }
body .cms-or--checkout .section-head h1 { font-family: var(--font-heading); }
@media (max-width: 640px) { body .cms-or-drawer { width: 100%; border-left: 0; } }
/* Otsikon "Tilaa"-painike: vain työpöydällä (mobiilissa tilaus löytyy valikosta ja korin painikkeesta) */
@media (max-width: 820px) { .site-header__cta--order { display: none; } }
.site-footer__legal { display: inline-flex; flex-wrap: wrap; gap: 0 16px; margin-left: 12px; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; }
.site-footer__legal a:hover { color: var(--accent); }
