/* NUMIDRA — commercial site (C7 final candidate; design frozen at C7 R2). Design reference: docs/ai/c7/C7_R2_UIUX_DESIGN_SYSTEM.md (UI/UX Pro).
   Premium construction technology: navy NUMIDRA, ivory, stone, ochre (machinery) accent, discreet technical blue.
   No framework, no animation library. Motion = transform / opacity only; every animation has a reduced-motion final state. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/ibmplexmono-latin-500.woff2") format("woff2"); }

:root {
  --navy-950: #0A1A33; --navy-900: #0E2140; --navy-800: #162F46; --navy-700: #1F3E5E;
  --ivory-50: #FAF8F3; --ivory-100: #F4F1EA; --stone-150: #ECE7DE; --stone-200: #E3DED4; --stone-400: #A8A195; --stone-600: #5E5A52;
  --ink: #0F1B2D; --ink-soft: #37414F;
  --ochre-300: #E0B266; --ochre-500: #C8892E; --ochre-600: #B67A24; --ochre-700: #8A5A14;
  --tech-300: #7FB3C4; --tech-600: #2F6F86;
  --on-dark: #FFFFFF; --on-dark-muted: #B9C5D4; --on-dark-soft: #9FB0C4; --line-dark: rgba(185, 197, 212, .18);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 80px); --wrap: 1280px; --wrap-wide: 1440px;
  --section-y: clamp(72px, 9vw, 144px); --header-h: 76px;
  --radius: 6px; --radius-card: 4px;
  --ease-out: cubic-bezier(.2, .7, .2, 1); --t-fast: 200ms; --t-reveal: 520ms;
  --shadow-card: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px -12px rgba(15, 27, 45, .12);
  --shadow-lift: 0 2px 4px rgba(15, 27, 45, .06), 0 18px 36px -16px rgba(15, 27, 45, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 450; color: var(--ink);
  background: var(--ivory-50); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--ochre-500); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ochre-500); color: var(--navy-950);
  font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

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

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-700);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--ochre-300); }
.eyebrow--ochre { color: var(--ochre-300); }
.h2 { font-size: clamp(32px, 3.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; color: var(--ink); max-width: 20ch; }
.h2--light { color: var(--on-dark); }
.h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -.01em; font-weight: 650; }
.h4 { font-size: 18px; line-height: 1.3; font-weight: 650; }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.lead--light { color: var(--on-dark-muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  font: 650 15.5px/1 var(--font); letter-spacing: .01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn--primary { background: var(--ochre-500); color: var(--navy-950); }
.btn--primary:hover { background: var(--ochre-300); }
.btn--primary:disabled { cursor: not-allowed; opacity: .55; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--on-dark); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ghost { border-color: var(--navy-900); color: var(--navy-900); }
.btn--ghost:hover { background: var(--navy-900); color: #fff; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--on-dark);
  transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out), color 240ms var(--ease-out); }
.site-header.is-scrolled, .site-header.is-solid { background: rgba(250, 248, 243, .97); color: var(--ink);
  box-shadow: 0 1px 0 var(--stone-200), 0 10px 30px -18px rgba(15, 27, 45, .35); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; flex: none; }
.brand__icon { width: 36px; height: 36px; }
.brand__word { font-weight: 800; font-size: 19px; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 15px; text-decoration: none;
  border-radius: var(--radius); opacity: .92; }
.site-nav__list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.site-nav__actions { display: flex; align-items: center; gap: 16px; }
.link-login { font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }
.link-login:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav__list a, .link-login, .site-nav__actions .btn { white-space: nowrap; }
@media (min-width: 1121px) and (max-width: 1279px) {
  .site-header__inner { gap: 20px; }
  .site-nav { gap: 14px; }
  .site-nav__list { gap: 0; }
  .site-nav__list a { padding: 0 8px; font-size: 14.5px; }
  .site-nav__actions { gap: 10px; }
  .site-nav__actions .btn--sm { padding: 0 14px; }
}
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--radius); }
.nav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 1080px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--navy-950);
  isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media__poster img, .hero-media__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero-media__video { opacity: 0; transition: opacity 600ms var(--ease-out); }
.hero-media__video.is-playing { opacity: 1; }
.hero-media__scrim { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 26, 51, .94) 0%, rgba(10, 26, 51, .82) 34%, rgba(10, 26, 51, .38) 62%, rgba(10, 26, 51, .28) 100%),
              linear-gradient(0deg, rgba(10, 26, 51, .78) 0%, rgba(10, 26, 51, 0) 38%); }
.hero-blueprint { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.bp-grid { fill: none; stroke: rgba(127, 179, 196, .10); stroke-width: 1; }
.bp-line { fill: none; stroke: rgba(127, 179, 196, .62); stroke-width: 1.25; }
.bp-dim { fill: none; stroke: rgba(224, 178, 102, .75); stroke-width: 1.25; }
.bp-data { fill: none; stroke: var(--ochre-300); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.bp-nodes circle { fill: var(--navy-950); stroke: var(--ochre-300); stroke-width: 2; }
.bp-label { font: 500 14px var(--mono); letter-spacing: .12em; fill: rgba(185, 197, 212, .82); }
.hero-media__toggle { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(10, 26, 51, .55); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hero-media__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__content { position: relative; padding-top: calc(var(--header-h) + clamp(80px, 12vh, 160px)); padding-bottom: clamp(40px, 7vh, 88px);
  max-width: calc(var(--wrap-wide) + 2 * var(--gutter)); }
/* the text layer must not swallow clicks aimed at the media controls (video pause button) */
.hero__content { pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__title { font-size: clamp(44px, 5vw, 84px); line-height: 1.02; letter-spacing: -.025em; font-weight: 750; }
.hero__line { display: block; text-wrap: balance; }
.hero__lead { margin-top: 28px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: #DCE3EC; max-width: 46ch; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-chain { margin-top: clamp(48px, 9vh, 104px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px;
  border-top: 1px solid rgba(255, 255, 255, .28); counter-reset: none; }
.hero-chain li { position: relative; }
.hero-chain li + li::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 6px; width: 1px; background: rgba(255, 255, 255, .18); }
.hero-chain a { display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 16px 16px 4px; text-decoration: none; font-weight: 650; font-size: 16px; }
.hero-chain li:first-child a { padding-left: 0; }
.hero-chain .mono { font-size: 12px; letter-spacing: .12em; color: var(--ochre-300); }
.hero-chain a:hover { color: var(--ochre-300); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--ivory { background: var(--ivory-50); }
.section--paper { background: var(--ivory-100); }
.section--stone { background: var(--stone-150); }
.section--navy { background: var(--navy-950); color: var(--on-dark);
  background-image: linear-gradient(rgba(127, 179, 196, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 179, 196, .045) 1px, transparent 1px);
  background-size: 48px 48px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head__lead { margin-top: 20px; color: var(--ink-soft); font-size: 18px; max-width: 58ch; }

/* statement */
.statement__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement__body { display: grid; gap: 32px; padding-top: 8px; }
.not-list { display: flex; flex-wrap: wrap; gap: 10px; }
.not-list li { padding: 8px 14px; border: 1px solid var(--stone-200); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--stone-600); background: #fff; }
.statement__flow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-700); line-height: 2; }
.statement__flow span { color: var(--stone-400); padding-inline: 6px; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar { position: relative; background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius-card); padding: 32px 28px 36px;
  box-shadow: var(--shadow-card); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast); }
