/* Wouter Lochner, lochnerdesign.com
   An engineering document, not a brochure: ink on a chroma-zero off-white sheet,
   one drafting-blue accent carried into a drenched contact block.
   Type: Archivo (grotesque with an engineering-manual feel) + DM Mono for title-block labels.
   Corners: all sharp. Spacing on an 8px grid. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/Archivo-400.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/DMMono-400.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/DMMono-500.woff2") format("woff2"); }

:root {
  --bg: oklch(95.5% 0.003 100);
  --bg-2: oklch(92.5% 0.004 100);
  --ink: oklch(22% 0.012 260);
  --ink-2: oklch(40% 0.012 260);
  --ink-3: oklch(54% 0.012 260);
  --rule: oklch(82% 0.006 260);
  --rule-strong: var(--ink);
  --accent: oklch(46% 0.16 262);
  --accent-deep: oklch(34% 0.13 262);
  --accent-ink: oklch(98% 0.005 262);
  --accent-soft: oklch(46% 0.16 262 / 0.08);
  --on-accent: oklch(97% 0.01 262);
  --on-accent-2: oklch(86% 0.03 262);
  --on-accent-rule: oklch(97% 0.01 262 / 0.28);
  --ph-bg: oklch(94% 0.09 95);
  --ph-ink: oklch(38% 0.09 80);
  --err: oklch(50% 0.17 28);
  --ok: oklch(45% 0.12 155);
  --wa: oklch(47% 0.14 152);
  --wa-ink: oklch(99% 0.01 150);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);       /* ease-out-expo */
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* z scale */
  --z-progress: 1;
  --z-sticky: 10;
  --z-fab: 20;
  --z-skip: 30;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(18% 0.008 260);
    --bg-2: oklch(21% 0.009 260);
    --ink: oklch(92% 0.005 100);
    --ink-2: oklch(76% 0.008 260);
    --ink-3: oklch(60% 0.01 260);
    --rule: oklch(32% 0.01 260);
    --accent: oklch(72% 0.13 262);
    --accent-deep: oklch(30% 0.11 262);
    --accent-ink: oklch(18% 0.03 262);
    --accent-soft: oklch(72% 0.13 262 / 0.12);
    --on-accent: oklch(96% 0.01 262);
    --on-accent-2: oklch(82% 0.03 262);
    --on-accent-rule: oklch(96% 0.01 262 / 0.22);
    --ph-bg: oklch(30% 0.07 90);
    --ph-ink: oklch(88% 0.12 95);
    --err: oklch(72% 0.15 28);
    --ok: oklch(78% 0.13 155);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(26px, 2.4vw + 12px, 36px); margin-bottom: clamp(20px, 3vw, 32px); max-width: 24ch; position: relative; padding-bottom: 12px; }
h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--accent); transform: scaleX(1); transform-origin: left; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl { margin: 0; }
dt { font-weight: 600; }
dd { margin: 0 0 16px; color: var(--ink-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(44px, 6vw, 76px) 0; border-top: 1px solid var(--rule); }
section:first-of-type { border-top: 0; }

.k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Placeholders stay loud on purpose until every open item is resolved. */
.ph {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--ph-bg);
  color: var(--ph-ink);
  padding: 1px 6px;
  white-space: nowrap;
}
.placeholder-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ph-ink);
  background: var(--ph-bg);
  display: inline-block;
  padding: 6px 10px;
  margin-top: 8px;
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: var(--z-skip);
  background: var(--ink); color: var(--bg); padding: 8px 12px;
}
.skip:focus { left: 8px; }

/* ── Header + reading progress ─────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 600; font-size: 15px; }
.brand-role { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.nav { display: none; gap: 28px; align-items: center; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { color: var(--accent) !important; font-weight: 600; }
@media (min-width: 768px) { .nav { display: flex; } }

/* Thin accent rule that grows with scroll: position feedback, no JS.
   Falls back to nothing where scroll timelines are unsupported. */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: var(--z-progress); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 600 15px/1 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink);
  transition: transform 0.15s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent-deep); transform: translateY(101%);
  transition: transform 0.35s var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 8px 24px -12px var(--accent); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
