/* Ideearendus — built on komp B "Tõestus ees". 60 ink · 30 white · 10 amber. */









:root {
  --ink: #121110;
  --ink-hi: #2a2724;
  --on-ink: #f4f1ec;
  --on-ink2: #a8a29a;
  --paper: #ffffff;
  --text2: #5d5850;
  --amber: #f9b82c;
  --amber-hi: #ffca52;
  --amber-ink: #8a5a00;
  --field: #eeeae3;
  --wrap: min(1240px, 100% - 80px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hd: 76px;
}

/* base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 8px); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; font: 400 18px/1.6 "Familjen Grotesk", system-ui, sans-serif; color: var(--ink); background: var(--ink); overflow-x: clip; }
main { flex: 1 0 auto; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
strong, b, th, dt { font-weight: 600; }
em { font-style: normal; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.ia-wrap { width: var(--wrap); margin-inline: auto; }
.ia-nw { white-space: nowrap; }
.ia-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ia-skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.ia-skip:focus { top: 16px; }
.ia-ic { width: 1.15em; height: 1.15em; flex: none; }
.ia-on-white { background: var(--paper); color: var(--ink); }
.ia-on-amber { background: var(--amber); color: var(--ink); }
.ia-on-ink { color: var(--on-ink); }

/* actions */
.ia-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 17px; line-height: 1.2; white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.ia-btn .ia-ic { transition: transform .2s var(--ease); }
.ia-btn:hover { transform: translateY(-2px); }
.ia-btn:hover .ia-ic { transform: translateX(3px); }
.ia-btn-amber { background: var(--amber); color: var(--ink); }
.ia-btn-amber:hover { background: var(--amber-hi); }
.ia-btn-ink { background: var(--ink); color: var(--on-ink); }
.ia-btn-ink:hover { background: var(--ink-hi); }
.ia-btn-lg { padding: 17px 26px; font-size: 19px; }
.ia-arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ia-arrow-link .ia-ic { transition: transform .2s var(--ease); }
.ia-arrow-link:hover .ia-ic { transform: translateX(4px); }
.ia-on-white .ia-arrow-link:hover, .ia-on-white a.ia-arrow-link:focus-visible { color: var(--amber-ink); }
.ia-on-ink .ia-arrow-link:hover { color: var(--amber); }
.ia-ticks { display: grid; gap: 10px; }
.ia-ticks li { display: flex; gap: 10px; align-items: baseline; }
.ia-ticks .ia-ic { transform: translateY(3px); }

/* header: komp B's bar, nav in a larger display weight with a services panel */
.ia-hd { position: sticky; top: 0; z-index: 50; height: var(--hd); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-inline: 40px; background: var(--ink); color: var(--on-ink); }
.ia-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; letter-spacing: -.02em; justify-self: start; }
.ia-logo img { width: 44px; height: 44px; }
.ia-nav { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.ia-nav > a, .ia-nav-sub > a { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border-radius: 10px; color: var(--on-ink); transition: color .2s; }
.ia-nav > a:hover, .ia-nav-sub > a:hover, .ia-nav-sub:focus-within > a { color: var(--amber); }
.ia-nav a[aria-current="page"] { color: var(--amber); }
.ia-nav-ch { width: 16px; height: 16px; transition: transform .2s; }
.ia-nav-sub { position: relative; }
.ia-nav-sub:hover .ia-nav-ch, .ia-nav-sub:focus-within .ia-nav-ch { transform: rotate(180deg); }
.ia-nav-panel { position: absolute; left: 50%; top: 100%; width: 560px; margin-left: -280px; padding: 18px; background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
.ia-nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ia-nav-sub:hover .ia-nav-panel, .ia-nav-sub:focus-within .ia-nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease), visibility 0s; }
.ia-nav-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.ia-nav-panel ul a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; font-size: 18px; transition: background .2s; }
.ia-nav-panel ul a .ia-ic { width: 22px; height: 22px; color: var(--amber-ink); }
.ia-nav-panel ul a:hover, .ia-nav-panel ul a:focus-visible { background: var(--field); }
.ia-nav-panel-all { display: inline-flex; align-items: center; gap: 8px; margin: 10px 14px 4px; font-size: 17px; }
.ia-nav-panel-all:hover { color: var(--amber-ink); }
.ia-hd-right { justify-self: end; display: flex; align-items: center; gap: 4px; }
.ia-hd-cta { margin-left: 6px; }
.ia-hd-cta[aria-current="page"] { background: var(--on-ink); }
.ia-tel { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.ia-tel:hover { color: var(--amber); }
.ia-tel-tip { position: absolute; top: calc(100% + 8px); right: 0; background: var(--on-ink); color: var(--ink); padding: 8px 12px; border-radius: 10px; font-size: 16px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .2s; }
.ia-tel:hover .ia-tel-tip, .ia-tel:focus-visible .ia-tel-tip { opacity: 1; transform: none; }
.ia-sheet { display: none; }
.ia-sheet summary { list-style: none; }
.ia-sheet summary::-webkit-details-marker { display: none; }

/* clips: muted looping video in a rounded frame */
.ia-clip { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #e9ebef; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ia-clip video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ia-clip-btn { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--on-ink); opacity: .85; transition: opacity .2s, transform .2s var(--ease); }
.ia-clip-btn:hover { opacity: 1; transform: scale(1.06); }
.ia-clip-btn .ia-ic { width: 20px; height: 20px; }
.ia-clip-play, .ia-clip.ia-paused .ia-clip-pause { display: none; }
.ia-clip-zoom { right: 66px; }                                 /* beside pause */
.ia-clip.ia-zoomable video { cursor: zoom-in; }
.ia-clip-dlg { margin: auto; padding: 0; border: 0; background: transparent; width: min(94vw, 1500px, calc((100dvh - 96px) * 16 / 9)); overflow: visible; }
.ia-clip-dlg::backdrop { background: rgba(18, 17, 16, .88); }
.ia-clip-dlg video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.ia-clip-dlg-x { position: absolute; top: -56px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--on-ink); color: var(--ink); }
.ia-clip-dlg-x .ia-ic { width: 22px; height: 22px; }
.ia-clip-dlg-x:hover { background: #fff; }
.ia-clip-dlg[open] { animation: clip-in .28s var(--ease); }
@keyframes clip-in { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .ia-clip-dlg[open] { animation: none; } }
@media (max-width: 640px) { .ia-clip-dlg-x { top: -52px; right: 4px; } }
.ia-clip.ia-paused .ia-clip-play { display: block; }

/* hero — centred promise, client names, the wall of real sites */
.ia-hero { position: relative; padding: 96px 0 0; color: var(--on-ink); text-align: center; overflow: hidden; }
.ia-hero-copy { width: var(--wrap); max-width: 940px; margin-inline: auto; }
.ia-hero h1 { font-size: clamp(44px, 5.8vw, 84px); letter-spacing: -.035em; line-height: 1.04; }
.ia-hero-copy > p { margin: 24px auto 0; max-width: 40ch; font-size: 21px; color: var(--on-ink2); }
.ia-hero-acts { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 36px; }
.ia-names { width: var(--wrap); max-width: 1000px; margin: 64px auto 0; }
.ia-names-h { display: block; font-size: 16px; color: var(--on-ink2); margin-bottom: 14px; }
.ia-names ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.ia-names a { font-size: 20px; font-weight: 600; color: var(--on-ink); opacity: .7; transition: opacity .2s, color .2s; }
.ia-names a:hover, .ia-names a:focus-visible { opacity: 1; color: var(--amber); }
.ia-wall { position: relative; height: 470px; margin-top: 40px; perspective: 1600px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 70%, transparent 100%); }
.ia-wall-plane { position: absolute; left: 50%; top: 0; width: 2400px; margin-left: -1200px; --rx: 30deg; --rz: -8deg;
  transform: rotateX(var(--rx)) rotateZ(var(--rz)) translateY(-40px); transform-origin: 50% 0; transition: transform .8s var(--ease); }
.ia-wall-row { display: flex; gap: 20px; margin-bottom: 20px; will-change: transform; }
.ia-wall-row img { width: 340px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; flex: none; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); transition: opacity .35s, transform .45s var(--ease), filter .35s; }
.ia-wall.ia-hl img { opacity: .18; filter: grayscale(1); }
.ia-wall.ia-hl img.ia-on { opacity: 1; filter: none; transform: translateY(-18px) scale(1.08); }

