/* =====================================================================
   UraVerstas – styles.css
   ---------------------------------------------------------------------
    1. Fonts
    2. Tokens
    3. Base & typography
    4. Layout helpers
    5. Buttons, kickers, chips, links
    6. Art: lava edges, lava blobs, topography, service drawings
    7. Header & navigation
    8. Footer
    9. Coloured areas: hero, page hero, band
   10. Home sections
   11. Sub-pages: routes, cards, prices, notes
   12. Open positions
   13. Contact cards & contact page
   14. Motion
   15. Utilities
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Fonts (one variable file per alphabet, so every weight comes from it)
   --------------------------------------------------------------------- */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  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: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}


/* ---------------------------------------------------------------------
   2. Tokens
   --------------------------------------------------------------------- */
:root {
  /* Logo colours */
  --ink: #0E275A;
  --deep: #1C438C;
  --blue: #3A61B8;
  --sky: #E3EEFC;
  --sky-2: #CBDDF8;
  --sun: #EEBC34;
  --sun-light: #F6D778;
  --sun-soft: #FFF0C4;
  --mist: #F5F8FE;
  --line: #B9CBEA;

  --gradient: radial-gradient(circle at 100% 0, #2C5DB8 0, #1C438C 42%, #0E275A 100%);
  --gradient-light: radial-gradient(circle at 100% 0, #4A72CB 0, #3A61B8 50%, #2C5DB8 100%);

  /* Colours that change on dark areas (see .on-dark) */
  --text: #22314D;
  --muted: #5A6A85;
  --heading: var(--ink);
  --link: var(--deep);
  --btn-main: var(--deep);
  --btn-main-fg: #fff;
  --btn-hover: var(--ink);
  --btn-hover-fg: #fff;
  --ghost-hover-fg: #fff;

  /* Type */
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --tile-gap: 8px;
  --section-y: clamp(60px, 8vw, 110px);
  --band-y: clamp(90px, 12vw, 170px);
  --edge-h: clamp(40px, 7vw, 104px);
  --header-h: 76px;
}

/* Dark areas: everything inside picks up these colours */
.on-dark {
  --text: #DCE6F8;
  --muted: #B6C6E4;
  --heading: #fff;
  --link: var(--sun-light);
  --btn-main: var(--sun);
  --btn-main-fg: var(--ink);
  --btn-hover: #fff;
  --btn-hover-fg: var(--ink);
  --ghost-hover-fg: var(--ink);
  color: var(--text);
}
/* Light tiles sitting on a dark area switch back */
.on-light {
  --text: #22314D;
  --muted: #5A6A85;
  --heading: var(--ink);
  --link: var(--deep);
  --btn-main: var(--deep);
  --btn-main-fg: #fff;
  --btn-hover: var(--ink);
  --btn-hover-fg: #fff;
  --ghost-hover-fg: #fff;
  color: var(--text);
}


/* ---------------------------------------------------------------------
   3. Base & typography
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 300;
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.6rem; line-height: 1.15; }
h4 { font-size: 1.2rem; font-weight: 400; }

p, li, dd, blockquote { overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--heading); }

strong { color: var(--heading); font-weight: 600; }

::selection { background: var(--sun-light); color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--sun); }
.on-light :focus-visible { outline-color: var(--blue); }

.display { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.display--m { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }

.lead {
  max-width: 34em;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text);
}


/* ---------------------------------------------------------------------
   4. Layout helpers
   --------------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); }
.container--mid { width: min(100% - 2 * var(--gutter), 1000px); }

.section { position: relative; padding-block: var(--section-y); background: #fff; }
.section--mist { background: var(--mist); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--tile { padding-block: 4px; }

.section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: var(--tile-gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.split-layout {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) {
  .split-layout { grid-template-columns: 1.05fr .95fr; }
  .split-layout--reverse > :first-child { order: 2; }
  .split-layout--top { align-items: start; }
}

.stack > * + * { margin-top: var(--tile-gap); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--tile-gap); align-items: center; margin-top: 24px; }
.btn-row--center { justify-content: center; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 6px; }
.check-list li { display: grid; grid-template-columns: 9px 1fr; gap: 11px; align-items: start; }
.check-list li::before { content: ""; width: 9px; height: 9px; margin-top: .55em; background: var(--sun); }


/* ---------------------------------------------------------------------
   5. Buttons, kickers, chips, links
   --------------------------------------------------------------------- */
.icon {
  width: 1.25em; height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.btn {
  --btn-bg: var(--btn-main);
  --btn-fg: var(--btn-main-fg);
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 46px;
  padding: .55em 1.35em;
  border: 2px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .12s, color .12s, border-color .12s, transform .12s;
}
.btn:hover { --btn-bg: var(--btn-hover); --btn-fg: var(--btn-hover-fg); color: var(--btn-fg); }
.btn:active { transform: perspective(600px) rotateX(5deg) scale(.97); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .12s; }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--ink); }
.btn--sun:hover { --btn-bg: #fff; --btn-fg: var(--ink); }

.btn--outline, .btn--light { --btn-bg: transparent; --btn-fg: var(--heading); --btn-border: var(--heading); }
.btn--outline:hover, .btn--light:hover { --btn-bg: var(--heading); --btn-fg: var(--ghost-hover-fg); --btn-border: var(--heading); }

.btn--sm { min-height: 40px; padding: .4em 1.05em; font-size: .95rem; }
.btn--block { width: 100%; }

.kicker { margin: 0 0 12px; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--heading); }

/* Line under a section title */
.subkicker { margin: -2px 0 14px; font-size: 1.25rem; font-weight: 300; line-height: 1.3; color: var(--heading); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 3px 11px;
  box-shadow: inset 0 0 0 1px currentColor;
  color: var(--heading);
  font-size: .92rem;
  line-height: 1.4;
}
.chip .icon { width: 1.05em; height: 1.05em; }
.chip--sun { background: var(--sun); box-shadow: none; color: var(--ink); }
.chip--ink { background: var(--deep); box-shadow: none; color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  color: var(--link);
  text-decoration: none;
}
.link-arrow .icon { transition: transform .12s; }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(3px); }

