/* ==========================================================================
   gilded-script — juhlaravintola / tilausravintola
   Poppins + Great Vibes, champagne gold on photo-black and off-white.
   Handwritten CSS, no framework, no build step.
   ========================================================================== */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/poppins-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/poppins-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('assets/fonts/poppins-800-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/great-vibes-400-latin.woff2') format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --gold: #C8A97E;            /* accent — large display + on-dark text only */
  --gold-text: #7E6032;       /* AA-safe gold for small text on light (5.8:1 / #fff) */
  --gold-dim: rgba(200, 169, 126, .45);
  --ink: #171512;             /* headings, dark grounds */
  --ink-2: #1E1B17;
  --body: #5C564E;            /* body text on light (7.25:1 / #fff) */
  --body-mute: #6B655C;       /* secondary text on light (5.8:1 / #fff) */
  --white: #FFFFFF;
  --cream: #FAFAF7;
  --cream-2: #F1EDE6;
  --on-dark: #EDE9E2;         /* body text on ink (15:1) */
  --on-dark-mute: #A79E90;    /* muted on ink (6.9:1) */
  --line: #E4DED3;
  --maxw: 1180px;
  --pad: clamp(1.15rem, 5vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.005em;
}

img, picture, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0;
}

a { color: inherit; }

p { margin: 0 0 1.15rem; }

.vh {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* muted is a lighter ink, not a transparency — opacity would drop it under AA */
.muted { color: var(--body-mute); font-size: .82rem; }

/* ---------- demo banner + skip link ---------- */
.demo-banner {
  display: block;
  background: var(--ink);
  color: var(--gold);
  text-align: center;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  line-height: 1.5;
}
.demo-banner b { color: var(--white); font-weight: 700; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 40;
  background: var(--gold);
  color: var(--ink);
  padding: .6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: .5rem; top: .5rem; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- signature move #1: giant script word behind the heading ---------- */
.script {
  font-family: 'Great Vibes', 'Segoe Script', cursive;
  font-weight: 400;
  color: var(--gold);
  line-height: .78;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.sec-head {
  position: relative;
  padding-top: clamp(2.6rem, 7vw, 4.1rem);
  margin-bottom: 1.6rem;
}
.sec-head .script {
  position: absolute;
  top: 0;
  left: -.02em;
  z-index: 0;
  font-size: clamp(3.2rem, 10.5vw, 6.6rem);
  opacity: .5;
}
.sec-head .sec-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  font-weight: 800;
  max-width: 22ch;
}
.sec-head--center { text-align: center; }
.sec-head--center .script { left: 0; right: 0; text-align: center; }
.sec-head--center .sec-title { margin-inline: auto; }

/* on dark grounds the script gets a touch more presence */
.on-dark .sec-head .script { opacity: .62; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover, .btn-gold:focus-visible { background: #E0C69C; color: var(--ink); }
.btn-line { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--gold); color: var(--gold); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 88svh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  overflow: hidden;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero-media, .band-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .band-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-media picture, .band-media picture { display: block; height: 100%; }

.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(11, 9, 8, .80) 0%,
    rgba(11, 9, 8, .58) 26%,
    rgba(11, 9, 8, .82) 56%,
    rgba(11, 9, 8, .93) 100%);
}

.hero-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.4rem;
  padding: clamp(1rem, 3vw, 1.9rem) var(--pad);
}
.wordmark { text-decoration: none; display: block; }
.wordmark-script {
  display: block;
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 5.5vw, 2.7rem);
  line-height: 1;
  color: var(--gold);
}
.wordmark-sub {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-top: .25rem;
}
.hero-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; }
.hero-nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
}
.hero-nav a:hover, .hero-nav a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }

.hero-inner {
  position: relative;
  padding: 0 var(--pad);
  max-width: 40rem;
}
.hero-script {
  display: block;
  font-size: clamp(3.4rem, 12vw, 6rem);
  margin-bottom: -.22em;
  opacity: .95;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 7.4vw, 3.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.1;
  margin: 0 0 1.1rem;
}
.hero .lede {
  color: var(--on-dark);
  font-size: clamp(.95rem, 2.1vw, 1.05rem);
  line-height: 1.85;
  max-width: 34rem;
  margin-bottom: 1.9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }

/* ==========================================================================
   SIGNATURE MOVE #2 — featured strip overlapping the hero
   mobile: an ordinary light section · desktop: dark strip pulled onto the photo
   ========================================================================== */
.featured {
  --f-bg: var(--cream-2);
  --f-name: var(--ink);
  --f-desc: var(--body);
  --f-art: var(--gold-text);
  --f-ring: rgba(126, 96, 50, .35);
  background: var(--f-bg);
  padding: clamp(2rem, 6vw, 3rem) var(--pad);
}
.featured-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 2.4rem) 1rem;
}
.featured-item { text-align: center; }
.thumb {
  display: grid;
  place-items: center;
  width: clamp(64px, 19vw, 96px);
  height: clamp(64px, 19vw, 96px);
  margin: 0 auto .8rem;
  border-radius: 50%;
  border: 1px solid var(--f-ring);
  color: var(--f-art);
}
.thumb svg { width: 72%; height: 72%; }
.f-name {
  display: block;
  font-size: .93rem;
  font-weight: 700;
  color: var(--f-name);
  letter-spacing: .01em;
  line-height: 1.35;
}
.f-desc {
  display: block;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--f-desc);
  margin-top: .25rem;
}

@media (min-width: 900px) {
  .featured {
    --f-bg: rgba(15, 13, 11, .93);
    --f-name: var(--white);
    --f-desc: var(--on-dark-mute);
    --f-art: var(--gold);
    --f-ring: var(--gold-dim);
    position: relative;
    z-index: 3;
    margin-top: -104px;
    border-top: 1px solid var(--gold-dim);
    backdrop-filter: blur(2px);
  }
  .featured-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-item + .featured-item { border-left: 1px solid rgba(237, 233, 226, .14); }
  /* Reserve clearance for the signature .featured overlap (margin-top: -104px)
     so .hero-actions — the last child of .hero-inner — no longer sits inside
     the 104px band .featured paints over. Keeps min-height unchanged; only
     redistributes where the flex content lands. */
  .hero { padding-bottom: 160px; }
}

/* ==========================================================================
   SPLIT PANELS (S2)
   ========================================================================== */
.split {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.6rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: .94fr 1.06fr; }
  .split--reverse { grid-template-columns: 1.06fr .94fr; }
  .split--reverse .split-text { order: 2; }
}

.tervetuloa {
  background: var(--white);
  padding: clamp(2.6rem, 7vw, 5rem) var(--pad) clamp(2.6rem, 7vw, 4.5rem);
}
.tervetuloa p { max-width: 40ch; }