.pillar::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--navy-900); border-radius: var(--radius-card) var(--radius-card) 0 0;
  transition: background-color var(--t-fast); }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pillar:hover::before { background: var(--ochre-500); }
.pillar__icon { width: 40px; height: 40px; fill: none; stroke: var(--navy-900); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.pillar .h3 { margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 16px; }

/* workflow */
.workflow { overflow: hidden; }
.workflow__blueprint { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bp-line--soft { stroke: rgba(47, 111, 134, .16); }
.bp-dim--soft { stroke: rgba(138, 90, 20, .28); }
.workflow__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.workflow__intro { align-self: start; position: sticky; top: calc(var(--header-h) + 48px); }
.steps { position: relative; display: grid; gap: 20px; }
.steps__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--stone-200); }
.steps__rail-fill { position: absolute; inset: 0; background: var(--ochre-500); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; align-items: start; padding: 8px 0 28px; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory-50);
  border: 1.5px solid var(--navy-900); color: var(--navy-900); font-size: 15px; letter-spacing: .06em;
  transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), border-color 300ms; }
.step.is-active .step__num { background: var(--navy-900); color: #fff; }
.step__body { padding: 26px 28px 28px; background: #fff; border: 1px solid var(--stone-200); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.step__body .h3 { margin-bottom: 8px; }
.step__offer { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-700); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--ivory-100); border: 1px solid var(--stone-200); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }

