/* Koveron Majatalo 2028
   Idea: vanha kyläkoulu, vuodenajat ja pilkin punainen koho.
   Vuodenaikavalitsin vaihtaa koko sivuston värit (talvi: jää, kesä: lehvä).
   Koho (#FF5A36) on ainoa kirkas väri ja toistuu kaikissa toimintakehotuksissa. */

/* Fontit omalta palvelimelta (ei Googlen palvelimia, joten kävijän tiedot eivät lähde Googlelle).
   Bricolage Grotesque ja Hanken Grotesk eivät sisällä kyrillisiä kirjaimia, joten venäjänkielinen teksti
   tulee Geologica-fontista samoilla nimillä (unicode-range). Lisenssit: assets/fonts/OFL-*.txt. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0160-0161, U+0178, U+017D-017E, U+0192, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/geologica-cyrillic.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; unicode-range: U+0400-04FF; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+0160-0161, U+0178, U+017D-017E, U+0192, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2116, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/geologica-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0400-04FF; }

:root {
  --bob: #FF5A36;
  --on-bob: #0A1B26;
  --bg: #EAF1F5;
  --bg2: #DCE8EF;
  --surface: #FFFFFF;
  --ink: #0A1B26;
  --muted: #475F6F;
  --line: #C3D3DD;
  --deep: #0C2433;
  --on-deep: #E8F1F6;
  --glow: #8FD8F5;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  --r: 22px;
  --head: 76px;
  color-scheme: light;
}
html[data-season="kesa"] {
  --bg: #EDF3E6;
  --bg2: #DEEAD4;
  --surface: #FBFDF7;
  --ink: #0F2218;
  --muted: #4B6254;
  --line: #C8D7BE;
  --deep: #123524;
  --on-deep: #EAF4E4;
  --glow: #C9E56E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07121A; --bg2: #0C1B26; --surface: #0F2230; --ink: #E7F0F5; --muted: #9CB2BF;
    --line: #21384A; --deep: #04101A; --on-deep: #E8F1F6; color-scheme: dark;
  }
  html[data-season="kesa"] {
    --bg: #08140D; --bg2: #0E1E14; --surface: #112619; --ink: #E6F0E2; --muted: #9DB5A2;
    --line: #22392A; --deep: #05110A; --on-deep: #EAF4E4;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .5s ease, color .5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--bob); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bob); color: var(--on-bob); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
ul { padding-left: 1.2em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 16px; z-index: 200; border-radius: 999px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 14px 26px; border-radius: 999px; background: var(--bob); color: var(--on-bob); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--bob); transition: transform .2s ease, box-shadow .2s ease, background .2s; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--bob) 70%, transparent); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); box-shadow: none; }
.btn.sm { padding: 10px 20px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: var(--head); }
.site-header.solid, .site-header.scrolled { background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-bottom-color: var(--line); }
.site-header.over:not(.scrolled) { color: #fff; }
.brand { font-family: var(--display); font-size: 1.45rem; letter-spacing: -.03em; text-decoration: none; font-weight: 800; line-height: 1; margin-right: auto; }
.brand span { font-weight: 300; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav > .has-sub > a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: 999px; transition: background .2s; }
.nav > a:hover, .nav > .has-sub > a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--bob); border-radius: 0; }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 24px 50px -20px rgba(5,16,24,.45); }
.sub a { display: block; padding: 10px 14px; text-decoration: none; border-radius: 10px; font-size: .96rem; }
.sub a:hover { background: var(--bg2); }
#kalastus { scroll-margin-top: 80px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }

.season { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); }
.season button { border: 0; background: transparent; color: inherit; font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.season button[aria-pressed="true"] { background: var(--bob); color: var(--on-bob); }
.phone-link { font-weight: 600; text-decoration: none; font-size: .95rem; white-space: nowrap; }
/* Kielivalinta (FI / EN / RU) */
.langs { display: flex; gap: 2px; }
.langs a, .langs-m a { padding: 6px 7px; font-weight: 700; font-size: .85rem; text-decoration: none; opacity: .7; }
.langs a:hover, .langs-m a:hover { opacity: 1; }
.langs a[aria-current], .langs-m a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 var(--bob); }
.langs-m { display: none; }
.menu-toggle { display: none; border: 0; background: color-mix(in srgb, currentColor 14%, transparent); color: inherit; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; }

@media (max-width: 1240px) {
  .phone-link { display: none; }
  .menu-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: flex; position: fixed; inset: 0; z-index: 99; background: var(--bg); color: var(--ink); flex-direction: column; align-items: stretch; padding: calc(var(--head) + 20px) 24px 110px; overflow-y: auto; gap: 0; }
  .nav.open > a, .nav.open > .has-sub > a { font-family: var(--display); font-size: 2rem; font-weight: 700; padding: 10px 0; border-radius: 0; letter-spacing: -.02em; }
  .nav.open .sub { display: block; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 4px; }
  .nav.open .sub a { color: var(--muted); padding: 4px 0; font-size: 1.05rem; }
  .site-header.menu-open { color: var(--ink); background: var(--bg); }
  .site-header .menu-toggle, .site-header .season { position: relative; z-index: 101; }
  .langs { display: none; }
  .nav.open .langs-m { display: flex; gap: 14px; margin-top: 18px; }
  .nav.open .langs-m a { font-size: 1.1rem; }
}
/* Pidemmät valikkotekstit (englanti, venäjä) mahtuvat kapeammallakin näytöllä. */
.nav > a, .nav > .has-sub > a { white-space: nowrap; }
@media (min-width: 1241px) { .nav > a, .nav > .has-sub > a { padding: 10px 9px; font-size: .94rem; } .site-header .bar { gap: 12px; } .brand { white-space: nowrap; flex-shrink: 0; } }
@media (max-width: 520px) { .season button { padding: 6px 10px; } .brand { font-size: 1.2rem; } .site-header .bar { gap: 10px; } }

/* Hero */
.hero { position: relative; min-height: min(92svh, 940px); display: flex; align-items: flex-end; color: #fff; overflow: clip; background: var(--deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,24,.55) 0%, rgba(5,16,24,.08) 32%, rgba(5,16,24,.55) 72%, rgba(5,16,24,.88) 100%); }
.hero-copy { position: relative; padding-top: 140px; padding-bottom: 150px; }
.kicker { font-weight: 600; font-size: 1rem; margin-bottom: 18px; display: inline-flex; gap: 10px; align-items: center; }
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--bob); box-shadow: 0 0 0 5px color-mix(in srgb, var(--bob) 35%, transparent); }
.hero h1 { font-size: clamp(3.6rem, 13vw, 11.5rem); font-weight: 800; line-height: .86; letter-spacing: -.05em; margin-bottom: 26px; }
.hero h1 span { font-weight: 300; display: block; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 34ch; margin-bottom: 30px; text-wrap: pretty; }
.hero-dock { position: absolute; left: 0; right: 0; bottom: 0; }
.dock { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px 22px 0 0; background: color-mix(in srgb, var(--deep) 62%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.18); border-bottom: 0; }
.dock div { padding: 16px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.dock div:last-child { border-right: 0; }
.dock b { display: block; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1; letter-spacing: -.02em; }
.dock span { font-size: .88rem; opacity: .85; }
@media (max-width: 760px) { .dock { grid-template-columns: repeat(2, 1fr); } .dock div:nth-child(2) { border-right: 0; } .dock div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); } .hero-copy { padding-bottom: 210px; } }
@supports (animation-timeline: scroll()) {
  .hero-media img { animation: heroDrift linear both; animation-timeline: scroll(root block); animation-range: 0 90vh; }
  @keyframes heroDrift { to { transform: translateY(8%) scale(1.08); } }
}

