/* ==========================================================================
   Digital White — styles
   Paper white, ink black, greys. One family (Geist). The pixel is the brand.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --ink: #000000;
  --graphite: #333333;
  --steel: #6e6e6e;
  --silver: #c8c8c8;
  --line: #e4e4e4;
  --mist: #f3f3f3;
  --nav-bg: rgba(255, 255, 255, 0.82);
  color-scheme: light;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --nav-h: 72px;
  --section-y: clamp(96px, 14vw, 200px);

  /* type scale (perfect fourth-ish, fluid) */
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: clamp(1.125rem, 1.2vw, 1.3125rem);
  --t-xl: clamp(1.5rem, 2.2vw, 2rem);
  --t-2xl: clamp(2.25rem, 4.6vw, 4.25rem);
  --t-hero: clamp(2.5rem, 5.4vw, 5.25rem);
}

/* Dark theme: the palette inverts. The pixel canvases are drawn black-on-transparent,
   so they are inverted with a filter; the logo has its own white files (see .logo). */
:root[data-theme="dark"] {
  --paper: #000000;
  --ink: #ffffff;
  --graphite: #d0d0d0;
  --steel: #9a9a9a;
  --silver: #4a4a4a;
  --line: #262626;
  --mist: #121212;
  --nav-bg: rgba(0, 0, 0, 0.78);
  color-scheme: dark;
}
:root[data-theme="dark"] :is(#heroCanvas, #footerCanvas) { filter: invert(1); }

/* Logo: two files per spot. Graphite (.logo--light) in light mode, white (.logo--dark) in dark mode.
   Size = the width variables below (height follows the image). Files: make_logofinal.py */
:root { --logo-nav-w: 52px; --logo-footer-w: 110px; }
.logo { display: block; height: auto; }
.logo--dark { display: none; }
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, picture { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul[role="list"], ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.visually-hidden {
  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-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper);
  font-size: var(--t-sm); transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* ---------- Buttons & links ---------- */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  border: 1px solid var(--ink);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: var(--t-xs); }
.btn--lg { --h: 60px; padding: 0 34px; font-size: var(--t-base); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--silver); }
/* the "pixel" — a small square that slides in on hover */
.btn--dark::after {
  content: ""; width: 6px; height: 6px; background: currentColor;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover::after { transform: translateX(3px) scale(1.35); }
  .btn--line:hover { border-color: var(--ink); }
}

.link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0% 1px; background-position: 100% 100%; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-out);
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__brand .logo { width: var(--logo-nav-w); }
.nav__name { font-size: var(--t-sm); font-weight: 600; letter-spacing: -0.02em; }
.nav__labs { margin-left: 0.4em; font-weight: 400; color: var(--steel); }
.nav__links { display: flex; gap: 32px; font-size: var(--t-sm); color: var(--graphite); }
.nav__links a { position: relative; padding: 6px 0; transition: color 200ms ease; }
.nav__links a::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2px;
  background: var(--ink); transform: scale(0); transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::before { transform: scale(1); }
}
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::before { transform: scale(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Theme switch: a square, half ink — the page flips around it */
.theme-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); transition: border-color 200ms ease, transform 160ms var(--ease-out);
}
.theme-btn:active { transform: scale(0.95); }
.theme-btn__icon {
  position: relative; width: 14px; height: 14px; border: 1.5px solid var(--ink); overflow: hidden;
}
.theme-btn__icon::after {
  content: ""; position: absolute; inset: 0 50% 0 0; background: var(--ink);
  transition: inset 320ms var(--ease-out);
}
.theme-btn[aria-pressed="true"] .theme-btn__icon::after { inset: 0 0 0 50%; }
@media (hover: hover) and (pointer: fine) { .theme-btn:hover { border-color: var(--ink); } }