/* apex */
.apex__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.apex__copy { display: grid; gap: 28px; justify-items: start; }
.apex__points { display: grid; gap: 14px; color: var(--on-dark-muted); max-width: 56ch; }
.apex__points li { padding-left: 22px; position: relative; }
.apex__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--ochre-300); }
.apex__points strong { color: #fff; font-weight: 650; }
.apex-ui { margin: 0; background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: 8px; padding: clamp(18px, 2vw, 28px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.apex-ui__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.apex-ui__title { font-weight: 650; font-size: 16px; }
.demo-badge { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-300); border: 1px solid rgba(224, 178, 102, .6);
  padding: 5px 10px; border-radius: 3px; white-space: nowrap; }
.apex-chart { width: 100%; height: auto; }
.apex-chart__grid path { stroke: rgba(185, 197, 212, .12); stroke-width: 1; fill: none; }
.apex-chart__band--p90 { fill: rgba(127, 179, 196, .12); }
.apex-chart__band--p80 { fill: rgba(127, 179, 196, .22); }
.apex-chart__actual { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.apex-chart__p50 { fill: none; stroke: var(--ochre-300); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 7 6; }
.apex-chart__today { stroke: rgba(255, 255, 255, .38); stroke-width: 1; stroke-dasharray: 3 4; }
.apex-chart__label, .apex-chart__axis { font: 500 11px var(--mono); letter-spacing: .08em; fill: var(--on-dark-soft); }
.apex-chart__label--p50 { fill: var(--ochre-300); }
.apex-ui__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 18px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }
.apex-ui__metrics div { background: var(--navy-800); padding: 12px 14px; display: grid; gap: 2px; }
.apex-ui__metrics .mono { font-size: 11px; letter-spacing: .12em; color: var(--on-dark-soft); }
.apex-ui__metrics strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.apex-ui__scenarios { margin-top: 14px; display: grid; gap: 8px; }
.apex-ui__scenarios li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: 4px;
  font-size: 15px; color: #E3E9F1; }
.apex-ui__scenarios .mono { color: var(--ochre-300); font-size: 12px; }
.apex-ui__scenarios em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--tech-300); }
.apex-ui__caption { margin-top: 14px; font-size: 13px; color: var(--on-dark-soft); }

/* audiences */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.audience { padding: 32px 28px 36px; border-top: 3px solid var(--navy-900); background: #fff; border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: var(--shadow-card); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.audience:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.audience__tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-700); margin-bottom: 18px; }
.audience .h3 { margin-bottom: 12px; }
.audience p:last-child { color: var(--ink-soft); font-size: 16px; }
.roles { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.roles__title { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone-600); }
.roles__list { display: flex; flex-wrap: wrap; gap: 8px; }
.roles__list li { padding: 6px 12px; border: 1px solid var(--stone-200); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); background: var(--ivory-50); }

