/* Tykypaivat.fi – designjärjestelmä v1 (2026-09-28)
   Rakenne ja komponentit Vuosijuhlat.com-uudistuksesta (vj-), oma ilme: syvä metsänvihreä pohja,
   brändin vihreä (logo #4AD981) pää-CTA:ssa ja tunnisteena, lämmin aurinko numeroissa ja korosteissa.
   Kaikki luokat tp-etuliitteellä, jotta ne eivät törmää Bricks/ACSS-tyyleihin WordPressissä.
   Sivusto on tarkoituksella yksiteemainen (tumma): Petrin linjaus 27.9.2026 "valkoinen pohja huonoin". */
:root {
  --tp-bg: #0f2119;         /* sivun pohja: metsänvihreä */
  --tp-bg-2: #142a20;       /* vaihtoehtoinen osio */
  --tp-panel: #1b3529;      /* paneelit */
  --tp-ink: #eef5ef;        /* teksti, 15:1 */
  --tp-ink-2: #a9c1b2;      /* toissijainen teksti, 8:1 */
  --tp-line: #2a4637;       /* hiusviivat */
  --tp-green: #4ad981;      /* brändin vihreä (logo) */
  --tp-green-hi: #7ae8a3;   /* hover */
  --tp-green-soft: #1f4431; /* ikonien tausta */
  --tp-on-green: #0a1d12;   /* teksti vihreällä, 10:1 */
  --tp-sun: #ffc65c;        /* numerot ja korosteet */
  --tp-night: #0a1812;      /* heron varjostus, footer */

  --tp-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --tp-font: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --tp-wrap: 1240px;
  --tp-gutter: clamp(16px, 4vw, 40px);
  --tp-sec: clamp(56px, 8vw, 112px);
  --tp-radius: 10px;
  --tp-ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

.tp-body, .tp-body * { box-sizing: border-box; }
.tp-body {
  margin: 0; background: var(--tp-bg); color: var(--tp-ink);
  font-family: var(--tp-font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:where(.tp-body) img, :where(.tp-body) video { max-width: 100%; display: block; }
:where(.tp-body) a { color: inherit; }
.tp-body [hidden] { display: none !important; }
.tp-body :focus-visible { outline: 2px solid var(--tp-sun); outline-offset: 3px; border-radius: 4px; }
.tp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tp-green); color: var(--tp-on-green); padding: 10px 16px; font-weight: 700; }
.tp-skip:focus { left: 16px; }

.tp-wrap { width: 100%; max-width: var(--tp-wrap); margin-inline: auto; padding-inline: var(--tp-gutter); }
.tp-sec { padding-block: var(--tp-sec); }
.tp-sec--alt { background: var(--tp-bg-2); }
.tp-sec--tight { padding-block: clamp(40px, 6vw, 80px); }
[id] { scroll-margin-top: 84px; }

/* ---------- Typografia ---------- */
.tp-h1, .tp-h2, .tp-h3 { font-family: var(--tp-display); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; margin: 0; color: var(--tp-ink); }
.tp-h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.2rem); line-height: .98; font-weight: 800; }
.tp-h2 { font-size: clamp(1.95rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.04; }
.tp-h3 { font-size: clamp(1.2rem, 1.08rem + .45vw, 1.5rem); line-height: 1.2; letter-spacing: -0.015em; }
.tp-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-green); margin: 0 0 16px; }
.tp-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.tp-lede { font-size: clamp(1.07rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--tp-ink-2); max-width: 58ch; margin: 18px 0 0; }
.tp-sun { color: var(--tp-sun); }
.tp-muted { color: var(--tp-ink-2); }
.tp-num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Painikkeet ---------- */
.tp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  font: 700 16.5px/1 var(--tp-font); letter-spacing: .005em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--tp-ease), color .2s var(--tp-ease), border-color .2s var(--tp-ease), transform .2s var(--tp-ease), box-shadow .2s var(--tp-ease);
}
.tp-btn svg { width: 19px; height: 19px; flex: none; transition: transform .2s var(--tp-ease); }
.tp-btn:hover svg:last-child { transform: translateX(3px); }
.tp-btn:active { transform: translateY(1px); }
.tp-btn--primary { background: var(--tp-green); color: var(--tp-on-green); box-shadow: 0 10px 28px -12px rgba(74,217,129,.7); }
.tp-btn--primary:hover { background: var(--tp-green-hi); }
.tp-btn--ghost { color: var(--tp-ink); border-color: rgba(238,245,239,.7); background: rgba(10,24,18,.25); backdrop-filter: blur(4px); }
.tp-btn--ghost:hover { background: var(--tp-ink); color: var(--tp-bg); border-color: var(--tp-ink); }
.tp-btn--dark { background: var(--tp-on-green); color: #fff; }
.tp-btn--dark:hover { background: #163726; }
.tp-btn--line-dark { color: var(--tp-on-green); border-color: var(--tp-on-green); background: transparent; }
.tp-btn--line-dark:hover { background: var(--tp-on-green); color: #fff; }

.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-quick { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 20px; }
.tp-quick a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 600; font-size: 16px; text-decoration: none; }
.tp-quick a span { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.tp-quick svg { width: 19px; height: 19px; color: var(--tp-green); }
.tp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--tp-green); border-bottom: 2px solid transparent; padding-block: 6px; }
.tp-link svg { width: 18px; height: 18px; transition: transform .2s var(--tp-ease); }
.tp-link:hover { border-bottom-color: currentColor; }
.tp-link:hover svg { transform: translateX(3px); }

/* ---------- Logo ---------- */
.tp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: inherit; }
.tp-logo__mark { width: 40px; height: 40px; flex: none; background: var(--tp-green); -webkit-mask: var(--tp-logo-mask) center / contain no-repeat; mask: var(--tp-logo-mask) center / contain no-repeat; }
.tp-logo__word { display: flex; flex-direction: column; line-height: 1; }
.tp-logo__name { font-family: var(--tp-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.tp-logo__name b { color: var(--tp-green); font-weight: 800; }
.tp-logo__by { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tp-ink-2); margin-top: 5px; }

/* ---------- Header ---------- */
.tp-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(15,33,25,.95); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--tp-line); transition: background-color .3s, border-color .3s;
}
.tp-header__in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.tp-nav { display: flex; align-items: center; gap: 24px; }
.tp-nav a { font-weight: 600; font-size: 15.5px; text-decoration: none; padding-block: 8px; border-bottom: 2px solid transparent; }
.tp-nav a:hover, .tp-nav a[aria-current="page"] { border-bottom-color: var(--tp-green); }
.tp-header__cta { display: flex; gap: 8px; }
.tp-header .tp-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.tp-header .tp-header__tel, .tp-header .tp-menu-btn { display: none; }
.admin-bar .tp-header, .admin-bar.tp-has-hero .tp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tp-header, .admin-bar.tp-has-hero .tp-header { top: 46px; } }
.tp-has-hero .tp-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: #fff; }
.tp-has-hero .tp-header .tp-logo__by { color: rgba(255,255,255,.8); }
.tp-has-hero .tp-header.is-solid { background: rgba(15,33,25,.95); border-bottom-color: var(--tp-line); color: var(--tp-ink); }