.breadcrumbs { margin-bottom: 22px; font-size: .92rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--heading); text-decoration: underline; }


/* ---------------------------------------------------------------------
   6. Art: lava edges, lava blobs, topography, service drawings
   --------------------------------------------------------------------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Slow lava curve at the top or bottom of a coloured area. The front layer
   has the colour of the neighbouring section, so it looks cut out. */
.lava-edge {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: var(--edge-h);
  fill: #fff;
  pointer-events: none;
}
.lava-edge--top { top: -3px; }
.lava-edge--bottom { bottom: -3px; }
.section--mist + .band .lava-edge--top { fill: var(--mist); }
.band:has(+ .section--mist) .lava-edge--bottom,
.page-hero:has(+ .section--mist) .lava-edge--bottom,
.hero:has(+ .section--mist) .lava-edge--bottom { fill: var(--mist); }

/* Lava lamp blobs, half hidden behind a picture */
.lava {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  aspect-ratio: 1;
  background: var(--sky-2);
  border-radius: 58% 42% 63% 37% / 46% 58% 42% 54%;
  animation: lava 16s ease-in-out infinite alternate;
}
.lava--tl { top: -13%; left: -9%; width: 52%; }
.lava--br { right: -8%; bottom: -14%; width: 46%; background: var(--sun-soft); animation-delay: -6s; animation-duration: 19s; }
.lava--blue { background: #4A72CB; }
.lava--sun { background: var(--sun); }
@keyframes lava {
  50% { border-radius: 40% 60% 44% 56% / 62% 38% 60% 40%; transform: translate(4%, 5%) scale(1.06); }
  100% { border-radius: 64% 36% 52% 48% / 38% 64% 36% 62%; transform: translate(-3%, 2%) scale(.96); }
}

/* Topography contour lines, faded out at the edges */
.topo {
  pointer-events: none;
  aspect-ratio: 1;
  background: url("../img/topography.svg") 0 0 / 300px;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent);
  mask-image: radial-gradient(closest-side, #000 35%, transparent);
}
.hero__topo { position: absolute; z-index: 0; width: 130%; top: -28%; right: -46%; opacity: .6; }
.band__topo { position: absolute; z-index: 0; width: 76%; top: -34%; right: -16%; opacity: .6; }

/* Thin-line drawing of a service, with one yellow point */
.art {
  --art-line: rgba(255, 255, 255, .42);
  --art-faint: rgba(255, 255, 255, .26);
  --art-dot: #fff;
  position: absolute;
  z-index: -1;
  top: 14px;
  right: 14px;
  width: min(38%, 230px);
  pointer-events: none;
}
.art path, .art .ring { fill: none; stroke: var(--art-line); stroke-width: 1.4; }
.art .faint { stroke: var(--art-faint); stroke-dasharray: 3 6; }
.art circle:not(.ring) { fill: var(--art-dot); opacity: .6; transition: transform .5s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; transform-origin: center; }
.art circle.is-sun { fill: var(--sun); opacity: 1; }
.art .ring.is-sun { stroke: var(--sun); opacity: .8; }
.svc:hover .art circle:not(.ring), .service-card:hover .art circle:not(.ring) { transform: scale(1.3); }


/* ---------------------------------------------------------------------
   7. Header & navigation
   --------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.topbar {
  position: relative;
  z-index: 60;
  display: none;
  font-size: .9rem;
  color: var(--muted);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__social { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.topbar__social a {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  color: var(--blue);
  transition: background-color .12s, color .12s;
}
.topbar__social a:hover { background: var(--sky); color: var(--deep); }
.topbar__social .icon { width: 18px; height: 18px; }
.topbar__info { display: flex; gap: 22px; margin: 0; }
.topbar__info a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; }
.topbar__info a:hover { color: var(--deep); }
.topbar__info .icon { width: 16px; height: 16px; color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow .12s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--sky-2); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: auto; height: 50px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: 600 .95rem/1 var(--font-body);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
html:not(.js) .nav-toggle { display: none; }

/* Mobile-first navigation panel */
.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 12px var(--gutter) 28px;
  background: #fff;
  box-shadow: 0 1px 0 var(--sky-2);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
html:not(.js) .nav { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; padding: 0 0 16px; }

.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; border-bottom: 1px solid var(--sky-2); }
.nav__row { display: flex; align-items: center; justify-content: space-between; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
  text-decoration: none;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--blue); }