@media (prefers-color-scheme: dark) {
  .btn-primary::before { background: oklch(80% 0.11 262); }
}

/* ── 1. Hero ───────────────────────────────────────────────── */
.hero { padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(32px, 3.6vw + 10px, 50px);
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin-bottom: 20px;
}
.lede { font-size: clamp(17px, 1.2vw + 10px, 19px); color: var(--ink-2); max-width: 46ch; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.hero-figure { margin: 0; color: var(--ink); }
.draft { width: 100%; height: auto; display: block; }
.draft .bore { fill: var(--bg); }
.draft .dim { color: var(--accent); }
.mono-svg { font-family: var(--mono); font-size: 12px; fill: currentColor; letter-spacing: 0.08em; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 8fr 4fr; gap: 56px; }
}

/* The one signature animation: the drawing draws itself, in drafting order.
   Outline, bore, centrelines, then dimensions and labels. Static and complete under reduced motion. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-figure { animation: rise 0.9s var(--ease) 0.2s both, drift linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 70vh; }
    @keyframes drift { to { transform: translateY(-48px); opacity: 0.55; } }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .draft .sweep { animation: sweep 1.6s var(--ease-quart) 2.7s both; }
  @keyframes sweep { 0% { opacity: 0; transform: translateX(90px); } 10% { opacity: 0.9; } 90% { opacity: 0.9; } 100% { opacity: 0; transform: translateX(430px); } }
  .draft .sweep { color: var(--accent); }
  h2.rv::after { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.25s; }
  h2.rv.in::after { transform: scaleX(1); }
  .hero-copy > * { animation: rise 0.8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  .draft .grid-bg { animation: fade 1.2s var(--ease-quart) both; }
  .draft .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s var(--ease-quart) forwards; }
  .draft .d1 { animation-delay: 0.3s; }
  .draft .d2 { animation-delay: 0.9s; animation-duration: 0.7s; }
  .draft .d3 { animation-delay: 1.3s; animation-duration: 0.7s; }
  .draft .d4 { animation-delay: 1.8s; animation-duration: 0.6s; }
  .draft .fill-hatch { animation: fade 0.8s var(--ease-quart) 1.5s both; }
  .draft .d5 { animation: fade 0.5s var(--ease-quart) 2.3s both; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

/* ── 2. About ──────────────────────────────────────────────── */
.about { padding-top: clamp(32px, 4vw, 48px); }
.prose { max-width: 68ch; font-size: 16px; }
.prose p:first-child { font-weight: 600; font-size: clamp(20px, 1.4vw + 12px, 24px); color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 24px; }
.prose p { color: var(--ink-2); }

