/* Teatteri Villa Valo · Harso
   Valkoinen varjoteatteri: harso, ikkunan aamuvalo ja pehmeät varjot. */

:root {
  --milk: #F4EFE6;
  --milk-hi: #F8F4EC;
  --linen: #E9E1D1;
  --linen-deep: #DCD1BB;
  --graphite: #3B3935;
  --graphite-soft: #5C5750;
  --gold-ink: #6F531C;
  --gold: #B8985A;
  --shadow: #575350;
  --rule: rgba(111, 83, 28, .3);

  --serif: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --gutter: clamp(20px, 4.5vw, 72px);
  --pad-l: calc(var(--gutter) + var(--safe-l));
  --pad-r: calc(var(--gutter) + var(--safe-r));
  --maxw: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --bar-h: 72px;
  --stage-h: clamp(600px, min(88vh, 60vw + 160px), 900px);
}
@supports (height: 1svh) {
  :root { --stage-h: clamp(600px, min(88svh, 60vw + 160px), 900px); }
}

/* ---------- Perusta ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + var(--safe-t) + 12px);
  background: var(--milk);
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--milk);
  color: var(--graphite);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
main { flex: 1 0 auto; }
body.is-menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: rgba(184, 152, 90, .35); }

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus { outline: none; }

.skip {
  position: fixed; left: calc(12px + var(--safe-l)); top: -90px; z-index: 300;
  padding: 12px 18px; background: var(--graphite); color: var(--milk);
  text-decoration: none; font-size: 15px;
}
.skip:focus { top: calc(12px + var(--safe-t)); }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad-l); }

.eyebrow {
  font: 500 12px/1.7 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.sec-title {
  font: 400 clamp(36px, 5.2vw, 72px)/1.06 var(--serif);
  letter-spacing: -.01em;
  margin-top: 14px;
  text-wrap: balance;
}
.sec-title em, .page-title em { color: var(--gold-ink); }
.lede {
  font: italic 400 clamp(20px, 2vw, 27px)/1.5 var(--serif);
  text-wrap: pretty;
}
.muted { color: var(--graphite-soft); }

/* ---------- Painikkeet ja linkit ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 14px 30px;
  background: var(--graphite); color: var(--milk);
  font: 500 13px/1.2 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--graphite);
  border-radius: 999px;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--gold-ink); border-color: var(--gold-ink); }
.btn--ghost { background: transparent; color: var(--graphite); border-color: var(--graphite-soft); }
.btn--ghost:hover { background: var(--graphite); border-color: var(--graphite); color: var(--milk); }

.link {
  display: inline-flex; gap: 8px; align-items: center;
  min-height: 44px;
  color: var(--graphite);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
  transition: color .4s var(--ease), text-decoration-color .4s var(--ease);
}
.link:hover { color: var(--gold-ink); text-decoration-color: transparent; }

.cap {
  margin-top: 12px;
  font: italic 400 14px/1.5 var(--serif);
  color: var(--graphite-soft);
}

/* ---------- Yläpalkki ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: calc(var(--bar-h) + var(--safe-t));
  padding: var(--safe-t) var(--pad-r) 0 var(--pad-l);
  display: flex; align-items: center; justify-content: space-between;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.bar.is-scrolled, .is-menu-open .bar {
  background: var(--milk);
  box-shadow: 0 1px 0 rgba(111, 83, 28, .22);
}
.bar__mark {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 48px;
  line-height: 1; text-decoration: none;
}
.bar__small {
  font: 500 10px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 5px;
}
.bar__name { font: 500 24px/1 var(--serif); letter-spacing: .01em; }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
  font: 500 13px/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(50% + 12px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .4s var(--ease);
}
.nav__list a:hover { background-size: 100% 1px; }
.nav__list a[aria-current="page"] { color: var(--gold-ink); background-size: 100% 1px; }
.nav__list .nav__cta {
  padding: 0 24px;
  border: 1px solid var(--graphite-soft);
  border-radius: 999px;
  background: none;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.nav__list .nav__cta:hover { background: var(--graphite); border-color: var(--graphite); color: var(--milk); }
.nav__home, .nav__foot { display: none; }

.menu-btn {
  display: none;
  position: relative; z-index: 3;
  align-items: center; gap: 12px;
  min-height: 48px; min-width: 48px;
  margin-right: -8px;
  background: none; border: 0; padding: 12px 8px 12px 12px;
  color: var(--graphite); cursor: pointer;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn__lines { position: relative; width: 26px; height: 10px; }
.menu-btn__lines::before, .menu-btn__lines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-btn__lines::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav {
    position: fixed; inset: 0; z-index: 2;
    background:
      repeating-linear-gradient(90deg, rgba(255, 252, 246, 0) 0, rgba(255, 252, 246, .5) 22px, rgba(255, 252, 246, 0) 56px, rgba(96, 86, 70, .035) 74px, rgba(96, 86, 70, 0) 104px),
      var(--milk);
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--bar-h) + var(--safe-t) + 16px) var(--pad-r) calc(40px + var(--safe-b)) var(--pad-l);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .5s var(--ease), visibility 0s linear .5s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transition: opacity .5s var(--ease), visibility 0s; }
  .js .nav__home { display: list-item; }
  .js .nav__list { flex-direction: column; align-items: flex-start; gap: 2px; }
  .js .nav__list a {
    min-height: 56px;
    font: 400 clamp(34px, 10vw, 52px)/1.15 var(--serif);
    letter-spacing: 0; text-transform: none;
    background-position: 0 calc(100% - 6px);
  }
  .js .nav__list .nav__cta { border: 0; padding: 0; border-radius: 0; font-style: italic; color: var(--gold-ink); }
  .js .nav__list .nav__cta:hover { background-color: transparent; color: var(--gold-ink); }
  .js .nav__foot {
    display: block; margin-top: 36px;
    font: italic 400 17px/1.6 var(--serif); color: var(--graphite-soft);
  }
  html:not(.js) .bar { position: absolute; height: auto; min-height: var(--bar-h); flex-wrap: wrap; padding-bottom: 6px; }
  html:not(.js) .nav__list { flex-wrap: wrap; gap: 0 18px; }
}

/* ---------- Harso: yhteiset kerrokset ---------- */
/* Harsokangas: hieno kudos ja kaksi laskoskerrosta, jotka keinuvat eri tahtia */
.gauze {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(80, 70, 55, .028) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(80, 70, 55, .028) 0 1px, transparent 1px 3px);
}
.gauze::before, .gauze::after { content: ""; position: absolute; inset: 0 -60px; will-change: transform; }
.gauze::before {
  background: repeating-linear-gradient(90deg,
    rgba(255, 252, 246, 0) 0, rgba(255, 252, 246, .36) 18px, rgba(255, 252, 246, 0) 46px,
    rgba(96, 86, 70, .045) 61px, rgba(96, 86, 70, 0) 88px);
}
.gauze::after {
  background: repeating-linear-gradient(90deg,
    rgba(255, 252, 246, 0) 0, rgba(255, 252, 246, .28) 31px, rgba(255, 252, 246, 0) 70px,
    rgba(96, 86, 70, .05) 96px, rgba(96, 86, 70, 0) 133px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 50%, rgba(0, 0, 0, .2) 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 50%, rgba(0, 0, 0, .2) 100%);
}

