/* GROV. Google product-page language: white page, Google Sans, centred 500-weight
   headlines, blue pills, large media with floating UI, dark bands, pill FAQ.
   8px spacing scale; every section uses the same head → content step. */

/* fonts are served from this site, so nothing reaches Google before consent */
/* latin-ext */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/google-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/google-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(/assets/fonts/google-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(/assets/fonts/google-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(/assets/fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1f1f1f;
  --muted: #5f6368;
  --line: #e3e3e3;
  --grey: #f8f9fa;
  --grey-2: #f1f3f4;
  --blue: #1a73e8;
  --blue-hover: #1765cc;
  --blue-soft: #e8f0fe;
  --red-soft: #fce8e6;
  --yellow: #fbbc04;
  --yellow-soft: #fef7e0;
  --green-soft: #e6f4ea;
  --dark: #131314;
  --dark-card: #1f1f21;

  --font: "Google Sans", Roboto, Arial, sans-serif;
  --head-font: var(--font);
  --logo-font: "Unbounded", var(--font);
  --head-weight: 500;
  --head-track: -.022em;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(80px, 9vw, 128px);
  --head-gap: clamp(32px, 4vw, 56px);
  --r-xl: 32px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(60, 64, 67, .1), 0 2px 8px rgba(60, 64, 67, .08);
  --shadow-lg: 0 1px 2px rgba(60, 64, 67, .06), 0 8px 24px rgba(60, 64, 67, .08), 0 24px 56px rgba(60, 64, 67, .08);
  --shadow-xl: 0 2px 4px rgba(60, 64, 67, .06), 0 16px 40px rgba(60, 64, 67, .1), 0 48px 96px rgba(60, 64, 67, .12);
  --ease: cubic-bezier(.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(1080px + var(--gutter) * 2); }
.center { text-align: center; }

.display, .h2, h3, .work__title { font-family: var(--head-font); font-weight: var(--head-weight); letter-spacing: var(--head-track); text-wrap: balance; }
.display { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; }
.h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.12; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.sub { margin: 20px auto 0; max-width: 620px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); text-wrap: pretty; }
.split .sub, .svc .sub { margin-inline: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 24px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: .01em; white-space: nowrap; transition: background .2s, box-shadow .2s, color .2s; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); box-shadow: var(--shadow); }
.btn--ghost { color: var(--blue); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--blue-soft); box-shadow: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.row-btns--center { justify-content: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--grey-2); }
.nav__in { display: flex; align-items: center; gap: 40px; height: 68px; }
.logo { font-family: var(--logo-font); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }

@keyframes bob { 50% { transform: translateY(-10px); } }

/* parallax: the picture is taller than its frame and drifts against the scroll */
[data-parallax] { overflow: hidden; }
.is-parallax { position: absolute; left: 0; right: 0; top: -18% !important; width: 100%; height: 136% !important; object-fit: cover; will-change: transform; }