/* ---------- Hero ---------- */
.tp-hero { position: relative; isolation: isolate; color: #fff; background: var(--tp-night); overflow: hidden; }
.tp-hero__media, .tp-hero__media video, .tp-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-hero__media { z-index: -2; }
.tp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,24,18,.6) 0%, rgba(10,24,18,.05) 28%, rgba(10,24,18,.2) 55%, rgba(10,24,18,.9) 100%),
    linear-gradient(90deg, rgba(10,24,18,.72) 0%, rgba(10,24,18,.2) 60%, rgba(10,24,18,0) 85%);
}
.tp-hero__in { min-height: min(94svh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 128px; padding-bottom: clamp(36px, 5vw, 72px); }
.tp-hero .tp-eyebrow { color: var(--tp-green-hi); }
.tp-hero .tp-h1 { color: #fff; max-width: 13ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.tp-hero .tp-h1 em { font-style: normal; color: var(--tp-green); }
.tp-hero .tp-lede { color: rgba(255,255,255,.92); max-width: 54ch; }
.tp-hero .tp-actions { margin-top: 30px; }
.tp-hero .tp-quick a { color: #fff; }
.tp-hero__by { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); font-size: 14px; color: rgba(255,255,255,.82); display: flex; flex-wrap: wrap; gap: 6px 28px; }
.tp-hero__by strong { color: #fff; font-weight: 700; }
.tp-hero__by > span { display: inline-flex; align-items: flex-start; gap: 8px; }
.tp-hero__by svg { width: 17px; height: 17px; color: var(--tp-green); flex: none; margin-top: 3px; }
.tp-nw { white-space: nowrap; }

/* Alasivun otsikkoalue */
.tp-pagehead { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--tp-line); }
.tp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 clamp(22px, 4vw, 40px); font-size: 14px; color: var(--tp-ink-2); }
.tp-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--tp-green); }
.tp-crumbs a { text-decoration: none; }
.tp-crumbs a:hover { text-decoration: underline; }
.tp-pagehead__grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; }
.tp-pagehead .tp-h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4.2rem); max-width: 16ch; }

