/* Sites in 24 — agency site
   Brand tokens from brand/sites-in-24/brand-tokens.css. Layout rhythm after
   superdesign "bold-editorial-style" (grid hero, sticky process, final CTA). */

:root {
  --yellow: #FFD600;
  --ink: #171717;
  --paper: #FAF9F6;
  --muted: #626262;
  --white: #FFFFFF;
  --ink-2: #242424;
  --line: rgba(23, 23, 23, .12);
  --line-dark: rgba(250, 249, 246, .14);
  --paper-dim: rgba(250, 249, 246, .74);

  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-button: 12px;
  --radius-card: 20px;

  --wrap: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: .75rem 1rem;
  border-radius: var(--radius-button);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.process :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible,
.marquee :focus-visible {
  outline-color: var(--yellow);
}

/* ---------- Type helpers ---------- */

.h2 {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
}

/* ---------- Buttons ---------- */

.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border-radius: var(--radius-button);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.btn--primary:hover { box-shadow: 0 0 0 4px rgba(255, 214, 0, .35); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--small { min-height: 44px; padding: .6rem 1rem; font-size: .9375rem; }
.btn--large { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: .5rem;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
  transition: background-size .35s var(--ease);
}
.link-arrow::after {
  content: "";
  width: 1.1em; height: 1.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 14L14 6M7 6h7v7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 14L14 6M7 6h7v7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.link-arrow:hover { background-size: 40% 2px; }
.link-arrow:hover::after { transform: translate(3px, -3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, .9);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.site-header__logo {
  display: block;
  flex: none;
  padding-block: 8px; /* clear space ≥ one browser dot */
}
.site-header__logo img { width: 180px; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--ink);
  font: 600 .9375rem/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle__bars {
  position: relative;
  width: 18px; height: 2px;
  background: currentColor;
  transition: background-color .2s;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle__bars::before { transform: translateY(-6px); }
.menu-toggle__bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); }

.site-nav ul a {
  text-decoration: none;
  font-weight: 500;
}

/* Mobile nav: without JS the toggle is hidden and the nav sits in the flow */
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: .5rem; }
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding-bottom: .5rem; }

/* Breakpoint is 1180px (was 900px) so the longest nav (PT) + CTA + language switcher fit on one line */
@media (max-width: 1179.98px) {
  .js .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul a {
    display: block;
    padding: .85rem 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -.02em;
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav .btn { margin-top: 1.25rem; width: 100%; }
  html:not(.js) .site-nav .btn { display: none; }
}

@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
  .lang--header { order: 3; margin-left: 0; }
  .site-nav ul { display: flex; gap: 1.5rem; }
  .site-nav ul a { white-space: nowrap; }
  .site-nav ul a {
    font-size: .9375rem;
    background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat;
    padding-block: .35rem;
    transition: background-size .3s var(--ease);
  }
  .site-nav ul a:hover { background-size: 100% 2px; }
  html:not(.js) .site-nav { width: auto; }
  html:not(.js) .site-header__inner { flex-wrap: nowrap; }
}

/* ---------- Language switcher (NL / PT / EN) ---------- */
/* Active = filled pill + bold + yellow underline mark + aria-pressed, not colour alone. */

.lang {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 2px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
}
.lang__btn {
  position: relative;
  min-width: 34px;
  min-height: 34px;
  padding: 0 .375rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 .8125rem/1 var(--font-body);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.lang__btn:hover { color: var(--ink); background: rgba(23, 23, 23, .07); }
.lang__btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}
.lang__btn[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 6px;
  width: 12px; height: 2px;
  margin-left: -6px;
  border-radius: 1px;
  background: var(--yellow);
}
.lang__btn:focus-visible { outline-offset: 1px; border-radius: 999px; }

/* Needs JS; without it the page is Dutch only */
html:not(.js) .lang,
.site-nav__lang { display: none; }

/* Header placement: logo · (links · CTA) · switcher on desktop; logo · switcher · menu on mobile */
.lang--header { margin-left: auto; }
@media (max-width: 599.98px) {
  .site-header__inner { gap: .5rem; }
  .js .menu-toggle { width: 44px; padding: 0; justify-content: center; }
  .js .menu-toggle__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
/* Too narrow for logo + switcher + menu: the switcher moves into the menu panel */
@media (max-width: 389.98px) {
  .lang--header { display: none; }
  .js .site-nav__lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav__lang-label { font-weight: 600; }
  .lang--menu .lang__btn { min-width: 48px; min-height: 40px; font-size: .9375rem; }
}

/* First paint in PT/EN: hidden for the few ms until app.js swaps the text (head script removes it after 2.5s at most) */
.i18n-pending body { visibility: hidden; }

/* Longer PT/NL strings: wrap instead of overflowing; hyphenate body copy on small screens */
h1, h2, h3, p, li, summary, label { overflow-wrap: break-word; }
@media (max-width: 599.98px) {
  p, li, summary { -webkit-hyphens: auto; hyphens: auto; }
}
.btn { max-width: 100%; text-align: center; text-wrap: balance; -webkit-hyphens: manual; hyphens: manual; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 2;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(23, 23, 23, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 23, 23, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 75%);
}
.hero__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.6rem, 13vw, 10.5rem);
  line-height: .86;
  letter-spacing: -.06em;
  text-wrap: initial;
}
.hero__line { display: block; }
.hero__line .split-line { padding-bottom: .1em; margin-bottom: -.1em; }