/* Pitsireuna: harso roikkuu kaarina alareunassa */
.hem {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 5; height: 20px; pointer-events: none;
  background: radial-gradient(circle 18px at 18px 0,
    transparent 0 15.4px, rgba(184, 152, 90, .85) 15.4px 16.6px, var(--milk) 17.4px) 0 0 / 36px 100% repeat-x;
}

/* ---------- Hero ---------- */
.stage {
  position: relative;
  height: var(--stage-h);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 80% 0%, #FBF7EC 0%, rgba(251, 247, 236, 0) 70%),
    var(--milk);
}

/* Varjolevy: kolme hahmoa harson takana */
.stage__plate {
  position: absolute; left: 50%; bottom: 0; z-index: 1;
  height: calc(var(--stage-h) - clamp(230px, 17vw + 60px, 320px));
  aspect-ratio: 3 / 2;
  transform: translateX(-50%);
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(180deg, transparent, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(180deg, transparent, #000 16%);
  mask-composite: intersect;
}
.stage__figs {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: translateY(calc(var(--p, 0) * 26px));
  will-change: transform;
}
.fig { fill: var(--shadow); opacity: .9; }
.fig--far { opacity: .78; }
.fig__floor { fill: var(--shadow); opacity: .16; }

/* Sumukaistat piilottavat hahmot latauksessa ja nousevat vasemmalta oikealle */
.fog {
  position: absolute; top: 0; bottom: 0;
  background: #F6F2E9;
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.fog--l { left: -4%; width: 44%; }
.fog--m { left: 28%; width: 44%; }
.fog--r { right: -4%; width: 44%; }

/* Ikkunan aamuvalo: kuusiruutuinen ikkuna heittää vaalean kultaisen kuvion harsolle */
.stage__light {
  position: absolute; z-index: 3; pointer-events: none;
  top: -6%; right: 3%;
  width: min(46vw, 620px);
  aspect-ratio: 3 / 4;
  transform: skewX(-13deg) rotate(6deg);
  background-color: rgba(240, 214, 150, .5);
  background-image:
    linear-gradient(90deg, transparent calc(50% - 7px), rgba(244, 239, 230, .85) calc(50% - 7px) calc(50% + 7px), transparent calc(50% + 7px)),
    linear-gradient(0deg, transparent calc(33.3% - 7px), rgba(244, 239, 230, .85) calc(33.3% - 7px) calc(33.3% + 7px), transparent calc(33.3% + 7px)),
    linear-gradient(0deg, transparent calc(66.6% - 7px), rgba(244, 239, 230, .85) calc(66.6% - 7px) calc(66.6% + 7px), transparent calc(66.6% + 7px));
  filter: blur(14px);
  mix-blend-mode: multiply;
  opacity: .62;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 45% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 45% 40%, #000 30%, transparent 100%);
}

/* Vierityksessä harso sulkeutuu hitaasti takaisin */
.stage__close {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: var(--milk);
  opacity: calc(var(--p, 0) * .6);
}

.stage__head {
  position: absolute; z-index: 6; top: calc(var(--bar-h) + var(--safe-t) + 8px); left: 0; right: 0;
  padding: 0 var(--pad-r) 0 var(--pad-l);
  text-align: center;
}
.stage__meta { display: flex; justify-content: space-between; gap: 16px; text-align: left; }
.stage__place { text-align: right; }
.stage__title { margin-top: -6px; font-weight: 400; }
.stage__pre {
  display: block;
  font: 500 12px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold-ink);
  padding-left: .5em;
}
.stage__name {
  display: block; margin-top: 12px;
  font: 400 clamp(56px, 10.5vw, 160px)/.95 var(--serif);
  letter-spacing: -.02em;
  color: var(--graphite);
}
.stage__name em { color: var(--gold-ink); }

.hero__foot {
  max-width: var(--maxw); margin: 0 auto;
  padding: 44px var(--pad-r) 96px var(--pad-l);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 96px); align-items: start;
}
.hero__lede { max-width: 30em; }
.hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hero__soon { font: italic 400 clamp(22px, 2.2vw, 30px)/1.3 var(--serif); margin: 4px 0 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  .stage {
    height: auto; padding-top: calc(var(--bar-h) + var(--safe-t) + 8px);
    display: flex; flex-direction: column;
  }
  .stage__head { position: static; padding-top: 0; order: -1; }
  .stage__title { margin-top: 22px; }
  .stage__name { font-size: clamp(54px, 17vw, 112px); }
  .stage__plate {
    position: relative; left: auto; bottom: auto; transform: none;
    width: 112%; margin-left: -6%;
    height: auto; aspect-ratio: 4 / 3; margin-top: -4px;
  }
  .stage__light { width: 80vw; top: -10%; right: -14%; }
  .hero__foot { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 72px; }
}

/* ---------- Alasivujen otsake ---------- */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--bar-h) + var(--safe-t) + clamp(48px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(ellipse 55% 80% at 85% 0%, #FBF7EC 0%, rgba(251, 247, 236, 0) 70%),
    var(--milk);
}
.page-head .stage__light { top: -30%; right: -4%; width: min(52vw, 560px); opacity: .5; }
.page-head__inner { position: relative; z-index: 6; }
.page-title {
  margin-top: 14px;
  font: 400 clamp(46px, 8.4vw, 120px)/1 var(--serif);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.page-head .lede { margin-top: 26px; max-width: 28em; }

/* ---------- Ikkunakehys ja kuvapaikka ----------
   Ilman kuvaa ruutu näyttää harsolla peitetyltä ikkunalta, jonka läpi tulee valoa.
   Kun ruutuun lisätään <img class="pane__img">, kuva täyttää sen ja rajautuu kehykseen. */
.frame {
  padding: 10px;
  background: var(--linen-deep);
  border-radius: 50% 50% 3px 3px / 34% 34% 3px 3px;
  box-shadow: 0 0 0 1px var(--rule);
}
.frame--flat { border-radius: 3px; }
.pane {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
  background:
    radial-gradient(ellipse 60% 46% at 64% 26%, rgba(240, 214, 150, .5), rgba(240, 214, 150, 0) 72%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(220, 209, 187, .9), rgba(220, 209, 187, 0) 70%),
    var(--milk-hi);
}
.frame--flat .pane { border-radius: 1px; }
.pane--wide { aspect-ratio: 3 / 2; }
.pane--land { aspect-ratio: 4 / 3; }
/* Laskokset ruudun sisällä */
.pane::before {
  content: ""; position: absolute; inset: 0 -40px; z-index: 0;
  background: repeating-linear-gradient(90deg,
    rgba(255, 252, 246, 0) 0, rgba(255, 252, 246, .55) 14px, rgba(255, 252, 246, 0) 34px,
    rgba(96, 86, 70, .06) 46px, rgba(96, 86, 70, 0) 66px);
}
/* Ikkunan puitteiden varjo harsolla */
.pane::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), rgba(111, 83, 28, .07) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(0deg, transparent calc(56% - 3px), rgba(111, 83, 28, .07) calc(56% - 3px) calc(56% + 3px), transparent calc(56% + 3px)),
    linear-gradient(180deg, rgba(244, 239, 230, .3), rgba(244, 239, 230, 0) 55%);
}
.pane:has(.pane__img)::after { background: linear-gradient(180deg, rgba(244, 239, 230, .28), rgba(244, 239, 230, 0) 50%); }
.pane__img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.12) saturate(.92) contrast(.96);
}
.sill {
  display: block; height: 10px; margin: 0 -8px;
  background: var(--linen-deep);
  border-radius: 0 0 3px 3px;
  box-shadow: 0 1px 0 var(--rule), 0 8px 14px -8px rgba(59, 57, 53, .25);
}