/* business hero: the promise, then the company facts in one row, then the wall */
.ia-hero-biz h1 { max-width: 15ch; margin-inline: auto; }
.ia-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-top: 56px; }
.ia-facts div { display: grid; gap: 2px; }
.ia-facts dt { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.ia-facts dd { font-size: 16px; color: var(--on-ink2); }
.ia-hero-biz .ia-wall { margin-top: 56px; }

/* services directory beside its heading */
.ia-svc-band { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.ia-svc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
/* the third part of Meie poolt: custom solutions. A dark card with a real admin screen fading in from the top, white
   text and icons. It hangs below the services row. */
.ia-svc-eri { position: relative; margin-top: auto; margin-bottom: -120px; width: 100%; padding: 30px 30px 28px; border-radius: 22px;
  color: var(--on-ink); display: grid; gap: 12px; justify-items: start; background: rgba(18, 17, 16, .72); box-shadow: 0 40px 70px -34px rgba(18, 17, 16, .6); }
.ia-svc-eri h3 { font-size: 32px; letter-spacing: -.03em; line-height: 1.05; }
.ia-svc-eri > p { color: var(--on-ink2); }
.ia-svc-eri-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 8px; width: 100%; margin: 12px 0 8px; }
.ia-svc-eri-kinds li { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ia-svc-eri-kinds .ia-icf { width: 36px; height: 36px; color: var(--on-ink); }
.ia-svc-eri-kinds span { font-size: 15px; font-weight: 600; line-height: 1.15; color: var(--on-ink); }
.ia-svc-eri .ia-arrow-link { color: var(--on-ink); }
.ia-svc-eri .ia-arrow-link:hover { color: var(--amber); }
@media (max-width: 480px) {
  .ia-svc-eri-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .ia-svc-eri-kinds li { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 8px; }
  .ia-svc-eri-kinds .ia-icf { width: 26px; height: 26px; }
}
/* one column: heading, services, then the custom-solutions box (the owner's reading order) */
@media (max-width: 960px) {
  .ia-svc-band { row-gap: 18px; }
  .ia-svc-head { display: contents; }
  .ia-svc-band .ia-svc-list { order: 1; margin-top: 18px; }
  .ia-svc-eri { order: 2; margin-top: 30px; margin-bottom: 0; }
}

.ia-band-lead { color: var(--text2); font-size: 19px; max-width: 34ch; }
.ia-band-h + .ia-band-lead { margin-top: 18px; }
.ia-on-ink .ia-band-lead { color: var(--on-ink2); }
.ia-svc-band .ia-svc-list h3 { font-size: 23px; letter-spacing: -.02em; }
.ia-svc-band .ia-svc-list a:hover h3 { color: var(--amber-ink); }
.ia-svc-band .ia-svc-list li a { padding: 22px 0; }

/* works on ink (home) */
.ia-works-ink .ia-work-what { color: var(--on-ink2); }
.ia-works-ink .ia-work-link:hover { color: var(--amber); }
.ia-works-ink .ia-frame { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }

/* process on white, as a column beside the clip */
.ia-on-white .ia-steps p { color: var(--text2); }
.ia-on-white .ia-steps > li:not(:last-child)::after { background: var(--field); }
.ia-steps.ia-steps-col { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 36px; }
.ia-steps.ia-steps-col > li { padding: 0 0 0 34px; }
.ia-steps.ia-steps-col > li:not(:last-child)::after { left: 6px; right: auto; top: 22px; bottom: -22px; width: 2px; height: auto; }

/* client feedback: the second row of the company band, a horizontal track of white cards; the stars sit half off
   each card's top edge at the right */
.ia-reviews-wrap { margin-top: 72px; }
.ia-reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 24px; overflow-x: auto; padding: 30px 4px 10px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #4a4640 transparent; overscroll-behavior-x: contain; }
.ia-reviews:focus-visible { outline-offset: 6px; }
/* carousel (site.js adds .car): the view clips, the track slides by whole cards; 3 / 2 / 1 per view */
.ia-rev-view.ia-car { overflow: hidden; margin: -30px -4px 0; padding: 30px 4px 10px; }
.ia-rev-view.ia-car .ia-reviews { display: flex; overflow: visible; padding: 0; scroll-snap-type: none; transition: transform .7s var(--ease); will-change: transform; }
.ia-rev-view.ia-car .ia-review { flex: 0 0 calc((100% - 48px) / 3); }
.ia-rev-nav { display: flex; gap: 10px; margin-top: 22px; }
.ia-rev-nav[hidden] { display: none !important; }
.ia-review { position: relative; scroll-snap-align: start; display: grid; align-content: space-between; gap: 22px; padding: 38px 28px 26px; border-radius: 22px;
  background: #534e47; color: var(--on-ink); transition: transform .3s var(--ease), background .3s; }   /* a real step up from the ink (W32), not white: white is the base layer */
.ia-review:hover { transform: translateY(-4px); background: #5c564f; }
.ia-stars { position: absolute; top: 0; right: 24px; transform: translateY(-50%); display: flex; gap: 4px; padding: 9px 14px; border-radius: 999px; overflow: hidden;
  background: var(--ink); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .6); }
.ia-stars .ia-star { width: 19px; height: 19px; fill: url(#star-gold); stroke: #b77b00; stroke-width: 1; }
.ia-stars::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 244, 200, .55), rgba(255, 255, 255, 0)); pointer-events: none; }
.ia-review:hover .ia-stars::after { left: 130%; transition: left .9s var(--ease); }
.ia-review blockquote p { font-size: 21px; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.ia-review-who { font-size: 16px; color: #cfc8bd; font-weight: 600; }
/* summary under the row: small figures in one line */
.ia-review-sum { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 28px; font-size: 16px; color: var(--on-ink2); }
.ia-review-sum div { display: flex; align-items: baseline; gap: 8px; }
.ia-review-sum dt { display: inline-flex; align-items: center; gap: 8px; color: var(--on-ink); font-weight: 600; font-size: 18px; }
.ia-stars-inline { display: inline-flex; gap: 2px; }
.ia-stars-inline .ia-star { width: 14px; height: 14px; fill: url(#star-gold); stroke: #b77b00; stroke-width: 1; }


/* price list: name and line on the left, the starting price on the right; rows carried by space and type */
.ia-price-split { align-items: start; }
.ia-vat { margin-top: 14px; font-size: 16px; color: var(--on-ink2); }
.ia-plist { display: grid; gap: 4px; }
.ia-plist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding: 18px 20px; margin-inline: -20px; border-radius: 14px; transition: background .2s; }
.ia-plist a:hover, .ia-plist a:focus-visible { background: var(--ink-hi); }
.ia-plist-name { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.ia-plist-price { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 26px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: var(--amber); }
.ia-plist-price small { font-size: 16px; font-weight: 500; color: var(--on-ink2); letter-spacing: 0; }
.ia-plist-line { margin-top: 4px; font-size: 16px; color: var(--on-ink2); }

/* Teenused explorer: the title column holds the services as tabs, the panel beside it shows one at a time */
.ia-svx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.ia-svx-tabs { display: grid; gap: 2px; margin-top: 40px; }
.ia-svx-tabs a { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 0; font-size: 22px; font-weight: 600;
  letter-spacing: -.02em; color: var(--on-ink2); transition: color .25s, transform .35s var(--ease); }
.ia-svx-tabs a .ia-ic { width: 24px; height: 24px; transition: color .25s; }
.ia-svx-tabs a:hover { color: var(--on-ink); }
.ia-svx-tabs a[aria-selected="true"] { color: var(--on-ink); transform: translateX(8px); }
.ia-svx-tabs a[aria-selected="true"] .ia-ic { color: var(--amber); }
.ia-svx-eri { margin-top: 26px; }
.ia-svx-eri:hover { color: var(--amber); }
.ia-svx-panels { display: grid; }
.ia-svx-panel { padding-top: 8px; scroll-margin-top: calc(var(--hd) + 24px); }
.ia-svx-panel + .ia-svx-panel { margin-top: 64px; }
html.ia-js .ia-svx-panels .ia-svx-panel { grid-area: 1 / 1; margin-top: 0; }                   /* panels share one cell, one shows */
html.ia-js .ia-svx-panel[hidden] { display: none !important; }
html.ia-js .ia-svx-panel.ia-in { animation: svx-in .5s var(--ease) both; }
@keyframes svx-in { from { opacity: 0; transform: translateY(14px); } }
.ia-svx-panel h2 { font-size: clamp(40px, 4.4vw, 66px); }
.ia-svx-lead { margin-top: 16px; font-size: 21px; color: var(--on-ink2); max-width: 54ch; }
.ia-svx-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 30px 0 34px; }
.ia-svx-ticks .ia-ic { color: var(--amber); }
.ia-svx-ex { display: block; margin-top: 44px; color: var(--on-ink2); }
.ia-svx-ex .ia-frame { height: auto; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.ia-svx-ex:hover .ia-frame img, .ia-svx-ex:focus-visible .ia-frame img { transform: scale(1.04); }
.ia-svx-ex-t { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 17px; }
.ia-svx-ex-t strong { color: var(--on-ink); font-weight: 600; }
.ia-svx-ex-t .ia-ic { width: 18px; height: 18px; transition: transform .3s var(--ease), color .25s; }
.ia-svx-ex:hover .ia-svx-ex-t .ia-ic { transform: translateX(4px); color: var(--amber); }

/* Kliendid: client cases. The lead case pairs the shop with how its data moves; three shorter cases follow. */
.ia-cs-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.ia-cs-head .ia-band-lead { margin: 0; max-width: 40ch; }
.ia-cs-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 96px; align-items: start; margin-top: 96px; }
.ia-cs-lead .ia-frame { height: auto; aspect-ratio: 16 / 10; }
.ia-cs-lead .ia-frame:hover img, .ia-cs-more .ia-frame:hover img { transform: scale(1.04); }
.ia-cs-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; position: relative; }
.ia-cs-flow li { display: grid; align-content: start; gap: 4px; padding: 26px 24px 28px; border-radius: 16px; background: var(--ink); color: var(--on-ink2);
  font-size: 16px; position: relative; }
.ia-cs-flow li .ia-ic { width: 26px; height: 26px; color: var(--amber); margin-bottom: 10px; }
.ia-cs-flow strong { color: var(--on-ink); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ia-cs-flow li + li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 20px; height: 2px; background: var(--amber); }
.ia-cs-copy { padding-top: 8px; }
.ia-cs-copy h3 { font-size: clamp(34px, 3.2vw, 50px); letter-spacing: -.03em; }
.ia-cs-dl { display: grid; gap: 30px; margin: 36px 0 40px; }
.ia-cs-dl dt { font-size: 16px; font-weight: 600; color: var(--text2); }
.ia-cs-dl dd { margin: 6px 0 0; font-size: 19px; line-height: 1.6; }
.ia-cs-more-h { margin-top: 160px; font-size: clamp(30px, 2.8vw, 42px); letter-spacing: -.03em; }
.ia-cs-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 56px; margin-top: 40px; }
.ia-cs-more .ia-frame { height: auto; aspect-ratio: 16 / 10; }
.ia-cs-more h3 { margin-top: 26px; font-size: 24px; letter-spacing: -.02em; }
.ia-cs-dl-s { gap: 20px; margin: 20px 0 0; }
.ia-cs-dl-s dd { font-size: 17px; }

/* home close: the go band is amber (restored 2026-11-05; lost with the old Teenused rows block) */
.ia-go.ia-go-amber { background: var(--amber); color: var(--ink); }
.ia-go-amber .ia-go-sub, .ia-go-amber .ia-go-side p { color: #4a3d1f; }
.ia-go-amber .ia-arrow-link:hover { color: var(--ink); }

/* the company in short */
.ia-firm { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: start; }
.ia-firm-copy { display: grid; gap: 16px; }
.ia-firm-copy p { color: var(--on-ink2); font-size: 19px; max-width: 56ch; }
.ia-firm-copy .ia-arrow-link { margin-top: 10px; }
.ia-firm-copy .ia-arrow-link:hover { color: var(--amber); }
.ia-firm-figs { display: grid; gap: 34px; }
.ia-firm-figs dt { font-size: clamp(48px, 5vw, 72px); font-weight: 600; line-height: .95; letter-spacing: -.045em; }
.ia-firm-figs dd { margin-top: 8px; color: var(--on-ink2); }
.ia-firm-figs a { color: var(--on-ink); font-weight: 600; }
.ia-firm-figs a:hover { color: var(--amber); }

/* one partner — three statements beside the CMS guide clip */
.ia-what { padding: 120px 0 140px; color: var(--on-ink); }
.ia-what-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; } /* clips take two thirds */
.ia-what h2 { font-size: clamp(32px, 3.6vw, 52px); max-width: 14ch; }
.ia-what-list { display: grid; gap: 30px; margin-top: 44px; }
.ia-what-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; }
.ia-what-list .ia-ic { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--amber); }
.ia-what-list h3 { font-size: 23px; }
.ia-what-list p { color: var(--on-ink2); margin-top: 6px; }
.ia-what-media figcaption { margin-top: 14px; font-size: 16px; color: var(--on-ink2); }

/* works — the theme grid with real client sites */
.ia-works { padding: 130px 0 140px; }
.ia-works-top { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 52px; }
.ia-works-top h2, .ia-works-top h1 { font-size: clamp(34px, 3.9vw, 58px); }
.ia-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ia-filter a { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border-radius: 10px; font-weight: 600; color: var(--text2); transition: color .2s, background .2s; }
.ia-filter a:hover { color: var(--ink); }
.ia-filter a span { font-size: 16px; font-weight: 500; }
.ia-filter a[aria-current="true"] { background: var(--ink); color: var(--on-ink); }
.ia-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 36px; }
.ia-frame { display: block; height: 250px; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 24px 50px -28px rgba(18, 17, 16, .55); }
.ia-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .6s var(--ease); }
.ia-work:hover .ia-frame img, .ia-work:focus-within .ia-frame img { transform: scale(1.04); }
.ia-work-name { margin-top: 18px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.ia-work-what { color: var(--text2); font-size: 16px; }
.ia-work-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 16px; font-weight: 600; }
.ia-work-link .ia-ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.ia-work-link:hover { color: var(--amber-ink); }
.ia-work-link:hover .ia-ic { transform: translate(2px, -2px); }
.ia-works-more { margin-top: 52px; }

/* custom work — directory */
.ia-eri { padding: 140px 0 120px; color: var(--on-ink); }
.ia-eri-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 96px; }
.ia-eri-copy h2 { font-size: clamp(46px, 5.4vw, 84px); }
@media (max-width: 1023px) { .ia-eri-copy h2 { font-size: clamp(34px, 5.2vw, 46px); } }   /* one long word: must fit its column on tablets */
.ia-eri-copy > p { margin-top: 20px; max-width: 38ch; font-size: 20px; color: var(--on-ink2); }
.ia-eri-copy .ia-price { display: flex; align-items: end; gap: 14px; margin: 36px 0 28px; color: var(--on-ink2); font-size: 16px; line-height: 1.3; }
.ia-price strong { font-size: 76px; line-height: .9; letter-spacing: -.04em; color: var(--on-ink); }
.ia-eri-shot { display: block; margin-top: 56px; height: 320px; border-radius: 18px; overflow: hidden; }
.ia-eri-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ia-eri-shot figcaption { margin-top: 12px; font-size: 16px; color: var(--on-ink2); }
.ia-rows { display: grid; align-content: start; gap: 6px; }
.ia-rows li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 22px 0; }
.ia-row-ic { grid-row: 1 / 3; color: var(--amber); }
.ia-row-ic .ia-ic { width: 30px; height: 30px; transition: transform .3s var(--ease); }
.ia-rows li:hover .ia-row-ic .ia-ic { transform: rotate(-8deg) scale(1.12); }
.ia-rows h3 { font-size: 24px; }
.ia-rows p { color: var(--on-ink2); margin-top: 6px; }
.ia-eri-more { grid-column: 2; margin-top: 12px; justify-self: start; }
.ia-eri.ia-on-white { color: var(--ink); }
.ia-eri.ia-on-white .ia-eri-copy > p, .ia-eri.ia-on-white .ia-rows p, .ia-eri.ia-on-white .ia-price { color: var(--text2); }
.ia-eri.ia-on-white .ia-price strong { color: var(--ink); }
.ia-eri.ia-on-white .ia-row-ic { color: var(--amber-ink); }

/* own products on amber */
.ia-prods-band { padding: 72px 0 80px; }
.ia-prods-h { font-size: 18px; font-weight: 600; letter-spacing: 0; margin-bottom: 20px; }
.ia-prods ul { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.ia-prods li a, .ia-prods li span { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.ia-prods li a .ia-ic { transition: transform .2s var(--ease); }
.ia-prods li a:hover .ia-ic { transform: translate(3px, -3px); }
.ia-prods small { display: block; font-size: 16px; color: #4a3d1f; }

/* packages — the price comparison */
.ia-price-band { padding: 130px 0 140px; }
.ia-cmp { border-collapse: separate; border-spacing: 14px 0; margin-inline: -14px; width: calc(100% + 28px); table-layout: fixed; }
.ia-cmp th, .ia-cmp td { text-align: left; vertical-align: top; }
.ia-cmp thead th { padding-bottom: 24px; }
.ia-cmp-title { width: 31%; vertical-align: bottom !important; }
.ia-cmp-title h2, .ia-cmp-title h1 { font-size: clamp(34px, 3.9vw, 58px); }
.ia-cmp-title p { margin-top: 12px; color: var(--text2); font-weight: 400; font-size: 16px; }
.ia-cmp-head { padding: 26px 24px !important; border-radius: 18px; background: var(--ink); color: var(--on-ink); }
.ia-cmp-head.ia-feat { background: var(--amber); color: var(--ink); }
.ia-cmp-head > span { display: block; }
.ia-cmp-name { font-size: 19px; }
.ia-cmp-price { display: block; margin: 10px 0 8px; font-size: 42px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.ia-cmp-price small { font-size: 17px; font-weight: 500; letter-spacing: 0; }
.ia-cmp-line { font-weight: 400; font-size: 16px; min-height: 4.8em; opacity: .8; margin-bottom: 18px; }
.ia-cmp-head .ia-btn { width: 100%; }
.ia-cmp tbody th { padding: 13px 0; font-weight: 500; }
.ia-cmp tbody td { padding: 13px 24px; }
.ia-cmp tbody td .ia-ic { width: 22px; height: 22px; }
.ia-cmp tbody td.ia-feat .ia-ic { color: #b97f00; }
.ia-cmp tbody tr:hover th { color: var(--amber-ink); }
.ia-packs { display: none; }
.ia-price-more { margin-top: 40px; }
.ia-price-page { padding-top: 88px; }
.ia-cmp-top { margin-bottom: 40px; }
.ia-cmp-top h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -.035em; }
.ia-cmp-top p { margin-top: 12px; color: var(--text2); font-size: 16px; }
.ia-ph-split.ia-ph-svc { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.ia-ph .ia-ph-svc h1 { font-size: clamp(46px, 5vw, 72px); }

/* inquiry close — form beside the start-flow clip */
.ia-go { padding: 140px 0 110px; color: var(--on-ink); }
.ia-go-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.ia-go h2 { font-size: clamp(46px, 5.4vw, 84px); letter-spacing: -.035em; line-height: 1.02; }
.ia-go-sub { margin-top: 18px; max-width: 40ch; font-size: 20px; color: var(--on-ink2); }
.ia-go-side { display: grid; gap: 22px; align-content: start; padding-top: 10px; }
.ia-go-side p { color: var(--on-ink2); }
.ia-iform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.ia-iform label > span { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--on-ink2); }
.ia-on-white .ia-iform label > span { color: var(--text2); }
.ia-iform input, .ia-iform select, .ia-iform textarea { width: 100%; background: var(--on-ink); color: var(--ink); border: 0; border-radius: 12px; padding: 15px 17px; font-size: 18px; }
.ia-on-white .ia-iform input, .ia-on-white .ia-iform select, .ia-on-white .ia-iform textarea { background: var(--field); }
.ia-iform textarea { resize: vertical; min-height: 120px; }
.ia-iform .ia-wide { grid-column: 1 / -1; }
.ia-iform button.ia-wide { justify-self: start; margin-top: 8px; }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e5484d; }
.ia-field-err { display: block; margin-top: 6px; font-style: normal; font-weight: 600; font-size: 16px; color: #ff9a9a; }
.ia-on-white .ia-field-err { color: #b4232a; }
.ia-hp { position: absolute; left: -9999px; }
.ia-note { display: flex; gap: 10px; align-items: center; margin-top: 32px; padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.ia-note-ok { background: var(--amber); color: var(--ink); }
.ia-note-bad { background: #ffd9d9; color: #6b0f12; }

/* footer */
.ia-ft { padding: 90px 0 40px; color: var(--on-ink); }
.ia-ft-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ia-ft-brand p { margin-top: 14px; color: var(--on-ink2); }
.ia-ft h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--on-ink2); margin-bottom: 14px; }
.ia-ft li { line-height: 2; }
.ia-ft a:hover { color: var(--amber); }
.ia-ft-legal { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; margin-top: 72px; font-size: 16px; color: var(--on-ink2); }
.ia-ft-legal p:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- inner pages ---------- */

/* page head: one size for every inner page; the composition beside the title varies per page */
.ia-ph { padding: 88px 0 96px; color: var(--on-ink); }
.ia-ph h1 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -.035em; line-height: 1.04; max-width: 16ch; }
.ia-ph-lead { margin-top: 22px; max-width: 44ch; font-size: 21px; color: var(--on-ink2); }
.ia-ph-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.ia-ph-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.ia-ph-shot { display: block; }
.ia-ph-shot img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: top; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ia-ph-shot figcaption { margin-top: 12px; font-size: 16px; color: var(--on-ink2); }
.ia-cases-top { margin: 110px 0 0; }
.ia-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 16px; color: var(--on-ink2); }
.ia-crumb a:hover { color: var(--amber); }
.ia-crumb > :not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--on-ink2); }

/* tööd page: count line under the title */
.ia-tood-count { font-size: 16px; color: var(--text2); margin-top: 8px; }
.ia-work:target .ia-frame { box-shadow: 0 0 0 4px var(--amber), 0 24px 50px -28px rgba(18, 17, 16, .55); }
.ia-stat-row { display: flex; flex-wrap: wrap; gap: 24px 44px; margin-top: 48px; }
.ia-stat-row div { display: grid; }
.ia-stat-row strong { font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -.035em; }
.ia-stat-row span { margin-top: 8px; font-size: 16px; color: var(--on-ink2); }
.ia-on-white .ia-stat-row span { color: var(--text2); }

/* services directory */
.ia-svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.ia-svc-list li a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; column-gap: 10px; align-items: start; padding: 30px 0; transition: color .2s; }
.ia-svc-list .ia-ic { width: 30px; height: 30px; color: var(--amber-ink); }
.ia-svc-list h2 { font-size: 26px; }
.ia-svc-list p { grid-column: 2; margin-top: 8px; color: var(--text2); }
.ia-svc-list .ia-svc-go { grid-column: 3; grid-row: 1; width: 22px; height: 22px; color: var(--ink); transition: transform .2s var(--ease); }
.ia-svc-list a:hover h2 { color: var(--amber-ink); }
.ia-svc-list a:hover .ia-svc-go { transform: translateX(4px); }
.ia-svc-ink { grid-template-columns: minmax(0, 1fr); }
.ia-svc-ink li a { padding: 18px 0; }
.ia-svc-ink h2 { font-size: 24px; }
.ia-svc-ink .ia-ic { color: var(--amber); }
.ia-svc-ink .ia-svc-go { color: var(--on-ink); }
.ia-svc-ink p { color: var(--on-ink2); margin-top: 4px; }
.ia-svc-ink a:hover h2 { color: var(--amber); }