/* ---------- Osion otsikko ---------- */
.tp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; }
.tp-head .tp-lede { margin-top: 0; }
.tp-head--solo { grid-template-columns: minmax(0, 1fr); }

/* ---------- Kokonaispalvelu ---------- */
.tp-full { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.tp-full__media { position: sticky; top: 96px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tp-full__media figure { margin: 0; overflow: hidden; border-radius: var(--tp-radius); }
.tp-full__media figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.tp-full__media figure:not(:first-child) { aspect-ratio: 1 / 1; }
.tp-full__media img { width: 100%; height: 100%; object-fit: cover; }
.tp-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); border-top: 1px solid var(--tp-line); }
.tp-svc li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--tp-line); }
.tp-svc__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--tp-green-soft); color: var(--tp-green); transition: transform .3s var(--tp-ease), background-color .3s; }
.tp-svc li:hover .tp-svc__icon { transform: rotate(-6deg) scale(1.05); background: var(--tp-green); color: var(--tp-on-green); }
.tp-svc__icon svg { width: 23px; height: 23px; }
.tp-svc h3 { font-family: var(--tp-display); font-size: 19px; font-weight: 700; margin: 2px 0 4px; letter-spacing: -0.01em; }
.tp-svc p { margin: 0; font-size: 15.5px; color: var(--tp-ink-2); line-height: 1.5; }
.tp-one { margin: clamp(28px, 4vw, 40px) 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--tp-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.2; }
.tp-one span { color: var(--tp-sun); }
.tp-full__cta { margin-top: 28px; }

/* ---------- Millaisen päivän haluatte? (kuvakortit) ---------- */
.tp-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 52px); }
.tp-day { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--tp-radius); min-height: clamp(300px, 26vw, 380px); display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--tp-panel); }
.tp-day picture, .tp-day img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--tp-ease); }
.tp-day::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,24,18,0) 25%, rgba(10,24,18,.55) 55%, rgba(10,24,18,.94) 100%); }
.tp-day:hover img { transform: scale(1.05); }
.tp-day__txt { padding: 22px 22px 20px; }
.tp-day h3 { font-family: var(--tp-display); font-size: clamp(21px, 1.1rem + .6vw, 26px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.tp-day p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 36ch; }
.tp-day__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; font-size: 14.5px; color: var(--tp-green); }
.tp-day__go svg { width: 16px; height: 16px; transition: transform .2s var(--tp-ease); }
.tp-day:hover .tp-day__go svg { transform: translateX(3px); }

/* ---------- CTA-väliosa (brändin vihreä kaista) ---------- */
.tp-band { background: var(--tp-green); color: var(--tp-on-green); padding-block: clamp(44px, 6vw, 76px); position: relative; overflow: hidden; }
.tp-band::before { content: ""; position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%) rotate(-12deg); background: var(--tp-on-green); opacity: .07; -webkit-mask: var(--tp-logo-mask) center / contain no-repeat; mask: var(--tp-logo-mask) center / contain no-repeat; }
.tp-band__in { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 28px 56px; align-items: center; position: relative; }
.tp-band .tp-h2 { color: var(--tp-on-green); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); }
.tp-band p { margin: 12px 0 0; font-size: 18px; max-width: 52ch; }
.tp-band .tp-quick { margin-top: 14px; }
.tp-band .tp-quick svg { color: var(--tp-on-green); }