/* ---------- Ohjelmisto ---------- */
.shows { padding: clamp(80px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); background: var(--milk); }
.shows__head { max-width: 40em; margin-bottom: clamp(48px, 7vw, 96px); }
.shows__list { display: grid; gap: clamp(80px, 11vw, 150px); counter-reset: esitys; }
.shows__list:empty { display: none; }

/* Tila, kun esityksiä ei ole vielä julkaistu */
.soon {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 7vw, 110px); align-items: center;
}
.soon__win { width: min(100%, 340px); justify-self: center; }
.soon__title { font: 400 clamp(32px, 4vw, 54px)/1.1 var(--serif); letter-spacing: -.01em; margin-top: 12px; text-wrap: balance; }
.soon__title em { color: var(--gold-ink); }
.soon__text { margin-top: 20px; max-width: 32em; color: var(--graphite-soft); }
.soon .link { margin-top: 18px; }
/* Kun ensimmäinen esitys on listassa, odotustila väistyy */
.shows:has(.show) .soon { display: none; }
.shows.has-shows .soon { display: none; }
body:has(.shows__list .show) .hero__soon, .js-has-shows .hero__soon { display: none; }

/* Esitys */
.show {
  counter-increment: esitys;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 110px); align-items: center;
}
.show:nth-child(even) .show__win { order: 2; }
.show:nth-child(even) .show__body { order: 1; }
.show__win { width: min(100%, 440px); justify-self: center; }
.show__win .cap { text-align: center; }

