/* ==========================================================================================================
   Pakenema — V2 "Seikkailu" (escape-room storytelling, playful). Design variant WRK-2026-10-001.
   Tokens come from tokens.css (generated from design-system/tokens.json). Everything this variant ADDS is a
   --pl-* custom property in the :root block below and is listed in DESIGN.md → "Design-system extensions".
   Booking chrome contract: the PHP booking page loads ONLY fonts.css, tokens.css, this file and nav.js, so every
   shared class (header, footer, section, eyebrow, buttons …) is fully styled here, with no JS dependency.
   ========================================================================================================== */

/* ---- Accent font: Caveat Brush (SIL OFL 1.1, @fontsource/caveat-brush 5.3.0, latin + latin-ext) ---------- */
@font-face {
  font-family: 'Caveat Brush'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/caveat-brush-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Caveat Brush'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/caveat-brush-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* V2 extensions (proposals, need owner approval before adoption — see DESIGN.md) */
  --pl-paper: #FBF6EA;          /* warm cream page surface */
  --pl-paper-2: #F5EDDA;        /* kraft: alternate light band */
  --pl-card: #FFFDF8;           /* card paper */
  --pl-line: #E4D8BC;           /* paper hairline */
  --pl-muted: #5A5F67;          /* text-muted darkened to hold AA on kraft */
  --pl-pink: #E9B6DF;           /* magenta tint: text + doodles on dark */
  --pl-pink-soft: #F2DDEC;      /* magenta wash on light surfaces */
  --pl-board: #2C4A3F;          /* chalkboard green (success hue shifted toward teal, darkened) */
  --pl-board-deep: #1F372E;
  --pl-chalk: #F6F3E8;          /* chalk white */
  --pl-chalk-dim: #C5D2C6;
  --pl-wood: #9B6B43;           /* board frame */
  --pl-wood-dark: #6F4A2D;
  --font-hand: 'Caveat Brush', 'Bradley Hand', 'Segoe Print', 'Marker Felt', system-ui, sans-serif;
  --pl-ease: cubic-bezier(.22, .9, .3, 1);
  --pl-spring: cubic-bezier(.34, 1.56, .64, 1);
  --pl-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .2 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --pl-zig: polygon(0 0, 100% 0, 98.4% 25%, 100% 50%, 98.4% 75%, 100% 100%, 0 100%, 1.6% 75%, 0 50%, 1.6% 25%);
}

/* ---- Reset & document ------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; } /* smooth in-page scrolling is done in play.js (motion-gated), not globally */
body {
  margin: 0; font-family: var(--typography-font-body); font-size: var(--typography-scale-body);
  line-height: var(--typography-line-height-body); color: var(--color-text-body);
  background: var(--pl-paper) var(--pl-grain); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
svg { overflow: visible; }
h1, h2, h3, h4 {
  font-family: var(--typography-font-heading); line-height: var(--typography-line-height-heading);
  letter-spacing: var(--typography-letter-spacing-heading); font-weight: var(--typography-weight-bold);
  margin: 0 0 var(--spacing-m); color: var(--color-surface-dark); text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { margin: 0 0 var(--spacing-m); }
a { color: var(--color-brand-primary); text-underline-offset: .2em; }
:where(a, button, summary, input, select, [tabindex]):focus-visible {
  outline: 3px solid var(--focus, var(--color-brand-primary)); outline-offset: 3px; border-radius: var(--radius-s);
}
.hero, .section--dark, .site-header, .site-footer, .banner, .final { --focus: var(--color-brand-accent); }
::selection { background: var(--pl-pink); color: var(--color-surface-dark); }

/* ---- Utilities --------------------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--spacing-s); top: -4rem; z-index: 100;
  background: var(--color-brand-accent); color: var(--color-text-on-accent); font-weight: 700;
  padding: var(--spacing-s) var(--spacing-m); border-radius: var(--radius-s); transition: top .15s;
}
.skip-link:focus { top: var(--spacing-s); }
.container { max-width: var(--layout-content-max); margin: 0 auto; padding-inline: var(--layout-gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.2em; }

/* Eyebrow: a strip of washi tape with torn ends */
.eyebrow {
  display: inline-block; font-size: var(--typography-scale-eyebrow); font-weight: var(--typography-weight-bold);
  letter-spacing: var(--typography-letter-spacing-eyebrow); text-transform: uppercase; line-height: 1.2;
  color: var(--color-brand-primary-dark); background: var(--pl-pink-soft);
  padding: .5rem .95rem; margin-bottom: var(--spacing-m); transform: rotate(-1.4deg); clip-path: var(--pl-zig);
}
.hero .eyebrow, .section--dark .eyebrow, .final .eyebrow { background: rgba(233, 182, 223, .16); color: var(--pl-pink); }

/* ---- Buttons ----------------------------------------------------------------------------------------- */
.button {
  --btn-bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .6rem 1.6rem; border-radius: var(--radius-pill); text-decoration: none; text-align: center;
  font-family: var(--typography-font-heading); font-weight: var(--typography-weight-semibold); line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .25s var(--pl-spring), box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.button-lg { min-height: 58px; padding: .8rem 2.1rem; font-size: 1.0625rem; }
.button-cta {
  --btn-bg: var(--color-brand-accent);
  background: var(--btn-bg); color: var(--color-text-on-accent); overflow: hidden; isolation: isolate;
  box-shadow: var(--shadow-cta), inset 0 -3px 0 rgba(43, 46, 52, .14);
}
.button-cta::after { /* glint that sweeps across on hover (transform only) */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-140%) skewX(-18deg); transition: transform .6s ease;
}
.button-cta:hover { --btn-bg: var(--color-brand-accent-dark); transform: translateY(-3px) rotate(-1deg); box-shadow: 0 10px 22px rgba(253, 183, 19, .4), inset 0 -3px 0 rgba(43, 46, 52, .14); }
.button-cta:hover::after, .button-cta:focus-visible::after { transform: translateX(380%) skewX(-18deg); }
.button-cta:active { transform: translateY(0) scale(.98); }
.button-ghost { background: transparent; color: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.button-ghost:hover { background: var(--color-brand-primary); color: var(--color-text-on-primary); transform: translateY(-2px) rotate(.6deg); }
.hero .button-ghost, .section--dark .button-ghost, .final .button-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .button-ghost:hover, .section--dark .button-ghost:hover, .final .button-ghost:hover { background: #fff; color: var(--color-surface-dark); border-color: #fff; }
.button-chalk { background: var(--pl-chalk); color: var(--color-surface-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.button-chalk::before { content: ""; position: absolute; inset: -7px; border: 2px dashed rgba(246, 243, 232, .5); border-radius: inherit; transition: transform .3s var(--pl-spring), border-color .2s; }
.button-chalk:hover { transform: translateY(-3px) rotate(1deg); }
.button-chalk:hover::before { transform: scale(1.04) rotate(-.6deg); border-color: var(--pl-chalk); }
.button-chalk .icon { width: 1.3em; height: 1.3em; }
.button-cta .icon.btn-icon { width: 1.3em; height: 1.3em; }

/* Padlock inside primary CTAs: shackle lifts on hover / focus (and once, on its own, where there is no hover) */
.lock { width: 1.35em; height: 1.35em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.lock-body { fill: currentColor; }
.lock-hole { fill: var(--btn-bg); stroke: none; transition: fill .2s; }
.lock-shackle { transform-origin: 16.5px 11px; transition: transform .45s var(--pl-spring); }
.button:hover .lock-shackle, .button:focus-visible .lock-shackle, .button.is-unlocked .lock-shackle { transform: translateY(-2.4px) rotate(28deg); }
.lock { transition: transform .45s var(--pl-spring); }
.button:hover .lock, .button:focus-visible .lock, .button.is-unlocked .lock { transform: rotate(-8deg); }

.link-more { font-weight: var(--typography-weight-bold); text-decoration: none; display: inline-flex; align-items: center; gap: .15rem; color: var(--color-brand-primary); }
.link-more:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--pl-pink); }
.link-more > span[aria-hidden] { display: inline-block; transition: transform .25s var(--pl-spring); }
.link-more:hover > span[aria-hidden] { transform: translateX(5px); }
.section--dark .link-more, .final .link-more { color: var(--pl-pink); }

/* ---- Announcement banner ------------------------------------------------------------------------------ */
.banner {
  background: var(--color-brand-primary-dark); color: var(--color-text-on-primary); font-size: var(--typography-scale-small);
  padding: .55rem var(--layout-gutter); display: flex; justify-content: center; align-items: center; gap: .55rem; text-align: center;
}
.banner .icon { color: var(--pl-pink); width: 1.35em; height: 1.35em; transform-origin: 50% 8%; animation: ring 1.1s 1.2s 1 both; }
.banner a { color: #fff; font-weight: 700; text-decoration-color: var(--pl-pink); text-decoration-thickness: 2px; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-16deg); } 30% { transform: rotate(14deg); } 45% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }

/* ---- Header / nav ------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-surface-dark); transition: box-shadow .25s ease; }
.site-header.is-stuck { box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .55); }
.site-header::after { /* stitched seam */
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-brand-primary) 0 14px, transparent 14px 22px); opacity: .85;
}
.nav { max-width: var(--layout-content-max); margin: 0 auto; padding: .45rem var(--layout-gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-m); }
.nav-logo {
  display: inline-flex; align-items: center; color: var(--color-text-on-dark); text-decoration: none;
  font-family: var(--typography-font-heading); font-size: 1.5rem; font-weight: var(--typography-weight-extrabold);
  letter-spacing: var(--typography-letter-spacing-heading); min-height: 44px;
}
.nav-logo::before {
  content: ""; width: 1.45rem; height: 1.45rem; margin-right: .5rem; background: var(--pl-pink); transform: rotate(-35deg); flex: none;
  -webkit-mask: var(--pl-key) center / contain no-repeat; mask: var(--pl-key) center / contain no-repeat;
  transition: transform .4s var(--pl-spring);
  --pl-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='19' cy='32' r='11'/%3E%3Cpath d='M30 32h28M50 32v10M58 32v8'/%3E%3C/g%3E%3C/svg%3E");
}
.nav-logo:hover::before { transform: rotate(-5deg) scale(1.1); }
.nav-logo span { color: var(--pl-pink); }
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; color: var(--color-text-on-dark); text-decoration: none; font-weight: var(--typography-weight-medium);
  min-height: 44px; padding-inline: .7rem; display: inline-flex; align-items: center; gap: .4rem; border-radius: var(--radius-s); font-size: .9375rem; white-space: nowrap;
}
.nav-links a:not(.button)::before { /* hand-drawn underline that wipes in */
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 6px; height: 7px; transform: scaleX(0); transform-origin: left;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 C 10 1, 16 8, 24 4 S 40 1, 48 5 S 56 6, 58 3' fill='none' stroke='%23E9B6DF' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition: transform .35s var(--pl-ease);
}
.nav-links a:not(.button):hover::before, .nav-links a[aria-current="page"]::before { transform: scaleX(1); }
.nav-links a:not(.button):hover { color: #fff; }
.nav-links a.button-cta { color: var(--color-text-on-accent); margin-left: .35rem; min-height: 46px; padding-inline: 1.3rem; }
.nav-links li:not(.nav-lang) > a[href$="/tampere/"]::after { /* "soon" tag on the Tampere link (also on the booking page: pure CSS) */
  font-size: .625rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  background: var(--pl-board); color: var(--pl-chalk); padding: .25rem .45rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(246, 243, 232, .35);
}
html:lang(fi) .nav-links li:not(.nav-lang) > a[href$="/tampere/"]::after { content: "pian"; }
html:lang(en) .nav-links li:not(.nav-lang) > a[href$="/tampere/"]::after { content: "soon"; }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255, 255, 255, .25); color: var(--color-text-on-dark); border-radius: 12px;
  font-size: 1.35rem; min-height: 44px; min-width: 44px; cursor: pointer; line-height: 1;
}
.nav-lang { display: flex; align-items: center; }
.nav-lang a { border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius-s); padding-inline: .65rem; min-height: 44px; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; margin-left: .3rem; }
.nav-lang a::before { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 60; }
  .nav-links {
    position: fixed; inset: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: .7rem;
    padding: 5.2rem var(--layout-gutter) 7rem; overflow-y: auto; font-size: 1.1875rem;
    background: var(--color-surface-dark-alt) radial-gradient(60% 40% at 90% 0, rgba(150, 52, 134, .35), transparent);
    visibility: hidden; transform: translateX(100%); transition: transform .35s var(--pl-ease), visibility 0s .35s;
  }
  .nav-links.open { visibility: visible; transform: none; transition: transform .35s var(--pl-ease); }
  .nav-links > li { grid-column: 1 / -1; }
  .nav-links > li > a:not(.button) { width: 100%; min-height: 54px; padding-inline: .4rem; font-family: var(--typography-font-heading); font-weight: 600; border-bottom: 1px dashed rgba(255, 255, 255, .18); border-radius: 0; }
  .nav-links a:not(.button)::before { display: none; }
  /* the two cities become big tiles at the top (matches href so the booking page's header gets the same layout) */
  .nav-links > li:not(.nav-lang):has(> a[href$="/sastamala/"]), .nav-links > li:not(.nav-lang):has(> a[href$="/tampere/"]) { grid-column: auto; order: -2; }
  .nav-links > li:not(.nav-lang):has(> a[href$="/sastamala/"]) > a, .nav-links > li:not(.nav-lang):has(> a[href$="/tampere/"]) > a {
    flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 108px; padding: .9rem; border: 0; border-radius: 18px;
    font-size: 1.35rem; font-weight: 700; line-height: 1.1; gap: .5rem; color: #fff; box-shadow: 0 10px 22px rgba(0, 0, 0, .3);
  }
  .nav-links > li:not(.nav-lang):has(> a[href$="/sastamala/"]) > a { background: linear-gradient(145deg, var(--color-brand-primary), var(--color-brand-primary-dark)); }
  .nav-links > li:not(.nav-lang):has(> a[href$="/tampere/"]) > a { background: linear-gradient(145deg, #35574b, var(--pl-board-deep)); color: var(--pl-chalk); }
  .nav-links > li:not(.nav-lang):has(> a[href$="/tampere/"]) > a::after { align-self: flex-start; order: -1; }
  .nav-links > li:has(> .button-cta) { position: fixed; left: var(--layout-gutter); right: var(--layout-gutter); bottom: max(1.1rem, env(safe-area-inset-bottom)); order: 10; }
  .nav-links a.button-cta { width: 100%; min-height: 58px; margin: 0; font-size: 1.1rem; }
  .nav-lang { order: 9; justify-content: center; }
  .nav-lang a { margin: 0; min-width: 88px; justify-content: center; }
  .nav[data-open="true"] .nav-toggle { position: fixed; right: var(--layout-gutter); top: .6rem; }
}

/* ---- Sections ------------------------------------------------------------------------------------------ */
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); background: transparent; }
.section-inner { max-width: var(--layout-content-max); margin: 0 auto; padding-inline: var(--layout-gutter); position: relative; }
.section--paper { background: transparent; }
.section--alt, .section--kraft {
  background-color: var(--pl-paper-2);
  background-image: radial-gradient(rgba(90, 95, 103, .16) 1.1px, transparent 1.3px), var(--pl-grain); background-size: 22px 22px, auto;
}
.section--dark {
  background-color: var(--color-surface-dark); color: var(--color-text-on-dark);
  background-image: radial-gradient(70% 60% at 100% 0, rgba(150, 52, 134, .22), transparent), radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px); background-size: auto, 24px 24px;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-text-on-dark); }