.nav__sub-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav__sub-toggle .icon { transition: transform .2s ease; }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0 0 12px; padding: 4px 0 4px 14px; border-left: 3px solid var(--sky-2); }
.js .nav__sub { display: none; }
.js .nav__sub.is-open { display: block; }
.nav__sub a {
  display: block;
  padding: 9px 8px;
  color: var(--text);
  text-decoration: none;
}
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--deep); background: var(--sky); }
.nav__sub-hub { font-weight: 600; color: var(--deep) !important; }
.nav__cta { margin-top: 18px; width: 100%; }

@media (min-width: 720px) {
  .topbar { display: block; }
  .brand img { height: 56px; }
  :root { --header-h: 84px; }
}

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .nav, html:not(.js) .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 14px;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { border: 0; }
  .nav__link { padding: 10px; font-size: 1rem; white-space: nowrap; }
  .nav__link[aria-current="page"], .nav__item.is-current > .nav__row .nav__link { color: var(--blue); }
  .nav__link[aria-current="page"]::after,
  .nav__item.is-current > .nav__row .nav__link::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 2px;
    height: 3px;
    background: var(--sun);
  }
  .nav__item.has-sub .nav__link { padding-right: 2px; }
  .nav__sub-toggle { width: 26px; height: 32px; }
  .nav__sub-toggle .icon { width: 16px; height: 16px; }
  .nav__sub,
  .js .nav__sub {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    display: block;
    min-width: 290px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line);
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .nav__item.has-sub:hover > .nav__sub,
  .nav__item.has-sub:focus-within > .nav__sub,
  .js .nav__sub.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav__cta { margin: 0 0 0 6px; width: auto; }
}