/* Page heads on inner pages */
.page-head { position: relative; padding: calc(var(--head) + 70px) 0 64px; color: #fff; background: var(--deep); overflow: clip; }
.page-head .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,24,.2), rgba(5,16,24,.7)); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin-bottom: 14px; }
.page-head p { font-size: 1.2rem; max-width: 46ch; margin: 0; opacity: .94; }
.crumbs { font-size: .95rem; margin-bottom: 18px; opacity: .9; }
.crumbs a { text-underline-offset: 3px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.alt { background: var(--bg2); }
.section.deep { background: var(--deep); color: var(--on-deep); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.deep .sec-head p { color: color-mix(in srgb, var(--on-deep) 78%, transparent); }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* Fishing feature */
.fish { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.fish h2 { margin-bottom: 20px; }
.fish p { font-size: 1.15rem; color: color-mix(in srgb, var(--on-deep) 85%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.chips li { border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .96rem; }
.fish-photo { margin-top: 28px; border-radius: var(--r); overflow: hidden; max-width: 420px; }
.fish-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: color-mix(in srgb, var(--on-deep) 10%, transparent); }
@media (max-width: 900px) { .fish { grid-template-columns: 1fr; } }

.sonar { position: relative; overflow: hidden; width: min(500px, 100%); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--glow) 50%, transparent); background:
  linear-gradient(color-mix(in srgb, var(--glow) 22%, transparent), color-mix(in srgb, var(--glow) 22%, transparent)) center / 1px 100% no-repeat,
  linear-gradient(color-mix(in srgb, var(--glow) 22%, transparent), color-mix(in srgb, var(--glow) 22%, transparent)) center / 100% 1px no-repeat,
  repeating-radial-gradient(circle at center, transparent 0 calc(12.5% - 1px), color-mix(in srgb, var(--glow) 28%, transparent) calc(12.5% - 1px) 12.5%),
  radial-gradient(circle, color-mix(in srgb, var(--glow) 10%, transparent), transparent 70%); box-shadow: 0 0 80px -20px color-mix(in srgb, var(--glow) 55%, transparent), inset 0 0 60px -10px color-mix(in srgb, var(--glow) 25%, transparent); }
.sonar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 292deg, color-mix(in srgb, var(--glow) 60%, transparent) 360deg); animation: sweep 6s linear infinite; }
.blip { position: absolute; z-index: 2; width: 11px; height: 11px; margin: -5px; border-radius: 50%; background: var(--bob); animation: ping 6s ease-out infinite; }
.blip i { position: absolute; left: 16px; top: -6px; font-style: normal; font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--on-deep); }
.blip.b1 { left: 64%; top: 30%; animation-delay: .6s; }
.blip.b2 { left: 34%; top: 58%; animation-delay: 2.6s; }
.blip.b3 { left: 70%; top: 70%; animation-delay: 4.4s; }
.blip.hook { background: var(--glow); width: 9px; height: 9px; left: 50%; top: 44%; animation: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--glow) 30%, transparent); }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes ping { 0%, 4% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bob) 80%, transparent); opacity: 1; } 40% { box-shadow: 0 0 0 22px transparent; } 100% { box-shadow: 0 0 0 0 transparent; opacity: .55; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(190px, 22vw, 290px); gap: 14px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; background: var(--deep); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(5,16,24,.85)); z-index: -1; }
.tile:hover img { transform: scale(1.06); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.tile strong { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.tile span { font-size: .93rem; opacity: .92; }
.tile .pill { position: absolute; top: 14px; left: 14px; background: var(--bob); color: var(--on-bob); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.t-kaksio { grid-column: span 2; grid-row: span 2; }
.t-yksio { grid-column: span 2; }
.t-heli { grid-column: span 2; }
.t-hall { grid-column: span 4; grid-row: span 1; }
@media (max-width: 800px) { .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } .t-kaksio { grid-column: span 2; grid-row: span 2; } .t-yksio, .t-heli, .t-hall { grid-column: span 2; } }
@supports (animation-timeline: view()) {
  .tile { animation: tileIn linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes tileIn { from { clip-path: inset(10% 5% 0 5% round 30px); } to { clip-path: inset(0 round var(--r)); } }
}

/* Timetable */
.tt { border-top: 2px solid var(--ink); }
.tt-row { display: grid; grid-template-columns: minmax(96px, 160px) minmax(0, 1.1fr) minmax(0, 2fr) auto; gap: 6px 28px; align-items: baseline; padding: 22px 10px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s, padding .25s; }
a.tt-row:hover { background: var(--bg2); padding-left: 24px; }
.tt-time { font-family: var(--display); font-size: clamp(1.4rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.tt-name { font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 600; }
.tt-note { color: var(--muted); }
.tt-go { font-weight: 700; box-shadow: inset 0 -3px 0 var(--bob); white-space: nowrap; }
.tt-sub { font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 26px 10px 8px; color: var(--muted); border-bottom: 1px solid var(--line); }
html[data-season="talvi"] [data-only="kesa"], html:not([data-season]) [data-only="kesa"], html[data-season="kesa"] [data-only="talvi"] { display: none; }
@media (max-width: 800px) { .tt-row { grid-template-columns: 1fr auto; } .tt-time { grid-column: 1 / -1; } .tt-note { grid-column: 1 / -1; } .tt-name { grid-row: 2; } .tt-go { grid-row: 2; grid-column: 2; } }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 0; list-style: none; padding: 8px 0 0; margin: 0; }
.timeline li { position: relative; padding: 34px 28px 0 0; border-top: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bob); }
.timeline b { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Final call to action */
.cta { position: relative; background: var(--deep); color: var(--on-deep); padding: clamp(70px, 10vw, 140px) 0; overflow: clip; }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2.6rem, 8vw, 7rem); font-weight: 800; letter-spacing: -.05em; line-height: .92; max-width: 12ch; margin-bottom: 24px; }
.cta p { font-size: 1.2rem; max-width: 44ch; opacity: .9; }
.cta .actions { margin-top: 30px; }
.cta .ring { position: absolute; right: -120px; top: 50%; width: 560px; aspect-ratio: 1; margin-top: -280px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--glow) 35%, transparent); box-shadow: 0 0 0 70px color-mix(in srgb, var(--glow) 5%, transparent), 0 0 0 140px color-mix(in srgb, var(--glow) 3%, transparent); }