/* ── 3. Projects register ──────────────────────────────────── */
.register { border-top: 2px solid var(--rule-strong); }
.register-row {
  display: grid; gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
/* Hover: a short accent tick at the row's left edge, the way a revision cloud flags a change. */
.register-row::before {
  content: ""; position: absolute; left: 0; top: 28px; width: 3px; height: 0;
  background: var(--accent); transition: height 0.35s var(--ease);
}
.register-row:hover::before { height: 32px; }
.reg-title h3 { font-size: clamp(26px, 2vw + 12px, 32px); letter-spacing: -0.02em; transition: transform 0.35s var(--ease); }
.register-row:hover .reg-title h3 { transform: translateX(14px); }
.reg-org { color: var(--ink-2); margin: 6px 0 0; }
.reg-body p { margin-bottom: 8px; color: var(--ink-2); }
.reg-role { color: var(--ink) !important; }
.reg-role .k { margin-right: 8px; }
.why { color: var(--ink) !important; }
@media (min-width: 768px) {
  .register-row { grid-template-columns: 5fr 7fr; gap: 32px; padding: 26px 0; }
  .register-row::before { top: 26px; }
}

.clients { margin: 20px 0 0; }
.clients .k { display: block; margin-bottom: 10px; }
.marquee { position: relative; overflow: hidden; display: flex; gap: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; flex: none; gap: 0; padding-right: 0; white-space: nowrap; }
.marquee-track li { font-size: 15px; color: var(--ink-2); padding: 0 22px 0 0; display: inline-flex; align-items: center; gap: 22px; }
.marquee-track li::after { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: slide 48s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex-wrap: wrap; white-space: normal; row-gap: 6px; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ── 3b. Selected work: uniform white boxes, one row open, the rest on demand ── */
.work-intro { color: var(--ink-2); margin: -8px 0 20px; }
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.tile {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0;
  background: #ffffff; border: 1px solid var(--rule); padding: 10px 10px 8px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 40px -24px oklch(20% 0.02 260 / 0.6); }
.tile img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #ffffff; }
.tile figcaption { padding: 8px 2px 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: #4a4f57; border-top: 1px solid #e6e6e2; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-color-scheme: dark) {
  .tile { border-color: oklch(40% 0.01 260); }
  .tile:hover { box-shadow: 0 18px 40px -20px oklch(0% 0 0 / 0.8); }
}
.expander { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); min-width: 0; }
.expander-inner { overflow: hidden; min-height: 0; }
.expander-inner .mosaic { padding-top: 12px; }
@media (min-width: 900px) { .expander-inner .mosaic { padding-top: 14px; } }
.expander.open { grid-template-rows: 1fr; }
.expander[inert] { visibility: hidden; }
.expander { transition: grid-template-rows 0.6s var(--ease), visibility 0s linear 0.6s; }
.expander.open { visibility: visible; transition: grid-template-rows 0.6s var(--ease), visibility 0s; }
html:not(.js) .expander { grid-template-rows: 1fr; }
html:not(.js) .btn-expand { display: none; }
.btn-expand { margin-top: 20px; }
.lb { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; }
.lb::backdrop { background: oklch(12% 0.01 260 / 0.92); }
.lb img { display: block; max-width: 96vw; max-height: 84vh; width: auto; height: auto; margin: 0 auto; background: #fff; }
.lb-cap { margin: 12px 0 0; text-align: center; color: #f2f2ef; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.lb-close { position: fixed; top: 16px; right: 16px; background: #f2f2ef; color: #1c1f24; border: 0; padding: 10px 14px; font: 600 14px var(--sans); cursor: pointer; }

/* ── 4. Services ───────────────────────────────────────────── */
.svc-grid { display: grid; gap: 20px 32px; }
.svc { padding-top: 16px; border-top: 1px solid var(--rule); position: relative; }
.svc::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--accent); transition: width 0.45s var(--ease); }
.svc:hover::before { width: 100%; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--ink-2); margin: 0; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* ── 5. Compare ────────────────────────────────────────────── */
.cmp-grid { display: grid; gap: 24px; }
.cmp-col { padding: 24px 28px; border: 1px solid var(--rule); }
.cmp-col h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 20px; }
.cmp-col dd:last-child { margin-bottom: 0; }
.cmp-col-accent { border-color: var(--accent); background: var(--accent-soft); }
.cmp-col-accent h3 { color: var(--accent); border-color: var(--accent); }
@media (min-width: 768px) { .cmp-grid { grid-template-columns: minmax(0, 720px); gap: 32px; } }

/* ── 6. Tools ──────────────────────────────────────────────── */
.tool-groups { display: grid; gap: 28px; }
.tool-group h3 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 12px; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--rule-strong); padding: 8px 14px; font-size: 14px; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.tags li:hover { background: var(--ink); color: var(--bg); }
.tags li.tag-past { border-style: dashed; color: var(--ink-2); }
@media (min-width: 768px) { .tool-groups { grid-template-columns: 1fr 1fr 2fr; gap: 40px; } }

/* ── 7. Engage ─────────────────────────────────────────────── */
.facts { display: grid; gap: 0; border-top: 2px solid var(--rule-strong); }
.fact { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.fact dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }
.fact dd { margin: 0; color: var(--ink); }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 22px 24px 22px 0; border-right: 1px solid var(--rule); }
  .fact + .fact { padding-left: 24px; }
  .fact:last-child { border-right: 0; }
}