/* Yellow highlighter: ink text on yellow, never yellow text */
.hl { position: relative; display: inline-block; isolation: isolate; }
.hl::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.06em; right: -.08em;
  top: .14em; bottom: .02em;
  background: var(--yellow);
  border-radius: .08em;
  transform-origin: left center;
}
.hero__title .hl::before { top: .2em; bottom: .04em; }

.hero__lead {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  line-height: 1.5;
  max-width: 30em;
  color: var(--ink);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero__note {
  margin-top: 1.25rem;
  font-size: .9375rem;
  color: var(--muted);
  max-width: 34em;
}

@media (max-width: 479.98px) {
  .hero__actions .btn { width: 100%; }
}

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "title title" "copy build";
    column-gap: clamp(3rem, 6vw, 6rem);
  }
  .hero__title { grid-area: title; font-size: clamp(5rem, 10vw, 10.5rem); }
  .hero__copy { grid-area: copy; align-self: start; padding-top: 1rem; }
  .build { grid-area: build; }
}

/* Browser build visual */
.build {
  position: relative;
  width: min(100%, 600px);
  margin-inline: auto;
  transform-origin: 50% 0;
}
.build__tilt {
  position: relative;
  padding: 0 7% 12% 0;
  transform-style: preserve-3d;
}
.build__frame {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 80px -40px rgba(23, 23, 23, .45), 0 12px 24px -12px rgba(23, 23, 23, .2);
}
.build__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--ink);
  padding: .7rem 1rem;
}
.build__dots { display: inline-flex; gap: 6px; flex: none; }
.build__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow);
}
.build__url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(250, 249, 246, .12);
  color: var(--paper-dim);
  font-size: .75rem;
  border-radius: 6px;
  padding: .25rem .65rem;
  white-space: nowrap;
  overflow: hidden;
}
.build__url svg { flex: none; }
.build__load {
  height: 3px;
  background: var(--yellow);
  transform-origin: left center;
  transform: scaleX(0);
}
.build__page {
  flex: 1;
  min-height: 0;
  padding: 5% 6% 6%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 18px);
}
.build__hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 6%; flex: 1; min-height: 0; }
.build__text { display: flex; flex-direction: column; gap: clamp(7px, 1.4vw, 12px); justify-content: center; }

.bk { position: relative; }
.bk__real { display: block; height: 100%; }
.bk--nav { height: 12px; }
.bk--nav .bk__real { display: flex; align-items: center; gap: 6%; }
.bk--nav b { width: 18%; height: 10px; border-radius: 3px; background: var(--ink); margin-right: auto; }
.bk--nav i { width: 9%; height: 5px; border-radius: 3px; background: rgba(23, 23, 23, .2); }
.bk--nav em { width: 14%; height: 12px; border-radius: 4px; background: var(--yellow); }
.bk--h { height: clamp(12px, 2.4vw, 18px); }
.bk--h .bk__real { background: var(--ink); border-radius: 4px; }
.bk--short { width: 68%; }
.bk--p .bk__real { display: grid; gap: 5px; }
.bk--p i { height: 5px; border-radius: 3px; background: rgba(23, 23, 23, .16); }
.bk--p i + i { width: 72%; }
.bk--btns { height: clamp(14px, 2.6vw, 22px); }
.bk--btns .bk__real { display: flex; gap: 6%; }
.bk--btns i { width: 46%; border-radius: 5px; background: var(--yellow); }
.bk--btns i + i { width: 34%; background: transparent; border: 2px solid var(--ink); }
.bk--img .bk__real {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, var(--yellow) 0 18%, transparent 19%),
    linear-gradient(160deg, #2c2c2c, var(--ink));
}
.bk--img i {
  position: absolute;
  left: -10%; right: -10%; bottom: -30%;
  height: 70%;
  border-radius: 50% 50% 0 0;
  background: #3a3a3a;
}
.bk--cards { height: clamp(28px, 5vw, 56px); flex: none; }
.bk--cards .bk__real { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.bk--cards i { border-radius: 8px; background: rgba(23, 23, 23, .07); border-top: 3px solid var(--ink); }

/* Skeleton layer per block (only visible during the build) */
.bk::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  background: rgba(23, 23, 23, .08);
  opacity: 0;
}
.build__shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-100%);
  opacity: 0;
}

