/* Fonts: self-hosted copies (assets/fonts/webreach/), same files the font services served.
   General Sans: ITF Free Font License. Inter and Instrument Serif: SIL Open Font License 1.1 (licence files next to the fonts). */
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/webreach/instrument-serif-italic-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;
}
@font-face {
  font-family: "General Sans"; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url("../assets/fonts/webreach/GeneralSans-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/webreach/inter-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;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../assets/fonts/webreach/inter-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;
}

/* =================================================================
   WebReach UF — styles
   Minimal direction: white space, large type, dark text, blue highlights.
   Design tokens live in :root. In Framer, recreate them as
   Color Styles / Text Styles with the same names.
   ================================================================= */

:root {
  /* Brand — sampled from the WebReach logo */
  --blue-950: #06143f;
  --blue-900: #081c5c;
  --blue-800: #0b2a8a;
  --blue-700: #0f37b8;
  --blue-600: #1446e0;   /* highlight / primary */
  --blue-500: #1b6bec;
  --blue-400: #1e9bff;   /* logo light blue */
  --blue-300: #8cc4ff;
  --blue-200: #c9dcfb;
  --blue-100: #e6effe;
  --blue-50:  #f5f8ff;
  --white:    #ffffff;
  --paper:    #ffffff;   /* page and card backgrounds (turn dark in dark mode) */
  --blue-fill: #1446e0;  /* blue button/badge backgrounds behind white text */

  /* Neutrals */
  --ink:   #0b1220;
  --ink-2: #3a4357;
  --ink-3: #5d6679;
  --line:  rgba(11, 18, 32, .08);
  --line-strong: rgba(11, 18, 32, .14);
  --surface: #f6f8fc;

  --grad-logo: linear-gradient(120deg, #1238d8 0%, #1e9bff 100%);

  /* Type */
  --font-display: "General Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --header-h: 76px;
  --section-pad: clamp(128px, 17vw, 240px);   /* generous space between sections */

  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --shadow-soft: 0 1px 2px rgba(11, 18, 32, .04), 0 12px 32px -12px rgba(11, 18, 32, .10);
  --shadow-float: 0 2px 6px rgba(11, 18, 32, .04), 0 30px 70px -24px rgba(8, 28, 92, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1100px) { body { font-size: 1.125rem; } }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }
.contact :focus-visible { outline-color: var(--blue-300); }
::selection { background: var(--blue-100); color: var(--ink); }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Blue highlight words (solid, like the About statement) */
.hl { color: var(--blue-600); }


.section-title {
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  max-width: 17ch;
}

.text-link {
  color: var(--blue-600); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.text-link:hover { background-size: 100% 1.5px; }

/* ---------- Buttons ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transform: translate(var(--tx), var(--ty));
  transition: transform .5s var(--ease-out), background-color .25s, color .25s, box-shadow .25s;
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn__icon { width: 1.15em; height: 1.15em; transition: transform .4s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary { color: var(--white); background: var(--blue-fill); }
.btn--primary:hover { background: var(--blue-700); }

.btn--ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600); color: var(--blue-700); }

.btn--text { color: var(--ink); background: transparent; padding-inline: 12px; }
.btn--text:hover { color: var(--blue-600); }
.btn--text:hover .btn__icon { transform: translateY(3px); }

.btn--light { color: var(--blue-800); background: var(--white); }
.btn--light:hover { background: var(--blue-100); }

/* =================================================================
   Header
   ================================================================= */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 100; pointer-events: none; }
.site-header__inner {
  pointer-events: auto;
  position: relative;
  width: min(var(--max) + 24px, 100% - 2 * var(--gutter) + 24px);
  margin-inline: auto;
  height: 62px;
  display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  background: var(--white);   /* solid, so the logo's white background never shows as a box */
  border: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled .site-header__inner {
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(11, 18, 32, .25);
}
.site-header__logo { display: block; border-radius: 6px; }
.site-header__logo img { height: 27px; width: auto; mix-blend-mode: multiply; }

.site-nav__list { display: flex; justify-content: center; gap: 6px; }
.site-nav__list a {
  position: relative; display: block;
  padding: 10px 14px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-3); text-decoration: none;
  transition: color .25s;
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a.is-active { color: var(--blue-600); }
.site-nav__list a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--blue-fill);
  transform: scale(0); transition: transform .4s var(--ease-spring);
}
.site-nav__list a.is-active::after { transform: scale(1); }

.scroll-progress {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 62px; margin-top: 6px;
  width: min(var(--max) - 80px, 100% - 2 * var(--gutter) - 40px);
  height: 2px; border-radius: 2px; overflow: hidden;
  background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--blue-fill); opacity: .85;
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  height: 44px; padding: 0 8px 0 16px; border-radius: 999px;
  border: 0; background: var(--surface); cursor: pointer;
  font-weight: 600; font-size: .9375rem; color: var(--ink);
}
.menu-toggle__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); }
.menu-toggle__icon span {
  position: absolute; left: 8px; right: 8px; height: 1.8px; border-radius: 2px; background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 11px; }
.menu-toggle__icon span:last-child { top: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 13.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 13.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 40px) var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--paper);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
.mobile-menu__list { display: grid; gap: 4px; }
.mobile-menu__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 2.75rem); letter-spacing: -.035em;
  color: var(--ink);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), color .2s;
}
.mobile-menu.is-open .mobile-menu__list a { opacity: 1; transform: none; }
.mobile-menu__list li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu__list li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu__list a.is-active { color: var(--blue-600); }
.mobile-menu__num { font-family: var(--font-body); font-size: .875rem; font-weight: 600; color: var(--blue-600); letter-spacing: 0; }
.mobile-menu__foot { display: grid; gap: 10px; font-weight: 500; }
.mobile-menu__foot a { color: var(--blue-700); text-decoration: none; }

/* =================================================================
   Language switch — Svenska / English
   Two buttons with flags; the selected one is aria-pressed="true".
   ================================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px;
  background: var(--surface);
}
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px 0 9px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .875rem; font-weight: 600; color: var(--ink-3);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn[aria-pressed="true"] {
  background: var(--white); color: var(--ink);
  box-shadow: 0 1px 2px rgba(11, 18, 32, .08), 0 2px 8px -2px rgba(11, 18, 32, .14);
}
.lang-switch__btn:focus-visible { outline-offset: 1px; border-radius: 999px; }
.flag {
  flex: none; width: 21px; height: 14px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, .12);
}
.lang-switch__btn:not([aria-pressed="true"]) .flag { filter: saturate(.85); }
.lang-switch__code { display: none; }

/* in the mobile menu: full width, larger targets */
.lang-switch--menu { display: flex; width: 100%; max-width: 360px; margin-bottom: 18px; }
.lang-switch--menu .lang-switch__btn { flex: 1; justify-content: center; height: 46px; font-size: 1rem; }

/* compact header version on smaller screens: flag + SV / EN (full name stays as the accessible name) */
@media (max-width: 860px) {
  .lang-switch--header .lang-switch__btn { padding: 0 10px 0 8px; gap: 6px; height: 34px; }
  .lang-switch--header .lang-switch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lang-switch--header .lang-switch__code { display: inline; }
}
@media (max-width: 640px) {
  .site-header__cta { display: none; }
}

/* language change: hide the swap behind a short fade; avoid a flash of English on load */
main, .site-footer { transition: opacity .16s ease; }
.is-lang-switching main, .is-lang-switching .site-footer { opacity: .25; }
.i18n-pending body { visibility: hidden; }

/* =================================================================
   Hero
   ================================================================= */
.hero {
  --hp: 0;
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__fallback { position: absolute; inset: 0; background: var(--paper); }
.hero__glow {
  position: absolute; right: -8vw; top: 50%; width: 60vw; aspect-ratio: 1; border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(30, 155, 255, .13), rgba(30, 155, 255, 0) 62%);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: translateY(-50%) scale(1.08); opacity: .8; } }

.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.hero.has-video .hero__video { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero.has-video .hero__scrim {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.15) 100%);
}
.hero[data-hero-theme="dark"].has-video .hero__scrim {
  background: linear-gradient(90deg, rgba(6,20,63,.85) 0%, rgba(6,20,63,.55) 50%, rgba(6,20,63,.2) 100%);
}
.hero[data-hero-theme="dark"].has-video .hero__title,
.hero[data-hero-theme="dark"].has-video .hero__lead,
.hero[data-hero-theme="dark"].has-video .hl { color: var(--blue-300); }

