/* Mesta landing page. Black hero, light display type, pill buttons, monochrome with one accent (breakpoints 600 / 900 / 1200 / 1600).
   System rules: radii, motion and section rhythm come only from the tokens below; spacing sits on a 4px grid
   (2px half-steps only inside components, under 24px); small text on light surfaces uses --grey-600 or darker
   (--grey-500 passes AA there only at 24px+). */

:root {
  --black: #000;
  --white: #fff;
  --ink-900: #1d1d1d;
  --ink-800: #313131;
  --grey-600: #626262;
  --grey-500: #818181;
  --grey-400: #b1b1b1;
  --grey-200: #dedede;
  --grey-100: #f0f0f0;
  --hair: rgba(0, 0, 0, .12);
  --accent: #2d5bff;
  --accent-dark: #5b7cff;
  --accent-soft: #dce4ff;
  --accent-700: #1c3fc4;
  --accent-900: #14267a;

  /* radius: nested surfaces step up by their padding (12px card + 8px gutter = 20px panel) */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  /* motion: fast = hover/colour, base = state change, slow = reveal, glide = large travel */
  --t-fast: .2s; --t-base: .4s; --t-slow: .8s; --t-glide: 1.2s;
  /* vertical rhythm between sections */
  --sec-y: 64px;

  --sans: "Inter", Arial, sans-serif;
  --serif: var(--sans); /* body copy; kept as a separate token so leads can diverge later */
  --display: "Geist", "Inter", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --track: -.045em;
  --tile: #f4f4f5;
  --ink: #171719;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");

  --gutter: 16px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 9px 80px rgba(24, 24, 24, .07), 0 2.01px 17.869px rgba(24, 24, 24, .05), 0 .599px 5.32px rgba(24, 24, 24, .03);

  /* type scale, mobile first */
  --fs-h1: 40px; --ls-h1: -1.2px;
  --fs-h2: 32px; --ls-h2: -.64px;
  --fs-h3: 28px; --ls-h3: -.56px;
  --fs-h4: 24px; --ls-h4: -.24px;
  --fs-h5: 20px; --ls-h5: -.2px;
  --fs-mf: 32px;
  --fs-counter: 80px;
  --fs-token: 30px;
  --fs-quote: 20px;
  --fs-stat: 30px;
  --fs-label: 20px;
  --fs-bodyL: 18px;
  --fs-bodyM: 16px;
}
@media (min-width: 600px) {
  :root {
    --gutter: 36px;
    --sec-y: 80px;
    --fs-h1: 56px; --ls-h1: -1.68px;
    --fs-h2: 44px; --ls-h2: -1.32px;
    --fs-h3: 36px; --ls-h3: -.72px;
    --fs-h4: 28px; --ls-h4: -.56px;
    --fs-h5: 24px; --ls-h5: -.24px;
    --fs-mf: 44px;
    --fs-counter: 120px;
    --fs-label: 22px;
    --fs-bodyL: 20px;
    --fs-bodyM: 18px;
  }
}
@media (min-width: 900px) {
  :root {
    --gutter: 44px;
    --sec-y: 120px;
    --fs-h2: 56px; --ls-h2: -1.68px;
    --fs-h3: 48px; --ls-h3: -1.44px;
    --fs-h4: 36px; --ls-h4: -.72px;
    --fs-h5: 28px; --ls-h5: -.56px;
    --fs-mf: 56px;
    --fs-token: 60px;
    --fs-quote: 30px;
    --fs-label: 26px;
    --fs-bodyL: 22px;
  }
}
@media (min-width: 1200px) {
  :root {
    --sec-y: 160px;
    --fs-h1: 48px; --ls-h1: -1.44px;
    --fs-mf: 48px;
    --fs-counter: 150px;
    --fs-quote: 40px;
    --fs-stat: 40px;
  }
}
@media (min-width: 1600px) {
  :root { --fs-h1: 56px; --ls-h1: -1.68px; --fs-mf: 56px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { --nav-top: 0px; --nav-h: 60px; --bar-h: 36px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scrollbar-gutter: stable; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.5 var(--sans); letter-spacing: -.01em; }
main { overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-xs); }
.dark :focus-visible, .site-header :focus-visible, .hero :focus-visible, .cta :focus-visible { outline-color: var(--accent-dark); }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: 10px 16px; border-radius: var(--r-sm); background: #fff; color: #000; font: 500 14px var(--sans); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--grey-500); }
.dot { margin-inline: .45em; }

.h2, .h3, .h4, .h5 { font-family: var(--display); font-weight: 300; line-height: 1.08; letter-spacing: var(--track); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }
.h5 { font-size: var(--fs-h5); letter-spacing: -.03em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--grey-600); font: 400 14px/1.32 var(--sans); letter-spacing: 0; }
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.lead-serif { font: 400 var(--fs-bodyM)/1.45 var(--serif); color: var(--grey-600); }
.dark .lead-serif { color: var(--grey-400); }

/* line reveal + block reveal */
.lr { display: block; overflow: hidden; padding: .1em; margin: -.1em; }
.lr > span { display: block; }
.js .lr > span { transform: translateY(100%); opacity: 0; transition: transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out); }
.js .is-in .lr > span { transform: none; opacity: 1; }
.js .is-in .lr:nth-child(2) > span { transition-delay: .1s; }
.js .is-in .lr:nth-child(3) > span { transition-delay: .2s; }
.js .rv { opacity: 0; transform: translateY(40px); transition: transform var(--t-slow) var(--ease-expo), opacity var(--t-slow) ease-in; }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid transparent; border-radius: var(--r-pill); font-family: var(--sans); font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.btn-sm { height: 36px; padding: 8px 16px; font-size: 14px; font-weight: 400; line-height: 1.32; }
.btn-md { height: 44px; padding: 10px 22px; font-size: 16px; font-weight: 400; line-height: 1.32; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: var(--grey-200); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: var(--ink-800); }
.btn-glass, .btn-outline { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-glass:hover, .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.ic-chev { width: 8.4px; height: 14px; flex: none; }
.ic-ext { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; margin-left: 4px; flex: none; }
/* label: the mono tag that names an object (index cards, controls, readouts, chips, stack layers) */
:is(.pidx-head, .tcard-head, .readout dt) { display: flex; align-items: center; gap: 8px; font: 400 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
:is(.pidx-head, .tcard-head, .readout dt, .ont-chip)::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); }
/* duo: product imagery in Mesta blue; true colour when its link or row is engaged.
   overflow: clip, not hidden, so a scroll timeline on the image follows the page rather than this box */