.section--dark a:not(.button) { color: var(--pl-pink); }
.section--dark p { color: var(--color-text-on-dark-muted); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h1::after, .section-head h2::after {
  content: ""; display: block; width: 92px; height: 10px; margin-top: .55rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 10'%3E%3Cpath d='M2 6 C 10 1, 16 9, 24 5 S 38 1, 46 5 S 60 9, 68 5 S 82 2, 90 5' fill='none' stroke='%23963486' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left / contain no-repeat;
}
.section-head.center h2::after { margin-inline: auto; }
.section--dark .section-head h2::after { filter: brightness(1.6) saturate(.7); }
.section-head p { font-size: 1.0625rem; color: var(--pl-muted); }
.section--dark .section-head p { color: var(--color-text-on-dark-muted); }
.section-more { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; display: flex; flex-wrap: wrap; gap: var(--spacing-m); align-items: center; }

/* ---- Doodles: hand-drawn SVG that draw themselves (stroke-dashoffset), see play.js ------------------------ */
.doodle { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; pointer-events: none; }
html.js .doodle path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset var(--dur, 1s) var(--pl-ease) var(--dly, 0s); }
html.js .doodle.is-drawn path, html.js .is-drawn > .doodle path, html.js .board.is-writing .doodle path { stroke-dashoffset: 0; }
html.js .doodle--wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s linear var(--dly, 0s); }
html.js .doodle--wipe.is-drawn, html.js .board.is-writing .doodle--wipe { clip-path: inset(0 0 0 0); }
html.js .doodle--wipe path, html.js .doodle--wipe circle, .doodle--wipe path, .doodle--wipe circle { stroke-dasharray: 0.1 9; stroke-dashoffset: 0; stroke-width: 4.5; transition: none; }

/* ---- Hero ------------------------------------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: var(--color-text-on-dark); background-color: var(--color-surface-dark);
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.2px); background-size: 24px 24px;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(5.5rem, 10vw, 9rem);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70%; height: 140%;
  background: radial-gradient(closest-side, rgba(150, 52, 134, .5), rgba(150, 52, 134, .12) 60%, transparent 100%);
}
.hero-glow::after { content: ""; position: absolute; left: -40%; bottom: 10%; width: 60%; height: 60%; background: radial-gradient(closest-side, rgba(233, 182, 223, .12), transparent); }
.hero-inner { position: relative; z-index: 2; max-width: var(--layout-content-max); margin: 0 auto; padding-inline: var(--layout-gutter); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 1.1rem + 4.7vw, 4.5rem); font-weight: var(--typography-weight-extrabold);
  line-height: 1.04; letter-spacing: -.025em; margin-bottom: 1.2rem;
}
.hero--page h1, .hero--room h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.9rem); }
.hero h1 .accent { color: var(--pl-pink); }
.mark { position: relative; display: inline-block; }
.mark > .doodle { position: absolute; left: -1%; bottom: -.16em; width: 102%; height: .3em; color: var(--pl-pink); stroke-width: 5; }
.hero .mark:nth-of-type(1) > .doodle { --dly: .8s; }
.hero .mark:nth-of-type(2) > .doodle { --dly: 1.2s; }
.hero a:not(.button) { color: var(--pl-pink); text-decoration-color: rgba(233, 182, 223, .6); font-weight: 600; }
.hero-lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem); color: #D9DCE2; max-width: 36rem; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--spacing-m); align-items: center; margin: 2rem 0 0; }
.hero-copy--center { text-align: center; max-width: 40rem; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.hero-copy--center .hero-lead { margin-inline: auto; }
.hero-copy--center .hero-actions { justify-content: center; }
.hero-visual { position: relative; display: grid; place-items: center; }

.hero-facts { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.hero-facts li {
  position: relative; display: inline-flex; align-items: center; gap: .5rem; font: 600 .9375rem/1 var(--typography-font-heading); color: #F1F2F5;
  padding: .65rem 1rem .65rem .8rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
}
.hero-facts .icon { color: var(--pl-pink); width: 1.35em; height: 1.35em; }
.fact-ring .dd-circle { position: absolute; left: -9px; top: -8px; width: calc(100% + 18px); height: calc(100% + 16px); color: var(--pl-pink); stroke-width: 2.4; --dly: 1.6s; }

/* decorative floating clue icons */
.float { position: absolute; width: var(--s, 64px); height: var(--s, 64px); color: var(--pl-pink); opacity: .2; fill: none; stroke: currentColor; transform: translate3d(calc(var(--mx, 0) * var(--k, 10) * 1px), calc(var(--my, 0) * var(--k, 10) * 1px), 0) rotate(var(--r, 0deg)); transition: transform .5s var(--pl-ease); }
.float--key { --s: 78px; --r: -25deg; --k: 14; left: 1.5%; top: 2.5%; }
.float--puzzle { --s: 78px; --r: 14deg; --k: -10; left: 46%; bottom: 14%; opacity: .14; }
.float--magnifier { --s: 84px; --r: -10deg; --k: 8; right: 4%; bottom: 8%; opacity: .16; }
.float--spark1 { --s: 38px; --k: -16; right: 8%; top: 12%; opacity: .5; fill: var(--pl-pink); stroke: none; }
.float--spark2 { --s: 24px; --k: 12; left: 42%; top: 9%; opacity: .45; fill: var(--pl-pink); stroke: none; }
.float--keyhole { --s: 120px; --k: 8; right: 6%; top: 18%; opacity: .12; }