/* ---------------------------------------------------------------------
   8. Footer
   --------------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(50px, 6vw, 80px);
  padding: calc(var(--edge-h) + clamp(32px, 4vw, 56px)) 0 28px;
  font-size: .97rem;
}
.site-footer::before { content: ""; position: absolute; z-index: -1; inset: 2px 0 0; background: var(--ink); }
.footer__grid { display: grid; gap: 40px; }
.footer__intro { max-width: 34ch; margin: 0 0 20px; }
.footer__title { margin: 0 0 14px; font-size: 1.25rem; line-height: 1.2; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a { color: var(--text); text-decoration: none; }
.footer__links a:hover { color: var(--sun-light); text-decoration: underline; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; }
.footer__contact a:hover { color: var(--sun-light); }
.footer__contact .icon { color: var(--sun); }
.footer__social { display: flex; gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; }
.footer__social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background-color .12s, color .12s;
}
.footer__social a:hover { background: var(--sun); color: var(--ink); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}


/* ---------------------------------------------------------------------
   9. Coloured areas: hero, page hero, band
   The colour lives on ::before, 2 px inside the area, so no thin line can
   show past the lava edge when the area ends on a fraction of a pixel.
   --------------------------------------------------------------------- */
.hero, .page-hero, .contact, .band { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .page-hero::before, .contact::before, .band::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 2px;
  background: var(--gradient);
}
.band::before { inset: 2px 0; }

.hero { padding: clamp(36px, 5.4vw, 76px) 0 var(--band-y); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.2vw, 4.7rem); }
.hero__art { position: relative; justify-self: center; width: min(100%, 400px); }
.hand-note { font-family: var(--font-hand); font-weight: 600; font-size: 1.7rem; line-height: 1.2; color: var(--deep); }
.on-dark .hand-note { color: var(--sun-light); }
.hero__note { margin: 22px 0 0; }
@media (min-width: 1100px) { .hero__grid { grid-template-columns: 1fr 1.25fr; } }
@media (max-width: 860px) { .hero__art { margin-top: 56px; } }

/* Hero stage: the photo in the middle, company services on her left hand
   and the maps on her right. On a phone the photo sits above both columns. */