/* service detail */
.ia-feat-dl { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.ia-feat-dl h2 { font-size: clamp(32px, 3.4vw, 48px); }
.ia-feat-dl dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.ia-feat-dl dt { font-size: 22px; letter-spacing: -.01em; }
.ia-feat-dl dd { margin-top: 8px; color: var(--text2); }
.ia-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.ia-steps > li { position: relative; padding-top: 30px; }
.ia-steps > li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--amber); }
.ia-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 22px; right: -32px; top: 6px; height: 2px; background: var(--ink-hi); }
.ia-steps h3 { font-size: 23px; }
.ia-steps p { margin-top: 8px; color: var(--on-ink2); }
.ia-steps-inc { margin-top: 12px; gap: 6px; font-size: 16px; }
.ia-steps-inc .ia-ic { flex: none; width: 16px; height: 16px; color: var(--amber-ink); }
.ia-band { padding: 120px 0; }
.ia-band-h { font-size: clamp(32px, 3.4vw, 48px); max-width: 18ch; }
.ia-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.ia-cases .ia-frame { height: 180px; }
.ia-cases .ia-work-name { font-size: 19px; margin-top: 14px; }
.ia-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.ia-faq h2 { font-size: clamp(32px, 3.4vw, 48px); }
.ia-faq details { padding: 4px 0; }
.ia-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; }
.ia-faq summary::-webkit-details-marker { display: none; }
.ia-faq summary .ia-ic { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.ia-faq details[open] summary .ia-ic { transform: rotate(180deg); }
.ia-faq summary:hover { color: var(--amber-ink); }
.ia-faq details p { padding: 0 0 22px; max-width: 64ch; color: var(--text2); }
.ia-faq summary .ia-ic { transition: transform .4s var(--ease); }
.ia-next { padding: 120px 0; }
.ia-next-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px 64px; }
.ia-next-ic { display: grid; place-items: center; width: clamp(150px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(18, 17, 16, .7); transition: transform .5s var(--ease); }
.ia-next-ic .ia-ic { width: 50%; height: 50%; color: var(--amber); stroke-width: 1.5; }
.ia-next:hover .ia-next-ic { transform: rotate(-6deg) scale(1.03); }
html.ia-js .ia-ic-draw > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease); }
html.ia-js .ia-seen .ia-ic-draw > * { stroke-dashoffset: 0; }
html.ia-js .ia-seen .ia-ic-draw > :nth-child(2) { transition-delay: .35s; }
html.ia-js .ia-seen .ia-ic-draw > :nth-child(3) { transition-delay: .6s; }
.ia-next h2 { font-size: clamp(40px, 4.6vw, 70px); max-width: 16ch; }
.ia-next-copy p { margin-top: 16px; font-size: 20px; max-width: 40ch; }
.ia-next-acts { display: grid; justify-items: start; gap: 20px; }
@media (max-width: 1023px) { .ia-opts[style*="--cols: 3"] { --cols: 2 !important; } }
@media (max-width: 1100px) { .ia-al-step { grid-template-columns: minmax(0, 1fr); gap: 40px; } .ia-al .ia-opts[style*="--cols: 5"] { --cols: 3 !important; } }
@media (max-width: 1023px) { .ia-al .ia-opts:not(.ia-opts-plain) { --cols: 1 !important; } }
@media (max-width: 1180px) { .ia-next-in { grid-template-columns: auto minmax(0, 1fr); gap: 32px 48px; } .ia-next-acts { grid-column: 2; } }

/* about */
.ia-about-logo { position: relative; justify-self: center; width: min(520px, 100%); }
.ia-about-logo img { width: 100%; transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .6s var(--ease); }
.ia-about-ph { padding-bottom: 56px; }
.ia-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 48px; margin-top: 52px; }
.ia-timeline li { display: grid; align-content: start; gap: 8px; }
.ia-tl-year { font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--amber-ink); }
.ia-timeline h3 { margin-top: 8px; font-size: 23px; }
.ia-timeline p { color: var(--text2); }
.ia-feat-ink dd { color: var(--on-ink2); }
.ia-firm-sub { margin-top: 18px; font-size: 23px; }
.ia-firm-card { display: grid; gap: 0; }
.ia-firm-card div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.ia-firm-card dt { color: var(--on-ink2); font-weight: 500; }
.ia-firm-card dd { font-weight: 600; }
.ia-case-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.ia-case-shot img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(18, 17, 16, .5); }
.ia-case-fig { display: grid; }
.ia-case-fig strong { font-size: clamp(64px, 7vw, 104px); line-height: .95; letter-spacing: -.045em; }
.ia-case-fig span { margin-top: 6px; color: var(--text2); }
.ia-case h2 { margin-top: 36px; font-size: 30px; }
.ia-case-line { margin-top: 8px; color: var(--text2); }
.ia-about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.ia-about-facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
.ia-about-facts dt { color: var(--text2); font-weight: 500; }

/* blog */
.ia-posts { display: grid; gap: 0; }
.ia-post-row a { display: grid; grid-template-columns: 170px minmax(0, 1fr) 110px; gap: 32px; align-items: baseline; padding: 30px 0; }
.ia-post-row time, .ia-post-row .ia-post-min { font-size: 16px; color: var(--text2); }
.ia-post-row h3 { font-size: 26px; transition: color .2s; }
.ia-post-row p { margin-top: 8px; color: var(--text2); max-width: 64ch; }
.ia-post-row a:hover h3 { color: var(--amber-ink); }
.ia-blog-ph { align-items: end; }
.ia-blog-new h2 { font-size: clamp(28px, 2.8vw, 40px); }
.ia-blog-new h2 a:hover { color: var(--amber); }
.ia-blog-new > p:not(.ia-article-meta) { margin: 14px 0 22px; color: var(--on-ink2); max-width: 56ch; }
.ia-blog-new .ia-arrow-link:hover { color: var(--amber); }
.ia-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ia-rel a { display: block; }
.ia-rel .ia-post-cat { color: var(--amber); }
.ia-rel h3 { margin-top: 8px; font-size: 23px; transition: color .2s; }
.ia-rel p { margin-top: 10px; color: var(--on-ink2); }
.ia-rel a:hover h3 { color: var(--amber); }
.ia-article-head { padding-bottom: 72px; }
.ia-article-head h1 { font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.03em; line-height: 1.08; }
.ia-article-head .ia-article-meta { margin: 22px 0 0; }
.ia-post-row .ia-post-min { text-align: right; }
.ia-post-cat { display: block; margin-top: 4px; font-weight: 600; color: var(--ink); font-size: 16px; }
.ia-pager { display: flex; gap: 6px; margin-top: 44px; }
.ia-pager a, .ia-pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 600; }
.ia-pager a:hover { background: var(--field); }
.ia-pager [aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.ia-article { width: min(760px, 100% - 80px); margin-inline: auto; padding: 96px 0 110px; }
.ia-article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 22px; font-size: 16px; color: var(--on-ink2); }
.ia-article-body { font-size: 20px; line-height: 1.7; }
.ia-article-body > * + * { margin-top: 1.1em; }
.ia-article-body h2 { margin-top: 1.9em; font-size: 30px; line-height: 1.18; }
.ia-article-body h3 { margin-top: 1.6em; font-size: 23px; line-height: 1.2; }
.ia-article-body ul, .ia-article-body ol { display: grid; gap: .5em; padding-left: 1.2em; }
.ia-article-body ul { list-style: disc; }
.ia-article-body ol { list-style: decimal; }
.ia-article-body a { color: var(--amber-ink); font-weight: 600; }
.ia-article-body a:hover { color: var(--ink); }
.ia-article-img { margin-top: 40px; border-radius: 18px; overflow: hidden; }

/* contact */
.ia-contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; }
.ia-people { display: grid; gap: 34px; align-content: start; padding-top: 12px; }
.ia-people h2 { font-size: 22px; }
.ia-people p { color: var(--on-ink2); margin-top: 4px; }
.ia-people a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; }
.ia-people a:hover { color: var(--amber); }

/* start flow */
.ia-flow { padding: 72px 0 120px; overflow-x: clip; }   /* hovered door shots may pass the card, never widen the page */
.ia-flow-in { width: min(960px, 100% - 80px); margin-inline: auto; }
.ia-flow-bar { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; margin-bottom: 56px; }
.ia-flow-bar li { padding-top: 14px; border-top: 3px solid var(--ink-hi); font-size: 16px; font-weight: 600; color: var(--on-ink2); }
.ia-flow-bar li.ia-done, .ia-flow-bar li[aria-current="step"] { border-top-color: var(--amber); color: var(--on-ink); }
.ia-flow h1 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -.03em; }
.ia-flow-lead { margin-top: 14px; font-size: 20px; color: var(--on-ink2); max-width: 52ch; }
.ia-flow fieldset { border: 0; margin-top: 40px; }
.ia-flow legend { font-size: 16px; font-weight: 600; color: var(--on-ink2); margin-bottom: 14px; }
.ia-opts { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 12px; }
.ia-opt { position: relative; display: block; cursor: pointer; }
.ia-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ia-opt-face { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 14px; align-items: start; height: 100%; padding: 20px; border-radius: 16px; background: var(--ink-hi); transition: background .2s, color .2s, transform .2s var(--ease); }
.ia-opt-face > .ia-ic:first-child { width: 26px; height: 26px; color: var(--amber); }
.ia-opt-face strong { font-size: 20px; letter-spacing: -.01em; }
.ia-opt-face small { grid-column: 2; display: block; margin-top: 4px; font-size: 16px; color: var(--on-ink2); }
.ia-opt-tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: transparent; display: grid; place-items: center; }
.ia-opt-tick .ia-ic { width: 14px; height: 14px; }
.ia-opt:hover .ia-opt-face { transform: translateY(-2px); }
.ia-opt input:checked + .ia-opt-face { background: var(--amber); color: var(--ink); }
.ia-opt input:checked + .ia-opt-face > .ia-ic:first-child { color: var(--ink); }
.ia-opt input:checked + .ia-opt-face small { color: #4a3d1f; }
.ia-opt input:checked + .ia-opt-face .ia-opt-tick { background: var(--ink); color: var(--amber); }
.ia-opt input:focus-visible + .ia-opt-face { outline: 3px solid var(--amber); outline-offset: 3px; }
.ia-opts-plain .ia-opt-face { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 16px 12px; }
.ia-opts-plain .ia-opt-face strong { font-size: 18px; }
.ia-opts-plain .ia-opt-tick { display: none; }
.ia-range { display: grid; gap: 10px; }
.ia-range output { font-size: 34px; font-weight: 600; letter-spacing: -.03em; }
.ia-range input { width: 100%; accent-color: var(--amber); }
.ia-range-ends { display: flex; justify-content: space-between; font-size: 16px; color: var(--on-ink2); }
.ia-flow-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.ia-flow-fields label > span { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--on-ink2); }
.ia-flow-fields input, .ia-flow-fields textarea { width: 100%; background: var(--on-ink); color: var(--ink); border: 0; border-radius: 12px; padding: 15px 17px; font-size: 18px; }
.ia-flow-fields .ia-wide { grid-column: 1 / -1; }
.ia-flow-summary { display: grid; gap: 8px; margin-top: 32px; }
.ia-flow-summary div { display: flex; gap: 14px; }
.ia-flow-summary dt { min-width: 150px; color: var(--on-ink2); font-weight: 500; }
.ia-flow-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; }
.ia-flow-err { margin-top: 24px; }
.ia-flow-done { text-align: left; }
.ia-flow-done .ia-ticks { margin-top: 32px; }
.ia-flow-done .ia-ph-acts { margin-top: 40px; }
/* Alusta (redesign 2026-11-05): the doors speak the homepage's language: large centred title, whole-card links
   with real client sites fanned in the top, lifting on hover. Steps: rail, question + tiles, live side card. */
