/* ============================================================
   BAULYNQ — construction technology
   Minimal mono-typography, safety-amber accent.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --ink: #0a0a0a;
  --ink2: #5a5a5a;
  --ink3: #a8a8a8;
  --line: rgba(0,0,0,.09);
  --line-strong: rgba(0,0,0,.18);

  --accent: #FF5C1A;        /* safety amber */
  --accent-2: #1a1a1a;
  --accent-soft: rgba(255,92,26,.10);
  --ok: #14d05a;
  --warn: #ffc107;
  --err: #ff1a1a;

  --fs: 'Geist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --fm: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --eio:  cubic-bezier(0.65, 0, 0.35, 1);

  --g: clamp(24px, 5.5vw, 88px);
  --w: 1320px;
  --header-h: 74px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --ink: #ffffff;
  --ink2: #9a9a9c;
  --ink3: #555558;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.20);
  --accent: #FF7A3A;
  --accent-soft: rgba(255,122,58,.14);
  color-scheme: dark;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fs);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; background: none; border: 0; outline: none; }
::selection { background: var(--ink); color: var(--bg); }

@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: none !important; }
}

/* ----- Typography ----- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
h1 { font-size: clamp(2.1rem, 8.2vw, 7rem); letter-spacing: -0.055em; line-height: 0.96; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.035em; }
p  { margin: 0; color: var(--ink2); font-size: clamp(.98rem, 1.15vw, 1.1rem); }

.kicker {
  font-family: var(--fm);
  font-size: clamp(.7rem, .85vw, .78rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  background: var(--bg-soft);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,92,26,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,92,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,92,26,0); }
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding-left: var(--g);
  padding-right: var(--g);
}

main > section {
  padding-block: clamp(72px, 10vw, 160px);
  border-top: 1px solid var(--line);
  position: relative;
}
main > section:first-of-type { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 880px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.section-head .kicker { margin-bottom: 4px; }
.section-head p { max-width: 60ch; }

/* ----- Header / Pill Nav ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding-inline: var(--g);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  z-index: -1;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -.025em;
}
/* Brand lockup (logo). Logo PNG ships on white, so we use blend modes
   to drop the white on light themes and invert+screen for dark themes —
   keeping a single asset crisp across both. */
.brand .logo-lockup {
  display: block;
  height: 26px;
  width: auto;
  mix-blend-mode: multiply;          /* light: white background drops out */
}
[data-theme="dark"] .brand .logo-lockup {
  filter: invert(1);                  /* black → white */
  mix-blend-mode: screen;             /* dark: black background drops out */
}
@media (min-width: 1100px) {
  .brand .logo-lockup { height: 28px; }
}
.brand .logo-mark {
  display: block;
  height: 30px;
  width: auto;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .brand .logo-mark {
  filter: invert(1);
  mix-blend-mode: screen;
}
.brand:hover .logo-lockup,
.brand:hover .logo-mark { transform: translateY(-1px); transition: transform .35s var(--ease); }

.nav-shell {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  padding: 5px;
  isolation: isolate;
}
.nav-pill .nav-link {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  font-family: var(--fm);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--ink2);
  border-radius: var(--r-pill);
  transition: color .35s var(--ease);
  white-space: nowrap;
}
.nav-pill .nav-link:hover { color: var(--ink); }
.nav-pill .nav-link.active { color: var(--bg); }
.nav-cursor {
  position: absolute;
  top: 5px;
  height: calc(100% - 10px);
  background: var(--ink);
  border-radius: var(--r-pill);
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .35s var(--ease);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}
.nav-pill.is-ready .nav-cursor { opacity: 1; }
/* When set by JS during first paint / resize, disable the slide so the
   indicator snaps to the correct link without easing across the pill. */
.nav-pill.is-snapping .nav-cursor { transition: none !important; }