/* security */
.security__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.security { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.security li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.security svg { width: 32px; height: 32px; fill: none; stroke: var(--tech-600); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.security .h4 { margin-bottom: 6px; }
.security p { color: var(--ink-soft); font-size: 16px; }

/* coming soon: mobile + BIM */
.soon { background: var(--ivory-50); border-block: 1px solid var(--stone-200); }
.soon__inner { padding-block: 36px; }
.soon__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(32px, 6vw, 96px); }
.soon__item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; align-content: start; gap: 8px 16px; }
.soon__item p { grid-column: 1 / -1; color: var(--ink-soft); }
.soon__badge { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-700); border: 1px solid var(--ochre-500); padding: 5px 10px; border-radius: 3px; justify-self: start; }
.soon__title { font-size: 22px; font-weight: 700; }
.soon__list--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* BIM: real visual (NUMIDRA conversion of the public Duplex sample + real « Maquette numérique » screen crops) */
.bim__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.bim__copy { display: grid; gap: 22px; justify-items: start; }
.bim__text { color: var(--ink-soft); max-width: 58ch; }
.bim__links { display: flex; flex-wrap: wrap; gap: 8px; }
.bim__links li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--stone-200); font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); position: relative; padding-left: 26px; }
.bim__links li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--tech-600); }
.bim-visual { margin: 0; display: grid; gap: 14px; }
.bim-visual__stage { position: relative; isolation: isolate; padding: 4% 4% 10%; }
.bim-visual__stage::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: 12px;
  background-image: linear-gradient(rgba(47, 111, 134, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 111, 134, .07) 1px, transparent 1px);
  background-size: 32px 32px; border: 1px solid var(--stone-200); background-color: var(--ivory-50); }
.bim-visual__glow { position: absolute; z-index: -1; left: 18%; right: 12%; top: 18%; bottom: 20%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 179, 196, .45), rgba(127, 179, 196, 0)); filter: blur(10px); opacity: .7; }
.bim-visual__model { display: block; width: 86%; margin: 0 auto; }
.bim-visual__model img { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(15, 27, 45, .22)); }
.bim-visual__card { position: absolute; height: auto; background: #fff; border-radius: 8px; border: 1px solid var(--stone-200);
  box-shadow: 0 2px 4px rgba(15, 27, 45, .06), 0 22px 40px -18px rgba(15, 27, 45, .35); }
.bim-visual__card--levels { width: 30%; left: 2%; top: 8%; }
.bim-visual__card--elements { width: 58%; right: 2%; bottom: 3%; }
.bim-visual__caption { font-size: 13px; color: var(--stone-600); }
@media (prefers-reduced-motion: no-preference) {
  .js .bim-visual__model img { animation: bim-float 9s ease-in-out infinite; }
  .js .bim-visual__card--levels { animation: bim-float 11s ease-in-out -4s infinite; }
  .js .bim-visual__card--elements { animation: bim-float 13s ease-in-out -7s infinite; }
  .js .bim-visual__glow { animation: bim-glow 8s ease-in-out infinite; }
}
@keyframes bim-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -7px, 0); } }
@keyframes bim-glow { 0%, 100% { opacity: .55; } 50% { opacity: .85; } }

/* founder note: text first, medium portrait (secondary) */
.founder-note__grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
.founder-note__grid > .founder-note__body { max-width: 780px; }
.founder-note__grid--photo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.founder-note__portrait { width: 100%; max-width: 300px; justify-self: end; }
.founder-note__portrait picture { display: block; }
/* the approved photo is a circular avatar: clipped exactly along its own circle (corners outside it never show) */
.founder-note__portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%;
  box-shadow: var(--shadow-card); background: var(--stone-150); }
.founder-note__body { margin: 0; display: grid; gap: 18px; }
.founder-note__title { margin-bottom: 4px; }
.founder-note__sign { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--ochre-500); }
.founder-note__name { font-size: 20px; font-weight: 700; color: var(--ink); }
.founder-note__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-700); }
.founder-note__quote { margin: 8px 0 0; display: grid; gap: 16px; color: var(--ink-soft); font-size: clamp(17px, 1.25vw, 19px); line-height: 1.7; max-width: 64ch; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--stone-200);
  border-top: 3px solid var(--navy-900); border-radius: var(--radius-card); padding: 30px 26px 28px; box-shadow: var(--shadow-card); }