/* Language switch */
.lang {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  height: 40px; padding: 4px; border: 1px solid var(--line);
  font-size: var(--t-xs); font-weight: 500;
}
.lang__btn {
  position: relative; z-index: 1; width: 38px; color: var(--steel);
  transition: color 220ms ease;
}
.lang__btn[aria-pressed="true"] { color: var(--paper); }
.lang__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 38px;
  background: var(--ink);
  transition: transform 320ms var(--ease-out);
}
.lang[data-active="en"] .lang__thumb { transform: translateX(38px); }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform 300ms var(--ease-out);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--paper);
  padding-top: calc(var(--nav-h) + 32px);
  opacity: 0; transition: opacity 260ms ease;
}
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; gap: 8px; }
.menu__links a {
  font-size: clamp(2.25rem, 9vw, 3.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.15;
  opacity: 0; transform: translateY(12px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 40ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 80ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 120ms; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__grid {
  position: relative; z-index: 1; flex: 1;
  display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  align-items: center; align-content: center; /* row = height of the text block */
  column-gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(16px, 4vh, 48px);
}
.hero__copy { max-width: 46rem; }
.hero__title {
  /* scales with width AND height so the whole hero fits on short laptop screens */
  font-size: clamp(2.5rem, min(4.6vw, 8.4vh), 4.25rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.045em;
  text-wrap: balance;
}
/* split words: each word rises out of its own mask */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); }
.is-loaded .hero__title .w > span {
  transform: none;
  transition: transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i) * 45ms + 250ms);
}
.hero__sub {
  margin-top: clamp(20px, 3vh, 32px); max-width: 33rem;
  font-size: var(--t-lg); line-height: 1.5; color: var(--steel); text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4.5vh, 44px); }

/* The stage spans exactly the text block: top = top of the headline,
   caption = same row as the buttons. Figures are centred in the space between. */
.hero__stage { position: relative; align-self: stretch; min-height: 320px; }
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 0; height: 52px; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: var(--t-sm); color: var(--steel);
}
.hero__caption-dot { width: 6px; height: 6px; background: var(--ink); }
.hero__caption-text { display: inline-block; min-width: 10ch; transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out); }
.hero__caption-text.is-swapping { opacity: 0; filter: blur(4px); transform: translateY(4px); }

.hero__foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 20px 28px;
  font-size: var(--t-xs); color: var(--steel);
}
.status { display: flex; align-items: center; gap: 10px; }
.status__pixel { width: 7px; height: 7px; background: var(--ink); animation: blink 2.4s steps(1, end) infinite; }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.15; } }
.scroll-cue { display: flex; align-items: center; gap: 14px; transition: color 200ms ease; }
.scroll-cue:hover { color: var(--ink); }
.scroll-cue__track { position: relative; width: 1px; height: 36px; background: var(--line); overflow: hidden; }
.scroll-cue__track span {
  position: absolute; left: -2px; top: 0; width: 5px; height: 5px; background: var(--ink);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-6px); } 60%, 100% { transform: translateY(38px); } }

.js .reveal-soft { opacity: 0; transform: translateY(14px); }
.is-loaded .reveal-soft {
  opacity: 1; transform: none;
  transition: opacity 900ms var(--ease-out) 900ms, transform 900ms var(--ease-out) 900ms;
}
.is-loaded .hero__ctas.reveal-soft { transition-delay: 1050ms; }
.is-loaded .hero__foot.reveal-soft { transition-delay: 1300ms; }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: var(--section-y); }
.manifesto__text {
  max-width: 22ch;
  font-size: clamp(2rem, 4.6vw, 4.25rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.04em;
}
.manifesto__text .mw { color: var(--ink); opacity: var(--o, 1); transition: opacity 120ms linear; }
.js .manifesto__text .mw { --o: 0.14; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section__head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end; gap: 24px 64px;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.section__title { font-size: var(--t-2xl); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.section__intro { max-width: 30rem; font-size: var(--t-lg); line-height: 1.5; color: var(--steel); text-wrap: pretty; }

.reveal-line { overflow: hidden; padding-bottom: 0.06em; }
.reveal-line > span { display: inline-block; }
.js .reveal-line > span { transform: translateY(105%); transition: transform 1000ms var(--ease-out); }
.js .reveal-line.is-in > span { transform: none; }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); }
.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 340px; padding: clamp(24px, 2.6vw, 40px);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background-color 300ms ease;
}
/* black frame drawn on hover, without shifting layout */
.card::after {
  content: ""; position: absolute; inset: -1px; border: 1px solid var(--ink);
  opacity: 0; transition: opacity 260ms ease; pointer-events: none;
}
.card__icon { width: 64px; height: 64px; }
.card__icon svg { width: 100%; height: 100%; overflow: visible; }
.card__icon rect {
  fill: var(--ink);
  transition: fill 240ms ease, transform 420ms var(--ease-out);
  transition-delay: calc(var(--d) * 14ms);
  transform-box: fill-box; transform-origin: center;
}
.card__name { margin-top: clamp(56px, 6vw, 88px);font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.card__desc { margin-top: 12px; max-width: 30ch; color: var(--steel); font-size: var(--t-sm); line-height: 1.55; }
.card__link {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-top: auto; padding: 28px 0 0; font-size: var(--t-sm); font-weight: 500;
}
.card__link::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__link i { width: 6px; height: 6px; background: var(--ink); transition: transform 300ms var(--ease-out); }
.card:focus-within::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { z-index: 1; }
  .card:hover::after { opacity: 1; }
  .card:hover .card__icon rect { transform: scale(0.72); }
  .card:hover .card__link i { transform: translateX(6px); }
}