.ia-al { width: min(1240px, 100% - 80px); margin-inline: auto; }
.ia-al-head { max-width: 860px; margin: 0 auto; text-align: center; }
.ia-flow .ia-al-head h1 { font-size: clamp(48px, 6.4vw, 100px); letter-spacing: -.04em; line-height: 1.02; }
.ia-al-head .ia-flow-lead { margin: 22px auto 0; }
.ia-al-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 88px; }
.ia-al-door { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: var(--ink-hi); color: var(--on-ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ia-al-door:hover, .ia-al-door:focus-visible { z-index: 3; transform: translateY(-6px); box-shadow: 0 44px 80px -40px rgba(0, 0, 0, .95); }
.ia-al-door:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.ia-al-door-media { position: relative; z-index: 1; display: block; height: 290px;
  clip-path: inset(0 0 0 0 round 26px 26px 0 0); transition: clip-path .7s var(--ease); }
.ia-al-door:hover .ia-al-door-media, .ia-al-door:focus-visible .ia-al-door-media { clip-path: inset(-260px -96px -24px -96px round 26px 26px 0 0); }
.ia-al-shot { position: absolute; left: 20%; top: 56px; width: 60%; height: auto; border-radius: 12px; box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .85);
  transform: translate(var(--x, 0%), var(--y, 0px)) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.ia-al-door:hover .ia-al-shot, .ia-al-door:focus-visible .ia-al-shot { --s: 1.1; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .9); }
.ia-al-door-broneerimine .ia-al-shot-0 { --x: -24%; --r: -5deg; --y: 18px; }
.ia-al-door-broneerimine .ia-al-shot-1 { --x: 24%; --r: 4deg; --y: 40px; }
.ia-al-door-broneerimine:hover .ia-al-shot-0 { --x: -38%; --r: -9deg; --y: -78px; }
.ia-al-door-broneerimine:hover .ia-al-shot-1 { --x: 38%; --r: 8deg; --y: -58px; }
.ia-al-door-veebileht .ia-al-shot-0 { --x: -36%; --r: -7deg; --y: 44px; }
.ia-al-door-veebileht .ia-al-shot-1 { z-index: 1; --x: 0%; --r: 0deg; --y: 6px; }
.ia-al-door-veebileht .ia-al-shot-2 { --x: 36%; --r: 7deg; --y: 44px; }
.ia-al-door-veebileht:hover .ia-al-shot-0 { --x: -50%; --r: -11deg; --y: -62px; }
.ia-al-door-veebileht:hover .ia-al-shot-1 { --y: -96px; }
.ia-al-door-veebileht:hover .ia-al-shot-2 { --x: 50%; --r: 11deg; --y: -62px; }
.ia-al-door-ic { position: absolute; z-index: 4; left: 26px; top: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--amber); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); }
.ia-al-door-ic .ia-ic { width: 28px; height: 28px; }
.ia-al-door:hover .ia-al-door-ic, .ia-al-door:focus-visible .ia-al-door-ic { z-index: -1; }   /* lifted shots pass over the badge too */
.ia-al-door-body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; padding: 6px 36px 36px;
  border-radius: 0 0 26px 26px; background: var(--ink-hi); }
.ia-al-door-body::before { content: ""; position: absolute; left: 0; right: 0; top: -72px; height: 72px; pointer-events: none;
  background: linear-gradient(rgba(42, 39, 36, 0), var(--ink-hi)); transition: opacity .35s; }   /* fades the shots' lower edge at rest */