.build__clock {
  position: absolute;
  right: 0; bottom: 0;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px var(--paper), 0 30px 50px -20px rgba(23, 23, 23, .5);
}
.build__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(250, 249, 246, .14); stroke-width: 7; }
.ring-arc {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 0;
}
.build__count {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 700;
}
.build__count span { font-size: clamp(2rem, 7vw, 3.5rem); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.build__count small { font-size: .875rem; font-weight: 600; margin-top: .2rem; color: var(--paper-dim); }

.build__live {
  position: absolute;
  left: 5%; bottom: 3%;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1rem .5rem .8rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
  border: 2px solid var(--ink);
}
.build__pulse {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.build__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0;
}

/* Hero build story (pure CSS so it runs without GSAP):
   frame in, skeleton, blocks snap in one by one while the arc runs to 24, then Live. */
@keyframes frame-in { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes snap-in {
  0% { opacity: 0; transform: translateY(8px) scale(.9); }
  60% { opacity: 1; transform: translateY(-1px) scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop-in { 0% { opacity: 0; transform: scale(.4); } 65% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes arc-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
@keyframes hl-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.motion .build__frame { animation: frame-in .8s var(--ease) .1s both; }
.motion .bk::before {
  animation:
    fade-in .25s ease calc(.35s + var(--i) * .05s) both,
    fade-out .2s ease calc(1s + var(--i) * .2s) forwards;
}
.motion .bk__real { animation: snap-in .5s var(--ease) calc(1s + var(--i) * .2s) both; }
.motion .build__shimmer { animation: fade-in .2s .35s both, shimmer 1.1s ease-in-out .4s 2, fade-out .3s 2.4s forwards; }
.motion .build__load { animation: grow-x 2s cubic-bezier(.65, 0, .35, 1) .6s both; }
.motion .build__clock { animation: pop-in .7s var(--ease) .4s both; }
.motion .ring-arc { animation: arc-draw 2s cubic-bezier(.65, 0, .35, 1) .6s both; }
.motion .build__live { animation: pop-in .6s var(--ease) 2.7s both; }
.motion .build__pulse::after { animation: pulse 1.6s ease-out 3.2s infinite; }
.motion .hero__title .hl::before { animation: hl-sweep .7s var(--ease) 1.05s both; }
.motion.lang-swapped .hero__title .hl::before { animation-delay: .35s; }
.motion:not(.gsap) [data-hero-fade] { animation: fade-up .8s var(--ease) both; }
.motion:not(.gsap) .hero__lead { animation-delay: .35s; }
.motion:not(.gsap) .hero__actions { animation-delay: .5s; }
.motion:not(.gsap) .hero__note { animation-delay: .65s; }
.motion:not(.gsap) .hero__line { animation: fade-up .9s var(--ease) both; }
.motion:not(.gsap) .hero__line + .hero__line { animation-delay: .12s; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid var(--ink);
}
.marquee__track { display: flex; width: max-content; }
.marquee__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 0;
}
.marquee__track .marquee__list { flex-wrap: nowrap; flex: none; }
.marquee__list li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__list li::after {
  content: "";
  width: .7em; height: .7em;
  margin-inline: 1.1em;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  border-left-color: transparent;
  transform: rotate(-30deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.motion .marquee__track { animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }

/* Offer: bento grid with a small looping illustration per benefit */
.offer__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) {
  .offer__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 5rem; }
}

.bento { display: grid; gap: 1rem; }
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
  transition: translate .5s var(--ease);
}
.bento__card:hover { translate: 0 -4px; }
.bento__art {
  position: relative;
  flex: 1;
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(23, 23, 23, .05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(to bottom, rgba(23, 23, 23, .05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper);
  border-bottom: 2px solid var(--ink);
}
.bento__text { padding: 1.5rem 1.5rem 1.75rem; }
.bento__text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; }
.bento__text p { margin-top: .5rem; color: var(--muted); max-width: 32em; }

.bento__card--phone { background: var(--ink); color: var(--paper); }
.bento__card--phone .bento__art {
  background:
    radial-gradient(circle at 50% 120%, rgba(255, 214, 0, .22), transparent 60%),
    var(--ink-2);
  border-bottom-color: var(--line-dark);
}
.bento__card--phone .bento__text p { color: var(--paper-dim); }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__card--phone { grid-row: span 2; }
  .bento__card--services { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "phone speed speed"
      "phone search contact"
      "services services contact";
    gap: 1.25rem;
  }
  .bento__card--phone { grid-area: phone; grid-row: auto; }
  .bento__card--speed { grid-area: speed; }
  .bento__card--search { grid-area: search; }
  .bento__card--contact { grid-area: contact; }
  .bento__card--services { grid-area: services; grid-column: auto; flex-direction: row; }
  .bento__card--services .bento__art { border-bottom: 0; border-right: 2px solid var(--ink); flex: 1.2; }
  .bento__card--services .bento__text { flex: 1; align-self: center; }
}

/* Phone: a mini site scrolling in a phone frame */
.mini-phone {
  width: 150px;
  aspect-ratio: 9 / 18.5;
  border: 6px solid var(--paper);
  border-radius: 26px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
}
.mini-phone__screen { height: 100%; overflow: hidden; border-radius: 18px; background: var(--white); }
.mini-phone__scroll { display: grid; gap: 9px; padding: 14px 12px; }
.mini-phone__scroll i { display: block; border-radius: 4px; background: rgba(23, 23, 23, .14); height: 5px; }
.mini-phone__scroll .mp-nav { height: 8px; width: 40%; background: var(--ink); margin-bottom: 6px; }
.mini-phone__scroll .mp-h { height: 11px; background: var(--ink); }
.mini-phone__scroll .mp-h--s { width: 65%; }
.mini-phone__scroll .mp-btn { height: 18px; width: 60%; background: var(--yellow); border-radius: 5px; }
.mini-phone__scroll .mp-img { height: 70px; border-radius: 8px; background: linear-gradient(160deg, #2c2c2c, var(--ink)); }
.mini-phone__scroll .mp-p--s { width: 70%; }
@keyframes phone-scroll { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(-50%); } }

/* Speed: a load bar that fills fast, then a check */
.speed { display: flex; align-items: center; gap: .75rem; width: min(100%, 360px); }
.speed__track { flex: 1; height: 10px; border-radius: 5px; background: rgba(23, 23, 23, .1); overflow: hidden; }
.speed__fill { display: block; height: 100%; background: var(--ink); border-radius: 5px; transform-origin: left center; }
.speed__done {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
}
.speed__page { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; display: flex; gap: .5rem; }
.speed__page i { flex: 1; height: 26px; border-radius: 6px; background: rgba(23, 23, 23, .08); }
.bento__card--speed .bento__art { min-height: 170px; }
@keyframes speed-fill { 0% { transform: scaleX(0); } 22%, 100% { transform: scaleX(1); } }
@keyframes speed-check { 0%, 20% { opacity: 0; transform: scale(.4); } 28%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.8); } }
@keyframes speed-page { 0%, 18% { opacity: 0; transform: translateY(8px); } 30%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Search: typed query, then your result slides up */
.search { width: min(100%, 300px); display: grid; gap: .75rem; }
.search__box {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
}
.search__q { position: relative; min-width: 0; overflow: hidden; white-space: nowrap; }
.search__cover { position: absolute; inset: 0; background: var(--white); transform-origin: right center; transform: scaleX(0); }
.search__result {
  display: grid; gap: .35rem;
  padding: .8rem .9rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}
.search__url { font-size: .6875rem; color: var(--muted); }
.search__title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; letter-spacing: -.02em; line-height: 1.1; }
.search__result i { height: 5px; border-radius: 3px; background: rgba(23, 23, 23, .14); }
.search__result i + i { width: 70%; }
@keyframes search-type { 0% { transform: translateX(0); } 30%, 100% { transform: translateX(100%); } }
@keyframes search-result { 0%, 34% { opacity: 0; transform: translateY(14px); } 44%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Contact: one tap on the call button */
.tap { position: relative; display: grid; gap: .6rem; width: min(100%, 220px); }
.tap__btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px;
  border-radius: var(--radius-button);
  border: 2px solid var(--ink);
  background: var(--white);
  font-weight: 600;
  font-size: .9375rem;
}
.tap__btn--call { background: var(--yellow); }
.tap__finger {
  position: absolute;
  left: 50%; top: 22px;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: rgba(23, 23, 23, .15);
  opacity: 0;
}
@keyframes tap-finger { 0% { opacity: 0; transform: translate(30px, 40px) scale(1); } 25% { opacity: 1; transform: translate(0, 0) scale(1); } 35% { transform: scale(.7); } 45% { opacity: 1; transform: scale(1.5); } 60%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes tap-press { 0%, 30% { transform: none; } 36% { transform: scale(.95); } 46%, 100% { transform: none; } }

/* Services: rows tick in one by one */
.svc { display: grid; gap: .6rem; width: min(100%, 380px); }
.svc li {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem .9rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}
.svc i { flex: 1; height: 7px; border-radius: 4px; background: var(--ink); max-width: 45%; }
.svc li:nth-child(2) i { max-width: 35%; }
.svc li:nth-child(3) i { max-width: 52%; }
.svc b { margin-left: auto; width: 18%; height: 7px; border-radius: 4px; background: rgba(23, 23, 23, .14); }
.svc__check {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23171717' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
  border: 1.5px solid var(--ink);
}
@keyframes svc-row { 0% { opacity: 0; transform: translateX(-14px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes svc-check { 0%, 8% { transform: scale(0); } 16%, 85% { transform: scale(1); } 100% { transform: scale(0); } }

/* Loops only run while the card is on screen (JS toggles .is-live) */
.motion .mini-phone__scroll { animation: phone-scroll 7s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
.motion .speed__fill { animation: speed-fill 3.2s cubic-bezier(.2, .8, .2, 1) infinite; }
.motion .speed__done { animation: speed-check 3.2s var(--ease) infinite; }
.motion .speed__page i { animation: speed-page 3.2s var(--ease) infinite; }
.motion .speed__page i:nth-child(2) { animation-delay: .06s; }
.motion .speed__page i:nth-child(3) { animation-delay: .12s; }
.motion .search__cover { animation: search-type 4s steps(12, end) infinite; transform: none; }
.motion .search__result { animation: search-result 4s var(--ease) infinite; }
.motion .tap__finger { animation: tap-finger 2.8s var(--ease) infinite; }
.motion .tap__btn--call { animation: tap-press 2.8s var(--ease) infinite; }
.motion .svc li { animation: svc-row 4.5s var(--ease) infinite; }
.motion .svc__check { animation: svc-check 4.5s var(--ease) infinite; }
.motion .svc li:nth-child(2), .motion .svc li:nth-child(2) .svc__check { animation-delay: .35s; }
.motion .svc li:nth-child(3), .motion .svc li:nth-child(3) .svc__check { animation-delay: .7s; }
.motion .bento__art * { animation-play-state: paused !important; }
.motion .bento__card.is-live .bento__art * { animation-play-state: running !important; }

/* ---------- Process (pinned) ---------- */

.process {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.process__sticky { padding-block: var(--section); }
.process__inner {
  display: grid;
  gap: 2.5rem;
}
.process__sub { margin-top: 1rem; color: var(--paper-dim); font-size: 1.125rem; max-width: 26em; }

.clock {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  justify-self: center;
}
.clock__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.clock__ticks line { stroke: rgba(250, 249, 246, .3); stroke-width: 2; stroke-linecap: round; }
.clock__ticks line.is-major { stroke: rgba(250, 249, 246, .65); stroke-width: 3; }
.clock__track { fill: none; stroke: rgba(250, 249, 246, .1); stroke-width: 14; }
.clock__arc {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 0;
}
.clock__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.clock__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.clock__label {
  margin-top: .4rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--paper-dim);
  max-width: 11em;
  line-height: 1.3;
}

.steps { display: grid; gap: 1.5rem; counter-reset: none; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  background: var(--ink-2);
}
.step__no {
  display: grid;
  place-items: center;
  min-width: 56px; height: 56px;
  padding-inline: .6rem;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -.04em;
}
.step__no--wide { font-size: 1.25rem; }
.step--phase .step__no { background: var(--paper); }
.step h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -.035em; line-height: 1.05; }
.step p { margin-top: .6rem; color: var(--paper-dim); max-width: 30em; }

.process__rail { display: none; }

/* Charcoal → warm white wipe at the end of the pinned clock (JS drives the transform) */
.process__wipe { display: none; }
.motion .process.is-pinned .process__wipe {
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: -64px;
  height: calc(100% + 64px);
  z-index: 3;
  background: var(--paper);
  border-radius: 64px 64px 0 0;
  transform: translateY(100%);
  pointer-events: none;
}

@media (min-width: 1000px) {
  .process__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head head" "clock steps";
    column-gap: 4rem;
    row-gap: 3rem;
    align-items: center;
  }
  .process__head { grid-area: head; }
  .clock { grid-area: clock; width: min(100%, 440px); }
  .steps { grid-area: steps; }
}

/* Pinned mode: only with motion + JS, tall enough viewport */
@media (min-width: 768px) and (min-height: 560px) {
  .motion .process.is-pinned { height: 480vh; }
  .motion .process.is-pinned .process__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    padding-block: calc(var(--header-h) + 1rem) 2rem;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .motion .process.is-pinned .process__inner { gap: 1.5rem; width: 100%; }
  .motion .process.is-pinned .steps { display: grid; gap: 0; }
  .motion .process.is-pinned .step {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .5s var(--ease), transform .6s var(--ease);
    pointer-events: none;
  }
  .motion .process.is-pinned .step.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .motion .process.is-pinned .step.is-past { transform: translateY(-28px); }
  .motion .process.is-pinned .process__rail {
    display: block;
    position: relative;
    height: 4px;
    border-radius: 2px;
    background: rgba(250, 249, 246, .12);
    overflow: hidden;
  }
  .motion .process.is-pinned .process__fill {
    position: absolute;
    inset: 0;
    background: var(--yellow);
    transform-origin: left center;
    transform: scaleX(0);
  }
  .motion .process.is-pinned .clock { width: min(62vw, 34vh, 300px); }
  .motion .process.is-pinned .process__sub { display: none; }
}
@media (min-width: 768px) and (max-width: 999.98px) and (min-height: 560px) and (max-height: 720px) {
  .motion .process.is-pinned .clock { width: min(62vw, 27vh, 300px); }
  .motion .process.is-pinned .step { padding: 1.1rem; gap: 1rem; }
  .motion .process.is-pinned .step__no { min-width: 44px; height: 44px; font-size: 1.375rem; }
  .motion .process.is-pinned .step__no--wide { font-size: 1rem; }
}
@media (min-height: 560px) and (min-width: 1000px) {
  .motion .process.is-pinned .process__inner {
    grid-template-areas: "head head" "clock steps" "rail rail";
    row-gap: 2.5rem;
  }
  .motion .process.is-pinned .process__rail { grid-area: rail; }
  .motion .process.is-pinned .clock { width: min(100%, 46vh, 440px); }
  .motion .process.is-pinned .process__sub { display: block; }
}

/* ---------- Portfolio ---------- */

.work { padding-block: var(--section); }
.work__track {
  display: grid;
  gap: clamp(3.5rem, 8vw, 5rem);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.work__intro .lead { margin-top: 1.5rem; }
.work__hint { display: none; }

.case { display: grid; gap: 1.75rem; }
.case__media {
  position: relative;
  padding-right: 14%;
  padding-bottom: 8%;
}
.case__frame {
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 50px 90px -50px rgba(23, 23, 23, .55),
    0 18px 36px -18px rgba(23, 23, 23, .25);
}
.case__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .9rem;
  background: var(--ink);
}
.case__url {
  flex: 1;
  min-width: 0;
  color: var(--paper-dim);
  font-size: .75rem;
  background: rgba(250, 249, 246, .12);
  border-radius: 6px;
  padding: .2rem .6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case__screen {
  position: relative;
  aspect-ratio: 1440 / 900;
  overflow: hidden;
  background: var(--paper);
}
.case__phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Hover: the screenshot scrolls from top to bottom inside the frame.
   wrapper +100% of the screen, image −100% of itself = screen − image height,
   so a taller full-page capture scrolls its whole length with no JS. */
.case__scroll {
  position: absolute;
  inset: 0;
  transition: transform 5s cubic-bezier(.45, 0, .25, 1);
}
.case__scroll img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 0;
  transition: transform 5s cubic-bezier(.45, 0, .25, 1);
}
.case__media:hover .case__scroll { transform: translateY(100%); }
.case__media:hover .case__scroll img { transform: translateY(-100%) scale(1.04); }
.case__phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 26%;
  aspect-ratio: 390 / 844;
  border: 5px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow:
    0 0 0 6px var(--paper),
    0 40px 70px -30px rgba(23, 23, 23, .6);
}
.case__island {
  position: absolute;
  z-index: 2;
  top: 5px; left: 50%;
  width: 34%; height: 9px;
  margin-left: -17%;
  border-radius: 6px;
  background: var(--ink);
}

.shot-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 7%;
  background:
    linear-gradient(var(--ink), var(--ink)) 7% 12% / 26% 6px no-repeat,
    linear-gradient(rgba(23, 23, 23, .14), rgba(23, 23, 23, .14)) 93% 12% / 30% 6px no-repeat,
    linear-gradient(rgba(23, 23, 23, .08), rgba(23, 23, 23, .08)) 7% 82% / 86% 1px no-repeat,
    repeating-linear-gradient(to right, rgba(23, 23, 23, .05) 0 1px, transparent 1px 40px),
    var(--paper);
}
.shot-fallback span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 18%;
  max-width: 10ch;
}
.shot-fallback--phone { padding: 12%; }
.shot-fallback--phone span { font-size: clamp(.8rem, 2vw, 1.1rem); margin-bottom: 30%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
}
.tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--ink);
}
.case__info h3 { margin-top: 1rem; font-size: clamp(1.75rem, 3.5vw, 2.75rem); letter-spacing: -.04em; }
.case__meta { margin-top: .4rem; color: var(--muted); }
.case__info .link-arrow { margin-top: 1rem; }