/* ---------- Process ---------- */
.process { background: var(--paper); border-top: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 140px); }
.process__aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.process__aside .section__intro { margin-top: 24px; }
.process__meter { display: flex; align-items: center; gap: 20px; margin-top: 56px; }
.process__bar { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; width: min(100%, 300px); }
.process__bar i { aspect-ratio: 1; background: var(--line); transition: background-color 180ms ease; }
.process__bar i.on { background: var(--ink); }
.process__count { font-size: var(--t-sm); color: var(--steel); font-variant-numeric: tabular-nums; white-space: nowrap; }
.process__count b { color: var(--ink); font-weight: 500; }

.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px;
  padding-block: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line);
  opacity: 0.28; transition: opacity 500ms var(--ease-out);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step.is-active { opacity: 1; }
.no-js .step, html:not(.js) .step { opacity: 1; }
.step__num { font-size: var(--t-sm); font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 0.5em; }
.step__name { font-size: var(--t-2xl); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.step__desc { margin-top: 18px; max-width: 34rem; color: var(--steel); font-size: var(--t-lg); line-height: 1.5; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding-block: clamp(22px, 3vw, 36px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span {
  font-size: clamp(2rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1;
  padding-inline: clamp(20px, 2.6vw, 40px); white-space: nowrap;
}
.marquee__group span:nth-of-type(even) { color: var(--silver); }
.marquee__group i { width: 10px; height: 10px; background: var(--ink); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }

/* ---------- Contact (sentence form) ---------- */
.sentence {
  font-size: clamp(1.5rem, 3.2vw, 2.75rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.35;
}
.sentence__line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.35em; margin-bottom: 0.45em; }
.sentence__line legend { float: left; margin-right: 0.35em; padding: 0; }
.sentence__chips { align-items: center; }
.sentence__dot { margin-left: -0.25em; }
.field {
  width: 11ch; min-width: 0;
  padding: 0 0 0.08em; border: 0; border-bottom: 1.5px solid var(--silver); border-radius: 0;
  background: transparent; outline: none;
  font-weight: 400; letter-spacing: -0.03em; color: var(--ink);
  transition: border-color 200ms ease;
}
.field--wide { width: 15ch; }
.field--grow { flex: 1 1 14ch; }
.field::placeholder { color: var(--steel); opacity: 1; }
.field:focus { border-bottom-color: var(--ink); }
.field:focus-visible { outline: none; }
.field[aria-invalid="true"] { border-bottom-color: var(--ink); border-bottom-style: dashed; }

.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px;
  border: 1px solid var(--silver);
  font-size: var(--t-base); font-weight: 500; letter-spacing: -0.01em;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.chip span::before {
  content: ""; width: 6px; height: 6px; border: 1px solid currentColor;
  transition: background-color 200ms ease;
}
.chip:active span { transform: scale(0.97); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: currentColor; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: var(--ink); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sentence__errors { font-size: var(--t-sm); letter-spacing: 0; font-weight: 400; }
.error { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--ink); }
.error[hidden] { display: none; }
.error::before { content: ""; width: 6px; height: 6px; background: var(--ink); }
.sentence__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
  margin-top: clamp(32px, 4vw, 56px);
  font-size: var(--t-sm); letter-spacing: 0; font-weight: 400;
}
.sentence__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--wa { gap: 12px; }
.btn--wa .wa-icon { width: 20px; height: 20px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn--wa:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}
.sentence__alt { color: var(--steel); }
.sentence__alt .link { color: var(--ink); }
.form-status { margin-top: 20px; min-height: 1.6em; font-size: var(--t-sm); font-weight: 400; letter-spacing: 0; color: var(--graphite); }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.7; }

/* Service details: what's included + typical timeline */
.card__incl { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; font-size: var(--t-sm); line-height: 1.45; color: var(--graphite); }
.card__incl li { display: flex; align-items: baseline; gap: 12px; }
.card__incl li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--ink); transform: translateY(-2px); }
.card__time {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: var(--t-xs); color: var(--steel);
}
.card__time b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.card__link { padding-top: 24px; }
.services__note { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: var(--t-sm); color: var(--steel); }
.services__note::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--ink); }

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
.about__lead { font-size: clamp(1.375rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.03em; text-wrap: pretty; max-width: 34ch; }
.about__body { margin-top: 28px; max-width: 40rem; font-size: var(--t-lg); line-height: 1.55; color: var(--steel); text-wrap: pretty; }
.about__facts { margin: 0; border-bottom: 1px solid var(--line); }
.about__fact { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.about__fact dt { color: var(--steel); }
.about__fact dd { margin: 0; text-align: right; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 140px); }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.faq__aside .section__intro { margin-top: 24px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: var(--t-lg); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq__icon { position: relative; flex: none; width: 12px; height: 12px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); }
.faq__icon::before { left: 0; right: 0; top: 5px; height: 2px; }
.faq__icon::after { top: 0; bottom: 0; left: 5px; width: 2px; transition: transform 220ms var(--ease-out); }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { max-width: 40rem; padding-bottom: 28px; color: var(--steel); line-height: 1.6; text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) { .faq__q:hover .faq__icon { transform: scale(1.15); } .faq__icon { transition: transform 200ms var(--ease-out); } }

/* Privacy line under the form */
.sentence__legal { margin-top: 20px; max-width: 46rem; font-size: var(--t-xs); font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--steel); }
.sentence__legal .link { color: var(--ink); }
.footer__city { color: var(--steel); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer__brand .logo { width: var(--logo-footer-w); }
.footer__brand p { margin-top: 20px; max-width: 26ch; color: var(--steel); font-size: var(--t-sm); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: var(--t-sm); }
.footer__col h3 { font-size: var(--t-xs); font-weight: 500; color: var(--steel); margin-bottom: 6px; }
.footer__col a { align-self: flex-start; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--steel); } }
.footer__mark { position: relative; margin-top: clamp(56px, 8vw, 120px); padding-inline: var(--gutter); }
.footer__mark canvas { width: 100%; height: auto; aspect-ratio: 8.6 / 1; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 28px 32px; font-size: var(--t-xs); color: var(--steel);
}