.show__no { display: flex; align-items: center; gap: 16px; }
.show__no::before {
  content: counter(esitys, decimal-leading-zero);
  font: italic 400 clamp(34px, 3.4vw, 46px)/1 var(--serif); color: var(--gold-ink);
}
.show__no::after { content: ""; flex: 0 1 80px; height: 1px; background: var(--gold); }
.show__row {
  display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px;
  font: 500 12px/1.7 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--graphite-soft);
}
.show__title { font: 400 clamp(36px, 4.6vw, 64px)/1.05 var(--serif); letter-spacing: -.01em; margin-top: 10px; text-wrap: balance; }
.show__desc { margin-top: 18px; max-width: 32em; font-size: 18px; }
.show__desc + .show__desc { margin-top: 12px; }

.show__dates { margin-top: 30px; max-width: 34em; border-top: 1px solid rgba(111, 83, 28, .35); }
.show__dates li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px;
  padding: 14px 0; border-bottom: 1px solid rgba(111, 83, 28, .22);
}
.show__date { font: 400 clamp(20px, 1.9vw, 24px)/1.3 var(--serif); }
.show__date b { font-weight: 400; color: var(--gold-ink); font-style: italic; margin-left: 6px; }

.show__meta {
  margin-top: 24px; max-width: 34em;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px;
}
.show__meta div { padding: 12px 0; border-bottom: 1px solid rgba(111, 83, 28, .22); }
.show__meta .is-wide { grid-column: 1 / -1; }
.show__meta dt { font: 500 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.show__meta dd { font-size: 16px; }
.show__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--graphite);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-ink); }
.status--open::before { background: var(--gold-ink); }
.status--few::before { background: linear-gradient(90deg, var(--gold-ink) 50%, transparent 50%); }
.status--sold { color: var(--graphite-soft); }
.status--sold::before { border-color: var(--graphite-soft); }