/* entrance (pure CSS so there is no flash before JS): hero children rise in one after another */
@media (prefers-reduced-motion: no-preference) {
  [data-in] { animation: rise .9s var(--pl-ease) both; }
  .hero-copy > [data-in]:nth-child(1) { animation-delay: .05s; } .hero-copy > [data-in]:nth-child(2) { animation-delay: .15s; }
  .hero-copy > [data-in]:nth-child(3) { animation-delay: .3s; } .hero-copy > [data-in]:nth-child(4) { animation-delay: .42s; }
  .hero-copy > [data-in]:nth-child(5) { animation-delay: .55s; }
  .hero-inner > [data-in]:nth-child(1) { animation-delay: .05s; } .hero-inner > [data-in]:nth-child(2) { animation-delay: .15s; }
  .hero-inner > [data-in]:nth-child(3) { animation-delay: .3s; } .hero-inner > [data-in]:nth-child(4) { animation-delay: .42s; }
  .hero-clock[data-in], .hero-visual[data-in] { animation-name: rise-tilt; animation-delay: .35s; animation-duration: 1.1s; }
  .float { animation: pop .8s var(--pl-spring) both; }
  .float--key { animation-delay: .5s; } .float--puzzle { animation-delay: .7s; } .float--magnifier { animation-delay: .9s; } .float--spark1 { animation-delay: 1.1s; } .float--spark2 { animation-delay: 1.3s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(34px) rotate(5deg) scale(.96); } }
@keyframes pop { from { opacity: 0; scale: .4; } }

/* torn-ticket perforation where a dark hero meets the paper */
.edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--pl-paper); z-index: 3;
  -webkit-mask: radial-gradient(circle 10px at 14px 0, transparent 97%, #000) 0 0 / 28px 100% repeat-x; mask: radial-gradient(circle 10px at 14px 0, transparent 97%, #000) 0 0 / 28px 100% repeat-x;
}
.hero--404 .edge, .hero--home .edge { display: none; }

/* ---- Flip clock (hero) ------------------------------------------------------------------------------------ */
.hero-clock { position: relative; justify-self: center; width: min(100%, 27rem); }
.clock-note { position: absolute; z-index: 3; left: -3.2rem; top: -2.4rem; margin: 0; font: 400 1.65rem/1 var(--font-hand); color: var(--pl-pink); transform: rotate(-7deg); display: flex; align-items: flex-start; gap: .2rem; }
.clock-note .dd-arrow { width: 3.4rem; height: 2.5rem; margin-top: .9rem; stroke-width: 3; --dly: 1.4s; transform: rotate(8deg); }
.clock {
  position: relative; padding: .8rem 1.25rem 1.5rem; border-radius: 26px; transform: rotate(2.2deg);
  background: linear-gradient(180deg, #3D414C, #2E323A); box-shadow: 0 36px 60px -24px rgba(0, 0, 0, .75), 0 0 0 2px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.clock::before, .clock::after { content: ""; position: absolute; bottom: .55rem; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8c909a, #3a3e47); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4); }
.clock::before { left: 1rem; } .clock::after { right: 1rem; }
.clock-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-bottom: .2rem; }
.clock-leds { display: inline-flex; gap: .45rem; padding-left: .2rem; }
.clock-leds i { width: 10px; height: 10px; border-radius: 50%; background: var(--pl-pink); box-shadow: 0 0 10px rgba(233, 182, 223, .8); }
.clock-leds i:nth-child(2) { background: rgba(233, 182, 223, .35); box-shadow: none; } .clock-leds i:nth-child(3) { background: rgba(233, 182, 223, .18); box-shadow: none; }
.clock-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; padding: 0; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--color-brand-primary-light), var(--color-brand-primary-dark)); border: 0;
  box-shadow: 0 3px 0 #4a1a43, 0 8px 14px rgba(0, 0, 0, .4); transition: transform .12s, box-shadow .12s;
}
.clock-toggle:active { transform: translateY(3px); box-shadow: 0 0 0 #4a1a43, 0 3px 6px rgba(0, 0, 0, .4); }
.clock-toggle .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.clock-toggle .ic-play { display: none; fill: currentColor; stroke-width: 2; }
.clock.is-paused .ic-pause { display: none; } .clock.is-paused .ic-play { display: block; }
.clock-face { display: flex; align-items: center; justify-content: center; gap: .3rem; font: 700 clamp(3.4rem, 2.2rem + 4.2vw, 5.6rem)/1 var(--typography-font-heading); }
.fd { position: relative; display: block; width: .74em; height: 1.1em; perspective: 5em; font-variant-numeric: tabular-nums; color: var(--pl-chalk); }
.fd > span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: linear-gradient(#2A2D34, #1B1D22); backface-visibility: hidden; }
.fd .fd-top, .fd .fd-ft { top: 0; border-radius: .12em .12em 0 0; transform-origin: 50% 100%; }
.fd .fd-bot, .fd .fd-fb { bottom: 0; border-radius: 0 0 .12em .12em; background: linear-gradient(#1B1D22, #23262C); transform-origin: 50% 0; }
.fd b { position: absolute; left: 0; right: 0; height: 200%; line-height: 1.1em; text-align: center; font-weight: inherit; }
.fd .fd-top b, .fd .fd-ft b { top: 0; } .fd .fd-bot b, .fd .fd-fb b { bottom: 0; }
.fd::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(8, 9, 11, .7); z-index: 6; }
.fd .fd-ft, .fd .fd-fb { display: none; z-index: 5; }
.fd.flipping .fd-ft, .fd.flipping .fd-fb { display: block; }
.fd.flipping .fd-ft { animation: flap-top .32s ease-in both; }
.fd.flipping .fd-fb { animation: flap-bot .32s .32s ease-out both; }
@keyframes flap-top { to { transform: rotateX(-90deg); } }
@keyframes flap-bot { from { transform: rotateX(90deg); } }
.clock-colon { display: grid; gap: .22em; padding-inline: .02em; }
.clock-colon i { width: .13em; height: .13em; border-radius: 50%; background: var(--pl-pink); box-shadow: 0 0 .25em rgba(233, 182, 223, .7); }
.clock.is-paused .clock-colon i { opacity: .35; }
.clock-caption { margin: 1.3rem 0 0; text-align: center; font: 400 1.35rem/1 var(--font-hand); letter-spacing: .02em; color: var(--pl-pink); }

/* ---- Ribbon (tilted tape under the hero) ---------------------------------------------------------------- */
.ribbon { position: relative; z-index: 4; margin-top: -3.6rem; margin-bottom: -1.4rem; padding: 1.6rem 0; overflow: hidden; pointer-events: none; }
.ribbon-band { margin-inline: -3%; background: var(--color-brand-primary); color: #fff; transform: rotate(-1.2deg); box-shadow: 0 10px 26px rgba(43, 46, 52, .22); border-block: 2px dashed rgba(255, 255, 255, .35); }
.ribbon-track { display: flex; align-items: center; gap: 1.4rem; padding: .9rem 0; white-space: nowrap; width: max-content; transform: translateX(calc(var(--rx, 0) * 1px)); will-change: transform; font: 700 1.0625rem/1 var(--typography-font-heading); letter-spacing: .04em; text-transform: uppercase; }
.ribbon .icon { width: 1.05rem; height: 1.05rem; color: var(--pl-pink); }

/* ---- City chooser: two tickets ---------------------------------------------------------------------------- */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; filter: drop-shadow(0 16px 20px rgba(43, 46, 52, .22)); transition: transform .35s var(--pl-spring); color: #fff; }
.ticket:hover { transform: translateY(-6px) rotate(-.7deg); }
.ticket:nth-child(2):hover { transform: translateY(-6px) rotate(.7deg); }
.ticket-main, .ticket-stub { position: relative; }
.ticket-main {
  display: flex; flex-direction: column; padding: 1.7rem 1.7rem 1.5rem; border-radius: 20px 0 0 20px;
  background: linear-gradient(145deg, var(--color-brand-primary), var(--color-brand-primary-dark));
  -webkit-mask: radial-gradient(circle 12px at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 12px at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.ticket-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; padding: 1rem .6rem; border-radius: 0 20px 20px 0; text-align: center;
  background: linear-gradient(145deg, #7E2C70, var(--color-brand-primary-dark)); border-left: 2px dashed rgba(255, 255, 255, .4);
  -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 12px at 0 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 12px at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.ticket[data-location="tampere"] .ticket-main {
  background: radial-gradient(90% 70% at 85% 10%, rgba(246, 243, 232, .09), transparent), linear-gradient(145deg, #35574B, var(--pl-board-deep)); color: var(--pl-chalk);
}
.ticket[data-location="tampere"] .ticket-stub { background: linear-gradient(145deg, #2C4A3F, #18291F); color: var(--pl-chalk); }
.ticket[data-location="tampere"] .ticket-main::before { /* faint chalk scribbles */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60% 40% at 20% 85%, rgba(255, 255, 255, .06), transparent), linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .04) 42%, transparent 55%);
}
.location-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 .7rem; }
.location-city { font-size: var(--typography-scale-eyebrow); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-pink-soft); }
.ticket[data-location="tampere"] .location-city { color: var(--pl-chalk-dim); }
.location-status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 700; line-height: 1; padding: .35rem .65rem; border-radius: 999px; }
.location-status--open { background: rgba(255, 255, 255, .15); color: #fff; }
.location-status .dot { width: .55rem; height: .55rem; border-radius: 50%; background: #9BDB5C; box-shadow: 0 0 0 3px rgba(155, 219, 92, .25); }
.location-status--soon { padding: .35rem .6rem; }
.ticket .location-card-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .3rem; color: #fff; }
.ticket .ticket-link { color: inherit; text-decoration: none; }
.ticket .ticket-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.ticket .ticket-link:focus-visible { outline: none; }
.ticket .ticket-link:focus-visible::after { outline: 3px solid var(--color-brand-accent); outline-offset: 4px; }
.location-card-tagline { font-size: 1.0625rem; color: rgba(255, 255, 255, .88); margin-bottom: .9rem; }
.ticket-rooms { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; }
.ticket-rooms li { font-size: .8125rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.ticket-note { font-size: .875rem; color: var(--pl-chalk-dim); margin: 0 0 1rem; }
.ticket-cta { margin-top: auto; font: 700 1rem var(--typography-font-heading); display: inline-flex; transition: transform .3s var(--pl-spring); }
.ticket:hover .ticket-cta { transform: translateX(6px); }
.stub-num { font: 400 3.6rem/1 var(--font-hand); color: #fff; }
.stub-label { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.barcode { display: block; width: 74%; height: 38px; margin-top: .9rem; opacity: .6; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 6px, transparent 6px 8px, #fff 8px 11px, transparent 11px 13px, #fff 13px 14px, transparent 14px 18px); }

/* rubber stamp */
.stamp, .room-status-badge {
  display: inline-block; font-family: var(--typography-font-heading); font-weight: 800; font-size: .78rem; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-brand-primary-dark); border: 3px double currentColor; border-radius: 8px; padding: .5rem .7rem; background: rgba(251, 246, 234, .94);
  transform: rotate(-8deg); filter: url(#stamp); white-space: nowrap;
}
.ticket .stamp { background: transparent; color: var(--pl-chalk); filter: url(#stamp); border-color: var(--pl-chalk); transform: rotate(-4deg); }
.room-status-badge--inline { vertical-align: middle; margin-left: .6rem; }
.ticket .location-status--soon { transform: rotate(-4deg); }
@keyframes slam { 0% { opacity: 0; transform: scale(2.4) rotate(-22deg); } 55% { opacity: 1; transform: scale(.9) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-8deg); } }
@media (prefers-reduced-motion: no-preference) {
  html.js-ready .room-card:not(.is-in) .room-status-badge, html.js-ready .ticket:not(.is-in) .stamp, html.js-ready .case-card:not(.is-in) .stamp { opacity: 0; }
  html.js-ready .room-card.is-in .room-status-badge { animation: slam .55s .55s var(--pl-spring) both; }
  html.js-ready .ticket.is-in .stamp, html.js-ready .case-card.is-in .stamp { animation: slam .55s .6s var(--pl-spring) both; }
}

/* ---- Rooms: case files with polaroids --------------------------------------------------------------------- */
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.2rem, 3.4vw, 3rem) clamp(1.25rem, 2.6vw, 2.25rem); padding-top: 1.6rem; }
.room-card[hidden], .rooms-group[hidden], .room-filter[hidden] { display: none; }
.room-card {
  position: relative; display: flex; flex-direction: column; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 0 20px 20px 20px;
  padding: 1.5rem 1.2rem 1.5rem; box-shadow: 0 1px 0 #fff inset, 0 16px 30px -18px rgba(43, 46, 52, .35); transition: transform .35s var(--pl-spring), box-shadow .3s ease;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 #fff inset, 0 26px 40px -20px rgba(150, 52, 134, .4); }
.case-no { /* folder tab */
  position: absolute; left: -1px; top: -1.75rem; margin: 0; height: 1.75rem; padding: .15rem 1rem 0; display: flex; align-items: center;
  font: 400 1.15rem/1 var(--font-hand); letter-spacing: .02em; color: var(--color-brand-primary-dark);
  background: var(--pl-card); border: 1px solid var(--pl-line); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.case-no::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pl-card); }
.room-card-media { position: relative; display: block; text-decoration: none; padding: .9rem .5rem 1rem; }
.room-card-media:focus-visible { outline-offset: 0; }
.polaroid {
  position: relative; display: block; background: #fff; padding: 10px 10px 40px; border-radius: 3px; transform: rotate(var(--tilt, -1.5deg));
  box-shadow: 0 8px 18px rgba(43, 46, 52, .22), 0 1px 3px rgba(43, 46, 52, .18); transition: transform .45s var(--pl-spring), box-shadow .3s ease;
}
.room-card:hover .polaroid { transform: rotate(0deg) translateY(-4px) scale(1.025); box-shadow: 0 18px 28px rgba(43, 46, 52, .28), 0 1px 3px rgba(43, 46, 52, .18); }
.polaroid-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-dark-elevated); }
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.04); transition: transform .8s var(--pl-ease); }
.room-card:hover .polaroid-photo img { transform: scale(1.06); }
.polaroid-photo img.img-missing { visibility: hidden; }
.polaroid-photo::after { /* one consistent "paper" treatment for three very different photos: warm wash + vignette + grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(155deg, rgba(150, 52, 134, .14), rgba(253, 183, 19, .1) 70%), radial-gradient(120% 95% at 50% 45%, transparent 55%, rgba(43, 46, 52, .3)), var(--pl-grain);
}
.tape {
  position: absolute; top: -13px; left: 50%; width: 88px; height: 28px; margin-left: -44px; transform: rotate(-3deg); z-index: 2;
  background: rgba(233, 182, 223, .8); clip-path: var(--pl-zig); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
}
.room-card:nth-child(even) .tape { transform: rotate(3deg); }
.room-loc-badge {
  position: absolute; left: -.2rem; top: .2rem; z-index: 3; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  padding: .45rem .75rem; border-radius: 6px; color: #fff; background: var(--color-brand-primary); box-shadow: 0 4px 10px rgba(43, 46, 52, .25); transform: rotate(-3deg);
}
.room-card[data-location="tampere"] .room-loc-badge { background: var(--pl-board); color: var(--pl-chalk); }
.room-card .room-status-badge { position: absolute; right: -.5rem; bottom: 2.4rem; z-index: 4; }
.room-badge { /* escape-rate seal */
  position: absolute; right: -.4rem; bottom: 1.8rem; z-index: 4; display: grid; place-content: center; width: 5rem; height: 5rem; border-radius: 50%; text-align: center;
  background: #fff; color: var(--color-brand-primary-dark); border: 3px solid var(--color-brand-primary); transform: rotate(10deg); box-shadow: 0 6px 14px rgba(43, 46, 52, .28);
}
.room-badge::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed currentColor; opacity: .5; }
.room-badge b { font: 800 1.2rem/1 var(--typography-font-heading); }
.room-badge i { font: 400 1rem/1 var(--font-hand); font-style: normal; letter-spacing: .02em; }
.room-card-body { display: flex; flex-direction: column; flex: 1; padding: .6rem .5rem 0; }
.room-card-title { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); margin-bottom: .55rem; }
.room-card-title a {
  color: inherit; text-decoration: none; background: linear-gradient(var(--pl-pink), var(--pl-pink)) 0 94% / 0 .38em no-repeat; transition: background-size .45s var(--pl-ease);
}
.room-card:hover .room-card-title a, .room-card-title a:focus-visible { background-size: 100% .38em; }
.room-card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 .7rem; color: var(--pl-muted); font-size: .875rem; font-weight: 600; }
.room-stat { display: inline-flex; align-items: center; gap: .35rem; }
.room-stat .icon { width: 1.25em; height: 1.25em; color: var(--color-brand-primary); }
.room-card-tba { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .7rem; color: var(--pl-muted); font-size: .875rem; }
.room-card-tba .icon { margin-top: .15rem; color: var(--pl-board); }
.room-card-teaser { flex: 1; margin: 0 0 1rem; }

/* a lone card in the last grid row becomes a wide feature card (Kyläkoulu on the front page / Tampere hub) */
@media (min-width: 1025px) {
  .room-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 3rem; align-items: center; padding: 1.8rem 2rem 1.8rem 1.4rem; }
  .room-card:last-child:nth-child(3n + 1) .room-card-media { padding: 1rem 1rem 1.2rem; }
  .room-card:last-child:nth-child(3n + 1) .room-card-body { padding: .5rem 0; }
  .room-card:last-child:nth-child(3n + 1) .room-card-title { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); }
  .room-card:last-child:nth-child(3n + 1) .room-card-teaser { flex: none; font-size: 1.0625rem; }
}
@media (max-width: 1024px) and (min-width: 721px) {
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-items: center; }
}
@media (max-width: 720px) { .room-grid { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; } }