/* Content pages */
.content { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.narrow { max-width: 780px; }
.content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.7em; }
.content h2:first-child { margin-top: 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 26px; margin: 0 0 1.6em; max-width: 780px; }
.callout p:last-child { margin: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.quick a { display: block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; background: var(--surface); }
.quick a:hover { border-color: var(--bob); }

.scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
table.prices { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; }
table.prices caption { text-align: left; padding: 14px 18px; color: var(--muted); font-size: .95rem; caption-side: bottom; }
table.prices th, table.prices td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.prices thead th { background: var(--deep); color: var(--on-deep); font-weight: 600; font-size: .95rem; }
table.prices tbody th { font-family: var(--display); font-size: 1.1rem; font-weight: 600; }
table.prices tbody th a { text-decoration: none; }
table.prices tbody th a:hover { box-shadow: inset 0 -2px 0 var(--bob); }

.room { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px clamp(24px, 5vw, 70px); }
.room h2 { grid-column: 1; margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.room .meta { grid-column: 1; }
.room .body { grid-column: 2; grid-row: 1 / span 3; }
.room .price { font-weight: 700; margin: 0 0 .5em; }
.room .cap { color: var(--muted); margin: 0 0 .3em; }
.room .photos a { font-weight: 700; text-decoration: none; box-shadow: inset 0 -3px 0 var(--bob); }
@media (max-width: 800px) { .room { grid-template-columns: 1fr; } .room h2, .room .meta, .room .body { grid-column: 1; grid-row: auto; } }

details.faq { border-top: 1px solid var(--line); padding: 18px 0; max-width: 820px; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .25s; color: var(--bob); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 12px 0 0; color: var(--muted); }

/* Activities page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; font-weight: 600; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s, border-color .25s; }
a.card:hover { transform: translateY(-4px); border-color: var(--bob); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg2); }
.card .in { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { margin: 0; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .go { margin-top: auto; padding-top: 12px; font-weight: 700; }
.card .go span { box-shadow: inset 0 -3px 0 var(--bob); }
.card.plain { background: var(--bg2); border-style: dashed; }
.card[hidden] { display: none; }

/* Galleries */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.tiles .tile { display: block; aspect-ratio: 4 / 3; }
.gallery { columns: 3 270px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg2); cursor: zoom-in; border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; height: auto; min-height: 120px; transition: transform .5s, opacity .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .88rem; color: var(--muted); padding: 6px 4px 0; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager > a:not(.btn) { font-weight: 600; text-decoration: none; box-shadow: inset 0 -2px 0 var(--bob); }
.pager > span { display: inline-flex; gap: 10px; flex-wrap: wrap; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; color: #fff; }
dialog.lightbox::backdrop { background: rgba(4,12,18,.92); backdrop-filter: blur(6px); }
dialog.lightbox img { max-width: 96vw; max-height: 84vh; margin: 0 auto; border-radius: 14px; }
dialog.lightbox .lb-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 2px 0; font-size: .95rem; flex-wrap: wrap; }
dialog.lightbox button { background: #fff; border: 0; border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 600; color: #0A1B26; cursor: pointer; }

/* Contact */
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 34px; }
.contact-card h2 { margin-top: 0; font-size: 1.7rem; }
.contact-card dl { margin: 0; }
.contact-card dt { color: var(--muted); font-size: .92rem; margin-top: 16px; }
.contact-card dd { margin: 0; font-weight: 600; }
.portrait { width: 100%; max-width: 440px; border-radius: var(--r); background: var(--bg2); aspect-ratio: 4 / 5; object-fit: cover; }
.portrait + p { color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-deep); padding: 70px 0 120px; font-size: .98rem; }
.site-footer .big { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 9vw, 7.5rem); letter-spacing: -.05em; line-height: .9; margin-bottom: 46px; }
.site-footer .big span { font-weight: 300; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h3 { font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 0; opacity: .75; font-weight: 600; font-family: var(--body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { box-shadow: inset 0 -2px 0 var(--bob); }
.legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: 40px; padding-top: 20px; opacity: .7; font-size: .9rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; gap: 26px; } }

/* Sticky action bar on phones */
.dockbar { display: none; }
@media (max-width: 760px) {
  .dockbar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--deep) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
  .dockbar .btn { padding: 13px 10px; }
  .js .dockbar { transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .35s ease, opacity .35s ease; }
  .js .dockbar.show { transform: none; opacity: 1; pointer-events: auto; }
  .dockbar .btn.ghost { color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .tile { animation: none !important; }
  .tile img, .btn, .gallery img { transition: none; }
}

/* ===== Liike ja elävyys ===== */
:root { --aur1: #3df5b0; --aur2: #6a7bff; --aur3: #8fd8f5; }
html[data-season="kesa"] { --aur1: #ffe27a; --aur2: #c9e56e; --aur3: #ff9f6b; }
.over .season, .over .menu-toggle { color: inherit; }
.site-header.scrolled { color: var(--ink); }
.phone-link { display: none; } /* Ylätunnisteessa ei ole tilaa numerolle kielivalinnan kanssa; numero on valikossa, alapalkissa ja sivuilla. */
@media (max-width: 760px) { .book-top { display: none; } }
.nav > a, .nav > .has-sub > a { padding: 10px 12px; }

/* Sisääntulo */
.rise { opacity: 0; transform: translateY(34px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .25s; } .rise.d3 { animation-delay: .42s; } .rise.d4 { animation-delay: .58s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.hero h1 span.rise { display: block; }

/* Lukemapalkki */
.progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 4px; background: var(--bob); transform: scaleX(0); transform-origin: 0 50%; }
@supports (animation-timeline: scroll()) { .progress { animation: grow linear both; animation-timeline: scroll(root block); } @keyframes grow { to { transform: scaleX(1); } } }

/* Revontulet ja aurinko */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen; opacity: .75; }
.aurora i { position: absolute; width: 60vw; height: 38vw; min-width: 420px; border-radius: 50%; filter: blur(70px); opacity: .5; }
.aurora i:nth-child(1) { background: var(--aur1); left: -10%; top: -12%; animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: var(--aur2); right: -14%; top: -4%; animation: drift2 23s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: var(--aur3); left: 30%; top: -22%; animation: drift3 27s ease-in-out infinite alternate; opacity: .35; }
@keyframes drift1 { to { transform: translate(30vw, 6vw) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-28vw, 8vw) scale(.85); } }
@keyframes drift3 { to { transform: translate(14vw, 10vw) scale(1.3); } }
.page-head .aurora { opacity: .55; z-index: 0; }
.page-head::after { z-index: 0; }
canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-copy, .badge, .hero-dock { z-index: 2; }
.hero-dock { position: absolute; }
.hero-copy { position: relative; }

.ph-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.ph-art { width: clamp(110px, 16vw, 190px); flex: none; }

/* Pyörivä varaus-merkki */
.badge { position: absolute; right: max(20px, 4vw); top: 24%; width: clamp(110px, 14vw, 170px); aspect-ratio: 1; display: grid; place-items: center; color: #fff; text-decoration: none; border-radius: 50%; background: var(--bob); box-shadow: 0 20px 50px -14px rgba(0,0,0,.55); transition: transform .3s; }
.badge:hover { transform: scale(1.08) rotate(-6deg); }
.badge svg { position: absolute; inset: 6%; width: 88%; height: 88%; fill: var(--on-bob); font: 700 15px var(--body); letter-spacing: .06em; }
.badge .spin { animation: spin 18s linear infinite; }
.badge b { color: var(--on-bob); font-family: var(--display); font-size: clamp(1rem, 1.7vw, 1.4rem); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .badge { top: 17%; width: 96px; } }

/* Juokseva teksti */
.marquee { overflow: hidden; background: var(--bob); color: var(--on-bob); font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.9rem); letter-spacing: -.01em; padding: 14px 0; white-space: nowrap; }
.mq-track { display: inline-flex; animation: mq 38s linear infinite; }
.mq-track span { padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; }
.mq-track span::after { content: "✦"; font-size: .7em; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Piirroskohtausten kehys (kesä- ja talvikohtaus) */
.icescene { border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); aspect-ratio: 600 / 440; background: #06212f; }
.icescene svg { display: block; width: 100%; height: 100%; }
.sonar-wrap { background: var(--deep); border-radius: var(--r); padding: 30px 16px; color: var(--on-deep); }
.sonar-wrap .sonar { --glow: #8FD8F5; }

/* Poiju */
.bobber { width: 100%; height: auto; overflow: visible; }
.bobber .float { animation: bob 3.2s ease-in-out infinite; transform-origin: 80px 150px; }
.bobber .b-white { fill: #fff; } .bobber .b-red { fill: var(--bob); } .bobber .b-stem { fill: #fff; opacity: .9; }
.bobber line { stroke: #fff; stroke-width: 2; opacity: .8; }
.bobber .water { fill: url(#bw); }
.bobber .ripples ellipse { fill: none; stroke: color-mix(in srgb, var(--glow) 80%, transparent); stroke-width: 1.5; transform-origin: 80px 150px; animation: ripple 3.2s ease-out infinite; opacity: 0; }
.bobber .ripples ellipse:nth-child(2) { animation-delay: 1s; } .bobber .ripples ellipse:nth-child(3) { animation-delay: 2s; }
@keyframes bob { 0%, 100% { transform: translateY(-4px) rotate(-3deg); } 50% { transform: translateY(8px) rotate(3deg); } }
@keyframes ripple { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.cta-grid { display: grid; grid-template-columns: 1fr minmax(160px, 260px); gap: 40px; align-items: center; }
.cta-art { justify-self: center; width: 100%; max-width: 230px; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } .cta-art { max-width: 130px; justify-self: start; } }
.cta .ring { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .6; } }

/* Painikkeen sykintä */
.btn.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bob) 65%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }

/* Sauna ja höyry */
.steam-band { position: relative; min-height: 520px; display: flex; align-items: center; overflow: clip; color: #fff; background: var(--deep); }
.steam-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steam-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,24,.82), rgba(5,16,24,.2)); z-index: 1; }
.steam { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.steam i { position: absolute; bottom: -80px; width: 140px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); filter: blur(26px); opacity: 0; animation: steam 9s ease-in infinite; }
.steam i:nth-child(1) { left: 56%; } .steam i:nth-child(2) { left: 64%; animation-delay: 1.8s; } .steam i:nth-child(3) { left: 72%; animation-delay: 3.6s; } .steam i:nth-child(4) { left: 80%; animation-delay: 5.2s; } .steam i:nth-child(5) { left: 88%; animation-delay: 2.6s; } .steam i:nth-child(6) { left: 48%; animation-delay: 6.4s; }
@keyframes steam { 0% { transform: translateY(0) scale(.6); opacity: 0; } 25% { opacity: .8; } 100% { transform: translateY(-460px) translateX(40px) scale(1.7); opacity: 0; } }
.steam-copy { position: relative; z-index: 2; padding-block: 90px; }
.steam-copy h2 { font-size: clamp(2.2rem, 6vw, 5rem); max-width: 14ch; }
.steam-copy p { font-size: 1.2rem; max-width: 36ch; }

/* Lukujärjestys-rivien hohto */
.tt-row { position: relative; }
.tt-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--bob); transition: width .5s ease; }
a.tt-row:hover::before { width: 100%; }

/* Aikajana */
.timeline li::before { box-shadow: 0 0 0 0 color-mix(in srgb, var(--bob) 60%, transparent); animation: pulse 2.8s ease-in-out infinite; }
.timeline li:nth-child(2n)::before { animation-delay: .7s; }

/* Kortit */
.cards .card { transition: transform .3s, border-color .3s, box-shadow .3s; }
a.card:hover { box-shadow: 0 24px 44px -24px rgba(5,16,24,.5); }
a.card img { transition: transform .6s; }
a.card { overflow: hidden; }
a.card:hover img { transform: scale(1.05); }
.two > .card { margin: 0; }

/* Siirtymät sivujen välillä */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
  /* Vähennetty liike: ei liukumia eikä parallaksia, mutta pienet tunnelma-animaatiot saavat elää. */
  .rise, .js .rv { transform: none !important; }
  .mq-track { animation-duration: 70s; }
}
@media (max-width: 760px) { .hero-copy { padding-bottom: 290px; } .hero .actions .btn { flex: 1 1 100%; } }