@media (max-width: 860px) {
  .soon, .show { grid-template-columns: 1fr; gap: 36px; }
  .show:nth-child(even) .show__win, .show:nth-child(even) .show__body { order: 0; }
  .show__win { width: min(100%, 360px); }
  .soon__win { width: min(78%, 300px); }
}
@media (max-width: 420px) {
  .show__meta { grid-template-columns: 1fr; }
}

/* ---------- Talo ja sali (etusivu) ---------- */
.house { padding: clamp(80px, 11vw, 150px) 0; background: var(--linen); }
.house__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.house__big { margin-top: 28px; font: 400 clamp(21px, 2vw, 28px)/1.5 var(--serif); text-wrap: pretty; }
.house__small { margin-top: 20px; max-width: 34em; color: var(--graphite-soft); }
.house .link { margin-top: 18px; }
.house__win { width: min(100%, 420px); justify-self: center; }

.hall { margin-top: 44px; max-width: 360px; text-align: center; }
.hall__stage {
  display: block; margin: 0 auto 16px; width: 72%;
  padding: 7px 0;
  border: 1px solid rgba(111, 83, 28, .5);
  font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink);
}
.hall__seats { display: grid; gap: 7px; justify-items: center; }
.hall__row { display: flex; gap: 7px; }
.seat {
  width: 20px; height: 17px;
  background: var(--milk);
  border: 1px solid rgba(111, 83, 28, .55);
  border-radius: 9px 9px 3px 3px;
}
.hall__cap { margin-top: 18px; font: italic 400 14px/1.5 var(--serif); color: var(--graphite-soft); }