.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center; gap: clamp(24px, 4vw, 72px);
}
.hero__content {
  transform: translate3d(0, calc(var(--hp) * -80px), 0);
  opacity: calc(1 - var(--hp) * 1.3);
  will-change: transform, opacity;
}
.hero__title {
  /* scales with width AND height, so the CTA stays above the fold on short laptop screens */
  font-size: clamp(2.75rem, min(7.2vw, 11.5vh), 6.5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: 32px;
  max-width: 11ch;
}
.hero__lead { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); color: var(--ink-2); max-width: 34rem; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* "Who is the website for?" — the first, low-effort step */

@keyframes feedback-in { from { opacity: 0; transform: translateY(-4px); } }

/* What makes the offer useful — short, scannable */

/* -----------------------------------------------------------------
   Hero: centred headline, one short line, one main button and a quiet link,
   with a slowly turning line globe behind (see main.js).
   ----------------------------------------------------------------- */
.hero { display: block; min-height: 0; padding: calc(var(--header-h) + clamp(44px, 8vh, 96px)) 0 0; }
.hero__fallback { background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 42%, #dfecff 100%); }
.hero__glow {
  left: 50%; right: auto; top: 70%; width: min(1200px, 130vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(30, 155, 255, .24), rgba(30, 155, 255, 0));
  animation: glow-breathe 10s ease-in-out infinite alternate;
}
@keyframes glow-breathe { to { transform: translate(-50%, -50%) scale(1.06); opacity: .85; } }
.hero__inner { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: clamp(36px, 6vh, 64px); }
.hero__content { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: clamp(2.8rem, min(7vw, 10.5vh), 6.25rem); line-height: 1.02; max-width: none; margin-bottom: 22px; }

.hero__lead { max-width: 34rem; margin: 0 auto 26px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

.hero__actions { justify-content: center; }

/* Showcase depth: soft light reflection that follows the mouse */

/* Depth cards around the showcase: drift at different depths (scroll + mouse) */

/* cards appear once the showcase has "built" itself */

/* Ambient light behind the page — moves slowly with scroll (see main.js) */

.about, .services { background: transparent; }

/* Step navigation under the example (desktop) */
.step-nav { position: relative; display: flex; justify-content: space-between; margin-top: 18px; padding: 0 4px; }
.step-nav__track { position: absolute; left: 26px; right: 26px; top: 50%; height: 2px; transform: translateY(-50%); background: var(--line-strong); }
.step-nav__fill { display: block; height: 100%; background: var(--blue-fill); transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s var(--ease-out); }
.step-nav__btn {
  position: relative; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--paper); color: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-family: var(--font-display); font-size: .9rem; font-weight: 700;
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.step-nav__btn:hover, .step-nav__btn.is-done { color: var(--blue-700); box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.step-nav__btn[aria-current="step"] { background: var(--blue-fill); color: var(--white); box-shadow: none; transform: scale(1.08); }

/* =================================================================
   About — pinned word reveal
   ================================================================= */
.about { position: relative; background: var(--paper); }
.about__scene { height: 180vh; }   /* scroll length of the pinned word reveal: keep it short, the text is two sentences */
.about__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center;
}
.about__statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 3.75rem);
  font-weight: 700; line-height: 1.14; letter-spacing: -.035em;
  max-width: 23ch;
  color: var(--ink);
}
.about__statement .w { color: var(--scrub-dim, #d3def3); /* dim until scrolled into view; dark mode changes --scrub-dim */ transition: color .4s ease; }
.about__statement .w.is-on { color: var(--ink); }
.about__statement .w.is-accent.is-on { color: var(--blue-600); }

.about__founders {
  display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px;
  padding-bottom: var(--section-pad);
}
.founder-wrap { display: flex; }
.founder {
  --rx: 0deg; --ry: 0deg;
  width: 100%;
  display: flex; align-items: center; gap: 20px;
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), box-shadow .4s, border-color .3s;
}
.founder:hover { box-shadow: var(--shadow-soft); border-color: var(--blue-200); }
.founder:active { transform: perspective(800px) scale(.985); }
.founder:focus-visible { border-radius: var(--radius-lg); }
.founder.is-hidden { visibility: hidden; }
.founder__avatar, .founder__photo {
  flex: none; width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover;
}
.founder__avatar {
  display: grid; place-items: center;
  background: var(--blue-fill); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em;
}
.founder__text { display: grid; gap: 2px; }
.founder__name { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.founder__role { display: block; color: var(--ink-3); font-size: .95rem; }
.founder__more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: .9rem; font-weight: 600; color: var(--blue-600);
}
.founder__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.founder:hover .founder__more svg { transform: translateX(4px); }
.about__note {
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: 26px 8px;
  color: var(--ink-2);
}

/* =================================================================
   Founder profile dialog
   The card "grows" into the panel: JS animates a ghost box from the
   card's rectangle to the panel's, then hands over to the real panel.
   ================================================================= */
.founder-modal {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  max-width: none; max-height: none; margin: 0;
  padding: 24px; border: 0;
  background: transparent; color: var(--ink);
  overflow: hidden;
}
.founder-modal[open] { display: grid; place-items: center; }
.founder-modal::backdrop {
  background: rgba(11, 18, 32, .32);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .45s ease;
}
.founder-modal.is-visible::backdrop { opacity: 1; }

.founder-modal__panel,
.modal-ghost {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
.founder-modal__panel {
  position: relative; z-index: 1;
  width: min(600px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto; overscroll-behavior: contain;
  padding: clamp(26px, 4vw, 44px);
  transition: opacity .2s ease;
}
.founder-modal.is-animating .founder-modal__panel { opacity: 0; }
.modal-ghost { position: fixed; z-index: 0; pointer-events: none; will-change: left, top, width, height; }
.modal-ghost-avatar { position: fixed !important; z-index: 2; margin: 0 !important; transform-origin: 0 0; pointer-events: none; }

.founder-modal__close {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: var(--surface); cursor: pointer;
  transition: background .25s, transform .4s var(--ease-out);
}
.founder-modal__close:hover { background: var(--blue-100); transform: rotate(90deg); }
.founder-modal__close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.9; stroke-linecap: round; }

.founder-modal__head { display: flex; align-items: center; gap: 22px; margin-bottom: 32px; padding-right: 40px; }
.founder-modal__avatar { width: 92px; height: 92px; font-size: 1.7rem; }
.founder-modal__role { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.founder-modal__name { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; }
.founder-modal__label { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }

.founder-modal__facts { display: grid; margin-bottom: 28px; }
.founder-modal__facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.founder-modal__facts li > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: baseline; }
.founder-modal__facts strong { font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.founder-modal__facts p { color: var(--ink-2); font-size: .98rem; }

.founder-modal__contact { padding: 22px; border-radius: var(--radius-md); background: var(--surface); }
.founder-modal__contact p { color: var(--ink-2); margin-bottom: 16px; }
.founder-modal__contact strong { color: var(--ink); }
.founder-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* staggered content entrance */
.founder-modal [data-modal-item] {
  opacity: 0; transform: translate3d(0, 14px, 0);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.founder-modal.is-content-in [data-modal-item] { opacity: 1; transform: none; }

/* =================================================================
   Services — horizontal scroll
   ================================================================= */
.services { position: relative; background: var(--paper); }

/* Desktop pinned row: the cards take whatever height is left under the
   heading (up to 470px) instead of a fixed height, so nothing is cut off
   when the heading wraps or the window is short. If even that is not
   enough, main.js switches to the swipe row (.services-static). */

/* Fallback when a desktop window is too short for the pinned row (and for
   reduced motion on desktop): show all cards in a grid, no sideways scrolling. */

/* =================================================================
   "This is me" — audience choice (personalisation)
   Hidden unless JS turns it on (html[data-personalize="on"]).
   ================================================================= */
.audience-note { display: none; }

[data-personalize="on"] .audience-note { display: block; }

.audience-note { margin-top: 22px; font-size: 1rem; color: var(--ink-2); }
.audience-note .text-link { margin-left: 4px; }
.audience-note.is-set [data-audience-note-text] { color: var(--ink); font-weight: 500; }

/* -----------------------------------------------------------------
   Message reel — one short line at a time, word-by-word motion
   (pacing from the promo film). Navy in both light and dark mode.
   Without JS / with reduced motion the full list shows instead.
   ----------------------------------------------------------------- */
.reel {
  --reel-ms: 3600ms;               /* time each line stays */
  position: relative; isolation: isolate; overflow: hidden;
  margin: clamp(72px, 9vw, 128px) 0 var(--section-pad);
  padding: clamp(40px, 6vw, 84px) clamp(24px, 6vw, 84px) clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(110% 130% at 88% 40%, rgba(27, 107, 236, .38), transparent 60%),
    linear-gradient(135deg, #071a4c 0%, #05123a 55%, #030a22 100%);
  color: #fff;
}
.reel .hl { color: #6fb0ff; }
.reel__list {
  display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; max-width: 32ch;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.15;
}
.reel__stage, .reel__foot { display: none; }

.reel.is-live .reel__list {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.reel.is-live .reel__stage {
  display: flex; flex-wrap: wrap; align-content: center; column-gap: .26em;
  min-height: 3.2em; max-width: 16ch; margin: 0;
  font-family: var(--font-display); font-size: clamp(2.1rem, 5.6vw, 4.6rem); font-weight: 600;
  letter-spacing: -.04em; line-height: 1.05;
}
.reel__w {
  display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(10px);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.reel__stage.is-in .reel__w { opacity: 1; transform: none; filter: none; }
.reel__stage.is-out .reel__w {
  opacity: 0; transform: translateY(-.3em); filter: blur(6px);
  transition-duration: .4s; transition-delay: calc(var(--i) * 18ms);
}
.reel.is-live .reel__foot { display: flex; align-items: center; gap: 18px; margin-top: clamp(26px, 4vw, 44px); }
.reel__bars { flex: 1; display: flex; gap: 8px; max-width: 420px; }
.reel__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.reel__bars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.reel__bars .is-done b { transform: scaleX(1); }
.reel__bars .is-active b { animation: reel-fill var(--reel-ms) linear forwards; }
.reel.is-paused .reel__bars b { animation-play-state: paused; }
@keyframes reel-fill { to { transform: scaleX(1); } }
.reel__toggle {
  display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.reel__toggle:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.reel__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.reel__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.reel__icon--play { fill: currentColor; stroke-width: 1.4; }
.reel__toggle[data-state="playing"] .reel__icon--play,
.reel__toggle[data-state="paused"] .reel__icon--pause { display: none; }
@media (max-width: 640px) {
}
@media (max-width: 360px) {
  .reel.is-live .reel__stage { min-height: 4.25em; }   /* longest lines need four rows here */
}

/* =================================================================
   Process — sticky browser builds itself (light)
   ================================================================= */
.process {
  position: relative;
  background: var(--surface);
  padding: var(--section-pad) 0;
  border-radius: clamp(28px, 4vw, 48px);
  margin-inline: clamp(0px, 1.2vw, 20px);
}
.process__intro { margin-bottom: clamp(48px, 7vw, 96px); }
.process__layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 7vw, 112px); align-items: start; }
.process__visual { position: sticky; top: calc(50vh - 220px); }

.mock {
  border-radius: 20px; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  animation: hover-float 7s ease-in-out infinite;
  transition: box-shadow .8s;
}
@keyframes hover-float { 50% { transform: translateY(-8px); } }
.mock[data-step="4"] { box-shadow: var(--shadow-float), 0 0 0 6px rgba(20, 70, 224, .06); }
.mock__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-100); }
.mock__url {
  flex: 1; max-width: 240px; padding: 5px 12px; border-radius: 999px; background: var(--surface);
  font-size: .78rem; color: var(--ink-3);
}
.mock__screen { position: relative; aspect-ratio: 16 / 11; padding: 22px; color: var(--ink); }
.sk { display: block; height: 9px; border-radius: 5px; background: var(--blue-100); transition: background .6s; }
.sk--w80 { width: 80%; } .sk--w60 { width: 60%; } .sk--w40 { width: 40%; } .sk--w20 { width: 46px; }
.sk--title { height: 18px; width: 70%; }

.mock__msg {
  position: absolute; left: 50%; top: 50%; width: min(78%, 340px);
  display: grid; gap: 10px; padding: 22px;
  border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transform: translate(-50%, -50%);
  transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.mock__msg svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--blue-fill); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; margin-bottom: 4px; }

.mock__site {
  display: grid; grid-template-rows: auto 1fr auto; gap: 16px; height: 100%;
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
}
.mock__nav { display: flex; align-items: center; gap: 10px; }
.mock__logo { width: 22px; height: 22px; border-radius: 50%; margin-right: auto; }
.mock__pill { width: 64px; height: 22px; border-radius: 999px; }
.mock__hero { display: grid; align-content: center; gap: 12px; padding: 18px; border-radius: 14px; }
.mock__btn { width: 96px; height: 28px; border-radius: 999px; margin-top: 4px; }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 64px; }
.mock__cards span { border-radius: 10px; }

/* Step 2 = wireframe */
.mock__logo, .mock__pill, .mock__hero, .mock__btn, .mock__cards span {
  outline: 1.5px dashed var(--blue-300); outline-offset: -1.5px; background: transparent;
  transition: background .7s var(--ease-out), outline-color .7s;
}
/* Step 3+ = filled in */
.mock[data-step="3"] .mock__logo, .mock[data-step="4"] .mock__logo,
.mock[data-step="3"] .mock__pill, .mock[data-step="4"] .mock__pill,
.mock[data-step="3"] .mock__btn, .mock[data-step="4"] .mock__btn { background: var(--blue-fill); outline-color: transparent; }
.mock[data-step="3"] .mock__hero, .mock[data-step="4"] .mock__hero { background: var(--blue-50); outline-color: transparent; }
.mock[data-step="3"] .mock__cards span, .mock[data-step="4"] .mock__cards span { background: var(--surface); outline-color: transparent; }
.mock[data-step="3"] .mock__hero .sk--title, .mock[data-step="4"] .mock__hero .sk--title { background: var(--ink); opacity: .85; }
.mock[data-step="3"] .mock__cards span:nth-child(2), .mock[data-step="4"] .mock__cards span:nth-child(2) { background: var(--blue-100); }

/* Audience variants of the example site (set by "This is me") */
.mock__avatar, .mock__media { display: none; }
.mock__avatar { outline: 1.5px dashed var(--blue-300); outline-offset: -1.5px; transition: background .7s var(--ease-out), outline-color .7s; }
.mock__media { outline: 1.5px dashed var(--blue-300); outline-offset: -1.5px; transition: background .7s var(--ease-out), outline-color .7s; }
.mock[data-step="3"] .mock__avatar, .mock[data-step="4"] .mock__avatar,
.mock[data-step="3"] .mock__media, .mock[data-step="4"] .mock__media { background: var(--blue-fill); outline-color: transparent; }

/* personal site: centred portrait + intro */
.mock[data-audience="individual"] .mock__hero { justify-items: center; text-align: center; }
.mock[data-audience="individual"] .mock__avatar { display: block; width: 46px; height: 46px; border-radius: 50%; }
.mock[data-audience="individual"] .mock__hero .sk--title { width: 52%; }
.mock[data-audience="individual"] .mock__hero .sk--w60 { width: 40%; }
.mock[data-audience="individual"] .mock__cards { grid-template-columns: repeat(2, 1fr); }
.mock[data-audience="individual"] .mock__cards span:nth-child(3) { display: none; }

/* business site: text left, image right, clear call to action */
.mock[data-audience="business"] .mock__hero { grid-template-columns: 1.15fr 1fr; column-gap: 16px; align-items: center; }
.mock[data-audience="business"] .mock__hero > :not(.mock__media) { grid-column: 1; }
.mock[data-audience="business"] .mock__hero .sk--title { width: 90%; }
.mock[data-audience="business"] .mock__media { display: block; grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-height: 72px; border-radius: 10px; }
.mock[data-audience="business"][data-step="3"] .mock__btn,
.mock[data-audience="business"][data-step="4"] .mock__btn { background: var(--ink); }

/* short cross-fade when the audience changes */
.mock__site { transition: opacity .7s var(--ease-out), transform .8s var(--ease-out), filter .35s; }
.mock.is-switching:not([data-step="1"]) .mock__site { filter: blur(4px); opacity: .35; }

.mock[data-step="1"] .mock__msg { opacity: 1; }
.mock:not([data-step="1"]) .mock__msg { opacity: 0; transform: translate(-50%, -80%) scale(.9); pointer-events: none; }
.mock:not([data-step="1"]) .mock__site { opacity: 1; transform: none; }

.mock__done {
  position: absolute; right: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: .85rem; font-weight: 600;
  opacity: 0; transform: translateY(10px) scale(.9);
  transition: opacity .5s, transform .6s var(--ease-spring);
}
.mock__done svg { width: 18px; height: 18px; fill: none; stroke: #6fd3a0; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mock[data-step="4"] .mock__done { opacity: 1; transform: none; }
.mock__caption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--blue-600); }

.steps { display: grid; }
.step {
  min-height: 62vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 32px;
  border-left: 1.5px solid var(--line-strong);
  position: relative;
  opacity: .28;
  transition: opacity .7s var(--ease-out);
}
.step::before {
  content: ""; position: absolute; left: -1.5px; top: 50%; width: 1.5px; height: 0;
  background: var(--blue-fill);
  transform: translateY(-50%);
  transition: height .8s var(--ease-out);
}
.step.is-active { opacity: 1; }
.step.is-active::before { height: 56%; }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--blue-600); margin-bottom: 14px; }
.step__title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; margin-bottom: 14px; }
.step__text { font-size: 1.1rem; color: var(--ink-2); max-width: 30rem; }