/* hero */
.hero { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); overflow-x: clip; }
/* hero collage: a fixed 1136 × 640 board whose every size is in --u, so the whole board scales with its width */
.cc { --u: calc(100cqw / 1136); container-type: inline-size; margin: clamp(56px, 6vw, 80px) auto 0; }
.cc__in { position: relative; aspect-ratio: 1136 / 640; overflow: hidden; border-radius: calc(40 * var(--u)); background: linear-gradient(160deg, #f8f9fa, #eef1f6); font-size: calc(12 * var(--u)); line-height: 1.3; }
.cc__in > * { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); }
.cc__card { overflow: hidden; height: calc(var(--h) * var(--u)); background: #fff; border-radius: calc(14 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(12 * var(--u)) rgba(60, 64, 67, .14); }
.cc__media { position: relative; overflow: hidden; background: var(--grey-2); }
.cc__media > img, .cc__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* portrait clips show their upper part; a playing video ignores its card's rounded overflow, so it clips itself */
.cc__media > video { object-position: 50% 30%; }
.cc--reel .cc__media { clip-path: inset(0 round calc(14 * var(--u))); }
.cc--shop .cc__media { clip-path: inset(0 round calc(14 * var(--u)) calc(14 * var(--u)) 0 0); }
.cc__pic { clip-path: inset(0 round calc(8 * var(--u))); }
.cc--far { filter: blur(calc(1.4 * var(--u))); opacity: .75; }
.cc__body { display: grid; gap: calc(4 * var(--u)); padding: calc(10 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)); }
.cc__btn { display: block; height: calc(26 * var(--u)); border-radius: 999px; background: #4285f4; color: #fff; font-size: calc(12 * var(--u)); font-weight: 500; line-height: calc(26 * var(--u)); text-align: center; }
.cc__stars { color: #fbbc04; letter-spacing: .08em; }
.cc__pill { display: flex; align-items: center; justify-content: center; gap: calc(6 * var(--u)); height: calc(var(--h) * var(--u)); border-radius: 999px; font-weight: 500; }
/* each card: place on the board (x, y, width, height in board pixels) and its insides */
.cc--fb { --x: 0; --y: 425; --w: 324; --h: 400; z-index: 1; border-radius: 0 calc(14 * var(--u)) 0 0; }
.cc--fb .cc__head { align-items: center; margin: 0; padding: calc(12 * var(--u)) calc(14 * var(--u)) calc(8 * var(--u)); }
.cc--fb .cc__head i { width: calc(28 * var(--u)); height: calc(28 * var(--u)); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cc--fb .cc__head span { color: var(--muted); font-size: calc(10 * var(--u)); }
.cc__txt { margin: 0; padding: 0 calc(14 * var(--u)) calc(10 * var(--u)); font-size: calc(12 * var(--u)); }
.cc--fb .cc__media { height: calc(297 * var(--u)); }
.cc--shop { --x: 48; --y: 95; --w: 200; --h: 320; z-index: 3; }
.cc--shop .cc__media { height: calc(205 * var(--u)); }
.cc__tag { position: absolute; top: calc(10 * var(--u)); left: calc(10 * var(--u)); padding: calc(3 * var(--u)) calc(8 * var(--u)); border-radius: calc(5 * var(--u)); background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: calc(10 * var(--u)); }
.cc--shop .cc__body { gap: calc(6 * var(--u)); padding-top: calc(14 * var(--u)); }
.cc__title { font-size: calc(17 * var(--u)); font-weight: 400; line-height: 1.2; }
.cc__price { color: #188038; font-size: calc(15 * var(--u)); font-weight: 500; }
.cc__price s { color: var(--muted); font-size: calc(11 * var(--u)); font-weight: 400; }
.cc__brand { font-size: calc(12 * var(--u)); }
.cc--shop .cc__stars { font-size: calc(15 * var(--u)); }
.cc--shop .cc__btn { height: calc(32 * var(--u)); margin-top: calc(4 * var(--u)); font-size: calc(14 * var(--u)); line-height: calc(32 * var(--u)); }
.cc--pill-a { --x: 132; --y: 43; --w: 134; --h: 36; z-index: 1; background: #4285f4; color: #fff; font-size: calc(14 * var(--u)); }
.cc--tile { --x: 287; --y: 28; --w: 86; --h: 83; z-index: 1; background: #e8f0fe; }
.cc--tile .cc__media { height: 100%; }
.cc--mini { --x: 339; --y: 206; --w: 100; --h: 157; z-index: 2; }
.cc--mini .cc__media { height: calc(70 * var(--u)); }
.cc--mini .cc__body { gap: calc(3 * var(--u)); padding: calc(6 * var(--u)) calc(8 * var(--u)); font-size: calc(8 * var(--u)); }
.cc--mini .cc__btn { height: calc(12 * var(--u)); }
.cc--mini-r { --x: 1020; --y: 187; --w: 85; --h: 138; }
.cc--mini-r .cc__media { height: calc(64 * var(--u)); }
.cc__search { --x: 284; --y: 164; --w: 226; z-index: 4; display: flex; align-items: center; gap: calc(10 * var(--u)); height: calc(42 * var(--u)); padding-inline: calc(14 * var(--u)); border-radius: 999px; background: #fff; box-shadow: 0 calc(2 * var(--u)) calc(12 * var(--u)) rgba(60, 64, 67, .16); font-size: calc(12 * var(--u)); }
.cc__search i { flex: none; width: calc(16 * var(--u)); height: calc(16 * var(--u)); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234285f4' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") center / contain no-repeat; }
.cc__search span { flex: 1; }
.cc__search em { color: var(--muted); font-style: normal; font-size: calc(16 * var(--u)); }
.cc--reel { --x: 457; --y: 130; --w: 217; --h: 373; z-index: 3; background: #202124; }
.cc--reel .cc__media { position: absolute; inset: 0; }
.cc__over { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: calc(8 * var(--u)); padding: calc(40 * var(--u)) calc(8 * var(--u)) calc(14 * var(--u)); background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; }
.cc__who { display: flex; align-items: center; gap: calc(6 * var(--u)); font-size: calc(15 * var(--u)); }
.cc__who i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); border-radius: 50%; background: #4285f4; }
/* reel side actions and post actions share the same three icons */
.cc__side { position: absolute; right: calc(8 * var(--u)); bottom: calc(110 * var(--u)); display: grid; justify-items: center; gap: calc(3 * var(--u)); color: #fff; font-size: calc(9 * var(--u)); }
.cc__side i { width: calc(22 * var(--u)); height: calc(22 * var(--u)); margin-top: calc(6 * var(--u)); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.cc__side i, .cc__acts i { background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.cc__ic--like { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 5.8-8 11-8 11z'/%3E%3C/svg%3E"); }
.cc__ic--talk { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c5 0 9 3.6 9 8s-4 8-9 8c-1 0-2-.1-2.9-.4L4 21l1.4-4.3A7.6 7.6 0 0 1 3 11c0-4.4 4-8 9-8z'/%3E%3C/svg%3E"); }
.cc__ic--send { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 21 3l-8 18-2-8z'/%3E%3C/svg%3E"); }
.cc--reel .cc__btn { height: calc(30 * var(--u)); font-size: calc(13 * var(--u)); line-height: calc(30 * var(--u)); }
.cc__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(4 * var(--u)); background: #fbbc04; transform-origin: left; animation: cc-bar 12s linear infinite; }
@keyframes cc-bar { from { transform: scaleX(0); } }
.cc--ad { --x: 654; --y: 41; --w: 293; --h: 118; z-index: 5; display: grid; align-content: start; gap: calc(5 * var(--u)); padding: calc(16 * var(--u)) calc(18 * var(--u)); }
.cc--ad small { font-size: calc(11 * var(--u)); }
.cc--ad b { padding-right: calc(28 * var(--u)); color: #1a0dab; font-size: calc(16 * var(--u)); font-weight: 400; }
.cc--ad p { margin: 0; color: var(--muted); font-size: calc(11 * var(--u)); line-height: 1.4; }
.cc__call { position: absolute; top: calc(42 * var(--u)); right: calc(18 * var(--u)); width: calc(16 * var(--u)); height: calc(16 * var(--u)); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a73e8' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.cc--post { --x: 791; --y: 136; --w: 196; --h: 332; z-index: 4; }
.cc--post .cc__head { align-items: center; margin: 0; padding: calc(10 * var(--u)) calc(12 * var(--u)); }
.cc--post .cc__head i { width: calc(24 * var(--u)); height: calc(24 * var(--u)); background: #1f1f1f; }
.cc--post .cc__head span { color: var(--muted); font-size: calc(9 * var(--u)); }
.cc--post .cc__media { height: calc(220 * var(--u)); }
.cc--post .cc__body { grid-template-columns: 1fr auto; align-items: center; padding: calc(10 * var(--u)) calc(12 * var(--u)); }
.cc__acts { display: flex; gap: calc(8 * var(--u)); color: #1f1f1f; }
.cc__acts i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }
.cc--post .cc__btn { padding-inline: calc(12 * var(--u)); font-size: calc(11 * var(--u)); }
.cc--mail { --x: 729; --y: 482; --w: 324; --h: 240; z-index: 3; padding: calc(14 * var(--u)); }
.cc__head { display: flex; align-items: flex-start; gap: calc(10 * var(--u)); margin-bottom: calc(12 * var(--u)); }
.cc__head i { flex: none; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; background: #4285f4; }
.cc__head div { flex: 1; display: grid; }
.cc__head b { font-weight: 500; }
.cc__head time { color: var(--muted); font-size: calc(10 * var(--u)); }
.cc__pic { height: calc(150 * var(--u)); border-radius: calc(8 * var(--u)); }
.cc--pill-b { --x: 587; --y: 526; --w: 136; --h: 31; z-index: 6; background: #fff; box-shadow: 0 calc(2 * var(--u)) calc(12 * var(--u)) rgba(60, 64, 67, .16); font-size: calc(11 * var(--u)); }
/* brand avatars: the company logo on white */
.cc__in i.cc__av { background: #fff center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.cc__in i.cc__av--caparol { background-image: url("/assets/logos/caparol.png"); }
.cc__in i.cc__av--structogram { background-image: url("/assets/logos/structogram.svg"); }
.cc__in i.cc__av--bono { background-image: url("/assets/logos/bono.svg"); }
.cc__in i.cc__av--valmiera { background-image: url("/assets/logos/valmiera.jpg"); }
.cc--pill-b i { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: 50%; background: #34a853; }
/* the board sits on a soft shadow; on load the cards fly in from close up, overshoot back and settle:
   first card starts at 0.5s, the 12th lands at 3s (0.5 + 11 × 0.1 + 1.4) */
.cc__in { perspective: calc(1200 * var(--u)); box-shadow: 0 24px 64px -16px rgba(60, 64, 67, .28); }
.cc__in > * { --d: calc(var(--i, 0) * 100ms + 500ms); will-change: transform; animation: cc-in 1.4s cubic-bezier(.2, .7, .2, 1) var(--d) backwards, cc-float calc(4.5s + var(--i, 0) * .35s) ease-in-out calc(var(--d) + 1.4s) infinite alternate; }
/* after landing every card keeps drifting a little closer or farther, each at its own pace */
.cc__in > :nth-child(2n) { --dz: -1; }
.cc.is-off .cc__in > *, .cc.is-off .cc__bar { animation-play-state: paused; }
@keyframes cc-in {
  0% { opacity: 0; transform: translateZ(calc(520 * var(--u))); }
  55% { transform: translateZ(calc(-90 * var(--u))); }
  100% { transform: none; }
}
@keyframes cc-float { to { transform: translateZ(calc(var(--dz, 1) * 40 * var(--u))); } }
@media (prefers-reduced-motion: reduce) { .cc__in > *, .cc__bar { animation: none; } }

/* sections */
.sec { position: relative; padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .5); }
/* white next to white needs less air than white next to a dark band: each side gives up half */
.sec:not(.sec--dark):not(.sec--faq):has(+ .sec:not(.sec--dark):not(.sec--faq)) { padding-bottom: calc(var(--sec) * .5); }
.sec:not(.sec--dark):not(.sec--faq) + .sec:not(.sec--dark):not(.sec--faq):not(.sec--flush) { padding-top: calc(var(--sec) * .5); }
.hero:not(.hero--page) + .sec:not(.sec--dark):not(.sec--faq):not(.sec--flush) { padding-top: calc(var(--sec) * .5); }
.head { margin-bottom: var(--head-gap); }

/* icons: one stroke style everywhere */
.ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--1 { background: var(--blue-soft); color: #1967d2; }
.ico--2 { background: var(--red-soft); color: #c5221f; }
.ico--3 { background: var(--yellow-soft); color: #b06000; }
.ico--4 { background: var(--green-soft); color: #137333; }

/* situation: one quiet long card — one icon colour, compact type, a light shadow */
.pains { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--grey-2), 0 12px 32px rgba(60, 64, 67, .06); }
.pain { position: relative; z-index: 1; padding: 28px 28px 32px; }
.pain + .pain::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--grey-2); }
/* the icons themselves carry the Google colours; no fill, only a thin frame in the same colour */
.pains .ico { width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px; background: transparent; color: var(--c); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 45%, transparent); }
.pains .ico--1 { --c: #1a73e8; } .pains .ico--2 { --c: #d93025; } .pains .ico--3 { --c: #f9ab00; } .pains .ico--4 { --c: #1e8e3e; }
.pains .ico svg { width: 20px; height: 20px; }
.pain h3 { font-size: 17px; }
.pain p { font-size: 15px; }
.pain p, .themes p { margin-top: 8px; color: var(--muted); }

/* approach */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.panel { position: relative; display: grid; place-items: center; min-height: 440px; padding: 48px; border-radius: var(--r-xl); background: linear-gradient(145deg, #e8f0fe, #d2e3fc 60%, #c2d7fb); }
.check { position: relative; z-index: 1; width: min(100%, 360px); padding: 28px; background: #fff; border-radius: 24px; box-shadow: var(--shadow-xl); }
.check b { font-size: 18px; font-weight: 500; }
.check ul { margin: 16px 0 0; padding: 0; list-style: none; }
.check li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--grey-2); }
.check i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check__next { display: block; margin-top: 28px; }
.check .is-good i { background-color: #1e8e3e; }
.check .is-bad i { background-color: #d93025; }

/* dark band */
.sec--dark { background: var(--dark); color: #fff; overflow: clip; }
.sec--dark .sub { color: #bdc1c6; }
.sec--dark .check { color: var(--ink); }
/* every dark band: soft blue light pooling in the four corners, for depth */
.sec--dark, .sec--faq { background-image: radial-gradient(ellipse 45% 60% at 0% 0%, rgba(26, 115, 232, .195), transparent 70%), radial-gradient(ellipse 45% 60% at 100% 0%, rgba(26, 115, 232, .15), transparent 70%), radial-gradient(ellipse 45% 60% at 0% 100%, rgba(26, 115, 232, .15), transparent 70%), radial-gradient(ellipse 45% 60% at 100% 100%, rgba(26, 115, 232, .195), transparent 70%); }
/* story block: a photo behind the card instead of a coloured panel */
.panel--photo { background: #222; box-shadow: var(--shadow-lg); }
.panel--photo .is-parallax { top: -4% !important; height: 108% !important; }
/* the photo drifts very gently and is a little quieter in tone */
.panel--photo img { filter: saturate(.85) brightness(.92); }
.panel--photo .check { width: max-content; max-width: 100%; padding: 28px 40px 28px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.split .sub + .sub { margin-top: 16px; }
.split--flip { grid-template-columns: 6fr 5fr; }
.split--flip > div:first-child { order: 2; }
/* goals: Google style pill tabs, each tab shows its own text and picture */
.tabs { display: flex; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--grey-2); }
.tabs::-webkit-scrollbar { display: none; }
.tabs__b { flex: none; height: 48px; padding: 0 24px; border-radius: 999px; color: var(--muted); font-size: 16px; font-weight: 500; transition: color .2s, background .2s, box-shadow .2s; }
.tabs__b:hover { color: var(--ink); }
.tabs__b[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(60, 64, 67, .16); }
.goal { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: center; margin-top: var(--head-gap); animation: goal-in .5s var(--ease); }
.goal[hidden] { display: none; }
@keyframes goal-in { from { opacity: 0; translate: 0 12px; } }
.goal__t { font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.goal .sub { margin-inline: 0; }
.goal .sub + .sub { margin-top: 16px; }
/* switching a tab eases the new goal in */
.goal:not([hidden]) > * { animation: goal-in .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes goal-in { from { opacity: 0; translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .goal:not([hidden]) > * { animation: none; } }
.goal__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-xl); background: var(--grey-2); }
.goal__media > img, .goal__media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* services: picture with floating proof, four themes */
.svc { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.svc__pic { position: relative; }
.svc__frame { position: relative; z-index: 1; aspect-ratio: 5 / 4; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); background: var(--grey-2); }
.svc__stack { position: absolute; inset: 0; }
.svc__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc__stack img.is-on { opacity: 1; transform: none; }
.themes { margin: 32px 0 0; padding: 0; list-style: none; }
.themes li { border-top: 1px solid var(--line); }
.themes li:last-child { border-bottom: 1px solid var(--line); }
/* each theme is a button; the chosen one reads full strength, the rest step back */
.theme { position: relative; display: flex; gap: 20px; width: 100%; padding: 20px 0; text-align: left; transition: opacity .3s; }
.theme[aria-pressed="false"] { opacity: .6; }
.theme[aria-pressed="false"]:hover { opacity: 1; }
/* unchosen icons sit in grey; the chosen one fills with its own colour */
.theme .ico { transition: background .3s, color .3s; }
.theme[aria-pressed="false"] .ico { background: var(--grey-2); color: var(--muted); }
.theme[aria-pressed="true"] .ico { color: #fff; }
.theme[aria-pressed="true"] .ico--1 { background: #1a73e8; }
.theme[aria-pressed="true"] .ico--2 { background: #d93025; }
.theme[aria-pressed="true"] .ico--3 { background: #f9ab00; color: var(--ink); }
.theme[aria-pressed="true"] .ico--4 { background: #1e8e3e; }
.themes p { margin-top: 4px; }

/* projects: no card box — picture, then a short, quiet reading order:
   client, title, one result, link. The whole block is the button. */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.work { display: flex; flex-direction: column; text-align: left; }
.work__img { order: 0; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--grey-2); }
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.work:hover .work__img img { transform: scale(1.04); }
.work__top { display: contents; }
.work__top span { order: 1; margin-top: 20px; font-size: 14px; color: var(--muted); }
.work__title { order: 2; margin-top: 4px; min-height: 2.6em; font-size: 20px; line-height: 1.3; }
/* the key result: a number you can read from across the room, its label beside it */
.work__top b { order: 3; display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 400; color: var(--muted); }
.work__top strong { font-family: var(--head-font); font-size: 30px; font-weight: var(--head-weight); line-height: 1; letter-spacing: -.03em; color: var(--blue); }
.work__go { order: 4; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--blue); }
.work__go i { font-style: normal; transition: translate .3s var(--ease); }
.work:hover .work__go i { translate: 4px 0; }
.work:hover .work__title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* faq on dark */
.sec--faq { background: var(--dark); color: #fff; }
.sec--faq .faq details { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.sec--faq .faq details[open] { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sec--faq .faq summary::after { color: rgba(255, 255, 255, .7); }
.sec--faq .faq p { color: rgba(255, 255, 255, .72); }
.sec--faq .faq summary:hover { color: #fff; }

/* faq */
.faq { display: grid; gap: 12px; margin-top: var(--head-gap); }
.faq details { border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.faq details[open] { background: var(--grey); box-shadow: none; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--muted); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { padding: 0 28px 24px; color: var(--muted); max-width: 720px; }

/* pricing: three plans, the middle one marked with a blue ring */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--grey-2), 0 12px 32px rgba(60, 64, 67, .06); }
.plan--main { box-shadow: 0 0 0 2px var(--blue), var(--shadow-lg); }
.plan h3 { font-size: 20px; font-weight: 500; }
.plan__price { margin-top: 12px; font-size: clamp(32px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.plan__price small { color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.plan > p:not(.plan__price) { margin-top: 12px; color: var(--muted); font-size: 15px; }
.plan ul { flex: 1; display: grid; align-content: start; gap: 14px; margin: 24px 0 32px; padding: 24px 0 0; border-top: 1px solid var(--grey-2); list-style: none; font-size: 15px; }
.plan li { display: flex; gap: 12px; }
.plan li i { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* cta: a rounded frame with the rocket video; the button sits on the left, the rocket on the right.
   Timeline (2.5s): press → the video plays → a light layer fades over it 1.4–2s → text and form in by 2.5s. */
.launch { max-width: 1080px; margin-inline: auto; --cap: var(--blue); --cap-light: #4f8ef0; --cap-dark: #1559c4; --cap-text: #fff; --after: #fff;
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(460px, 42vw, 560px); padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); overflow: hidden; background: #e9eaec; box-shadow: var(--shadow-lg); }
.launch__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease 1.4s; }
.launch.is-go .launch__video { opacity: 0; }
.launch::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--after); opacity: 0; pointer-events: none; transition: opacity .6s ease 1.4s; }
.launch.is-go::after { opacity: 1; }
.launch__pre { position: relative; z-index: 2; grid-column: 1; grid-row: 1; justify-self: center; transition: opacity .4s ease 1.2s; }
.launch.is-go .launch__pre { opacity: 0; }
.launch__after { position: relative; z-index: 2; grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; visibility: hidden; opacity: 0; translate: 0 16px; transition: opacity .5s var(--ease), translate .5s var(--ease), visibility 0s .5s; }
.launch.is-done .launch__after { visibility: visible; opacity: 1; translate: none; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.launch.is-done .launch__pre { visibility: hidden; }

/* the button: a frosted launch control, like the glass cards in the hero.
   An accent arc circles it while it waits; pressed, the arc closes and the arrow lifts off. */
.bigbtn { position: relative; display: grid; place-items: center; align-content: center; gap: 2px; width: 148px; aspect-ratio: 1; padding: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 20px 44px -12px rgba(32, 33, 36, .35); color: var(--ink); transition: transform .3s var(--ease), background .3s; -webkit-tap-highlight-color: transparent; }
.bigbtn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(var(--cap) 0 28%, transparent 28% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: orbit 2.4s linear infinite; }
.bigbtn::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .45); }
.bigbtn svg { width: 30px; height: 30px; fill: none; stroke: var(--cap-icon, var(--cap)); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), opacity .5s; }
.bigbtn span { font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.bigbtn:hover { transform: scale(1.04); background: rgba(255, 255, 255, .85); }
.bigbtn:hover svg { transform: translateY(-3px); }
.launch.is-go .bigbtn { transform: scale(.96); }
.launch.is-go .bigbtn::before { animation: none; background: var(--cap); }
.launch.is-go .bigbtn svg { transform: translateY(-14px); opacity: 0; }
.bigbtn:focus-visible { outline: 3px solid var(--ink); outline-offset: 12px; }
@keyframes orbit { to { transform: rotate(1turn); } }

/* after: one line of text on the left, the form on the right */
.launch__post { padding-right: clamp(24px, 4vw, 48px); }
.launch__post p { margin-top: 12px; color: #3c4043; }
/* the form sits straight on the white, split from the text by one thin line */
.launch__form { display: grid; gap: 14px; padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid var(--line); }
.launch__form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.launch__form input, .launch__form textarea { width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-weight: 400; color: var(--ink); background: var(--grey); resize: vertical; }
.launch__form input:focus, .launch__form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px var(--blue-soft); }
.launch__form .btn { margin-top: 4px; }
/* e-mail and phone side by side */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__row label { min-width: 0; }
/* lead forms: hidden trap field for bots, a status line for failures, the privacy note */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fce8e6; color: #b3261e; font-size: 14px; }
.form__note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.launch__form .btn:disabled { opacity: .6; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  .bigbtn::before { animation: none !important; }
  .launch__pre, .launch::after { transition: none; }
}

/* footer */
.foot { padding-block: 56px 32px; border-top: 1px solid var(--grey-2); font-size: 14px; color: var(--muted); }
.foot__cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot__note { max-width: 30em; margin-top: 12px; }
.foot h3 { margin-bottom: 12px; font-family: var(--font); font-size: 14px; letter-spacing: 0; color: var(--ink); }
.foot__cols a:not(.logo) { display: block; padding-block: 4px; }
.foot__cols a:hover { color: var(--ink); }
.foot .logo { color: var(--ink); }
.foot__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--grey-2); }
.foot__link { display: block; padding: 4px 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.foot__link:hover { color: var(--ink); }
.ns-frame { display: none; visibility: hidden; }

/* project case study: headline and results first, then the picture, then the story.
   Body text is near-black for reading; grey is kept for labels only. */
.case { width: min(1280px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-xl); background: #fff; color: var(--ink); box-shadow: var(--shadow-xl); overflow-y: auto; overscroll-behavior: contain; }
.case::backdrop { background: rgba(32, 33, 36, .45); backdrop-filter: blur(6px); }
.case[open] { animation: case-in .45s var(--ease); }
@keyframes case-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.case__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; height: 0; margin: 0; }
.case__x { display: grid; place-items: center; width: 40px; height: 40px; margin: 16px 16px 0 0; border-radius: 50%; background: var(--grey-2); font-size: 14px; }
.case__x:hover { background: var(--line); }
.case__body { padding: clamp(28px, 5vw, 56px); }
/* the client name is the link to their site; the arrow nudges on hover */
.case__name { font-family: var(--head-font); font-size: clamp(34px, 4vw, 52px); font-weight: var(--head-weight); line-height: 1.08; letter-spacing: var(--head-track); }
.case__name a { display: inline-flex; align-items: center; gap: .2em; }
.case__arrow { flex: none; width: .62em; height: .62em; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s var(--ease); }
.case__name a:hover .case__arrow { translate: 3px -3px; }
.case__title { margin-top: 10px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); text-wrap: balance; }
.case__ms { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 28px; }
.case__m { display: grid; gap: 4px; }
.case__m strong { font-family: var(--head-font); font-size: clamp(34px, 3.6vw, 44px); font-weight: var(--head-weight); line-height: 1; letter-spacing: -.03em; color: var(--blue); }
.case__m span { font-size: 14px; color: var(--muted); }
/* below the picture: a short story with task and goal on the left, the services used on the right */
.case__lead { margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.case__facts { display: grid; gap: 20px; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.case__facts > div { display: grid; gap: 4px; }
.case__facts dt { font-size: 15px; font-weight: 500; }
.case__facts dd { margin: 0; color: var(--muted); }
.case__label { margin-top: 28px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.case__svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 14px 0 0; padding: 0; list-style: none; }
.case__svcs li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.case__svcs .ico { width: 40px; height: 40px; border-radius: 12px; }
.case__svcs .ico svg { width: 20px; height: 20px; }
.case__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 36px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--grey); }
.case__end b { font-size: 18px; font-weight: 500; }
/* popup: words on the left, a square main picture with the other pictures under it on the right */
.case__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case__cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: var(--grey-2); }
.case__gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.case__gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

/* tablet */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .pains { grid-template-columns: 1fr 1fr; }
  .pains:not(.pains--3) .pain:nth-child(odd)::before { display: none; }
  .pains:not(.pains--3) .pain:nth-child(even)::before { top: 0; bottom: 0; }
  .pains:not(.pains--3) .pain:nth-child(n + 3) { border-top: 1px solid var(--grey-2); }
}
@media (max-width: 860px) {
  /* phone: the button sits low-left over the video; afterwards text and form stack */
  .launch { grid-template-columns: 1fr; min-height: 420px; padding: 24px; align-items: end; }
  .launch__pre { justify-self: start; }
  .bigbtn { width: 112px; }
  .bigbtn span { font-size: 15px; }
  .bigbtn svg { width: 24px; height: 24px; }
  .launch:not(.is-done) .launch__after { display: none; }
  .launch.is-done { min-height: 0; align-items: start; }
  .launch.is-done .launch__pre { display: none; }
  .launch__after { grid-template-columns: 1fr; gap: 0; }
  .launch__post { padding: 0 0 20px; }
  .launch__form { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .split, .svc { grid-template-columns: 1fr; }
  .split--flip > div:first-child { order: 0; }
  .goal { grid-template-columns: 1fr; text-align: center; }
  /* stacked goals: picture first, the tabs right under it, then the text */
  #merki .wrap { display: flex; flex-direction: column; }
  .goal { display: contents; }
  .goal__media { order: 1; animation: goal-in .5s var(--ease); }
  #merki .tabs { order: 2; margin: 24px auto 0; }
  .goal > div:first-child { order: 3; margin-top: 32px; animation: goal-in .5s var(--ease); }
  .goal .sub { margin-inline: auto; }
  .goal .row-btns { justify-content: center; }
  .svc__frame { aspect-ratio: 16 / 9; }
  .panel { min-height: 340px; }
}

/* phone: the long card stacks inside itself; card rows swipe */
@media (max-width: 640px) {
  .pains { grid-template-columns: 1fr; }
  .pain { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 24px; border-top: 0; }
  .pain .ico { grid-row: span 2; margin: 0; }
  .pain::before { display: none; }
  .pain + .pain { border-top: 1px solid var(--line); }
  .swipe {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; scroll-padding-inline: var(--gutter);
  }
  .swipe > * { scroll-snap-align: start; }
  .pains.swipe { background: none; border-radius: 0; box-shadow: none; }
  .pains.swipe .pain { display: block; padding: 24px; background: #fff; border: 1px solid var(--grey-2); border-width: 1px 0; box-shadow: 0 8px 20px rgba(60, 64, 67, .07); clip-path: inset(-40px 0); }
  .pains.swipe .pain:first-child { border-left-width: 1px; border-radius: var(--r-lg) 0 0 var(--r-lg); clip-path: inset(-40px 0 -40px -40px); }
  .pains.swipe .pain:last-child { border-right-width: 1px; border-radius: 0 var(--r-lg) var(--r-lg) 0; clip-path: inset(-40px -40px -40px 0); }
  .pains.swipe .pain + .pain::before { display: block; top: 28px; bottom: 28px; }
  .pains.swipe .ico { margin-bottom: 20px; }
  /* services: the picture stays on top and follows the swiped card */
  .svc { row-gap: 0; }
  .svc > div:last-child { display: contents; }
  .svc h2 { order: 1; } .svc .sub { order: 2; } .svc__pic { order: 3; margin-block: 32px 24px; }
  .svc__frame { aspect-ratio: 16 / 10; } .svc .themes { order: 4; }
  .themes { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; scroll-padding-inline: var(--gutter); }
  .themes::-webkit-scrollbar { display: none; }
  .themes li, .themes li:last-child { position: relative; scroll-snap-align: start; background: #fff; border: 1px solid var(--grey-2); border-width: 1px 0; box-shadow: 0 8px 20px rgba(60, 64, 67, .07); clip-path: inset(-40px 0); }
  .themes li:first-child { border-left-width: 1px; border-radius: var(--r-lg) 0 0 var(--r-lg); clip-path: inset(-40px 0 -40px -40px); }
  .themes li:last-child { border-right-width: 1px; border-radius: 0 var(--r-lg) var(--r-lg) 0; clip-path: inset(-40px -40px -40px 0); }
  .themes li + li::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--grey-2); }
  .themes .theme { flex-direction: column; gap: 0; padding: 24px; opacity: 1; }
  .themes .theme .ico { margin-bottom: 16px; color: #fff; }
  .themes .theme .ico--1 { background: #1a73e8; } .themes .theme .ico--2 { background: #d93025; } .themes .theme .ico--3 { background: #f9ab00; color: var(--ink); } .themes .theme .ico--4 { background: #1e8e3e; }
  .swipe::-webkit-scrollbar { display: none; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
  .case__end { padding: 24px; }
  .case__end .btn { width: 100%; }
  .case__svcs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .case[open] { animation: none !important; }
}

/* phone polish: comfortable tap targets, notch-safe edges, no surprise text zoom */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
a, button, summary { touch-action: manipulation; }
.foot { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
@media (max-width: 640px) {
  .logo { display: inline-block; padding-block: 8px; }
  .foot__cols a:not(.logo) { padding-block: 11px; }
  .foot__cols { row-gap: 20px; }
  .faq summary { padding-block: 18px; }
  .btn { min-height: 44px; }
}

/* phone: section headings and their intros are centred; lists and forms stay left-aligned */
@media (max-width: 860px) {
  .split > div:first-child, .svc > div:last-child { text-align: center; }
  .split .sub, .svc .sub { margin-inline: auto; }
  .split .row-btns { justify-content: center; }
  .svc .themes { text-align: left; }
}
@media (max-width: 640px) {
  /* revenue card: the graph fills the card instead of leaving it half empty */
  .rev__row { justify-content: space-between; }
  .rev__line { flex: 1; width: auto; min-width: 0; max-width: 220px; height: 44px; }
}

/* reveal on scroll: key blocks ease up as they arrive (JS adds .pre, then .in) */
.pre { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.pre.in { opacity: 1; translate: none; }
.pre:is(h1, .h2) { opacity: 1; translate: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .pre { opacity: 1; translate: none; transition: none; } }

/* phone: a long, light arrow under the swipeable step cards; it fades once the row is moved */
@media (max-width: 640px) {
}

/* header: burger and a dropdown sheet below 1080px; the section in view is underlined */
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a[aria-current] { color: var(--ink); }
.nav__links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--blue); }
.burger { display: none; position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.burger:hover { background: var(--grey-2); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: top .3s var(--ease), transform .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span { top: 21px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu { position: fixed; z-index: 49; top: 68px; left: 0; right: 0; display: grid; padding: 8px var(--gutter) 24px; background: rgba(255, 255, 255, .98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--grey-2); box-shadow: 0 24px 48px rgba(60, 64, 67, .12); visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .25s, translate .3s var(--ease), visibility 0s .3s; }
.menu.is-open { visibility: visible; opacity: 1; translate: none; transition: opacity .25s, translate .3s var(--ease); }
.menu a { padding: 16px 0; border-bottom: 1px solid var(--grey-2); font-size: 20px; font-weight: 500; }
.menu a:last-child { border-bottom: 0; }
.menu a[aria-current] { color: var(--blue); }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav__in { gap: 12px; }
}
@media (min-width: 1081px) { .menu { display: none; } }

@media (prefers-reduced-motion: reduce) { .menu, .burger span { transition: none; } }

/* very large screens (2K/4K at 100%): scale the page up rather than leave a small column in a sea of white */
:root { --z: 1; }
@media (min-width: 2000px) { :root { --z: 1.2; } }
@media (min-width: 2600px) { :root { --z: 1.45; } }
@media (min-width: 3400px) { :root { --z: 1.8; } }
.nav, main, .foot { zoom: var(--z); }
.case { zoom: var(--z); max-height: calc((100dvh - 48px) / var(--z)); }
html { scroll-padding-top: calc(80px * var(--z)); }

/* cta: a quiet contact strip under the rocket frame, for those who would rather call */

/* subpages: a short hero, no media; the page content follows at the usual step */
.hero--page { padding-bottom: 0; }
.hero--page .wrap + .wrap { margin-top: var(--head-gap); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e8eaed; }

/* about: three facts on one long card */
/* about: the portrait left, his words right */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__pic { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-xl); background: #55585c; box-shadow: var(--shadow-xl); }
/* par mums: three facts in the same long card as the principles, centred and without icons */
.pains--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pains--3 .pain { padding-block: 48px 52px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.pains--3 .pain h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.pains--3 .pain p { font-size: 16px; }
@media (max-width: 640px) {
  .pains--3 { grid-template-columns: 1fr; }
  .pains--3 .pain { display: block; padding: 24px; }
  .pains--3 .pain h3 { font-size: 24px; }
}
.about + .pains { margin-top: var(--head-gap); }
.about .h2 { font-size: clamp(28px, 3vw, 40px); }
.about__text { margin-top: 20px; color: var(--muted); }
.about__sign { margin-top: 18px; line-height: 1.35; }
.about__sign b { display: block; font-weight: 500; }
.about__sign small { font-size: 14px; color: var(--muted); }

/* projects page */
.sec--flush { padding-top: var(--head-gap); }

/* contacts page: one card — the person and direct lines left, the form right */
/* the contact card on every subpage is the same card the home page opens after "Sākt": same padding, same centring */
.cbox { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1080px; margin-inline: auto; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-lg); }
.cbox__info { min-width: 0; padding-right: clamp(24px, 4vw, 48px); }
.cbox__title { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.person { display: flex; align-items: center; gap: 24px; }
.person__pic { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: #55585c; }
.person b { display: block; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.person small { display: block; margin-top: 4px; font-size: 16px; color: var(--muted); }
.lines { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lines li { border-bottom: 1px solid var(--line); }
.lines a { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.lines__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); transition: background .2s, color .2s; }
.lines__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lines a:hover .lines__ico { background: var(--blue); color: #fff; }
.lines small { display: block; font-size: 13px; color: var(--muted); }
.lines a > span:last-child { min-width: 0; }
.lines b { display: block; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.01em;; overflow-wrap: anywhere; }
.cbox__social { display: flex; gap: 10px; margin-top: 24px; }
.cbox__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.cbox__social a:hover { background: var(--grey); }
/* contact card: two white halves, a thin divider; phone and e-mail icons are outlined in the accent colour */
.cbox__info .lines { margin-top: 24px; }
.cbox__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 860px) {
  .about, .cbox { grid-template-columns: 1fr; }
  .about > div { text-align: center; }
  .about__pic { max-width: 420px; justify-self: center; }
  .case__grid { grid-template-columns: 1fr; }
  .cbox__info { padding: 0 0 20px; }
}
@media (max-width: 640px) {
  .case__m strong { font-size: 32px; }
  .case__facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* every page keeps air above the footer, also when it ends on a page hero */
main > .hero--page:last-child { padding-bottom: var(--sec); }

/* cta after the launch: contact person and lines left, the form right */
.launch__post .lines { margin-top: 24px; }
.launch__form .cbox__title { margin-bottom: 2px; }

/* par mums: brand cards sit behind the centred words; scrolling spreads them from near the centre outwards.
   --p (0 → 1) is set by JS from the scroll position; --fx (cqw) and --fy (px) are each card's final place. */
.bwall { --p: 1; --k: calc(.68 + .32 * var(--p)); position: relative; container-type: inline-size; display: grid; place-items: center; }
.bwall > * { grid-area: 1 / 1; }
.bwall__text { position: relative; z-index: 2; max-width: 520px; }
.bwall__text .row-btns { justify-content: center; }
.bwall__cards { margin: 0; padding: 0; list-style: none; }
/* cards may run past the band's edges; the band clips them */
@keyframes bcard-float { 50% { transform: translateY(-9px); } }
.bcard { position: absolute; z-index: 1; left: 50%; top: 50%; width: 200px; animation: bcard-float 7s ease-in-out infinite; padding: 5px 5px 11px; border-radius: 17px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .4); translate: calc(-50% + var(--fx) * 1cqw * var(--k)) calc(-50% + var(--fy) * 1px * var(--k));
  opacity: clamp(.25, calc(.25 + 1.5 * var(--p)), 1); will-change: translate; }
.bcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px; background: var(--grey-2); }
.bcard b { display: block; margin: 10px 5px 0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.bcard:nth-child(1) { --fx: -44; --fy: -135; }
.bcard:nth-child(2) { --fx: -27; --fy: 75; }
.bcard:nth-child(3) { --fx: -46; --fy: 145; }
.bcard:nth-child(4) { --fx: 44; --fy: -175; }
.bcard:nth-child(5) { --fx: 27; --fy: 55; }
.bcard:nth-child(6) { --fx: 46; --fy: 145; }
.bcard:nth-child(2) { animation-duration: 8s; animation-delay: -2s; }
.bcard:nth-child(3) { animation-duration: 6.5s; animation-delay: -4s; }
.bcard:nth-child(4) { animation-duration: 7.5s; animation-delay: -1s; }
.bcard:nth-child(5) { animation-duration: 6s; animation-delay: -3.5s; }
.bcard:nth-child(6) { animation-duration: 8.5s; animation-delay: -5.5s; }
@media (prefers-reduced-motion: reduce) { .bcard { animation: none; } }
@media (max-width: 1080px) {
  .bwall__text { max-width: 440px; }
}
/* phone: the words fill the width, so the cards sit above and below them, running off the sides */
@media (max-width: 860px) {
  .bwall { min-height: 420px; }
  .bcard { width: 136px; padding: 4px 4px 9px; border-radius: 14px; }
  .bcard img { border-radius: 10px; }
  .bcard b { margin: 7px 4px 0; font-size: 12px; }
  .bcard:nth-child(1) { --fx: -42; --fy: -215; }
  .bcard:nth-child(2) { --fx: 3; --fy: -262; }
  .bcard:nth-child(3) { --fx: 47; --fy: -205; }
  .bcard:nth-child(4) { --fx: -44; --fy: 225; }
  .bcard:nth-child(5) { --fx: 3; --fy: 268; }
  .bcard:nth-child(6) { --fx: 48; --fy: 215; }
}


/* phone: the description under every headline is a little narrower than the headline above it */
@media (max-width: 640px) { .sub { width: 90%; margin-inline: auto; } }

/* phone type scale and alignment taken from Google Ads: page and section titles centred, split blocks read from the left */
@media (max-width: 640px) {
  .display, .h2 { font-size: 36px; line-height: 44px; letter-spacing: -.5px; }
  .split .h2, .goal__t, #jautajumi .h2 { font-size: 26px; line-height: 32px; letter-spacing: -.25px; }
  .sub { font-size: 16px; line-height: 24px; }
  .hero .sub { font-size: 18px; line-height: 26px; }
  .faq summary { font-size: 18px; line-height: 24px; }
  .split > div:first-child, .goal { text-align: left; }
  .split .sub, .goal .sub { width: auto; margin-inline: 0; }
  .split .row-btns, .goal .row-btns { justify-content: flex-start; }
}


/* legal and utility pages (privacy policy, thank-you, 404) */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { margin: 48px 0 12px; font-size: 24px; line-height: 32px; font-weight: 500; }
.legal h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 500; }
.legal p, .legal li { color: var(--muted); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--blue); }
.legal table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.legal th { color: var(--ink); font-weight: 500; }
.legal__date { margin-top: 8px; color: var(--muted); font-size: 14px; }
.legal__wrap { overflow-x: auto; }
.done { padding-block: clamp(96px, 12vw, 160px); text-align: center; }
.done .row-btns { justify-content: center; margin-top: 32px; }
.done__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 24px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.done__ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* site preferences panel (analytics / marketing choice) */
.site-prefs { position: fixed; z-index: 9999; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: flex-start; pointer-events: none; font-family: var(--font); }
.site-prefs[hidden] { display: none; }
.site-prefs__box { pointer-events: auto; width: 100%; min-width: 0; max-width: min(440px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow-y: auto; padding: 28px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-xl); font-size: 14px; line-height: 1.6; }
.site-prefs__title { margin: 0 0 8px; font-size: 20px; line-height: 28px; font-weight: 500; }
.site-prefs__text { margin: 0 0 8px; color: var(--muted); }
.site-prefs__links { margin: 0 0 20px; }
.site-prefs__links a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.site-prefs__actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* accepting and rejecting look exactly alike: refusing must not be harder than agreeing */
.site-prefs__btn { flex: 1 1 0; min-width: 8rem; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 500 14px/1.2 var(--font); cursor: pointer; transition: background .2s; }
.site-prefs__btn:hover { background: var(--blue-hover); }
.site-prefs__btn:focus-visible, .site-prefs__link-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.site-prefs__link-btn { flex: 0 0 100%; min-height: 44px; padding: 8px 0 0; border: 0; background: none; color: var(--muted); font: 14px var(--font); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.site-prefs__link-btn:hover { color: var(--ink); }
.site-prefs__row { padding: 14px 0; border-top: 1px solid var(--line); }
.site-prefs__row-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; cursor: pointer; }
.site-prefs__row--fixed .site-prefs__row-head { cursor: default; }
.site-prefs__row-name { flex: 1; font-weight: 500; }
.site-prefs__always { color: var(--muted); font-size: 13px; }
.site-prefs__row-desc { margin: 0; color: var(--muted); font-size: 13px; }
/* the real checkbox stays in the accessibility tree; the pill next to it is only the picture */
input[type="checkbox"].site-prefs__switch { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; opacity: 0; clip-path: inset(50%); appearance: none; pointer-events: none; }
.site-prefs__switch-ui { flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px; background: #c4c7c5; transition: background .25s; }
.site-prefs__switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s; }
input[type="checkbox"].site-prefs__switch:checked + .site-prefs__switch-ui { background: var(--blue); }
input[type="checkbox"].site-prefs__switch:checked + .site-prefs__switch-ui::after { transform: translateX(18px); }
input[type="checkbox"].site-prefs__switch:focus-visible + .site-prefs__switch-ui { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 600px) {
  .site-prefs { left: 12px; right: 12px; bottom: 12px; }
  .site-prefs__box { max-width: calc(100vw - 24px); padding: 22px; }
  .site-prefs__btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .site-prefs__switch-ui, .site-prefs__switch-ui::after { transition: none; } }