.nav-actions { display: inline-flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { background: var(--bg); border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn svg { width: 16px; height: 16px; }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.cta-pill:hover { transform: translateY(-1px); }
.cta-pill svg { width: 14px; height: 14px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 0;
}
.lang-switch button {
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .12em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  color: var(--ink3);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.lang-switch button.is-active { color: var(--bg); background: var(--ink); }

/* Language switching is done by JS (applyLang in app.js) — it overwrites
   each element's textContent from the active data-${lang} attribute, so no
   CSS visibility rules are needed. Elements that carry BOTH data-en and
   data-de live in place; only their text content changes. */

@media (max-width: 820px) {
  /* Hide desktop primary nav + CTA, keep lang switch + theme toggle. */
  .nav-pill { display: none; }
  .nav-actions .cta-pill { display: none; }

  /* Tighter header — phones don't have horizontal room for the gutter. */
  .site-header { padding-inline: 16px; }
  .nav-shell { gap: 6px; }
  .brand .logo-lockup { height: 22px; }

  /* Make the right-side controls hit the 44x44 touch target minimum. */
  .icon-btn { width: 42px; height: 42px; }
  .lang-switch button { padding: 9px 12px; }
  .mobile-bottom-nav a { padding: 11px 14px; }

  /* Reserve space below content for the floating mobile-bottom-nav so it
     stops covering the Send button / footer base. Add the iOS home-bar
     safe area to both so the bar lifts above the home indicator. */
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav { bottom: calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 540px) {
  /* Stack hero CTAs full-width — wrapped pills read as accidental. */
  .hero-ctas { width: 100%; }
  .hero-ctas .liq { width: 100%; justify-content: center; padding: 14px 20px; }
  /* Single-column grids well below the auto-fit min, no horizontal scroll. */
  .platform-grid, .numbers-grid, .industries { grid-template-columns: 1fr; }
}

/* ----- Mobile bottom nav ----- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-radius: var(--r-pill);
}
.mobile-bottom-nav a {
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .08em;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--ink2);
  white-space: nowrap;
}
.mobile-bottom-nav a.active { color: var(--bg); background: var(--ink); }
@media (max-width: 820px) { .mobile-bottom-nav { display: inline-flex; } }

/* ----- Liquid (magnetic) buttons ----- */
.liq {
  --tx: 0px;
  --ty: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--fs);
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: -.005em;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transform: translate(var(--tx), var(--ty));
  transition: transform .55s var(--ease), background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.liq::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 80%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.liq:hover::after { opacity: 1; }
.liq svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.liq:hover svg { transform: translateX(3px); }

.liq-d { background: var(--ink); color: var(--bg); }
.liq-l { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.liq-l:hover { background: var(--bg-soft); border-color: var(--ink); }
.liq-a { background: var(--accent); color: #fff; }
.liq-a::after { background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%); }
.liq-sm { padding: 11px 18px; font-size: .85rem; }

/* ----- Hero ----- */
.hero {
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 120px));
  padding-bottom: clamp(80px, 12vw, 180px);
  border-top: 0 !important;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px circle at 18% 38%, var(--accent-soft), transparent 60%),
    radial-gradient(560px circle at 92% 78%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(24px, 4vw, 56px); }
.hero-eye { display: inline-flex; }
.hero h1 { max-width: 16ch; }
.hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.hero h1 .strike {
  position: relative;
  display: inline-block;
}
.hero h1 .strike::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 55%;
  height: 4px;
  background: var(--accent);
  transform-origin: left;
  animation: strike 1.2s var(--ease) .9s forwards;
  transform: scaleX(0);
}
@keyframes strike { to { transform: scaleX(1); } }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--ink2);
  max-width: 56ch;
  line-height: 1.5;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.hero-meta {
  margin-top: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero-meta .m-k {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 8px;
}
.hero-meta .m-v {
  font-family: var(--fs);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.numbers-cell .n-v { font-variant-numeric: tabular-nums; }
.hero-meta .m-v small {
  font-family: var(--fm);
  font-size: .55em;
  color: var(--ink2);
  font-weight: 400;
  letter-spacing: .05em;
  margin-left: 6px;
}

.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: var(--g);
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll::after {
  content: "";
  width: 22px; height: 1px; background: currentColor;
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleX(0); transform-origin: left; }
  50%  { transform: scaleX(1); transform-origin: left; }
  51%  { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ----- Marquee ----- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: 28px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--fm);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  letter-spacing: .04em;
  color: var(--ink2);
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  white-space: nowrap;
}
.marquee-item::after {
  content: "▴";
  color: var(--accent);
  font-size: .8em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- Platform cards (with icon, expand on hover) ----- */
.platform-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.pcard {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
  isolation: isolate;
  overflow: hidden;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--ink); }
.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: -1;
}
.pcard:hover::before { opacity: 1; }

.pcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.pcard-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.pcard:hover .pcard-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.pcard-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.pcard-tag {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--ink3);
  text-transform: uppercase;
}

.pcard h3 { margin-bottom: 14px; }
.pcard .p-desc { color: var(--ink2); margin-bottom: 24px; }
.pcard .p-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--ink2);
  text-transform: uppercase;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pcard .p-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pcard .p-foot span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----- Numbers band ----- */
.numbers {
  background: var(--ink);
  color: var(--bg);
}
.numbers .container { padding-block: clamp(48px, 6vw, 88px); }
.numbers-grid {
  display: grid;
  gap: 1px;
  background: color-mix(in srgb, var(--bg) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--bg) 15%, transparent);
  border-radius: var(--r-md);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.numbers-cell {
  background: var(--ink);
  padding: clamp(28px, 3vw, 44px);
}
.numbers-cell .n-k {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bg) 55%, transparent);
  margin-bottom: 12px;
}
.numbers-cell .n-v {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}
.numbers-cell .n-v small {
  font-family: var(--fm);
  font-size: .35em;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .04em;
  margin-left: 8px;
}
.numbers-cell .n-foot {
  font-size: .85rem;
  color: color-mix(in srgb, var(--bg) 60%, transparent);
  margin-top: 8px;
}