.duo { position: relative; isolation: isolate; display: block; overflow: clip; background: #111; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: color; opacity: .82; transition: opacity var(--t-base); pointer-events: none; }
.duo img { width: 100%; height: 100%; object-fit: cover; object-position: left top; filter: grayscale(1) contrast(1.05); transition: filter var(--t-base), transform var(--t-slow) var(--ease-out); }
:is(a, .q-row):is(:hover, :focus-visible) .duo::after { opacity: 0; }
:is(a, .q-row):is(:hover, :focus-visible) .duo img { filter: none; transform: scale(1.03); }
/* object card on dark: hairline edge over a dot field */
:is(.pidx a, .tcard, .stack-card) { border: 1px solid rgba(255, 255, 255, .1); background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0 / 16px 16px, #0b0b0d; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 2px 10px; border: 1px solid var(--grey-200); border-radius: var(--r-pill); background: #fff; color: var(--grey-600); font: 400 12px/18px var(--sans); }

/* ---------- header / nav ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 999; background: #000; transition: transform var(--t-base) var(--ease-out); }
.site-header.is-hidden:not(.menu-open) { transform: translateY(calc(-1 * var(--bar-h))); }
.announce { display: flex; align-items: center; justify-content: center; gap: 12px; height: var(--bar-h); padding: 0 var(--gutter); background: #fff; color: #000; font: 500 13px/1 var(--sans); text-decoration: none; white-space: nowrap; overflow: hidden; }
.announce > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.announce-more { display: inline-flex; align-items: center; gap: 4px; color: var(--grey-600); font-weight: 400; transition: color var(--t-fast); }
.announce-more svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.announce:hover .announce-more { color: #000; }
.announce:hover .announce-more svg { transform: translateX(3px); }
.announce-short { display: none; }
@media (max-width: 599.98px) { .announce-long { display: none; } .announce-short { display: inline; } }
.nav { position: relative; max-width: 1600px; height: var(--nav-h); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 0 var(--gutter); background: #000; }
.nav .btn-light { background: #fff; color: #000; }
.nav .btn-light:hover { background: var(--grey-200); }
.nav-logo { display: inline-flex; align-items: center; justify-self: start; height: 36px; border-radius: var(--r-sm); }
.logo-full { display: none; height: 28px; width: auto; }
.logo-icon { height: 28px; width: auto; }
.nav-links { display: none; }
.nav-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
.burger { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; border-radius: var(--r-sm); }
.burger svg { width: 20px; height: 20px; }
.burger .ic-close, .menu-open .burger .ic-menu { display: none; }
.menu-open .burger .ic-close { display: block; }
@media (min-width: 900px) {
  html { --nav-h: 64px; }
  .nav-links { justify-self: start; margin-left: 48px; }
  .logo-full { display: block; }
  .logo-icon { display: none; }
  .nav-links { display: flex; align-items: center; }
  .nav-links > li { padding: 0 4px; }
  .burger { display: none; }
}
.nav-link { display: inline-flex; align-items: center; height: 36px; padding: 8px 12px; border: 0; border-radius: var(--r-sm); background: none; color: #fff; font: 400 15px/1.32 var(--sans); text-decoration: none; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.nav-link:hover, .nav-dd.is-open > .nav-link { background: rgba(255, 255, 255, .12); }
.nav-dd { position: relative; }
.dd { position: absolute; top: calc(100% + 14px); left: 0; width: 340px; padding: 8px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow), 0 12px 40px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast); }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.is-open .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: grid; grid-template-columns: 1fr 16px; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); color: #000; text-decoration: none; }
.dd a:hover { background: var(--grey-100); }
.dd-name { font: 500 14px/1.32 var(--sans); }
.dd-desc { grid-row: 2; font: 500 12px/1.32 var(--sans); color: var(--grey-600); }
.dd .ic-ext { grid-row: 1 / 3; grid-column: 2; margin: 0; color: var(--grey-600); }

.mmenu { position: fixed; top: calc(var(--bar-h) + var(--nav-h)); left: 0; right: 0; height: 0; overflow: hidden; background: #000; color: #fff; visibility: hidden; transition: height var(--t-base) var(--ease-out), visibility 0s linear var(--t-base); }
.menu-open .mmenu { height: calc(100vh - var(--bar-h) - var(--nav-h)); height: calc(100dvh - var(--bar-h) - var(--nav-h)); overflow-y: auto; visibility: visible; transition: height var(--t-base) var(--ease-out), visibility 0s; }
.mmenu-list { padding-top: 16px; }
.mmenu-row { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 16px; border: 0; background: none; color: #fff; text-align: left; text-decoration: none; font: 300 28px/1.1 var(--display); letter-spacing: var(--track); cursor: pointer; }
.mmenu-row .ic-chev { transition: transform var(--t-fast); }
.mmenu-row[aria-expanded="true"] .ic-chev { transform: rotate(90deg); }
.mmenu-sub { display: none; padding: 4px 16px 12px; }
.mmenu-row[aria-expanded="true"] + .mmenu-sub { display: block; }
.mmenu-sub a { display: block; padding: 10px 0; color: #fff; text-decoration: none; font: 500 16px/1.32 var(--sans); }
.mmenu-sub a span { display: block; color: var(--grey-400); font-size: 13px; }
@media (min-width: 600px) { .mmenu-row { padding: 12px 36px; } .mmenu-sub { padding-inline: 36px; } }
@media (min-width: 900px) { .mmenu { display: none; } }

/* ---------- 01 hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: 88vh; min-height: 88svh; padding: calc(var(--bar-h) + var(--nav-h) + 64px) var(--gutter) 96px; overflow: hidden; background: #000; color: #fafafa; text-align: center; }
/* the hero field: Mesta's dot grid laid out as an isometric floor running to a blue horizon, drifting toward the viewer */
.hero-card { position: absolute; inset: 0; pointer-events: none; overflow: clip; -webkit-mask-image: radial-gradient(95% 75% at 50% 100%, #000 25%, transparent 80%); mask-image: radial-gradient(95% 75% at 50% 100%, #000 25%, transparent 80%); }
.hero-card::before { content: ""; position: absolute; left: 0; right: 0; top: 28%; height: 30%; background: radial-gradient(50% 50% at 50% 50%, rgba(45, 91, 255, .38), rgba(45, 91, 255, 0) 70%); }
/* pre-projected in hero-floor.svg (horizon at its top edge) so every engine draws the same floor without a 3D layer */
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: url("../illustrations/hero-floor.svg") 50% 0 / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-h1 { font: 300 clamp(44px, 7.4vw, 104px)/1.04 var(--display); letter-spacing: -.05em; }
.hero-lead { max-width: 30ch; margin-top: 32px; color: #fafafa; font: 400 clamp(17px, 1.6vw, 20px)/1.3 var(--sans); letter-spacing: -.02em; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero .btn-outline { background-color: #000; } /* keeps the floor out from under its label */
.hero .btn-outline:hover { background-color: var(--ink-900); }
.js .hero-inner > :not(h1) { animation: fadeUp var(--t-slow) var(--ease-out) var(--t-base) both; }

/* ---------- 01b trusted by ---------- */
.tiles { padding: 96px 0 48px; }
.tiles-title { text-align: center; font: 300 clamp(22px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -.035em; }
@media (min-width: 900px) { .tiles { padding: 128px 0 64px; } }

.trusted { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.trusted-label { color: var(--grey-600); font: 400 14px/1.32 var(--sans); }
.trusted-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.trusted-list a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 240px; padding: 24px 24px 18px; border-radius: var(--r-xs); background: var(--tile); color: var(--grey-600); font: 400 12px/1.32 var(--sans); text-decoration: none; transition: background-color var(--t-fast), color var(--t-fast); }
.trusted-list img { width: 150px; height: 44px; object-fit: cover; filter: brightness(0); opacity: .45; transition: opacity var(--t-fast); } /* source logo is white on a padded square: crop + silhouette */
.trusted-list a:hover { background: var(--grey-200); color: #000; }
.trusted-list a:hover img { opacity: .9; }

.trusted-word { display: grid; place-items: center; height: 44px; color: var(--grey-500); font: 500 26px/1 var(--display); letter-spacing: -.04em; transition: color var(--t-fast); }
.trusted-list a:hover .trusted-word { color: #000; }

/* ---------- 01b2 news ---------- */
.news { padding: 32px 0 0; }
.news-grid { display: grid; gap: 8px; margin-top: 40px; }
.news-grid a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 168px; padding: 24px; border-radius: var(--r-md); background: var(--tile); color: var(--ink); text-decoration: none; transition: background-color var(--t-fast), color var(--t-fast); }
.news-grid a:hover { background: #000; color: #fff; }
.news-meta { padding-right: 32px; color: var(--grey-600); font: 400 13px/1.32 var(--sans); }
.news-title { max-width: 18ch; font: 300 clamp(22px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.04em; }
.news-ic { position: absolute; top: 22px; right: 22px; width: 20px; height: 20px; transition: transform var(--t-fast); }
.news-grid a:hover .news-ic { transform: translate(2px, -2px); }
.news-grid a:hover .news-meta { color: var(--grey-400); }
@media (min-width: 600px) { .news-grid { grid-template-columns: repeat(6, 1fr); } .news-grid li { grid-column: span 2; } .news-grid li:nth-child(-n+2) { grid-column: span 3; } .news-grid a { padding: 20px; } .news-title { font-size: 20px; } .news-meta { padding-right: 24px; font-size: 12px; white-space: nowrap; } .news-ic { top: 18px; right: 18px; } }
@media (min-width: 900px) { .news-grid a { min-height: 240px; padding: 24px; } .news-title { font-size: clamp(22px, 2vw, 28px); } .news-meta { font-size: 13px; } .news-ic { top: 22px; right: 22px; } }

/* ---------- 01c statement: the three things Mesta links are marked as objects ---------- */
.statement { padding: 96px 0; }
.stmt { max-width: 22ch; margin: 0 auto; text-align: center; font: 300 clamp(32px, 4.6vw, 64px)/1.16 var(--display); letter-spacing: -.045em; }
.stmt .obj { padding-inline: .06em; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% .06em no-repeat, linear-gradient(var(--accent-soft), var(--accent-soft)) 0 92% / 100% .36em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (min-width: 900px) { .statement { padding: 160px 0 200px; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- 02 product index: object cards on a dot field, screenshots in Mesta blue until engaged ---------- */
.latest { padding-block: var(--sec-y); }
.latest-head { margin-bottom: 48px; }
.latest-title { margin-top: 24px; }
.pidx { display: flex; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.pidx::-webkit-scrollbar { display: none; }
.pidx > li { flex: 0 0 84%; scroll-snap-align: start; view-timeline: --card; }
.pidx a { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 16px; border-radius: var(--r-md); color: #fff; text-decoration: none; transition: border-color var(--t-fast); }
.pidx a:hover { border-color: rgba(255, 255, 255, .32); }
.pidx-head { padding: 4px 4px 12px; color: var(--grey-400); }
.pidx-n { color: #fff; }
.pidx-media { aspect-ratio: 16 / 10; border-radius: var(--r-sm); }
.pidx-name { display: block; margin-top: 20px; padding-inline: 4px; font: 300 clamp(24px, 2.2vw, 30px)/1.1 var(--display); letter-spacing: var(--track); }
.pidx-name b, .prod-title b, .q-name b { font-weight: 500; }
.pidx-desc { display: block; margin-top: 8px; padding-inline: 4px; color: var(--grey-400); font: 400 15px/1.4 var(--sans); }
.pidx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 24px 4px 0; }
.pidx-url { overflow: hidden; color: var(--grey-500); font: 400 12px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.pidx-cta { display: inline-flex; align-items: center; gap: 4px; font: 500 14px/1.2 var(--sans); white-space: nowrap; }
.pidx-cta svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.pidx a:hover .pidx-cta svg { transform: translate(2px, -2px); }
@media (min-width: 600px) {
  .pidx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
  .pidx > li:first-child { grid-column: 1 / -1; }
  .pidx > li:first-child .pidx-media { aspect-ratio: 2 / 1; }
  /* the 10th card closes the grid as a full-width row, so no column is left with a lone card */
  .pidx > li:last-child { grid-column: 1 / -1; }
  .pidx > li:last-child .pidx-media { aspect-ratio: 2 / 1; }
  .pidx > li:last-child .duo img { object-position: center; }
}
/* bento: Foundry, the platform the rest builds on, takes 2×2; the next 8 cards fill 4, 3 and 2 columns with no gaps */
@media (min-width: 900px) {
  .latest-head { margin-bottom: 64px; }
  .pidx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pidx > li:first-child { grid-column: span 2; grid-row: span 2; }
  .pidx > li:first-child .pidx-media { flex: 1 1 auto; aspect-ratio: auto; min-height: 280px; }
  .pidx > li:first-child .pidx-name { font-size: clamp(32px, 3.2vw, 48px); }
  .pidx > li:last-child .pidx-media { aspect-ratio: 4 / 1; }
}
@media (min-width: 1200px) { .pidx { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 03 products ---------- */
.products { padding-block: var(--sec-y); }
.sec-head { text-align: center; }
.products-head { padding-bottom: 40px; }
.products-head .h2 { margin: 24px auto 0; }
.products-head .lead-serif { max-width: 546px; margin: 24px auto 0; }
@media (min-width: 600px) { .products-head { padding-bottom: 96px; } }
@media (min-width: 1200px) { .products-head { padding-bottom: 120px; } }

.prod-tabs { display: none; }
.prod-panel { display: flex; flex-direction: column; gap: 24px; }
.prod { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: var(--r-lg); background: var(--tile); }
.prod-card { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-md); background: #fff; }
/* tabs (JS): one product at a time at every width, so phones are not handed nine full product sheets */
.js .prod-tabs { position: relative; display: flex; width: max-content; max-width: 100%; margin: -24px auto 16px; padding: 4px; border-radius: var(--r-pill); background: var(--tile); overflow-x: auto; scrollbar-width: none; }
.js .prod-tabs::-webkit-scrollbar { display: none; }
.js .prod-tabs button { flex: none; height: 34px; padding: 6px 14px; border: 0; border-radius: var(--r-pill); background: none; color: var(--grey-600); font: 400 14px/1.32 var(--sans); cursor: pointer; white-space: nowrap; transition: color var(--t-fast), background-color var(--t-fast); }
.js .prod-tabs button[aria-selected="true"] { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.js .prod { display: none; }
.js .prod.is-active { display: flex; animation: fadeIn var(--t-base); }
.prod-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #000; color: #fff; }
.prod-icon svg { width: 20px; height: 20px; }
.prod-spacer { display: none; }
.prod-title { margin-top: 16px; font-size: 28px; }
.prod-title-btn { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-align: left; cursor: default; }
.prod-arrow { display: none; }
.prod-desc p { margin-top: 16px; color: var(--ink-800); font: 400 var(--fs-bodyM)/1.32 var(--serif); max-width: 520px; }
.prod-desc .chip { margin-top: 8px; }
.prod-foot { margin-top: 24px; }
.prod-foot .btn { width: 100%; }
.prod-stats { display: flex; flex-direction: column; gap: 12px; }
.stat { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--r-md); background: #fff; }
.stat-label { color: var(--grey-600); font: 400 13px/1.32 var(--sans); }
.stat-val { margin-top: 8px; font: 300 var(--fs-stat)/1.05 var(--display); letter-spacing: var(--track); }
.stat-note { margin-top: auto; padding-top: 16px; color: var(--grey-600); font: 400 15px/1.4 var(--serif); }
.stat-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.stat-txt { display: flex; flex-direction: column; }
.stat-img { width: 100%; height: 100%; min-height: 110px; object-fit: cover; object-position: left top; border-radius: var(--r-sm); border: 1px solid var(--grey-100); }

@media (min-width: 600px) {
  .prod-card { padding: 24px; }
  .prod-icon { width: 44px; height: 44px; }
  .prod-icon svg { width: 24px; height: 24px; }
  .prod-title { margin-top: 24px; font-size: var(--fs-h4); }
  .stat { padding: 18px; }

  .js .prod-panel { display: block; padding: 8px; border-radius: var(--r-lg); background: var(--tile); }
  .js .prod { padding: 0; border-radius: 0; }
  .js .prod.is-active { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .js .prod-card { grid-column: 1 / -1; min-height: 364px; }
  .js .prod-foot { margin-top: auto; padding-top: 24px; }
  .js .prod-foot .btn { width: auto; }
  .js .prod-stats { display: contents; }
  .js .stat { min-height: 330px; }
  .js .stat-top { display: flex; flex-direction: column; }
  .js .stat-img { order: 2; height: auto; min-height: 0; aspect-ratio: 16 / 10; margin-top: auto; }
  .js .stat-top .stat-note { display: none; }
  /* plain stat cards get the dot field in every tabbed layout, not only the pinned one */
  .js .stat:not(.stat-top) { background-image: linear-gradient(#fff 0 30%, rgba(255,255,255,0) 44%, rgba(255,255,255,0) 64%, #fff 76%), radial-gradient(var(--grey-200) 1.6px, transparent 2px), linear-gradient(#fff, #fff); background-size: 100% 100%, 18px 18px, 100% 100%; background-clip: content-box, content-box, padding-box; }
}
/* tabbed layout from 900px (not the pinned one): copy left, action bottom-right, no full-width bar */
@media (min-width: 900px) and (max-width: 1199.98px), (min-width: 1200px) and (max-height: 1069.98px) {
  .js .prod-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; column-gap: 48px; min-height: 0; padding: 32px; }
  .js .prod-card > * { grid-column: 1; }
  .js .prod-foot { grid-column: 2; grid-row: 1 / span 4; align-self: end; margin: 0; padding: 0; }
  .js .stat { min-height: 300px; }
}
@media (min-width: 1200px) and (min-height: 1070px) {
  .js .prod-tabs { display: none; }
  .js .prod-pin { --ph: 972px; height: calc(var(--ph) + 4050px); } /* 9 products × 450px scroll per product */
  .js .prod-panel { position: sticky; top: 82px; height: var(--ph); display: flex; flex-direction: column; gap: 12px; padding: 12px; overflow: hidden; }
  .js .prod { display: contents; }
  .js .prod-card { width: calc((100% - 12px) * 5 / 12); height: 68px; min-height: 0; flex: none; padding: 20px 24px 24px; overflow: hidden; cursor: pointer; transition: height var(--t-base) var(--ease-out); }
  .js .prod.is-active .prod-card { height: calc(var(--ph) - 24px - 8 * 68px - 72px); cursor: auto; }
  .js .prod-icon { position: absolute; top: 24px; left: 24px; width: 58px; height: 58px; border-radius: 50%; opacity: 0; transition: opacity var(--t-base); }
  .js .prod-icon svg { width: 28px; height: 28px; }
  .js .prod-spacer { display: block; flex: 1 1 auto; min-height: 0; transition: min-height var(--t-base) var(--ease-out); }
  .js .prod.is-active .prod-spacer { min-height: 66px; }
  .js .prod-title { margin: 0; }
  .js .prod-desc, .js .prod-foot { opacity: 0; visibility: hidden; transition: opacity var(--t-fast), visibility var(--t-fast); }
  .js .prod-foot { margin-top: 24px; padding-top: 0; }
  .js .prod-foot .btn { width: auto; }
  .js .prod.is-active :is(.prod-icon, .prod-desc, .prod-foot) { opacity: 1; visibility: visible; transition: opacity var(--t-base) var(--t-fast), visibility 0s; }
  .js .prod-title-btn { cursor: pointer; }
  .js .prod.is-active .prod-title-btn { cursor: auto; }
  .js .prod-arrow { display: block; position: absolute; top: 21px; right: 24px; width: 34px; height: 34px; opacity: 0; transform: translateX(-34px); transition: opacity var(--t-fast), transform var(--t-fast); }
  .js .prod:not(.is-active) .prod-card:hover .prod-arrow { opacity: 1; transform: none; }
  .js .prod-stats { position: absolute; top: 12px; right: 12px; bottom: 12px; width: calc((100% - 36px) * 7 / 12); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 294fr 418fr; gap: 12px; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity var(--t-base), transform var(--t-base) var(--ease-out), visibility var(--t-base); }
  .js .prod.is-active .prod-stats { opacity: 1; visibility: visible; transform: none; }
  .js .stat { min-height: 0; }
  .js .stat-top { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 63%; }
  .js .stat-img { order: 0; height: 100%; aspect-ratio: auto; margin: 0; }
  .js .stat-top .stat-note { display: block; }
}

/* ---------- 04 counters: a spec readout, the light twin of the product index cards ---------- */
.counters { padding-block: var(--sec-y); }
.counters-title { margin-top: 24px; }
.readout { display: grid; gap: 12px; margin: 48px 0 0; }
.readout > div { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 200px; padding: 20px; border-radius: var(--r-md); background: radial-gradient(var(--grey-200) 1px, transparent 1.4px) 0 0 / 16px 16px, var(--tile); }
.readout dt { color: var(--grey-600); }
.readout dd { margin: 0; font: 300 clamp(72px, 9vw, 136px)/.85 var(--display); letter-spacing: -.06em; }
@media (min-width: 900px) { .readout { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; } .readout > div { min-height: 280px; padding: 24px; } }

/* ---------- 05 quotes: one line per product, a list instead of a carousel ---------- */
.quotes { padding-block: var(--sec-y); }
.quotes-head .h2 { margin-top: 24px; }
.qlist { margin-top: 48px; border-top: 1px solid var(--hair); }
.q-row { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.q-thumb { grid-row: span 2; align-self: start; aspect-ratio: 16 / 10; border: 1px solid var(--hair); border-radius: var(--r-sm); }
.q-who { display: flex; flex-direction: column; gap: 4px; }
.q-name { font: 400 17px/1.2 var(--sans); }
.q-domain { color: var(--grey-600); font: 400 12px/1.2 var(--mono); }
.q-text { font: 300 clamp(22px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: var(--track); }
@media (min-width: 900px) {
  .qlist { margin-top: 64px; }
  .q-row { grid-template-columns: 120px minmax(0, 16rem) minmax(0, 1fr); gap: 32px; padding: 24px 0; }
  .q-thumb { grid-row: auto; align-self: center; }
}

/* ---------- 06 manifesto: three beliefs, all readable at once ---------- */
.manifesto { padding-block: var(--sec-y); }
.mf-head .h2 { margin-top: 24px; }
.mf-body { display: grid; gap: 48px; margin-top: 48px; }
.mf-figure { margin: 0; padding: 16px; border-radius: var(--r-lg); background: radial-gradient(var(--grey-200) 1px, transparent 1.4px) 0 0 / 16px 16px, var(--tile); }
.mf-art { width: 100%; max-width: 560px; margin: 0 auto; }
.mf-list { border-top: 1px solid var(--hair); }
.mf-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px 16px; padding: 24px 0; border-bottom: 1px solid var(--hair); }
.mf-n { grid-row: span 2; padding-top: 12px; color: var(--grey-600); font: 400 12px/1 var(--mono); }
.mf-term { color: var(--accent); font: 300 var(--fs-h4)/1.1 var(--display); letter-spacing: var(--track); }
.mf-list li:nth-child(2) .mf-term { color: var(--accent-700); }
.mf-list li:nth-child(3) .mf-term { color: var(--accent-900); }
.mf-list p { max-width: 56ch; color: var(--grey-600); font: 400 var(--fs-bodyM)/1.5 var(--serif); }
@media (min-width: 600px) { .mf-figure { padding: 32px; } }
@media (min-width: 900px) { .mf-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; margin-top: 64px; } .mf-figure { padding: 48px; } }

/* ---------- 07 trust: three controls, all visible ---------- */
.dark { background: #000; color: #fff; }
.dark .eyebrow { color: var(--grey-400); }
.dark .muted { color: var(--grey-500); }
.trust { position: relative; overflow: clip; }
.trust-bg { position: absolute; top: 24%; right: -30%; width: 140vw; max-width: none; opacity: .32; pointer-events: none; }
.trust::after { content: ""; position: absolute; inset: 0; background: var(--grain), linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, 0) 75%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 30%); background-blend-mode: overlay, normal, normal; pointer-events: none; }
.trust-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; min-height: 100vh; max-width: 1600px; margin: 0 auto; padding: 80px var(--gutter); }
.trust .eyebrow { color: #fff; }
.trust-h { margin-top: 24px; }
.trust-grid { display: grid; gap: 12px; }
.trust .tcard { display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-md); background-color: rgba(11, 11, 13, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tcard-head { color: var(--grey-400); }
.tcard-head span { color: #fff; }
.tcard-title { margin-top: 48px; font: 300 24px/1.15 var(--display); letter-spacing: -.035em; }
.tcard-body { margin: 12px 0 24px; color: var(--grey-400); font: 400 15px/1.45 var(--serif); }
.tcard-tags { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--grey-500); font: 400 12px/1.3 var(--mono); }
@media (min-width: 600px) { .trust-bg { width: min(1000px, 80vw); right: -6%; top: 50%; transform: translateY(-58%); opacity: .9; } }
@media (min-width: 900px) {
  .trust-inner { padding: 160px var(--gutter); gap: 160px; }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tcard { min-height: 300px; padding: 24px; }
}

/* ---------- 08 ontology: product objects linked into one operating picture ---------- */
.ontology { padding-bottom: var(--sec-y); overflow: clip; }
.ont-hero { position: relative; display: grid; place-items: center; min-height: 640px; padding: 96px 0; background: linear-gradient(rgba(0, 0, 0, 0) 70%, #000), radial-gradient(40% 45% at 50% 50%, rgba(45, 91, 255, .18), transparent 70%), radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px) 0 0 / 24px 24px, #000; }
/* links run from each product object toward the picture in the middle and fade before the copy */
.ont-links { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side at 50% 50%, transparent 40%, #000 72%); mask-image: radial-gradient(closest-side at 50% 50%, transparent 40%, #000 72%); }
.ont-links path { fill: none; stroke: rgba(150, 172, 255, .7); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; animation: flow var(--t-glide) linear infinite; }
@keyframes flow { to { stroke-dashoffset: -8; } }
.ont-head { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.ont-head .lead-serif { max-width: 46ch; }
.ont-chip { position: absolute; left: var(--x); top: var(--y); z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-xs); background: #0b0b0d; color: #fff; font: 400 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; transform: translate(-50%, -50%); animation: chipFloat 6s ease-in-out infinite alternate; }
.ont-chip:nth-of-type(even) { animation-delay: -3s; }
@keyframes chipFloat { from { transform: translate(-50%, -50%); } to { transform: translate(-50%, calc(-50% - 10px)); } }
@media (max-width: 899.98px) { .ont-chip:nth-of-type(n+5), .ont-x { display: none; } }
/* platform stack card */
.stack-title { margin: 96px 0 40px; }
.stack-card { display: grid; gap: 32px; padding: 32px 20px; border-radius: var(--r-lg); }
.stack-frame { position: relative; padding: 28px 14px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); background: #000; }
.stack-pill { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 8px 18px; border: 1px solid var(--accent); border-radius: var(--r-pill); background: #0b0b0d; color: #fff; font: 400 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast), border-color var(--t-fast); }
.stack-rows { display: grid; gap: 8px; }
.stack-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stack-row { height: 52px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-sm); background: transparent; color: var(--grey-400); font: 400 12px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.stack-row:hover, .stack-pill:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.stack-row.is-on { border-color: var(--accent); background: rgba(45, 91, 255, .16); color: #fff; }
.stack-pill.is-on { border-color: var(--accent); background: var(--accent); }
.stack-panels { display: grid; color: #fff; }
.stack-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity var(--t-base), transform var(--t-base) var(--ease-out); visibility: hidden; }
.stack-panel.is-on { opacity: 1; transform: none; visibility: visible; }
.stack-h { font: 300 clamp(26px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: var(--track); }
.stack-panel p { max-width: 42ch; margin-top: 14px; color: var(--grey-400); font: 400 17px/1.45 var(--sans); }
html:not(.js) .stack-panel { position: static; opacity: 1; visibility: visible; transform: none; grid-area: auto; margin-bottom: 20px; }
@media (min-width: 600px) { .stack-card { padding: 48px 40px; } .stack-frame { padding: 32px 20px 20px; } }
@media (min-width: 900px) {
  .ont-hero { min-height: 760px; }
  .stack-title { margin: 160px 0 56px; }
  .stack-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 56px; padding: 72px 56px 56px; }
}
@media (prefers-reduced-motion: reduce) { .ont-chip, .ont-links path, .eco-arc path { animation: none; } }

/* ---------- 09 ecosystem ---------- */
.ecosystem { position: relative; overflow: hidden; }
.eco-hero { position: relative; height: 100vh; min-height: 640px; }
.eco-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.6px); background-size: 56px 56px; background-position: center; -webkit-mask-image: radial-gradient(60% 50% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 50% at 50% 50%, #000, transparent); pointer-events: none; }
.eco-hero::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }
.eco-arc { position: absolute; pointer-events: none; }
.eco-arc path { stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; animation: flow var(--t-glide) linear infinite; }
.eco-arc-h { display: none; }
.eco-arc-v { top: 50%; right: 35px; height: min(740px, 61%); width: auto; aspect-ratio: 506 / 1004; transform: translateY(-50%); }
.eco-orb { position: absolute; top: 50%; right: 21px; z-index: 1; width: 28px; height: 28px; border-radius: var(--r-xs); background: var(--accent); box-shadow: 0 0 2px var(--accent-dark), 0 0 24px rgba(45, 91, 255, .9); transform: translateY(-50%); }
.eco-orb::after { content: ""; position: absolute; inset: 9px; border-radius: 0; background: #000; box-shadow: 0 0 13.7px rgba(91, 124, 255, .9); }
.eco-glow { position: absolute; left: 50%; top: 70%; width: 1400px; height: 1000px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(45, 91, 255, .32), rgba(45, 91, 255, 0)); pointer-events: none; }
.eco-content { position: absolute; top: 50%; left: var(--gutter); z-index: 1; width: min(300px, calc(100% - 2 * var(--gutter))); transform: translateY(-50%); }
.eco-content .h3 { margin-top: 24px; }
.eco-content .lead-serif { margin-top: 24px; color: var(--grey-400); }
.eco-content .btn { margin-top: 48px; }
@media (min-width: 600px) { .eco-content { width: min(420px, 62%); } }
@media (min-width: 900px) {
  .eco-arc-v { display: none; }
  .eco-arc-h { display: block; top: 117px; left: 50%; width: min(1004px, calc(100% - 88px)); height: auto; aspect-ratio: 1004 / 506; transform: translateX(-50%); }
  .eco-orb { top: 103px; right: auto; left: 50%; transform: translateX(-50%); }
  .eco-content { top: 282px; left: 50%; width: min(640px, calc(100% - 88px)); transform: translateX(-50%); text-align: center; }
  .eco-content .lead-serif { max-width: 560px; }
  .eco-content .lead-serif { margin-inline: auto; }
}
.eco-modules { position: relative; z-index: 1; padding-bottom: var(--sec-y); }
.eco-grid { display: grid; gap: 12px; }
.eco-group { padding: 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-md); background: rgba(29, 29, 29, .4); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.eco-group img { width: 48px; height: 48px; }
.eco-gh { margin-top: 20px; font: 300 24px/1.15 var(--display); letter-spacing: -.035em; }
.eco-group ul { margin-top: 16px; }
.eco-group li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.eco-group strong { display: block; font: 500 15px/1.32 var(--sans); }
.eco-group strong a { text-decoration: none; }
.eco-group strong a:hover { text-decoration: underline; }
.eco-group li span { display: block; margin-top: 2px; color: var(--grey-500); font: 400 15px/1.4 var(--serif); }
@media (min-width: 600px) { .eco-grid { display: block; columns: 2; column-gap: 12px; } .eco-group { break-inside: avoid; margin-bottom: 12px; } }
@media (min-width: 1200px) { .eco-grid { columns: 3; } }

/* ---------- 10 perspective ---------- */
.perspective { padding-block: var(--sec-y); }
.persp-head { text-align: center; }
.persp-head .h4 { max-width: 636px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.chip-filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 8px 16px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--grey-600); font: 400 14px/21px var(--sans); cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast); }
.chip-filter svg { width: 20px; height: 20px; }
.chip-filter.is-active { background: #fff; color: #000; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.chips { flex-wrap: nowrap; width: max-content; max-width: 100%; margin-inline: auto; padding: 4px; border-radius: var(--r-pill); background: var(--tile); }
@media (max-width: 599.98px) { .chip-filter { gap: 6px; padding: 8px 12px; font-size: 13px; } .chip-filter svg { width: 16px; height: 16px; } }
.persp-grid { display: grid; gap: 48px 24px; margin-top: 64px; }
.pc[hidden] { display: none; }
.pc a { display: flex; flex-direction: column; color: #000; text-decoration: none; }
.pc-img { display: block; aspect-ratio: 16 / 9.6; overflow: hidden; border-radius: var(--r-md); background: var(--tile); }
.pc-img img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--t-slow) var(--ease-out); }
.pc a:hover .pc-img img { transform: scale(1.03); }
.pc-meta { margin-top: 16px; color: var(--grey-600); font: 400 13px/1.32 var(--sans); }
.pc-title { margin-top: 8px; max-width: 95%; font: 300 22px/1.2 var(--display); letter-spacing: -.035em; }
.pc a:hover .pc-title { text-decoration: underline; }
.pc-sum { margin-top: 8px; color: var(--grey-600); font: 400 15px/1.45 var(--serif); }
.perspective .center { margin-top: 48px; }
@media (min-width: 600px) { .chip-filter { font-size: 16px; line-height: 24px; } .persp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .persp-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11 CTA ---------- */
.cta-wrap { padding-inline: 0; }
.cta-card { position: relative; overflow: hidden; padding: 120px var(--gutter); color: #fff; background: radial-gradient(90% 70% at 50% 120%, rgba(45, 91, 255, .45), rgba(45, 91, 255, 0) 70%), #0a0a0b; }
.cta-card::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .28) 1.2px, transparent 1.6px); background-size: 56px 56px; background-position: center; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 72%); }
.cta-content { position: relative; max-width: 900px; margin: 0 auto; }
.cta-h { font-family: var(--display); font-weight: 300; }
.cta-muted { display: block; color: rgba(240, 240, 240, .55); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 0 8px; margin-top: 40px; opacity: .8; }
.cta-links a { display: inline-block; padding: 12px 6px; font: 400 14px/1.32 var(--sans); text-decoration: none; }
.cta-links a:hover { text-decoration: underline; }
@media (min-width: 600px) {
  .cta-wrap { padding-inline: var(--gutter); }
  .cta-card { border-radius: var(--r-lg); }
  .cta-content { text-align: center; }
  .cta-actions, .cta-links { justify-content: center; }
}
@media (min-width: 1200px) { .cta-card { padding: 192px 24px; } }

/* ---------- 12 footer ---------- */
.site-footer { margin-top: 96px; padding-top: 80px; }
.f-top { display: grid; gap: 56px; }
.f-brand img { width: 110px; height: auto; }
.f-brand p { max-width: 24ch; margin: 16px 0 24px; color: var(--grey-400); font: 400 15px/1.45 var(--sans); }
.f-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 16px; }
.f-h { color: var(--grey-500); font: 400 13px/24px var(--sans); }
.f-col ul { margin-top: 8px; }
.f-col a { display: inline-flex; align-items: center; min-height: 40px; color: #fafafa; font: 400 15px/1.3 var(--sans); text-decoration: none; transition: color var(--t-fast); }
.f-col a:hover { color: var(--grey-400); }
.f-col .ic-ext { margin-left: 4px; color: var(--grey-600); }
.f-bar { display: flex; flex-direction: column; gap: 12px; margin-top: 80px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--grey-500); font: 400 13px/1.5 var(--sans); }
.f-top-link { align-self: flex-start; padding: 10px 0; color: var(--grey-500); text-decoration: none; }
.f-top-link:hover { color: #fff; }
@media (min-width: 900px) {
  .f-top { grid-template-columns: 1fr 2fr; }
  .f-cols { grid-template-columns: repeat(4, 1fr); }
  .f-bar { flex-direction: row; justify-content: space-between; }
}

/* ---------- blog ---------- */
.blog { display: flex; flex-direction: column; min-height: 100vh; padding-top: var(--nav-h); }
.blog main { flex: 1 0 auto; width: 100%; }
.blog-wrap { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 0; }
.blog-title { margin-top: 16px; font: 300 clamp(40px, 7vw, 76px)/1.02 var(--display); letter-spacing: var(--track); }
.blog-list { margin-top: 56px; border-top: 1px solid var(--hair); }
.blog-list li { border-bottom: 1px solid var(--hair); }
.blog-list li > a { display: grid; gap: 8px; padding: 28px 0 16px; text-decoration: none; }
.blog-list li > a:hover .bl-title { color: var(--accent); }
.bl-meta, .post-meta { color: var(--grey-600); font: 400 14px/1.4 var(--sans); }
.bl-title { font: 300 clamp(26px, 3.4vw, 36px)/1.1 var(--display); letter-spacing: -.03em; transition: color var(--t-fast); }
.bl-desc { color: var(--grey-600); font-size: 16px; }
.bl-lang { display: flex; gap: 8px; padding-bottom: 28px; }
.bl-lang .chip { text-decoration: none; }
.bl-lang .chip:hover { border-color: var(--grey-400); color: var(--ink); }
.post-title { margin-top: 16px; font: 300 clamp(38px, 6.4vw, 68px)/1.04 var(--display); letter-spacing: var(--track); }
.post-lead { margin-top: 24px; color: var(--grey-600); font: 400 clamp(18px, 2vw, 21px)/1.5 var(--sans); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 28px; }
.post-meta a { color: var(--ink); }
.post-hero { max-width: 1120px; margin: 56px auto 0; padding-inline: var(--gutter); }
.post-hero img { width: 100%; border-radius: var(--r-md); }
.post-body { font-size: 18px; line-height: 1.7; }
.post-body > * + * { margin-top: 22px; }
.post-body h2 { margin-top: 64px; font: 300 clamp(28px, 3.4vw, 38px)/1.12 var(--display); letter-spacing: -.035em; }
.post-body h3 { margin-top: 36px; font: 500 19px/1.4 var(--sans); }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 8px; }
.post-body a { color: var(--accent); }
.post-body code { padding: 1px 6px; border-radius: var(--r-xs); background: var(--grey-100); font: 400 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.post-body pre { overflow-x: auto; padding: 20px 22px; border-radius: var(--r-md); background: #0b0d14; color: #e8e8f0; font: 400 15px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.post-body pre code { padding: 0; background: none; font: inherit; }
.post-body blockquote { padding-left: 20px; border-left: 2px solid var(--accent); color: var(--grey-600); font-style: italic; }
.post-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block: 36px; }
.post-stats div { padding: 20px; border-radius: var(--r-md); background: var(--tile); }
.post-stats b { display: block; font: 300 clamp(30px, 4vw, 40px)/1 var(--display); letter-spacing: -.03em; }
.post-stats span { display: block; margin-top: 10px; color: var(--grey-600); font-size: 14px; line-height: 1.4; }
.post-table { overflow-x: auto; }
.post-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.post-table th, .post-table td { padding: 12px 10px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.post-table th { color: var(--grey-600); font-weight: 400; }
.post-table td:last-child, .post-table th:last-child { text-align: right; white-space: nowrap; }
.post-note { color: var(--grey-600); font-size: 14px; line-height: 1.5; }
.blog .site-footer { padding-top: 0; }
.blog .f-bar { margin-top: 0; }
.post-cta { margin-top: 72px; padding: 36px 28px; border-radius: var(--r-lg); background: #000; color: #fff; }
.post-cta p { color: var(--grey-400); font-size: 16px; }
.post-cta .btn { margin-top: 20px; }
@media (min-width: 900px) { .post-stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- depth: scroll-linked parallax and dolly zoom ----------
   Progressive enhancement: browsers without scroll timelines, and anyone who asks for reduced motion, get the static page.
   Parallax animates `translate` and the dolly animates `scale`/`transform`, so neither fights the hover and reveal transforms. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* hero, dolly-in: the light field rushes toward the camera while the headline holds its size and lags behind */
    .hero-card { animation: dollyField linear both; animation-timeline: scroll(root); animation-range: 0 90svh; }
    .hero-inner { animation: dollySubject linear both; animation-timeline: scroll(root); animation-range: 0 90svh; }
    /* CTA, dolly-out: the dot field recedes into place as the card arrives, closing the page the way the hero opened it */
    .cta-card { view-timeline: --cta; }
    .cta-card::before { animation: dollyOut linear both; animation-timeline: --cta; animation-range: entry 0% cover 45%; }
    /* parallax: each layer drifts by its own depth while it crosses the viewport */
    .ont-chip { --depth: 64px; animation: chipFloat 6s ease-in-out infinite alternate, depth linear both; animation-timeline: auto, view(); }
    .ont-chip:nth-of-type(even) { animation-delay: -3s, 0s; }
    .ont-chip:nth-of-type(2) { --depth: 24px; }
    .ont-chip:nth-of-type(3) { --depth: 96px; }
    .ont-chip:nth-of-type(4) { --depth: 40px; }
    .ont-chip:nth-of-type(5) { --depth: 80px; }
    .ont-chip:nth-of-type(6) { --depth: 32px; }
    /* statement: each object mark is drawn as its words reach reading height */
    .stmt .obj { animation: mark linear both; animation-timeline: view(); animation-range: entry 100% cover 50%; }
    .trust-bg { --depth: 56px; animation: depth linear both; animation-timeline: view(); }
    .pidx-media img { --depth: 4%; scale: 1.1; animation: depth linear both; animation-timeline: --card; }
  }
}
@keyframes dollyField { to { transform: scale(1.8); opacity: .3; } }
@keyframes dollySubject { to { translate: 0 30svh; opacity: 0; } }
@keyframes dollyOut { from { transform: scale(1.6); opacity: 0; } }
@keyframes mark { from { background-size: 0% .06em, 0% .36em; } }
@keyframes depth { from { translate: 0 var(--depth); } to { translate: 0 calc(-1 * var(--depth)); } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .lr > span, .js .rv { opacity: 1; transform: none; }
}