@media (max-width: 860px) {
  .house__grid { grid-template-columns: 1fr; }
  .house__win { width: min(86%, 360px); }
}

/* ---------- Vierailu ---------- */
.visit { padding: clamp(80px, 11vw, 150px) 0; background: var(--milk); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); }
.visit__lede { margin-top: 24px; max-width: 26em; }
.facts { border-top: 1px solid rgba(111, 83, 28, .4); }
.facts__row {
  display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 8px 28px;
  padding: 24px 0; border-bottom: 1px solid rgba(111, 83, 28, .25);
}
.facts__row dt { font: 500 12px/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.facts__row dd { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.val { font: 400 clamp(22px, 2.1vw, 28px)/1.3 var(--serif); }
.sub { color: var(--graphite-soft); font-size: 16px; }
.sub a { color: var(--gold-ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.sub a:hover { text-decoration-color: transparent; }
.facts__row .link { margin-top: 4px; }

@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; }
  .facts__row { grid-template-columns: 1fr; }
}

/* ---------- Liput ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(90px, 12vw, 170px) var(--pad-r) clamp(90px, 12vw, 170px) var(--pad-l);
  background: var(--linen);
}
.cta__num {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%);
  font: italic 400 clamp(260px, 46vw, 640px)/1 var(--serif);
  color: var(--linen-deep); opacity: .7;
  pointer-events: none; user-select: none;
}
.cta__inner { position: relative; max-width: 40em; margin: 0 auto; }
.cta__text { margin: 22px auto 0; max-width: 28em; }
.cta__actions { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Talo-sivu ---------- */
.feature { padding: clamp(72px, 10vw, 140px) 0; }
.feature--linen { background: var(--linen); }
.feature__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 7vw, 110px); align-items: center;
}
.feature--flip .feature__media { order: -1; }
.feature__text p + p { margin-top: 16px; }
.feature__text .big { margin-top: 26px; font: 400 clamp(21px, 2vw, 28px)/1.5 var(--serif); text-wrap: pretty; }
.feature__text .muted { max-width: 34em; }
.feature__text .btn, .feature__text .link { margin-top: 26px; }
.feature__media { width: min(100%, 520px); justify-self: center; }
.feature__media--arch { width: min(100%, 400px); }
.uses { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.uses li {
  padding: 8px 16px;
  border: 1px solid rgba(111, 83, 28, .4); border-radius: 999px;
  font: 500 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}
.story { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 130px); background: var(--milk); }
.story__inner { max-width: 46em; }
.story__quote { font: italic 400 clamp(24px, 2.8vw, 38px)/1.45 var(--serif); text-wrap: pretty; }
.story__quote em { font-style: normal; color: var(--gold-ink); }
.story .wide { margin-top: clamp(48px, 7vw, 90px); }

@media (max-width: 860px) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media--arch { width: min(86%, 340px); }
}

/* ---------- Yhteystiedot-sivu ---------- */
.contact { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 11vw, 150px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.addr { font: 400 clamp(30px, 3.6vw, 48px)/1.2 var(--serif); }
.addr span { display: block; }
.addr__region { margin-top: 10px; font: italic 400 clamp(18px, 1.7vw, 22px)/1.4 var(--serif); color: var(--graphite-soft); }
.contact__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact .facts { margin-top: clamp(48px, 7vw, 80px); }
.contact__win { width: min(100%, 360px); justify-self: center; }

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__win { width: min(80%, 300px); }
}