/* ===== Varaus ===== */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .bk { grid-template-columns: 1fr; } }
.bk h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 1.6em 0 .6em; }
.bk h2:first-child { margin-top: 0; }
.bk-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bk-unit { position: relative; display: block; cursor: pointer; }
.bk-unit input { position: absolute; opacity: 0; }
.bk-unit > span { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, transform .2s; }
.bk-unit > span small { color: var(--muted); }
.bk-unit > span em { font-style: normal; font-weight: 700; }
.bk-unit input:checked + span { border-color: var(--bob); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bob) 25%, transparent); }
.bk-unit input:focus-visible + span { outline: 3px solid var(--bob); outline-offset: 2px; }
.bk-unit:hover > span { transform: translateY(-2px); }
.bkcal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: relative; }
.cal-nav { display: flex; justify-content: space-between; position: absolute; left: 14px; right: 14px; top: 14px; pointer-events: none; }
.cal-nav button { pointer-events: auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: inherit; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.mos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 640px) { .mos { grid-template-columns: 1fr; } .mo:nth-child(2) { display: none; } }
.mo-h { text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; text-transform: capitalize; margin-bottom: 8px; line-height: 38px; }
.mo-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mo-g .wd { text-align: center; font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: clip; white-space: nowrap; text-transform: capitalize; }
.mo-g .d { aspect-ratio: 1; border: 0; border-radius: 10px; font: inherit; font-size: .95rem; color: inherit; background: transparent; cursor: pointer; }
.mo-g .d.ok { background: color-mix(in srgb, #37A862 16%, var(--surface)); }
.mo-g .d.ok:hover, .mo-g .d.co:hover { outline: 2px solid var(--ink); }
.mo-g .d.co { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--muted) 20%, transparent) 0 4px, transparent 4px 8px); }
.mo-g .d.occ { background: color-mix(in srgb, var(--muted) 14%, var(--surface)); text-decoration: line-through; cursor: not-allowed; color: var(--muted); }
.mo-g .d.off { opacity: .35; cursor: not-allowed; }
.mo-g .d.in { background: color-mix(in srgb, var(--bob) 30%, var(--surface)); border-radius: 0; }
.mo-g .d.sel { background: var(--bob); color: var(--on-bob); font-weight: 700; }
.cal-key { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin: 14px 0 0; align-items: center; }
.cal-key .k { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: -8px; }
.cal-key .k.ok { background: color-mix(in srgb, #37A862 30%, var(--surface)); } .cal-key .k.occ { background: color-mix(in srgb, var(--muted) 30%, var(--surface)); } .cal-key .k.sel { background: var(--bob); }
.bk-dates { font-weight: 600; margin: 12px 0 0; }
.stps { display: grid; gap: 10px; }
.stp { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.stp small { display: block; color: var(--muted); }
.stp[hidden] { display: none; }
.stp-c { display: flex; align-items: center; gap: 14px; }
.stp-c button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.stp-c button:disabled { opacity: .3; cursor: not-allowed; }
.stp-c output { min-width: 1.6ch; text-align: center; font-weight: 700; font-size: 1.2rem; }
.bk-form label { display: block; font-weight: 600; margin-bottom: 14px; }
.bk-form input:not([type=checkbox]), .bk-form textarea { display: block; width: 100%; margin-top: 4px; padding: 12px 14px; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.bk-form .hp { position: absolute; left: -9999px; }
.bk-form .chk { display: flex; gap: 10px; font-weight: 400; }
.bk-sum { position: sticky; top: calc(var(--head) + 16px); background: var(--deep); color: var(--on-deep); border-radius: var(--r); padding: 26px; }
.bk-sum h3 { margin: 0 0 12px; font-size: 1.3rem; }
.bk-sum .muted { color: color-mix(in srgb, var(--on-deep) 72%, transparent); margin: 0 0 10px; }
.bk-sum .small { font-size: .9rem; margin: 14px 0 0; }
.bk-sum .tot { font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 14px 0; }
.bk-sum .tot.small { font-size: 1.5rem; }
.bk-sum .btn { width: 100%; margin-top: 8px; }
.bk-sum .btn:disabled { opacity: 1; background: transparent; color: color-mix(in srgb, var(--on-deep) 62%, transparent); border: 2px dashed color-mix(in srgb, var(--on-deep) 30%, transparent); box-shadow: none; cursor: not-allowed; animation: none; }
.err { color: #B3261E; font-weight: 600; min-height: 1.2em; }
.bk-sum .err { color: #FFB4A6; }
@media (max-width: 960px) { .bk-sum { position: static; } }
.bk-form .chk[hidden] { display: none; }

/* Lintujen lento (kesäkohtaus) */
@keyframes birds { from { transform: translateX(-60px); } to { transform: translateX(680px); } }

.steam-band .sb-bg { position: absolute; inset: 0; display: block; }
.steam-band .sb-bg img, .steam-band .sb-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steam-band > img { position: absolute; inset: 0; }
.marquee [data-only] { display: block; }
html[data-season="talvi"] .marquee [data-only="kesa"], html[data-season="kesa"] .marquee [data-only="talvi"] { display: none; }
.steam-band.x::after { content: none; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }
.season-note { margin: 0 0 28px; padding: 16px 20px; border-radius: var(--r); background: color-mix(in srgb, var(--bob) 14%, transparent); border: 1px solid color-mix(in srgb, var(--bob) 40%, transparent); font-weight: 500; }
html[data-season="talvi"] .season-note { display: none; }
.bobber-w .flakes path { animation: flake 5s linear infinite; } .bobber-w .flakes path:nth-child(2n) { animation-duration: 7s; animation-delay: -2s; } .bobber-w .flakes path:nth-child(3n) { animation-duration: 6s; animation-delay: -4s; }
@keyframes flake { from { transform: translateY(-20px); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(150px); opacity: .2; } }
.bobber-w .ripples ellipse { transform-origin: 80px 152px; }
.bobber-w { overflow: visible; }
/* Piirretyt korttikuvitukset */
.illo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg2); }
.illo svg { display: block; width: 100%; height: 100%; }
a.card .illo svg { transition: transform .6s; }
a.card:hover .illo svg { transform: scale(1.05); }
.card.plain { border-style: solid; }
.illo .il-snow circle { animation: ilSnow 6s linear infinite; }
@keyframes ilSnow { from { transform: translateY(-40px); opacity: 0; } 12% { opacity: 1; } to { transform: translateY(210px); opacity: .3; } }
.illo .il-glow { transform-box: fill-box; transform-origin: center; animation: ilGlow 2.4s ease-in-out infinite; }
@keyframes ilGlow { 50% { transform: scale(1.18); opacity: .6; } }
.illo .il-track, .illo .il-trail, .illo .il-route { animation: ilDash 2.2s linear infinite; }
@keyframes ilDash { to { stroke-dashoffset: -48; } }
.illo .il-stars circle { animation: ilTw 3s ease-in-out infinite; }
.illo .il-stars circle:nth-child(2n) { animation-delay: -1.5s; }
@keyframes ilTw { 50% { opacity: .2; } }
.illo .il-chair { animation: ilLift 9s linear infinite; }
.illo .il-chair.c2 { animation-delay: -3s; } .illo .il-chair.c3 { animation-delay: -6s; }
@keyframes ilLift { from { transform: translate(40px, 170px); } to { transform: translate(200px, 52px); } }
.illo .il-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: ilFlame .9s ease-in-out infinite alternate; }
.illo .il-flame.f2 { animation-duration: .7s; animation-delay: -.3s; } .illo .il-flame.f3 { animation-duration: .5s; }
@keyframes ilFlame { from { transform: scale(1, 1) skewX(-3deg); } to { transform: scale(.88, 1.12) skewX(4deg); } }
.illo .il-sparks circle { animation: ilSpark 1.8s ease-out infinite; }
.illo .il-sparks circle:nth-child(2) { animation-delay: -.5s; } .illo .il-sparks circle:nth-child(3) { animation-delay: -1s; } .illo .il-sparks circle:nth-child(4) { animation-delay: -1.4s; }
@keyframes ilSpark { from { transform: translate(0, 0); opacity: 1; } to { transform: translate(8px, -46px); opacity: 0; } }
.illo .il-steam path { animation: ilSteam 3.2s ease-in-out infinite; }
.illo .il-steam path:nth-child(2) { animation-delay: -1s; } .illo .il-steam path:nth-child(3) { animation-delay: -2s; }
@keyframes ilSteam { from { transform: translateY(14px); opacity: 0; } 30% { opacity: .8; } to { transform: translateY(-26px); opacity: 0; } }
.illo .il-ember { animation: ilTw 1.6s ease-in-out infinite; }
.illo .il-smoke circle { animation: ilSmoke 3.6s ease-out infinite; }
.illo .il-smoke circle:nth-child(2) { animation-delay: -1.2s; } .illo .il-smoke circle:nth-child(3) { animation-delay: -2.4s; }
@keyframes ilSmoke { from { transform: translate(0, 18px) scale(.6); opacity: 0; } 30% { opacity: .85; } to { transform: translate(10px, -14px) scale(1.4); opacity: 0; } }
.illo .il-waves path { animation: ilWave 3s ease-in-out infinite alternate; }
@keyframes ilWave { to { transform: translateX(-12px); } }
.illo .il-pin { animation: ilPin 1.6s ease-in-out infinite; }
@keyframes ilPin { 50% { transform: translate(290px, 62px); } }
.illo .il-needle { transform-box: fill-box; transform-origin: center; animation: ilNeedle 4s ease-in-out infinite; }
@keyframes ilNeedle { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(14deg); } }
.bk > * { min-width: 0; }
@media (max-width: 1180px) and (min-width: 961px) { .mos { grid-template-columns: 1fr; } .mo:nth-child(2) { display: none; } }
/* ===== Varaus 2: ryhmä, päivät, huoneet ===== */
.bk-tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 8px; }
.bk-tabs button { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; padding: 10px 22px; border-radius: 999px; cursor: pointer; }
.bk-tabs button[aria-pressed="true"] { background: var(--bob); color: var(--on-bob); }
.bk-step { margin-top: 34px; }
.bk-step h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; }
.bk-step h2 .n { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 1rem; }
.bk-hint { margin: 12px 0 0; color: var(--muted); }
.bk-hint b { color: var(--ink); }
#bk.is-trip .stay-only, #bk:not(.is-trip) .trip-only, #bk.is-trip .kids { display: none !important; }
.bk-fit { margin-bottom: 14px; }
.bk-fit .muted { color: var(--muted); margin: 0; }
.fit-bar { height: 10px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.fit-bar span { display: block; height: 100%; background: var(--bob); border-radius: 99px; transition: width .4s; }
.fit-bar.ok span { background: #37A862; }
.fit-num { margin: 8px 0 0; font-size: .95rem; color: var(--muted); }
.fit-num b { color: var(--ink); font-size: 1.05rem; }
.fit-sug { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--bob) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bob) 35%, transparent); }
.fit-note { margin: 10px 0 0; font-size: .95rem; color: var(--muted); }
.fit-warn { margin: 12px 0 8px; font-weight: 600; color: color-mix(in srgb, var(--bob) 80%, var(--ink)); }
.fit-add { display: flex; flex-wrap: wrap; gap: 8px; }
.fit-add button { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 2px dashed var(--bob); background: transparent; color: inherit; cursor: pointer; }
.fit-add button small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.fit-add button:hover { background: color-mix(in srgb, var(--bob) 12%, transparent); }
.bk-rooms { display: grid; gap: 10px; }
.rm { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; border: 2px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .2s, box-shadow .2s, opacity .2s; }
.rm.sel { border-color: var(--bob); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bob) 22%, transparent); }
.rm.busy { opacity: .55; }
.rm-pic { width: 88px; height: 66px; border-radius: 12px; overflow: hidden; background: var(--bg2); }
.rm-pic img { width: 100%; height: 100%; object-fit: cover; }
.rm-in { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rm-in small { color: var(--muted); }
.rm-alloc { font-weight: 600; font-size: .92rem; color: #2b8a52; }
.rm-state { font-weight: 600; font-size: .92rem; color: var(--muted); }
.rm-btn { font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: inherit; cursor: pointer; white-space: nowrap; }
.rm.sel .rm-btn { background: var(--bob); border-color: var(--bob); color: var(--on-bob); }
.rm-btn:disabled { border-style: dashed; cursor: not-allowed; }
@media (max-width: 560px) { .rm { grid-template-columns: 64px minmax(0, 1fr); } .rm-pic { width: 64px; height: 56px; } .rm-btn { grid-column: 1 / -1; width: 100%; } }
.sum-what { margin: 0 0 14px; font-weight: 700; }
.sum-what span { font-weight: 400; color: color-mix(in srgb, var(--on-deep) 75%, transparent); }
.sum-rooms { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.sum-rooms li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); }
.sum-rooms li span { display: flex; flex-direction: column; }
.sum-rooms small { color: color-mix(in srgb, var(--on-deep) 70%, transparent); }
.sum-rooms em { font-style: normal; font-weight: 700; white-space: nowrap; }
.bk-bar { display: none; }
@media (max-width: 960px) {
  .bk-bar:not([hidden]) { display: flex; position: fixed; z-index: 95; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px; background: color-mix(in srgb, var(--deep) 92%, transparent); color: var(--on-deep); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
  .bk-bar small { display: block; font-size: .75rem; opacity: .75; }
  .bk-bar b { font-family: var(--display); font-size: 1.3rem; }
  body:has(#bk) .dockbar { display: none; }
}
.illo .il-boat { animation: ilRock 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center bottom; }
@keyframes ilRock { 50% { transform: rotate(-2deg) translateY(1px); } }
.illo .il-jump { animation: ilJump 3.6s ease-in-out infinite; }
@keyframes ilJump { 0%, 55% { transform: translate(250px, 170px) rotate(0); opacity: 0; } 60% { opacity: 1; } 75% { transform: translate(270px, 140px) rotate(-30deg); opacity: 1; } 90% { transform: translate(292px, 168px) rotate(40deg); opacity: 1; } 100% { transform: translate(296px, 180px) rotate(60deg); opacity: 0; } }
.bk-trips { margin-top: 18px; }
.bk-trips .bk-units { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.bk-guide { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-weight: 600; cursor: pointer; }
.bk-guide input { width: 20px; height: 20px; accent-color: var(--bob); }
/* Mobiili: ei vaakavieritystä */
html { overflow-x: hidden; }
body { overflow-x: clip; }
main p a, main li a, .content a[href^="mailto:"], .site-footer a { overflow-wrap: anywhere; }
.two > *, .fish > *, .wrap > * { min-width: 0; }
/* Mobiilivalikko koko näytön päälle */
.nav-cta { display: none; }
@media (max-width: 1240px) {
  .site-header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header .brand { position: relative; z-index: 101; }
  .nav.open { padding-bottom: max(24px, env(safe-area-inset-bottom)); animation: menuIn .22s ease-out; }
  .nav.open .nav-cta { display: flex; gap: 10px; margin-top: auto; padding-top: 28px; }
  .nav.open .nav-cta .btn { flex: 1; justify-content: center; }
  .nav.open .nav-cta .btn.ghost { color: var(--ink); border-color: var(--ink); }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 1240px) {
  .nav.open > a, .nav.open > .has-sub > a { font-size: clamp(1.5rem, 6.4vw, 2rem); padding: 6px 0; }
  .nav.open .sub a { padding: 3px 0; font-size: 1rem; }
}
.site-header.over.menu-open, .site-header.menu-open { color: var(--ink); background: var(--bg); }
/* Vuodenaikakuva: sama talo talvella ja kesällä, vaihto häivyttäen */
.season-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.1s ease; }
.page-head .season-pic { position: absolute; inset: 0; opacity: .5; }
.page-head .season-pic img { opacity: 1; }
html[data-season="kesa"] .season-pic .sp-talvi, html:not([data-season="kesa"]) .season-pic .sp-kesa { opacity: 0 !important; }
/* Talon seinät ja ikkunat ovat kuvan alaosassa: rajataan alhaalta, jotta talo näkyy etäisyyspalkin yläpuolella eikä pelkkä katto. */
.hero-media.season-pic img { object-position: 50% 92%; }
.page-head .season-pic img { object-position: 50% 85%; }

/* ===== Kesäkohtaus: vene kaislikon reunassa (scenes.mjs riverScene, liike app.js:ssä) ===== */
.riverscene { background: #2c7690; }
.riverscene .rs-blade { fill: #5f8d3b; }
.riverscene .rs-blade2 { fill: #3d6a2b; }
.riverscene .rs-stem { fill: none; stroke: #4c7431; stroke-width: 2.2; stroke-linecap: round; }
.riverscene .rs-tail rect { fill: #6e4524; }
.riverscene .rs-reeds { transform-box: fill-box; transform-origin: 50% 100%; animation: rsSway 5.6s ease-in-out infinite alternate; }
.riverscene .rr2 { animation-duration: 4.3s; animation-delay: -1.4s; }
.riverscene .rr3 { animation-duration: 6.4s; animation-delay: -2.2s; }
.riverscene .rr4 { animation-duration: 4.9s; animation-delay: -.7s; }
.riverscene .rs-farreeds { transform-box: fill-box; transform-origin: 50% 100%; animation: rsSway 7s ease-in-out infinite alternate; }
@keyframes rsSway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.6deg) skewX(-1.2deg); } }
.riverscene .rs-shimmer path { animation: rsShim 5s ease-in-out infinite; }
@keyframes rsShim { 0%, 100% { opacity: .08; transform: translateX(-7px); } 50% { opacity: .5; transform: translateX(7px); } }
.riverscene .rs-glints path { animation: rsGlint 2.6s ease-in-out infinite; }
@keyframes rsGlint { 0%, 100% { opacity: .15; } 50% { opacity: .8; } }
.riverscene .rs-clouds { animation: rsCloud 38s ease-in-out infinite alternate; }
@keyframes rsCloud { to { transform: translateX(46px); } }
.riverscene .rs-birds { animation: birds 28s linear infinite; }
.riverscene .rs-sunglow { transform-box: fill-box; transform-origin: center; animation: rsGlow 6s ease-in-out infinite; }
@keyframes rsGlow { 50% { transform: scale(1.12); opacity: .8; } }
.riverscene .rs-pads { animation: rsPads 6s ease-in-out infinite alternate; }
@keyframes rsPads { to { transform: translate(4px, 1px); } }
.riverscene .rs-fbody { fill: #a9bb4f; }
.riverscene .rs-bars { fill: none; stroke: #3f5a25; stroke-width: 2.6; opacity: .7; }
.riverscene .rs-fin { fill: #ff7a3d; }
.riverscene .rs-eye { fill: #1b1b1b; }
.riverscene .rs-wings { animation: rsWing .07s linear infinite alternate; }
@keyframes rsWing { to { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .riverscene * { animation: none !important; } }

/* ===== Talvikohtaus: pilkkijä avannolla (scenes.mjs iceRodScene, liike app.js:ssä) ===== */
.winterscene { background: #e9f2f7; }
.winterscene .rs-fbody { fill: #a9bb4f; }
.winterscene .rs-bars { fill: none; stroke: #3f5a25; stroke-width: 2.6; opacity: .7; }
.winterscene .rs-fin { fill: #ff7a3d; }
.winterscene .rs-eye { fill: #1b1b1b; }
.winterscene .ws-snow path { opacity: .9; animation: wsFall 9s linear infinite; }
@keyframes wsFall { from { transform: translate(0, 0); } to { transform: translate(34px, 460px); } }
.winterscene .ws-farrod { transform-box: fill-box; transform-origin: 0 0; animation: wsJig 1.3s ease-in-out infinite; }
@keyframes wsJig { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-9deg); } 50% { transform: rotate(2deg); } 75% { transform: rotate(-6deg); } }
.winterscene .ws-sunglow { transform-box: fill-box; transform-origin: center; animation: rsGlow 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .winterscene * { animation: none !important; } }

/* Mobiili: talon julkisivu näkyviin. Kuva peittää ruudun koko korkeudelta, joten seinät jäisivät painikkeiden
   ja etäisyyspaneelin alle. Siksi tekstin alle jätetään vapaa kaistale, kuva päättyy sen alareunaan ja
   etäisyydet tulevat kuvan alle. */
@media (max-width: 760px) {
  .hero { display: grid; grid-template-columns: 100%; grid-template-rows: auto minmax(40svh, auto) auto; align-items: end; min-height: 0; }
  .hero-copy { grid-row: 1; grid-column: 1; padding-bottom: 18px; }
  .hero-media, .hero-shade { grid-row: 2 / 3; grid-column: 1 / 2; inset: auto 0 0 0; top: -46svh; }
  .hero-media { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%); mask-image: linear-gradient(to bottom, transparent 0, #000 20%); }
  .hero-media.season-pic img { object-position: 52% 100%; animation: none; }
  .hero-media.season-pic img.sp-kesa { object-position: 47% 100%; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,16,24,0) 0%, rgba(5,16,24,.55) 20%, rgba(5,16,24,.45) 46%, rgba(5,16,24,.04) 64%, rgba(5,16,24,.18) 100%); }
  .hero-dock { position: relative; grid-row: 3; grid-column: 1; }
}

/* Elämykset-sivun aiheosiot: iso kuvitus tai kuva ja teksti vuorotellen */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); text-decoration: none; font-weight: 600; font-size: .95rem; }
.jump a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.act { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.act.rev .act-media { order: 2; }
.act-media { border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(5,16,24,.55); background: var(--bg2); }
.act-media .illo { aspect-ratio: 16 / 10; }
.act-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.act-copy h2 { margin: 0 0 14px; }
.act-copy p { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--muted); }
.act-copy .chips { margin: 22px 0 26px; }
[id].section { scroll-margin-top: 70px; }
@media (max-width: 860px) { .act { grid-template-columns: 1fr; } .act.rev .act-media { order: 0; } }
.illo .il-wheel { transform-box: fill-box; transform-origin: center; animation: ilSpin 1s linear infinite; }
@keyframes ilSpin { to { transform: rotate(360deg); } }
.illo .il-bike { animation: ilBob .45s ease-in-out infinite alternate; }
@keyframes ilBob { to { transform: translateY(-1.5px); } }
.illo .il-road { animation: ilRoad 1.1s linear infinite; }
@keyframes ilRoad { to { stroke-dashoffset: 52; } }
.illo .il-swing { transform-box: view-box; transform-origin: 111px 46px; animation: ilSwing 2.4s ease-in-out infinite alternate; }
@keyframes ilSwing { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
.illo .il-ball { transform-box: fill-box; animation: ilBall 1.3s cubic-bezier(.3, 0, .7, 1) infinite; }
@keyframes ilBall { 50% { transform: translateY(-26px); } }

/* Tuulastus: lyhty, valokeila, kaislat ja kala */
.illo .il-beam { animation: ilBeam 3.2s ease-in-out infinite; }
.illo .il-lamp { animation: ilLamp 1.7s ease-in-out infinite; }
.illo .il-afloat { animation: ilAfloat 3.4s ease-in-out infinite alternate; }
.illo .il-reed { transform-box: fill-box; transform-origin: 50% 100%; animation: ilReed 4.6s ease-in-out infinite alternate; }
.illo .il-reed.r1 { animation-duration: 5.4s; animation-delay: -2s; }
.illo .il-reed.r2 { animation-duration: 3.9s; animation-delay: -1s; }
.illo .il-glint line { animation: ilTw 2.2s ease-in-out infinite; }
.illo .il-fish { animation: ilFish 9s ease-in-out infinite; }
.illo .il-moth { transform-box: view-box; transform-origin: 196px 101px; animation: ilMoth 2.8s linear infinite; }
.illo .il-moth.m2 { animation-duration: 3.6s; animation-direction: reverse; }
@keyframes ilBeam { 0%, 100% { opacity: .9; } 40% { opacity: 1; } 55% { opacity: .72; } 70% { opacity: .96; } }
@keyframes ilLamp { 0%, 100% { opacity: .85; } 30% { opacity: 1; } 62% { opacity: .68; } }
@keyframes ilAfloat { to { transform: translateY(1.8px); } }
@keyframes ilReed { from { transform: rotate(-1.5deg); } to { transform: rotate(1.7deg); } }
@keyframes ilFish { 0%, 100% { transform: translateX(6px); opacity: 0; } 18% { opacity: .65; } 55% { transform: translateX(-24px); opacity: .65; } 80% { opacity: 0; } }
@keyframes ilMoth { to { transform: rotate(360deg); } }
/* Yhteiset osiot: tausta ja puoli vuorottelevat sen mukaan, montako osiota vuodenajalla on ennen niitä */
html:not([data-season="kesa"]) .section.alt-t, html[data-season="kesa"] .section.alt-k { background: var(--bg2); }
@media (min-width: 861px) { html:not([data-season="kesa"]) .act.rev-t .act-media, html[data-season="kesa"] .act.rev-k .act-media { order: 2; } }
.act-copy h2 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 600px) {
  .ph-grid:has(.jump) .ph-art { display: none; }
  .jump { gap: 6px; margin-top: 18px; }
  .jump a { padding: 6px 12px; font-size: .88rem; }
}

/* Kalastuskuvien rivi */
.pstrip { margin-top: clamp(36px, 5vw, 56px); }
.pstrip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pstrip-grid a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: color-mix(in srgb, currentColor 8%, transparent); }
.pstrip-grid img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pstrip-grid a:hover img { transform: scale(1.05); }
.pstrip-more { display: inline-block; margin-top: 14px; font-weight: 700; color: inherit; }
.act-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 440px; margin: 0 0 24px; }
.act-thumbs a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg2); }
.act-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.act-thumbs a:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .pstrip-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Lapset: potkivat jalat keinussa, jalkapallo ja pulkkamäki */
.illo .il-kick { transform-box: view-box; animation: ilKick 2.4s ease-in-out infinite alternate; }
@keyframes ilKick { from { transform: rotate(-40deg); } to { transform: rotate(14deg); } }
.illo .il-kickleg { transform-box: view-box; transform-origin: 213px 149px; animation: ilKickLeg 2.2s ease-in-out infinite; }
@keyframes ilKickLeg { 0%, 14% { transform: rotate(0); } 32% { transform: rotate(30deg); } 44% { transform: rotate(-50deg); } 62%, 100% { transform: rotate(0); } }
.illo .il-shot { animation: ilShot 2.2s linear infinite; }
@keyframes ilShot { 0% { transform: translate(0, 0); opacity: 0; } 8%, 44% { transform: translate(0, 0); opacity: 1; } 68% { transform: translate(48px, -40px); } 92% { transform: translate(96px, -4px); opacity: 1; } 100% { transform: translate(102px, 0); opacity: 0; } }
.illo .il-sled { animation: ilSled 4.4s cubic-bezier(.45, 0, .85, .55) infinite; }
@keyframes ilSled { 0% { transform: translateX(10px); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(-122px); opacity: 0; } }
.illo .il-scarf { transform-box: fill-box; transform-origin: 0 50%; animation: ilScarf .5s ease-in-out infinite alternate; }
@keyframes ilScarf { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.card .icescene { aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; }

/* Varaus: lisäpalvelut ja valmiiksi valittu palvelu */
.bk-extras .bk-unit > span { padding-left: 46px; }
.bk-extras .bk-unit > span::before { content: ""; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 5px; background: var(--surface); }
.bk-extras .bk-unit input:checked + span::before { background: var(--bob); border-color: var(--bob); box-shadow: inset 0 0 0 3px var(--surface); }
.bk-picked { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--bob) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--bob) 40%, transparent); font-weight: 600; }
.bk-picked a { margin-left: 6px; }
.sum-extras { margin: 10px 0 14px; }
.sum-extras ul { margin: 6px 0 4px; padding-left: 18px; }
.sum-extras .small { font-size: .85rem; }

/* Aiheosiot: faktalista ja kuvakaruselli */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 22px 0 26px; }
.facts div { border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); padding-top: 10px; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; font-weight: 700; }
.facts dd { margin: 4px 0 0; font-weight: 600; line-height: 1.4; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.rubric .act-copy p + p { margin-top: 12px; }
.deep .act-copy p { color: color-mix(in srgb, var(--on-deep) 82%, transparent); }
.fish-anchor { scroll-margin-top: 70px; }
.pcar { margin-top: clamp(28px, 4vw, 44px); }
.pcar-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.pcar-nav { display: flex; gap: 6px; }
.pcar-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pcar-nav button:disabled { opacity: .3; cursor: default; }
.pcar.fits .pcar-nav { display: none; }
.pcar-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.pcar-track::-webkit-scrollbar { display: none; }
.pcar-track figure { flex: 0 0 auto; width: clamp(220px, 24vw, 300px); margin: 0; scroll-snap-align: start; }
.pcar-track button { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: color-mix(in srgb, currentColor 8%, transparent); }
.pcar-track img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.pcar-track button:hover img { transform: scale(1.05); }
.pcar-track figcaption { font-size: .85rem; opacity: .75; padding: 6px 2px 0; }
.pcar-all { display: inline-block; margin-top: 12px; font-weight: 700; color: inherit; }
@media (max-width: 700px) { .pcar-track figure { width: 72vw; } }

/* Galleriasivu: aiheen teksti ja varaus ennen kuvia */
.gal-intro { margin: 0 0 clamp(32px, 5vw, 56px); align-items: start; }
.gal-intro .facts { margin-top: 0; }
.gal-book { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.gal-faq { margin-top: clamp(40px, 6vw, 72px); }
.gal-faq h2 { margin-bottom: 8px; }

/* Varauslomake: "Miten löysit meidät?" (molemmat sivut) */
.heard { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.heard legend { font-weight: 600; padding: 0; margin-bottom: 8px; }
.heard-o { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-form .heard label { position: relative; display: block; margin: 0; font-weight: 500; cursor: pointer; }
.bk-form .heard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.heard label span { display: block; padding: 9px 14px; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); line-height: 1.25; transition: border-color .2s, background-color .2s; }
.heard label:hover span { border-color: color-mix(in srgb, var(--bob) 55%, var(--line)); }
.heard input:checked + span { border-color: var(--bob); background: var(--bob); color: var(--on-bob); font-weight: 600; }
.heard input:focus-visible + span { outline: 3px solid var(--bob); outline-offset: 2px; }

/* Kalastuksen taustavideo koko osion leveydeltä: etusivun kalastusosio ja kalastussivun alku */
.vbg { position: relative; overflow: clip; isolation: isolate; }
.vbg-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--deep); }
.vbg-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Kapealla näytöllä rajaus pilkkijän kasvoihin ja käsiin (ei selkään). */
.vbg-zima { object-position: 42% 50%; }
/* Leveällä näytöllä talvivideo levitetään oikealle, jotta pilkkijä jää tekstin oikealle puolelle. */
@media (min-width: 901px) { .vbg-zima { width: 140%; object-position: 0% 50%; } }
.vbg-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, color-mix(in srgb, var(--deep) 92%, transparent) 0%, color-mix(in srgb, var(--deep) 76%, transparent) 42%, color-mix(in srgb, var(--deep) 34%, transparent) 100%),
  linear-gradient(180deg, color-mix(in srgb, var(--deep) 75%, transparent) 0%, transparent 20%, transparent 72%, color-mix(in srgb, var(--deep) 90%, transparent) 100%); }
.vbg > .wrap { position: relative; z-index: 1; }
.vbg > .aurora { display: none; }
.vbg > canvas.fx { z-index: 1; }
@media (max-width: 900px) { .vbg-shade { background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 88%, transparent), color-mix(in srgb, var(--deep) 72%, transparent) 45%, color-mix(in srgb, var(--deep) 90%, transparent)); } }

/* Taustavideon pysäytyspainike ja vianetsintä (?vdebug) */
.vbg-btn { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-deep) 45%, transparent); background: color-mix(in srgb, var(--deep) 55%, transparent); color: var(--on-deep); cursor: pointer; opacity: .7; transition: opacity .2s; }
.vbg-btn:hover, .vbg-btn:focus-visible { opacity: 1; }
.vbg-btn:focus-visible { outline: 3px solid var(--bob); outline-offset: 2px; }
.vbg-btn svg { width: 15px; height: 15px; fill: currentColor; }
.khero.vbg > .vbg-btn { top: calc(var(--head) + 12px); }
.vbg-dbg { position: absolute; left: 8px; right: 8px; top: calc(var(--head) + 60px); z-index: 5; margin: 0; padding: 8px; background: rgba(0,0,0,.8); color: #7f7; font: 12px/1.35 ui-monospace, monospace; white-space: pre-wrap; border-radius: 8px; }