@media (min-width: 700px) {
  .case { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: 2.5rem; }
}

/* Horizontal pinned showcase (desktop + motion, set up by JS) */
@media (min-width: 1000px) {
  .motion .work.is-horizontal { padding-block: 0; }
  .motion .work.is-horizontal .work__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
  }
  .motion .work.is-horizontal .work__track {
    display: flex;
    align-items: center;
    gap: clamp(4rem, 7vw, 8rem);
    width: max-content;
    max-width: none;
    margin: 0;
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    will-change: transform;
  }
  .motion .work.is-horizontal .work__intro { width: min(38vw, 520px); flex: none; }
  .motion .work.is-horizontal .work__intro .h2 { font-size: clamp(3rem, 5vw, 4.75rem); }
  .motion .work.is-horizontal .work__hint {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 2.5rem;
    font-weight: 500;
    color: var(--muted);
  }
  .motion .work.is-horizontal .work__hint-line {
    width: 56px; height: 2px;
    background: var(--ink);
  }
  .motion .work.is-horizontal .case {
    flex: none;
    width: min(70vw, calc((100svh - var(--header-h) - 16rem) / .62), 1100px);
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .motion .work.is-horizontal .case__info {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1.25rem;
  }
  .motion .work.is-horizontal .case__info .tag { grid-column: 1 / -1; justify-self: start; }
  .motion .work.is-horizontal .case__info h3 { margin-top: .75rem; }
  .motion .work.is-horizontal .case__meta { margin-top: .75rem; align-self: center; }
  .motion .work.is-horizontal .case__info .link-arrow { margin-top: .75rem; }
  .motion .work.is-horizontal .case__screen { will-change: clip-path; }
  .motion .work.is-horizontal .work__progress {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: absolute;
    left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    bottom: clamp(1.25rem, 3vh, 2.25rem);
  }
}
.work__sticky { position: relative; }
.work__progress { display: none; }
.work__count {
  flex: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.work__count b { color: var(--ink); font-weight: 700; }
.work__bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.work__bar i {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ---------- Pricing ---------- */

.pricing { border-top: 1px solid var(--line); }
.pricing__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.price-card {
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.price-card--main {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.price-card--main::after {
  /* timer arc motif */
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  right: -140px; top: -140px;
  border-radius: 50%;
  border: 18px solid var(--yellow);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(10deg);
  opacity: .9;
  pointer-events: none;
}
.price-card--plan {
  border: 2px solid var(--ink);
  background: var(--white);
}
.price-card__badge {
  display: inline-flex;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
  font-size: .875rem;
}
.price-card__title { font-size: clamp(1.5rem, 2.8vw, 2.25rem); letter-spacing: -.035em; line-height: 1.05; max-width: 14em; }
.price-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; }
.price-card__amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(5rem, 17vw, 11rem);
  line-height: .85;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
}
.price-card__num { display: inline-block; min-width: 3ch; }
.price-card__amount { display: inline-block; transform-origin: 0 100%; }
.price-card__amount--text { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1; }
.price-card__unit { font-size: 1.125rem; font-weight: 500; color: var(--paper-dim); }
.price-card--plan p:not(.price-card__price) { color: var(--muted); max-width: 30em; }
.price-card--plan .btn { margin-top: auto; }
.price-card__note { font-size: .9375rem; color: var(--paper-dim); max-width: 30em; }

.checks { display: grid; gap: .75rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 1.25rem; height: 1.25rem;
  border-radius: 6px;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23171717' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

@media (min-width: 900px) {
  .pricing__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; }
}

/* ---------- FAQ ---------- */

.faq { padding-top: 0; }
.faq__inner { display: grid; gap: 2.5rem; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .35s var(--ease), background-color .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--yellow);
  border-color: var(--ink);
}
.faq details p { padding-bottom: 1.5rem; color: var(--muted); max-width: 40em; }

@media (min-width: 1000px) {
  .faq__inner { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--section);
  position: relative;
  overflow: hidden;
}
.contact__inner { display: grid; gap: 3rem; }
.contact__top {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  justify-items: start;
  margin-bottom: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line-dark);
}
.contact__title {
  font-size: clamp(3rem, 12.5vw, 12rem);
  line-height: .86;
  letter-spacing: -.06em;
  text-wrap: initial;
}
.btn--xl { min-height: 64px; padding: 1.15rem 2.25rem; font-size: 1.1875rem; }
@media (max-width: 479.98px) {
  .btn--xl { width: 100%; padding-inline: 1.25rem; font-size: 1.0625rem; }
}
@media (min-width: 1000px) {
  .contact__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.contact__lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--paper-dim); max-width: 30em; }