.plan--enterprise { background: var(--navy-950); color: var(--on-dark); border-color: var(--navy-800); border-top-color: var(--ochre-500); }
.plan__for { color: var(--ink-soft); font-size: 15.5px; min-height: 3.2em; }
.plan--enterprise .plan__for, .plan--enterprise .plan__extra { color: var(--on-dark-muted); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-top: 14px; border-top: 1px solid var(--stone-200); }
.plan--enterprise .plan__price { border-top-color: var(--line-dark); }
.plan__price strong { font-size: clamp(30px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.02em; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__price span { font-size: 15px; font-weight: 600; color: var(--stone-600); }
.plan--enterprise .plan__price span { color: var(--on-dark-muted); }
.plan__from { flex-basis: 100%; }
.plan__was { flex-basis: 100%; font-size: 15px; font-weight: 600; color: var(--stone-600); }
.plan__was s { text-decoration-thickness: 1.5px; text-decoration-color: var(--stone-400); }
.plan__promo { align-self: flex-start; font: 600 12.5px var(--mono); letter-spacing: .06em; color: var(--tech-600);
  background: rgba(47, 111, 134, .08); border: 1px solid rgba(47, 111, 134, .28); border-radius: 3px; padding: 4px 9px; }
.pricing__launch { margin-top: 18px; display: inline-block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tech-600);
  border: 1px solid rgba(47, 111, 134, .35); border-radius: 3px; padding: 6px 12px; }
.plan__extra { font-size: 15px; font-weight: 650; color: var(--ochre-700); }
.plan--enterprise .plan__extra { font-weight: 600; }
.plan__features { display: grid; gap: 10px; padding-top: 4px; }
.plan__features li { position: relative; padding-left: 20px; font-size: 15.5px; color: var(--ink-soft); }
.plan__features li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--ochre-500); }
.plan__cta { margin-top: auto; }
.plan--enterprise .btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--on-dark); }
.plan--enterprise .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.pricing__terms { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; }
.terms { background: var(--ivory-50); border: 1px solid var(--stone-200); border-radius: var(--radius-card); padding: 24px 26px; }
.terms .h4 { margin-bottom: 6px; }
.terms p { color: var(--ink-soft); font-size: 15.5px; }
.terms__table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 15.5px; }
.terms__table th, .terms__table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--stone-200); }
.terms__table th { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone-600); }
.terms__table td:last-child { font-weight: 650; font-variant-numeric: tabular-nums; }
.terms--list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }

/* demo */
.demo__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.demo__copy { display: grid; gap: 24px; }
.demo-contact { display: grid; gap: 10px; }
.demo-contact li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.demo-contact .mono { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); min-width: 9ch; }
.demo-contact a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 650; font-size: 18px; text-underline-offset: 5px; }
.demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; background: var(--navy-800); border: 1px solid var(--line-dark);
  border-radius: 8px; padding: clamp(22px, 3vw, 40px); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: 15px; color: #E8EDF4; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius); border: 1.5px solid transparent; background: #fff;
  color: var(--ink); font: 450 16px/1.4 var(--font); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ochre-500); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #F0A38E; }
.field__help { font-size: 13.5px; color: var(--on-dark-soft); }
.field__error { font-size: 14px; font-weight: 600; color: #F6C2B4; }
.demo-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.demo-form__note { font-size: 14px; color: var(--on-dark-soft); max-width: 44ch; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field--consent { grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 8px 12px; }
.field--consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ochre-500); }
.field--consent label { font-weight: 500; font-size: 14.5px; color: #E8EDF4; }
.field--consent label a { color: var(--ochre-300); }
.field--consent .field__error { grid-column: 2; }
.demo-form { position: relative; }
.demo-form__status { grid-column: 1 / -1; font-weight: 600; color: var(--ochre-300); min-height: 1.5em; }

/* footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding-block: 56px 48px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand nav" "legal legal"; gap: 32px 48px; align-items: start; }
.site-footer__brand { grid-area: brand; display: grid; gap: 14px; }
.brand--footer { color: #fff; }
.brand--footer .brand__icon { width: 40px; height: 40px; }
.site-footer__slogan { font-size: 15px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-footer__links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: #DCE3EC; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.site-footer__legal { grid-area: legal; font-size: 13.5px; color: var(--on-dark-soft); border-top: 1px solid var(--line-dark); padding-top: 24px; }

/* legal pages */
.page-legal .legal { padding-top: calc(var(--header-h) + 72px); }
.legal__wrap { max-width: 880px; display: grid; gap: 28px; }
.legal__body { display: grid; gap: 18px; color: var(--ink-soft); }
.legal__body h2 { font-size: 22px; line-height: 1.3; color: var(--ink); margin-top: 18px; }
.legal__body ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; }
.legal__body a { color: var(--tech-600); text-underline-offset: 4px; }