.stage {
  position: relative;
  display: grid;
  grid-template: "photo photo" auto "biz maps" auto / 1fr 1fr;
  gap: var(--tile-gap);
  align-items: center;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 680px);
  margin-top: 36px;
}
.stage__topo { position: absolute; z-index: -1; width: 90%; top: -24%; right: -24%; opacity: .6; }
.stage__photo { grid-area: photo; position: relative; min-width: 0; }
.stage__subject { position: relative; }
.stage--aalto .stage__subject { clip-path: url(#paivi-wave-edge); }
.stage__wave { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.stage__wave-lip { fill: var(--sky-2); }
.stage__lava--top { top: 3%; left: 8%; width: 68%; background: #4A72CB; }
.stage__lava--bottom { bottom: 0; right: 5%; width: 45%; background: var(--sun); animation-delay: -6s; animation-duration: 19s; }
.stage__frame { position: relative; z-index: 1; }
.stage__frame img { width: 100%; height: auto; }
.stage__side { position: relative; z-index: 1; display: grid; min-width: 0; gap: 10px; }
.stage__side--biz { grid-area: biz; }
.stage__side--maps { grid-area: maps; }
.stage__label { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.3; color: #fff; }
.stage-choice { position: relative; display: block; text-decoration: none; }
.stage-choice::after { content: ''; position: absolute; top: 50%; width: 10px; height: 1px; background: var(--sun); pointer-events: none; }
.stage__side--biz .stage-choice::after { left: 100%; }
.stage__side--maps .stage-choice::after { right: 100%; }
.stage__tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  height: 100%;
  min-height: 70px;
  padding: 10px 12px;
  background: #2C5DB8;
  color: #fff;
  font-size: .88rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .12s, color .12s, transform .12s;
}
.stage__tile strong { color: inherit; font-size: 1.1rem; font-weight: 400; line-height: 1.2; overflow-wrap: anywhere; hyphens: manual; }
.stage__side--maps .stage__tile { background: var(--sky); color: var(--ink); }
.stage-choice:is(:hover, :focus-visible) .stage__tile { background: var(--sun); color: var(--ink); animation-play-state: paused; }
@media (prefers-reduced-motion: no-preference) {
  .stage--aalto .stage__tile { animation: card-float 9s ease-in-out infinite alternate; }
  .stage--aalto .stage-choice:nth-of-type(2) .stage__tile { animation-delay: -5s; }
  .stage--aalto .stage__side--maps .stage-choice:first-of-type .stage__tile { animation-delay: -7s; }
  .stage--aalto .stage-choice:is(:hover, :focus-visible) .stage__tile { animation-play-state: paused; }
}
@keyframes card-float { from { transform: translateY(-.7px); } to { transform: translateY(.7px); } }
@media (min-width: 560px) {
  .stage { grid-template: "biz photo maps" auto / minmax(0,1fr) minmax(0,1.55fr) minmax(0,1fr); min-height: 320px; }
  .stage__photo { transform: translateY(18px); }
  .stage__side--biz { padding-right: 13px; }
  .stage__side--maps { padding-left: 13px; }
  .stage__side--biz .stage-choice:nth-of-type(2) { left: 16px; }
  .stage__side--maps .stage-choice:nth-of-type(2) { right: 9px; }
  .stage__side--maps .stage-choice:nth-of-type(3) { right: 18px; }
}
@media (max-width: 559px) {
  .stage__photo { width: min(74%, 270px); justify-self: center; }
  .stage__side { align-self: start; }
  .stage__side--biz .stage-choice:first-of-type { margin-right: 10px; }
  .stage__side--maps .stage-choice:first-of-type { margin-left: 10px; }
  .stage__side--maps .stage-choice:nth-of-type(2) { margin-left: 5px; }
  .stage-choice::after { width: 5px; }
}
@media (min-width: 1100px) { .stage { margin-top: 0; } }

.page-hero { padding: clamp(20px, 3vw, 40px) 0 var(--band-y); }
.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero__art { position: relative; justify-self: center; width: min(100%, 440px); }
.page-hero__art img { position: relative; z-index: 1; width: 100%; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0 0; padding: 0; list-style: none; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; max-width: 40em; }
.page-hero--center .btn-row { justify-content: center; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.1fr .9fr; } }
@media (max-width: 899px) { .page-hero__art { margin-top: 28px; } }

/* A photo with soft corners, in front of the lava */
.photo-blob { position: relative; z-index: 1; aspect-ratio: 1 / 1.04; overflow: hidden; border-radius: 28px; background: var(--sky); }
.photo-blob img { width: 100%; height: 100%; object-fit: cover; }

.band { padding-block: var(--band-y); }
.band-title { font-size: clamp(2rem, 3.6vw, 3rem); }

.band__grid { display: grid; gap: clamp(36px, 5vw, 76px); align-items: center; }
@media (min-width: 861px) {
  .band__grid { grid-template-columns: 5fr 6fr; }
  .band__grid.band--reverse { grid-template-columns: 6fr 5fr; }
  .band--reverse .band__grid > :first-child,
  .band__grid.band--reverse > :first-child { order: 2; }
}
.band__media { position: relative; }
.band__media > img:not(.band__photo) { position: relative; z-index: 1; margin-inline: auto; }
.band__photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; background: var(--sky); }
.band__meta { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0; padding: 0; list-style: none; }

.cta-panel { text-align: center; }
.cta-panel .lead { margin-inline: auto; max-width: 36em; }


/* ---------------------------------------------------------------------
   10. Home sections
   --------------------------------------------------------------------- */

/* Service box: every service has its own drawing */
.svc {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(26px, 3.2vw, 42px);
  background: var(--gradient);
}
.svc--light { --text: #fff; --muted: #DCE6F8; background: var(--gradient-light); }
.svc--pale { background: linear-gradient(155deg, #fff 35%, var(--sky) 100%); box-shadow: inset 0 0 0 1px var(--sky-2); }
.svc--pale .art, .service-card:not(.on-dark) .art { --art-line: rgba(58, 97, 184, .5); --art-faint: rgba(58, 97, 184, .32); --art-dot: var(--blue); }
/* Dot pattern: only the Yrityksille & muutokseen box has this */
.svc--dots::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
}
.svc__title { max-width: 62%; }
.svc__who { margin-top: 0; font-size: .95rem; }

.split__grid { display: grid; gap: var(--tile-gap); grid-auto-rows: 1fr; }
.split__grid .svc { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 861px) {
  .split__grid { grid-template-columns: 1fr 1fr; }
}
.split__grid .svc > .btn-row { margin-top: auto; padding-top: 20px; }
@media (max-width: 860px) {
  .svc { padding-top: 116px; }
  .svc__title { max-width: none; }
  .art { width: 130px; }
}

/* Two small price boxes inside a service box */
.mini-cards { display: grid; gap: var(--tile-gap); margin-top: 18px; }
@media (min-width: 460px) { .mini-cards { grid-template-columns: 1fr 1fr; } }
.mini-card { padding: 14px 16px; box-shadow: inset 0 0 0 1px currentColor; font-size: .95rem; line-height: 1.4; }
.mini-card strong { display: block; font-size: 1.35rem; font-weight: 300; }

/* Founder & portrait */
.portrait { position: relative; justify-self: center; width: min(100%, 320px); margin: 0; }
.portrait__img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 55%; background: var(--sky); }
.portrait__badge { position: relative; z-index: 1; display: grid; padding: 10px 16px; background: var(--deep); color: #fff; }
.portrait__badge strong { color: #fff; }
.portrait__badge span { font-size: .92rem; color: #DCE6F8; }

.page-tarina .page-hero { --edge-h: 40px; padding-bottom: 60px; }
.page-tarina .page-hero + .section { padding-top: 30px; }
.story-opening {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr);
  grid-template-areas: "title portrait" "intro portrait"; gap: 18px clamp(30px, 6vw, 80px);
}
.story-opening h1 { grid-area: title; align-self: end; margin: 0; }
.story-opening .portrait { grid-area: portrait; width: min(100%, 260px); }
.story-opening__intro { grid-area: intro; max-width: 67ch; margin: 0; }
@media (max-width: 680px) {
  .story-opening { display: flow-root; }
  .story-opening h1 { margin-bottom: 18px; }
  .story-opening .portrait { float: right; width: min(37%, 165px); margin: 2px 0 8px 18px; }
  .story-opening .portrait__badge { padding: 5px 8px; font-size: .88rem; }
  .story-opening .portrait__badge span { font-size: .78rem; }
  .story-opening .portrait .lava { display: none; }
}

.quote {
  margin: 18px 0;
  padding-left: 18px;
  border-left: 3px solid var(--sun);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--heading);
}
.quote footer { margin-top: 8px; font-size: .95rem; font-weight: 400; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 4px; }
.faq__item { background: var(--sky); }
.faq__item summary {
  position: relative;
  display: block;
  padding: 14px 52px 14px 18px;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 14px; height: 2px;
  background: currentColor;
  transition: transform .2s ease;
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary { background: var(--deep); color: #fff; }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { background: var(--sky-2); }
.faq__item[open] summary:hover { background: var(--ink); }
.faq__answer { padding: 14px 18px; }

/* Call-to-action tiles: pale blue for contact, soft yellow for job seekers */
.pool-cta, .cta-box {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 3.2vw, 42px);
  overflow: hidden;
  background: linear-gradient(155deg, #fff 35%, var(--sky) 100%);
  box-shadow: inset 0 0 0 1px var(--sky-2);
}
.pool-cta { background: var(--sun-soft); box-shadow: none; }
.pool-cta__art, .cta-box__art { width: min(100%, 320px); max-height: 280px; margin-inline: auto; }
.pool-cta .lava, .cta-box .lava { z-index: -1; top: -110px; right: -90px; width: 300px; background: #FBE6AE; }
.cta-box .lava { background: var(--sky-2); }
@media (min-width: 861px) { .pool-cta, .cta-box { grid-template-columns: 3fr 2fr; } }


/* ---------------------------------------------------------------------
   11. Sub-pages: routes, cards, prices, notes
   --------------------------------------------------------------------- */

/* Process steps: numbered tiles on a thin line */
.route { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: var(--tile-gap); }
.route::before {
  content: "";
  position: absolute;
  left: 22px; top: 22px; bottom: 22px;
  width: 1px;
  background: var(--line);
}
.route__step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.route__pin {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--deep);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
}
.route__pin .icon { width: 1.2em; height: 1.2em; }
.route__step:last-child .route__pin { background: var(--sun); color: var(--ink); }
.route__body { padding: 16px 20px 18px; background: var(--sky); }
.route__body h3 { margin: 0 0 6px; font-size: 1.3rem; }
.route__body p { margin: 0; font-size: .98rem; }
.route__step--goal .route__body { background: var(--sun-soft); }
.section--mist .route__body { background: #fff; box-shadow: inset 0 0 0 1px var(--sky-2); }
.section--mist .route__step--goal .route__body { background: var(--sun-soft); box-shadow: none; }
.on-dark .route__body { background: #2C5DB8; }
.on-dark .route__step--goal .route__body { --text: #22314D; --heading: var(--ink); background: var(--sun-soft); color: var(--text); }
.on-dark .route::before { background: rgba(255, 255, 255, .35); }

/* Horizontal route for 3–4 steps on wide screens */
@media (min-width: 900px) {
  .route--h { grid-auto-flow: column; grid-auto-columns: 1fr; }
  .route--h::before { left: 22px; right: 22px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .route--h .route__step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 12px; }
}

/* Service cards (hubs) */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(155deg, #fff 35%, var(--sky) 100%);
  box-shadow: inset 0 0 0 1px var(--sky-2);
}
.service-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.service-card__icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--sky); color: var(--deep); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card h3 { margin: 0; }
.service-card p { margin: 0; }
.service-card .check-list { margin: 4px 0 0; font-size: .97rem; }
.service-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sky-2); }
.service-card__price { font-size: 1.35rem; font-weight: 300; line-height: 1.1; color: var(--heading); }
.service-card__price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.service-card--feature { background: var(--gradient); box-shadow: none; }
.service-card--feature .service-card__foot { border-color: rgba(255, 255, 255, .18); }
.service-card--feature .service-card__icon { background: rgba(255, 255, 255, .1); color: var(--sun); }
/* A card with a drawing shows it instead of the small icon */
.service-card--art > .service-card__top { justify-content: flex-start; max-width: 62%; }
.service-card--art > .service-card__top .service-card__icon { display: none; }
.service-card--art .art { width: min(28%, 150px); }
.service-card--art h3 { max-width: 62%; min-height: 2.3em; }
@media (max-width: 860px) {
  .service-card--art { padding-top: 116px; }
  .service-card--art .art { width: 130px; }
  .service-card--art > .service-card__top, .service-card--art h3 { max-width: none; min-height: 0; }
}

/* Deliverable tile */
.deliverable {
  position: relative;
  display: grid;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--sky);
  overflow: hidden;
}
.deliverable__art { width: min(100%, 300px); margin-inline: auto; }
@media (min-width: 760px) { .deliverable { grid-template-columns: .8fr 1.2fr; } }

/* Info note */
.note {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px 22px;
  background: var(--sun-soft);
}
.note__icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--sun); color: var(--ink); }
.note h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.note p { margin: 0 0 .6em; }
.note p:last-child { margin-bottom: 0; }
.note small { display: block; color: #6B5A2A; }
.note + .note { margin-top: var(--tile-gap); }
.note--sky { background: var(--sky); }
.note--sky .note__icon { background: var(--deep); color: #fff; }

/* Price list */
.price-group + .price-group { margin-top: clamp(40px, 6vw, 64px); }
.price-group__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.price-card h3 { margin: 0; font-size: 1.35rem; }
.price-card p { margin: 0; font-size: .97rem; }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; font-size: 2.3rem; font-weight: 300; line-height: 1; color: var(--deep); }
.price-card__price small { font-size: .92rem; font-weight: 400; line-height: 1.2; color: var(--muted); }
.price-card__price--ask { font-size: 1.35rem; }
.price-card__foot { margin-top: auto; padding-top: 10px; }
.price-card--feature { box-shadow: inset 0 0 0 2px var(--sun); }

/* "For whom" box */
.for-whom {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 20px;
  background: var(--sky);
}
.service-card .for-whom { background: #fff; box-shadow: inset 0 0 0 1px var(--sky-2); }
.service-card--feature .for-whom { background: rgba(255, 255, 255, .08); box-shadow: none; }

/* Values: tiles in three colours */
.value { display: grid; align-content: start; gap: 8px; padding: 22px 24px 26px; background: var(--sky); }
.value:nth-child(3n + 2) { background: none; box-shadow: inset 0 0 0 1px var(--line); }
.value:nth-child(3n) { --text: #fff; --heading: #fff; background: var(--deep); color: var(--text); }
.value .service-card__icon { margin-bottom: 4px; width: auto; height: auto; justify-content: start; background: none; color: inherit; }
.value h3 { margin: 0; }
.value p { margin: 0; }

/* Generic prose */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.3em; font-size: 1.3rem; }
.prose ul { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }


/* ---------------------------------------------------------------------
   12. Open positions
   --------------------------------------------------------------------- */
.jobs { display: grid; gap: var(--tile-gap); }
@media (min-width: 720px) { .jobs { grid-template-columns: repeat(2, 1fr); } }
.job {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(155deg, #fff 35%, var(--sky) 100%);
  box-shadow: inset 0 0 0 1px var(--sky-2);
}
.job h3 { margin: 0; }
.job p { margin: 0; }
.job .btn-row { margin-top: auto; padding-top: 8px; }
.job__meta { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.job--empty { background: var(--sky); box-shadow: none; }
.job--open { background: var(--gradient); box-shadow: none; }


/* ---------------------------------------------------------------------
   13. Contact cards & contact page
   --------------------------------------------------------------------- */
.form-card {
  position: relative;
  padding: clamp(24px, 3.2vw, 42px);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--sky-2);
}
.contact-card h3 { margin: 1.3em 0 .5em; font-size: 1.3rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--tile-gap); margin: 18px 0 14px; }
.contact-actions .btn .icon, .cta-box .btn .icon { width: 20px; height: 20px; }
.contact-address { margin: 0; overflow-wrap: anywhere; }
.copy-btn {
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--deep);
  font: 600 .88rem/1.3 var(--font-body);
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--deep); }
.form-note { font-size: .92rem; color: var(--muted); }
.cta-direct { margin: 14px 0 0; font-size: .97rem; overflow-wrap: anywhere; }

.steps-aside { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps-aside li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; counter-increment: s; }
.steps-aside li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--sky);
  color: var(--deep);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1;
}
.on-dark .steps-aside li::before { background: #2C5DB8; color: #fff; }
.steps-aside strong { display: block; }
.steps-aside span { color: var(--muted); font-size: .96rem; }

.contact { padding: clamp(20px, 3vw, 40px) 0 var(--band-y); }
.contact__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .9fr 1.1fr; } }
.contact__art { position: relative; width: min(100%, 400px); margin: 6px auto 0; }
.contact__list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact__list .service-card__icon { background: #2C5DB8; color: #fff; }
.contact__list a { font-weight: 600; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--sun-light); text-decoration: underline; }
.contact__list small { display: block; color: var(--muted); }