/* Next step after "How it works" */
.process__next {
  /* sits after the pinned area, lined up with the steps column on desktop */
  width: min(100%, 520px); margin-left: auto;
  margin-top: clamp(24px, 4vw, 48px); padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line);
}
.process__next-title { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; }
.process__next-text { color: var(--ink-2); max-width: 30rem; margin-bottom: 22px; }

/* FAQ: "Ask us about this" */
.faq-ask {
  display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0 26px 4px; padding: 0 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blue-50); color: var(--blue-700); font-size: .9rem; font-weight: 600;
  transition: background-color .25s, color .25s;
}
.faq-ask:hover { background: var(--blue-fill); color: var(--white); }

/* =================================================================
   Pricing
   ================================================================= */
/* Two package cards: UF Start (light) and Business (blue). The card that
   matches the visitor's "This is me" choice gets .is-match (main.js). */
.pricing { padding: var(--section-pad) 0 0; }
.pricing__head { max-width: 60rem; margin-bottom: clamp(40px, 5vw, 64px); }
.pricing__head .section-title { margin-bottom: 20px; }
.pricing__head .hl { white-space: nowrap; }   /* keep "Clear prices." together */
.pricing__text { color: var(--ink-2); max-width: 34rem; font-size: clamp(1.0625rem, 1.3vw, 1.2rem); }

.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.package {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.2vw, 44px);
  border-radius: var(--radius-lg); background: var(--surface);
  outline: 2px solid transparent; outline-offset: -2px;
  transition: translate .5s var(--ease-out), box-shadow .3s, outline-color .3s;
}
.package::before {   /* light spot that follows the mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 155, 255, .14), transparent 62%);
  transition: opacity .3s;
}
.package:hover { translate: 0 -4px; box-shadow: var(--shadow-soft); }
.package:hover::before { opacity: 1; }
.package--blue { background: var(--blue-fill); color: var(--white); }
.package--blue::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 62%); }

.package__name { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 1.875rem); font-weight: 700; letter-spacing: -.03em; }
.package__for { margin-top: 6px; color: var(--ink-2); max-width: 30ch; }
.package--blue .package__for { color: #dbe6ff; }
.package__price {
  display: flex; align-items: baseline; gap: 8px;
  margin: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 32px);
  font-family: var(--font-display); line-height: 1;
}
.package__amount { font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.package__unit { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }
.package__from { font-size: 1rem; font-weight: 500; color: var(--ink-3); }
.package--blue .package__from { color: #c7d7ff; }

.package__list { display: grid; gap: 12px; margin-bottom: 36px; }
.package__list li { display: flex; align-items: center; gap: 12px; }
.package__tick { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-fill); }
.package--blue .package__tick { background: var(--white); }
.package__btn { margin-top: auto; align-self: flex-start; }

/* "Fits your choice": a small label that appears on the matching card */
.package__match {
  position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px);
  padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600;
  background: var(--blue-fill); color: var(--white);
  opacity: 0; translate: 0 -6px; transition: opacity .35s, translate .45s var(--ease-out);
}
.package--blue .package__match { background: var(--white); color: var(--blue-800); }
.package.is-match .package__match { opacity: 1; translate: 0 0; }
.package.is-match { outline-color: var(--blue-fill); }
.package--blue.is-match { outline-color: var(--blue-300, #93bcff); }

.pricing__notes {
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  margin-top: 28px; padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-2); font-size: .9375rem;
}
.pricing__notes li { display: flex; align-items: center; gap: 10px; }
.pricing__notes li::before { content: ""; width: 14px; height: 1px; background: var(--blue-600); }

@media (max-width: 760px) {
  .packages { grid-template-columns: minmax(0, 1fr); }
  .package__btn { align-self: stretch; }
  .pricing__notes { flex-direction: column; }
}

/* Hero shortcut to the Business package (own row under the main buttons) */
.hero__biz { display: flex; width: fit-content; margin: 14px auto 0; background: color-mix(in srgb, var(--paper) 80%, transparent); }   /* own line, centred like the hero */
.hero__biz:hover .btn__icon { transform: translateY(3px); }
/* Arriving at the Business package: keyboard focus lands on the card (tabindex=-1),
   and the card gets a short highlight so it's clear where you ended up */
.package { scroll-margin-top: 24px; }   /* the packages fade in 24px from below: land with the card fully under the header */
.package:focus { outline: none; }
.package:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 4px; }
.package:target { animation: package-arrive 1.6s var(--ease-out) .35s; }
@keyframes package-arrive {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 155, 255, 0); }
  30% { box-shadow: 0 0 0 8px rgba(30, 155, 255, .35); }
}
.reduced-motion .package:target { animation: none; outline: 3px solid var(--blue-600); outline-offset: 4px; }

/* Hero price line: a quiet link under the buttons */
.hero__price {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 12px;
  margin-top: 28px; padding: 8px 16px; border-radius: 999px;
  color: var(--ink-2); font-size: .9375rem; text-decoration: none;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  border: 1px solid var(--line);
  transition: border-color .25s, color .25s;
}
.hero__price b { color: var(--ink); font-weight: 600; }
.hero__price-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-600); }
.hero__price-arrow { color: var(--blue-600); transition: translate .3s var(--ease-out); }
.hero__price:hover { border-color: var(--blue-200); color: var(--ink); }
.hero__price:hover .hero__price-arrow { translate: 3px 0; }
@media (max-width: 640px) {   /* the line wraps on phones: drop the dot, tighten the pill */
  .hero__price { gap: 2px 8px; margin-top: 22px; border-radius: 18px; font-size: .875rem; }
  .hero__price-sep { display: none; }
}

/* =================================================================
   FAQ
   ================================================================= */
.faq { padding: var(--section-pad) 0; }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 112px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 56px); }
.faq__lead { margin-top: 24px; color: var(--ink-2); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; letter-spacing: -.025em;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-600); }
.faq-item__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background .3s, box-shadow .3s, transform .5s var(--ease-out);
}
.faq-item summary:hover .faq-item__icon { box-shadow: inset 0 0 0 1.5px var(--blue-600); }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
  transition: transform .4s var(--ease-out), background .3s;
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--blue-fill); box-shadow: none; transform: rotate(180deg); }
.faq-item[open] .faq-item__icon::before, .faq-item[open] .faq-item__icon::after { background: var(--white); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__body { overflow: hidden; }
.faq-item__body p { padding: 0 60px 30px 4px; color: var(--ink-2); max-width: 44rem; }

/* =================================================================
   Contact — the one deep-blue moment
   ================================================================= */
.contact {
  position: relative; overflow: hidden;
  /* lighter top padding so the message form is close to where "Get in touch" lands */
  padding: clamp(88px, 10vw, 150px) 0 var(--section-pad);
  background: var(--blue-900);
  color: var(--white);
  text-align: center;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  margin-inline: clamp(0px, 1.2vw, 20px);
}
.contact::before {
  content: ""; position: absolute; left: 50%; top: 100%; width: 120vw; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(30, 155, 255, .22), transparent 60%);
  pointer-events: none;
}
.contact__inner { position: relative; display: grid; justify-items: center; }
.contact__title {
  font-size: clamp(3rem, min(8vw, 12.5vh), 7rem); font-weight: 700; letter-spacing: -.055em; line-height: .98;
  max-width: 12ch; margin-bottom: 24px;
}
.contact .hl { color: var(--blue-300); }
.contact__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #c8d6f6; max-width: 32rem; margin-bottom: 48px; }
.contact__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.contact__direct-label { font-size: .875rem; color: #a9bbe6; margin-bottom: 16px; }

/* Message helper */
.composer {
  width: min(640px, 100%);
  margin: 0 auto 56px;
  padding: clamp(22px, 3vw, 32px);
  display: grid; gap: 22px;
  text-align: left;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.composer[hidden] { display: none; }
.composer { scroll-margin-top: calc(var(--header-h) + 28px); }
.composer__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.composer__label { display: block; padding: 0; font-size: .875rem; font-weight: 600; color: #c8d6f6; margin-bottom: 10px; }
.composer__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24);
  font-size: .95rem; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: rgba(255, 255, 255, .55); }
.chip input:checked + span { background: var(--white); color: var(--blue-800); border-color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-300); outline-offset: 3px; }