.ia-al-door:hover .ia-al-door-body::before, .ia-al-door:focus-visible .ia-al-door-body::before { opacity: 0; }     /* lifted shots stay solid */
.ia-al-door-time { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--on-ink2); }
.ia-al-door-time .ia-ic { width: 17px; height: 17px; color: var(--amber); }
.ia-al-door-h { display: block; margin-top: 12px; font-size: clamp(32px, 3vw, 46px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.ia-al-door-line { display: block; margin-top: 12px; font-size: 19px; color: var(--on-ink2); }
.ia-al-door-who { display: block; margin-top: 22px; font-size: 17px; color: var(--on-ink2); }
.ia-al-door-who b { display: block; margin-bottom: 4px; font-size: 16px; color: var(--on-ink); }
.ia-al-door-feats { display: grid; gap: 12px; margin: 24px 0 34px; font-size: 17px; color: var(--on-ink2); }
.ia-al-door-feats > span { display: flex; gap: 10px; align-items: baseline; }
.ia-al-door-feats b { color: var(--on-ink); font-weight: 600; }
.ia-al-door-feats .ia-ic { flex: none; color: var(--amber); transform: translateY(3px); }
.ia-al-door-go { margin-top: auto; align-self: start; }
.ia-al-door:hover .ia-al-door-go .ia-ic { transform: translateX(4px); }
.ia-al-door:hover .ia-al-door-go.ia-btn-amber { background: var(--amber-hi); }
.ia-al-door:hover .ia-al-door-go.ia-btn-light { background: #fff; }

.ia-al-rail { margin-bottom: 52px; }
.ia-al-rail ol { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.ia-al-rail li { font-size: 16px; font-weight: 600; color: var(--on-ink2); transition: color .3s; }
.ia-al-rail li.ia-done { color: var(--on-ink); }
.ia-al-rail li[aria-current="step"] { color: var(--amber); }
.ia-al-track { display: block; height: 6px; margin-top: 14px; border-radius: 6px; background: var(--ink-hi); overflow: hidden; }
.ia-al-fill { display: block; width: var(--at, 0%); height: 100%; border-radius: inherit; background: var(--amber); }
.ia-al-step { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.ia-al-main .ia-flow-err { margin: 0 0 24px; }
.ia-al-side { padding: 30px 30px 26px; border-radius: 22px; background: var(--ink-hi); }
.ia-al-side h2 { font-size: 23px; letter-spacing: -.02em; }
.ia-al-side dl { display: grid; gap: 14px; margin-top: 18px; }
.ia-al-side dl div { display: grid; gap: 2px; }
.ia-al-side dt { font-size: 15px; font-weight: 600; color: var(--on-ink2); }
.ia-al-side dd { font-size: 18px; color: var(--on-ink); }
.ia-al-tbd { color: var(--on-ink2); }
.ia-al-pkgs { margin-top: 26px; }
.ia-al-pkg h3 { font-size: 17px; letter-spacing: 0; }
.ia-al-pkg + .ia-al-pkg { margin-top: 20px; }
.ia-al-pkg[hidden] + .ia-al-pkg { margin-top: 0; }
.ia-al-pkg .ia-ticks { gap: 8px; margin-top: 10px; font-size: 16px; color: var(--on-ink2); }
.ia-al-pkg .ia-ic { flex: none; width: 16px; height: 16px; color: var(--amber); }
.ia-al-pkg-none { font-size: 16px; color: var(--on-ink2); }
.ia-al-side-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; font-size: 16px; color: var(--on-ink2); }
.ia-al-side-note .ia-ic { flex: none; width: 18px; height: 18px; color: var(--amber); }
.ia-al .ia-opt-face { padding: 20px 22px; border-radius: 18px; align-items: center; column-gap: 16px; }
.ia-opt-ic { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--amber); }
.ia-opt-ic .ia-ic { width: 24px; height: 24px; }
.ia-al .ia-opt-face strong { align-self: end; }
.ia-al .ia-opt-face small { align-self: start; }
.ia-al .ia-opt:hover .ia-opt-face { background: #36322d; }
.ia-al .ia-opt input:checked + .ia-opt-face { background: var(--amber); }
.ia-opt-tick-sq { border-radius: 7px; }
.ia-al-done { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: start; }
.ia-al-done-ic { display: grid; place-items: center; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%; background: var(--amber); color: var(--ink); }
.ia-al-done-ic .ia-ic { width: 50%; height: 50%; stroke-width: 1.6; }
[data-flow][aria-busy="true"] { pointer-events: none; }

.ia-vs { margin-top: 96px; }
.ia-vs h2, .ia-flow .ia-flow-faq h2 { font-size: clamp(32px, 3.3vw, 48px); letter-spacing: -.03em; }
.ia-vs-scroll { margin-top: 28px; overflow-x: auto; }
.ia-vs table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0 6px; font-size: 17px; }
.ia-vs th, .ia-vs td { padding: 16px 20px; text-align: left; vertical-align: top; }
.ia-vs thead th { padding-bottom: 8px; font-size: 19px; color: var(--on-ink); }
.ia-vs tbody th { width: 22%; font-weight: 600; color: var(--on-ink2); font-size: 16px; }
.ia-vs tbody tr > * { background: var(--ink-hi); }
.ia-vs tbody tr > :first-child { border-radius: 12px 0 0 12px; }
.ia-vs tbody tr > :last-child { border-radius: 0 12px 12px 0; color: var(--on-ink); }
.ia-flow-faq { margin-top: 96px; }
.ia-flow-faq details p { color: var(--on-ink2); }
.ia-flow-faq summary:hover { color: var(--amber); }
.ia-opt-tag { margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: var(--amber); color: var(--ink); font-size: 14px; font-style: normal; font-weight: 600; vertical-align: 3px; }
.ia-opt input:checked + .ia-opt-face .ia-opt-tag { background: var(--ink); color: var(--amber); }
.ia-pkgs { margin-top: 28px; }
.ia-pkg { padding: 26px 28px; border-radius: 16px; background: #34302b; }
.ia-pkg + .ia-pkg { margin-top: 12px; }
html.ia-js .ia-pkg[data-off] { display: none; }
.ia-pkg h2 { font-size: 21px; letter-spacing: -.01em; }
.ia-pkg .ia-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-top: 16px; font-size: 17px; color: var(--on-ink2); }
.ia-pkg .ia-ic { color: var(--amber); flex: none; }
.ia-flow-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 16px; color: var(--on-ink2); }
.ia-flow-note .ia-ic { width: 18px; height: 18px; color: var(--amber); flex: none; }
.ia-flow-reply { margin-top: 36px; font-size: 17px; color: var(--on-ink2); }
.ia-flow-reply a { color: var(--on-ink); font-weight: 600; }
.ia-flow-reply a:hover { color: var(--amber); }
.ia-flow-clip { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.ia-flow-clip h2 { font-size: 26px; }
.ia-flow-clip p { margin-top: 10px; color: var(--on-ink2); }

/* legal + 404 */
.ia-legal-band { padding-top: 72px; }
.ia-legal { width: min(760px, 100% - 80px); margin-inline: auto; padding: 0 0 110px; }
.ia-legal h2:first-child { margin-top: 0; }
.ia-legal h2 { margin-top: 1.8em; font-size: 26px; }
.ia-legal p, .ia-legal li { margin-top: .8em; color: var(--text2); }
.ia-legal ul { list-style: disc; padding-left: 1.2em; }
.ia-lost { min-height: 60vh; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.ia-lost img { width: min(420px, 100%); justify-self: center; }

/* ---------- layer model (owner 2026-11-04): white is the base layer, ink sections sit on it as rounded slabs ---------- */
:root { --gut: 16px; --r: 32px; --hd: 96px; --wrap: min(1320px, 100% - 112px); }
body { background: var(--paper); font-size: 19px; }
.ia-on-white { background: transparent; }
.ia-hero, .ia-ph, .ia-go, .ia-flow, .ia-eri:not(.ia-on-white), .ia-band.ia-on-ink, .ia-works.ia-on-ink, .ia-show, .ia-ft, .ia-on-amber {
  margin: var(--gut) 0; border-radius: var(--r); }
/* the first slab runs on from the dark header: no rounded top (white would show in the corners) */
main > .cms-block:first-child > :is(.ia-hero, .ia-ph, .ia-show, .ia-flow):first-child { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 0; }
.ia-hero, .ia-ph, .ia-go, .ia-flow, .ia-eri:not(.ia-on-white), .ia-band.ia-on-ink, .ia-works.ia-on-ink, .ia-show, .ia-ft { background: var(--ink); color: var(--on-ink); }
.ia-ft { margin-top: calc(var(--gut) * 2); margin-bottom: 0; border-radius: var(--r) var(--r) 0 0; } /* sits on the page bottom: rounded on top only */
main > .cms-block:first-child > * { margin-top: 0; }

/* two coloured sections in a row: the second rests 40 px over the first (no thin white strip between them), and the
   first's covered bottom is square */
main > .cms-block:has(> :is(.ia-hero, .ia-ph, .ia-show, .ia-flow, .ia-band.ia-on-ink, .ia-works.ia-on-ink, .ia-eri:not(.ia-on-white), .ia-go, .ia-on-amber)) + .cms-block > :is(.ia-hero, .ia-ph, .ia-show, .ia-flow, .ia-band.ia-on-ink, .ia-works.ia-on-ink, .ia-eri:not(.ia-on-white), .ia-go, .ia-on-amber) { position: relative; z-index: 1; margin-top: calc(-40px - var(--gut)); box-shadow: 0 -26px 40px -30px rgba(18, 17, 16, .45); }
main > .cms-block:has(+ .cms-block > :is(.ia-hero, .ia-ph, .ia-show, .ia-flow, .ia-band.ia-on-ink, .ia-works.ia-on-ink, .ia-eri:not(.ia-on-white), .ia-go, .ia-on-amber)) > :is(.ia-hero, .ia-ph, .ia-show, .ia-flow, .ia-band.ia-on-ink, .ia-works.ia-on-ink, .ia-eri:not(.ia-on-white), .ia-go, .ia-on-amber) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* the last coloured section rests a little over the footer; the footer's covered top is square so no white shows at
   the section's rounded corners */
main > .cms-block:last-child > :is(.ia-on-amber, .ia-ph, .ia-show, .ia-flow, .ia-band.ia-on-ink, .ia-go, .ia-eri:not(.ia-on-white)):last-child { position: relative; z-index: 2; margin-bottom: calc(var(--gut) * -2 - 40px); box-shadow: 0 26px 40px -26px rgba(18, 17, 16, .55); }
main:has(> .cms-block:last-child > :is(.ia-on-amber, .ia-ph, .ia-show, .ia-flow, .ia-band.ia-on-ink, .ia-go, .ia-eri:not(.ia-on-white)):last-child) + .cms-block > .ia-ft { padding-top: 130px; border-top-left-radius: 0; border-top-right-radius: 0; }   /* its top sits under the band: square, so no white shows at the band's rounded corners */

/* the white base layer's picture: faint circuit traces, pads and data pixels in low greys (.build/make-ground.py),
   a seamless 1200 px tile on a fixed layer that drifts slower than the page; dark sections cover it */
.ia-ground { position: fixed; z-index: -2; left: 0; right: 0; top: 0; height: calc(100vh + 1200px); pointer-events: none;
  background: url(img/ground.svg) 0 0 / 1200px 1200px repeat; opacity: .4; transform: translate3d(0, var(--gy, 0), 0); will-change: transform; }

/* header logo: on hover or focus the mark plays once, after the 3D loop: sparks run along the traces into the
   brain, the pads flash, the data pixels drift in, then the bulb lights and the rays shoot out */
.ia-logo .ia-lg { width: 62px; height: 62px; overflow: visible; flex: none; }
.ia-lg-sparks path { stroke-dasharray: 16 120; stroke-dashoffset: -100; opacity: 0; }
.ia-lg-rays line, .ia-lg-bulb, .ia-lg-px rect, .ia-lg-pads circle, .ia-lg-brain { transform-box: fill-box; transform-origin: center; }
.ia-lg-rays { transform-box: view-box; transform-origin: 390px 450px; }
.ia-lg { transform-origin: 50% 55%; }
.ia-logo:hover .ia-lg, .ia-logo:focus-visible .ia-lg { animation: lg-pop 1.4s var(--ease); }
.ia-logo:hover .ia-lg-sparks path, .ia-logo:focus-visible .ia-lg-sparks path { animation: lg-spark .62s cubic-bezier(.5, 0, .7, 1) both; }
.ia-logo:hover .ia-lg-sparks path:nth-child(2), .ia-logo:focus-visible .ia-lg-sparks path:nth-child(2) { animation-delay: .07s; }
.ia-logo:hover .ia-lg-sparks path:nth-child(3), .ia-logo:focus-visible .ia-lg-sparks path:nth-child(3) { animation-delay: .14s; }
.ia-logo:hover .ia-lg-sparks path:nth-child(4), .ia-logo:focus-visible .ia-lg-sparks path:nth-child(4) { animation-delay: .21s; }
.ia-logo:hover .ia-lg-pads circle, .ia-logo:focus-visible .ia-lg-pads circle { animation: lg-pad .5s ease-out both; }
.ia-logo:hover .ia-lg-px rect, .ia-logo:focus-visible .ia-lg-px rect { animation: lg-px .9s var(--ease) both; }
.ia-logo:hover .ia-lg-px rect:nth-child(2n), .ia-logo:focus-visible .ia-lg-px rect:nth-child(2n) { animation-delay: .1s; }
.ia-logo:hover .ia-lg-rays, .ia-logo:focus-visible .ia-lg-rays { animation: lg-rays .8s .66s var(--ease) both; }
@keyframes lg-spark { 0% { stroke-dashoffset: -100; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: 18; opacity: 0; } }
@keyframes lg-pad { 0%, 100% { fill: #fff; } 30% { fill: #f9b82c; } }
@keyframes lg-px { 0% { transform: none; opacity: 1; } 45% { transform: translateX(-34px) scale(.6); opacity: 0; } 46% { transform: translateX(18px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes lg-rays { 0% { transform: none; } 35% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes lg-pop { 0%, 100% { transform: none; } 55% { transform: none; } 68% { transform: scale(1.04) rotate(-2deg); } 84% { transform: scale(.99); } }

/* header wordmark (.build/make-wordmark.py): the letters stay put and a soft-edged amber band sweeps through them,
   once per visit on load (site.js adds .play) and on every hover/focus, in step with the logo animation */
.ia-logo .ia-wm { display: block; height: 19px; width: auto; overflow: visible; }
.ia-wm-fill { fill: currentColor; }
.ia-wm-sweep { transform-box: fill-box; transform: translateX(-105%); }
.ia-wm.ia-play .ia-wm-sweep, .ia-logo:hover .ia-wm-sweep, .ia-logo:focus-visible .ia-wm-sweep { animation: wm-sweep 1.6s .15s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes wm-sweep { from { transform: translateX(-105%); } to { transform: translateX(190%); } }

/* the companion: Benvictus' pixel dog (64x48 cells, 8x9 sheet) at 2x, standing on the top edge of a coloured
   section. It belongs to the white base layer: a grey coat, faint, multiplied into the white, behind the content. */
.ia-koer { position: fixed; z-index: -1; left: 0; top: 0; width: 128px; height: 96px; pointer-events: none;
  background: url(img/koer.png) 0 0 / 1024px 864px no-repeat; image-rendering: pixelated;
                                            /* greyscale sheet (.build/dog/recolor.py), solid: owner 2026-11-05 */
  transform: translate3d(var(--kx, 0), var(--ky, 0), 0) scaleX(var(--kd, 1)); will-change: transform;
  opacity: 0; transition: opacity .6s; }
.ia-koer.ia-on { opacity: 1; }
.ia-koer { filter: contrast(.3) brightness(1.72); }   /* owner 2026-11-05: lighter, still solid: greys pulled toward the white base */

/* header: white, so the full-colour mark reads; larger logo and nav */
.ia-hd { height: var(--hd); padding-inline: calc(var(--gut) + 32px); background: var(--ink); color: var(--on-ink); transition: box-shadow .25s; }
.ia-hd.ia-scrolled { box-shadow: 0 12px 30px -16px rgba(18, 17, 16, .55); }
.ia-logo { gap: 14px; font-size: 27px; font-weight: 700; letter-spacing: -.03em; }
.ia-logo img { width: 62px; height: 62px; }
.ia-nav { gap: 10px; font-size: 21px; }
.ia-nav > a, .ia-nav-sub > a { height: 48px; padding: 0 14px; color: var(--on-ink); }
.ia-nav > a:hover, .ia-nav-sub > a:hover, .ia-nav-sub:focus-within > a, .ia-nav a[aria-current="page"] { color: var(--amber); }
.ia-hd .ia-tel { color: var(--on-ink); }
.ia-hd .ia-tel:hover { color: var(--amber); }
.ia-hd .ia-tel-tip { background: var(--on-ink); color: var(--ink); }
.ia-hd-cta { padding: 14px 22px; font-size: 19px; }
.ia-hd-cta[aria-current="page"] { background: var(--on-ink); color: var(--ink); }
.ia-nav-panel { box-shadow: 0 30px 60px -20px rgba(18, 17, 16, .35), 0 0 0 1px rgba(18, 17, 16, .06); }
.ia-ft .ia-logo { color: var(--on-ink); }

/* larger content type */
.ia-ph h1 { font-size: clamp(52px, 6.4vw, 100px); }
.ia-ph-lead, .ia-hero-copy > p { font-size: 22px; }
.ia-band-h, .ia-works-top h2, .ia-works-top h1, .ia-faq h2, .ia-feat-dl h2 { font-size: clamp(44px, 5vw, 78px); line-height: 1.04; }
.ia-faq summary { font-size: 23px; }
.ia-faq details p, .ia-band-lead, .ia-firm-copy p { font-size: 20px; }
.ia-svc-band .ia-svc-list h3 { font-size: 29px; letter-spacing: -.025em; }
.ia-svc-list p { font-size: 18px; }
.ia-steps h3, .ia-timeline h3, .ia-feat-dl dt { font-size: 24px; }
.ia-btn { font-size: 18px; }
.ia-btn-lg { font-size: 20px; padding: 18px 28px; }

/* hero: title, actions, facts, then the wall; the wall loops on the compositor (CSS) and pauses off-screen */
.ia-hero-biz { padding-top: 104px; }
.ia-hero-biz h1 { font-size: clamp(52px, 7.4vw, 120px); line-height: 1.02; max-width: 14ch; }
.ia-hero-biz .ia-hero-acts { margin-top: 52px; gap: 16px; }
/* the two hero actions carry the page: large, filled, lifting on hover */
.ia-btn-xl { padding: 24px 36px; font-size: 22px; border-radius: 16px; gap: 14px; }
.ia-btn-xl .ia-ic { width: 22px; height: 22px; }
.ia-btn-light { background: var(--on-ink); color: var(--ink); }
.ia-btn-light:hover { background: #fff; }
.ia-hero-acts .ia-btn-xl { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); transition: background .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.ia-hero-acts .ia-btn-amber.ia-btn-xl { box-shadow: 0 18px 44px -14px rgba(249, 183, 43, .45); }
.ia-hero-acts .ia-btn-xl:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .8); }
.ia-hero-acts .ia-btn-amber.ia-btn-xl:hover { box-shadow: 0 26px 56px -14px rgba(249, 183, 43, .6); }
.ia-wall { -webkit-mask-image: none; mask-image: none; contain: layout paint; }
.ia-wall::before, .ia-wall::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.ia-wall::before { top: 0; height: 30%; background: linear-gradient(var(--ink), rgba(18, 17, 16, 0)); }
.ia-wall::after { bottom: 0; height: 34%; background: linear-gradient(rgba(18, 17, 16, 0), var(--ink)); }
.ia-wall-plane { transition: none; }
.ia-wall-row { width: max-content; animation: drift var(--dur, 120s) linear infinite; backface-visibility: hidden; }
.ia-wall-row[data-row="1"] { --dur: 150s; animation-direction: reverse; }
.ia-wall-row[data-row="2"] { --dur: 180s; }
.ia-wall.ia-paused .ia-wall-row { animation-play-state: paused; }
.ia-wall-row img { transition: none; box-shadow: none; }
/* hero split: promise on the left, "Meie poolt" (own products) on the right; a row opens on hover or focus */
.ia-hero-biz { text-align: left; }
.ia-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 860px) minmax(0, 1fr); gap: 40px; align-items: center; width: auto; padding-inline: calc(var(--gut) + 32px); } /* edge to edge, so Meie poolt lines up with the header's right edge */
.ia-hero-biz .ia-hero-copy { grid-column: 2; width: auto; max-width: none; margin: 0; text-align: center; }
.ia-hero-biz h1 { margin: 0 auto; font-size: clamp(56px, 7.4vw, 128px); line-height: .98; max-width: 13ch; }
/* the two actions scale with the title (about 0.2 of its size) and share one width, the wider one's */
.ia-hero-biz .ia-hero-acts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); justify-content: center; gap: 14px;
  width: max-content; max-width: 100%; margin: clamp(36px, 3.4vw, 56px) auto 0; }
.ia-hero-biz .ia-hero-acts .ia-btn-xl { padding: clamp(15px, 1.25vw, 21px) clamp(24px, 2.1vw, 34px); font-size: clamp(17px, 1.3vw, 21px); border-radius: clamp(12px, 1vw, 16px); }
.ia-hero-biz .ia-hero-acts .ia-btn-xl .ia-ic { width: 1.05em; height: 1.05em; }
.ia-ours { grid-column: 3; justify-self: end; }
.ia-ours h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--on-ink2); margin-bottom: 10px; text-align: right; }
.ia-ours ul { display: grid; justify-items: end; gap: 12px; }
.ia-ours li { position: relative; display: block; outline: none; cursor: default; }
.ia-ours-ic { display: grid; place-items: center; width: 56px; height: 56px; padding: 7px; border-radius: 16px; background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s; }
.ia-ours-ic img { width: 100%; height: 100%; object-fit: contain; }
/* the text sits to the left of its icon and wipes in from the icon outward; no card behind it. A bridge keeps it
   open while the pointer crosses to the link. */
.ia-ours-txt { position: absolute; z-index: 5; right: calc(100% + 18px); top: 50%; width: 290px; display: grid; justify-items: end; gap: 4px;
  text-align: right; transform: translate(14px, -50%); clip-path: inset(-6px -6px -6px 100%); opacity: 0;
  transition: clip-path .5s var(--ease), transform .5s var(--ease), opacity .25s, visibility 0s .5s; visibility: hidden; }
.ia-ours-txt::after { content: ""; position: absolute; top: 0; bottom: 0; right: -20px; width: 20px; }
.ia-ours-name { display: grid; justify-items: end; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ia-ours-name small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--on-ink2); }
.ia-ours-line { color: var(--on-ink2); font-size: 16px; line-height: 1.45; }
.ia-ours-txt a { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 600; font-size: 16px; color: var(--on-ink); }
.ia-ours-txt a .ia-ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.ia-ours-txt a:hover { color: var(--amber); }
.ia-ours-txt a:hover .ia-ic { transform: translate(2px, -2px); }
.ia-ours li:hover .ia-ours-txt, .ia-ours li:focus-within .ia-ours-txt { visibility: visible; opacity: 1; clip-path: inset(-6px -6px -6px -6px); transform: translate(0, -50%);
  transition: clip-path .5s var(--ease), transform .5s var(--ease), opacity .2s, visibility 0s; }
.ia-ours li:hover .ia-ours-ic, .ia-ours li:focus-within .ia-ours-ic { transform: scale(1.08) rotate(-4deg); box-shadow: 0 0 0 3px var(--amber); }

/* Tööd showroom: one site in a browser frame beside the grouped client index */
.ia-show { padding: 56px 0 60px; }
.ia-show-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.ia-browser { border-radius: 18px; overflow: hidden; background: var(--on-ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ia-browser-bar { position: relative; display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 16px; color: var(--ink); }
.ia-browser-dots { display: flex; gap: 7px; }
.ia-browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfc9bf; }
.ia-browser-url { flex: 1; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 9px; background: var(--paper); font-size: 16px; font-weight: 500; }
.ia-browser-url .ia-ic { width: 15px; height: 15px; color: #2f8f4e; }
.ia-browser-load { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--amber); opacity: 0; }
.ia-show.ia-loading .ia-browser-load { animation: load .7s var(--ease) forwards; }
@keyframes load { 0% { width: 0; opacity: 1; } 80% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.ia-browser-screen { display: block; height: clamp(320px, 40vw, 600px); background: #e9e6e0; overflow: hidden; }
.ia-browser-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: opacity .35s, transform .7s var(--ease); }
.ia-show.ia-swap .ia-browser-screen img { opacity: 0; transform: scale(1.025); }
.ia-browser-screen:hover img { transform: scale(1.015); }
.ia-show-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: 26px; }
.ia-show-meta h2 { font-size: clamp(30px, 3vw, 44px); transition: opacity .3s; }
.ia-show-meta p { margin-top: 6px; color: var(--on-ink2); font-size: 19px; }
.ia-show.ia-swap .ia-show-meta h2, .ia-show.ia-swap .ia-show-meta p { opacity: .25; }
.ia-show-nav { display: flex; align-items: center; gap: 10px; }
.ia-show-step { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--on-ink); color: var(--ink); transition: transform .2s var(--ease), background .2s; }
.ia-show-step:hover { background: var(--amber); transform: scale(1.06); }
.ia-show-step:active { transform: scale(.95); }
/* Kliendid showroom (2026-11-10): title across the top; viewer left; thumbnail rail right */
.ia-show-head { margin-bottom: 40px; }
.ia-show-head h1 { font-size: clamp(50px, 6.2vw, 96px); letter-spacing: -.04em; line-height: 1; }
.ia-show-sub { margin-top: 14px; max-width: 52ch; font-size: 20px; color: var(--on-ink2); }
.ia-show-stage { scroll-margin-top: 12px; }   /* html scroll-padding already clears the header */
.ia-show-tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 18px; }
.ia-show-tabs[hidden] { display: none; }
.ia-show-tabs button { padding: 6px 0; font-size: 17px; font-weight: 600; color: var(--on-ink2); transition: color .2s; }
.ia-show-tabs button:hover { color: var(--on-ink); }
.ia-show-tabs button[aria-pressed="true"] { color: var(--amber); }
.ia-idx-box { position: relative; }
.ia-idx { position: relative; display: grid; gap: 8px; align-content: start; height: clamp(420px, 46vw, 660px); overflow-y: auto; padding-right: 14px;
  overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--amber) rgba(244, 241, 236, .1); --fu: 0px; --fd: 0px;
  -webkit-mask-image: linear-gradient(transparent 0, #000 var(--fu), #000 calc(100% - var(--fd)), transparent 100%);
  mask-image: linear-gradient(transparent 0, #000 var(--fu), #000 calc(100% - var(--fd)), transparent 100%); }
.ia-idx.ia-can-up { --fu: 48px; }
.ia-idx.ia-can-down { --fd: 64px; }
.ia-idx li[hidden] { display: none; }
.ia-idx::-webkit-scrollbar { width: 6px; height: 6px; }
.ia-idx::-webkit-scrollbar-track { background: rgba(244, 241, 236, .1); border-radius: 6px; }
.ia-idx::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 6px; }
.ia-idx:focus-visible { outline-offset: 6px; }
.ia-idx a { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; padding: 8px; border-radius: 14px;
  background: var(--ink-hi); transition: background .25s, color .25s, transform .3s var(--ease); }
.ia-idx-th { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #3a3530; }
.ia-idx-th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .5s var(--ease); }
.ia-idx-t { display: grid; gap: 3px; min-width: 0; }
.ia-idx-t strong { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.ia-idx-t small { font-size: 15px; line-height: 1.35; color: var(--on-ink2); overflow-wrap: anywhere; }
.ia-idx a:hover, .ia-idx a:focus-visible { background: #36322d; transform: translateX(4px); }
.ia-idx a:hover .ia-idx-th img { transform: scale(1.06); }
.ia-idx a[aria-current="true"] { background: var(--amber); color: var(--ink); transform: none; }
.ia-idx a[aria-current="true"] small { color: #4a3d1f; }
.ia-idx-nav { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.ia-idx-nav[hidden] { display: none !important; }
.ia-idx-nav.ia-off { visibility: hidden; }                       /* keeps its row so nothing below moves */
.ia-idx-nav .ia-show-step { width: 44px; height: 44px; }
.ia-idx-nav .ia-show-step:disabled { opacity: .3; pointer-events: none; }
.ia-idx-hint { margin-left: 6px; font-size: 16px; color: var(--on-ink2); }

/* small motion: page cross-fade, the title rises once, buttons press, FAQ rows open smoothly */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
.ia-hd { view-transition-name: hd; }
.ia-hero-biz h1, .ia-ph h1, .ia-show-index h1 { animation: rise .8s var(--ease) backwards; }
.ia-hero-biz .ia-hero-acts, .ia-ph-lead { animation: rise .8s .12s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.ia-btn:active, .ia-show-step:active { transform: translateY(0) scale(.97); }
.ia-faq-a { overflow: hidden; }                                   /* site.js animates its height; instant without JS */

@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

@media (max-width: 1180px) {
  .ia-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .ia-hero-biz .ia-hero-copy, .ia-ours { grid-column: 1; }
  .ia-ours { justify-self: center; width: min(100%, 640px); }
  .ia-ours ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .ia-ours h2 { text-align: left; }
  .ia-ours ul { justify-items: stretch; }
  .ia-ours li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .ia-ours-txt { position: static; width: auto; justify-items: start; text-align: left; transform: none; clip-path: none; opacity: 1; visibility: visible; }
  .ia-ours-txt::after { display: none; }
  .ia-ours-name { justify-items: start; }
  .ia-nav { display: none; }
  .ia-hd { grid-template-columns: 1fr auto; }
  .ia-sheet { display: block; }
  .ia-sheet summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
  .ia-sheet .ia-ic { width: 24px; height: 24px; }
  .ia-sheet-close, .ia-sheet[open] .ia-sheet-open { display: none; }
  .ia-sheet[open] .ia-sheet-close { display: block; }
  .ia-sheet-in { position: fixed; left: 0; right: 0; top: var(--hd); bottom: 0; z-index: 60; display: flex; flex-direction: column; gap: 2px; padding: 24px 24px 40px; background: var(--ink); overflow-y: auto; }
  .ia-sheet-in > a:not(.ia-btn) { padding: 8px 0; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
  .ia-sheet-in > a[aria-current="page"] { color: var(--amber); }
  .ia-sheet-sub { display: grid; gap: 2px; padding: 0 0 10px 2px; }
  .ia-sheet-sub a { display: block; padding: 6px 0; font-size: 19px; color: var(--on-ink2); }
  .ia-sheet-in .ia-btn { margin-top: 24px; align-self: start; }
  .ia-sheet[open] .ia-sheet-in { animation: sheet-in .32s var(--ease) both; }
  .ia-sheet.ia-closing .ia-sheet-in { animation: sheet-out .24s ease-in both; }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(-10px); } }
  @keyframes sheet-out { to { opacity: 0; transform: translateY(-10px); } }
  .ia-sheet-tel { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; font-size: 19px; }
  .ia-eri-grid { gap: 56px; }
  .ia-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ia-rev-view.ia-car .ia-review { flex-basis: calc((100% - 24px) / 2); }
  .ia-cmp-price { font-size: 34px; }
  .ia-cmp-head { padding: 22px 18px !important; }
  .ia-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ia-what-grid, .ia-go-grid, .ia-ph-split, .ia-contact-grid { gap: 48px; }
  .ia-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ia-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .ia-what-grid, .ia-go-grid, .ia-ph-split, .ia-ph-split.ia-ph-svc, .ia-contact-grid, .ia-feat-dl, .ia-faq, .ia-flow-clip, .ia-lost, .ia-case-grid, .ia-svc-band, .ia-firm, .ia-hero-grid, .ia-show-grid, .ia-svx { grid-template-columns: minmax(0, 1fr); }
  .ia-show-head { margin-bottom: 28px; }
  .ia-show-index { order: -1; min-width: 0; }
  .ia-idx { display: flex; gap: 10px; height: auto; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 12px; scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fu), #000 calc(100% - var(--fd)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--fu), #000 calc(100% - var(--fd)), transparent 100%); }
  .ia-idx.ia-can-up { --fu: 28px; }
  .ia-idx.ia-can-down { --fd: 44px; }
  .ia-idx li { flex: 0 0 min(190px, 46vw); scroll-snap-align: start; }
  .ia-idx a { grid-template-columns: minmax(0, 1fr); gap: 10px; height: 100%; }
  .ia-idx a:hover, .ia-idx a:focus-visible { transform: none; }
  .ia-idx-nav .ia-show-step .ia-ic { transform: rotate(-90deg); }
  .ia-svx { gap: 44px; }
  .ia-cs-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ia-cs-copy { order: -1; }
  .ia-cs-lead { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 40px; }
  .ia-cs-more { grid-template-columns: minmax(0, 1fr); gap: 64px; margin-top: 32px; }
  .ia-cs-more-h { margin-top: 96px; }
  .ia-browser-screen { height: min(62vw, 520px); }
  .ia-hero-grid { gap: 44px; align-items: start; }
  .ia-hero-biz .ia-hero-copy, .ia-ours { grid-column: 1; }
  .ia-ours { justify-self: stretch; width: auto; }
  .ia-ours ul { grid-template-columns: minmax(0, 1fr); }
  .ia-svc-band, .ia-firm { gap: 40px; }
  .ia-about-logo { width: min(360px, 80%); }
  .ia-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ia-steps > li { padding: 0 0 0 34px; }
  .ia-steps > li:not(:last-child)::after { left: 6px; right: auto; top: 22px; bottom: -22px; width: 2px; height: auto; }
  .ia-svc-list { grid-template-columns: minmax(0, 1fr); }
  .ia-about-facts { grid-template-columns: minmax(0, 1fr); }
  .ia-post-row a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ia-post-row .ia-post-min { text-align: left; }
}

/* the comparison needs room: below 900 it becomes three package blocks */
@media (max-width: 900px) {
  .ia-cmp { display: none; }
  .ia-packs { display: grid; gap: 16px; }
  .ia-pack { padding: 26px 22px; border-radius: 18px; background: var(--ink); color: var(--on-ink); }
  .ia-pack.ia-feat { background: var(--amber); color: var(--ink); }
  .ia-pack h3 { font-size: 21px; }
  .ia-pack > p:not(.ia-cmp-price) { opacity: .8; }
  .ia-pack .ia-ticks { margin: 18px 0 22px; }
  .ia-pack .ia-btn { width: 100%; }
  .ia-packs-h { font-size: clamp(34px, 8vw, 48px); }
  .ia-packs-sub { color: var(--text2); font-size: 16px; margin: 8px 0 16px; }
}

@media (max-width: 760px) {
  :root { --wrap: calc(100% - 40px); --hd: 76px; --gut: 8px; --r: 22px; }
  .ia-hd { padding-inline: 16px 6px; }
  .ia-logo { font-size: 23px; gap: 10px; }
  .ia-logo .ia-wm { height: 16px; }
  .ia-logo img { width: 50px; height: 50px; }
  .ia-hero-grid { padding-inline: 20px; }
  .ia-hero-biz { padding-top: 64px; }
  .ia-hero-biz h1 { font-size: clamp(44px, 13vw, 64px); line-height: 1.06; }
  .ia-ph-lead { font-size: 19px; }
  .ia-band-h, .ia-works-top h2, .ia-works-top h1, .ia-faq h2, .ia-feat-dl h2 { font-size: clamp(36px, 10vw, 50px); }
  .ia-faq summary { font-size: 20px; }
  .ia-svc-band .ia-svc-list h3 { font-size: 22px; }
  .ia-reviews { grid-auto-columns: minmax(260px, 82vw); }
  .ia-rev-view.ia-car .ia-review { flex-basis: 100%; }
  body { font-size: 17px; }
  .ia-hd-cta { display: none; }
  .ia-hd-right { gap: 0; }
  .ia-hero { padding-top: 56px; }
  .ia-hero h1 { font-size: clamp(36px, 10.4vw, 52px); line-height: 1.08; }
  .ia-hero-biz h1 { font-size: clamp(42px, 12.6vw, 60px); line-height: 1.02; }
  .ia-hero-copy > p { font-size: 18px; }
  .ia-hero-acts { flex-direction: column; gap: 18px; }
  .ia-hero-acts .ia-btn { width: 100%; }
  .ia-btn-xl { padding: 20px 26px; font-size: 20px; }
  .ia-hero-biz .ia-hero-acts { display: flex; width: auto; gap: 12px; margin-top: 32px; }
  .ia-hero-biz .ia-hero-acts .ia-btn-xl { padding: 17px 22px; font-size: 19px; }
  .ia-names { margin-top: 44px; }
  .ia-names ul { gap: 4px 18px; }
  .ia-names a { font-size: 17px; }
  .ia-wall { height: 280px; margin-top: 24px; }
  .ia-wall-plane { width: 1400px; margin-left: -700px; }
  .ia-wall-row { gap: 12px; margin-bottom: 12px; }
  .ia-wall-row img { width: 200px; border-radius: 8px; }
  .ia-what { padding: 72px 0 88px; }
  .ia-what-list { margin-top: 32px; gap: 24px; }
  .ia-works { padding: 80px 0 88px; }
  .ia-works-top { margin-bottom: 32px; }
  .ia-filter a { padding: 9px 12px; }
  .ia-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ia-frame { height: min(240px, 58vw); }
  .ia-eri { padding: 88px 0 80px; }
  .ia-eri-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ia-price strong { font-size: 60px; }
  .ia-eri-shot { height: min(220px, 56vw); margin-top: 40px; }
  .ia-rows li { grid-template-columns: 44px minmax(0, 1fr); padding: 16px 0; }
  .ia-rows h3 { font-size: 21px; }
  .ia-prods-band { padding: 56px 0 60px; }
  .ia-prods ul { gap: 18px 32px; }
  .ia-price-band { padding: 80px 0 88px; }
  .ia-go { padding: 88px 0 72px; }
  .ia-iform, .ia-flow-fields { grid-template-columns: minmax(0, 1fr); }
  .ia-flow-in.ia-flow-wide { width: min(1200px, 100% - 40px); }
  .ia-doors { grid-template-columns: minmax(0, 1fr); }
  .ia-door { padding: 26px 22px; }
  .ia-door-go { width: 100%; }
  .ia-pkg .ia-ticks { grid-template-columns: minmax(0, 1fr); }
  .ia-vs, .ia-flow-faq { margin-top: 64px; }
  .ia-al { width: min(1240px, 100% - 40px); }
  .ia-al-doors { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .ia-al-door-media { height: clamp(200px, 44vw, 250px); }
  .ia-al-door-broneerimine .ia-al-shot-0 { --x: -19%; --r: -4deg; }
  .ia-al-door-broneerimine .ia-al-shot-1 { --x: 19%; --r: 3deg; }
  .ia-al-door-veebileht .ia-al-shot-0 { --x: -25%; --r: -5deg; }
  .ia-al-door-veebileht .ia-al-shot-2 { --x: 25%; --r: 5deg; }
  .ia-al-door-body { padding: 4px 22px 26px; }
  .ia-al-door-go { width: 100%; }
  .ia-al-step { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ia-al-done { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ia-al-done-ic { width: 110px; }
  .ia-al .ia-opts { --cols: 1 !important; }
  .ia-vs table, .ia-vs tbody, .ia-vs tr, .ia-vs th, .ia-vs td { display: block; width: auto; }
  .ia-vs table { min-width: 0; }
  .ia-vs thead { display: none; }
  .ia-vs tbody tr { margin-top: 10px; padding: 16px 18px; border-radius: 14px; background: var(--ink-hi); }
  .ia-vs tbody tr > * { background: none; padding: 0; border-radius: 0 !important; }
  .ia-vs tbody th { width: auto; margin-bottom: 10px; color: var(--on-ink); font-size: 17px; }
  .ia-vs td + td { margin-top: 10px; }
  .ia-vs td::before { content: attr(data-l); display: block; font-size: 15px; font-weight: 600; color: var(--on-ink2); }
  .ia-iform button.ia-wide { justify-self: stretch; }
  .ia-ft { padding-top: 56px; }
  .ia-ft-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ia-ft-legal { margin-top: 48px; }
  .ia-ph { padding: 56px 0 64px; }
  .ia-ph h1, .ia-ph .ia-ph-svc h1 { font-size: clamp(38px, 10.4vw, 54px); line-height: 1.08; }
  .ia-ph-lead { font-size: 18px; }
  .ia-band { padding: 72px 0; }
  .ia-ph-shot img { height: min(260px, 62vw); }
  .ia-cases-top { margin-top: 72px; }
  .ia-feat-dl dl { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ia-cases { grid-template-columns: minmax(0, 1fr); }
  .ia-cases .ia-frame { height: min(200px, 52vw); }
  .ia-faq { gap: 24px; }
  .ia-faq summary { font-size: 19px; }
  .ia-next { padding: 80px 0; }
  .ia-next-in { grid-template-columns: minmax(0, 1fr); }
  .ia-next-acts { grid-column: auto; }   /* the 1180 px rule's column 2 would add an implicit column and push the disc over the heading */
  .ia-next-ic { width: 120px; }
  .ia-next-acts .ia-btn { width: 100%; }
  .ia-about-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ia-timeline { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 36px; }
  .ia-svx-tabs { margin-top: 26px; gap: 0; }
  .ia-svx-tabs a { font-size: 19px; padding: 9px 0; grid-template-columns: 34px minmax(0, 1fr); }
  .ia-svx-tabs a[aria-selected="true"] { transform: none; }
  .ia-svx-ticks { grid-template-columns: minmax(0, 1fr); }
  .ia-svx-lead { font-size: 18px; }
  .ia-cs-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ia-cs-flow li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; padding: 16px 18px; }
  .ia-cs-flow li .ia-ic { grid-row: span 2; margin: 2px 0 0; }
  .ia-cs-flow li + li::before { left: 34px; top: -10px; width: 2px; height: 10px; }
  .ia-firm-card div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
  .ia-plist-name { font-size: 20px; }
  .ia-plist-price { font-size: 21px; }
  .ia-post-row h3 { font-size: 23px; }
  .ia-rel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ia-article-head { padding-bottom: 48px; }
  .ia-article { width: calc(100% - 40px); padding: 56px 0 72px; }
  .ia-article-body { font-size: 18px; }
  .ia-article-body h2 { font-size: 25px; }
  .ia-flow { padding: 40px 0 80px; }
  .ia-flow-in, .ia-legal { width: calc(100% - 40px); }
  .ia-flow-bar { margin-bottom: 36px; }
  .ia-opts { grid-template-columns: minmax(0, 1fr); }
  .ia-opts-plain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ia-flow-nav { flex-direction: column-reverse; align-items: stretch; }
  .ia-flow-nav .ia-btn { width: 100%; }
  .ia-flow-summary div { flex-direction: column; gap: 0; }
  .ia-stat-row { gap: 24px 40px; }
  .ia-facts { justify-content: flex-start; text-align: left; gap: 16px 32px; margin-top: 40px; }
  .ia-facts dt { font-size: 21px; }
}

/* Veebihaldur page (veebihaldur.php) */
.ia-cm-hero { align-items: center; }
.ia-cm-rowset { display: grid; gap: 140px; }
.ia-cm-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.ia-cm-row-rev .ia-cm-row-img { order: -1; }
.ia-cm-row-txt .ia-band-lead { margin-top: 18px; }
.ia-cm-pts { display: grid; gap: 16px; margin-top: 32px; }
.ia-cm-pts li { display: flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ia-cm-pts .ia-icf { width: 30px; height: 30px; color: var(--ink); }
.ia-cm-row-img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -32px rgba(18, 17, 16, .55); }
.ia-cm-vs { margin-top: 40px; }
.ia-cm-vs thead th:nth-child(2) { color: var(--amber); }
.ia-cm-vs tbody td:nth-child(2) { color: var(--on-ink); }
.ia-cm-vs tbody tr > :last-child { color: var(--on-ink2); }
.ia-cm-wp { display: grid; gap: 14px; justify-items: start; margin-top: 40px; max-width: 62ch; }
.ia-cm-wp p { color: var(--on-ink2); }
.ia-cm-src { font-size: 16px; }
.ia-cm-feat { display: grid; gap: 120px; }
.ia-cm-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.ia-cm-lead-rev > .ia-clip { order: 2; }
.ia-cm-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }
/* "Tulekul varsti" is the focal point: a large ink stamp laid over the guide screens (a status, not a button) */
.ia-cm-fan-wrap { position: relative; }
.ia-cm-soon { position: absolute; z-index: 5; right: -4%; bottom: 6%; display: flex; align-items: center; gap: 16px; padding: 22px 34px 22px 26px;
  border-radius: 20px; background: var(--ink); color: var(--on-ink); font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  transform: rotate(-5deg); box-shadow: 0 36px 60px -26px rgba(18, 17, 16, .75); white-space: nowrap; }
.ia-cm-soon .ia-icf { width: 1.1em; height: 1.1em; color: var(--on-ink); }
@media (max-width: 960px) { .ia-cm-soon { right: 0; bottom: -18px; } }
@media (max-width: 640px) { .ia-cm-soon { position: relative; right: auto; bottom: auto; display: inline-flex; margin: 0 0 22px; transform: rotate(-3deg); font-size: 30px; padding: 18px 24px 18px 20px; } }
.ia-cm-guide { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.ia-cm-guide-txt .ia-go-sub { max-width: 36ch; }
.ia-cm-guide-ask { margin-top: 30px; }
/* the guide's topics: a diagonal cascade, each card's title bar stays readable */
.ia-cm-fan { position: relative; height: 470px; }
.ia-cm-fan li { position: absolute; left: calc(var(--i) * 13%); top: calc(var(--i) * 62px); width: 61%; border-radius: 14px; overflow: hidden;
  background: var(--paper); box-shadow: 0 30px 60px -28px rgba(18, 17, 16, .6), 0 4px 14px rgba(18, 17, 16, .12);
  transform: rotate(calc(-3deg + var(--i) * 1.8deg)); transform-origin: 0 0; }
.ia-cm-fan-bar { display: flex; align-items: center; gap: 9px; padding: 11px 14px; font-weight: 600; font-size: 16px; color: var(--ink); }
.ia-cm-fan-bar .ia-icf { width: 18px; height: 18px; }
.ia-cm-fan img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 960px) {
  .ia-cm-guide { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 640px) {
  .ia-cm-fan { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ia-cm-fan li { position: static; width: auto; transform: none; }
  .ia-cm-fan-bar { font-size: 15px; padding: 8px 10px; }
}
.ia-cm-gh { display: flex; align-items: center; gap: 14px; }
.ia-icf { display: block; flex: none; }
.ia-cm-ic { width: 34px; height: 34px; color: var(--ink); }
.ia-cm-screens .ia-cm-ic { width: 28px; height: 28px; }
.ia-cm-lead-txt .ia-cm-gh { margin-top: 44px; }
.ia-cm-lead-txt .ia-cm-gh:first-child { margin-top: 0; }
.ia-cm-lead-txt h3 { font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -.025em; }
.ia-cm-line { margin-top: 14px; font-size: 19px; color: var(--ink); max-width: 40ch; }
.ia-cm-ticks { margin-top: 16px; gap: 9px; color: var(--text2); }
.ia-cm-ticks .ia-ic { flex: none; width: 18px; height: 18px; color: var(--amber-ink); }
.ia-cm-screens .ia-cm-gh { margin-top: 24px; }
.ia-cm-screens h3 { font-size: 26px; letter-spacing: -.02em; }
.ia-cm-screens .ia-cm-ticks { margin-top: 14px; font-size: 17px; }
.ia-cm-screens img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 48px -28px rgba(18, 17, 16, .55); }
@media (max-width: 960px) {
  .ia-cm-feat { gap: 80px; }
  .ia-cm-lead, .ia-cm-row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ia-cm-row-rev .ia-cm-row-img { order: 0; }
  .ia-cm-rowset { gap: 96px; }
  .ia-cm-lead-rev > .ia-clip { order: 0; }
  .ia-cm-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .ia-cm-screens { grid-template-columns: minmax(0, 1fr); } }

/* home: a custom site against a template (index.php "Kohandatud leht teeb rohkem kui mall") */
.ia-mm { padding-top: 120px; }
.ia-mm-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.ia-mm-mob { margin-top: 20px; max-width: 46ch; font-size: 20px; color: var(--text2); }
.ia-mm-ticks { margin-top: 22px; gap: 10px; font-weight: 500; }
.ia-mm-ticks .ia-ic { flex: none; width: 18px; height: 18px; color: var(--amber-ink); }
.ia-mm-vs { display: grid; }
.ia-mm-stage { display: grid; justify-items: center; }
.ia-mm-phone-img { display: block; width: min(100%, 470px); height: auto; filter: drop-shadow(30px 44px 40px rgba(18, 17, 16, .28)); }
.ia-mv { padding-top: 40px; }
.ia-mv-head { display: grid; justify-items: center; text-align: center; margin-bottom: 56px; }
.ia-mv-more { display: flex; justify-content: center; margin-top: 44px; }
.ia-mv-head .ia-band-h { max-width: none; }
.ia-mm-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 4fr) minmax(0, 5fr); gap: 24px; padding: 16px 0; align-items: baseline; }
.ia-mm-head { padding-top: 0; font-weight: 600; font-size: 16px; color: var(--text2); }
.ia-mm-head > :last-child { color: var(--amber-ink); }
.ia-mm-k { font-weight: 600; font-size: 19px; }
.ia-mm-a { color: var(--text2); }
.ia-mm-b { display: flex; gap: 10px; align-items: baseline; color: var(--ink); font-weight: 500; }
.ia-mm-b .ia-ic { flex: none; width: 18px; height: 18px; color: var(--amber-ink); transform: translateY(3px); }
@media (max-width: 1100px) { .ia-mm-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 640px) {
  .ia-mm-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
  .ia-mm-head { display: none; }
  .ia-mm-a::before { content: "Valmis mall: "; font-weight: 600; }
  .ia-mm-phone-img { width: min(100%, 320px); }
}

/* home: Projekti kulg as a full-width timeline (pk-) */
.ia-pk-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.ia-pk-top .ia-band-lead { margin-top: 18px; }
.ia-pk-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 88px; }
.ia-pk-steps > li { position: relative; padding-top: 52px; }
.ia-pk-steps > li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 7px var(--paper), 0 0 0 9px var(--amber); }
.ia-pk-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 40px; right: -32px; top: 10px; height: 2px; background: var(--ink); opacity: .14; }
.ia-pk-when { display: block; font-size: 16px; font-weight: 600; color: var(--amber-ink); }
.ia-pk-steps h3 { margin-top: 6px; font-size: clamp(25px, 2.1vw, 31px); letter-spacing: -.025em; line-height: 1.15; }
.ia-pk-steps p { margin-top: 10px; color: var(--text2); }
.ia-pk-inc { margin-top: 16px; gap: 8px; font-size: 16px; }
.ia-pk-inc .ia-ic { flex: none; width: 17px; height: 17px; color: var(--amber-ink); }
@media (max-width: 1100px) { .ia-pk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } .ia-pk-steps > li:nth-child(2)::after { display: none; } }
@media (max-width: 960px) { .ia-pk-top { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 640px) {
  .ia-pk-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
  .ia-pk-steps > li { padding: 0 0 0 46px; }
  .ia-pk-steps > li:nth-child(2)::after { display: block; }
  .ia-pk-steps > li:not(:last-child)::after { left: 10px; right: auto; top: 36px; bottom: -32px; width: 2px; height: auto; }
}

/* language switcher (W39): flag + code, opens to every language as real links */
.ia-lang-menu { position: relative; }
.ia-lang-menu > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 16px; color: var(--on-ink); transition: background .2s; }
.ia-lang-menu > summary::-webkit-details-marker { display: none; }
.ia-lang-menu > summary:hover, .ia-lang-menu[open] > summary { background: var(--ink-hi); }
.ia-lang-menu > summary .ia-ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ia-lang-menu[open] > summary .ia-ic { transform: rotate(180deg); }
.ia-lang-menu img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; flex: none; }
.ia-lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; padding: 6px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); }
.ia-lang-menu[open] ul { animation: lang-down .22s var(--ease) backwards; }
@keyframes lang-down { from { opacity: 0; transform: translateY(-6px); } }
.ia-lang-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 16px; transition: background .15s; }
.ia-lang-menu li a:hover { background: var(--field); }
.ia-lang-menu li a b { min-width: 26px; }
.ia-lang-menu li a span { color: var(--text2); }
.ia-lang-menu li a[aria-current] { background: var(--field); }
@media (prefers-reduced-motion: reduce) { .ia-lang-menu[open] ul { animation: none; } }
/* phones: the switcher joined the header, so the bar tightens to keep every control on screen */
@media (max-width: 640px) {
  .ia-hd { gap: 8px; }
  .ia-hd .ia-logo { gap: 8px; }
  .ia-hd .ia-logo .ia-lg { width: 46px; height: 46px; }
  .ia-hd .ia-logo .ia-wm { height: 16px; }
  .ia-lang-menu > summary { gap: 5px; padding: 8px 6px; font-size: 15px; }
  .ia-lang-menu > summary .ia-ic { display: none; }
}