/* ── 7b. FAQ ───────────────────────────────────────────────── */
.faq-list { max-width: 72ch; border-top: 2px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-2); max-width: 66ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] p { animation: rise 0.4s var(--ease) both; }
}

/* ── 8. Contact: the accent carries this block ─────────────── */
.contact { background: var(--accent-deep); color: var(--on-accent); border-top: 0; }
.contact h2 { color: var(--on-accent); }
.contact-grid { display: grid; gap: 40px; }
.contact-intro p { color: var(--on-accent-2); max-width: 44ch; }
.alt-channel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.alt-channel .k { color: var(--on-accent-2); }
.alt-channel a { color: var(--on-accent); font-weight: 600; }
.wa-link {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 8px 0 24px; padding: 14px 18px;
  background: var(--wa); color: var(--wa-ink);
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-link:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -12px oklch(0% 0 0 / 0.6); }
.wa-link:active { transform: translateY(1px); }
.wa-icon { width: 22px; height: 22px; flex: none; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { font-weight: 600; font-size: 14px; color: var(--on-accent); }
legend { padding: 0; margin-bottom: 6px; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%;
  font: 16px/1.4 var(--sans);
  color: var(--on-accent);
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid var(--on-accent-rule);
  border-radius: 0;
  padding: 12px 14px;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--on-accent); background: oklch(100% 0 0 / 0.1);
  box-shadow: 0 0 0 3px oklch(100% 0 0 / 0.15);
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--on-accent) 50%), linear-gradient(135deg, var(--on-accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
select option { color: var(--ink); background: var(--bg); }
textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid textarea { border-color: oklch(85% 0.12 28); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; min-height: 44px; }
.checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--on-accent); }
.help { font-size: 13px; color: var(--on-accent-2); margin: 0; }
.err { font-size: 13px; color: oklch(88% 0.1 28); margin: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: oklch(90% 0.1 155); }
.form-status.bad { color: oklch(88% 0.1 28); }
.form.sent .btn-send { display: none; }
.contact .btn-primary { background: var(--on-accent); border-color: var(--on-accent); color: var(--accent-deep); }
.contact .btn-primary::before { background: var(--on-accent-2); }
.contact .btn-primary:hover { box-shadow: none; }
.contact .btn:focus-visible { outline-color: var(--on-accent); }
.form-status.ok::before {
  content: ""; display: inline-block; width: 10px; height: 16px; margin: 0 10px -3px 2px;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .form-status.ok::before { animation: tick 0.4s var(--ease) both; }
  @keyframes tick { from { opacity: 0; transform: rotate(45deg) scale(0.4); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
}

/* ── 9. Footer, title block ────────────────────────────────── */
.foot { padding: 40px 0 32px; border-top: 2px solid var(--rule-strong); }
.title-block { display: grid; border: 1px solid var(--rule-strong); }
.tb-cell { display: grid; gap: 4px; padding: 12px 16px; border-bottom: 1px solid var(--rule-strong); font-size: 14px; }
.tb-cell:last-child { border-bottom: 0; }
.tb-credit a { color: var(--accent); font-weight: 600; }
@media (min-width: 768px) {
  .title-block { grid-template-columns: 1fr 1.4fr 1fr 1fr 1fr; }
  .tb-cell { border-bottom: 0; border-right: 1px solid var(--rule-strong); }
  .tb-cell:last-child { border-right: 0; }
}
.fine { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin: 16px 0 0; }

/* ── Floating WhatsApp ─────────────────────────────────────── */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px 0 14px;
  background: var(--wa); color: var(--wa-ink);
  text-decoration: none; font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 32px -12px oklch(0% 0 0 / 0.5);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.wa-fab svg { width: 24px; height: 24px; }
.wa-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab:active { transform: translateY(1px); }
html:not(.js) .wa-fab { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 480px) { .wa-fab-label { display: none; } .wa-fab { padding: 0 14px; } }

/* ── Scroll reveals: real lists only, sibling stagger, visible by default ── */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  html.js .rv.in { opacity: 1; transform: none; }
}