.field { display: block; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; line-height: 1.5; color: var(--white);
  background: rgba(6, 20, 63, .4);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  padding: 13px 16px;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(200, 214, 246, .6); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-300);
  background: rgba(6, 20, 63, .6);
  box-shadow: 0 0 0 3px rgba(140, 196, 255, .25);
}
.composer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--outline-light { color: var(--white); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .38); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.composer__note { font-size: .875rem; line-height: 1.55; color: #a9bbe6; }
.composer__note a { color: var(--white); font-weight: 600; }

/* After an action: a clearly visible notice, with a way to recover */
.composer__note.is-notice {
  padding: 14px 16px; border-radius: 14px;
  font-size: .95rem; color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  animation: feedback-in .45s var(--ease-out);
}
.composer__note.is-notice[data-tone="success"] { background: rgba(111, 211, 160, .16); border-color: rgba(111, 211, 160, .5); }
.composer__retry {
  display: inline-flex; align-items: center; margin-top: 10px; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--blue-800); font-size: .9rem; font-weight: 600;
  transition: background-color .25s;
}
.composer__retry:hover { background: var(--blue-100); }

/* Desktop: text on the left, form on the right — so the form is on screen
   as soon as "Get in touch" brings the visitor here. */
@media (min-width: 1000px) {
  .contact { text-align: left; }
  .contact__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: clamp(40px, 6vw, 96px);
    justify-items: start; align-items: start;
  }
  .contact__title { grid-column: 1; grid-row: 1; font-size: clamp(3rem, min(6vw, 11vh), 5.75rem); }
  .contact__lead { grid-column: 1; grid-row: 2; margin-bottom: 36px; }
  .contact__direct-label { grid-column: 1; grid-row: 3; }
  .contact__actions { grid-column: 1; grid-row: 4; justify-content: flex-start; }
  .contact .composer { grid-column: 2; grid-row: 1 / 6; margin: 0; width: 100%; }
}
.composer__fallback { min-height: 160px; }

.email-card {
  display: flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 999px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
}
.email-card__link {
  --tx: 0px; --ty: 0px;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  transform: translate(var(--tx), var(--ty));
  transition: transform .5s var(--ease-out), background .3s;
}
.email-card__link:hover { background: rgba(255,255,255,.08); }
.email-card__link svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-300); stroke-width: 1.8; stroke-linejoin: round; }
.email-card__copy {
  min-height: 44px; min-width: 76px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--blue-800); font-weight: 600; font-size: .9375rem;
  transition: background .3s, transform .3s var(--ease-spring);
}
.email-card__copy:hover { background: var(--blue-100); }
.email-card__copy.is-copied { background: #d8f5e6; color: #0b5132; transform: scale(1.04); }

/* =================================================================
   Footer — interactive field
   ================================================================= */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--paper);
  padding: clamp(72px, 9vw, 120px) 0 28px;
  touch-action: pan-y;
}
.site-footer__field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.site-footer__inner { position: relative; }
.site-footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  padding-bottom: clamp(72px, 10vw, 140px);
}
.site-footer__brand img { height: 32px; width: auto; mix-blend-mode: multiply; margin-bottom: 18px; }
.site-footer__brand p { color: var(--ink-2); max-width: 26rem; }
.site-footer__heading { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a {
  text-decoration: none; font-weight: 500; color: var(--ink);
  background: linear-gradient(var(--blue-600), var(--blue-600)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease-out), color .2s;
}
.site-footer__col a:hover { color: var(--blue-600); background-size: 100% 1.5px; }
.site-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .9375rem; color: var(--ink-2);
}
.to-top { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: var(--ink); }
.to-top__ring { position: relative; width: 44px; height: 44px; }
.to-top__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.to-top__ring .to-top__progress { stroke: var(--blue-600); stroke-width: 2; stroke-dasharray: 113.1; stroke-dashoffset: calc(113.1 * (1 - var(--progress, 0))); stroke-linecap: round; }
.to-top__arrow { transform: none !important; inset: 12px !important; width: 20px !important; height: 20px !important; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: translate .4s var(--ease-out); }
.to-top:hover .to-top__arrow { translate: 0 -3px; }

/* =================================================================
   Motion: reveal + split headings (only when JS is running)
   ================================================================= */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Headings: words rise out of a soft blur, then blue words "light up" */
.split-word { display: inline-block; }
.split-word > span {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, .35em, 0);
  transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms + .05s);
}
.is-in .split-word > span { opacity: 1; filter: blur(0); transform: none; }
.split-word > span.hl { color: var(--ink); transition-property: opacity, filter, transform, color; }
.is-in .split-word > span.hl { color: var(--blue-600); transition-delay: calc(var(--i) * 55ms + .05s), calc(var(--i) * 55ms + .05s), calc(var(--i) * 55ms + .05s), calc(var(--i) * 55ms + .55s); }
.contact .split-word > span.hl { color: var(--white); }
.contact .is-in .split-word > span.hl { color: var(--blue-300); }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { display: flex; gap: 10px; }
  .site-header__logo { margin-right: auto; }
  .about__founders { grid-template-columns: 1fr 1fr; }
  .about__note { grid-column: 1 / -1; padding: 8px 4px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .site-header { top: 10px; }
  .site-header__inner { height: 56px; padding: 0 6px 0 18px; border-color: var(--line); }
  .scroll-progress { top: 56px; }
  .site-header__logo img { height: 24px; }

  /* Hero: stacked; globe becomes a quiet layer behind the text */
  .hero { padding: calc(var(--header-h) + 40px) 0 0; }
  .hero__lead { font-size: 1rem; margin-bottom: 28px; }
  
  .hero__inner { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 4.25rem); margin-bottom: 22px; }

  .about__scene { height: 150vh; }

  /* Services: native swipe carousel instead of pinned horizontal scroll */
  
  
  
  
  
  
  
  
  
  

  /* Process: compact sticky mockup on top, steps scroll beneath */
  .process { border-radius: 28px; margin-inline: 0; }
  .process__layout { grid-template-columns: 1fr; gap: 0; }
  .process__visual {
    top: calc(var(--header-h) + 14px); z-index: 2;
    padding-bottom: 18px;
    background: linear-gradient(180deg, var(--surface) 85%, rgba(246,248,252,0));
  }
  .mock { max-width: 420px; margin-inline: auto; animation: none; }
  .mock__screen { aspect-ratio: 16 / 8; padding: 14px; }
  .mock__site { grid-template-rows: auto 1fr; gap: 10px; }
  .mock__cards { display: none; }
  .mock__msg { padding: 14px; gap: 8px; }
  .mock__hero { padding: 12px; gap: 8px; }
  .step { min-height: 46vh; padding-left: 20px; justify-content: flex-end; padding-bottom: 6vh; }
  .step__title { font-size: 1.75rem; margin-bottom: 10px; }
  .step__text { font-size: 1rem; }
  .steps { padding-bottom: 20vh; }

  .faq__inner { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq-item summary { padding: 22px 2px; }
  .faq-item__body p { padding-right: 8px; }

  .contact { border-radius: 28px 28px 0 0; margin-inline: 0; }
  .email-card { width: 100%; max-width: 420px; justify-content: space-between; }
  .email-card__link { font-size: .95rem; gap: 8px; padding: 0 8px 0 10px; min-width: 0; }
  .email-card__link svg { width: 20px; height: 20px; flex: none; }
  .email-card__copy { min-width: 0; padding: 0 16px; }
  .email-card__link span { overflow: hidden; text-overflow: ellipsis; }
  .contact__actions > .btn { width: 100%; max-width: 420px; }
  .composer { margin-bottom: 44px; }
  .composer__actions .btn { flex: 1 1 100%; }

  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-toggle { padding: 0 8px; }
  .hero__actions { flex-wrap: nowrap; gap: 4px; }
  .hero__actions .btn--primary { flex: 1 1 auto; padding: 0 20px; }
  .hero__actions .btn--text { flex: 0 1 auto; padding: 0 8px; font-size: 1rem; }
  .about__founders { grid-template-columns: 1fr; }
  .founder { padding: 20px; }
  .site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }

  /* profile dialog becomes a bottom sheet */
  .founder-modal { padding: 0; }
  .founder-modal[open] { place-items: end center; }
  .founder-modal__panel,
  .modal-ghost { border-radius: 24px 24px 0 0; }
  .founder-modal__panel { width: 100%; max-height: 90dvh; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); }
  .founder-modal__head { gap: 16px; margin-bottom: 20px; }
  .founder-modal__avatar { width: 68px; height: 68px; font-size: 1.25rem; }
  .founder-modal__actions .btn { flex: 1 1 100%; }
  .founder-modal__facts { margin-bottom: 20px; }
  .founder-modal__facts li { padding: 14px 0; }
  .founder-modal__facts li > div { grid-template-columns: 1fr; gap: 2px; }
  .founder-modal__facts p { font-size: .94rem; }
  .founder-modal__contact { padding: 16px; }
}

/* Short desktop/laptop screens (e.g. 1366×768 minus browser bars):
   tighten the hero so the main call to action is visible on arrival */
@media (min-width: 861px) and (max-height: 820px) {
  .hero { padding: calc(var(--header-h) + 36px) 0 0; }
  .hero__title { margin-bottom: 18px; font-size: clamp(2.75rem, min(7.2vw, 10vh), 6.5rem); }
  .hero__lead { margin-bottom: 24px; max-width: 38rem; }
  
}

@media (max-height: 560px) and (min-width: 861px) {
  .process__visual { top: calc(var(--header-h) + 20px); }
}

/* =================================================================
   Reduced motion — everything static, content fully visible
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
.reduced-motion .hero__content { transform: none !important; opacity: 1 !important; }
.reduced-motion .about__scene { height: auto; }
.reduced-motion .about__sticky { position: static; height: auto; padding: var(--section-pad) 0 64px; }
.reduced-motion .about__statement .w { color: var(--ink); }
.reduced-motion .about__statement .w.is-accent { color: var(--blue-600); }

.reduced-motion [data-reveal] { opacity: 1 !important; transform: none !important; }
.reduced-motion .split-word > span { transform: none !important; opacity: 1 !important; filter: none !important; }
.reduced-motion .split-word > span.hl { color: var(--blue-600) !important; }
.reduced-motion .contact .split-word > span.hl { color: var(--blue-300) !important; }
.reduced-motion .step { opacity: 1; }
.reduced-motion .mock { animation: none; }

/* =================================================================
   Phones: "How it works" as stacked cards that
   slide over each other (the pinned example is hidden on phones).
   ================================================================= */
@media (max-width: 860px) {
  

  .process__visual { display: none; }
  .audience-note { display: none !important; }
  .process__layout { display: block; }
  .steps { display: block; padding-bottom: 0; }
  .step {
    position: sticky; top: calc(var(--header-h) + 20px + var(--stack, 0) * 12px);
    min-height: 0; margin-bottom: 12vh; padding: 26px 22px;
    justify-content: flex-start; opacity: 1;
    border: 1px solid var(--line); border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 -8px 30px -20px rgba(8, 28, 92, .3), var(--shadow-soft);
  }
  .step:nth-child(2) { --stack: 1; }
  .step:nth-child(3) { --stack: 2; }
  .step:nth-child(4) { --stack: 3; margin-bottom: 0; }
  .step::before { display: none; }
  
}

/* =================================================================
   CALM LAYER — hero with line globe, examples portfolio, demo brands.
   Placed last so it settles the final layout.
   ================================================================= */