/* ---------- motion (JS present + motion allowed) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-draw] { stroke-dasharray: var(--len, 0); stroke-dashoffset: var(--len, 0); }
.js [data-draw].is-drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s var(--ease-out); }
.js .apex-chart__p50[data-draw].is-drawn { transition-delay: 1.2s; }
.js .apex-chart__band { opacity: 0; transition: opacity 600ms var(--ease-out) 1.6s; }
.js [data-apex].is-visible .apex-chart__band { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .apex-chart__p50[data-draw] { stroke-dasharray: 7 6; }
  .js .apex-chart__band { opacity: 1; }
  .pillar:hover, .audience:hover { transform: none; }
  .hero-blueprint { transform: none !important; }
  .hero-media__video { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .pillars, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing__terms { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1120px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; display: none; flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; background: var(--navy-950); color: #fff; overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { min-height: 56px; font-size: 20px; border-bottom: 1px solid var(--line-dark); border-radius: 0; padding: 0; }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .site-nav__actions .btn, .link-login { justify-content: center; min-height: 52px; }
  .link-login { border: 1.5px solid rgba(255, 255, 255, .45); border-radius: var(--radius); }
  body.nav-open { overflow: hidden; }
  .site-header.nav-is-open { background: var(--navy-950); color: #fff; box-shadow: none; }
}
@media (max-width: 1023px) {
  .founder-note__grid--photo { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .founder-note__portrait { max-width: 240px; }
  .statement__grid, .workflow__grid, .apex__grid, .security__grid, .demo__grid, .bim__grid { grid-template-columns: minmax(0, 1fr); }
  .workflow__intro { position: static; }
  .audiences { grid-template-columns: minmax(0, 1fr); }
  .soon__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .brand__icon { width: 32px; height: 32px; }
  .brand__word { font-size: 17px; }
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 46svh; min-height: 300px; z-index: 0; }
  .hero-media__poster img, .hero-media__video { object-position: 72% 50%; }
  .hero-media__scrim { background: linear-gradient(0deg, rgba(10, 26, 51, 1) 0%, rgba(10, 26, 51, .35) 45%, rgba(10, 26, 51, .55) 100%); }
  .hero-media__toggle { top: calc(var(--header-h) + 12px); bottom: auto; }
  .hero__content { padding-top: 0; margin-top: -40px; padding-bottom: 48px; }
  .hero__title { font-size: clamp(36px, 10.4vw, 46px); }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 28px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .hero-chain li + li::before { display: none; }
  .hero-chain li:nth-child(odd) a { padding-left: 0; }
  .hero-chain li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .pillars, .security, .plans, .terms--list { grid-template-columns: minmax(0, 1fr); }
  .founder-note__grid--photo { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .founder-note__portrait { max-width: clamp(190px, 52vw, 210px); justify-self: start; }
  .plan__for { min-height: 0; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .step__num { width: 44px; height: 44px; font-size: 13px; }
  .steps__rail { left: 21px; }
  .step__body { padding: 20px; }
  .apex-ui__metrics strong { font-size: 17px; }
  .demo-form { grid-template-columns: minmax(0, 1fr); }
  .demo-form__foot .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "nav" "legal"; }
}