/* ---------------------------------------------------------------------
   14. Motion
   --------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .1s; }
.js [data-reveal="3"] { transition-delay: .2s; }
/* Failsafe: main.js sets .reveal-ready. Without it the content still appears. */
html.js:not(.reveal-ready) [data-reveal] { animation: reveal-failsafe .3s 1.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}


/* ---------------------------------------------------------------------
   15. Utilities
   --------------------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0 !important; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.mb-0 { margin-bottom: 0 !important; }
.relative { position: relative; }
.z-1 { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------
   Small-screen safety: decorations never widen the page, long Finnish
   compound words may break instead of pushing cards wider.
   --------------------------------------------------------------------- */
.section { overflow-x: clip; }
.grid > *, .split-layout > *, .band__grid > *, .hero__grid > *, .page-hero__grid > *,
.contact__grid > *, .deliverable > *, .pool-cta > *, .cta-box > *,
.for-whom > *, .note > *, .svc > *, .route__step > * { min-width: 0; }
.service-card__top .chip, .price-card .chip { white-space: normal; }
@media (max-width: 860px) {
  .lava--tl { left: -5%; }
  .lava--br { right: -5%; }
}
@media (max-width: 440px) {
  h1, h2, h3, .btn, .chip, .for-whom, .note, .link-arrow { overflow-wrap: anywhere; }
  .for-whom, .note { grid-template-columns: 1fr; }
  .btn { padding-inline: 1em; }
}