/* ---------- Hero: calm and centred ---------- */
.hero {
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 clamp(72px, 12vh, 140px);
}
.hero__fallback { background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #eef4ff 100%); }
.hero__glow { top: 52%; width: min(900px, 110vw); opacity: .8; }
.hero__inner { position: relative; z-index: 1; width: min(var(--max), 100% - 2 * var(--gutter)); }
.hero__globe {
  position: absolute; left: 50%; top: 50%;
  width: min(84vh, 880px, 96vw); aspect-ratio: 1; height: auto;
  transform: translate(-50%, calc(-46% + var(--hp) * 90px));
  opacity: .6; pointer-events: none;
}
.hero__title { font-size: clamp(3rem, min(7.4vw, 12vh), 6.75rem); max-width: 15ch; margin-bottom: 30px; text-wrap: balance; }
.hero__lead { max-width: 30rem; margin: 0 auto 44px; color: var(--ink-2); }
.hero__actions { gap: 14px; }
.hero.has-video .hero__globe { display: none; }

/* ---------- Examples (portfolio) ---------- */
.work { padding-top: var(--section-pad); }
.work__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.work__intro { margin-top: 24px; max-width: 34rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }

.work__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.work__tab {
  display: grid; gap: 3px; min-width: 190px; padding: 14px 22px;
  border: 0; border-radius: 16px; cursor: pointer; text-align: left;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color .3s, box-shadow .3s;
}
.work__tab:hover { box-shadow: inset 0 0 0 1.5px var(--blue-300); }
.work__tab-kind { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.work__tab-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.work__tab[aria-selected="true"] { background: var(--blue-fill); box-shadow: none; }
.work__tab[aria-selected="true"] .work__tab-kind { color: var(--blue-200); }
.work__tab[aria-selected="true"] .work__tab-name { color: var(--white); }

.work__panel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.work__panel > * { transition: opacity .22s ease, transform .35s var(--ease-out); }
.work__panel.is-switching > * { opacity: 0; transform: translateY(8px); }

.browser { overflow: hidden; border-radius: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.browser__url { flex: 1; max-width: 280px; padding: 4px 12px; border-radius: 999px; background: var(--surface); font-size: .78rem; color: var(--ink-3); }
.work__preview { min-width: 0; }
.browser__viewport { position: relative; overflow: hidden; height: 400px; contain: inline-size; }
.demo-stage { width: 1000px; height: 620px; transform: scale(var(--s, .6)); transform-origin: 0 0; }
.demo { width: 1000px; height: 620px; overflow: hidden; font-family: var(--font-body); line-height: 1.4; }
.demo[hidden] { display: none; }

.work__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.work__name { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 14px; }
.work__desc { color: var(--ink-2); margin-bottom: 22px; max-width: 30rem; }
.work__notes { display: grid; gap: 10px; margin-bottom: 32px; }
.work__notes li { display: flex; align-items: baseline; gap: 12px; color: var(--ink); font-weight: 500; }
.work__notes li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-fill); transform: translateY(-2px); }
.work__more { margin-top: clamp(40px, 5vw, 64px); color: var(--ink-2); }

/* ---------- Demo brand 1: Kustrost UF (coffee) — warm, handmade ---------- */
.demo .d-nav { display: flex; align-items: center; gap: 28px; padding: 26px 48px; font-size: 15px; }
.demo .d-logo { margin-right: auto; font-size: 22px; }
.demo--uf { background: #f5efe6; color: #3b2a20; }
.demo--uf .d-logo { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.demo--uf .d-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding: 20px 48px 34px; }
.demo--uf .d-kicker { margin-bottom: 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #b9582f; }
.demo--uf .d-title { margin-bottom: 26px; font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1.12; }
.demo--uf .d-btn { display: inline-block; padding: 13px 22px; border-radius: 999px; background: #3b2a20; color: #f5efe6; font-size: 15px; }
.demo--uf .d-art { position: relative; height: 270px; border-radius: 170px 170px 24px 24px; background: linear-gradient(160deg, #e7cfae, #c4693f); }
.demo--uf .d-cup { position: absolute; left: 50%; top: 52%; width: 132px; height: 132px; transform: translate(-50%, -50%); border-radius: 50%; background: #f5efe6; box-shadow: inset 0 0 0 16px #f5efe6, inset 0 0 0 60px #6b4a35, 0 18px 30px rgba(59, 42, 32, .25); }
.demo--uf .d-bean { position: absolute; left: 22%; top: 22%; width: 26px; height: 38px; border-radius: 50%; background: #5a3c2b; transform: rotate(-30deg); }
.demo--uf .d-bean--2 { left: auto; right: 20%; top: auto; bottom: 18%; transform: rotate(25deg); }
.demo--uf .d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 48px; }
.demo--uf .d-cards div { display: grid; gap: 10px; padding: 22px; border-radius: 16px; background: #fffaf3; border: 1px solid #e8dccb; }
.demo--uf .d-cards b { font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.demo--uf .d-cards i { display: block; height: 8px; border-radius: 4px; background: #eadfce; }
.demo--uf .d-cards i + i { width: 65%; }

/* ---------- Demo brand 2: Studio Ek (illustration) — editorial black/white ---------- */
.demo--individual { background: #fbfaf7; color: #111; }
.demo--individual .d-nav { border-bottom: 1px solid #e6e2da; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.demo--individual .d-logo { font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.demo--individual .d-hero { padding: 44px 48px 28px; }
.demo--individual .d-title { font-size: 86px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.demo--individual .d-sub { margin-top: 16px; color: #77736b; font-size: 15px; }
.demo--individual .d-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 48px; }
.demo--individual .d-gallery i { position: relative; height: 150px; overflow: hidden; background: #e9e4da; }
.demo--individual .d-gallery i::after { content: ""; position: absolute; border-radius: 50%; }
.demo--individual .d-gallery i:nth-child(1)::after { width: 110px; height: 110px; left: 30%; top: 18%; background: #1a1a1a; }
.demo--individual .d-gallery i:nth-child(2) { background: #1a1a1a; }
.demo--individual .d-gallery i:nth-child(2)::after { width: 160px; height: 160px; right: -40px; bottom: -60px; background: #e9e4da; }
.demo--individual .d-gallery i:nth-child(3) { background: #d9cfc1; }
.demo--individual .d-gallery i:nth-child(3)::after { width: 70%; height: 6px; left: 15%; top: 50%; border-radius: 3px; background: #1a1a1a; }
.demo--individual .d-gallery i:nth-child(4) { background: #c9d4cf; }
.demo--individual .d-gallery i:nth-child(4)::after { width: 90px; height: 90px; left: 14%; bottom: -30px; border-radius: 0; background: #fbfaf7; transform: rotate(18deg); }
.demo--individual .d-gallery i:nth-child(5) { background: #efe7dd; }
.demo--individual .d-gallery i:nth-child(5)::after { width: 60px; height: 60px; right: 22%; top: 26%; border: 6px solid #1a1a1a; }
.demo--individual .d-gallery i:nth-child(6) { background: #2e2e2e; }
.demo--individual .d-gallery i:nth-child(6)::after { width: 120px; height: 120px; left: -30px; top: -30px; background: #d9cfc1; }

/* ---------- Demo brand 3: Hamnens Cykel (bike repair) — bold, practical ---------- */
.demo--business { background: #f4f1e8; color: #11382b; }
.demo--business .d-nav { background: #11382b; color: #dfe9e2; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.demo--business .d-logo { color: #f3c94b; font-size: 20px; letter-spacing: .02em; }
.demo--business .d-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 30px 48px 46px; background: #11382b; color: var(--white); }
.demo--business .d-title { margin-bottom: 16px; font-family: var(--font-display); font-size: 64px; font-weight: 800; letter-spacing: -.035em; line-height: .98; text-transform: uppercase; }
.demo--business .d-sub { margin-bottom: 26px; color: #bcd0c4; font-size: 17px; }
.demo--business .d-btn { display: inline-block; padding: 14px 24px; border-radius: 6px; background: #f3c94b; color: #11382b; font-family: var(--font-display); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.demo--business .d-art { position: relative; height: 220px; }
.demo--business .d-wheel { position: absolute; left: 4%; top: 22%; width: 150px; height: 150px; border-radius: 50%; border: 14px solid #f3c94b; background: repeating-conic-gradient(from 0deg, rgba(243, 201, 75, .55) 0 2deg, transparent 2deg 30deg); }
.demo--business .d-wheel--2 { left: auto; right: 0; top: 30%; width: 120px; height: 120px; border-width: 12px; border-color: #dfe9e2; background: repeating-conic-gradient(from 10deg, rgba(223, 233, 226, .5) 0 2deg, transparent 2deg 30deg); }
.demo--business .d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 48px; }
.demo--business .d-cards div { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 10px; background: var(--white); border-left: 6px solid #f3c94b; }
.demo--business .d-cards span { font-family: var(--font-display); font-size: 22px; font-weight: 800; opacity: .35; }
.demo--business .d-cards b { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .hero { padding: calc(var(--header-h) + 32px) 0 72px; align-items: center; }
  .hero__globe { width: min(118vw, 620px); opacity: .45; }
  .hero__title { font-size: clamp(2.7rem, 11.5vw, 4.25rem); }
  .hero__lead { margin-bottom: 32px; }
  .work__tabs { gap: 8px; }
  .work__tab { flex: 1 1 0; min-width: 0; padding: 12px 14px; }
  .work__tab-name { font-size: .98rem; }
  .work__panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* reduced motion: no fades when switching examples */
.reduced-motion .work__panel > * { transition: none; }

/* =================================================================
   "Who is it for?" cards + pointer-reactive cards
   Cards respond to the pointer (soft light spot, slight tilt/lift) and to
   presses; nothing moves on its own. Mouse effects only on mouse devices.
   ================================================================= */
.who { padding-top: var(--section-pad); }
.who__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.who__intro { margin-top: 24px; max-width: 34rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.who-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 26px; border: 0; border-radius: var(--radius-lg);
  background: var(--surface); color: inherit; font: inherit; text-align: left; cursor: pointer;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), box-shadow .3s, background-color .3s;
}
.who-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 155, 255, .14), transparent 62%);
  transition: opacity .3s;
}
.who-card:hover::before { opacity: 1; }
.who-card:hover { box-shadow: var(--shadow-soft); }
.who-card:active { transform: perspective(900px) scale(.98); transition-duration: .15s; }
.who-card:focus-visible { border-radius: var(--radius-lg); }
.who-card[aria-pressed="true"] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--blue-600), var(--shadow-soft); }

.who-card__art {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 150px; margin-bottom: 14px;
  border-radius: var(--radius-md); background: var(--paper);
  transition: background-color .3s;
}
.who-card[aria-pressed="true"] .who-card__art { background: var(--blue-50); }
.who-card .bento-site { width: 140px; }
.who-card:hover .bento-site { transform: translateY(-6px); }
.who-card__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; }
.who-card__text { color: var(--ink-2); font-size: .98rem; }
.who-card__pick {
  display: inline-flex; align-items: center; min-height: 36px; margin-top: 10px; padding: 0 16px;
  border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-strong);
  font-size: .88rem; font-weight: 600;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.who-card:hover .who-card__pick { box-shadow: inset 0 0 0 1.5px var(--blue-600); color: var(--blue-700); }
.who-card[aria-pressed="true"] .who-card__pick { background: var(--blue-fill); color: var(--white); box-shadow: none; }
.who__status { min-height: 1.6em; margin-top: 22px; color: var(--blue-700); font-weight: 500; max-width: 46rem; }
.who__status.is-set { animation: feedback-in .45s var(--ease-out); }
.who__more { margin-top: 26px; color: var(--ink-2); }

@media (max-width: 860px) {
  .who__grid { grid-template-columns: 1fr; gap: 12px; }
  .who-card__art { height: 120px; }
}
.reduced-motion .who-card { transform: none; translate: none; }

/* Very narrow screens (≈ 320–400px): let the hero wrap instead of overflowing */
.hero__content { min-width: 0; max-width: 100%; }
@media (max-width: 400px) {
  .hero__title { font-size: clamp(2.1rem, 10.5vw, 2.7rem); }
  .hero__actions { flex-wrap: wrap; justify-content: center; }
  .hero__actions .btn--text { flex: 0 0 auto; }
}

/* The logo must never be squeezed: it keeps its own proportions at every width */
.site-header__logo { flex: none; }
.site-header__logo img { width: auto; max-width: none; object-fit: contain; }
@media (max-width: 380px) {
  .site-header__logo img { height: 22px; }
  .site-header__inner { gap: 6px; padding-left: 14px; }
  /* language switch: flags only (names stay available to screen readers) */
  .lang-switch--header .lang-switch__code { display: none; }
  .lang-switch--header .lang-switch__btn { padding: 0 9px; }
}

/* Kinetic headline: resting weight; letters near the cursor swell (see main.js) */
.hero__title { font-weight: 560; }
.hero__title .ch { display: inline-block; text-align: center; transition: font-weight .35s var(--ease-out); }
.reduced-motion .hero__title .ch { transition: none; }

/* Phone "Get in touch" bar (thumb reach). Wider screens keep the header button. */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80;
    display: flex; padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); border: 1px solid var(--line); box-shadow: var(--shadow-float);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(140%); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .mobile-cta .btn { width: 100%; }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .45s var(--ease-out); }
  html:has(.mobile-menu.is-open) .mobile-cta { transform: translateY(140%); visibility: hidden; }
}

/* =================================================================
   DARK MODE
   • Automatic by default: follows the visitor's device setting.
   • The light/dark button can override it (stored as <html data-theme>).
   The two blocks below hold the same rules: the first applies when the
   device is dark and the visitor hasn't chosen light; the second when the
   visitor has chosen dark. When changing a dark colour, change it in both.
   A few parts deliberately stay light (see "keep light").
   ================================================================= */
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0a1020;
    --surface: #111a2e;
    --ink: #e8edf7;
    --ink-2: #b4bfd5;
    --ink-3: #8f9bb3;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --blue-50: #131f3d;
    --blue-100: #1a2b55;
    --blue-200: #2b4580;
    --blue-600: #6fa6ff;      /* accent text: highlights, links, labels */
    --blue-700: #93bcff;
    --blue-fill: #2563eb;     /* button backgrounds: white text stays readable */
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
    --shadow-float: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 70px -24px rgba(0, 0, 0, .7);
  }
  :root:not([data-theme="light"]) ::selection { background: #2b4580; color: #fff; }

  /* keep light: the example browser windows (they show light websites) */
  :root:not([data-theme="light"]) .mock,
  :root:not([data-theme="light"]) .browser {
    --paper: #ffffff; --surface: #f6f8fc;
    --ink: #0b1220; --ink-2: #364055; --ink-3: #566178;
    --line: rgba(11, 18, 32, .08); --line-strong: rgba(11, 18, 32, .14);
    --blue-50: #f5f8ff; --blue-100: #e6effe; --blue-200: #c9dcfb;
    --blue-600: #1446e0; --blue-700: #0f37b8; --blue-fill: #1446e0;
    color: var(--ink);
  }
  :root:not([data-theme="light"]) .site-header.is-scrolled .site-header__inner { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }

  :root:not([data-theme="light"]) .hero__fallback { background: linear-gradient(180deg, #0a1020 0%, #0a1020 50%, #0f1a36 100%); }
  :root:not([data-theme="light"]) .hero__glow { opacity: .55; }
  :root:not([data-theme="light"]) .about__statement { --scrub-dim: rgba(232, 237, 247, .16); }
  :root:not([data-theme="light"]) .process { background: var(--surface); }
  :root:not([data-theme="light"]) .who-card[aria-pressed="true"] { background: #16213b; }
  :root:not([data-theme="light"]) .mobile-cta { background: rgba(10, 16, 32, .9); }
  :root:not([data-theme="light"]) .faq-item[open] .faq-item__icon::before,
  :root:not([data-theme="light"]) .faq-item[open] .faq-item__icon::after { background: #fff; }
}

/* Same dark palette when the visitor picks dark with the toggle */
:root[data-theme="dark"] {
    --paper: #0a1020;
    --surface: #111a2e;
    --ink: #e8edf7;
    --ink-2: #b4bfd5;
    --ink-3: #8f9bb3;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --blue-50: #131f3d;
    --blue-100: #1a2b55;
    --blue-200: #2b4580;
    --blue-600: #6fa6ff;      /* accent text: highlights, links, labels */
    --blue-700: #93bcff;
    --blue-fill: #2563eb;     /* button backgrounds: white text stays readable */
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
    --shadow-float: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 70px -24px rgba(0, 0, 0, .7);
  }
  :root[data-theme="dark"] ::selection { background: #2b4580; color: #fff; }

  /* keep light: the example browser windows (they show light websites) */
  :root[data-theme="dark"] .mock,
  :root[data-theme="dark"] .browser {
    --paper: #ffffff; --surface: #f6f8fc;
    --ink: #0b1220; --ink-2: #364055; --ink-3: #566178;
    --line: rgba(11, 18, 32, .08); --line-strong: rgba(11, 18, 32, .14);
    --blue-50: #f5f8ff; --blue-100: #e6effe; --blue-200: #c9dcfb;
    --blue-600: #1446e0; --blue-700: #0f37b8; --blue-fill: #1446e0;
    color: var(--ink);
  }
  :root[data-theme="dark"] .site-header.is-scrolled .site-header__inner { box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }

  :root[data-theme="dark"] .hero__fallback { background: linear-gradient(180deg, #0a1020 0%, #0a1020 50%, #0f1a36 100%); }
  :root[data-theme="dark"] .hero__glow { opacity: .55; }
  :root[data-theme="dark"] .about__statement { --scrub-dim: rgba(232, 237, 247, .16); }
  :root[data-theme="dark"] .process { background: var(--surface); }
  :root[data-theme="dark"] .who-card[aria-pressed="true"] { background: #16213b; }
  :root[data-theme="dark"] .mobile-cta { background: rgba(10, 16, 32, .9); }
  :root[data-theme="dark"] .faq-item[open] .faq-item__icon::before,
  :root[data-theme="dark"] .faq-item[open] .faq-item__icon::after { background: #fff; }


/* Mini website drawings (Services cards + "Tailored to you" card). Fixed light colours:
   they show a light website, also in dark mode. */
.bento-site {
  display: flex; flex-direction: column; gap: 7px; width: 150px; aspect-ratio: 4 / 3; padding: 10px;
  border-radius: 12px; background: #fff; border: 1px solid rgba(11, 18, 32, .08); box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease-out);
}
.bento-site i { display: block; border-radius: 5px; background: #e6effe; }
.bento-site .b-bar { height: 6px; width: 40%; }
.bento-site .b-hero { flex: 1; background: #1446e0; }
.bento-site .b-row { height: 22%; }
.bento-site .b-dot { width: 30%; aspect-ratio: 1; margin: 2px auto; border-radius: 50%; background: #1446e0; }
.bento-site .b-line { height: 6px; width: 70%; margin: 0 auto; }
.bento-site .b-split { flex: 1; background: linear-gradient(90deg, #e6effe 55%, var(--white) 55%, var(--white) 60%, #1446e0 60%); }
.bento-site .b-cta { height: 14%; width: 40%; border-radius: 999px; background: #0b1220; }
@media (max-width: 860px) { .bento-site { width: 92px; } .who-card .bento-site { width: 120px; } }

/* =================================================================
   LIGHT / DARK BUTTON
   Header: a round icon button (moon = switch to dark, sun = switch to light).
   Phone menu: a full-width row with a label and a small switch.
   aria-pressed="true" means dark is on. Logic: "Light / dark button" in main.js.
   ================================================================= */
.theme-toggle {
  flex: none; display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.theme-toggle:hover { color: var(--ink); background: var(--blue-50); }
.theme-toggle:focus-visible { outline-offset: 2px; }
.theme-toggle__icon { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease-out); }
.theme-toggle__icon--moon { fill: currentColor; }
.theme-toggle__icon--sun { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle__icon--sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
.theme-toggle[aria-pressed="true"] .theme-toggle__icon--moon { opacity: 0; transform: rotate(60deg) scale(.6); }
.theme-toggle[aria-pressed="true"] .theme-toggle__icon--sun { opacity: 1; transform: none; }
.reduced-motion .theme-toggle__icon { transition: none; }

.theme-toggle--menu {
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  width: 100%; max-width: 360px; height: 50px; padding: 0 16px; margin-bottom: 18px;
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink);
}
.theme-toggle--menu .theme-toggle__icon { flex: none; }
.theme-toggle--menu .theme-toggle__icon--sun { display: none; }
/* the small switch on the right */
.theme-toggle--menu::after {
  content: ""; margin-left: auto; width: 38px; height: 22px; border-radius: 999px;
  background: var(--line-strong) radial-gradient(circle 8px at 11px 50%, #fff 98%, transparent) no-repeat;
  transition: background-color .25s, background-position .3s var(--ease-out);
}
.theme-toggle--menu[aria-pressed="true"]::after { background-color: var(--blue-fill); background-position: 16px 0; }
.theme-toggle--menu[aria-pressed="true"] .theme-toggle__icon--moon { opacity: 1; transform: none; }

/* phones: a slightly smaller header button; on the very narrowest the button lives only in the menu */
@media (max-width: 380px) {
  .site-header .theme-toggle { width: 36px; height: 36px; }
}
@media (max-width: 340px) {
  .site-header .theme-toggle { display: none; }
}


/* =================================================================
   Globe follows the scroll
   The globe canvas lives in a fixed layer behind the page; main.js sets
   --gx / --gy (offset from the centre, in % of the screen), --gs (size)
   and --go (opacity) for each section. Sections are see-through so it
   shows behind them (the navy contact section stays solid; the globe fades out there).
   ================================================================= */
.globe-layer {
  --gs: 1; --go: .6;
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
/* main.js sets --gtx / --gty (top-left corner in whole pixels, so lines stay sharp), --gs (size, used
   by the glow; the globe draws itself at that size) and --go (opacity). Before the script runs, the
   fallback centres it. */
.globe-layer .hero__globe,
.globe-layer__glow {
  position: absolute; left: 0; top: 0;
  width: calc(min(84vh, 880px, 96vw) * 1.12); aspect-ratio: 1; height: auto;   /* 1.12: room for the orbit ring */
  transform: translate3d(var(--gtx, calc(50vw - 50%)), var(--gty, calc(50vh - 48%)), 0);
  opacity: var(--go);
}
.globe-layer__glow { transform: translate3d(var(--gtx, calc(50vw - 50%)), var(--gty, calc(50vh - 48%)), 0) scale(var(--gs)); }
/* soft light behind the globe that travels with it (gives depth on the white sections) */
.globe-layer__glow {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 155, 255, .16) 0%, rgba(30, 155, 255, .06) 38%, rgba(30, 155, 255, 0) 64%);
  opacity: calc(var(--go) * 1.4);
}
main, .site-footer { position: relative; z-index: 1; }
.hero__fallback, :root:not([data-theme="light"]) .hero__fallback, :root[data-theme="dark"] .hero__fallback { background: transparent; }
.about, .services { background: transparent; }
.process { background: color-mix(in srgb, var(--surface) 80%, transparent); }
:root:not([data-theme="light"]) .process, :root[data-theme="dark"] .process { background: color-mix(in srgb, var(--surface) 80%, transparent); }
@media (max-width: 860px) {
  .globe-layer .hero__globe, .globe-layer__glow { width: calc(min(118vw, 620px) * 1.12); }
}
/* Reduced motion: the globe stays in the hero and scrolls away with it */
.reduced-motion .globe-layer { position: absolute; bottom: auto; height: 100vh; height: 100svh; }

/* =================================================================
   Examples (portfolio): live, clickable example websites
   (the sites themselves are in demos/ and keep their own styles)
   ================================================================= */
.showcase-sec { position: relative; padding: var(--section-pad) 0 calc(var(--section-pad) * .55); }
.showcase-sec__head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 48px); }
.showcase-sec__lead { margin-top: 24px; max-width: 36rem; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.showcase-sec__notice {
  display: flex; gap: 12px; align-items: flex-start; max-width: 46rem; margin-top: 20px; padding: 14px 18px;
  border-radius: 16px; background: var(--blue-50); color: var(--ink-2); font-size: .95rem;
}
.showcase-sec__notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--blue-600); }

.sc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.sc-tab {
  display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 76px; padding: 12px 16px;
  border: 0; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
  transition: box-shadow .25s, transform .35s var(--ease-out), background-color .25s;
}
.sc-tab:hover { box-shadow: inset 0 0 0 1.5px var(--blue-600); transform: translateY(-2px); }
.sc-tab[aria-selected="true"] { background: var(--blue-50); box-shadow: inset 0 0 0 2px var(--blue-600), var(--shadow-soft); }
.sc-tab__img { flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 12px; background: var(--surface); }
.sc-tab__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-tab b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.sc-tab small { display: block; color: var(--ink-3); font-size: .85rem; line-height: 1.35; }

.sc-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.sc-body[hidden] { display: none; }
.sc-browser { min-width: 0; overflow: hidden; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-float); }
.sc-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.sc-addr {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--ink-3); font-size: .8rem;
}
.sc-dev { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); }
.sc-dev button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font: 600 .82rem var(--font-body); cursor: pointer; transition: background-color .2s, color .2s;
}
.sc-dev button[aria-pressed="true"] { background: var(--blue-fill); color: #fff; }
.sc-dev svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sc-stage { position: relative; height: min(660px, 74vh); min-height: 480px; overflow: hidden; background: var(--surface); }
.sc-stage iframe { position: absolute; top: 0; left: 0; border: 0; background: #fff; transform-origin: 0 0; opacity: 0; transition: opacity .4s; }
.sc-stage iframe.is-loaded { opacity: 1; }
.sc-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--ink-3); }

.sc-info { position: sticky; top: calc(var(--header-h) + 28px); }
.sc-badge { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .8rem; font-weight: 600; }
.sc-info h3 { margin: 14px 0 2px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -.035em; line-height: 1.1; }
.sc-type { margin-bottom: 20px; color: var(--ink-3); }
.sc-meta { display: grid; gap: 12px; margin: 0 0 22px; }
.sc-meta dt { color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.sc-meta dd { margin: 2px 0 0; color: var(--ink); font-size: .95rem; }
.sc-feat-title { margin-bottom: 8px; font-weight: 600; }
.sc-feats { display: grid; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.sc-feats li { display: flex; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.sc-feats li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .6em; border-radius: 50%; background: var(--blue-fill); }
.sc-actions { display: grid; gap: 10px; }
.sc-actions .btn { width: 100%; }

@media (max-width: 1080px) {
  .sc-body { grid-template-columns: minmax(0, 1fr); }
  .sc-info { position: static; max-width: 40rem; }
}
/* tablets and phones: the examples become a swipeable row */
@media (max-width: 820px) {
  .sc-tabs {
    display: flex; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .sc-tabs::-webkit-scrollbar { display: none; }
  .sc-tab { flex: 0 0 min(260px, 78vw); scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .sc-stage { height: min(620px, 76vh); min-height: 460px; }
  .sc-dev button { padding: 0 10px; }
  .sc-dev span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.reduced-motion .sc-tab, .reduced-motion .sc-stage iframe { transition: none; }

/* six menu links: a little tighter on small laptops so "Get in touch" stays inside the header */
@media (min-width: 861px) and (max-width: 1240px) {
  .site-nav__list { gap: 0; }
  .site-nav__list a { padding-inline: 10px; }
}

/* =================================================================
   Hero (calm) — one idea, few words, no decoration.
   Text is left-aligned and the line globe (fixed layer) sits to the
   right, so the composition is asymmetric instead of a centred template.
   The headline doesn't animate; the page simply appears.
   ================================================================= */
.hero__inner { justify-items: start; text-align: left; }
.hero__content { align-items: flex-start; max-width: 640px; }
.hero__title {
  max-width: 11ch; margin: 0 0 24px;
  font-size: clamp(2.8rem, min(6.2vw, 10.5vh), 5.75rem); font-weight: 600;
  line-height: 1.02; letter-spacing: -.045em; text-wrap: balance;
}
.hero__lead { max-width: 24rem; margin: 0 0 36px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); }
.hero__actions { justify-content: flex-start; gap: 10px; }
.hero__biz { margin: 0; width: auto; background: transparent; }
.hero__note { margin: 22px 0 0; color: var(--ink-3); font-size: .95rem; }
.hero__note a { color: var(--ink-2); text-decoration: none; }
.hero__note a b { color: var(--ink); font-weight: 600; }
.hero__note a:hover { color: var(--blue-600); }
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; flex-wrap: nowrap; }
  .hero__actions .btn { width: 100%; }
}

/* Examples: the "made-up" note as plain text, not another box */
.showcase-sec__notice { padding: 0; background: none; color: var(--ink-3); font-size: .9rem; }
.showcase-sec__notice svg { display: none; }

/* Sections that hide decoration wider than themselves (the contact glow)
   clip it instead of hiding it: with overflow: hidden, focusing a control inside (e.g. a choice in the
   contact form) could scroll the whole section sideways and cut off the heading. */
.contact, .reel { overflow: clip; }

/* =================================================================
   Visual audit refinements (from looking at the rendered site)
   ================================================================= */
/* 1. Shorter empty stretches between sections. The pinned About text sat in the middle of the
      screen, leaving half a screen of nothing under the examples; it now sits in the upper part. */
.about__sticky { align-items: flex-start; padding-top: max(calc(var(--header-h) + 56px), 18vh); }
.showcase-sec { padding-bottom: calc(var(--section-pad) * .35); }
.reel { margin-bottom: calc(var(--section-pad) * .5); }
.contact { padding-bottom: clamp(96px, 11vw, 160px); }

/* 2. The text band is a plain navy panel like the contact section (its own small globe drawing and
      glow competed with the real globe that follows the page, so they were removed). */
.reel { background: var(--blue-900); }

/* 3. Footer headings in normal case, like every other heading (no small uppercase labels). */
.site-footer__heading { font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink); }

/* Hero (centred): the globe sits in the middle and the few words sit on it */
.hero__inner { justify-items: center; text-align: center; }
.hero__content { align-items: center; max-width: 760px; }
.hero__title { max-width: 12ch; margin: 0 auto 36px; }
.hero__actions { justify-content: center; }
.hero__note { margin-top: 24px; }

/* Scroll cue (bottom of the first screen): a thin line, a short blue segment sliding down it.
   --hp (hero scroll progress, set by main.js) fades it out as soon as the visitor scrolls. */
.scroll-cue {
  position: absolute; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1;
  width: fit-content; margin-inline: auto;   /* centred without a transform, so the text stays crisp */
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 12px;
  color: var(--ink-3); text-decoration: none;
  opacity: clamp(0, calc(1 - var(--hp, 0) * 8), 1); transition: opacity .3s;
}
.scroll-cue__line {
  position: relative; width: 1.5px; height: 24px; overflow: hidden; border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 16%, transparent);
}
.scroll-cue__line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; border-radius: 2px;
  background: var(--blue-600);
  animation: scroll-cue 2.6s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 0; }
  25%, 75% { opacity: 1; }
  100% { transform: translateY(350%); opacity: 0; }
}
.scroll-cue__text { font-size: .75rem; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.scroll-cue:hover { color: var(--blue-600); }
.scroll-cue:hover .scroll-cue__line { background: color-mix(in srgb, var(--blue-600) 30%, transparent); }
.scroll-cue:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 999px; }
.reduced-motion .scroll-cue__line::after { animation: none; top: 30%; }
@media (max-height: 560px) { .scroll-cue { display: none; } }   /* short screens (phone sideways): no room */

/* Top bar follows the theme. Dark mode: dark pill and the dark-mode logo (made from the original
   by tools/dev/make-logo-dark.mjs: transparent background, light wordmark, same blue globe). */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header__inner { background: var(--surface); }
  :root:not([data-theme="light"]) .site-header.is-scrolled .site-header__inner { border-color: var(--line-strong); }
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; mix-blend-mode: normal; }
  :root:not([data-theme="light"]) .lang-switch { background: rgba(255, 255, 255, .06); }
  :root:not([data-theme="light"]) .lang-switch__btn[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: var(--ink); box-shadow: none; }
}
:root[data-theme="dark"] .site-header__inner { background: var(--surface); }
:root[data-theme="dark"] .site-header.is-scrolled .site-header__inner { border-color: var(--line-strong); }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; mix-blend-mode: normal; }
:root[data-theme="dark"] .lang-switch { background: rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .lang-switch__btn[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: var(--ink); box-shadow: none; }

/* =================================================================
   Accent typeface: the highlighted words in headings (.hl) are set in
   Instrument Serif Italic, for contrast with General Sans (chosen by the owners).
   The font has one (thin) weight; a stroke in the text colour thickens it
   so it sits evenly next to the bold headings.
   ================================================================= */
.hl {
  font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400;
  font-synthesis: none; font-size: 1.12em; letter-spacing: 0; margin-right: .04em;
  -webkit-text-stroke: .028em currentColor;
}
/* inside a line of text the bigger accent must not push the lines apart */
.split-word > .hl, li > .hl { line-height: 0; }
.reel__w.hl { line-height: .94; }
/* the rotating lines: words in both fonts sit on one baseline */
.reel.is-live .reel__stage { align-items: baseline; }
/* the headline's letters swell on hover; the accent has one weight, so it keeps it */
.hero__title .hl .ch { font-weight: 400 !important; }

/* Founders' real signatures under the about statement. The image is used as a mask, so the ink takes
   the text colour: blue, lighter blue in dark mode. Made from a photo by tools/dev/make-signatures.mjs. */
.about__sign {
  width: clamp(240px, min(34vw, 44vh), 520px); max-width: 100%; aspect-ratio: 1157 / 267;
  margin-top: clamp(14px, min(2.4vw, 3vh), 30px); margin-left: -6px;   /* the image has a little padding */
  color: var(--blue-600); background-color: currentColor;
  -webkit-mask: url("../assets/signatures.png") center / contain no-repeat;
          mask: url("../assets/signatures.png") center / contain no-repeat;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .about__sign { color: var(--blue-300); } }
:root[data-theme="dark"] .about__sign { color: var(--blue-300); }
@media (forced-colors: active) { .about__sign { background-color: CanvasText; } }

/* The pinned About text + signature must fit one screen, also on short laptop windows
   (otherwise they run under the founder cards): on wider screens the text scales with the height too. */
@media (min-width: 700px) {
  .about__statement { font-size: clamp(2rem, min(4.3vw, 6.4vh), 3.75rem); }
}
@media (min-width: 700px) and (max-height: 760px) {
  .about__sticky { padding-top: max(calc(var(--header-h) + 32px), 13vh); }
}

/* =================================================================
   Examples row on phones and tablets: position bar, counter, arrows, edge fades
   ================================================================= */
.sc-scroll { display: none; }
@media (max-width: 820px) {
  .sc-tabs { margin-bottom: 0; }
  /* fade the edge where more examples are hidden */
  .sc-tabs.is-scrollable { --fl: 0px; --fr: 0px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
  .sc-tabs.more-left { --fl: 36px; }
  .sc-tabs.more-right { --fr: 48px; }

  .sc-scroll:not([hidden]) { display: flex; align-items: center; gap: 12px; margin: 8px 0 22px; }
  .sc-scroll__track { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
  .sc-scroll__thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: 3px; background: var(--blue-600); transition: left .12s linear, width .2s ease; }
  .sc-scroll__count { min-width: 3.4em; text-align: center; font-size: .875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
  .sc-scroll__btn {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%;
    border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
    transition: border-color .2s ease, color .2s ease, opacity .2s ease;
  }
  .sc-scroll__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .sc-scroll__btn:hover:not(:disabled) { border-color: var(--blue-600); color: var(--blue-600); }
  .sc-scroll__btn:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
  .sc-scroll__btn:disabled { opacity: .35; cursor: default; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sc-scroll__thumb { background: var(--blue-300); }
  :root:not([data-theme="light"]) .sc-scroll__btn:hover:not(:disabled) { border-color: var(--blue-300); color: var(--blue-300); }
}
:root[data-theme="dark"] .sc-scroll__thumb { background: var(--blue-300); }
:root[data-theme="dark"] .sc-scroll__btn:hover:not(:disabled) { border-color: var(--blue-300); color: var(--blue-300); }
.reduced-motion .sc-scroll__thumb, .reduced-motion .sc-scroll__btn { transition: none; }

/* =================================================================
   UX changes (owners, 2026-11-30)
   ================================================================= */
/* Prices: the first section after the hero, so the amounts carry more weight */
.package__amount { font-size: clamp(4rem, 8.4vw, 7.5rem); line-height: .95; }

/* "Who is it for" cards follow the pointer directly while hovered; they ease back when it leaves */
.who-card:hover { transition: transform .12s linear, box-shadow .3s, background-color .3s; }
.reduced-motion .who-card:hover { transition: box-shadow .3s, background-color .3s; }

/* Rotating lines: words glide with opacity and movement only. The blur was heavy to draw on phones. */
.reel__w { filter: none; transition-property: opacity, transform; }
.reel__stage.is-in .reel__w, .reel__stage.is-out .reel__w { filter: none; }

/* Headings: the highlighted words turn blue together with the rest, not half a second later */
.is-in .split-word > span.hl { transition-delay: calc(var(--i) * 55ms + .05s); }

/* Contact form: send from the page */
.composer[hidden], .composer-done[hidden] { display: none !important; }
.composer__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.composer__send { min-width: 240px; }
.composer__send:disabled { opacity: .7; cursor: progress; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ffb4a8; box-shadow: 0 0 0 3px rgba(255, 180, 168, .25); }
.composer__note.is-notice[data-tone="error"] { background: rgba(255, 140, 120, .14); border-color: rgba(255, 170, 150, .5); }
.composer-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; outline: none; }
.composer-done__icon { width: 48px; height: 48px; color: var(--blue-300); }
.composer-done__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.03em; color: var(--white); }
.composer-done__text { margin: 0 0 8px; color: #c8d6f6; }
@media (max-width: 640px) { .composer__send { width: 100%; } }

/* Performance (owners: smooth scrolling): the glow and the globe canvases move and change size on every
   scroll frame. As their own compositor layers they're painted once and only moved/scaled by the GPU,
   instead of being repainted each frame (the soft glow was the main remaining cost while scrolling). */
.globe-layer__glow, .globe-layer .hero__globe { will-change: transform, opacity; }

/* Signatures are written left to right, like someone signing (owners): a clipping edge (the pen)
   slides across them. It plays when the last About word lights up (main.js adds .is-signed) and is
   undone when the visitor scrolls back above the text, so it can be signed again. Timed, not tied to
   the scroll position: a mouse wheel moves in jumps, a timed stroke stays smooth. Without JavaScript or
   with reduced motion the signatures simply show. (A soft-edged mask was tried: WebKit drew stray lines.) */
.about__sign {
  clip-path: inset(-4px -4px -4px -4px);
  /* a gentle start, an even pen speed through both names, a soft finish */
  transition: clip-path 2.8s cubic-bezier(.33, .1, .45, 1);
}
.js:not(.reduced-motion) .about__sign:not(.is-signed) {
  clip-path: inset(-4px 100% -4px -4px);
  transition: none;
}

/* =================================================================
   "Vem är hemsidan för?" — compact: picture + text side by side (owners: less space, real images)
   Images: img/who/ (UF logo; Unsplash photos toned to the site's blue by tools/dev/make-who-images.mjs)
   ================================================================= */
.who { padding-top: calc(var(--section-pad) * .55); }   /* less empty space above (owners: take up less space) */
.who__head { margin-bottom: clamp(28px, 3.6vw, 44px); }
.who__intro { margin-top: 14px; }
.who__grid { gap: 14px; }
.who-card { flex-direction: row; align-items: center; gap: 16px; padding: 14px; }
.who-card__img { flex: none; width: clamp(92px, 9vw, 120px); aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.who-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.who-card:hover .who-card__img img { transform: scale(1.04); }
.who-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.who-card__title { font-size: 1.2rem; }
.who-card__text { font-size: .92rem; line-height: 1.45; }
.who-card__pick { min-height: 32px; margin-top: 6px; padding: 0 14px; font-size: .82rem; }
.who__status { margin-top: 14px; }
.who__more { margin-top: 10px; }
@media (max-width: 1080px) and (min-width: 861px) { .who__grid { grid-template-columns: 1fr; } .who-card__img { width: 96px; } }
@media (max-width: 860px) { .who-card__img { width: 88px; } }
.reduced-motion .who-card__img img { transition: none; }


/* =================================================================
   "Från första meddelandet till färdig hemsida" — one story in a mail app, a scene per step
   (owners: like writing in a real mail app; WebReach answers; contact during the build; then the
   finished example site, Brobacken Bygg). Scenes follow the active step (data-step on .story).
   Colours use theme tokens, so it works in dark mode too. Compact: shorter steps than before.
   ================================================================= */
.process { padding-block: calc(var(--section-pad) * .8); }
.process__intro { margin-bottom: clamp(28px, 4vw, 56px); }
.step { min-height: 44vh; }
.step:not(.is-active) { opacity: 1; }   /* steps you're not on: muted colour instead of fading (fading failed the accessibility check) */
.step:not(.is-active) .step__title, .step:not(.is-active) .step__text { color: var(--ink-3); }
.step__title, .step__text { transition: color .6s var(--ease-out); }
.process__visual { top: calc(50vh - 200px); }

.story {
  position: relative; aspect-ratio: 16 / 11.5; overflow: hidden;
  border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-float);
  color: var(--ink); font-size: .9rem;
}
.story__tag { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .72rem; font-weight: 600; }
.story__scene {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .55s var(--ease-out), transform .65s var(--ease-out);
}
.story[data-step="1"] [data-story="1"], .story[data-step="2"] [data-story="2"],
.story[data-step="3"] [data-story="3"], .story[data-step="4"] [data-story="4"] { opacity: 1; transform: none; }
.story[data-step="2"] [data-story="1"] { transform: translateY(-36px) scale(.96); }   /* the sent mail flies off */
.story__source { display: none; }

/* mail app: compose */
.mailapp__top { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; background: var(--surface); font-weight: 600; font-size: .86rem; border-bottom: 1px solid var(--line); }
.mailapp__win { display: inline-flex; gap: 10px; }
.mailapp__win i { width: 9px; height: 9px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.mailapp__row { display: flex; align-items: center; gap: 10px; margin: 0 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.mailapp__lbl { min-width: 3.2em; color: var(--ink-2); }
.mailapp__chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 600; font-size: .82rem; }
.mailapp__chip img, .msg__av img { width: 20px; height: 20px; border-radius: 50%; display: block; }
.story__body { flex: 1; margin: 10px 16px 0; white-space: pre-line; line-height: 1.5; color: var(--ink); overflow: hidden; }
.story__body:not(.is-done)::after { content: ""; display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--blue-600); animation: story-caret 1s steps(2) infinite; }
@keyframes story-caret { 50% { opacity: 0; } }
.mailapp__tools { display: flex; align-items: center; gap: 14px; padding: 10px 16px 14px; }
.mailapp__tools svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story__send { padding: 8px 20px; border-radius: 999px; background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 600; font-size: .86rem; transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-spring); }
.story__body.is-done ~ .mailapp__tools .story__send { background: var(--blue-fill); color: #fff; box-shadow: none; transform: scale(1.05); }

/* mail app: thread */
.mailapp--thread { padding: 14px 16px; gap: 10px; }
.mailapp__subject { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.msg { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.msg > div { min-width: 0; flex: 1; }
.msg__av { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .78rem; color: var(--ink-2); }
.msg__av--erik { background: #b5703a; color: #fff; box-shadow: none; }
.msg--folded { padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .84rem; }
.msg--folded p { display: flex; flex-direction: column; min-width: 0; }
.msg--folded span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg__who { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.msg__who span { color: var(--ink-2); font-size: .78rem; }
.msg__soft { color: var(--ink-2); margin-top: 4px; }
.story__plan { margin: 6px 0 2px; padding: 0; list-style: none; display: grid; gap: 6px; }
.story__plan li { position: relative; padding-left: 24px; opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.story__plan li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-fill); }
.story__plan li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 4px); width: 6px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.story[data-step="2"] .story__plan li { opacity: 1; transform: none; }
.story[data-step="2"] .story__plan li:nth-child(1) { transition-delay: .3s; }
.story[data-step="2"] .story__plan li:nth-child(2) { transition-delay: .55s; }
.story[data-step="2"] .story__plan li:nth-child(3) { transition-delay: .8s; }
/* the build: messages arrive one after another */
.msg--in { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.story[data-step="3"] .msg--in { opacity: 1; transform: none; }
.story[data-step="3"] .msg--in:nth-of-type(2) { transition-delay: .2s; }
.story[data-step="3"] .msg--in:nth-of-type(3) { transition-delay: .9s; }
.story[data-step="3"] .msg--in:nth-of-type(4) { transition-delay: 1.6s; }
.msg__file { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 5px 10px 5px 5px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .78rem; color: var(--ink-2); }
.msg__file img { width: 54px; height: 36px; object-fit: cover; object-position: top; border-radius: 6px; }

/* the finished site */
.story__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.story__addr { padding: 4px 12px; border-radius: 999px; background: var(--surface); font-size: .76rem; color: var(--ink-2); }
.story__shot { position: relative; flex: 1; overflow: hidden; }
.story__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.story__approved {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px; border-radius: 999px; background: #0b1220; color: #fff; font-size: .8rem; font-weight: 600;
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease-spring);
}
.story__approved svg { width: 18px; height: 18px; fill: none; stroke: #6fd3a0; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.story[data-step="4"] .story__approved { opacity: 1; transform: none; transition-delay: .4s; }

/* step navigation: four quiet dots, no numbers */
.step-nav__btn { width: 18px; height: 18px; margin: 13px; }
.step-nav__track { left: 22px; right: 22px; }
.reduced-motion .story__scene, .reduced-motion .story__plan li, .reduced-motion .msg--in, .reduced-motion .story__approved, .reduced-motion .story__send { transition: none; }
.reduced-motion .story__body::after { display: none; }