.fact-list {
  list-style: none;
  margin: 1.6rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.fact-list li {
  border-bottom: 1px solid var(--line);
  padding: .75rem 0;
  font-size: .9rem;
  line-height: 1.6;
}
.fact-list span {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* signature move #4 anchor — the big phone number */
.phone-anchor { margin: 1.9rem 0 0; }
.phone-label {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.phone-number {
  display: inline-block;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.phone-number:hover, .phone-number:focus-visible { color: var(--gold-text); }
.phone-note { display: block; font-size: .74rem; color: var(--body-mute); line-height: 1.6; }

/* signature move #4 — the staggered photo pair */
.split-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.6rem, 2vw, 1.1rem);
  align-items: start;
}
.ph { margin: 0; }
.ph img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
/* both source photos have the subject well off-centre — crop to it */
.ph-img--tila { object-position: 20% 76%; }
.ph-img--tyo { object-position: 86% 52%; }
.ph figcaption {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--body);
  padding-top: .5rem;
  line-height: 1.5;
}
.ph-up { margin-top: 0; }
.ph-down { margin-top: 1.4rem; }
@media (min-width: 900px) {
  .ph-up { margin-top: -34px; }
  .ph-down { margin-top: 34px; }
}

.photo-note {
  max-width: var(--maxw);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  padding: 1rem 1.2rem;
  font-size: .8rem;
  line-height: 1.7;
  color: var(--body);
}
.photo-note strong { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   SIGNATURE MOVE #3 — checkerboard menu
   ========================================================================== */
.menu { background: var(--cream); padding: clamp(2.6rem, 7vw, 4.6rem) 0 clamp(2.4rem, 6vw, 3.6rem); }
.menu .sec-head, .menu-intro, .menu-foot { padding-inline: var(--pad); }
.menu .sec-head { max-width: var(--maxw); margin-inline: auto; }
.menu-intro {
  max-width: 52ch;
  margin: 0 auto clamp(1.8rem, 5vw, 2.8rem);
  text-align: center;
  font-size: .95rem;
}
.menu-grid { display: block; }

.menu-row { display: flex; flex-direction: column; }
.m-media { position: relative; overflow: hidden; background: var(--ink); min-height: 240px; }
.m-media img, .m-media .art-panel {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.m-media--art { background: var(--ink); min-height: 300px; }
.m-media--art .art-panel { min-height: 300px; }
.m-media .crop-right { object-position: 32% 18%; }

.m-text { padding: clamp(1.8rem, 5.5vw, 3.2rem) var(--pad); }
.m-text--light { background: var(--white); }
.m-text--dark { background: var(--ink); }

.m-kicker {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 .35rem;
}
.m-text--dark .m-kicker { color: var(--gold); }

.m-heading {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 1.3rem;
}
.m-text--dark .m-heading { color: var(--white); }

.dish-list { list-style: none; margin: 0; padding: 0; }
.dish-list li + li { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.m-text--dark .dish-list li + li { border-top-color: rgba(237, 233, 226, .16); }

.dish-line {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  margin: 0 0 .15rem;
  line-height: 1.4;
}
.dish-name { font-weight: 700; color: var(--ink); font-size: .98rem; flex: 1 1 auto; }
.m-text--dark .dish-name { color: var(--on-dark); }
.dish-price {
  font-weight: 700;
  font-size: .95rem;
  color: var(--gold-text);
  white-space: nowrap;
  flex: 0 0 auto;
}
.m-text--dark .dish-price { color: var(--gold); }
.dish-ing {
  margin: 0;
  font-size: .82rem;
  line-height: 1.65;
  color: var(--body);
}
.m-text--dark .dish-ing { color: var(--on-dark-mute); }

.menu-foot {
  max-width: 60ch;
  margin: clamp(1.8rem, 5vw, 2.6rem) auto 0;
  text-align: center;
  font-size: .8rem;
  line-height: 1.7;
}

@media (min-width: 860px) {
  .menu-row { flex-direction: row; }
  .menu-row > * { flex: 1 1 50%; min-width: 0; }
  .menu-row:nth-child(even) { flex-direction: row-reverse; }
  .m-media { min-height: 420px; }
  .m-media img, .m-media .art-panel { position: absolute; inset: 0; min-height: 0; }
  .m-text { display: flex; flex-direction: column; justify-content: center; }
}

/* ==========================================================================
   SIGNATURE MOVE #6 — counters band on a photo
   ========================================================================== */
.luvut, .varaus { position: relative; isolation: isolate; background: var(--ink); overflow: hidden; }
.band-scrim { position: absolute; inset: 0; z-index: -1; background: rgba(12, 10, 8, .84); }
.band-scrim--soft {
  background: linear-gradient(90deg, rgba(12, 10, 8, .9) 0%, rgba(12, 10, 8, .74) 48%, rgba(12, 10, 8, .3) 100%);
}
/* the plating hands sit in the right third of the source frame */
.varaus .band-media img { object-position: 78% 48%; }

.luvut { padding: clamp(2.6rem, 7vw, 4.4rem) var(--pad); }
.luvut-inner { max-width: var(--maxw); margin: 0 auto; }
.luvut-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 2.4rem) 1rem;
  text-align: center;
}
@media (min-width: 780px) { .luvut-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.luku {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 8vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.luku-label {
  display: block;
  margin-top: .55rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1.6;
}

/* ==========================================================================
   JUHLAT + PERIAATTEET
   ========================================================================== */
.juhlat { background: var(--white); padding: clamp(2.6rem, 7vw, 5rem) var(--pad); }
.juhla-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.juhla-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.juhla-list li:last-child { border-bottom: 1px solid var(--line); }
.juhla-list h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .3rem; }
.juhla-list p { margin: 0; font-size: .88rem; line-height: 1.75; max-width: 46ch; }

.split-art { display: block; }
.art-tall {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 540px;
  background: var(--white);
  border: 1px solid var(--line);
  display: block;
}

.periaatteet { background: var(--cream-2); padding: clamp(2.6rem, 7vw, 4.6rem) var(--pad); }
.periaatteet .sec-head { max-width: var(--maxw); margin-inline: auto; }
.per-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
}
@media (min-width: 820px) { .per-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.per-grid article { border-top: 2px solid var(--gold); padding-top: 1.1rem; }
.per-num {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--gold-text);
  margin: 0 0 .4rem;
}
.per-grid h3 { font-size: 1.02rem; font-weight: 700; margin: 0 0 .5rem; }
.per-grid p { font-size: .88rem; line-height: 1.8; margin: 0; }

/* ==========================================================================
   SIGNATURE MOVE #5 — off-centre reservation card
   ========================================================================== */
.varaus { padding: clamp(2.4rem, 6vw, 4.4rem) var(--pad); }
.varaus-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.varaus-card {
  grid-column: 1 / -1;
  background: var(--white);
  padding: clamp(1.5rem, 5vw, 2.8rem);
}
@media (min-width: 900px) { .varaus-card { grid-column: 1 / span 7; } }

.varaus-card .sec-head { padding-top: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.varaus-lede { font-size: .9rem; max-width: 42ch; }

.varaus-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem 1rem;
  margin-top: .5rem;
}
.fld { grid-column: 1 / -1; margin: 0; }
@media (min-width: 620px) { .fld--half { grid-column: span 1; } }
.fld label {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .3rem;
}
.fld input, .fld select {
  width: 100%;
  font-family: inherit;
  font-size: .92rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .7rem .8rem;
  line-height: 1.4;
  min-height: 44px;
}
.fld input::placeholder { color: var(--body-mute); opacity: 1; }
.fld input:focus, .fld select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 2px rgba(200, 169, 126, .45); }
.fld--submit { display: flex; align-items: flex-end; }
.fld--submit .btn { width: 100%; text-align: center; cursor: pointer; font-family: inherit; }

.form-note, .form-status { grid-column: 1 / -1; margin: .2rem 0 0; font-size: .76rem; line-height: 1.65; }
.form-note { color: var(--body); }
.form-status { color: var(--gold-text); font-weight: 600; }
.form-status:empty { display: none; }

/* ==========================================================================
   YHTEYS + FOOTER
   ========================================================================== */
.yhteys { background: var(--white); padding: clamp(2.6rem, 7vw, 4.6rem) var(--pad); }
.yhteys .sec-head { max-width: var(--maxw); margin-inline: auto; }
.yhteys-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.2rem);
}
@media (min-width: 720px) { .yhteys-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.yhteys-grid dt {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .4rem;
}
.yhteys-grid dd { margin: 0; font-size: .9rem; line-height: 1.8; color: var(--body); }
.yhteys-grid dd a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }
.yhteys-cta { text-align: center; margin: clamp(2rem, 5vw, 3rem) 0 0; }

.footer {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(2.2rem, 6vw, 3.4rem) var(--pad) 1rem;
  font-size: .85rem;
}
.footer-mark { margin: 0 0 .4rem; }
.script--small { font-size: clamp(2rem, 6vw, 2.6rem); display: inline-block; }
.footer p { margin: 0 0 .35rem; }
.footer .small { font-size: .78rem; color: var(--on-dark-mute); }
.footer .small b { color: var(--gold); font-weight: 600; }
.footer a { color: var(--gold); }

/* tekoälyilmoitus — ks. webpages/kit/ai-disclosure/ */
.ai-note {
  margin: 1.5rem auto 0;
  max-width: 62ch;
  padding: 0 1rem 2rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--on-dark-mute);
}
.ai-note strong { font-weight: 600; color: var(--on-dark); }

/* ==========================================================================
   REDUCED MOTION — kill every transition/animation
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
