/* DeltaDesign — Premium site styles */

:root {
  --bg: #ffffff;
  --bg-tint: #f6f5f1;
  --bg-soft: #fafaf8;
  --ink: #0a0a0b;
  --ink-2: #1c1d20;
  --muted: #6b6d72;
  --muted-2: #9a9c9f;
  --line: rgba(10, 10, 11, 0.08);
  --line-strong: rgba(10, 10, 11, 0.14);
  --delta: #1b3a5e;
  --delta-2: #234a78;
  --delta-tint: rgba(27, 58, 94, 0.06);
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1480px;
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: clip;
}

/* Lenis smooth scroll integration — Lenis voegt zelf .lenis class
   toe op <html>. Native scroll-behavior moet uit anders fight het. */
html.lenis { scroll-behavior: auto; }
html.lenis-smooth { scroll-behavior: auto !important; }
html.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis-stopped { overflow: clip; }
html.lenis-smooth iframe { pointer-events: none; }

/* Fallback voor wanneer Lenis niet laadt (geen JS / CDN faalt) */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-feature-settings: "ss01", "cv11";
}

a {
  color: inherit;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

::selection {
  background: var(--delta);
  color: #fff;
  text-shadow: none;
}
::-moz-selection {
  background: var(--delta);
  color: #fff;
  text-shadow: none;
}

/* ============ Type ============ */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--delta);
  margin-right: 8px;
  vertical-align: 1px;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(56px, 11.5vw, 196px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.display-2 {
  font-size: clamp(44px, 7.5vw, 128px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.h2 {
  font-size: clamp(32px, 4.6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.h3 {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  max-width: 60ch;
  text-wrap: pretty;
}

p { text-wrap: pretty; }

.body { color: var(--ink-2); font-size: 17px; line-height: 1.62; max-width: 62ch; }

.muted { color: var(--muted); }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

.delta-color { color: var(--delta); }

/* ============ Layout ============ */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(80px, 12vw, 180px) 0;
  position: relative;
}

.section-sm { padding: clamp(60px, 8vw, 120px) 0; }

.grid { display: grid; gap: 24px; }

.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ============ Nav ============ */

.nav {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid rgba(10, 10, 11, 0.06);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 28px rgba(10, 10, 11, 0.06);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav-inner.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 12px 36px rgba(10, 10, 11, 0.1);
  border-color: rgba(10, 10, 11, 0.08);
}

.nav-brand {
  display: flex;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}

.nav-logo {
  height: 72px;
  width: auto;
  display: block;
}

.nav-brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.nav-brand-mark svg { width: 100%; height: 100%; }

.nav-brand-word {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 16px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-link {
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  position: relative;
}

.nav-link:hover {
  background: rgba(10, 10, 11, 0.04);
}

.nav-link.is-active {
  color: var(--delta);
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--delta);
  opacity: 0.35;
}

.nav-cta {
  margin-left: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover { background: var(--delta); transform: translateY(-1px); }

.nav-cta .arrow {
  width: 14px; height: 14px;
  transition: transform 0.3s var(--ease);
}
.nav-cta:hover .arrow { transform: translate(2px, -2px); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { padding: 6px 8px 6px 14px; }
  .nav-logo { height: 44px; }
  .nav-brand { padding-right: 12px; margin-right: 0; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: 100px var(--pad) 40px;
  gap: 8px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.is-active { color: var(--delta); }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  font-family: inherit;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--delta); transform: translateY(-1px); }

.btn-delta {
  background: var(--delta);
  color: #fff;
}
.btn-delta:hover { background: var(--delta-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1FBA59; transform: translateY(-1px); }

.btn .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ============ Cards ============ */

.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(10, 10, 11, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 16px 40px rgba(10, 10, 11, 0.04);
}

/* ============ Footer ============ */

.footer {
  background: #0a0a0b;
  color: #ededee;
  padding: clamp(60px, 8vw, 120px) 0 32px;
  margin-top: 0;
}
.footer .container > .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer h4 {
  font-size: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer .col a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  padding: 6px 0;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer .col a:hover { color: #fff; transform: translateX(2px); }

.footer-logo {
  height: 76px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.005em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .bottom .delta-mark {
  width: 28px; height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  margin-right: 12px;
  vertical-align: middle;
}
.footer .bottom .bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer .bottom .legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer .bottom .legal-links a {
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer .bottom .legal-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.footer .bottom .legal-links .sep { color: rgba(255, 255, 255, 0.3); }

@media (max-width: 880px) {
  .footer .container > .top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ============ Reveal animations ============ */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

[data-reveal="char"] .ch {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
[data-reveal="char"].is-in .ch { transform: translateY(0); }
[data-reveal="char"] .ch-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; }

/* Multi-line h1's met char-reveal per regel: elke .line is een eigen
   blok, en .line-italic geeft de delta-accent regel z'n stijl */
.display .line, .display-2 .line, .h2 .line { display: block; }
.line-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--delta);
  letter-spacing: -0.03em;
}

/* ============ Marquee ============ */

.marquee {
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 72px;
  animation: marquee 38s linear infinite;
  align-items: center;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-item .dot {
  width: 8px; height: 8px; border-radius: 99px; background: var(--delta);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Hero ambient watermark — big serif italic phrase als bg-laag ============ */
.hero-watermark {
  position: absolute;
  bottom: -2vw;
  left: -2vw;
  right: -2vw;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(96px, 18vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--delta);
  opacity: 0.05;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.6s var(--ease);
}
.hero:hover .hero-watermark { opacity: 0.07; }
@media (max-width: 880px) {
  .hero-watermark { font-size: clamp(80px, 22vw, 160px); bottom: -4vw; }
}

/* ============ Footer Δ-watermark — grote glyph als brand-mark achter footer-content ============ */
.footer { position: relative; overflow: hidden; }
.footer::before {
  content: "Δ";
  position: absolute;
  right: -2vw;
  bottom: -12vw;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(280px, 38vw, 560px);
  line-height: 0.85;
  color: #fff;
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  z-index: 0;
}
.footer .container { position: relative; z-index: 1; }

/* ============ Ambient glow rond big-delta op homepage 'Why DeltaDesign' ============ */
.name-glyph { position: relative; }
.name-glyph::before {
  content: "";
  position: absolute;
  inset: -10% -10%;
  background: radial-gradient(circle at center, rgba(27,58,94,0.18), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.name-glyph.is-in::before, .name-glyph[data-reveal].is-in::before {
  opacity: 1;
}
.name-glyph > * { position: relative; z-index: 1; }

/* ============ Film grain noise — premium texture op donkere sections ============ */
.has-grain {
  position: relative;
}
.has-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.has-grain > * { position: relative; z-index: 2; }

/* ============ Scroll progress bar (top of page, premium signature) ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--delta), #87b3e1);
  z-index: 999;
  transition: width 0.05s linear;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(27, 58, 94, 0.4);
}

/* ============ CTA halo — subtle pulsing glow achter primary buttons ============ */
.btn-primary, .btn-delta {
  position: relative;
  z-index: 1;
}
.btn-primary::before, .btn-delta::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.4s var(--ease);
}
.btn-primary:hover::before, .btn-delta:hover::before { opacity: 0.6; }

/* ============ Mask reveal — diagonal clip-path bij scroll-in ============
   IMPORTANT: default state = ZICHTBAAR. Alleen JS armeert het (klasse
   .mask-armed) als het element NOG NIET in viewport zit bij init.
   Zonder JS / bij race conditions blijven elementen visible. */
[data-mask-reveal] {
  transition: clip-path 1.4s var(--ease-out);
}
[data-mask-reveal].mask-armed {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
[data-mask-reveal].mask-armed.is-in {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
[data-mask-reveal="right"].mask-armed {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
[data-mask-reveal="right"].mask-armed.is-in {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
[data-mask-reveal="diagonal"] {
  transition: clip-path 1.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============ Cursor blob (desktop) ============ */
.cursor-blob {
  position: fixed;
  top: 0; left: 0;
  width: 360px; height: 360px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(27,58,94,0.10), rgba(27,58,94,0) 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%) translate3d(0,0,0);
  transition: opacity 0.4s var(--ease);
  opacity: 0;
  mix-blend-mode: multiply;
  will-change: transform;
}
.cursor-blob.is-active { opacity: 1; }
@media (max-width: 880px), (pointer: coarse) {
  .cursor-blob { display: none; }
}

/* ============ Card tilt — subtle 3D ============ */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
@media (max-width: 880px), (pointer: coarse) {
  .tilt { transform: none !important; }
}

/* ============ Section marker — line draws in on reveal ============ */
/* Alleen draw-in animatie als data-reveal aanwezig is — anders direct zichtbaar */
.section-marker[data-reveal] .line {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}
.section-marker[data-reveal].is-in .line {
  transform: scaleX(1);
}

/* ============ Display accent — grote serif italic phrase die door scroll wordt onthuld ============ */
.display-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--delta);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  position: absolute;
  white-space: nowrap;
}

/* ============ Page transitions ============ */

.page-fade {
  animation: pageIn 0.7s var(--ease-out) both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Outgoing transition wanneer naar een andere page wordt genavigeerd */
@keyframes pageOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-12px); }
}
body.page-leaving {
  animation: pageOut 0.32s var(--ease-out) forwards;
  pointer-events: none;
}

/* ============ Cursor / utilities ============ */

.kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  /* Solid background ipv backdrop-filter blur: blur tijdens scroll
     veroorzaakt continue repaints op mobile = zichtbare jitter */
  background: rgba(255,255,255,0.95);
}

.tag .pulse {
  width: 7px; height: 7px; border-radius: 99px; background: var(--delta);
  position: relative;
}
.tag .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--delta);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

/* ============ Pinned scrolly ============ */

.scrolly {
  position: relative;
}
.scrolly-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.scrolly-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.scrolly-panel {
  flex: 0 0 100vw;
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  padding: 100px clamp(20px, 5vw, 80px);
  gap: clamp(32px, 6vw, 96px);
  background: var(--bg);
}
.scrolly-panel:nth-child(even) { background: var(--bg-tint); }

.scrolly-panel .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.scrolly-panel h3 {
  font-size: clamp(36px, 5.2vw, 88px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 20px 0 28px;
}

.scrolly-panel .desc {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 56ch;
}

.scrolly-progress {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
  pointer-events: none;
}
.scrolly-progress .pip {
  width: 28px; height: 2px; background: rgba(10,10,11,0.15);
  transition: background 0.5s var(--ease), width 0.5s var(--ease);
}
.scrolly-progress .pip.is-active { background: var(--delta); width: 44px; }

/* ============ Service visual ============ */
.svc-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(10,10,11,0.18), 0 1px 0 #fff inset;
}

.svc-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,10,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,11,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%);
}

/* utility */
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metric .num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.metric .num .unit { color: var(--delta); font-weight: 500; }
.metric .lbl {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  text-wrap: balance;
  max-width: 22ch;
  line-height: 1.4;
}

/* ============ Logo mark inline ============ */
.delta-glyph {
  font-family: var(--sans);
  font-weight: 500;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

/* ============ Marker ============ */
.section-marker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-marker .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-marker .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.section-marker .label .delta {
  color: var(--delta);
  margin-right: 8px;
}

/* ============ Card grid ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feature-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.feature-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.feature-card .ix {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.16em;
}
.feature-card h4 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}
.feature-card .body { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ============ Quote ============ */
.pull-quote {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 22ch;
  color: var(--ink);
  text-wrap: balance;
}
.pull-quote .accent { color: var(--delta); }

/* ============ Process timeline ============ */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.timeline .step {
  display: grid;
  grid-template-columns: 100px 1fr 1.4fr;
  gap: 32px;
  padding: clamp(28px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.4s var(--ease);
}
.timeline .step .ix {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--delta);
  letter-spacing: 0.14em;
  padding-top: 8px;
}
.timeline .step h4 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.timeline .step .desc {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.timeline .step:hover { background: var(--bg-soft); padding-left: 16px; }

@media (max-width: 720px) {
  .timeline .step { grid-template-columns: 1fr; gap: 12px; }
}

/* whatsapp float — disabled per spec but kept hidden for now */

/* small */
.note { font-size: 13px; color: var(--muted); }

.kbd-row { display: inline-flex; gap: 4px; align-items: center; }

/* ============ Cookie notice ============ */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: min(360px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 18px 48px rgba(10, 10, 11, 0.16), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  font-family: var(--sans);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}
.cookie-notice.is-in { opacity: 1; transform: translateY(0); }
.cookie-notice.is-leaving { opacity: 0; transform: translateY(8px); }

.cookie-notice .cn-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.cookie-notice .cn-mark {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--delta);
  flex: 0 0 8px;
}
.cookie-notice .cn-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  flex: 1;
}
.cookie-notice .cn-close {
  background: none; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--muted);
  padding: 0; width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}
.cookie-notice .cn-close:hover { color: var(--ink); background: rgba(10,10,11,0.04); }

.cookie-notice .cn-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.cookie-notice .cn-body strong { color: var(--ink); font-weight: 500; }

.cookie-notice .cn-foot {
  display: flex; align-items: center; gap: 14px;
}
.cookie-notice .cn-ok {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 9px 18px;
  border-radius: 99px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s var(--ease);
}
.cookie-notice .cn-ok:hover { background: var(--delta); }
.cookie-notice .cn-more {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.cookie-notice .cn-more:hover { color: var(--delta); border-bottom-color: rgba(27,58,94,0.3); }

@media (max-width: 520px) {
  .cookie-notice {
    bottom: 12px; right: 12px; left: 12px;
    width: auto;
  }
}
