/* Old-site pages (blog, recruiting, privacy, 404) inside the new masthead and footer (Ville 1.12.2026: "päivitä kaikki
   mitä todennäköisesti käytetään vielä uuteen muotoon"). klik-helsinki.css and klik-sivut.css still lay out the content;
   this maps their colour and font variables onto the new palette and type and flattens the old tape labels. */
html.vanha-pohja {
  --musta: #201b20; --paperi: #f7f2e8; --amber: #f35c35; --oranssi: #f35c35; --rusko: #f35c35;
  --persikka: #ddd5c8; --lila: #ddd5c8; --teksti-tumma: #f7f2e8; --valkoinen: #ffffff;
  --otsikko: Aeonik, Arial, sans-serif; --leipa: Aeonik, Arial, sans-serif;
  --serif: Fraunces, Georgia, serif; --mono: Aeonik, Arial, sans-serif;
  --kursori: auto;
}
html.vanha-pohja body { background: #f7f2e8; color: #201b20; font-family: Aeonik, Arial, sans-serif; }
.vanha-pohja main .iso, .vanha-pohja main h1, .vanha-pohja main h2, .vanha-pohja main h3 {
  font-family: Aeonik, Arial, sans-serif; font-weight: 400; text-transform: none; letter-spacing: -.04em;
}
.vanha-pohja main .iso { line-height: .98; }
.vanha-pohja main .iso em, .vanha-pohja main .kursiivi, .vanha-pohja main h1 em, .vanha-pohja main h2 em {
  font-family: Fraunces, Georgia, serif; font-style: normal; font-weight: 600; letter-spacing: -.03em; font-size: 1em;
}
.vanha-pohja main .mono { font-family: Aeonik, Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.vanha-pohja main .teippi {
  transform: none; clip-path: none; font-family: Aeonik, Arial, sans-serif; text-transform: none;
  background: #ddd5c8; color: #201b20; border-radius: 0;
}
.vanha-pohja main .teippi--oranssi { background: #f35c35; }

/* Masthead and footer: the same rules tarinat.css gives the new subpages (its global resets would upset the old
   content, so only these are repeated here). */
html.vanha-pohja { --ink: #201b20; --paper: #f7f2e8; --accent: #f35c35; }
.vanha-pohja .site-masthead {
  --klik-muste: var(--ink); --klik-kerma: var(--paper); --gutter: clamp(16px, 3vw, 46px);
  padding: var(--gutter); align-items: center; column-gap: clamp(12px, 2vw, 34px);
  background: var(--accent); line-height: 1.35; font-family: Aeonik, Arial, sans-serif;
}
.vanha-pohja .site-masthead .home-link { display: inline-flex; }
.vanha-pohja .site-masthead .logo { width: clamp(56px, 7vw, 98px); height: auto; }
.vanha-pohja .site-masthead nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 35px); font-size: clamp(13px, 1.25vw, 18px); }
.vanha-pohja .site-masthead nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; text-decoration: none; }
.vanha-pohja .end { line-height: 1.35; font-family: Aeonik, Arial, sans-serif; }
/* The old form tape was lilac; the site has no purple. */
.vanha-pohja .lomake-teippi { background: rgba(221, 213, 200, .9) !important; }
/* Buttons and choice chips: flat and square like the new site's contact button, no tilt or heavy outline. */
.vanha-pohja main .nappi {
  transform: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: #201b20 !important; color: #f7f2e8 !important; font: 500 clamp(15px, 1.2vw, 18px)/1.15 Aeonik, Arial, sans-serif !important;
  text-transform: none !important; letter-spacing: 0 !important; padding: .85em 1.4em !important;
}
.vanha-pohja main .tumma .nappi { background: #f7f2e8 !important; color: #201b20 !important; }
.vanha-pohja main .nappi:is(:hover, :focus-visible) { background: #f35c35 !important; color: #201b20 !important; }
.vanha-pohja main label > input + span { transform: none !important; box-shadow: none !important; border-radius: 0; font-family: Aeonik, Arial, sans-serif; }