/* ---------- WhatsApp flotante (solo móvil) ---------- */
.wa-float { display: none; }
@media (max-width: 820px) {
  .wa-float {
    position: fixed; z-index: 90;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    display: grid; place-items: center; width: 56px; height: 56px;
    background: var(--ink); color: var(--paper);
    box-shadow: 0 0 0 1px var(--paper);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity 220ms ease, transform 280ms var(--ease-out);
  }
  .wa-float::after { /* the brand pixel */
    content: ""; position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; background: var(--paper);
  }
  .wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .wa-float.is-on:active { transform: scale(0.96); }
  .wa-float__icon { width: 26px; height: 26px; }
}

/* ---------- Cursor (fine pointers only) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: #fff; mix-blend-mode: difference;
  opacity: 0; transition: opacity 200ms ease, width 260ms var(--ease-out), height 260ms var(--ease-out), margin 260ms var(--ease-out);
}
.has-cursor .cursor { opacity: 1; }
.cursor.is-hover { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .hero__grid { grid-template-columns: 1fr; align-content: start; gap: 8px; padding-top: 8px; }
  .hero__stage { order: -1; align-self: auto; min-height: 0; height: clamp(240px, 40svh, 380px); }
  .hero__caption { height: 40px; }
  .hero__copy { margin-top: 24px; }
  .section__head { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .process__meter { display: none; }
  .step { opacity: 1; grid-template-columns: 48px minmax(0, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav__name { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card__name { margin-top: 40px; }
  .hero__foot .scroll-cue { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .field, .field--wide { flex: 1 1 100%; width: auto; }
  .sentence__dot { display: none; }
  .sentence__actions, .sentence__actions .btn { width: 100%; }
  .chip span { height: 42px; padding: 0 14px; font-size: var(--t-sm); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .hero__title .w > span, .reveal-soft, .js .reveal-line > span { transform: none !important; transition: opacity 300ms ease !important; }
  .reveal-soft { opacity: 1; }
  .marquee__track { animation: none; }
  .status__pixel, .scroll-cue__track span { animation: none; }
  .card__icon rect { transition-delay: 0ms !important; }
  .cursor { display: none; }
}