/* ---------- 404 ---------- */
.lost { position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: calc(var(--bar-h) + var(--safe-t) + clamp(40px, 8vw, 100px)) var(--pad-r) clamp(80px, 10vw, 130px) var(--pad-l); }
.lost__num {
  position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); z-index: -1;
  font: italic 400 clamp(200px, 40vw, 520px)/1 var(--serif); color: var(--linen-deep); opacity: .75;
  pointer-events: none; user-select: none;
}
.lost__inner { position: relative; z-index: 6; max-width: 34em; margin: 0 auto; }
.lost .page-title { font-size: clamp(42px, 7vw, 92px); }
.lost .lede { margin: 24px auto 0; }
.lost .cta__actions { margin-top: 36px; }

/* ---------- Alatunniste ---------- */
.foot {
  position: relative;
  background: var(--linen-deep);
  padding: 64px 0 calc(40px + var(--safe-b));
  font-size: 16px;
}
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 36px 48px; }
.foot__name { font: 400 30px/1.2 var(--serif); margin-bottom: 10px; }
.foot__name em { color: var(--gold-ink); }
.foot .eyebrow { margin-bottom: 8px; }
.foot__links li a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(50% + 12px) / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.foot__links li a:hover, .foot__links a[aria-current="page"] { background-size: 100% 1px; }
.foot__links a[aria-current="page"] { color: var(--gold-ink); }
.foot__base {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(111, 83, 28, .3);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 14px; color: var(--graphite-soft);
}
.foot__base .link { min-height: 44px; font-size: 14px; }

@media (max-width: 860px) {
  .foot__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  .btn { padding: 14px 24px; }
  .stage__meta .eyebrow { font-size: 11px; letter-spacing: .18em; }
}

/* ---------- Liike (vain jos käyttäjä ei ole kieltänyt sitä) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Latauksessa hahmot ovat sumun takana ja paljastuvat vasemmalta oikealle */
  .stage__figs { animation: figs-in 2.8s var(--ease) .2s both; }
  .fog { animation: fog-lift 2.2s var(--ease) both; }
  .fog--l { animation-delay: .5s; }
  .fog--m { animation-delay: 1.1s; }
  .fog--r { animation-delay: 1.7s; }
  .stage__light { animation: light-in 3.4s ease .9s both; }
  .gauze::before { animation: sway 17s ease-in-out infinite alternate; }
  .gauze::after { animation: sway 23s ease-in-out -6s infinite alternate-reverse; }
  .stage__meta, .stage__title, .page-head__inner, .lost__inner { animation: rise 1.5s var(--ease) .15s both; }
  .stage__title { animation-delay: .3s; }
  .hero__foot { animation: rise 1.4s var(--ease) 1s both; }

  /* Ikkunan valo liukuu hitaasti vain isolla näytöllä */
  @media (min-width: 901px) {
    .stage .stage__light { animation: light-in 3.4s ease .9s both, light-drift 26s ease-in-out 4.3s infinite alternate; }
  }

  /* Vieritettäessä tekstit nousevat ja ikkunat kirkastuvat harson takaa */
  .js .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }

  .js .hall .seat { opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
  .js .hall.is-in .seat { opacity: 1; transform: none; }
}

@keyframes figs-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fog-lift { from { opacity: 1; } to { opacity: 0; } }
@keyframes light-in { from { opacity: 0; } to { opacity: .62; } }
@keyframes light-drift {
  from { transform: skewX(-13deg) rotate(6deg) translate(0, 0); }
  to { transform: skewX(-13deg) rotate(6deg) translate(2.4vw, .8vw); }
}
@keyframes sway { from { transform: translateX(-22px); } to { transform: translateX(22px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media print {
  .bar, .menu-btn, .gauze, .stage__light, .hem, .fog { display: none !important; }
  .stage { height: auto; }
}