.contact__mail { margin-top: 2rem; color: var(--paper-dim); }
.contact__mail a {
  display: inline-block;
  margin-top: .35rem;
  color: var(--paper);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -.02em;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}

.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: grid;
  gap: 1.25rem;
}
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgba(23, 23, 23, .25);
  border-radius: var(--radius-button);
  padding: .8rem 1rem;
  min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder,
.field textarea::placeholder { color: #7a7a7a; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 214, 0, .55);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #B3261E; border-style: dashed; }
.field__error {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: #B3261E;
}
.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: #B3261E;
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
}
.form__hint { font-size: .875rem; color: var(--muted); text-align: center; }
.form__status:empty { display: none; }
.form__status {
  font-size: .9375rem;
  font-weight: 500;
  padding: .75rem 1rem;
  border-radius: var(--radius-button);
  background: rgba(23, 23, 23, .06);
}

@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .form > .field:nth-child(3),
  .form > .field:nth-child(5),
  .form > .btn,
  .form > .form__hint,
  .form > .form__status { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .contact__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--paper-dim);
  border-top: 1px solid var(--line-dark);
  padding-block: 3.5rem;
}
.site-footer__inner {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.site-footer__logo { width: 200px; padding: 8px 0; }
.site-footer__line { max-width: 28em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-footer__nav a { color: var(--paper); text-decoration: none; display: inline-block; padding-block: .5rem; }
.site-footer__nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 5px; }
.site-footer__copy { font-size: .875rem; }

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 4rem;
  }
  .site-footer__nav { justify-content: flex-end; }
  .site-footer__copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); width: 100%; }
}

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 249, 246, .94);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta[hidden] { display: none; }
@media (min-width: 768px) {
  .mobile-cta { display: none !important; }
}
@media (max-width: 767.98px) {
  .js .site-footer { padding-bottom: 7rem; }
}