/* landing splash (index.php): a quick build of the real hero. html.splash hides the parts before first paint */
html.ia-splash body::before { content: ""; position: fixed; inset: 0; z-index: 200; background: var(--ink); animation: splash-safe .3s 7.5s forwards; }
html.ia-splash.ia-splash-js body::before { display: none; }
html.ia-splash .ia-hd .ia-logo, html.ia-splash .ia-nav > *, html.ia-splash .ia-hd-right > *, html.ia-splash .ia-hero-biz h1, html.ia-splash .ia-hero-acts > *,
html.ia-splash .ia-ours h2, html.ia-splash .ia-ours li { opacity: 0; animation: splash-safe-in .3s 7.5s forwards; }
html.ia-splash .ia-wall-row[data-row="0"], html.ia-splash .ia-wall-row[data-row="2"] { translate: -130vw 0; }
html.ia-splash .ia-wall-row[data-row="1"] { translate: 130vw 0; }
@keyframes splash-safe { to { opacity: 0; visibility: hidden; } }
@keyframes splash-safe-in { to { opacity: 1; } }
.ia-splash-sheet { position: fixed; inset: 0; z-index: 200; background: var(--ink); }
.ia-splash-stack { position: fixed; inset: 0; z-index: 201; pointer-events: none; overflow-x: clip; }
.ia-splash-brick { position: absolute; margin: 0; white-space: nowrap; padding: .08em .42em .12em; border-radius: 10px; background: var(--on-ink); color: var(--ink); font-weight: 800; font-size: clamp(24px, 3.3vw, 54px); line-height: 1.15; letter-spacing: -.03em; }
.ia-splash-skip { position: fixed; z-index: 205; right: 28px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 16px; color: inherit; mix-blend-mode: difference; color: #fff; }
.ia-splash-skip .ia-ic { width: 18px; height: 18px; }
.ia-splash-done .ia-hero-biz h1, .ia-splash-done .ia-hero-biz .ia-hero-acts { animation: none; }   /* built by the splash; the load rise must not replay */
.ia-splash-mark { position: fixed; z-index: 201; margin: 0; pointer-events: none; transform-origin: center; color: var(--on-ink); }
.ia-splash-mark .ia-lg { animation: lg-pop 1.1s .15s var(--ease) both; }
.ia-splash-mark .ia-lg-px rect { animation: lg-px .8s .05s var(--ease) both; }
.ia-splash-mark .ia-lg-px rect:nth-child(2n) { animation-delay: .14s; }
.ia-splash-mark .ia-lg-pads circle { animation: lg-pad .5s .25s ease-out both; }
.ia-splash-mark .ia-lg-sparks path { animation: lg-spark .55s .3s cubic-bezier(.5, 0, .7, 1) both; }
.ia-splash-mark .ia-lg-sparks path:nth-child(2) { animation-delay: .36s; }
.ia-splash-mark .ia-lg-sparks path:nth-child(3) { animation-delay: .42s; }
.ia-splash-mark .ia-lg-sparks path:nth-child(4) { animation-delay: .48s; }
.ia-splash-mark .ia-lg-rays { animation: lg-rays .7s .45s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .ia-al-shot, .ia-al-door-media { transition: none; }
  html.ia-js .ia-ic-draw > * { transition: none; stroke-dashoffset: 0; }
  html.ia-js .ia-svx-panel.ia-in { animation: none; }
  .ia-rev-view.ia-car .ia-reviews { transition: none; }
  .ia-sheet[open] .ia-sheet-in, .ia-sheet.ia-closing .ia-sheet-in { animation: none; }
  .ia-wm *, .ia-logo:hover .ia-wm * { animation: none !important; }
  .ia-logo .ia-lg, .ia-logo .ia-lg *, .ia-logo:hover .ia-lg, .ia-logo:hover .ia-lg * { animation: none !important; }
  @view-transition { navigation: none; }
  .ia-hero-biz h1, .ia-ph h1, .ia-show-index h1, .ia-hero-biz .ia-hero-acts, .ia-ph-lead { animation: none; }
  .ia-wall-row { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* checklist 2026-11-11: privacy line under every form */
.ia-form-priv { margin-top: 16px; font-size: 15px; color: var(--on-ink2); }
.ia-iform .ia-form-priv { grid-column: 1 / -1; margin-top: 0; }
.ia-on-white .ia-form-priv { color: var(--text2); }
.ia-form-priv a { font-weight: 600; color: var(--on-ink); }
.ia-on-white .ia-form-priv a { color: var(--ink); }
.ia-form-priv a:hover { color: var(--amber); }
.ia-on-white .ia-form-priv a:hover { color: var(--amber-ink); }
.ia-legal a { font-weight: 600; color: var(--ink); }
.ia-legal a:hover { color: var(--amber-ink); }
/* the lead on the see-through Erilahendused card stays readable where the card overlaps the white band */
.ia-svc-eri > p { color: rgba(244, 241, 236, .82); }
/* touch: standalone text links get a 44 px tall hit area without moving the layout */
@media (pointer: coarse) {
  .ia-arrow-link, .ia-work-link, .ia-people a, .ia-ours-txt a, .ia-ft li a, .ia-ft-legal a, .ia-names a { position: relative; }
  .ia-arrow-link::before, .ia-work-link::before, .ia-people a::before, .ia-ours-txt a::before, .ia-ft li a::before, .ia-ft-legal a::before, .ia-names a::before {
    content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }
  .ia-show-tabs button { min-height: 44px; }
  /* stacked links sit 44 px apart so neighbouring hit areas do not overlap */
  .ia-ft li { line-height: 44px; }
  .ia-people a { margin-top: 17px; }
  .ia-ft-legal p:last-child { row-gap: 18px; }
}

/* ================= phone view (owner 2026-11-17, .build/PLAN-mobile.md): its own layout at 640 px and below.
   Wider screens never see these rules; the comparison switches do not exist above it. The header keeps its own phone
   icon and menu (owner 2026-11-17: a bottom dock in their place read as half-finished). ================= */
.ia-vs-switch { display: none; }
@media (max-width: 640px) {
  .ia-band { padding: 52px 0; }
  .ia-ph { padding: 40px 0 48px; }
  .ia-koer { display: none !important; }   /* the dog sat behind body text on every phone screen */

  /* footer: one screen. Link groups in two columns, every link a 44 px row */
  .ia-ft { padding-top: 44px; }
  .ia-ft-grid { gap: 26px; }
  .ia-ft h2 { margin-bottom: 4px; }
  .ia-ft-grid ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .ia-ft-grid > div:last-child ul { grid-template-columns: minmax(0, 1fr); }
  .ia-ft li { line-height: 1.35; font-size: 16px; }
  .ia-ft li a { display: block; padding: 11px 0; }
  .ia-ft-grid > div:last-child li:not(:has(a)) { padding: 2px 0; color: var(--on-ink2); font-size: 15px; }
  .ia-ft-legal { margin-top: 28px; }

  /* home hero: title, both buttons, the client wall, then the own products as one row of icons (as on desktop) */
  .ia-hero-biz { display: flex; flex-direction: column; padding: 40px 0 32px; }
  .ia-hero-biz .ia-hero-grid { display: contents; }
  .ia-hero-biz .ia-hero-copy { order: 1; padding-inline: 20px; }
  .ia-hero-biz .ia-hero-acts { margin-top: 26px; }
  .ia-hero-biz .ia-wall { order: 2; height: 200px; margin-top: 26px; }
  .ia-hero-biz .ia-ours { order: 3; margin-top: 18px; padding-inline: 20px; }
  .ia-ours h2 { margin-bottom: 12px; }
  /* five icons in a row; the tapped one (the first until one is tapped) opens its card under the row */
  .ia-ours ul { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: center; gap: 0; padding-bottom: 128px; }
  .ia-ours li { position: static; display: block; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .ia-ours-ic { width: 58px; height: 58px; padding: 7px; border-radius: 16px; transition: box-shadow .2s, transform .25s var(--ease); }
  .ia-ours li:hover .ia-ours-ic { transform: none; box-shadow: none; }
  .ia-ours li:focus-within .ia-ours-ic, .ia-ours ul:not(:focus-within) li:first-child .ia-ours-ic { transform: none; box-shadow: 0 0 0 3px var(--amber); }
  .ia-ours-txt, .ia-ours li:hover .ia-ours-txt { display: none; }
  .ia-ours li:focus-within .ia-ours-txt, .ia-ours ul:not(:focus-within) li:first-child .ia-ours-txt {
    position: absolute; left: 0; right: 0; top: 72px; display: grid; justify-items: start; gap: 4px; min-height: 112px; padding: 14px 16px;
    border-radius: 16px; background: var(--ink-hi); text-align: left; transform: none; clip-path: none; opacity: 1; visibility: visible; animation: ours-in .25s var(--ease); }
  @keyframes ours-in { from { opacity: 0; transform: translateY(-4px); } }
  .ia-ours-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font-size: 19px; line-height: 1.2; }
  .ia-ours-name small { font-size: 14px; }
  .ia-ours-line { font-size: 15px; line-height: 1.4; }
  .ia-ours-txt a { margin-top: 4px; font-size: 15px; }

  /* Meie poolt: the six services as icon tiles (their paragraphs live on Teenused), then Erilahendused, then the link */
  .ia-svc-band { display: flex; flex-direction: column; gap: 0; }
  .ia-svc-band .ia-band-h { order: 1; }
  .ia-svc-band .ia-band-lead { order: 2; margin-top: 12px; font-size: 17px; }
  .ia-svc-band .ia-svc-list { order: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .ia-svc-band .ia-svc-eri { order: 4; margin-top: 8px; padding: 22px 20px; background: var(--ink); }
  .ia-svc-band .ia-svc-head > .ia-arrow-link { order: 5; margin-top: 18px; }
  .ia-svc-band .ia-svc-list li a { display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 14px; height: 100%; min-height: 100px;
    padding: 14px; border-radius: 16px; background: var(--field); }
  .ia-svc-band .ia-svc-list li a > p, .ia-svc-band .ia-svc-list .ia-svc-go { display: none; }
  .ia-svc-band .ia-svc-list h3 { font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
  .ia-svc-band .ia-svc-list .ia-ic { width: 26px; height: 26px; }
  .ia-svc-eri h3 { font-size: 26px; }

  /* Kujundatud telefoni jaoks: the render shrinks beside the text's rhythm */
  .ia-mm { padding-top: 44px; }
  .ia-mm-grid { gap: 18px; }
  .ia-mm-mob { font-size: 17px; }
  .ia-mm-phone-img { width: min(56%, 210px); }

  /* Veebileht just teie ettevõttele: one column at a time behind a two-way switch */
  .ia-mv { padding-top: 12px; }
  .ia-mv-head { justify-items: start; text-align: left; margin-bottom: 0; }
  html.ia-js .ia-vs-switch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; margin: 20px 0 4px; padding: 4px; border-radius: 14px; background: var(--field); }
  .ia-vs-switch button { min-height: 44px; border-radius: 11px; font-weight: 700; font-size: 16px; color: var(--text2); transition: background .2s, color .2s; }
  .ia-vs-switch button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
  html.ia-js .ia-vs-switch-ink { background: var(--ink-hi); }
  .ia-vs-switch-ink button { color: var(--on-ink2); }
  .ia-vs-switch-ink button[aria-pressed="true"] { background: var(--amber); color: var(--ink); }
  html.ia-js .ia-mm-vs[data-col="b"] .ia-mm-a, html.ia-js .ia-mm-vs[data-col="a"] .ia-mm-b { display: none; }
  html.ia-js .ia-mm-row { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 13px 0; }
  html.ia-js .ia-mm-a::before { content: none; }
  .ia-mm-k { font-size: 16px; }
  .ia-mm-a, .ia-mm-b { font-size: 16px; }
  .ia-mv-more { justify-content: flex-start; margin-top: 18px; }

  /* clients: a swipe strip, the next card peeking in */
  .ia-works { padding: 52px 0 44px; }
  .ia-works-top { margin-bottom: 20px; }
  .ia-works-ink .ia-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px;
    padding: 0 20px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .ia-works-ink .ia-grid::-webkit-scrollbar { display: none; }
  .ia-works-ink .ia-work { flex: 0 0 82%; scroll-snap-align: start; }
  .ia-works-ink .ia-frame { height: auto; aspect-ratio: 16 / 10; }
  .ia-works-ink .ia-work-name { margin-top: 12px; font-size: 19px; }
  .ia-works-ink .ia-work-what { font-size: 15px; }

  /* Projekti kulg: four short steps (the clip and the detail ticks stay on desktop and Alusta) */
  .ia-pk-top .ia-what-media, .ia-pk-inc { display: none; }
  .ia-pk-steps { gap: 24px; margin-top: 30px; }
  .ia-pk-steps h3 { font-size: 21px; }
  .ia-pk-steps p { margin-top: 6px; font-size: 16px; }
  .ia-pk-steps > li:not(:last-child)::after { bottom: -16px; }

  /* Ideearendus lühidalt */
  .ia-firm { gap: 26px; }
  .ia-firm-copy p { font-size: 17px; }
  .ia-firm-copy p:nth-of-type(n+2) { display: none; }   /* home: the first paragraph says it; Meist has the rest */
  .ia-firm-figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .ia-firm-figs dt { font-size: 34px; }
  .ia-firm-figs dd { margin-top: 6px; font-size: 15px; }
  .ia-reviews-wrap { margin-top: 36px; }
  .ia-review-sum { gap: 8px 20px; margin-top: 20px; font-size: 15px; }
  .ia-review-sum dt { font-size: 16px; }
  .ia-faq summary { font-size: 17px; }

  /* closing band: title, line, one button */
  .ia-go { padding: 52px 0 48px; }
  .ia-go-side { display: none; }
  .ia-go-grid { gap: 0; }

  /* Kliendid: the further cases as a swipe strip */
  .ia-cs-more-h { margin-top: 56px; }
  .ia-cs-more { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 20px -20px 0;
    padding: 0 20px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .ia-cs-more::-webkit-scrollbar { display: none; }
  .ia-cs-more > li { flex: 0 0 84%; scroll-snap-align: start; }
  .ia-cs-more h3 { margin-top: 14px; font-size: 21px; }

  /* Teenused: the six services as a tile grid; the picked one is amber */
  .ia-svx-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
  .ia-svx-tabs a { grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 12px; min-height: 88px; padding: 12px 13px; border-radius: 14px;
    background: var(--ink-hi); font-size: 15px; line-height: 1.2; color: var(--on-ink); }
  .ia-svx-tabs a .ia-ic { width: 22px; height: 22px; color: var(--amber); }
  .ia-svx-tabs a[aria-selected="true"] { background: var(--amber); color: var(--ink); }
  .ia-svx-tabs a[aria-selected="true"] .ia-ic { color: var(--ink); }
  .ia-svx { gap: 36px; }
  .ia-svx-panel h2 { font-size: 34px; }
  .ia-svx-lead { font-size: 17px; }
  .ia-svx-ex { margin-top: 30px; }
  .ia-eri { padding: 52px 0; }
  .ia-eri-grid { gap: 26px; }
  .ia-rows { gap: 0; }
  .ia-rows li { grid-template-columns: 36px minmax(0, 1fr); padding: 12px 0; }
  .ia-rows h3 { font-size: 18px; }
  .ia-rows p { margin-top: 2px; font-size: 15px; }
  .ia-row-ic .ia-ic { width: 22px; height: 22px; }

  /* Veebihaldur: the six admin screens as a swipe strip; the row images go (the screens already show the panel) */
  .ia-cm-feat { gap: 52px; }
  .ia-cm-screens { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px;
    padding: 0 20px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .ia-cm-screens::-webkit-scrollbar { display: none; }
  .ia-cm-screens > li { flex: 0 0 84%; scroll-snap-align: start; }
  .ia-cm-screens .ia-cm-gh { margin-top: 16px; }
  .ia-cm-screens h3 { font-size: 22px; }
  .ia-cm-screens .ia-cm-ticks { font-size: 15px; }
  .ia-cm-lead-txt h3 { font-size: 26px; }
  .ia-cm-line { font-size: 17px; }
  .ia-cm-row-img { display: none; }
  .ia-cm-rowset { gap: 48px; }
  .ia-cm-pts { gap: 12px; margin-top: 20px; }
  .ia-cm-pts li { font-size: 17px; }
  .ia-cm-pts .ia-icf { width: 24px; height: 24px; }
  html.ia-js .ia-cm-vs { margin-top: 6px; }
  html.ia-js .ia-cm-vs[data-col="a"] tbody td:nth-child(3), html.ia-js .ia-cm-vs[data-col="b"] tbody td:nth-child(2) { display: none; }
  html.ia-js .ia-cm-vs td::before { content: none; }
  html.ia-js .ia-cm-vs tbody tr { margin-top: 8px; padding: 13px 16px; }
  html.ia-js .ia-cm-vs tbody th { margin-bottom: 4px; font-size: 16px; }
  .ia-cm-wp { margin-top: 26px; }

  /* closing band on Kliendid, Teenused and Meist: a smaller icon disc */
  .ia-next { padding: 52px 0 48px; }
  .ia-next-in { gap: 22px; }
  .ia-next-ic { width: 76px; }
  .ia-review { gap: 14px; padding: 32px 22px 20px; }

  /* Meist: the logo render small; the history as year-left rows */
  .ia-about-logo { width: 150px; justify-self: start; }
  .ia-timeline { gap: 18px; margin-top: 24px; }
  .ia-timeline li { grid-template-columns: 62px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; }
  .ia-tl-year { grid-row: span 2; padding-top: 1px; font-size: 22px; }
  .ia-timeline h3 { margin-top: 0; font-size: 18px; }
  .ia-timeline p { font-size: 15px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .ia-ours-txt { animation: none !important; } }