/* ---------- Näin se toimii ---------- */
.tp-steps { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.tp-steps li { counter-increment: s; position: relative; padding: 26px 24px 26px; background: var(--tp-panel); border-radius: var(--tp-radius); border: 1px solid var(--tp-line); }
.tp-steps li::before { content: counter(s); display: block; font-family: var(--tp-display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--tp-sun); letter-spacing: -0.04em; margin-bottom: 18px; font-variant-numeric: lining-nums; }
.tp-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -14px; width: 14px; height: 2px; background: var(--tp-sun); }
.tp-steps h3 { font-family: var(--tp-display); font-size: 20px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.015em; line-height: 1.2; }
.tp-steps p { margin: 0; font-size: 15.5px; color: var(--tp-ink-2); line-height: 1.55; }
.tp-relief { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.5vw, 40px); border-radius: calc(var(--tp-radius) + 4px); background: linear-gradient(120deg, #1f4431 0%, #183728 100%); border: 1px solid #2f5a43; }
.tp-relief__lead { font-family: var(--tp-display); font-weight: 700; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.tp-relief p.tp-muted { margin: 12px 0 0; font-size: 16px; }
.tp-relief__meet { display: grid; gap: 12px; }
.tp-relief__meet .tp-btn { width: 100%; }
.tp-meetnote { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--tp-ink-2); margin: 0 0 4px; }
.tp-meetnote svg { width: 22px; height: 22px; color: var(--tp-sun); flex: none; margin-top: 2px; }
.tp-meetnote strong { color: var(--tp-ink); }

/* ---------- Aktiviteetti-teaser ---------- */
.tp-act { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tp-mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 6 / 5; }
.tp-mosaic figure { margin: 0; overflow: hidden; border-radius: var(--tp-radius); }
.tp-mosaic figure:first-child { grid-row: span 2; }
.tp-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--tp-ease); }
.tp-mosaic figure:hover img { transform: scale(1.04); }
.tp-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; padding: 0; list-style: none; }
.tp-cats a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--tp-line); background: var(--tp-panel); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.tp-cats a:hover { border-color: var(--tp-green); background: var(--tp-green-soft); }
.tp-cats svg { width: 18px; height: 18px; color: var(--tp-green); }

/* ---------- Miksi Tykypaivat.fi ---------- */
.tp-why { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tp-since { margin-top: 32px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.tp-since b { font-family: var(--tp-display); font-weight: 800; font-size: clamp(4rem, 2.6rem + 5vw, 7.5rem); line-height: .9; letter-spacing: -0.05em; color: var(--tp-sun); font-variant-numeric: lining-nums; }
.tp-since span { font-weight: 600; color: var(--tp-ink-2); max-width: 20ch; line-height: 1.4; }
.tp-why figure { margin: 32px 0 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--tp-radius); }
.tp-why figure img { width: 100%; height: 100%; object-fit: cover; }
.tp-reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tp-reasons li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 22px; background: var(--tp-panel); border: 1px solid var(--tp-line); border-radius: var(--tp-radius); }
.tp-reasons svg { width: 54px; height: 54px; padding: 14px; border-radius: 16px; background: var(--tp-green-soft); color: var(--tp-green); }
.tp-reasons strong { display: block; font-family: var(--tp-display); font-size: clamp(18px, 1rem + .35vw, 21px); letter-spacing: -0.012em; margin-top: 2px; }
.tp-reasons span { display: block; color: var(--tp-ink-2); font-size: 16px; margin-top: 3px; }