/* ---------- Scroll reveals (JS adds .is-in) ---------- */

.motion.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.motion.reveal-ready .work.is-horizontal [data-reveal],
.motion.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* SplitText: hide headings until split (inline head script removes this after 2.5s at most) */
.split-pending [data-split],
.split-pending [data-split-chars] { opacity: 0; }
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }

/* Price: highlighter sweeps behind "eenmalig" once the count reaches 400 */
.hl--price { color: var(--ink); padding: .05em .3em; font-weight: 600; }
.hl--price::before { left: 0; right: 0; top: 0; bottom: 0; border-radius: 6px; }
.motion.reveal-ready .hl--price::before { transform: scaleX(0); transition: transform .8s var(--ease); }
.motion.reveal-ready .is-counted .hl--price::before { transform: none; }

/* ---------- Scroll progress + cursor dot ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: 3px;
  background: var(--yellow);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  display: none;
}
.motion.gsap .scroll-progress { display: block; }

.cursor-dot { display: none; }
@media (pointer: fine) and (hover: hover) {
  .motion.has-cursor .cursor-dot {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 70;
    width: 12px; height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 2px var(--ink);
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
    will-change: transform;
  }
  .motion.has-cursor .cursor-dot.is-on { opacity: 1; }
  .motion.has-cursor .cursor-dot.is-hover { opacity: .55; }
}

/* ---------- Lenis ---------- */

html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* ---------- Reduced motion: everything static ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .case__media:hover .case__scroll,
  .case__media:hover .case__scroll img,
  .bento__card:hover { translate: none; }
}