/* ----- How-it-works (process steps with center line) ----- */
.flow {
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  position: relative;
}
.flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(20px, 3vw, 56px);
  position: relative;
}
.flow-row:nth-child(even) { direction: rtl; }
.flow-row:nth-child(even) > * { direction: ltr; }
.flow-text { padding-block: 24px; }
.flow-text h3 { margin-bottom: 12px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.flow-text p { font-size: .98rem; }
.flow-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  display: grid; place-items: center;
  font-family: var(--fm);
  font-weight: 500;
  font-size: .85rem;
  position: relative;
  z-index: 2;
  margin-top: 24px;
}
.flow-num::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -100%;
  height: 200%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
  z-index: -1;
}
.flow-row:first-child .flow-num::before { top: 0; height: 100%; }
.flow-row:last-child  .flow-num::before { height: 100%; }
.flow-visual {
  padding-block: 24px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.5vw, 32px);
}
.flow-visual .fv-label {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px;
}
.flow-visual code {
  font-family: var(--fm);
  font-size: .85rem;
  color: var(--ink);
  white-space: pre-wrap;
  display: block;
  line-height: 1.7;
}
.flow-visual code .k { color: var(--accent); font-weight: 500; }
.flow-visual code .c { color: var(--ink3); }

@media (max-width: 760px) {
  .flow-row, .flow-row:nth-child(even) { direction: ltr; grid-template-columns: 32px 1fr; gap: 18px; }
  .flow-row > .flow-visual { grid-column: 2; }
  .flow-row > .flow-num    { grid-column: 1; grid-row: 1 / span 2; margin-top: 6px; width: 32px; height: 32px; font-size: .72rem; }
  .flow-row > .flow-text   { grid-column: 2; padding-block: 0; }
  /* Connector spine reaches into the gap between rows so the timeline
     reads continuous, not a floating stub per row. */
  .flow-row > .flow-num::before { top: -100%; height: 300%; }
  .flow-row:first-child .flow-num::before { top: 0; height: 200%; }
  .flow-row:last-child  .flow-num::before { top: -100%; height: 200%; }
}

/* ----- Industries grid ----- */
.industries {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}
.industry {
  background: var(--bg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .35s var(--ease);
  min-height: 180px;
}
.industry:hover { background: var(--bg-soft); }
.industry .ind-num {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--ink3);
  text-transform: uppercase;
}
.industry h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.industry p { font-size: .9rem; color: var(--ink2); margin-top: auto; }

/* ----- Quote / proof ----- */
.proof {
  padding: clamp(36px, 4.5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
}
.proof blockquote {
  margin: 0 0 32px 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
  max-width: 32ch;
}
.proof blockquote .accent { color: var(--accent); }
.proof-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--fm);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--ink2);
}
.proof-foot strong { color: var(--ink); font-weight: 500; }

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-headline { font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.05em; line-height: 1; max-width: 14ch; }
.contact-headline .accent { color: var(--accent); font-style: italic; font-weight: 500; }
.contact-sub { margin-top: 24px; color: var(--ink2); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 46ch; }
.contact-card {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
}
.contact-direct {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.contact-direct .label {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 4px;
}
.contact-direct .value { font-size: 1.05rem; font-weight: 500; letter-spacing: -.015em; }
.contact-direct a { display: inline-flex; align-items: center; gap: 8px; }
.contact-direct a:hover { color: var(--accent); }
.contact-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; position: relative; }
.field label {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
}
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .98rem;
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.form-foot p {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin: 0;
}

/* ----- Footer ----- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 88px); }
.footer-inner { display: grid; gap: clamp(32px, 4vw, 56px); grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--ink2); max-width: 32ch; font-size: .95rem; }
.footer-col h4 {
  font-family: var(--fm);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink3);
  font-weight: 400;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--ink2); font-size: .95rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-base {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.footer-base, .footer-base * {
  font-family: var(--fm);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
}

/* ----- Custom cursor ----- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s var(--ease);
  opacity: 0;
}
.cursor.is-ready { opacity: 1; }
.cursor.is-hover { width: 36px; height: 36px; }
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), opacity .25s var(--ease);
  opacity: 0;
}
.cursor-ring.is-ready { opacity: .35; }
.cursor-ring.is-hover { width: 60px; height: 60px; opacity: .65; }
@media (pointer: coarse), (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ----- Reveal ----- */
[data-rv] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-rv].is-rv { opacity: 1; transform: none; }
[data-rv-delay="1"].is-rv { transition-delay: .08s; }
[data-rv-delay="2"].is-rv { transition-delay: .16s; }
[data-rv-delay="3"].is-rv { transition-delay: .24s; }
[data-rv-delay="4"].is-rv { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-rv] { opacity: 1; transform: none; }
  .hero h1 .strike::after { transform: scaleX(1); }
}