/* ---------- Loppu-CTA ---------- */
.tp-final { position: relative; isolation: isolate; background: var(--tp-night); }
.tp-final__bg { position: absolute; inset: 0; z-index: -2; }
.tp-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.tp-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,24,18,.95) 0%, rgba(10,24,18,.82) 55%, rgba(10,24,18,.6) 100%); }
.tp-final__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.tp-final .tp-h2 { max-width: 17ch; }
.tp-final .tp-lede { color: rgba(255,255,255,.86); }
.tp-final__cta { display: grid; gap: 12px; }
.tp-final__cta .tp-btn { width: 100%; }
.tp-contact-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.tp-contact-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.tp-contact-list a { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; text-decoration: none; min-height: 44px; }
.tp-contact-list .tp-wa { font-weight: 600; color: var(--tp-ink-2); }
.tp-contact-list svg { width: 20px; height: 20px; color: var(--tp-green); }

/* ---------- Aktiviteetit-sivu ---------- */
.tp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tp-filter button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--tp-line); background: var(--tp-panel); color: var(--tp-ink); font: 600 15px var(--tp-font); cursor: pointer; }
.tp-filter button[aria-pressed="true"] { background: var(--tp-green); border-color: var(--tp-green); color: var(--tp-on-green); }
.tp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tp-toc a { font-size: 14.5px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--tp-ink-2); border: 1px solid var(--tp-line); }
.tp-toc a:hover { color: var(--tp-ink); border-color: var(--tp-green); }
.tp-group { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(36px, 5vw, 60px); border-top: 1px solid var(--tp-line); }
.tp-group:first-child { border-top: 0; padding-top: 0; }
.tp-group__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tp-green-soft); color: var(--tp-green); }
.tp-group__icon svg { width: 26px; height: 26px; }
.tp-group .tp-h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); margin-top: 16px; }
.tp-group__head p { color: var(--tp-ink-2); margin: 10px 0 0; max-width: 40ch; }
.tp-group figure { margin: 22px 0 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--tp-radius); }
.tp-group figure img { width: 100%; height: 100%; object-fit: cover; }
.tp-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.tp-items li { padding: 18px 20px; background: var(--tp-panel); border: 1px solid var(--tp-line); border-radius: var(--tp-radius); }
.tp-items strong { display: block; font-family: var(--tp-display); font-size: 18px; letter-spacing: -0.01em; }
.tp-items span { display: block; color: var(--tp-ink-2); font-size: 15.5px; line-height: 1.5; margin-top: 4px; }
.tp-tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-sun); }
.tp-group.is-empty { display: none; }
.tp-note { margin-top: 26px; padding: 18px 22px; border-radius: var(--tp-radius); border: 1px dashed #3b6a50; color: var(--tp-ink-2); }
.tp-note strong { color: var(--tp-ink); }

/* ---------- Footer ---------- */
.tp-footer { background: var(--tp-night); color: #dbe7df; border-top: 1px solid var(--tp-line); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: 15.5px; }
.tp-footer a { color: #fff; text-decoration: none; }
.tp-footer a:hover { text-decoration: underline; text-decoration-color: var(--tp-green); }
.tp-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.tp-footer__h { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-green); margin: 0 0 14px; font-weight: 700; font-family: var(--tp-font); }
.tp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tp-footer p { margin: 14px 0 0; color: #a4b9ac; max-width: 38ch; }
.tp-footer__base { margin-top: 44px; padding-top: 20px; border-top: 1px solid #22392d; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #8fa698; font-size: 13.5px; }

/* ---------- Mobiilin alapalkki ---------- */
.tp-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; grid-template-columns: 1fr 1fr 48px 48px; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(15,33,25,.97); border-top: 1px solid var(--tp-line); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform .3s var(--tp-ease);
}
.tp-dock.is-on { transform: none; }
.tp-dock .tp-btn { min-height: 48px; padding: 0 10px; font-size: 14.5px; box-shadow: none; }
.tp-dock .tp-btn--ghost { backdrop-filter: none; }
.tp-dock__icon { display: grid; place-items: center; border: 1.5px solid var(--tp-line); border-radius: 999px; color: var(--tp-ink); background: var(--tp-panel); }
.tp-dock__icon svg { width: 21px; height: 21px; }

/* ---------- Mobiilivalikko ---------- */
.tp-drawer { position: fixed; inset: 0; z-index: 80; background: var(--tp-bg); color: var(--tp-ink); padding: calc(18px + env(safe-area-inset-top, 0px)) var(--tp-gutter) 24px; display: flex; flex-direction: column; overflow-y: auto; }
.tp-drawer__top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.tp-drawer nav { display: grid; margin-top: 24px; border-top: 1px solid var(--tp-line); }
.tp-drawer nav a { padding: 17px 0; font-family: var(--tp-display); font-size: 23px; font-weight: 700; letter-spacing: -0.015em; text-decoration: none; border-bottom: 1px solid var(--tp-line); }
.tp-drawer .tp-actions { margin-top: 26px; display: grid; }
.tp-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 999px; }
.tp-icon-btn svg { width: 24px; height: 24px; }

/* ---------- Kevyt sisääntulo (lähtötila näkyvä; vain liike) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tp-hero__in > * { animation: tp-rise .8s var(--tp-ease) both; }
  .tp-hero__in > :nth-child(2) { animation-delay: .08s; }
  .tp-hero__in > :nth-child(3) { animation-delay: .16s; }
  .tp-hero__in > :nth-child(4) { animation-delay: .24s; }
  .tp-hero__in > :nth-child(n+5) { animation-delay: .32s; }
}
@keyframes tp-rise { from { transform: translateY(14px); } to { transform: none; } }

/* ---------- Responsiivisuus ---------- */
@media (max-width: 1180px) {
  .tp-nav { gap: 18px; }
  .tp-nav .tp-nav__extra { display: none; }
}
@media (max-width: 1040px) {
  .tp-header__cta .tp-btn--ghost { display: none; }
  .tp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-steps li::after { display: none; }
  .tp-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tp-nav, .tp-header__cta { display: none; }
  .tp-header .tp-header__tel, .tp-header .tp-menu-btn { display: grid; }
  .tp-header__in { gap: 4px; min-height: 66px; }
  .tp-head, .tp-full, .tp-band__in, .tp-relief, .tp-act, .tp-why, .tp-final__in, .tp-group, .tp-pagehead__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-full__media { position: static; }
  .tp-full__media figure:first-child { aspect-ratio: 16 / 9; }
  .tp-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-footer__grid > :first-child { grid-column: 1 / -1; }
  .tp-dock { display: grid; }
  .tp-body { padding-bottom: 72px; }
  .tp-band::before { width: 220px; height: 220px; right: -50px; top: 20px; transform: rotate(-12deg); }
}
@media (max-width: 767px) {
  :root { --tp-sec: 52px; }
  .tp-body { font-size: 16.5px; }
  .tp-logo__mark { width: 34px; height: 34px; }
  .tp-logo__name { font-size: 19px; }
  .tp-header .tp-logo__by, .tp-drawer .tp-logo__by { display: none; }
  .tp-hero { min-height: min(90svh, 700px); display: flex; align-items: flex-end; }
  .tp-hero > .tp-wrap { width: 100%; }
  .tp-hero__in { min-height: 0; padding-top: 104px; padding-bottom: 30px; }
  .tp-hero .tp-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .tp-hero__by { margin-top: 18px; font-size: 13.5px; }
  .tp-svc { grid-template-columns: minmax(0, 1fr); }
  .tp-svc li { padding: 16px 0; }
  .tp-full__media { grid-template-columns: 1fr 1fr; }
  .tp-full__media figure:not(:first-child) { aspect-ratio: 4 / 3; }
  .tp-full__cta .tp-actions, .tp-band .tp-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .tp-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tp-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .tp-steps li::before { grid-row: span 2; font-size: 44px; margin: 0; }
  .tp-items { grid-template-columns: minmax(0, 1fr); }
  .tp-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .tp-reasons li { grid-template-columns: 46px minmax(0, 1fr); padding: 16px 18px; gap: 14px; }
  .tp-reasons svg { width: 46px; height: 46px; padding: 12px; }
}
@media (max-width: 560px) {
  .tp-days { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tp-day { min-height: 250px; }
  .tp-mosaic { aspect-ratio: 5 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-body *, .tp-body *::before, .tp-body *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