/* filter chips */
.room-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.2rem; }
.room-filter-chip {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer; font: 700 .9375rem var(--typography-font-heading);
  border: 2px solid var(--pl-line); background: var(--pl-card); color: var(--color-surface-dark); box-shadow: 0 3px 0 var(--pl-line);
  transition: transform .2s var(--pl-spring), box-shadow .15s, background-color .2s, color .2s, border-color .2s;
}
.room-filter-chip:hover { transform: translateY(-2px); border-color: var(--color-brand-primary); }
.room-filter-chip[aria-pressed="true"] { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .2); background: var(--color-surface-dark); border-color: var(--color-surface-dark); color: #fff; }
.room-filter-chip[data-filter="sastamala"][aria-pressed="true"] { background: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.room-filter-chip[data-filter="tampere"][aria-pressed="true"] { background: var(--pl-board); border-color: var(--pl-board); }
.room-filter-count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding-inline: .3rem; border-radius: 999px; font-size: .8125rem; background: rgba(43, 46, 52, .08); }
.room-filter-chip[aria-pressed="true"] .room-filter-count { background: rgba(255, 255, 255, .22); }

.rooms-groups { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.rooms-group-head { margin-bottom: .4rem; }
.rooms-group-title { margin-bottom: .3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.rooms-group-lead { color: var(--pl-muted); margin: 0; }
.room-card-placeholder { display: none; }
.section-more .button + .button { margin-left: 0; }

/* ---- Chalkboard scene (Kyläkoulu): original CSS + SVG ----------------------------------------------------- */
.board { display: block; position: relative; container-type: inline-size; }
.board--hero { max-width: 1040px; margin: 1.4rem auto 0; padding-bottom: 14px; }
.board-frame {
  position: relative; display: block; padding: clamp(9px, 1.7cqw, 18px); border-radius: 12px;
  background: linear-gradient(135deg, #B2835A, var(--pl-wood) 45%, var(--pl-wood-dark));
  box-shadow: 0 34px 50px -24px rgba(0, 0, 0, .65), inset 0 2px 0 rgba(255, 255, 255, .28), inset 0 -3px 0 rgba(0, 0, 0, .25);
}
.board-surface {
  position: relative; display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 2.35 / 1;
  background: radial-gradient(120% 100% at 25% 15%, #3A5D50, var(--pl-board) 55%, var(--pl-board-deep));
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .3), inset 0 16px 34px rgba(0, 0, 0, .3);
}
.board-smudge {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 30% at 72% 62%, rgba(255, 255, 255, .07), transparent), radial-gradient(35% 25% at 18% 30%, rgba(255, 255, 255, .05), transparent),
    linear-gradient(104deg, transparent 18%, rgba(255, 255, 255, .045) 20%, transparent 31%, transparent 60%, rgba(255, 255, 255, .035) 63%, transparent 72%), var(--pl-grain);
}
.board-tray { display: block; position: absolute; left: 3%; right: 3%; bottom: -12px; height: 14px; border-radius: 0 0 6px 6px; background: linear-gradient(var(--pl-wood), var(--pl-wood-dark)); box-shadow: 0 8px 14px rgba(0, 0, 0, .4); }
.chalk-stick { position: absolute; bottom: 13px; height: 9px; border-radius: 3px; background: linear-gradient(#fff, #d9d6c8); box-shadow: 0 2px 2px rgba(0, 0, 0, .3); }
.chalk-stick--a { left: 12%; width: 9%; transform: rotate(-2deg); } .chalk-stick--b { left: 23%; width: 6%; background: linear-gradient(var(--pl-pink), #c58bb9); } .chalk-stick--c { left: 31%; width: 8%; transform: rotate(3deg); }
.eraser { position: absolute; right: 10%; bottom: 13px; width: 13%; height: 12px; border-radius: 3px; background: linear-gradient(#7d8a82 0 42%, #3b3f49 42%); box-shadow: 0 2px 2px rgba(0, 0, 0, .3); }
.board-wall { position: absolute; z-index: 5; top: -2.2rem; right: -1.1rem; width: clamp(76px, 12cqw, 124px); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); }
.wall-clock { display: block; width: 100%; height: auto; transform-origin: 50% 6%; }
.wc-rim { fill: var(--pl-wood-dark); } .wc-face { fill: var(--pl-chalk); stroke: rgba(0, 0, 0, .18); stroke-width: 1.5; }
.wc-ticks { stroke: var(--color-surface-dark); stroke-width: 3; stroke-linecap: round; fill: none; }
.wc-hand { stroke: var(--color-surface-dark); stroke-width: 4.5; stroke-linecap: round; } .wc-hand--m { stroke-width: 3.2; }
.wc-pin { fill: var(--color-brand-primary); }
.wc-rings { fill: none; stroke: var(--pl-chalk); stroke-width: 3; stroke-linecap: round; opacity: 0; }
.board.is-written .wall-clock { animation: ring 1s .15s 1 both; }
.board.is-written .wc-rings { animation: rings 1s .15s 1 both; }
@keyframes rings { 0%, 100% { opacity: 0; } 25%, 75% { opacity: .9; } }

.board-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 6cqw 7cqw; }
.board--hero .board-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 3cqw; padding: 5cqw 7cqw 13cqw; }
.board-copy { min-width: 0; }
.chalk-eyebrow, .chalk-line, .chalk-title { font-family: var(--font-hand); font-weight: 400; color: var(--pl-chalk); filter: url(#chalk); text-shadow: 0 0 6px rgba(246, 243, 232, .25); }
.chalk-eyebrow { margin: 0 0 .5rem; font-size: clamp(1.1rem, 3cqw, 2rem); letter-spacing: .04em; color: var(--pl-pink); text-transform: uppercase; }
.chalk-title { margin: 0; font-size: clamp(2.1rem, 7.8cqw, 5.1rem); line-height: .98; letter-spacing: 0; text-wrap: balance; max-width: 11em; }
.chalk-title .accent { color: var(--pl-pink); }
.chalk-title .mark > .doodle { color: var(--pl-pink); stroke-width: 4; bottom: -.1em; height: .24em; --dly: 1.9s; --dur: .7s; }
.board-text .cw { display: inline-block; white-space: nowrap; }
.board-text .ch { display: inline-block; opacity: 0; transform: translateY(.08em) rotate(var(--cr, -3deg)); }
@media (prefers-reduced-motion: no-preference) {
  html.js .board:not(.is-armed) [data-chalk] { opacity: 0; animation: chalk-failsafe 0s 2.6s forwards; }
}
@keyframes chalk-failsafe { to { opacity: 1; } }
.board.is-writing .ch { animation: chalk-in .2s ease-out forwards; animation-delay: calc(var(--i) * 40ms + 200ms); }
@keyframes chalk-in { to { opacity: 1; transform: none; } }

@container (max-width: 640px) {
  .board--hero .board-surface { aspect-ratio: 1 / 1.2; }
  .board--hero .board-text { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 7cqw; padding: 9cqw 7cqw 24cqw; }
  .board--hero .chalk-trio { width: 66cqw; align-self: flex-start; }
  .board--hero .chalk-note { font-size: 8.5cqw; }
  .board--hero .chalk-title { font-size: clamp(2.4rem, 13cqw, 3.6rem); }
}

.chalk-art { position: relative; z-index: 1; display: block; color: rgba(246, 243, 232, .88); stroke-width: 4.6; }
.chalk-trio { width: 29cqw; height: auto; justify-self: end; }
.chalk-note { position: absolute; z-index: 1; font-family: var(--font-hand); font-weight: 400; line-height: 1; color: rgba(246, 243, 232, .88); filter: url(#chalk); text-shadow: 0 0 6px rgba(246, 243, 232, .22); font-size: clamp(1.4rem, 4.2cqw, 2.8rem); letter-spacing: .06em; }
.chalk-note--abc { left: 7cqw; bottom: 5.5cqw; }
.chalk-note--sum { right: 7cqw; bottom: 5.5cqw; transform: rotate(-3deg); }
/* mini board: the "photo" of Kyläkoulu on cards / room page */
.board--mini { width: 100%; height: 100%; }
.board--mini .board-frame { height: 100%; padding: 4cqw; border-radius: 0; }
.board--mini .board-surface { height: 100%; aspect-ratio: auto; }
.board--mini .board-tray { bottom: 0; left: 0; right: 0; height: 5cqw; border-radius: 0; box-shadow: none; }
.board--mini .chalk-stick { bottom: 4.6cqw; height: 3cqw; } .board--mini .eraser { bottom: 4.6cqw; height: 3.6cqw; }
.board--mini .board-wall { top: 5cqw; right: 5cqw; width: 17cqw; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
.board--mini .board-text { padding: 8cqw 7cqw 12cqw; justify-content: center; }
.board--mini .chalk-line { font-size: 13cqw; line-height: 1; letter-spacing: .01em; }
.board--mini .chalk-note { font-size: 8.5cqw; }
.board--mini .chalk-note--abc { left: 7cqw; top: 7cqw; bottom: auto; }
.board--mini .chalk-note--sum { right: 7cqw; bottom: 9cqw; }
.board--case .case-key { position: absolute; left: 50%; top: 18%; width: 22cqw; height: 22cqw; margin-left: -11cqw; color: var(--pl-chalk-dim); fill: none; stroke: currentColor; stroke-width: 3; opacity: .7; }
.board--case .board-text { padding-top: 36cqw; justify-content: flex-start; align-items: center; text-align: center; }
/* licensed artwork: original colours — only a plain edge vignette (normal blend), no wash / grain / filter */
.polaroid--native .polaroid-photo img { filter: none; }
.polaroid--native .polaroid-photo::after { mix-blend-mode: normal; background: radial-gradient(125% 100% at 50% 45%, transparent 64%, rgba(43, 46, 52, .28)); }
.polaroid--board .polaroid-photo { background: var(--pl-board); }
.polaroid--board .polaroid-photo::after { display: none; }
.hero--room .room-hero-media .polaroid--board .polaroid-photo { aspect-ratio: 4 / 3; }

/* ---- Clue cards (how it works) ------------------------------------------------------------------------------ */
.clues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.6vw, 2rem); }
.clue { position: relative; display: flex; }
.clue-inner { flex: 1; }
.clue-inner { position: relative; display: flex; flex-direction: column; gap: 1rem; background: var(--pl-card); color: var(--color-surface-dark); border-radius: 22px; padding: 1.8rem; box-shadow: 0 20px 36px -18px rgba(0, 0, 0, .6); }
.clue-face { display: flex; flex-direction: column; gap: .9rem; }
.clue-num { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; font: 400 2.2rem/1 var(--font-hand); color: #fff; background: var(--color-brand-primary); box-shadow: 0 0 0 5px var(--pl-pink-soft), 0 0 0 7px var(--color-brand-primary) inset; }
.clue-front .icon { position: absolute; top: 1.8rem; right: 1.8rem; width: 3.1rem; height: 3.1rem; color: var(--color-brand-primary); opacity: .9; }
.clue h3 { margin: .4rem 0 0; font-size: 1.55rem; color: var(--color-surface-dark); }
.clue-back p { margin: 0; color: var(--color-text-body); font-size: 1.0625rem; }
.section--dark .clue p { color: var(--color-text-body); }
.clue-back-title { display: none; }
.clue-back a { font-weight: 600; }
html.js .clues.is-flippable .clue-back-title { display: block; font: 400 1.5rem/1 var(--font-hand); color: var(--pl-pink-soft); margin-bottom: .8rem; letter-spacing: .02em; }
.clue-turn { display: none; }
a[href^="tel:"] { white-space: nowrap; }   /* never break a phone number mid-number */

@media (prefers-reduced-motion: no-preference) {
  html.js .clues.is-flippable { perspective: 1600px; }
  /* Both faces share one grid cell, so a card grows to its taller face (a long back text never spills out; WRK-2026-10-006). */
  html.js .clues.is-flippable .clue { min-height: 18.5rem; }
  html.js .clues.is-flippable .clue-inner { position: relative; padding: 0; background: none; box-shadow: none; display: grid; transform-style: preserve-3d; transition: transform .9s var(--pl-spring); }
  html.js .clues.is-flippable .clue.is-flipped .clue-inner { transform: rotateY(180deg); }
  html.js .clues.is-flippable .clue-face { grid-area: 1 / 1; position: relative; border-radius: 22px; padding: 1.8rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .65); }
  html.js .clues.is-flippable .clue-front { background: var(--pl-card); justify-content: space-between; }
  html.js .clues.is-flippable .clue-back { background: linear-gradient(150deg, var(--color-brand-primary), var(--color-brand-primary-dark)); transform: rotateY(180deg); justify-content: center; padding-top: 3.6rem; padding-right: 3.6rem; }
  html.js .clues.is-flippable .clue-back p { color: #fff; font-size: 1.1875rem; line-height: 1.55; position: relative; z-index: 1; }
  html.js .clues.is-flippable .clue-back a { color: #fff; text-decoration-color: var(--pl-pink); text-decoration-thickness: 2px; }
  html.js .clues.is-flippable .clue-back::after { content: attr(data-n); content: attr(data-n) / ""; position: absolute; right: 1.5rem; top: 1.1rem; font: 400 3rem/1 var(--font-hand); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); pointer-events: none; }
  html.js .clues.is-flippable .clue-front .icon { position: static; align-self: center; width: 6.4rem; height: 6.4rem; padding: 1.35rem; border-radius: 50%; background: var(--pl-pink-soft); box-shadow: 0 0 0 5px var(--pl-card), 0 0 0 7px var(--pl-pink); }
  html.js .clues.is-flippable .clue-front h3 { margin: 0 0 1.2rem; }
  html.js .clues.is-flippable .clue-back::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 16px; pointer-events: none; }
  html.js .clues.is-flippable .clue-turn {
    position: absolute; right: .9rem; bottom: .9rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
    border: 2px solid var(--color-brand-primary); background: #fff; color: var(--color-brand-primary); transition: transform .35s var(--pl-spring), background-color .2s;
  }
  html.js .clues.is-flippable .clue.is-flipped .clue-turn { border-color: #fff; background: transparent; color: #fff; }
  html.js .clues.is-flippable .clue-turn:hover { transform: rotate(180deg); }
  html.js .clues.is-flippable .clue-turn .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 6; }
  html.js .clues.is-flippable .clue:hover .clue-inner { filter: drop-shadow(0 6px 10px rgba(150, 52, 134, .5)); }
}

/* ---- Who it's for + escape meter ----------------------------------------------------------------------------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.who h2 { margin-bottom: 1.2rem; }
.who-text { font: 600 clamp(1.2rem, 1rem + .9vw, 1.65rem)/1.62 var(--typography-font-heading); color: var(--color-surface-dark); }
.hl { position: relative; display: inline-block; }
.hl > .doodle { position: absolute; left: -2%; bottom: -.28em; width: 104%; height: .5em; color: var(--color-brand-primary); stroke-width: 3.2; }
.hl:nth-of-type(2) > .doodle { --dly: .25s; } .hl:nth-of-type(3) > .doodle { --dly: .5s; }
.meter { position: relative; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 24px 40px -26px rgba(43, 46, 52, .4); transform: rotate(1deg); }
.meter h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.meter p { color: var(--pl-muted); }
.meter-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.meter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; row-gap: .5rem; }
.meter-name { font: 700 1.0625rem var(--typography-font-heading); color: var(--color-surface-dark); text-decoration: none; }
.meter-name:hover { color: var(--color-brand-primary); text-decoration: underline; text-decoration-color: var(--pl-pink); }
.meter-val { font: 400 2rem/1 var(--font-hand); color: var(--color-brand-primary-dark); }
.meter-bar { grid-column: 1 / -1; position: relative; height: 20px; border-radius: 999px; background: var(--pl-paper-2); box-shadow: inset 0 2px 3px rgba(43, 46, 52, .15); }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 999px; transform-origin: left; background: repeating-linear-gradient(-45deg, var(--color-brand-primary) 0 10px, var(--color-brand-primary-light) 10px 20px); }
.meter-key { position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 40px; height: 40px; margin: -20px 0 0 -14px; color: var(--color-surface-dark); fill: none; stroke: currentColor; stroke-width: 5; transform: rotate(-30deg); filter: drop-shadow(0 2px 0 var(--pl-paper)); }
.meter-spark { position: absolute; right: 1.2rem; top: -1.2rem; width: 2.4rem; height: 2.4rem; color: var(--color-brand-primary); }
@media (prefers-reduced-motion: no-preference) {
  html.js-ready .meter .meter-fill { transform: scaleX(0); transition: transform 1.3s var(--pl-ease) calc(.5s + var(--d, 0ms)); }
  html.js-ready .meter .meter-key { opacity: 0; transition: opacity .4s ease calc(1.5s + var(--d, 0ms)); }
  html.js-ready .meter.is-in .meter-fill { transform: scaleX(1); } html.js-ready .meter.is-in .meter-key { opacity: 1; }
}

/* ---- Price tags ------------------------------------------------------------------------------------------------- */
.price-wrap { max-width: none; }
.price-tags { list-style: none; margin: 0; padding: 1rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.6rem); }
.price-tag { position: relative; display: block; text-align: center; padding: 2.7rem .6rem 1.35rem; transform: rotate(var(--tilt, 0deg)); transition: transform .35s var(--pl-spring); filter: drop-shadow(0 10px 12px rgba(43, 46, 52, .2)); }
.price-tag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; clip-path: polygon(16% 0, 84% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); }
.price-tag::after { content: ""; position: absolute; left: 50%; top: .6rem; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--pl-paper-2); box-shadow: inset 0 2px 3px rgba(43, 46, 52, .35), 0 0 0 3px #f1e8d3; }
.price-tag:hover { transform: rotate(0deg) translateY(-8px); }
.tag-group { display: block; font-size: .9375rem; font-weight: 600; color: var(--pl-muted); }
.tag-price { display: block; margin: .15rem 0 .1rem; font: 800 clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem)/1.1 var(--typography-font-heading); color: var(--color-brand-primary); }
.tag-pp { display: block; font-size: .875rem; color: var(--pl-muted); }
.pricing-note { color: var(--pl-muted); font-size: var(--typography-scale-small); margin-top: 1.4rem; }
.section--dark .pricing-note { color: var(--color-text-on-dark-muted); }
@media (max-width: 900px) { .price-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.6rem; } }
@media (max-width: 520px) { .price-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- FAQ ---------------------------------------------------------------------------------------------------------- */
.faq { display: grid; gap: .8rem; max-width: 52rem; }
.faq-item { background: var(--pl-card); border: 2px solid var(--pl-line); border-radius: 18px; transition: border-color .2s, box-shadow .25s var(--pl-spring), transform .25s var(--pl-spring); }
.faq-item:hover { transform: translateX(3px); border-color: var(--pl-pink); }
.faq-item[open] { border-color: var(--color-brand-primary); box-shadow: 5px 5px 0 var(--pl-pink); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; font: 600 1.0625rem/1.4 var(--typography-font-heading); color: var(--color-surface-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--color-brand-primary); transition: transform .35s var(--pl-spring), background-color .2s;
  background: linear-gradient(var(--color-brand-primary), var(--color-brand-primary)) center / 14px 2.5px no-repeat, linear-gradient(var(--color-brand-primary), var(--color-brand-primary)) center / 2.5px 14px no-repeat;
}
.faq-item[open] summary::after { transform: rotate(135deg); background-color: var(--pl-pink-soft); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { margin: 0; }
@media (prefers-reduced-motion: no-preference) { .faq-item[open] .faq-answer { animation: faq-open .4s var(--pl-ease); } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } }

/* ---- Contact cards, notebook, notes, map, prose ---------------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.6rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.8rem; }
.case-card { position: relative; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 0 22px 22px 22px; padding: 2.2rem 2rem 2rem; box-shadow: 0 22px 36px -24px rgba(43, 46, 52, .4); }
.case-card-top { position: absolute; left: -1px; top: -2.1rem; margin: 0; height: 2.1rem; padding: 0 1rem; display: flex; align-items: center; gap: .7rem; background: var(--pl-card); border: 1px solid var(--pl-line); border-bottom: 0; border-radius: 12px 12px 0 0; }
.case-card-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pl-card); }
.case-card .location-city { color: var(--color-brand-primary-dark); }
.case-card .location-status--open { background: #E8F3DA; color: #2F5413; }
.case-card h3 { font-size: 1.7rem; margin-bottom: 1rem; }
.case-card address, .visit-address { font-style: normal; display: grid; gap: .55rem; margin-bottom: 1.1rem; }
.addr-row { display: flex; align-items: flex-start; gap: .65rem; }
.addr-row .icon { margin-top: .2rem; color: var(--color-brand-primary); }
.case-card a:not(.button) { font-weight: 600; }
.case-card-note { color: var(--pl-muted); font-size: .9375rem; }
.case-card-action { margin: 1.4rem 0 0; }
.case-card[data-location="tampere"] { background: radial-gradient(90% 60% at 90% 0, rgba(246, 243, 232, .08), transparent), linear-gradient(150deg, #35574B, var(--pl-board-deep)); border-color: #1d3329; color: var(--pl-chalk); }
.case-card[data-location="tampere"] .case-card-top { background: var(--pl-board); border-color: #1d3329; }
.case-card[data-location="tampere"] .case-card-top::after { background: var(--pl-board); }
.case-card[data-location="tampere"] h3, .case-card[data-location="tampere"] .location-city { color: var(--pl-chalk); }
.case-card[data-location="tampere"] .case-card-note { color: var(--pl-chalk-dim); }
.case-card[data-location="tampere"] a:not(.button) { color: var(--pl-chalk); text-decoration-color: var(--pl-pink); }
.case-card[data-location="tampere"] .addr-row .icon { color: var(--pl-pink); }
.case-card[data-location="tampere"] .stamp { color: var(--pl-chalk); background: transparent; border-color: var(--pl-chalk); transform: rotate(-5deg); }

.notebook {
  position: relative; transform: rotate(1.2deg); background: #FFFDF6; border-radius: 8px 18px 18px 8px; padding: 1.8rem 1.8rem 1.6rem 4.4rem;
  box-shadow: 0 24px 40px -22px rgba(43, 46, 52, .45); border: 1px solid var(--pl-line);
}
.notebook::before { content: ""; position: absolute; left: .55rem; top: 0; bottom: 0; width: 1.7rem; background: radial-gradient(circle at 50% 50%, var(--pl-paper-2) 7px, rgba(43, 46, 52, .28) 8px, transparent 9px) 0 0 / 100% 46px repeat-y; }
.notebook::after { content: ""; position: absolute; left: 3.5rem; top: 0; bottom: 0; width: 2px; background: rgba(150, 52, 134, .35); }
.notebook-title { font: 400 2rem/1 var(--font-hand); color: var(--color-brand-primary-dark); margin: 0 0 1.4rem; }
.checklist { position: relative; list-style: none; margin: 0; padding: 0; }
.checklist::before { content: ""; position: absolute; left: -4.4rem; right: -1.8rem; top: 0; bottom: 0; background: repeating-linear-gradient(transparent 0 38px, rgba(150, 52, 134, .17) 38px 39px); }
.checklist li { position: relative; display: flex; align-items: flex-start; gap: .9rem; min-height: 39px; font: 400 1.45rem/39px var(--font-hand); color: var(--color-surface-dark); }
.check-box { position: relative; flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: .55rem; border: 2px solid var(--color-surface-dark); border-radius: 5px; transform: rotate(-3deg); }
.check-box .dd-check { position: absolute; left: -.15rem; top: -.65rem; width: 2rem; height: 2rem; color: var(--color-brand-primary); stroke-width: 5; --dly: .3s; }
.is-tba .check-box { border-style: dashed; border-color: var(--pl-muted); }
.is-tba { color: var(--pl-muted); }
.check-key { color: var(--color-surface-dark); }
.checklist em { font-style: normal; color: var(--pl-muted); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-grid .section-head { margin-bottom: 0; }

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 50rem; }
.notes li { display: flex; gap: 1rem; align-items: flex-start; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 16px; padding: 1.05rem 1.3rem; box-shadow: 0 10px 20px -16px rgba(43, 46, 52, .4); }
.notes .icon { width: 1.9rem; height: 1.9rem; margin-top: .05rem; padding: .35rem; border-radius: 50%; background: var(--pl-pink-soft); color: var(--color-brand-primary); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-block address { font-style: normal; }
.contact-block a:not(.button) { font-weight: 600; }
.map-card { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; transform: rotate(-1.5deg); background: var(--pl-paper) var(--pl-grain); border: 2px solid var(--pl-line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); overflow: hidden; }
.map-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(150, 52, 134, .08) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(rgba(150, 52, 134, .08) 1px, transparent 1px) 0 0 / 40px 40px; }
.map-route { position: absolute; inset: 8%; width: 84%; height: 84%; color: var(--color-brand-primary); stroke-width: 5; }
.map-x { position: absolute; right: 9%; top: 11%; width: 12%; color: var(--color-brand-primary-dark); stroke-width: 7; }

.prose { max-width: 46rem; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 24px 40px -28px rgba(43, 46, 52, .4); }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; color: var(--color-brand-primary-dark); } .prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.4rem; } .prose li { margin-bottom: .5rem; }
.social-row { margin-top: 2rem; }

/* ---- Final CTA band + keyhole -------------------------------------------------------------------------------- */
.final { overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem); }
.final-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; align-items: center; }
.final h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; max-width: 14ch; }
.final h2::after { display: none; }
.final p { font-size: 1.15rem; color: #D9DCE2; }
.keyhole-art { position: relative; justify-self: center; width: min(100%, 17rem); aspect-ratio: 1; }
.keyhole-art::before { content: ""; position: absolute; inset: -12%; background: radial-gradient(closest-side, rgba(150, 52, 134, .55), transparent); }
.keyhole-svg { position: relative; display: block; width: 100%; height: 100%; }
.kh-body { fill: var(--color-surface-dark-alt); stroke: var(--pl-pink); stroke-width: 6; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(233, 182, 223, .45)); }
.kh-slot { fill: #000; opacity: .6; }
.kh-key { transition: transform 1.1s var(--pl-ease) .3s; transform: translateX(calc(var(--kx, 0) * 1px)) rotate(var(--kr, 0deg)); transform-origin: 160px 120px; }
.kh-key path, .kh-key circle { fill: none; stroke: var(--pl-chalk); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ka-spark { position: absolute; right: -4%; top: -4%; width: 18%; color: var(--pl-pink); stroke-width: 3; }
.hero--404 .keyhole-art { width: min(100%, 20rem); }
@media (prefers-reduced-motion: no-preference) {
  html.js-ready .keyhole-art:not(.is-in) .kh-key { --kx: 70; --kr: -18; }
}

/* gift card illustration */
.giftcard { position: relative; width: min(100%, 23rem); aspect-ratio: 1.62; border-radius: 22px; transform: rotate(-5deg); padding: 1.6rem; overflow: hidden;
  background: linear-gradient(140deg, var(--color-brand-primary), var(--color-brand-primary-dark)); box-shadow: 0 34px 50px -26px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .18); color: #fff; }
.giftcard::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 15px; }
.giftcard-logo { position: relative; font: 800 1.9rem/1 var(--typography-font-heading); letter-spacing: -.01em; } .giftcard-logo span { color: var(--pl-pink); }
.giftcard-icon { position: absolute; right: 1.4rem; bottom: 1.2rem; width: 5.5rem; height: 5.5rem; color: var(--pl-pink); }
.giftcard-stripe { position: absolute; left: 0; bottom: 2.2rem; width: 55%; height: 12px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 3px, transparent 3px 7px, rgba(255, 255, 255, .85) 7px 8px, transparent 8px 13px); }
.photo-stack { position: relative; width: min(100%, 26rem); aspect-ratio: 1.05; }
.photo-stack .polaroid { position: absolute; width: 62%; }
.photo-stack .polaroid--s1 { left: 0; top: 4%; --tilt: -7deg; z-index: 1; }
.photo-stack .polaroid--s2 { right: 0; top: 0; --tilt: 6deg; z-index: 2; }
.photo-stack .polaroid--s3 { left: 20%; bottom: 0; --tilt: -2deg; z-index: 3; }
.photo-stack .polaroid { padding: 8px 8px 30px; }

/* ---- Room page hero ---------------------------------------------------------------------------------------------- */
.hero--room { padding-top: clamp(1.8rem, 3vw, 2.5rem); }
.room-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.room-hero-copy .eyebrow { margin-bottom: 1rem; }
.room-hero-media { position: relative; justify-self: center; width: min(100%, 31rem); }
.room-hero-media .polaroid { --tilt: 2.5deg; padding: 14px 14px 56px; }
.room-hero-media .polaroid .tape { width: 110px; margin-left: -55px; top: -16px; }
.room-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; padding: 0; }
.room-facts li { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; padding: .7rem 1.1rem .7rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.room-facts .icon { grid-row: 1 / 3; width: 1.9rem; height: 1.9rem; color: var(--pl-pink); }
.room-facts .fact-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-on-dark-muted); }
.room-facts .fact-value { font: 700 1.3rem/1.1 var(--typography-font-heading); color: #fff; }
.room-tbd-note { color: #D9DCE2; font-size: .9375rem; margin: 1.2rem 0 0; display: flex; gap: .5rem; align-items: flex-start; }
.hero--room .hero-actions { margin-top: 1.6rem; }
.hero--room .room-status-badge--inline { background: transparent; color: var(--pl-pink); margin-left: .9rem; }
.hero--room .breadcrumb { margin-bottom: 1.6rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 var(--spacing-l); font-size: var(--typography-scale-small); }
.breadcrumb li { color: var(--color-text-on-dark-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--pl-pink); }
.breadcrumb a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; min-height: 28px; color: var(--pl-pink); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---- Room versions (WRK-2026-10-023): one case card per difficulty level + the "which one?" note ------------------- */
.version-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); align-items: stretch; }
.version-card {
  position: relative; display: flex; flex-direction: column; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 0 20px 20px 20px;
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 24px 40px -26px rgba(43, 46, 52, .4); transform: rotate(-.6deg);
}
.version-card:nth-child(even) { transform: rotate(.7deg); }
.version-title { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: .5rem; }
.version-level { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin: 0 0 1rem; }
.version-level-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-muted); }
.version-pips { display: inline-flex; gap: 5px; }
.version-pips i { width: 22px; height: 12px; border-radius: 999px; background: var(--pl-paper-2); box-shadow: inset 0 1px 2px rgba(43, 46, 52, .2); }
.version-pips i.on { background: var(--color-brand-primary); box-shadow: none; }
.version-level-num { font: 400 1.9rem/1 var(--font-hand); color: var(--color-brand-primary-dark); }
.version-lead { font-size: 1.0625rem; font-weight: 600; color: var(--color-surface-dark); }
.version-fit strong { color: var(--color-surface-dark); }
.version-caution { background: var(--pl-pink-soft); border-left: 4px solid var(--color-brand-primary); border-radius: 0 12px 12px 0; padding: .8rem 1rem; font-weight: 600; color: var(--color-surface-dark); }
.version-cta { margin: auto 0 0; padding-top: .6rem; }
.version-advice { max-width: 46rem; margin-top: clamp(2rem, 4vw, 3rem); background: var(--pl-card); border: 2px dashed var(--color-brand-primary); border-radius: 22px; padding: clamp(1.2rem, 3vw, 1.8rem); }
.version-advice h3 { font: 400 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.1 var(--font-hand); color: var(--color-brand-primary-dark); margin: 0 0 .5rem; }
.version-advice p { margin: 0; font-size: 1.0625rem; }
/* booking form (/varaus/): the version radios as paper cards */
main .book-form .version-opt { background: #fff; border-color: var(--pl-line); border-radius: 12px; }
main .book-form .version-opt:has(input:checked) { border-color: var(--color-brand-primary); background: var(--pl-pink-soft); }

/* ---- Footer ----------------------------------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--color-surface-dark-alt); color: var(--color-text-on-dark); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--color-brand-primary) 0 14px, transparent 14px 22px); opacity: .85; }
.site-footer a { color: var(--color-text-on-dark); }
.site-footer a:hover { color: var(--pl-pink); }
.footer-inner { max-width: var(--layout-content-max); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--layout-gutter); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.footer-heading { color: var(--color-text-on-dark); font-size: 1rem; margin: 0 0 var(--spacing-m); font-family: var(--typography-font-heading); font-weight: var(--typography-weight-bold); }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .4rem; }
.footer-nav a { text-decoration: none; color: var(--color-text-on-dark-muted); display: inline-flex; align-items: center; min-height: 28px; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--pl-pink); }
.footer-brand-logo { display: flex; align-items: center; font-family: var(--typography-font-heading); font-weight: var(--typography-weight-extrabold); font-size: 1.75rem; margin: 0 0 .15rem; }
.footer-brand-logo::before { content: ""; width: 1.5rem; height: 1.5rem; margin-right: .5rem; background: var(--pl-pink); transform: rotate(-35deg); -webkit-mask: var(--pl-key) center / contain no-repeat; mask: var(--pl-key) center / contain no-repeat; --pl-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='19' cy='32' r='11'/%3E%3Cpath d='M30 32h28M50 32v10M58 32v8'/%3E%3C/g%3E%3C/svg%3E"); }
.footer-brand-logo span { color: var(--pl-pink); }
.footer-tag { font: 400 1.3rem/1.2 var(--font-hand); color: var(--pl-pink); margin: 0 0 1rem; }
.site-footer address { font-style: normal; color: var(--color-text-on-dark-muted); line-height: 1.55; }
.site-footer address strong { color: var(--color-text-on-dark); }
.footer-locs { display: grid; gap: 1rem; }
.footer-soon { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--pl-board); color: var(--pl-chalk); padding: .2rem .55rem; border-radius: 999px; }
.footer-contact { margin: 0; line-height: 1.7; }
.footer-legal { color: var(--color-text-on-dark-muted); font-size: var(--typography-scale-small); margin: 0; }
.footer-inner[style*="padding-top:0"] { border-top: 1px dashed rgba(255, 255, 255, .14); padding-top: 1.2rem !important; padding-bottom: 1.6rem; display: block; }

/* ---- Booking page (/varaus/): same design via the shared classes + the booking calendar's own inline styles --- */
main > .section:only-child { min-height: 60vh; }
main .cal-toolbar h2::after { display: none; }
main .cal-toolbar h2 { font-size: 1.6rem; }
main .cal-nav { background: var(--pl-card); border: 2px solid var(--pl-line); color: var(--color-surface-dark); box-shadow: 0 3px 0 var(--pl-line); transition: transform .2s var(--pl-spring), border-color .2s; }
main .cal-nav:hover { transform: translateY(-2px); border-color: var(--color-brand-primary); }
main .room-tabs { gap: .6rem; }
main .room-tab { background: var(--pl-card); border-color: var(--pl-line); box-shadow: 0 3px 0 var(--pl-line); font-family: var(--typography-font-heading); color: var(--color-surface-dark); transition: transform .2s var(--pl-spring), border-color .2s; }
main .room-tab:hover { transform: translateY(-2px); border-color: var(--color-brand-primary); }
main .room-tab[aria-selected="true"] { background: var(--color-brand-primary); color: #fff; border-color: var(--color-brand-primary); box-shadow: 0 1px 0 rgba(0, 0, 0, .25); transform: translateY(2px); }
main .cal-grid { gap: .4rem; max-width: 40rem; }
main .cal-dow { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; color: var(--pl-muted); }
main .cal-day { background: var(--pl-card); border-radius: 12px; border-color: var(--pl-line); min-height: 48px; color: var(--pl-muted); transition: transform .2s var(--pl-spring), box-shadow .2s; }
main .cal-day.has-free { background: #fff; border: 2px solid var(--color-brand-primary); color: var(--color-surface-dark); }
main .cal-day.has-free:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 14px -6px rgba(150, 52, 134, .5); }
main .cal-day.selected { background: var(--color-brand-primary); color: #fff; transform: rotate(-2deg); box-shadow: 0 6px 0 var(--color-brand-primary-dark); }
main .cal-day .dot { background: var(--color-brand-success); }
main .cal-day.selected .dot { background: #fff; }
main .slot-btn { background: var(--pl-card); border-width: 2px; font-family: var(--typography-font-heading); box-shadow: 0 3px 0 var(--pl-pink-soft); transition: transform .2s var(--pl-spring); }
main .slot-btn:hover:not(:disabled) { transform: translateY(-2px); }
main .slot-btn[aria-pressed="true"] { box-shadow: 0 1px 0 rgba(0, 0, 0, .25); transform: translateY(2px); }
main #slots-title, main #form-title { font-size: 1.35rem; }
main .book-form {
  position: relative; max-width: 30rem; background: var(--pl-card); border: 1px solid var(--pl-line); border-radius: 22px; padding: 1.8rem; box-shadow: 0 24px 40px -26px rgba(43, 46, 52, .45);
  background-image: repeating-linear-gradient(90deg, var(--color-brand-primary) 0 14px, transparent 14px 22px); background-size: 100% 4px; background-repeat: no-repeat; background-position: 0 0;
}
main .book-form input, main .book-form select { background: #fff; border-color: var(--pl-line); border-radius: 12px; }
main .book-form input:focus-visible, main .book-form select:focus-visible { outline-color: var(--color-brand-primary); border-color: var(--color-brand-primary); }
main .form-msg.ok { background: #EAF4DD; } main .form-msg.err { background: #FBE9E6; }
main .form-note { background: var(--pl-pink-soft); border-left-color: var(--color-brand-primary); }
main .form-privacy { color: var(--pl-muted); }
main .section-head p a { font-weight: 600; }

/* ---- Reveal on scroll ------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js-ready [data-reveal]:not(.is-in) { opacity: 0; }
  html.js-ready [data-reveal].is-in { animation: rise .85s var(--pl-ease) var(--d, 0ms) backwards; }
  .room-grid > .room-card:nth-child(3n + 2) { --d: 110ms; } .room-grid > .room-card:nth-child(3n + 3) { --d: 220ms; }
}

/* ---- Responsive --------------------------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 2.5rem; }
  .clock-note { left: -1rem; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-clock, .hero-visual { margin-top: 1.2rem; }
  .clock-note { left: 0; top: -2.6rem; }
  .who-grid, .about-grid, .final-inner, .room-hero, .contact-grid, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .final-inner .keyhole-art { order: -1; width: 11rem; }
  .meter { transform: none; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .clues { grid-template-columns: minmax(0, 1fr); }
  html.js .clues.is-flippable .clue { min-height: 15.5rem; }
  .notebook { transform: none; }
}
@media (max-width: 720px) {
  .tickets { grid-template-columns: minmax(0, 1fr); }
  .ticket { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .ticket-main { border-radius: 20px 20px 0 0; padding: 1.5rem 1.4rem 1.3rem;
    -webkit-mask: radial-gradient(circle 12px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 12px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat; }
  .ticket-stub { flex-direction: row; justify-content: flex-start; gap: .7rem; border-radius: 0 0 20px 20px; border-left: 0; border-top: 2px dashed rgba(255, 255, 255, .4); padding: .6rem 1.4rem;
    -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 12px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat; }
  .stub-num { font-size: 2.6rem; } .barcode { margin: 0 0 0 auto; width: 38%; height: 28px; }
  .hero { padding-top: 2.6rem; }
  .hero-facts li { font-size: .875rem; padding: .55rem .85rem .55rem .7rem; }
  .button-lg { width: 100%; }
  .hero-actions { gap: .8rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .final .hero-actions .button { flex: 1 1 100%; }
  .section-more .button { flex: 1 1 100%; }
  .room-card .room-status-badge { right: .2rem; }
  .room-badge { right: 0; }
  .case-grid { gap: 3rem; }
  .meter-key { width: 32px; height: 32px; margin: -16px 0 0 -10px; }
  .banner { font-size: .8125rem; text-align: left; }
}
@media (max-width: 480px) {
  .hero-facts { gap: .5rem; } .hero-facts li { font-size: .8125rem; }
  .clock { padding-inline: .8rem; }
  .clock-face { gap: .15rem; }
  .ribbon-track { font-size: .9375rem; }
}

/* ---- Reduced motion: everything static, everything visible ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .doodle path { stroke-dashoffset: 0 !important; }
  .doodle--wipe { clip-path: none !important; }
  .ch { opacity: 1 !important; transform: none !important; }
  .clue-turn { display: none !important; }
}
html:not(.js) .clock-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .clock-toggle { display: none !important; } }

.section-head:has(> .eyebrow:only-child) { margin-bottom: 1.2rem; }
.rooms-group-head { margin-bottom: 1.8rem; }
.chalk-panel {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; max-width: 52rem; padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.5rem, 4vw, 3rem);
  border: clamp(8px, 1.4vw, 14px) solid var(--pl-wood); border-radius: 12px; color: var(--pl-chalk);
  background: radial-gradient(70% 90% at 80% 0, rgba(246, 243, 232, .09), transparent), linear-gradient(150deg, #35574B, var(--pl-board-deep));
  box-shadow: 0 26px 40px -22px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(0, 0, 0, .25);
}
.chalk-panel .eyebrow { background: rgba(233, 182, 223, .16); color: var(--pl-pink); margin-bottom: .6rem; }
.chalk-panel-text { margin: 0; font: 400 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.2 var(--font-hand); filter: url(#chalk); }
.chalk-panel .stamp { color: var(--pl-chalk); background: transparent; border-color: var(--pl-chalk); transform: rotate(-6deg); }
/* header seam: a little key travels along it as you scroll (user-driven) */
.site-header[data-prog]::before {
  content: ""; position: absolute; left: 0; bottom: -9px; width: 18px; height: 18px; z-index: 2; pointer-events: none; background: var(--pl-pink);
  -webkit-mask: var(--pl-key2) center / contain no-repeat; mask: var(--pl-key2) center / contain no-repeat; transform: translateX(calc(var(--prog, 0) * (100vw - 1.7rem))) rotate(-35deg);
  --pl-key2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='19' cy='32' r='11'/%3E%3Cpath d='M30 32h28M50 32v10M58 32v8'/%3E%3C/g%3E%3C/svg%3E");
}
.ticket-stub { transition: transform .45s var(--pl-spring); transform-origin: 0 100%; }
.ticket:hover .ticket-stub { transform: translateX(5px) rotate(1.8deg); }
@media (max-width: 900px) { .float--spark1, .float--spark2 { display: none; } .float--key { --s: 60px; left: auto; right: 5%; top: 2.5%; } .float--keyhole { right: 4%; top: 8%; --s: 80px; } .float--puzzle { left: 70%; bottom: 7%; --s: 60px; } .float--magnifier { --s: 60px; right: 2%; bottom: 3%; } }
@media (max-width: 520px) { .price-tag:last-child:nth-child(odd) { grid-column: 1 / -1; width: 50%; justify-self: center; } }

.hand-note { position: absolute; right: clamp(4%, 9vw, 14%); top: 1.2rem; z-index: 2; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; font: 400 2rem/1.1 var(--font-hand); color: var(--color-brand-primary-dark); transform: rotate(-4deg); pointer-events: none; }
.hand-note .dd-arrow { width: 3.1rem; height: 3.4rem; margin-left: 1.2rem; stroke-width: 3.4; --dly: .9s; transform: rotate(-10deg); }
@media (max-width: 1000px) { .hand-note { display: none; } }

.faq-deco { position: absolute; right: var(--layout-gutter); top: 1rem; width: 190px; aspect-ratio: .75; color: var(--color-brand-primary); pointer-events: none; }
.faq-q { width: 100%; height: 100%; stroke-width: 13; transform: rotate(8deg); --dur: 1.4s; }
.faq-spark { position: absolute; left: -12%; top: 6%; width: 24%; stroke-width: 4; --dly: 1.2s; color: var(--color-brand-primary-dark); }
.faq-burst { position: absolute; right: -8%; bottom: 10%; width: 22%; stroke-width: 4.5; --dly: 1.5s; }
@media (max-width: 1200px) { .faq-deco { display: none; } }

.price-for { margin: 0 0 1rem; }
.price-for-tag { display: inline-block; font: 800 .75rem/1 var(--typography-font-heading); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--color-brand-primary); padding: .5rem .8rem; border-radius: 6px; transform: rotate(-2deg); box-shadow: 0 4px 10px rgba(43, 46, 52, .2); }
/* radius 22px, not 999px: on one line (42px tall) it still renders as a pill, but when it wraps on phones a pill's
   half-circle ends cut into the text (email report 2026-10-15, WRK-2026-10-031) */
.price-soon { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .8rem; width: fit-content; max-width: 100%; margin: 1.1rem 0 0; padding: .55rem 1.1rem .55rem .6rem; border-radius: 22px; font-weight: 600; font-size: .9375rem; color: var(--pl-chalk); background: linear-gradient(150deg, #35574B, var(--pl-board-deep)); box-shadow: inset 0 0 0 2px rgba(246, 243, 232, .18), 0 8px 16px -8px rgba(31, 55, 46, .6); }
.price-soon-city { font: 800 .75rem/1 var(--typography-font-heading); letter-spacing: .12em; text-transform: uppercase; background: var(--pl-chalk); color: var(--pl-board-deep); padding: .4rem .65rem; border-radius: 999px; }
.price-wrap .pricing-note { margin-bottom: 0; }
@media (max-width: 600px) { .price-soon { padding: .7rem 1rem .8rem .75rem; } }

/* hero: three small polaroids of the real rooms peek out from behind the clock (skipped on small screens) */
.hero-polaroids { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-polaroids .polaroid { position: absolute; width: 40%; padding: 7px 7px 26px; box-shadow: 0 14px 26px rgba(0, 0, 0, .45); }
.hero-polaroids .hp1 { right: -6%; top: -28%; --tilt: 8deg; }
.hero-polaroids .hp2 { left: -8%; bottom: -34%; --tilt: -9deg; }
.hero-polaroids .hp3 { right: -3%; bottom: -36%; --tilt: 5deg; width: 38%; }
.hero-polaroids .tape { width: 56px; height: 20px; margin-left: -28px; top: -9px; }
.hero-clock .clock { position: relative; z-index: 2; }
.hero-clock .clock-note, .hero-clock .clock-caption { z-index: 3; }
.hero-clock .clock-caption { position: relative; }
@media (max-width: 1180px) { .hero-polaroids .polaroid { width: 34%; } .hero-polaroids .hp1 { right: 1%; } .hero-polaroids .hp3 { right: 2%; } .hero-polaroids .hp2 { left: -2%; } }
@media (max-width: 1100px) { .nav-links a { padding-inline: .5rem; font-size: .875rem; } .nav-links a.button-cta { padding-inline: .95rem; } .nav-lang a { padding-inline: .5rem; } }
@media (max-width: 900px) { .hero-polaroids { display: none; } }

/* compact clock inside the "60 min" chip (phones only; the big clock is further down the page) */
.mini-clock { display: none; font: 700 .9rem/1 var(--typography-font-heading); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--pl-chalk); background: rgba(8, 9, 11, .55); padding: .3rem .5rem; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
@media (max-width: 480px) { .mini-clock { display: inline-block; } .fact-ring { padding-right: .55rem; } }
