/* ── base.css ── */
/* The base every page builds on: the fonts, and Tailwind's reset and theme.
   The fonts are the site's two brand fonts (docs/DESIGN.md in the Next.js project) plus Russo One for the
   homepage's OUR CLIENTS pill. The "Fallback" faces are Arial sized to match each font, so the text
   doesn't jump when the real font arrives.
   The Tailwind part (the @layer blocks) was generated once by Tailwind CSS v4 and copied here; you
   normally never need to change it. Styles in @layer always lose to the site's own styles below. */

@font-face { font-family: sans; src: url(../fonts/plus-jakarta-sans-normal.woff2) format("woff2"); font-display: swap; font-weight: 300 800; font-style: normal; }
@font-face { font-family: sans; src: url(../fonts/plus-jakarta-sans-italic.woff2) format("woff2"); font-display: swap; font-weight: 300 800; font-style: italic; }
@font-face { font-family: sans Fallback; src: local(Arial); ascent-override: 98.16%; descent-override: 20.99%; line-gap-override: 0.0%; size-adjust: 105.75%; }
@font-face { font-family: mono; src: url(../fonts/jetbrains-mono-normal.woff2) format("woff2"); font-display: swap; font-weight: 400 500; font-style: normal; }
@font-face { font-family: mono Fallback; src: local(Arial); ascent-override: 77.57%; descent-override: 22.82%; line-gap-override: 0.0%; size-adjust: 131.49%; }
@font-face { font-family: pillFont; src: url(../fonts/russo-one.woff2) format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: pillFont Fallback; src: local(Arial); ascent-override: 79.78%; descent-override: 24.04%; line-gap-override: 0.0%; size-adjust: 116.07%; }

:root {
  --font-sans: "sans", "sans Fallback", system-ui, Segoe UI, Arial, sans-serif;
  --font-mono: "mono", "mono Fallback", ui-monospace, Consolas, monospace;
  --font-pill: "pillFont", "pillFont Fallback";
}

/* ── Tailwind CSS v4 (generated) ── */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}
@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}
@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}
::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}
html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}
hr{height:0;color:inherit;border-top-width:1px}
abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}
small{font-size:80%}
sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}
sub{bottom:-.25em}
sup{top:-.5em}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
:-moz-focusring:where(:not(iframe)){outline:auto}
progress{vertical-align:baseline}
summary{display:list-item}
ol,ul,menu{list-style:none}
img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}
img,video{max-width:100%;height:auto}
button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}
::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}
:where(select:is([multiple],[size])) optgroup{font-weight:bolder}
:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}
::file-selector-button{margin-inline-end:4px}
::placeholder{opacity:1}
@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}
@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}
textarea{resize:vertical}
::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}
::-webkit-datetime-edit{display:inline-flex}
::-webkit-datetime-edit-fields-wrapper{padding:0}
::-webkit-datetime-edit{padding-block:0}
::-webkit-datetime-edit-year-field{padding-block:0}
::-webkit-datetime-edit-month-field{padding-block:0}
::-webkit-datetime-edit-day-field{padding-block:0}
::-webkit-datetime-edit-hour-field{padding-block:0}
::-webkit-datetime-edit-minute-field{padding-block:0}
::-webkit-datetime-edit-second-field{padding-block:0}
::-webkit-datetime-edit-millisecond-field{padding-block:0}
::-webkit-datetime-edit-meridiem-field{padding-block:0}
::-webkit-calendar-picker-indicator{line-height:1}
:-moz-ui-invalid{box-shadow:none}
button,input:where([type=button],[type=reset],[type=submit]){appearance:button}
::file-selector-button{appearance:button}
::-webkit-inner-spin-button{height:auto}
::-webkit-outer-spin-button{height:auto}
[hidden]:where(:not([hidden=until-found])){display:none!important}}
@layer components;@layer utilities{.collapse{visibility:collapse}
.invisible{visibility:hidden}
.visible{visibility:visible}
.absolute{position:absolute}
.fixed{position:fixed}
.relative{position:relative}
.static{position:static}
.sticky{position:sticky}
.block{display:block}
.flex{display:flex}
.grid{display:grid}
.hidden{display:none}
.inline{display:inline}
.table{display:table}
.shrink{flex-shrink:1}
.grow{flex-grow:1}
.border-collapse{border-collapse:collapse}
.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}
.resize{resize:both}
.flex-wrap{flex-wrap:wrap}
.rounded{border-radius:.25rem}
.border{border-style:var(--tw-border-style);border-width:1px}
.text-wrap{text-wrap:wrap}
.lowercase{text-transform:lowercase}
.italic{font-style:italic}
.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}
.outline{outline-style:var(--tw-outline-style);outline-width:1px}
.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}
.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}
.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}
.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}

/* ── legacy.css ── */
/* ============================================================
   legacy.css — base tokens and resets
   What is left of the first-generation static site: the global
   tokens (--ink, --accent, --step-*, --gutter, --shadow) and base
   element styles that products.css still relies on. Unused rules
   were pruned; new work goes in site.css / pages.css (.rh2).
   ============================================================ */
:root{
  --paper:#FFFFFF; --paper-2:#FFFFFF; --surface:#FFFFFF;
  --ink:#0E1013; --ink-2:#3A3F47; --ink-3:#767C86;
  --line:#D8D7D0; --line-2:#C3C2BA;
  --accent:#192E7D;
  --accent-ink:#FFFFFF;
  --accent-soft:rgba(25,46,125,.075);
  --live:#127A55;
  --nav-cta:#F3E9B9; --nav-cta-ink:#0E1013;
  --shadow:0 1px 2px rgba(14,16,19,.05), 0 12px 40px -24px rgba(14,16,19,.35);

  --step--1:clamp(.72rem,.70rem + .10vw,.78rem);
  --step-0:clamp(.95rem,.92rem + .16vw,1.05rem);
  --step-1:clamp(1.12rem,1.05rem + .35vw,1.35rem);
  --step-2:clamp(1.5rem,1.3rem + .9vw,2.1rem);
  --step-3:clamp(2rem,1.5rem + 2.2vw,3.4rem);
  --step-4:clamp(2.9rem,1.9rem + 4.6vw,6rem);

  --gutter:clamp(18px,4vw,64px);
  --max:1280px;
  --ease:cubic-bezier(.2,.7,.2,1);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#0B0D10; --paper-2:#101318; --surface:#151A20;
    --ink:#ECEDE8; --ink-2:#A6ADB8; --ink-3:#727A85;
    --line:#232830; --line-2:#2F353E;
    --accent:#8395FF; --accent-ink:#0B0D10; --accent-soft:rgba(131,149,255,.12);
    --live:#3DD09B;
  }
}
:root[data-theme="dark"]{
  --paper:#0B0D10; --paper-2:#101318; --surface:#151A20;
  --ink:#ECEDE8; --ink-2:#A6ADB8; --ink-3:#727A85;
  --line:#232830; --line-2:#2F353E;
  --accent:#8395FF; --accent-ink:#0B0D10; --accent-soft:rgba(131,149,255,.12);
  --live:#3DD09B;
}

/* ============================================================
   Reset
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ margin:0; padding:0; background:var(--paper); }
body{
  margin:0;
  padding:0;
  background:var(--paper);
  color:var(--ink);
  font-family: var(--v2-font);
  font-size:var(--step-0);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family: var(--v2-font);
  font-weight:800;
  line-height:1.05;
  margin:0;
  letter-spacing:-.01em;
}
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
img{ max-width:100%; display:block; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
svg{ display:block; }

.mono{
  font-family: var(--v2-mono);
  text-transform:uppercase;
  letter-spacing:.06em;
}

.section-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  padding:.85em 1.4em;
  border-radius:999px;
  font-weight:600;
  font-size:var(--step--1);
  white-space:nowrap;
  transition:transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover{ transform:translateY(-1px); }
.btn-solid{ background:var(--accent); color:var(--accent-ink); }

/* ============================================================
   Nav
   ============================================================ */
.nav{
  position:sticky; top:.75em; z-index:100;
  width:calc(100% - 2 * var(--gutter));
  margin:.75em auto 0;
  max-width:var(--max);
  border-radius:999px;
  background:var(--ink);
  box-shadow:0 10px 34px -12px rgba(14,16,19,.45);
  border-bottom:none;
}
.nav:has(.mobile-menu.is-open){ border-radius:28px; }

.brand{ display:flex; align-items:baseline; gap:.6em; margin-right:auto; }

.hamburger{ display:none; flex-direction:column; gap:5px; padding:.4em; }
.hamburger span{ width:22px; height:2px; background:#fff; border-radius:2px; transition:transform .2s var(--ease), opacity .2s var(--ease); }

@media (max-width:920px){
  
  .hamburger{ display:flex; }
  /* Phone number + Contact CTA must stay visible in the sticky nav on
     mobile too (acceptance checklist) — wrap them onto their own row
     rather than hiding them behind the hamburger. */
  
  
  
}

main#top{ background:#06070a; }
.hero{ padding:clamp(2.5rem,6vw,5rem) 0 clamp(2rem,4vw,3rem); color:#fff; }

/* buildS3's PERSPECTIVE constant must match this */
.wheel{
  position:absolute;
  transform-style:preserve-3d;
  z-index:40; /* above .stage-title (30, covers it at fullscreen on purpose); below .s3-rail (50, always stays visible) */
  will-change:transform;
}
/* ============================================================
  Reveal-on-scroll (S5–S7)
   ============================================================ */
.reveal{ opacity:1; transform:none; }

.reveal.is-visible{ opacity:1; transform:translateY(0); transition:opacity .6s var(--ease), transform .6s var(--ease); }

.section-eyebrow{ color:var(--ink-3); margin-bottom:1.25em; }

/* Pledge / quote */
.pledge{ padding:clamp(3rem,8vw,6rem) 0; background:var(--paper-2); }

/* Marquee */

.marquee{ overflow:hidden; }

@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(calc(-1 * var(--marquee-loop))); } }

/* Contact */
.contact{ padding:clamp(3rem,8vw,6rem) 0; background:#102a72; color:#fff; }

.office h3{ font-size:var(--step-1); margin-bottom:.75em; font-weight:700; }
.office p{ color:rgba(255,255,255,.78); margin-bottom:.5em; }
.office a{ color:#c9d8ff; }

.contact .section-eyebrow{ color:#c9d8ff; }
.contact .btn-solid{ background:#fff; color:#102a72; }

/* Footer */
.footer{ border-top:1px solid var(--line); padding:clamp(2rem,5vw,3rem) 0; }

/* ============================================================
   Reduced motion — static end-states, no scrub/pin/parallax
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  
  
  
  
}

/* ============================================================
   Misc utility
   ============================================================ */
.accent{ color:var(--accent); }

/* ── globals.css ── */
@import "tailwindcss";
@import "./legacy.css";

/* Brand fonts (docs/DESIGN.md). Global so every page and overlay shares them. */
:root {
	--v2-font: var(--font-sans), system-ui, sans-serif;
	--v2-mono: var(--font-mono), ui-monospace, monospace;
}

html{scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

/* ── products.css ── */
/* ============================================================
   products.css — product catalogue pages
   Category showcases, model detail pages, CCTV page and the
   card/product route transitions. Uses legacy.css tokens.
   ============================================================ */

.closing-cta {
  background:#102a72;
  color:#fff;
  padding:clamp(4rem,9vw,8rem) 0
}

.closing-cta__inner {
  display:grid;
  grid-template-columns:1fr auto;
  gap:1.5rem;
  align-items:end
}

.closing-cta p {
  grid-column:1/-1;
  color:#c9d8ff
}

.closing-cta h2 {
  max-width:17ch;
  font-size:var(--step-3)
}

.closing-cta .btn {
  background:#fff;
  color:#102a72
}

.page-reveal {
  opacity:0;
  transform:translateY(18px);
  transition:opacity .65s var(--ease),transform .65s var(--ease)
}

.page-reveal.is-shown {
  opacity:1;
  transform:none
}

@media (max-width:760px) {
  

  

  

  

  

  .closing-cta__inner {
    grid-template-columns:1fr;
    align-items:start
  }

  

  

}

@media (prefers-reduced-motion:reduce) {
  .page-reveal {
    opacity:1;
    transform:none
  }

  

  

}

/* Keep the oversized heading within its own editorial masthead band. */

/* /products → category page: React <ViewTransition> morphs the range card's panel, image and
   name into the category hero (and back); the rest of the page crossfades. Classes come from
   the `share` prop in ProductsPage / ProductGridPage. */
::view-transition-group(.range-morph),
::view-transition-group(.range-title) {
  animation-duration:.55s;
  animation-timing-function:cubic-bezier(.2,.8,.2,1)
}
/* The name scales as one piece of text instead of stretching to the new box. */
::view-transition-old(.range-title),
::view-transition-new(.range-title) {
  height:100%;
  width:auto;
  object-fit:contain;
  object-position:left center
}
::view-transition-old(root) { animation:range-fade-out .25s both }
::view-transition-new(root) { animation:range-fade-in .35s .15s both }
@keyframes range-fade-out { to { opacity:0 } }
@keyframes range-fade-in { from { opacity:0 } }
/* The navbar is on both pages: it stays put instead of fading out and back in. */
::view-transition-group(site-nav) { animation:none; z-index:100 }
::view-transition-old(site-nav) { display:none }
::view-transition-new(site-nav) { animation:none }

@media (prefers-reduced-motion:reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation:none !important }
}

.model-hero {
  padding:clamp(2rem,5vw,4rem) 0 clamp(3rem,7vw,6rem)
}

.model-hero .page-reveal {
  opacity:1;
  transform:none
}

.model-hero__grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:clamp(2rem,6vw,6rem)
}

.model-hero__kicker {
  color:var(--accent);
  margin-bottom:1.2rem
}

.model-hero h1 {
  font-size:var(--step-4);
  letter-spacing: -0.03em
}

.model-hero__tagline {
  max-width:35em;
  margin:1.5rem 0 2rem;
  color:var(--ink-2);
  font-size:var(--step-1)
}

.model-hero__badges {
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-bottom:2rem
}

.model-hero__badges li {
  padding:.5em 1em;
  border:1px solid var(--line-2);
  border-radius:999px;
  font-size:var(--step--2);
  color:var(--ink-2)
}

.model-hero__media {
  display:grid;
  place-items:center;
  padding:2rem;
  border-radius:20px;
  background:var(--paper-2)
}

.model-hero__media img {
  width:min(100%,24rem);
  height:auto
}

.model-hero__media .pa-art {
  width:min(100%,28rem);
  height:auto
}

.spec-section {
  padding:0 0 clamp(4rem,9vw,8rem)
}

.spec-accordion {
  display:grid;
  gap:1rem;
  margin-top:1.5rem
}

.spec-accordion__item {
  border-top:2px solid var(--ink);
  background:var(--paper-2);
  padding:1.25rem 1.5rem
}

.spec-accordion__item summary {
  cursor:pointer;
  font-weight:700;
  font-size:var(--step-1);
  list-style:none
}

.spec-accordion__item summary::-webkit-details-marker {
  display:none
}

.spec-accordion__item summary::after {
  content:"+";
  float:right;
  color:var(--accent)
}

.spec-accordion__item[open] summary::after {
  content:"−"
}

.spec-accordion__item ul {
  margin-top:1rem;
  display:grid;
  gap:.6rem
}

.spec-accordion__item li {
  padding-left:1.25rem;
  position:relative;
  color:var(--ink-2)
}

.spec-accordion__item li::before {
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:.4rem;
  height:.4rem;
  border-radius:50%;
  background:var(--accent)
}

@media (max-width:700px) {
  .model-hero__grid {
    grid-template-columns:1fr
  }
  .model-hero__media {
    order:-1
  }
}

/* Big screens: model pages grow with the width past 1440px, like the rest of the site. They are
   sized in rem (legacy --step-* tokens), so the base text size scales (16px at 1440px wide, never
   smaller) along with the content width and side padding. The nav, footer and WhatsApp button are
   px-based and scale on their own. */
@media (min-width: 901px) {
  html:has(.model-hero) {
    font-size: max(100%, 1.1111vw);
    --max: max(1280px, 88.889vw);
    --gutter: max(clamp(18px, 4vw, 64px), 4.4444vw);
  }
  .model-hero__media { border-radius: max(20px, 1.3889vw); }
}

/* ── ai-art.css ── */
/* ============================================================
   ai-art.css — the AI Automation line drawing (components/common/AiFlowArt.tsx),
   same language as the homepage hero board. Used on the homepage (inside .rh2)
   and on product pages (outside it), so colours fall back to the brand values.
   ============================================================ */

.pa-art { --pa-accent: var(--v2-accent, #192E7D); overflow: visible; }
.pa-art .pa-line { fill: none; stroke: rgba(25,46,125,.35); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.pa-art .pa-soft { fill: none; stroke: rgba(25,46,125,.18); stroke-width: 1; }
.pa-art .pa-part { fill: rgba(255,255,255,.9); stroke: rgba(25,46,125,.5); stroke-width: 1.2; }
.pa-art .pa-strong { fill: #fff; stroke: var(--pa-accent); stroke-width: 1.6; }
.pa-art .pa-fillb { fill: rgba(45,79,216,.1); stroke: rgba(45,79,216,.55); stroke-width: 1; }
.pa-art .pa-txt { font-family: var(--v2-mono); font-size: 9px; letter-spacing: .14em; fill: rgba(25,46,125,.7); }
.pa-art .pa-txt.b { fill: var(--pa-accent); font-weight: 600; }
.pa-art .pa-txt.sm { font-size: 8px; }
.pa-art .pa-txt.ink { font-family: var(--v2-font); letter-spacing: 0; fill: var(--v2-text, #0a0a0a); font-size: 9.5px; }
.pa-art .pa-ai { font-family: var(--v2-mono); font-weight: 600; font-size: 24px; fill: var(--pa-accent); text-anchor: middle; dominant-baseline: central; }
.pa-art .pa-pin { stroke: rgba(10,10,10,.35); stroke-width: 1.4; stroke-linecap: round; }
.pa-art .pa-flow {
  fill: none; stroke: var(--mbh-live, #2D4FD8); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 400; stroke-dashoffset: 414;
  filter: drop-shadow(0 0 3px rgba(45,79,216,.7)); animation: paFlow 3.2s linear infinite;
}
.pa-art .pa-flow.d2 { animation-delay: -1.1s; }
@keyframes paFlow { to { stroke-dashoffset: 0; } }
.pa-art .pa-bubble { fill: #fff; stroke: rgba(10,10,10,.14); stroke-width: 1; }
.pa-art .pa-bubble.me { fill: #E3E8F8; stroke: rgba(45,79,216,.4); }

@media (prefers-reduced-motion: reduce) {
  .pa-art .pa-flow { animation: none; }
}

/* ── feature-tabs.css ── */
/* Software features under tabs (FeatureTabs): on a category page, a model page and in the model window. */
.ft {
  --ft-navy: #192E7D;
  --ft-ink: #0a0a0a;
  --ft-muted: #595959;
  --ft-panel: #f4f6fb;
  --ft-line: #e3e5ee;
  display: grid;
  gap: 40px;
  color: var(--ft-ink);
}


/* Tabs down the left, the open group's features on the right */
.ft-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 40px; }
.ft-tabs { display: grid; gap: 4px; position: sticky; top: 140px; }
.ft-tabs button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 0; border-radius: 14px;
  background: none; color: var(--ft-muted); font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: left; cursor: pointer; transition: background .2s, color .2s;
}
.ft-tabs button:hover { background: var(--ft-panel); color: var(--ft-ink); }
.ft-tabs button[aria-selected="true"] { background: var(--ft-navy); color: #fff; }
.ft-tabs button:focus-visible { outline: 3px solid var(--ft-navy); outline-offset: 2px; }
.ft-count { font-family: var(--v2-mono, monospace); font-size: 11px; font-weight: 500; opacity: .7; }

.ft-panel { animation: ftIn .3s cubic-bezier(.2,.8,.2,1); }
.ft-panel.has-fig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 12px; }
.ft-fig { display: grid; place-items: center; margin: 0; padding: 28px; border-radius: 18px; background: var(--ft-panel); }
.ft-fig img { width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.ft-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.has-fig .ft-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.has-fig .ft-list li { padding: 16px 20px; }
.ft-list li { padding: 20px 22px; border: 1px solid var(--ft-line); border-radius: 18px; background: #fff; }
.ft-list h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.ft-list p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ft-muted); }
@keyframes ftIn { from { opacity: 0; transform: translateY(6px); } }

/* In the model window: tabs across the top, one column of features */
.ft.is-compact { gap: 0; }
.is-compact .ft-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.is-compact .ft-tabs, .ft-tabs[aria-orientation="horizontal"] { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
.is-compact .ft-tabs button { flex: none; padding: 8px 14px; border: 1px solid var(--ft-line); border-radius: 999px; font-size: 13px; }
/* Same look as the spec lists in the window: a tick, then the name in bold */
.is-compact .ft-list { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 6px; }
.is-compact .ft-list li { position: relative; padding: 0 0 0 28px; border: 0; border-radius: 0; background: none; }
.is-compact .ft-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: #eceff7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%23192E7D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.is-compact .ft-list h3 { display: block; margin: 0 0 2px; color: var(--ft-ink); font-size: 14px; font-weight: 700; line-height: 1.5; }
.is-compact .ft-list p { font-size: 14px; line-height: 1.5; }

@media (max-width: 1024px) {
  .ft-panel.has-fig { grid-template-columns: minmax(0, 1fr); }
  .ft-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ft-tabs { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
  .ft-tabs button { flex: none; padding: 10px 16px; border: 1px solid var(--ft-line); border-radius: 999px; font-size: 14px; }
  .ft-tabs button[aria-selected="true"] { border-color: var(--ft-navy); }
}
@media (max-width: 640px) {
  .ft { gap: 28px; }
  .ft-list { grid-template-columns: minmax(0, 1fr); }
  .ft-list li { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-panel { animation: none; }
}

/* Past 1440px the section grows with the width, like the rest of the site */
@media (min-width: 1441px) {
  .ft { gap: calc(40 * .069444vw); }
  .ft-body { grid-template-columns: calc(240 * .069444vw) minmax(0, 1fr); gap: calc(40 * .069444vw); }
  .ft-tabs button { font-size: calc(16 * .069444vw); padding: calc(12 * .069444vw) calc(16 * .069444vw); }
  .ft-count { font-size: calc(11 * .069444vw); }
  .ft-list { gap: calc(12 * .069444vw); }
  .ft-list li { padding: calc(20 * .069444vw) calc(22 * .069444vw); border-radius: calc(18 * .069444vw); }
  .ft-list h3 { font-size: calc(16 * .069444vw); }
  .ft-list p { font-size: calc(14 * .069444vw); }
  /* The window's text keeps its size, so its features do too */
  .is-compact .ft-tabs button { font-size: 13px; padding: 8px 14px; }
  .is-compact .ft-list h3 { font-size: 14px; }
  .is-compact .ft-list p { font-size: 14px; }
}

/* Narrow screens: the tabs read as buttons (filled pills, the chosen one navy), and the row's
   edges fade where more tabs are hidden, so it's clear it scrolls sideways. */
@media (max-width: 1024px) {
  .ft-tabs:not([aria-orientation="horizontal"]) { scroll-behavior: smooth; }
  .ft-tabs:not([aria-orientation="horizontal"]) button { background: var(--ft-panel); border-color: #d6dbea; color: var(--ft-ink); box-shadow: 0 1px 0 rgba(25,46,125,.06); }
  .ft-tabs:not([aria-orientation="horizontal"]) button[aria-selected="true"] { background: var(--ft-navy); border-color: var(--ft-navy); color: #fff; box-shadow: 0 6px 16px rgba(25,46,125,.22); }
  .ft-tabs[data-edges="r"] { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
  .ft-tabs[data-edges="l"] { -webkit-mask-image: linear-gradient(270deg, #000 78%, transparent); mask-image: linear-gradient(270deg, #000 78%, transparent); }
  .ft-tabs[data-edges="lr"] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 80%, transparent); }
}

/* In the model window: the feature tabs are clearly buttons (filled pills, a pointer, the chosen
   one navy), so they don't read like the plain spec labels above them. */
.is-compact .ft-tabs button { background: var(--ft-panel); border-color: #d6dbea; color: var(--ft-ink); box-shadow: 0 1px 0 rgba(25,46,125,.06); }
.is-compact .ft-tabs button:hover { background: #e9edf7; }
.is-compact .ft-tabs button[aria-selected="true"] { background: var(--ft-navy); border-color: var(--ft-navy); color: #fff; box-shadow: 0 6px 16px rgba(25,46,125,.22); }

/* ── site.css ── */
/* ============================================================
   site.css — V2 design system + homepage
   Tokens (--v2-*), top strip, pill nav, footer and every homepage
   section. Everything is scoped under .rh2 so it never leaks into
   pages that don't opt in. Rules: docs/DESIGN.md
   ============================================================ */

/* ── Tokens ── */
.rh2 {
  --v2-bg:        #FFFFFF;
  --v2-glass:     rgba(0, 0, 0, 0.03);
  --v2-glass-2:   rgba(0, 0, 0, 0.05);
  --v2-glass-3:   rgba(0, 0, 0, 0.09);
  --v2-accent:    #192E7D;
  --v2-accent-dim: rgba(25, 46, 125, 0.55);
  --v2-text:      #0a0a0a;
  --v2-muted:     #595959;
  --v2-faint:     #d4d4d4;
  --v2-border:    rgba(0, 0, 0, 0.08);
  --v2-border-hi: rgba(0, 0, 0, 0.13);
  --v2-inset:     inset 0 1px 1px rgba(0, 0, 0, 0.04);
  --v2-r-outer:   26px;
  --v2-r-inner:   calc(26px - 5px);

  font-family: var(--v2-font);
  background: var(--v2-bg);
  color: var(--v2-text);
  -webkit-font-smoothing: antialiased;
}

/* Shared chrome mounted on pages that are not wrapped in .rh2 (product pages) */
.rh2.rh2-chrome { display: contents; }

/* ── Noise overlay — fixed, pointer-events none ── */
.rh2 .v2-noise {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
}

/* ── Floating Pill Nav ── */
.rh2 .v2-nav-wrap {
  view-transition-name: site-nav; /* held still during page view transitions (products.css) */
  padding: 18px 32px;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 150;
  pointer-events: none;
}
.rh2 .v2-nav-wrap > * { pointer-events: auto; }
.rh2 .v2-nav-pill {
  /* outer shell: double-bezel */
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--v2-border-hi);
  border-radius: 999px;
  padding: 5px 5px 5px 22px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--v2-inset), 0 4px 24px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: min(860px, 100%);
  transition: box-shadow 0.3s;
}
.rh2 .v2-nav-brand {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #024A9B; /* the logo's own blue */
  --logo-rule: #111;
  white-space: nowrap;
  flex-shrink: 0;
}
.rh2 .v2-nav-logo { display: block; height: 1.5em; width: auto; }
.rh2 .v2-nav-brand sup {
  font-family: var(--v2-mono);
  font-size: 8px;
  font-weight: 400;
  color: var(--v2-muted);
  letter-spacing: 0.06em;
  margin-left: 8px;
  vertical-align: middle;
}
.rh2 .v2-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.rh2 .v2-nav-links a {
  font-size: 13px;
  color: var(--v2-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.rh2 .v2-nav-links a:hover { color: var(--v2-text); }
/* button-in-button CTA */
.rh2 .v2-nav-cta {
  background: var(--v2-accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 6px 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: var(--v2-inset);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s, scale 0.15s;
}
.rh2 .v2-nav-cta:hover { opacity: 0.88; }
.rh2 .v2-nav-cta:active { scale: 0.96; }
.rh2 .v2-cta-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
/* Desktop: the nav grows with the screen past 1440px wide. Each size = max(its 1440px value,
   the same share of the width), like the Play / WhatsApp buttons and the OUR CLIENTS pill. */
@media (min-width: 769px) {
  .rh2 .v2-nav-wrap { padding: max(18px, 1.25vw) max(32px, 2.222vw); }
  .rh2 .v2-nav-pill {
    padding: max(5px, .347vw) max(5px, .347vw) max(5px, .347vw) max(22px, 1.528vw);
    gap: max(32px, 2.222vw); width: min(max(860px, 59.722vw), 100%);
  }
  .rh2 .v2-nav-brand { font-size: max(14px, .972vw); }
  .rh2 .v2-nav-brand sup { font-size: max(8px, .556vw); margin-left: max(8px, .556vw); }
  .rh2 .v2-nav-links { gap: max(24px, 1.667vw); }
  .rh2 .v2-nav-links a { font-size: max(13px, .903vw); }
  .rh2 .v2-nav-cta {
    font-size: max(12px, .833vw); gap: max(5px, .347vw);
    padding: max(9px, .625vw) max(6px, .417vw) max(9px, .625vw) max(18px, 1.25vw);
  }
  .rh2 .v2-nav-cta .v2-cta-icon { width: max(27px, 1.875vw); height: max(27px, 1.875vw); font-size: max(14px, .972vw); }
}
/* Hamburger (mobile) */
.rh2 .v2-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.rh2 .v2-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--v2-text);
  border-radius: 99px;
  transition: transform 0.25s, opacity 0.2s;
}
.rh2 .v2-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.rh2 .v2-hamburger.is-open span:nth-child(2) { opacity: 0; }
.rh2 .v2-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
/* Mobile menu */
.rh2 .v2-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 32px;
  gap: 28px;
}
.rh2 .v2-mobile-menu.is-open { display: flex; }
.rh2 .v2-mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v2-text);
  text-decoration: none;
}
.rh2 .v2-mobile-menu .mm-phone {
  font-family: var(--v2-mono);
  font-size: 12px;
  color: var(--v2-muted);
  margin-top: 16px;
}
.rh2 .v2-mobile-menu .mm-phone a {
  font: inherit;
  letter-spacing: normal;
  color: inherit;
  display: inline-block;
  padding: 12px 0;
}

/* Skip link: hidden until focused with the keyboard. */
.v2-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 999px;
  background: #192E7D;
  color: #fff;
  font: 700 14px/1 var(--v2-font);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s;
}
.v2-skip-link:focus-visible { transform: none; }
main:focus { outline: none; }
/* One visible focus ring for every interactive element, keyboard only. */
.rh2 :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #192E7D;
  outline-offset: 3px;
  border-radius: 6px;
}
.rh2 .v2-nav-cta:focus-visible,
.rh2 .v2-btn-solid:focus-visible { outline-offset: 4px; border-radius: 999px; }
/* Current page in the nav. */
.rh2 .v2-nav-links a[aria-current="page"] { color: var(--v2-accent); font-weight: 600; }
.rh2 .v2-mobile-menu a[aria-current="page"] { color: var(--v2-accent); }
/* Office addresses in the footer. */
.rh2 address { font-style: normal; }
/* Touch targets: 44px minimum on touch screens (docs/DESIGN.md). */
@media (pointer: coarse), (max-width: 768px) {
  .rh2 .v2-hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .rh2 .v2-nav-cta { min-height: 44px; }
  .rh2 .v2-nav-brand,
  .rh2 .v2-inst-link,
  .rh2 .v2-marq-item a,
  .rh2 .v2-sf-logo,
  .rh2 .v2-sf-tel,
  .rh2 .v2-sf-mail,
  .rh2 .v2-sf-link { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ── Preloader ── */
.rh2 .v2-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--v2-accent);
  cursor: pointer;
  transform: translateY(0);
}
.rh2 .v2-preloader.is-exiting {
  animation: v2PreloaderRiseOut 0.65s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  pointer-events: none;
}
@keyframes v2PreloaderRiseOut {
  to { transform: translateY(-100%); }
}
.rh2 .v2-preloader-logo {
  display: flex;
}
.rh2 .v2-preloader-letter {
  display: inline-block;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: v2LetterReveal 350ms ease forwards;
}
@keyframes v2LetterReveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); }
  to   { opacity: 1; clip-path: inset(0 0% 0 0); }
}
/* Page content sits normally until the preloader starts exiting, then it's
   pinned full-screen and pushed up from below in sync with the preloader
   rising out — a single "push" transition instead of a reveal-behind. */
.rh2 .v2-page-reveal.is-revealing {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  background: #fff;
  transform: translateY(100%);
  animation: v2PageRiseIn 0.65s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes v2PageRiseIn {
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .rh2 .v2-preloader { display: none; }
  .rh2 .v2-preloader-letter { opacity: 1; clip-path: none; animation: none; }
  .rh2 .v2-page-reveal.is-revealing { animation: none; transform: none; position: static; }
}

/* ── Shared helpers ── */
.rh2 .v2-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;
}
.rh2 .v2-btn-solid {
  background: var(--v2-accent);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 6px 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s, scale 0.15s;
}
.rh2 .v2-btn-solid:hover { opacity: 0.88; }
.rh2 button.v2-btn-solid { border: 0; font-family: inherit; cursor: pointer; }
.rh2 .v2-btn-solid:active { scale: 0.96; }
.rh2 .v2-btn-solid .v2-cta-icon { background: rgba(255,255,255,0.15); }

/* ── Section shared ── */
.rh2 section {
  border-bottom: 1px solid var(--v2-border);
}
.rh2 .v2-eyebrow {
  font-family: var(--v2-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #192E7D;
  margin-bottom: 16px;
}

/* Single source of truth for the pinned client wall. GSAP (HomePage.tsx) animates
   .capsule-container from the full-screen state below down to the small pill, then
   flies in the logos. Legacy S2 rules were removed from
   legacy.css / globals.css, so nothing here needs !important. */
.rh2 .s2 { position: relative; background: var(--v2-bg); }
.rh2 .s2-pin {
  position: sticky;
  top: 0;
  z-index: 110;
  height: 100vh;
  overflow: hidden;
  background: var(--v2-bg);
}
.rh2 .s2-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rh2 .s2-echo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  pointer-events: none;
}
.rh2 .capsule-container {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: var(--v2-accent);
  clip-path: inset(0 round 0);   /* HomePage's GSAP cuts it down to the pill */
  will-change: clip-path;
}
.rh2 .capsule-image {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 12px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  /* Russo One (loaded in HomePage.tsx): heavy, squared letters for this one pill. */
  font-family: var(--font-pill), var(--v2-font);
  font-size: max(13px, 1.6vw);   /* grows with the pill (ClientWall pillSize): 23px on a 1440px screen */
  font-weight: 400;
  letter-spacing: .03em;
}
.rh2 .capsule-array {
  position: absolute;
  inset: 104px 32px 56px;   /* top is set from the nav height in ClientWall.tsx; bottom = BOTTOM there */
  z-index: 4;
  isolation: isolate;
  overflow: hidden;
}
.rh2 .s2-more-hint {
  position: absolute; left: 50%; bottom: 18px; z-index: 5;
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  font: 500 11px var(--v2-mono); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
  color: var(--v2-muted); opacity: 0; transform: translate(-50%, 8px); pointer-events: none;   /* HomePage's GSAP takes over with xPercent -50 */
}
.rh2 .s2-more-arrow { display: inline-block; color: var(--v2-accent); animation: s2HintBob 1.6s ease-in-out infinite; }
@keyframes s2HintBob { 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .rh2 .s2-more-arrow { animation: none; } }
.rh2 .capsule {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  background: var(--v2-glass);
  border: 1px solid var(--v2-border);
  box-shadow: var(--shadow);
  color: var(--v2-muted);
  white-space: nowrap;
  overflow: hidden;
}
.rh2 .capsule-logo {
  /* Sized by ClientWall.tsx so every client fits on one screen. */
  width: calc(var(--cap-w, 88px) * var(--s, 1));
  height: calc(var(--cap-h, 65px) * var(--s, 1));
  padding: max(4px, calc(var(--cap-w, 88px) * var(--s, 1) * .07));
  border-radius: 4px;
}
.rh2 .capsule-logo img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 2px; }
/* Big clients sit above their neighbours where they touch. */
.rh2 .capsule-logo.is-md { z-index: 1; }
.rh2 .capsule-logo.is-lg { z-index: 2; border-radius: 8px; }
/* The rest stay in the background: faded until hovered, so the big names stand out. */
.rh2 .capsule-logo:not(.is-lg):not(.is-md) img { opacity: .45; transition: opacity .2s ease; }
.rh2 .capsule-logo:not(.is-lg):not(.is-md):hover img { opacity: 1; }
/* Hover a client logo → its name in a navy tag (the tag sits outside the logo box). */
.rh2 .capsule-logo { overflow: visible; transition: border-color .2s ease, box-shadow .2s ease; }
.rh2 .capsule-logo:hover { z-index: 5; border-color: var(--v2-accent); box-shadow: 0 10px 28px rgba(25,46,125,.18); }
.rh2 .capsule-name {
  position: absolute; left: 50%; top: calc(100% + 8px);
  padding: 6px 11px; border-radius: 999px;
  background: var(--v2-accent); color: #fff;
  font: 600 12px/1.2 var(--v2-font); letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(25,46,125,.22);
  opacity: 0; transform: translate(-50%, -4px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.rh2 .capsule-name.is-up { top: auto; bottom: calc(100% + 8px); transform: translate(-50%, 4px); }
.rh2 .capsule-name.is-left { top: 50%; left: calc(100% + 8px); transform: translate(-4px, -50%); }
.rh2 .capsule-name.is-right { top: 50%; left: auto; right: calc(100% + 8px); transform: translate(4px, -50%); }
.rh2 .capsule-logo:hover .capsule-name { opacity: 1; transform: translate(-50%, 0); }
.rh2 .capsule-logo:hover .capsule-name:is(.is-left, .is-right) { transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) {
  .rh2 .capsule-name { transition: none; }
}
.rh2 .v2-s2-header {
  padding: 100px 64px 72px;
}
.rh2 .v2-s2-h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 20px;
}
.rh2 .v2-s2-h2 em { font-style: normal; color: var(--v2-muted); }
.rh2 .v2-s2-sub {
  font-size: 13px;
  color: var(--v2-muted);
  max-width: 38ch;
  line-height: 1.65;
}
/* S2 mobile — shown wherever the pinned desktop wall is hidden. */
.rh2 .s2-mobile {
  display: none;
  text-align: center;
  padding: 80px 32px;
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .rh2 .s2-pin { display: none; }
  .rh2 .s2-mobile { display: block; padding: 64px 0 56px; text-align: left; }
  .rh2 .s2-mobile > :not(.v2-logo-rows) { padding-left: 20px; padding-right: 20px; }
}
.rh2 .v2-logo-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rh2 .v2-logo-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px; /* makes the -50% loop land exactly on the duplicate */
  width: max-content;
  animation: v2Marquee 40s linear infinite;
}
.rh2 .v2-logo-row.is-reverse .v2-logo-track { animation-direction: reverse; }
@keyframes v2Marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.rh2 .v2-logo-chip {
  flex: none;
  width: 84px;
  height: 60px;
  padding: 7px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--v2-border);
}
.rh2 .v2-logo-chip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rh2 .v2-logo-chip.is-md { width: 104px; height: 74px; }
.rh2 .v2-logo-chip.is-lg { width: 128px; height: 90px; padding: 9px; }
.rh2 .v2-logo-chip:not(.is-lg):not(.is-md) img { opacity: .45; }
@media (prefers-reduced-motion: reduce) {
  .rh2 .v2-logo-track { animation: none; }
}
.rh2 .s2-mobile-headline { color: var(--v2-text); font-size: var(--step-3); }

/* ── S4: Selected Installs ── */
.rh2 .v2-s4 {
  padding: 100px 64px;
}
.rh2 .v2-s4-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
.rh2 .v2-inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
}
.rh2 .v2-inst-card {
  padding: 32px 40px 48px 0;
  border-right: 1px solid var(--v2-border);
  position: relative;
  overflow: hidden;
}
.rh2 .v2-inst-card:last-child {
  border-right: 0;
  padding-right: 0;
  padding-left: 40px;
}
.rh2 .v2-inst-card:nth-child(2) { padding-left: 40px; }
.rh2 .v2-inst-n {
  font-family: var(--v2-mono);
  font-size: 10px;
  color: #192E7D;
  margin-bottom: 14px;
}
.rh2 .v2-inst-type {
  font-family: var(--v2-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(25,46,125,0.72);   /* ≥ 4.5:1 on white */
  margin-bottom: 10px;
}
.rh2 .v2-inst-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 10px;
}
.rh2 .v2-inst-line {
  font-size: 12px;
  color: var(--v2-muted);
  line-height: 1.65;
}
/* Large bg number — visual weight for install cards */
.rh2 .v2-inst-n-bg {
  position: absolute;
  bottom: -16px;
  right: 12px;
  font-family: var(--v2-mono);
  font-size: 120px;
  font-weight: 700;
  color: rgba(25,46,125,0.12);
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  transition: color 0.35s;
}
/* Drawn from data-n, so it stays a watermark (contrast checks are for real text). */
.rh2 .v2-inst-n-bg::before { content: attr(data-n); }
.rh2 .v2-inst-card:hover .v2-inst-n-bg { color: rgba(25,46,125,0.18); }
/* Inline CTA link */
.rh2 .v2-inst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--v2-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #192E7D;
  text-decoration: none;
  opacity: 0.75;   /* ≥ 4.5:1 on white */
  transition: opacity 0.2s, gap 0.25s;
}
.rh2 .v2-inst-link:hover { opacity: 1; gap: 10px; }

/* ── S5: Process ── */
.rh2 .v2-s5 {
  padding: 100px 64px;
  background: #192E7D;
  border-bottom: none;
}
.rh2 .v2-s5 .v2-eyebrow { color: rgba(255,255,255,0.62); }
.rh2 .v2-s5-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.rh2 .v2-rail-wrap {
  height: 1px;
  background: rgba(255,255,255,0.18);
  margin: 48px 0;
  position: relative;
}
.rh2 .v2-rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #fff;
  width: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.rh2 .v2-proc-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.rh2 .v2-step-n {
  font-family: var(--v2-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.4s;
}
.rh2 .v2-step-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.6);
  transition: color 0.4s;
}
.rh2 .v2-step-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  transition: color 0.4s;
}
/* Steps not reached yet stay readable (≥ 4.5:1 on the navy); reached ones light up to full. */
.rh2 .v2-proc-step.is-on .v2-step-n   { color: rgba(255,255,255,0.8); }
.rh2 .v2-proc-step.is-on .v2-step-name { color: #fff; }
.rh2 .v2-proc-step.is-on .v2-step-desc { color: rgba(255,255,255,0.9); }

/* ── S6: Values / Pledge ── */
.rh2 .v2-pledge {
  padding: 100px 64px;
}
.rh2 .v2-pledge-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
.rh2 .v2-pledge-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}
.rh2 .v2-pledge-items { display: flex; flex-direction: column; gap: 40px; }
.rh2 .v2-pledge-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.rh2 .v2-pledge-body {
  font-size: 13px;
  color: var(--v2-muted);
  line-height: 1.7;
  max-width: 36ch;
}
/* quote card: double-bezel */
.rh2 .v2-quote-outer {
  background: var(--v2-glass);
  border: 1px solid var(--v2-border-hi);
  border-radius: var(--v2-r-outer);
  padding: 5px;
  box-shadow: var(--v2-inset);
}
.rh2 .v2-quote-inner {
  background: #f7f7f7;
  border-radius: var(--v2-r-inner);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--v2-inset);
  padding: 40px 44px;
  position: relative;
}
.rh2 .v2-quote-inner::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 36px;
  font-size: 56px;
  color: rgba(0,0,0,0.05);
  font-family: Georgia, serif;
  line-height: 1;
}
.rh2 .v2-quote-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  margin-bottom: 20px;
}
.rh2 .v2-quote-cite {
  font-family: var(--v2-mono);
  font-size: 10px;
  color: var(--v2-muted);
  line-height: 1.6;
}

/* ── Marquee ── */
.rh2 .v2-marquee-sec {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  padding: 22px 0;
  overflow: hidden;
}
.rh2 .v2-marq-track {
  display: flex;
  width: max-content;
  animation: v2marq 24s linear infinite;
}
.rh2 .v2-marquee-sec:hover .v2-marq-track, .rh2 .v2-marquee-sec:focus-within .v2-marq-track { animation-play-state: paused; }
.rh2 .v2-marq-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
  font-family: var(--v2-font);
  font-size: 15px;
  font-weight: 700;
  color: #4a5163;
  letter-spacing: -0.005em;
}
.rh2 .v2-marq-item { display: inline-flex; align-items: center; gap: 32px; }
.rh2 .v2-marq-item a { color: inherit; text-decoration: none; transition: color 0.15s; }
.rh2 .v2-marq-item a:hover, .rh2 .v2-marq-item a:focus-visible { color: #192E7D; text-decoration: underline; text-underline-offset: 4px; }
.rh2 .v2-marq-sep { color: #192E7D; opacity: 0.5; }
/* A drawn separator, not text, so it can stay faint. */
.rh2 .v2-marq-sep::before { content: "·"; }
/* One group's width (set by PartnerMarquee), so the next group lands exactly where the first began. */
@keyframes v2marq {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--marq-loop, 50%))); }
}

/* ── Footer (shared: Footer) ── */
.rh2 .v2-site-footer {
  background: #0d1a4a;
  color: rgba(255,255,255,0.72);
  padding: 72px 64px 32px;
}
.rh2 .v2-sf-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.7fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.rh2 .v2-sf-logo {
  display: inline-block;
  color: #fff;
  --logo-rule: rgba(255,255,255,0.5);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
  margin-bottom: 14px;
}
.rh2 .v2-sf-logo svg { display: block; height: 1.2em; width: auto; }
.rh2 .v2-sf-brand p { font-size: 14px; line-height: 1.65; max-width: 34ch; }
.rh2 .v2-sf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rh2 .v2-sf-label { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.rh2 .v2-sf-col address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.rh2 .v2-sf-tel, .rh2 .v2-sf-mail, .rh2 .v2-sf-link {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s;
}
.rh2 .v2-sf-tel { font-variant-numeric: tabular-nums; }
.rh2 .v2-sf-mail { margin-top: 4px; }
.rh2 .v2-sf-tel:hover, .rh2 .v2-sf-mail:hover, .rh2 .v2-sf-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* The section you're on: bright, with a short bar before it. */
.rh2 .v2-sf-link[aria-current="page"] { position: relative; color: #fff; font-weight: 700; }
.rh2 .v2-sf-link[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #fff; translate: 0 -50%; }
.rh2 .v2-sf-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 1024px) {
  .rh2 .v2-sf-top { grid-template-columns: 1fr 1fr; }
  .rh2 .v2-sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .rh2 .v2-site-footer { padding: 56px 20px 28px; }
  .rh2 .v2-sf-top { grid-template-columns: 1fr; gap: 36px; }
  .rh2 .v2-sf-col { gap: 0; }
  .rh2 .v2-sf-tel, .rh2 .v2-sf-mail, .rh2 .v2-sf-link { padding: 7px 0; font-size: 14px; }
}
/* Big screens: the footer grows with the width past 1440px, like the rest of the site.
   --u is 1px on a 1440px-wide screen; each size = max(its 1440px value, that many --u). */
@media (min-width: 769px) {
  .rh2 .v2-site-footer { --u: .069444vw; padding: max(72px, calc(72 * var(--u))) max(64px, calc(64 * var(--u))) max(32px, calc(32 * var(--u))); }
  .rh2 .v2-sf-top { gap: max(48px, calc(48 * var(--u))); padding-bottom: max(56px, calc(56 * var(--u))); }
  .rh2 .v2-sf-logo { font-size: max(28px, calc(28 * var(--u))); margin-bottom: max(14px, calc(14 * var(--u))); }
  .rh2 .v2-sf-brand p { font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .v2-sf-credit { margin-top: max(36px, calc(36 * var(--u))); }
  .rh2 .v2-sf-credit-label { font-size: max(11px, calc(11 * var(--u))); }
  .rh2 .v2-sf-sig { height: max(64px, calc(64 * var(--u))); }
  .rh2 .v2-sf-col { gap: max(6px, calc(6 * var(--u))); }
  .rh2 .v2-sf-label { font-size: max(13px, calc(13 * var(--u))); margin-bottom: max(8px, calc(8 * var(--u))); }
  .rh2 .v2-sf-col address { font-size: max(13px, calc(13 * var(--u))); margin-bottom: max(10px, calc(10 * var(--u))); }
  .rh2 .v2-sf-tel, .rh2 .v2-sf-mail, .rh2 .v2-sf-link { font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .v2-sf-mail { margin-top: max(4px, calc(4 * var(--u))); }
  .rh2 .v2-sf-bottom { gap: max(16px, calc(16 * var(--u))); padding-top: max(24px, calc(24 * var(--u))); font-size: max(12px, calc(12 * var(--u))); }
}

/* Designer credit under the footer's tagline */
.rh2 .v2-sf-credit {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 36px;
  color: #fff; text-decoration: none; transition: opacity .2s;
}
.rh2 .v2-sf-credit-label {
  display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.55);
  font-family: var(--v2-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.rh2 .v2-sf-credit-label svg { width: 15px; height: 15px; flex: none; }
.rh2 .v2-sf-sig { display: block; width: auto; height: 64px; overflow: visible; }
.rh2 .v2-sf-credit:hover { opacity: .8; }
.rh2 .v2-sf-credit:hover .v2-sf-credit-label { color: #fff; }
.rh2 .v2-sf-credit:focus-visible { outline: 3px solid #fff; outline-offset: 6px; border-radius: 6px; }
/* Bottom row: copyright on the left, support hours in the middle */
@media (min-width: 769px) {
  .rh2 .v2-sf-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
}

/* ── Mobile overrides ── */
@media (max-width: 768px) {
  .rh2 .v2-nav-wrap { padding: 14px 20px; }
  .rh2 .v2-nav-pill { gap: 8px; min-width: 0; padding-left: 14px; }
  .rh2 .v2-nav-brand { min-width: 0; }
  .rh2 .v2-nav-brand sup { display: none; }
  .rh2 .v2-nav-cta { margin-left: auto; }
  .rh2 .v2-hamburger { flex-shrink: 0; }
  .rh2 .v2-nav-links { display: none; }
  .rh2 .v2-hamburger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .rh2 .v2-s2-header { padding: 64px 20px 48px; }
  .rh2 .v2-s4 { padding: 64px 20px; }
  .rh2 .v2-inst-grid { grid-template-columns: 1fr; }
  .rh2 .v2-inst-type { font-size: 10px; }
  .rh2 .v2-inst-link { margin-top: 10px; padding: 12px 0; font-size: 11px; opacity: 0.7; }
  .rh2 .v2-inst-card {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--v2-border);
  }
  .rh2 .v2-inst-card:first-child,
  .rh2 .v2-inst-card:nth-child(2),
  .rh2 .v2-inst-card:last-child {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
  .rh2 .v2-inst-card:last-child { border-bottom: 0; }
  .rh2 .v2-s5 { padding: 64px 20px; }
  .rh2 .v2-rail-wrap { margin: 32px 0; }
  .rh2 .v2-proc-steps { grid-template-columns: 1fr; gap: 22px; }
  .rh2 .v2-proc-step { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; }
  .rh2 .v2-step-n { grid-row: span 2; margin: 3px 0 0; font-size: 11px; }
  .rh2 .v2-step-desc { font-size: 13px; }
  .rh2 .v2-pledge { padding: 64px 20px; }
  .rh2 .v2-pledge-split { grid-template-columns: 1fr; gap: 40px; }
  
}

@media (prefers-reduced-motion: reduce) {
  .rh2 .v2-marq-track { animation: none; }
  .rh2 .v2-rail-fill { transition: none; }
}

/* ── Scroll reveal ── */
@keyframes v2FadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rh2 .v2-reveal {
  opacity: 0;
}
.rh2 .v2-reveal.is-visible {
  animation: v2FadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Staggered grid/list children */
.rh2 .v2-stagger > * { opacity: 0; }
.rh2 .v2-stagger.is-visible > *:nth-child(1) { animation: v2FadeUp 0.65s 0.00s cubic-bezier(0.16,1,0.3,1) forwards; }
.rh2 .v2-stagger.is-visible > *:nth-child(2) { animation: v2FadeUp 0.65s 0.09s cubic-bezier(0.16,1,0.3,1) forwards; }
.rh2 .v2-stagger.is-visible > *:nth-child(3) { animation: v2FadeUp 0.65s 0.18s cubic-bezier(0.16,1,0.3,1) forwards; }
.rh2 .v2-stagger.is-visible > *:nth-child(4) { animation: v2FadeUp 0.65s 0.27s cubic-bezier(0.16,1,0.3,1) forwards; }
.rh2 .v2-stagger.is-visible > *:nth-child(5) { animation: v2FadeUp 0.65s 0.36s cubic-bezier(0.16,1,0.3,1) forwards; }
/* Selected installs, right after the client wall: a slower reveal. The heading comes up out of
   a blur, then the three cards follow well apart, each with its big number fading in behind it. */
@keyframes v2SlowIn {
  from { opacity: 0; transform: translateY(48px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes v2NumIn { from { opacity: 0; transform: translateY(30%); } to { opacity: 1; transform: none; } }
.rh2 .v2-s4 .v2-s4-divider.is-visible { animation: v2SlowIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > * { animation: v2SlowIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > :nth-child(1) { animation-delay: .35s; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > :nth-child(2) { animation-delay: .7s; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > :nth-child(3) { animation-delay: 1.05s; }
.rh2 .v2-s4 .v2-inst-grid .v2-inst-n-bg { opacity: 0; }
.rh2 .v2-s4 .v2-inst-grid.is-visible .v2-inst-n-bg { animation: v2NumIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > :nth-child(1) .v2-inst-n-bg { animation-delay: .8s; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > :nth-child(2) .v2-inst-n-bg { animation-delay: 1.15s; }
.rh2 .v2-s4 .v2-inst-grid.is-visible > :nth-child(3) .v2-inst-n-bg { animation-delay: 1.5s; }
/* On the desktop wall, HomePage's GSAP fades Selected installs in instead (.is-scrubbed). */
.rh2 .v2-s4.is-scrubbed :is(.v2-reveal, .v2-stagger > *, .v2-inst-n-bg) { animation: none !important; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .rh2 .v2-reveal, .rh2 .v2-stagger > *, .rh2 .v2-s4 .v2-inst-grid .v2-inst-n-bg { opacity: 1; animation: none !important; }
}

/* ── S4 Install — section divider fix (was white-on-white) ── */
.rh2 .v2-s4-divider {
  border-bottom: 1px solid var(--v2-border);
  padding-bottom: 56px;
}

/* ── S6 Quote card — larger typographic quote mark ── */
.rh2 .v2-quote-inner::before {
  font-size: 100px;
  color: rgba(25,46,125,0.08);
  top: 8px;
  left: 28px;
  line-height: 0.85;
}
.rh2 .v2-quote-text {
  padding-top: 36px;
}

@media (max-width: 768px) {
  .rh2 .v2-inst-n-bg { font-size: 80px; }
}

/* ── Selected installs: three full panels, so the section fills its screen ── */
.rh2 .v2-s4-divider { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.rh2 .v2-s4-h2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1; }
.rh2 .v2-s4-h2 em { font-style: normal; color: var(--v2-accent, #192E7D); }
.rh2 .v2-s4-intro { max-width: 380px; margin: 0; font-size: 15px; line-height: 1.6; color: var(--v2-muted); }
.rh2 .v2-inst-grid { gap: 20px; margin-top: 40px; }
.rh2 .v2-inst-card,
.rh2 .v2-inst-card:first-child,
.rh2 .v2-inst-card:nth-child(2),
.rh2 .v2-inst-card:last-child {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: clamp(340px, 44vh, 480px);
  padding: 32px 32px 36px;
  border: 1px solid var(--v2-border); border-radius: 28px;
  background: #f5f6fb;
  transition: background .35s, border-color .35s;
}
.rh2 .v2-inst-card:hover { background: #eef0f9; border-color: rgba(25,46,125,.2); }
.rh2 .v2-inst-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 18px; background: #fff; margin-bottom: auto; box-shadow: 0 1px 0 rgba(25,46,125,.06); }
.rh2 .v2-inst-n { margin: 28px 0 10px; font-size: 11px; }
.rh2 .v2-inst-type { font-size: 10px; }
.rh2 .v2-inst-name { font-size: clamp(22px, 1.9vw, 28px); }
.rh2 .v2-inst-line { max-width: 30ch; font-size: 15px; }
.rh2 .v2-inst-link { position: relative; z-index: 1; font-size: 11px; }
/* The watermark number sits inside the panel instead of bleeding off its bottom edge. */
.rh2 .v2-inst-n-bg { top: 24px; right: 28px; bottom: auto; font-size: clamp(96px, 9vw, 150px); line-height: .8; color: rgba(25,46,125,.09); }
.rh2 .v2-inst-card:hover .v2-inst-n-bg { color: rgba(25,46,125,.15); }
@media (max-width: 768px) {
  .rh2 .v2-inst-grid { gap: 14px; }
  .rh2 .v2-inst-card,
  .rh2 .v2-inst-card:first-child,
  .rh2 .v2-inst-card:nth-child(2),
  .rh2 .v2-inst-card:last-child { min-height: 0; padding: 24px 22px 26px; border: 1px solid var(--v2-border); }
  .rh2 .v2-inst-logo { width: 56px; height: 56px; border-radius: 14px; }
  .rh2 .v2-inst-n-bg { font-size: 80px; top: 20px; right: 20px; }
}

/* Phones and touch screens have no hover to bring the smaller client logos up, so they show at full strength. */
@media (max-width: 768px), (hover: none) {
  .rh2 .capsule-logo:not(.is-lg):not(.is-md) img,
  .rh2 .v2-logo-chip:not(.is-lg):not(.is-md) img { opacity: 1; }
}

/* ── Client wall look: logos straight on a soft lavender wall, no boxes. Cut-out logos
   (public/images/clients-cut) let them sit on it; the big names float on a soft white glow,
   the rest stay faded in the background until pointed at. ── */
.rh2 .s2-pin {
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,.75), transparent 70%),
    radial-gradient(40% 35% at 12% 18%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(40% 35% at 88% 82%, rgba(255,255,255,.55), transparent 70%),
    linear-gradient(180deg, #f2f3f9 0%, #e9ecf6 100%);
}
.rh2 .capsule { background: none; border: 0; box-shadow: none; }
.rh2 .capsule-logo { padding: max(2px, calc(var(--cap-w, 88px) * var(--s, 1) * .04)); border-radius: 0; }
.rh2 .capsule-logo img { border-radius: 0; filter: drop-shadow(0 1px 1px rgba(25,46,125,.06)); }
.rh2 .capsule-logo.is-lg, .rh2 .capsule-logo.is-md { border-radius: 0; }
.rh2 .capsule-logo.is-lg::before, .rh2 .capsule-logo.is-md::before {
  content: ""; position: absolute; inset: -38% -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,.6) 55%, rgba(255,255,255,0));
  pointer-events: none;
}
.rh2 .capsule-logo.is-md::before { inset: -24% -18%; opacity: .7; }
.rh2 .capsule-logo:not(.is-lg):not(.is-md) img { opacity: .5; filter: saturate(.75); }
.rh2 .capsule-logo:hover { border-color: transparent; box-shadow: none; }
.rh2 .capsule-logo img { transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1), filter .2s ease; }
.rh2 .capsule-logo:hover img { opacity: 1; filter: none; transform: scale(1.08); }

/* Phone menu: each page link is a full-width row, so a tap anywhere on its line (right of the
   word too) opens it. The padding is cancelled by an equal negative margin, so the spacing
   doesn't change and neighbouring rows meet in the middle of the gap. */
.rh2 .v2-mobile-menu > a {
  align-self: stretch;
  padding: 14px 0; margin: -14px 0;
  -webkit-tap-highlight-color: transparent;
}
.rh2 .v2-mobile-menu > a:active { color: var(--v2-accent); }

/* ── pages.css ── */
/* ============================================================
   pages.css — About / Tutorial / Articles / Contact / Support
   Each page has its own layout; shared primitives are prefixed i-
   Tokens, nav, footer, buttons come from site.css (.rh2)
   ============================================================ */

/* ── Shared primitives ── */
.rh2 .i-kicker {
  font-family: var(--v2-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #192E7D;
}
.rh2 .i-h1 {
  font-size: clamp(44px, 8vw, 116px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.rh2 .i-h2 {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.rh2 .i-lead {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--v2-muted);
  max-width: 52ch;
}
.rh2 .i-sec {
  padding: 120px 64px;
  border-top: 1px solid var(--v2-border);
}
.rh2 .i-sec-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.rh2 .i-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: #192E7D;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: scale 0.15s;
}
.rh2 .i-btn-white:active { scale: 0.96; }
.rh2 .i-btn-white .v2-cta-icon { background: #192E7D; color: #fff; }

/* Giant statement paragraph */
.rh2 .i-statement {
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #7d8396;
  text-wrap: pretty;
}
.rh2 .i-statement b { color: var(--v2-text); font-weight: 700; }

/* ── ARTICLES ── */
.rh2 .ar-hero { padding: 56px 64px 48px; }
.rh2 .ar-hero .i-h1 { max-width: 19ch; margin: 20px 0 24px; font-size: clamp(40px, 6.2vw, 86px); }

/* Re-mounted on every filter change, so it animates without relying on scroll observers */
.rh2 .ar-results { animation: i-rise 0.45s var(--ease-soft) both; }
.rh2 .ar-topics { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.rh2 .ar-topic {
  appearance: none;
  background: #fff;
  border: 1px solid var(--v2-border-hi);
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-muted);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, scale 0.15s;
}
.rh2 .ar-topic:hover { border-color: #192E7D; color: #192E7D; }
.rh2 .ar-topic:active { scale: 0.96; }
.rh2 .ar-topic:focus-visible { outline: 2px solid #192E7D; outline-offset: 2px; }
.rh2 .ar-topic.on { background: #192E7D; border-color: #192E7D; color: #fff; }
.rh2 .ar-count { margin-top: 14px; font-size: 13px; color: var(--v2-muted); }

.rh2 .ar-feature {
  margin: 0 64px;
  border-radius: 32px;
  background: #192E7D;
  color: #fff;
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 56px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.rh2 .ar-feature:hover { background: #1d3590; }
.rh2 .ar-feature { position: relative; overflow: hidden; }
.rh2 .ar-feature::after { content: "↗"; position: absolute; right: 36px; top: 30px; font-size: 36px; line-height: 1; transform: translate(-12px, 12px); opacity: 0; transition: transform .5s var(--ease-soft), opacity .5s; }
.rh2 .ar-feature:hover::after, .rh2 .ar-feature:focus-visible::after { transform: translate(0, 0); opacity: 1; }
.rh2 .ar-feature:focus-visible { outline: 3px solid #192E7D; outline-offset: 4px; }
.rh2 .ar-feature-main { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.rh2 .ar-feature-tag { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.rh2 .ar-feature h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; max-width: 14ch; margin-bottom: 20px; text-wrap: balance; }
.rh2 .ar-feature p { font-size: 16px; line-height: 1.6; max-width: 46ch; color: rgba(255,255,255,0.8); }
.rh2 .ar-feature-read { display: inline-block; margin-top: 28px; font-size: 14px; font-weight: 700; }
.rh2 .ar-feature-toc {
  align-self: end;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}
.rh2 .ar-feature-toc-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.rh2 .ar-feature-toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; }
.rh2 .ar-feature-toc li {
  counter-increment: toc;
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.rh2 .ar-feature-toc li::before { content: counter(toc); color: rgba(255,255,255,0.5); font-variant-numeric: tabular-nums; }

.rh2 .ar-index { padding: 72px 64px 24px; }
.rh2 .ar-row {
  display: grid;
  grid-template-columns: 150px 1fr 110px 32px;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--v2-border);
  text-decoration: none;
  color: inherit;
}
.rh2 .ar-row:last-child { border-bottom: 1px solid var(--v2-border); }
.rh2 .ar-row { position: relative; transition: padding-inline .45s var(--ease-soft), background-color .45s var(--ease-soft); }
.rh2 .ar-row:hover { padding-inline: 18px; background: #f4f6fb; }
.rh2 .ar-row:hover h3 { color: #192E7D; }
.rh2 .ar-row:focus-visible { outline: 2px solid #192E7D; outline-offset: 4px; border-radius: 4px; }
.rh2 .ar-row-tag { font-size: 13px; font-weight: 600; color: #192E7D; }
.rh2 .ar-row h3 { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 6px; transition: color 0.15s; }
.rh2 .ar-row p { font-size: 14px; color: var(--v2-muted); line-height: 1.6; max-width: 58ch; }
.rh2 .ar-row-read { font-size: 13px; color: var(--v2-muted); }
.rh2 .ar-row-arrow { font-size: 20px; color: #192E7D; text-align: end; }

/* ── ARTICLE DETAIL ── */
.rh2 .ad-hero { padding: 48px 64px 56px; max-width: 1100px; }
.rh2 .ad-back {
  display: inline-flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #192E7D;
  text-decoration: none;
  margin-bottom: 32px;
}
.rh2 .ad-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.rh2 .ad-meta { font-size: 14px; font-weight: 600; color: var(--v2-muted); margin-bottom: 16px; }
.rh2 .ad-title { font-size: clamp(40px, 6vw, 88px); max-width: 16ch; margin-bottom: 24px; }
.rh2 .ad-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 68ch);
  gap: 64px;
  padding: 56px 64px 96px;
  border-top: 1px solid var(--v2-border);
}
.rh2 .ad-toc { position: sticky; top: 104px; align-self: start; }
.rh2 .ad-toc-title { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.rh2 .ad-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rh2 .ad-toc a {
  display: block;
  padding: 7px 0 7px 12px;
  border-inline-start: 2px solid var(--v2-border);
  font-size: 14px;
  line-height: 1.4;
  color: var(--v2-muted);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.rh2 .ad-toc a:hover { color: #192E7D; border-color: #192E7D; }
.rh2 .ad-section { scroll-margin-top: 110px; }
.rh2 .ad-section { border-left: 2px solid transparent; padding-left: 22px; transition: border-color .65s var(--ease-soft), opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.rh2 .ad-section.is-visible { border-left-color: #192E7D; }
.rh2 .ad-section + .ad-section { margin-top: 48px; }
.rh2 .ad-section h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 14px; }
.rh2 .ad-section p { font-size: 17px; line-height: 1.75; color: #2b2b2b; }
.rh2 .ad-section p + p { margin-top: 14px; }
.rh2 .ad-section ul { margin-top: 16px; padding-inline-start: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rh2 .ad-section li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: #2b2b2b;
}
.rh2 .ad-section li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: #192E7D;
}

.rh2 .ad-next {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 72px 64px;
  background: #192E7D;
  color: #fff;
  text-decoration: none;
}
.rh2 .ad-next-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.65); }
.rh2 .ad-next-title { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rh2 .ad-next-summary { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 56ch; line-height: 1.6; }
.rh2 .ad-next:hover .ad-next-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* ── PRODUCTS INDEX ── */
.rh2 .pr-hero { padding: 56px 64px 48px; }
.rh2 .pr-hero .i-h1 { max-width: 14ch; margin: 20px 0 28px; }
/* The ranges we lead with, three to a row, then the hardware under its own heading, four to a row
   (7 cards: four, then three). ProductsPage works out each card's --span of the 12 columns. */
.rh2 .pr-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  padding: 0 64px 112px;
}
.rh2 .pr-grid > .pr-card { grid-column: span var(--span, 3); }
.rh2 .pr-split { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 20px; margin: 64px 0 8px; padding-top: 28px; border-top: 1px solid var(--v2-line, #e3e5ee); }
.rh2 .pr-split .i-kicker { margin: 0; }
.rh2 .pr-split h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
/* Hardware cards are a step down: a shorter picture and smaller type. */
/* One picture height for all of them, so the wider last row isn't taller than the one above. */
.rh2 .pr-card:not(.is-lead) .pr-media { aspect-ratio: auto; height: 190px; }
.rh2 .pr-card:not(.is-lead) .pr-body { padding: 16px 20px 20px; }
.rh2 .pr-card:not(.is-lead) .pr-name { font-size: 18px; }
.rh2 .pr-card:not(.is-lead) .pr-desc { font-size: 13px; }
.rh2 .pr-card:not(.is-lead) .pr-more { margin-top: 8px; font-size: 13px; }
.rh2 .pr-card.is-lead .pr-name { font-size: 28px; }
.rh2 .pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.rh2 .pr-card:focus-visible { outline: 3px solid #192E7D; outline-offset: 3px; }
/* Its own layer (not the card's background) so it can grow into the category hero panel. */
.rh2 .pr-panel { position: absolute; inset: 0; border-radius: inherit; background: #f4f6fb; transition: background 0.25s; }
.rh2 .pr-media {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Sized against the media box itself (its height comes from the aspect ratio), so tall and wide
   products both fit whole. */
.rh2 .pr-front { position: absolute; inset: 0; margin: auto; width: 62%; height: 80%; object-fit: contain; transition: translate 0.45s cubic-bezier(.2,.8,.2,1), scale 0.45s cubic-bezier(.2,.8,.2,1); }
.rh2 .pr-media svg.pr-front { width: 86%; }
/* Hover: the panel deepens a shade and the product lifts. */
.rh2 .pr-card:hover .pr-panel, .rh2 .pr-card:focus-visible .pr-panel { background: #e9ebf3; }
.rh2 .pr-card:hover .pr-front, .rh2 .pr-card:focus-visible .pr-front { translate: 0 -6px; scale: 1.03; }
.rh2 .pr-body { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 26px; }
.rh2 .pr-name { align-self: flex-start; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.rh2 .pr-desc { font-size: 14px; line-height: 1.55; color: var(--v2-muted); max-width: 36ch; }
.rh2 .pr-more { margin-top: 12px; font-size: 14px; font-weight: 700; color: #192E7D; }
.rh2 .pr-more span { display: inline-block; transition: translate 0.2s cubic-bezier(0.2, 0, 0, 1); }
.rh2 .pr-card:hover .pr-more span { translate: 4px 0; }
/* Big screens: the page grows with the width past 1440px, like the homepage. --u is 1px on a
   1440px-wide screen; each size = max(its 1440px value, that many --u). */
@media (min-width: 901px) {
  .rh2 .pr-hero, .rh2 .pr-grid { --u: .069444vw; --pr-pad: max(64px, calc(64 * var(--u))); }
  .rh2 .pr-hero { padding: max(56px, calc(56 * var(--u))) var(--pr-pad) max(48px, calc(48 * var(--u))); }
  .rh2 .pr-hero .i-kicker { font-size: max(11px, calc(11 * var(--u))); }
  .rh2 .pr-hero .i-h1 { font-size: max(clamp(44px, 8vw, 116px), calc(116 * var(--u))); margin: max(20px, calc(20 * var(--u))) 0 max(28px, calc(28 * var(--u))); }
  .rh2 .pr-hero .i-lead { font-size: max(clamp(16px, 1.5vw, 20px), calc(20 * var(--u))); }
  .rh2 .pr-grid { gap: max(16px, calc(16 * var(--u))); padding: 0 var(--pr-pad) max(112px, calc(112 * var(--u))); }
  .rh2 .pr-card { border-radius: max(24px, calc(24 * var(--u))); }
  .rh2 .pr-body { gap: max(6px, calc(6 * var(--u))); padding: max(20px, calc(20 * var(--u))) max(24px, calc(24 * var(--u))) max(26px, calc(26 * var(--u))); }
  .rh2 .pr-name { font-size: max(22px, calc(22 * var(--u))); }
  .rh2 .pr-desc { font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .pr-more { font-size: max(14px, calc(14 * var(--u))); margin-top: max(12px, calc(12 * var(--u))); }
  .rh2 .pr-card.is-lead .pr-name { font-size: max(28px, calc(28 * var(--u))); }
  .rh2 .pr-card:not(.is-lead) .pr-body { padding: max(16px, calc(16 * var(--u))) max(20px, calc(20 * var(--u))) max(20px, calc(20 * var(--u))); }
  .rh2 .pr-card:not(.is-lead) .pr-name { font-size: max(18px, calc(18 * var(--u))); }
  .rh2 .pr-card:not(.is-lead) .pr-desc { font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .pr-card:not(.is-lead) .pr-more { font-size: max(13px, calc(13 * var(--u))); margin-top: max(8px, calc(8 * var(--u))); }
  .rh2 .pr-split { margin: max(64px, calc(64 * var(--u))) 0 max(8px, calc(8 * var(--u))); padding-top: max(28px, calc(28 * var(--u))); }
  .rh2 .pr-split h2 { font-size: max(28px, calc(28 * var(--u))); }
  .rh2 .pr-card:not(.is-lead) .pr-media { height: max(190px, calc(190 * var(--u))); }
}
@media (max-width: 1024px) {
  .rh2 .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .rh2 .pr-grid > .pr-card { grid-column: auto; }
  /* Two to a row: an odd number of lead cards starts with one across the full width. */
  .rh2 .pr-grid > .pr-card.is-wide { grid-column: 1 / -1; }
  .rh2 .pr-split { margin-top: 40px; flex-direction: column; gap: 8px; }
  .rh2 .pr-split h2 { font-size: 24px; }
}
@media (max-width: 900px) {
  .rh2 .pr-hero { padding: 48px 20px 32px; }
  .rh2 .pr-grid { padding: 0 20px 72px; gap: 12px; }
}
@media (max-width: 600px) {
  .rh2 .pr-grid { grid-template-columns: 1fr; }
}
/* Entrance (ProductsPage adds .is-armed, then .is-in per card as it scrolls in):
   the card rises, the product image settles a beat later, then the text. */
.rh2 .pr-grid.is-armed .pr-card:not(.is-in) { opacity: 0; }
.rh2 .pr-grid.is-returning .pr-card { opacity: 1; animation: none !important; }
.rh2 .pr-grid.is-returning .pr-card * { animation: none !important; }
.rh2 .pr-grid.is-armed .pr-card.is-in { animation: pr-card-in 0.9s cubic-bezier(.16,1,.3,1) var(--pr-delay, 0s) both; }
.rh2 .pr-grid.is-armed .pr-card.is-in .pr-front { animation: pr-img-in 1.1s cubic-bezier(.16,1,.3,1) calc(var(--pr-delay, 0s) + 0.15s) both; }
.rh2 .pr-grid.is-armed .pr-card.is-in .pr-body > * { animation: i-rise 0.7s var(--ease-soft) calc(var(--pr-delay, 0s) + 0.3s) both; }
.rh2 .pr-grid.is-armed .pr-card.is-in .pr-body > :nth-child(2) { animation-delay: calc(var(--pr-delay, 0s) + 0.36s); }
.rh2 .pr-grid.is-armed .pr-card.is-in .pr-body > :nth-child(3) { animation-delay: calc(var(--pr-delay, 0s) + 0.42s); }
@keyframes pr-card-in { from { opacity: 0; transform: translateY(56px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes pr-img-in { from { opacity: 0; transform: translateY(28px) scale(0.84); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rh2 .pr-panel, .rh2 .pr-front, .rh2 .pr-more span { transition: none; }
}

/* ── CONTACT ── */
.rh2 .co-hero { padding: 56px 64px 72px; }
.rh2 .co-hero .i-h1 { max-width: 12ch; margin: 20px 0 32px; }
.rh2 .co-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.rh2 .co-office { padding: 72px 64px 80px; border-top: 4px solid #192E7D; }
.rh2 .co-office + .co-office { border-left: 1px solid var(--v2-border); }
.rh2 .co-office-code { font-family: var(--v2-mono); font-size: 11px; letter-spacing: 0.16em; color: #192E7D; margin-bottom: 20px; font-weight: 700; }
.rh2 .co-office h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; margin-bottom: 32px; }
.rh2 .co-tel {
  display: block;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #192E7D;
  text-decoration: none;
  margin-bottom: 6px;
}
.rh2 .co-tel:hover { text-decoration: underline; text-underline-offset: 6px; }
.rh2 .co-mail { font-size: 15px; color: var(--v2-text); display: inline-block; margin: 14px 0 28px; }
.rh2 .co-addr { font-size: 14px; color: var(--v2-muted); line-height: 1.7; max-width: 34ch; }
.rh2 .co-next-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-inline-start: 288px;
}
.rh2 .co-next { background: #f4f6fb; border-radius: 20px; padding: 24px 24px 28px; }
.rh2 .co-next-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #192E7D;
  margin-bottom: 20px;
}
.rh2 .co-next h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 8px; }
.rh2 .co-next p { font-size: 14px; color: var(--v2-muted); line-height: 1.6; }

/* Contact hero dark variant */
.rh2 .co-hero-dark {
  background: #192E7D;
  color: #fff;
}
.rh2 .co-hero-dark .i-kicker { color: rgba(255,255,255,0.55); }
.rh2 .co-hero-dark .i-h1 { color: #fff; }
.rh2 .co-hero-dark .i-lead { color: rgba(255,255,255,0.72); }

/* ── Closing ── */
.rh2 .i-close {
  background: #192E7D;
  color: #fff;
  padding: 140px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.rh2 .i-close .i-h2 { max-width: 18ch; color: #fff; }
.rh2 .i-close .i-kicker { color: rgba(255,255,255,0.55); }
.rh2 .i-close .v2-btn-solid { background: #fff; color: #192E7D; }
.rh2 .i-close .v2-btn-solid .v2-cta-icon { background: rgba(25,46,125,0.12); }
/* Big screens: grows with the width past 1440px (--u = 1px at 1440), like the product cards. */
@media (min-width: 901px) {
  .rh2 .i-close { --u: .069444vw; padding: max(140px, calc(140 * var(--u))) max(64px, calc(64 * var(--u))); gap: max(36px, calc(36 * var(--u))); }
  .rh2 .i-close .i-kicker { font-size: max(11px, calc(11 * var(--u))); }
  .rh2 .i-close .i-h2 { font-size: max(clamp(32px, 4.6vw, 64px), calc(64 * var(--u))); }
  .rh2 .i-close .v2-btn-solid {
    font-size: max(13px, calc(13 * var(--u))); gap: max(5px, calc(5 * var(--u)));
    padding: max(12px, calc(12 * var(--u))) max(6px, calc(6 * var(--u))) max(12px, calc(12 * var(--u))) max(20px, calc(20 * var(--u)));
  }
  .rh2 .i-close .v2-cta-icon { width: max(27px, calc(27 * var(--u))); height: max(27px, calc(27 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
}

/* Easing tokens */
:root {
  --ease-soft:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-cinema: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Hero page-load keyframe */
@keyframes i-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal — single element */
.rh2 .i-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft);
}
.rh2 .i-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Scroll-reveal — stagger container, children cascade */
.rh2 .i-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease-soft), transform 0.75s var(--ease-soft);
}
.rh2 .i-stagger.is-visible > *                { opacity: 1; transform: translateY(0); }
.rh2 .i-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.08s; }
.rh2 .i-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.16s; }
.rh2 .i-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.24s; }
.rh2 .i-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.32s; }
.rh2 .i-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.40s; }
.rh2 .i-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.48s; }
.rh2 .i-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.56s; }

/* Hero load stagger — Articles */
.rh2 .ar-hero .i-kicker  { animation: i-rise 0.7s var(--ease-soft)  0.15s both; }
.rh2 .ar-hero .i-h1      { animation: i-rise 1s   var(--ease-cinema) 0.30s both; }
.rh2 .ar-hero .i-lead    { animation: i-rise 0.8s var(--ease-soft)  0.55s both; }
.rh2 .ar-hero .ar-topics { animation: i-rise 0.7s var(--ease-soft)  0.70s both; }

/* Hero load stagger — Products, Article detail */
.rh2 .pr-hero .i-kicker, .rh2 .ad-hero .ad-back { animation: i-rise 0.7s var(--ease-soft)  0.15s both; }
.rh2 .pr-hero .i-h1, .rh2 .ad-hero .i-h1        { animation: i-rise 1s   var(--ease-cinema) 0.25s both; }
.rh2 .pr-hero .i-lead, .rh2 .ad-hero .i-lead    { animation: i-rise 0.8s var(--ease-soft)  0.35s both; }

/* Hero load stagger — Contact */
.rh2 .co-hero .i-kicker { animation: i-rise 0.7s var(--ease-soft)  0.15s both; }
.rh2 .co-hero .i-h1     { animation: i-rise 1s   var(--ease-cinema) 0.30s both; }
.rh2 .co-hero .i-lead   { animation: i-rise 0.8s var(--ease-soft)  0.55s both; }

/* Article row arrow pulse on hover */
.rh2 .ar-row-arrow { transition: transform 0.4s var(--ease-soft); }
.rh2 .ar-row:hover .ar-row-arrow { transform: translateX(6px); }

/* Reduced motion — collapse everything */
@media (prefers-reduced-motion: reduce) {
  .rh2 .i-reveal,.rh2 .i-stagger > *,.rh2 .ar-hero .i-kicker,.rh2 .ar-hero .i-h1,.rh2 .ar-hero .i-lead,.rh2 .ar-hero .ar-topics,.rh2 .co-hero .i-kicker,.rh2 .co-hero .i-h1,.rh2 .co-hero .i-lead,.rh2 .ar-results,.rh2 .pr-hero .i-kicker,.rh2 .pr-hero .i-h1,.rh2 .pr-hero .i-lead,.rh2 .ad-hero .ad-back,.rh2 .ad-hero .i-h1,.rh2 .ad-hero .i-lead {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .rh2 .i-sec { padding: 72px 20px; }
  .rh2 .i-sec-head { grid-template-columns: 1fr; gap: 16px; }
  .rh2 .ar-hero { padding: 48px 20px 32px; }
  .rh2 .ar-feature { margin: 0 20px; padding: 32px 24px; border-radius: 24px; grid-template-columns: 1fr; gap: 32px; }
  .rh2 .ar-index { padding: 48px 20px 24px; }
  .rh2 .ar-row { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .rh2 .ar-row-tag, .rh2 .ar-row-read { grid-column: 1 / -1; }
  .rh2 .ad-hero { padding: 36px 20px 40px; }
  .rh2 .ad-body { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 72px; }
  .rh2 .ad-toc { position: static; }
  .rh2 .ad-next { padding: 56px 20px; }
  .rh2 .co-hero { padding: 48px 20px 48px; }
  .rh2 .co-offices { grid-template-columns: 1fr; }
  .rh2 .co-office { padding: 48px 20px; border-top: 4px solid #192E7D; }
  .rh2 .co-office + .co-office { border-left: 0; }
  .rh2 .co-next-grid { grid-template-columns: 1fr; gap: 12px; padding-inline-start: 0; }
  .rh2 .i-close { padding: 88px 20px; }
}

/* ── Contact: hero WhatsApp button ── */
.rh2 .co-hero-wa { margin-top: 36px; }

@media (max-width: 600px) {
  .rh2 .co-hero-wa { margin-top: 28px; }
}

/* ── Big screens: Articles, article pages, Tutorial and Contact grow with the width past 1440px ──
   --u is 1px on a 1440px-wide screen; each size = max(its 1440px value, that many --u), like the
   homepage, products and About pages. Phones / tablets (900px and under) keep their own rules. */
@media (min-width: 901px) {
  .rh2 { --u: .069444vw; }
  /* Shared */
  .rh2 .i-kicker { font-size: max(11px, calc(11 * var(--u))); }
  .rh2 .i-h1 { font-size: max(44px, 8vw); }
  .rh2 .i-h2 { font-size: max(clamp(32px, 4.6vw, 64px), calc(64 * var(--u))); }
  .rh2 .i-lead { font-size: max(clamp(16px, 1.5vw, 20px), calc(20 * var(--u))); }
  .rh2 .i-statement { font-size: max(clamp(26px, 3.4vw, 48px), calc(48 * var(--u))); }
  .rh2 .i-sec { padding: max(120px, calc(120 * var(--u))) max(64px, calc(64 * var(--u))); }
  .rh2 .i-sec-head { grid-template-columns: max(240px, calc(240 * var(--u))) 1fr; gap: max(48px, calc(48 * var(--u))); }
  .rh2 .i-btn-white { gap: max(14px, calc(14 * var(--u))); font-size: max(14px, calc(14 * var(--u))); padding: max(8px, calc(8 * var(--u))) max(8px, calc(8 * var(--u))) max(8px, calc(8 * var(--u))) max(26px, calc(26 * var(--u))); }
  .rh2 .v2-btn-solid { font-size: max(13px, calc(13 * var(--u))); gap: max(5px, calc(5 * var(--u))); padding: max(12px, calc(12 * var(--u))) max(6px, calc(6 * var(--u))) max(12px, calc(12 * var(--u))) max(20px, calc(20 * var(--u))); }
  .rh2 :is(.v2-btn-solid, .i-btn-white) .v2-cta-icon { width: max(27px, calc(27 * var(--u))); height: max(27px, calc(27 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
  /* Articles */
  .rh2 .ar-hero { padding: max(56px, calc(56 * var(--u))) max(64px, calc(64 * var(--u))) max(48px, calc(48 * var(--u))); }
  .rh2 .ar-hero .i-h1 { margin: max(20px, calc(20 * var(--u))) 0 max(24px, calc(24 * var(--u))); font-size: max(clamp(40px, 6.2vw, 86px), calc(86 * var(--u))); }
  .rh2 .ar-topics { gap: max(8px, calc(8 * var(--u))); margin-top: max(36px, calc(36 * var(--u))); }
  .rh2 .ar-topic { padding: max(9px, calc(9 * var(--u))) max(18px, calc(18 * var(--u))); font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .ar-count { margin-top: max(14px, calc(14 * var(--u))); font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .ar-feature { margin: 0 max(64px, calc(64 * var(--u))); border-radius: max(32px, calc(32 * var(--u))); padding: max(56px, calc(56 * var(--u))); grid-template-columns: minmax(0, 1.4fr) minmax(max(260px, calc(260 * var(--u))), 1fr); gap: max(56px, calc(56 * var(--u))); }
  .rh2 .ar-feature::after { right: max(36px, calc(36 * var(--u))); top: max(30px, calc(30 * var(--u))); font-size: max(36px, calc(36 * var(--u))); }
  .rh2 .ar-feature-main { gap: max(48px, calc(48 * var(--u))); }
  .rh2 .ar-feature-tag { font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .ar-feature h2 { font-size: max(clamp(34px, 4.6vw, 64px), calc(64 * var(--u))); margin-bottom: max(20px, calc(20 * var(--u))); }
  .rh2 .ar-feature p { font-size: max(16px, calc(16 * var(--u))); }
  .rh2 .ar-feature-read { margin-top: max(28px, calc(28 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .ar-feature-toc { padding-top: max(20px, calc(20 * var(--u))); }
  .rh2 .ar-feature-toc-title { font-size: max(13px, calc(13 * var(--u))); margin-bottom: max(12px, calc(12 * var(--u))); }
  .rh2 .ar-feature-toc li { grid-template-columns: max(28px, calc(28 * var(--u))) 1fr; padding: max(10px, calc(10 * var(--u))) 0; font-size: max(15px, calc(15 * var(--u))); }
  .rh2 .ar-index { padding: max(72px, calc(72 * var(--u))) max(64px, calc(64 * var(--u))) max(24px, calc(24 * var(--u))); }
  .rh2 .ar-row { grid-template-columns: max(150px, calc(150 * var(--u))) 1fr max(110px, calc(110 * var(--u))) max(32px, calc(32 * var(--u))); gap: max(32px, calc(32 * var(--u))); padding: max(32px, calc(32 * var(--u))) 0; }
  .rh2 .ar-row-tag { font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .ar-row h3 { font-size: max(clamp(22px, 2.4vw, 32px), calc(32 * var(--u))); margin-bottom: max(6px, calc(6 * var(--u))); }
  .rh2 .ar-row p { font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .ar-row-read { font-size: max(13px, calc(13 * var(--u))); }
  .rh2 .ar-row-arrow { font-size: max(20px, calc(20 * var(--u))); }
  /* Article detail */
  .rh2 .ad-hero { padding: max(48px, calc(48 * var(--u))) max(64px, calc(64 * var(--u))) max(56px, calc(56 * var(--u))); max-width: max(1100px, calc(1100 * var(--u))); }
  .rh2 .ad-back { gap: max(8px, calc(8 * var(--u))); font-size: max(14px, calc(14 * var(--u))); margin-bottom: max(32px, calc(32 * var(--u))); }
  .rh2 .ad-meta { font-size: max(14px, calc(14 * var(--u))); margin-bottom: max(16px, calc(16 * var(--u))); }
  .rh2 .ad-title { font-size: max(40px, 6vw); margin-bottom: max(24px, calc(24 * var(--u))); }
  .rh2 .ad-body { grid-template-columns: max(240px, calc(240 * var(--u))) minmax(0, 68ch); gap: max(64px, calc(64 * var(--u))); padding: max(56px, calc(56 * var(--u))) max(64px, calc(64 * var(--u))) max(96px, calc(96 * var(--u))); }
  .rh2 .ad-toc { top: max(104px, calc(104 * var(--u))); }
  .rh2 .ad-toc-title { font-size: max(13px, calc(13 * var(--u))); margin-bottom: max(12px, calc(12 * var(--u))); }
  .rh2 .ad-toc a { padding: max(7px, calc(7 * var(--u))) 0 max(7px, calc(7 * var(--u))) max(12px, calc(12 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .ad-section { padding-left: max(22px, calc(22 * var(--u))); scroll-margin-top: max(110px, calc(110 * var(--u))); }
  .rh2 .ad-section + .ad-section { margin-top: max(48px, calc(48 * var(--u))); }
  .rh2 .ad-section h2 { font-size: max(clamp(22px, 2.2vw, 28px), calc(28 * var(--u))); margin-bottom: max(14px, calc(14 * var(--u))); }
  .rh2 .ad-section p { font-size: max(17px, calc(17 * var(--u))); }
  .rh2 .ad-section p + p { margin-top: max(14px, calc(14 * var(--u))); }
  .rh2 .ad-section ul { margin-top: max(16px, calc(16 * var(--u))); gap: max(10px, calc(10 * var(--u))); }
  .rh2 .ad-section li { padding-inline-start: max(22px, calc(22 * var(--u))); font-size: max(17px, calc(17 * var(--u))); }
  .rh2 .ad-section li::before { width: max(8px, calc(8 * var(--u))); height: max(8px, calc(8 * var(--u))); }
  .rh2 .ad-next { gap: max(8px, calc(8 * var(--u))); padding: max(72px, calc(72 * var(--u))) max(64px, calc(64 * var(--u))); }
  .rh2 .ad-next-label { font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .ad-next-title { font-size: max(clamp(32px, 4.4vw, 60px), calc(60 * var(--u))); }
  .rh2 .ad-next-summary { font-size: max(16px, calc(16 * var(--u))); }
  /* Contact */
  .rh2 .co-hero { padding: max(56px, calc(56 * var(--u))) max(64px, calc(64 * var(--u))) max(72px, calc(72 * var(--u))); }
  .rh2 .co-hero .i-h1 { margin: max(20px, calc(20 * var(--u))) 0 max(32px, calc(32 * var(--u))); }
  .rh2 .co-hero-wa { margin-top: max(36px, calc(36 * var(--u))); }
  .rh2 .co-office { padding: max(72px, calc(72 * var(--u))) max(64px, calc(64 * var(--u))) max(80px, calc(80 * var(--u))); }
  .rh2 .co-office-code { font-size: max(11px, calc(11 * var(--u))); margin-bottom: max(20px, calc(20 * var(--u))); }
  .rh2 .co-office h2 { font-size: max(clamp(32px, 4.4vw, 60px), calc(60 * var(--u))); margin-bottom: max(32px, calc(32 * var(--u))); }
  .rh2 .co-tel { font-size: max(clamp(22px, 2.4vw, 34px), calc(34 * var(--u))); margin-bottom: max(6px, calc(6 * var(--u))); }
  .rh2 .co-mail { font-size: max(15px, calc(15 * var(--u))); margin: max(14px, calc(14 * var(--u))) 0 max(28px, calc(28 * var(--u))); }
  .rh2 .co-addr { font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .co-next-grid { gap: max(16px, calc(16 * var(--u))); margin-top: max(56px, calc(56 * var(--u))); padding-inline-start: max(288px, calc(288 * var(--u))); }
  .rh2 .co-next { border-radius: max(20px, calc(20 * var(--u))); padding: max(24px, calc(24 * var(--u))) max(24px, calc(24 * var(--u))) max(28px, calc(28 * var(--u))); }
  .rh2 .co-next-num { font-size: max(40px, calc(40 * var(--u))); margin-bottom: max(20px, calc(20 * var(--u))); }
  .rh2 .co-next h3 { font-size: max(22px, calc(22 * var(--u))); margin-bottom: max(8px, calc(8 * var(--u))); }
  .rh2 .co-next p { font-size: max(14px, calc(14 * var(--u))); }
}

/* Space between the hero's bottom rule and the first row of range cards. */
.rh2 .pr-grid { padding-top: 40px; }
@media (min-width: 901px) { .rh2 .pr-grid { padding-top: max(40px, calc(40 * var(--u))); } }
@media (max-width: 900px) { .rh2 .pr-grid { padding-top: 24px; } }

/* ── product-grid.css ── */
/* ============================================================
   product-grid.css — category pages /products/<category>
   (components/products/ProductGridPage.tsx): a light hero that the
   range's card on /products grows into, then the range's models.
   Brand navy from docs/DESIGN.md; --pg-panel matches the /products
   card so the shared panel keeps its colour while it morphs.
   ============================================================ */

.pg-shell {
  --pg-navy: #192E7D;
  --pg-ink: #0a0a0a;
  --pg-muted: #595959;
  --pg-panel: #f4f6fb;
  --pg-line: #e3e5ee;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: #fff;
  color: var(--pg-ink);
  font-family: var(--v2-font);
  -webkit-font-smoothing: antialiased;
}
.pg-mono { font-family: var(--v2-mono); letter-spacing: .12em; text-transform: uppercase; }
.pg-inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.pg-inner:focus { outline: none; }
.pg-shell a:focus-visible { outline: 3px solid var(--pg-navy); outline-offset: 3px; }

/* Text that isn't a shared element rises in once the morph is under way. */
.pg-fade { animation: pgRise .5s .18s both cubic-bezier(.2,.8,.2,1); }
@keyframes pgRise { from { opacity: 0; transform: translateY(14px); } }

/* ── Back link ── */
.pg-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 12px 0 18px; }
.pg-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  padding: 8px 14px 8px 10px; border: 1px solid var(--pg-line); border-radius: 999px;
  background: #fff; color: var(--pg-navy); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.pg-back:hover { background: var(--pg-panel); }
/* The pinned copy: appears at the top left once the page scrolls past the back link. Beside the
   nav on wide screens, just under it where the nav takes the full width. */
.pg-back-pin {
  position: fixed; z-index: 160; top: 83px; left: 40px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s;
}
.pg-back-pin.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pg-back-pin:hover { background: #fff; }
@media (min-width: 1240px) {
  .pg-back-pin {
    top: max(26px, calc(26 * var(--u)));
    left: max(40px, calc((100% - max(1320px, calc(1320 * var(--u)))) / 2 + max(40px, calc(40 * var(--u)))));
  }
}
.pg-crumb-n { font-size: 12px; letter-spacing: .22em; color: var(--pg-navy); }

/* ── Hero ── */
/* With no other models below (a one-product range), the hero ends the page. */
.pg-hero:last-child { margin-bottom: 120px; }
.pg-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; min-height: 440px; }
/* Behind the text and image even when the phone layout reorders the image first. */
.pg-hero-panel { position: absolute; inset: 0; z-index: -1; border-radius: 32px; background: var(--pg-panel); }
.pg-hero-text { position: relative; display: grid; gap: 16px; align-content: center; justify-items: start; padding: 48px; }
.pg-eyebrow { margin: 0; font-size: 12px; letter-spacing: .22em; color: var(--pg-navy); }
/* The range's name: the /products card title lands here. */
.pg-hero h1 { width: fit-content; margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
/* The featured product */
.pg-hero-name { margin: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: .98; text-wrap: balance; }
.pg-intro { margin: 0; max-width: 40ch; font-size: 19px; line-height: 1.5; color: var(--pg-muted); }
.pg-hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-hero-points li { padding: 7px 14px; border: 1px solid var(--pg-line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; }
.pg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.pg-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--pg-navy); border-radius: 999px;
  background: var(--pg-navy); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: opacity .2s, background .2s;
}
.pg-btn:hover { opacity: .9; }
.pg-btn.is-ghost { border-color: var(--pg-line); background: #fff; color: var(--pg-navy); }
.pg-btn.is-ghost:hover { opacity: 1; background: #eceff7; }
.pg-hero-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%; padding: 40px; }
.pg-hero-media img { width: 82%; height: auto; max-height: 100%; object-fit: contain; }
.pg-hero-media .pa-art { width: 100%; height: auto; }

/* ── "In this range." ── */
.pg-sec-head {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px;
  padding: 56px 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--pg-line);
}
.pg-sec-head h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.pg-sec-head em { font-weight: 500; color: var(--pg-navy); }
.pg-sec-head .pg-mono { font-size: 12px; letter-spacing: .22em; color: var(--pg-navy); }

/* ── Model cards ──
   The layout (is-bento / is-lead / is-row2 / is-row3 / is-row4) is picked from the number of models so
   every row is full: see gridLayout() in ProductGridPage.tsx. */
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 120px; }
/* Groups inside "More items" (hardware, software): a small heading over each grid, closer together. */
.pg-group { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.pg-group .pg-mono { font-size: 11px; font-weight: 500; color: var(--pg-muted); }
.pg-grid:has(+ .pg-group) { margin-bottom: 40px; }
.pg-grid.is-bento, .pg-grid.is-row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-grid.is-row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: 18px; border-radius: 22px;
  background: #fff; border: 1px solid var(--pg-line);
  color: var(--pg-ink); text-decoration: none;
  opacity: 0; transform: translateY(24px) scale(.98);
  animation: pgUp .55s cubic-bezier(.2,.7,.2,1) .2s forwards;
  transition: border-color .3s, box-shadow .3s;
}
@keyframes pgUp { to { opacity: 1; transform: none; } }
.pg-card:hover { border-color: #c9cee0; box-shadow: 0 14px 34px rgba(25,46,125,.08); }
.pg-card.is-feature { padding: 28px; }
.is-bento .pg-card.is-feature { grid-column: span 2; grid-row: span 2; }
/* Lead: the first card runs across the row, picture left and text right. */
.is-lead .pg-card.is-feature {
  grid-column: 1 / -1; display: grid; column-gap: 40px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto auto auto auto;
  grid-template-areas: "pic top" "pic ." "pic title" "pic desc" "pic reveal" "pic foot";
}
.is-lead .is-feature .pg-top { grid-area: top; }
.is-lead .is-feature .pg-pic { grid-area: pic; margin: 0; }
.is-lead .is-feature h3 { grid-area: title; }
.is-lead .is-feature .pg-desc { grid-area: desc; }
.is-lead .is-feature .pg-reveal { grid-area: reveal; }
.is-lead .is-feature .pg-foot { grid-area: foot; }
.pg-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--pg-muted); letter-spacing: .1em; }
.pg-tag { color: var(--pg-navy); }

/* Product cutouts sit whole on a rounded plate, with room around them. */
.pg-pic { position: relative; height: 170px; margin: 12px 0 14px; overflow: hidden; border-radius: 14px; background: var(--pg-panel); }
.pg-pic img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px 6%; box-sizing: border-box; object-fit: contain; border-radius: 14px;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.pg-card:hover .pg-pic :is(img, .pa-art) { transform: scale(1.05); }
/* The AI service is drawn (AiFlowArt), not photographed. */
.pg-pic .pa-art { position: absolute; inset: 0; width: 100%; height: 100%; padding: 5%; box-sizing: border-box; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
/* Brand logos stand in for product photos: shown whole, with room around them. */
.pg-pic img.is-logo { padding: 28px 16%; }
/* AutoCount's product wordmarks only come small, so they're kept near their own size rather than filling the box. */
.pg-pic img.is-logo[src*="/brands/autocount-"]:not([src$="/autocount-logo.webp"]) {
  inset: 0; width: auto; height: auto; max-width: min(64%, 300px); max-height: min(46%, 110px); margin: auto; padding: 0; border-radius: 0;
}
.pg-hero-media img.is-logo[src*="/brands/autocount-"]:not([src$="/autocount-logo.webp"]) { width: auto; max-width: min(72%, 380px); max-height: 140px; }
.pg-modal-media img.is-logo[src*="/brands/autocount-"]:not([src$="/autocount-logo.webp"]) { width: auto; max-width: min(72%, 320px); max-height: 120px; padding: 0; border-radius: 0; }
.is-feature .pg-pic { height: auto; flex: 1; min-height: 300px; }
.pg-card h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.is-feature h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; }
.pg-desc { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--pg-muted); }

/* Highlights fold open on hover (always open on the featured card) */
.pg-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.pg-reveal > div { overflow: hidden; }
.pg-card:hover .pg-reveal, .pg-card:focus-visible .pg-reveal, .is-feature .pg-reveal { grid-template-rows: 1fr; }
.pg-reveal ul { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--pg-line); }
.pg-reveal li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--pg-line); font-size: 13px; }
.pg-reveal li span:first-child { font-family: var(--v2-mono); font-size: 11px; color: var(--pg-muted); padding-top: 1px; }
.pg-reveal li span:last-child { font-weight: 600; }

.pg-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--pg-navy); }
.pg-foot i { font-style: normal; transition: transform .3s; }
.pg-card:hover .pg-foot i { transform: translateX(4px); }

/* ── Model window (ProductModal): opens from a card over the category page ── */
.pg-modal {
  width: min(960px, calc(100vw - 48px)); max-width: none; max-height: min(86vh, 760px);
  margin: auto; /* centred (the global reset zeroes the dialog's own auto margins) */
  padding: 0; border: 0; border-radius: 28px; overflow: hidden;
  background: #fff; color: var(--pg-ink); font-family: var(--v2-font);
  box-shadow: 0 40px 120px -20px rgba(10,18,56,.45);
}
/* A column flexbox so the box is held to the window's max height and its text column scrolls. */
.pg-modal[open] { display: flex; flex-direction: column; animation: pgModalIn .35s cubic-bezier(.2,.8,.2,1); }
.pg-modal::backdrop { background: rgba(10,18,56,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.pg-modal[open]::backdrop { animation: pgFadeIn .3s ease-out; }
@keyframes pgModalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes pgFadeIn { from { opacity: 0; } }
/* The page behind stays put while the window is open. */
:root:has(.pg-modal[open]) { overflow: hidden; }

.pg-modal-box { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr); }
.pg-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--pg-panel); color: var(--pg-ink); font: 400 24px/1 var(--v2-font); cursor: pointer; transition: background .2s;
}
.pg-modal-close:hover { background: #e3e6f0; }
.pg-modal-close:focus-visible, .pg-modal a:focus-visible { outline: 3px solid var(--pg-navy); outline-offset: 2px; }
.pg-modal-media { display: grid; place-items: center; padding: 40px; background: var(--pg-panel); }
.pg-modal-media img { width: 100%; height: auto; max-height: 420px; object-fit: contain; border-radius: 16px; }
.pg-modal-media img.is-logo { padding: 18% 12%; }
.pg-modal-media .pa-art { width: 100%; height: auto; max-height: 420px; }
.pg-modal-body { display: flex; flex-direction: column; gap: 14px; padding: 40px 40px 32px; overflow-y: auto; overscroll-behavior: contain; }
.pg-modal-kicker { margin: 0; font-size: 12px; letter-spacing: .22em; color: var(--pg-navy); }
.pg-modal-body h2 { margin: 0; padding-right: 40px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.pg-modal-tagline { margin: 0; font-size: 16px; line-height: 1.55; color: var(--pg-muted); }
.pg-modal-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
/* Plain labels, not buttons: square-ish, no outline, muted (the feature tabs below are the pills you press). */
.pg-modal-badges li { padding: 5px 9px; border-radius: 6px; background: #f1f3f8; color: #4a5068; font-size: 10.5px; letter-spacing: .1em; }
.pg-modal-specs { display: grid; margin-top: 6px; border-top: 1px solid var(--pg-line); counter-reset: spec; }
.pg-modal-specs:has(.ft) { padding-top: 18px; }
/* Each group: a numbered heading, then its points with a tick */
.pg-modal-specs > section { padding: 18px 0; border-bottom: 1px solid var(--pg-line); }
.pg-modal-specs > section:last-child { border-bottom: 0; padding-bottom: 4px; }
.pg-modal-specs h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.pg-modal-specs > section h3::before {
  counter-increment: spec; content: counter(spec, decimal-leading-zero);
  padding: 3px 7px; border-radius: 7px; background: #eceff7; color: var(--pg-navy);
  font: 500 10px/1.3 var(--v2-mono); letter-spacing: .08em;
}
.pg-modal-specs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; line-height: 1.5; color: var(--pg-muted); }
.pg-modal-specs > section li { position: relative; padding-left: 28px; }
.pg-modal-specs > section li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: #eceff7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%23192E7D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.pg-modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 12px; }
.pg-modal-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--pg-navy); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
}

/* Phone: the window becomes a sheet, image on top, everything scrolls together. */
@media (max-width: 768px) {
  .pg-modal { width: calc(100vw - 24px); max-height: 88vh; border-radius: 22px; }
  .pg-modal-box { grid-template-columns: 1fr; grid-template-rows: none; overflow-y: auto; overscroll-behavior: contain; }
  .pg-modal-media { padding: 24px 24px 20px; }
  .pg-modal-media img { max-height: 200px; }
  .pg-modal-body { padding: 24px 22px 24px; overflow: visible; }
  .pg-modal-close { top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-modal[open], .pg-modal[open]::backdrop { animation: none; }
}

/* ── Tablet / phone ── */
/* Narrower screens: four-across layouts go two-across (the bento's large card takes a row). */
@media (max-width: 1100px) {
  .pg-grid.is-bento, .pg-grid.is-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .is-bento .pg-card.is-feature { grid-row: auto; }
}
@media (max-width: 820px) {
  .pg-hero { grid-template-columns: 1fr; min-height: 0; }
  .pg-hero-text { padding: 8px 24px 32px; }
  .pg-hero-media { order: -1; padding: 28px; }
}
@media (max-width: 768px) {
  .pg-inner { padding: 0 16px; }
  .pg-hero:last-child { margin-bottom: 64px; }
  .pg-back-pin { top: 79px; left: 16px; }
  .pg-hero-panel { border-radius: 24px; }
  .pg-intro { font-size: 17px; }
  .pg-sec-head { padding-top: 40px; }
  .pg-sec-head h2 { font-size: 26px; }
  .pg-grid, .pg-grid:is(.is-bento, .is-row4) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 64px; }
  .pg-card { padding: 14px; border-radius: 18px; }
  .pg-pic { height: 120px; margin: 10px 0; }
  .pg-desc { display: none; }
  .pg-card h3 { font-size: 15px; }
  .pg-card.is-feature { grid-column: span 2; grid-row: auto; padding: 18px; }
  .is-lead .pg-card.is-feature { display: flex; }
  .is-lead .is-feature .pg-pic { margin: 10px 0; }
  /* Two across: a card left alone on the last row takes the whole row. */
  :is(.is-row3, .is-row4) .pg-card:last-child:nth-child(odd),
  :is(.is-bento, .is-lead) .pg-card:last-child:nth-child(even) { grid-column: span 2; }
  .is-feature .pg-pic { min-height: 200px; }
  .is-feature .pg-desc { display: block; }
  .pg-reveal { display: none; }
  .is-feature .pg-reveal { display: grid; }
}

/* ── Reduced motion: everything is simply there ── */
@media (prefers-reduced-motion: reduce) {
  .pg-fade { animation: none; }
  .pg-card { animation: none; opacity: 1; transform: none; }
  .pg-card, .pg-pic img, .pg-pic .pa-art, .pg-reveal, .pg-foot i, .pg-back { transition: none; }
  .pg-card:hover .pg-pic :is(img, .pa-art), .pg-card:hover .pg-foot i { transform: none; }
}

/* ── Big screens: the page grows with the width past 1440px, like the rest of the site ──
   --u is 1px on a 1440px-wide screen; each size = max(its 1440px value, that many --u), so the
   grid keeps the same number of columns and the cards keep their proportions. */
@media (min-width: 769px) {
  .pg-shell { --u: .069444vw; }
  .pg-inner { max-width: max(1320px, calc(1320 * var(--u))); padding: 0 max(40px, calc(40 * var(--u))); }
  .pg-crumb { gap: max(14px, calc(14 * var(--u))); padding: max(12px, calc(12 * var(--u))) 0 max(18px, calc(18 * var(--u))); }
  .pg-back { min-height: max(40px, calc(40 * var(--u))); font-size: max(14px, calc(14 * var(--u))); padding: max(8px, calc(8 * var(--u))) max(14px, calc(14 * var(--u))) max(8px, calc(8 * var(--u))) max(10px, calc(10 * var(--u))); }
  .pg-crumb-n, .pg-eyebrow, .pg-sec-head .pg-mono { font-size: max(12px, calc(12 * var(--u))); }
  .pg-hero { min-height: max(440px, calc(440 * var(--u))); }
  .pg-hero-panel { border-radius: max(32px, calc(32 * var(--u))); }
  .pg-hero-text { gap: max(18px, calc(18 * var(--u))); padding: max(48px, calc(48 * var(--u))); }
  .pg-hero h1 { font-size: max(clamp(24px, 2.2vw, 32px), calc(32 * var(--u))); }
  .pg-hero-name { font-size: max(clamp(36px, 4.6vw, 64px), calc(64 * var(--u))); }
  .pg-hero-points li { padding: max(7px, calc(7 * var(--u))) max(14px, calc(14 * var(--u))); font-size: max(13px, calc(13 * var(--u))); }
  .pg-btn { min-height: max(46px, calc(46 * var(--u))); padding: 0 max(22px, calc(22 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
  .pg-intro { font-size: max(19px, calc(19 * var(--u))); }
  .pg-hero-media { padding: max(40px, calc(40 * var(--u))); }
  .pg-sec-head { padding: max(56px, calc(56 * var(--u))) 0 max(20px, calc(20 * var(--u))); margin-bottom: max(20px, calc(20 * var(--u))); }
  .pg-sec-head h2 { font-size: max(32px, calc(32 * var(--u))); }
  .pg-grid { gap: max(18px, calc(18 * var(--u))); margin-bottom: max(120px, calc(120 * var(--u))); }
  .pg-grid:has(+ .pg-group) { margin-bottom: max(40px, calc(40 * var(--u))); }
  .pg-group { margin-bottom: max(14px, calc(14 * var(--u))); font-size: max(18px, calc(18 * var(--u))); }
  .pg-group .pg-mono { font-size: max(11px, calc(11 * var(--u))); }
  .pg-card { padding: max(18px, calc(18 * var(--u))); border-radius: max(22px, calc(22 * var(--u))); }
  .pg-card.is-feature { padding: max(28px, calc(28 * var(--u))); }
  .pg-top { font-size: max(11px, calc(11 * var(--u))); }
  .pg-pic { height: max(170px, calc(170 * var(--u))); margin: max(12px, calc(12 * var(--u))) 0 max(14px, calc(14 * var(--u))); }
  .pg-pic, .pg-pic img { border-radius: max(14px, calc(14 * var(--u))); }
  .is-feature .pg-pic { height: auto; min-height: max(300px, calc(300 * var(--u))); }
  .is-lead .pg-card.is-feature { column-gap: max(40px, calc(40 * var(--u))); }
  .pg-card h3 { font-size: max(18px, calc(18 * var(--u))); }
  .is-feature h3 { font-size: max(clamp(26px, 2.6vw, 36px), calc(36 * var(--u))); }
  .pg-desc { margin-top: max(6px, calc(6 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
  .pg-reveal ul { margin-top: max(12px, calc(12 * var(--u))); }
  .pg-reveal li { gap: max(12px, calc(12 * var(--u))); padding: max(8px, calc(8 * var(--u))) 0; font-size: max(13px, calc(13 * var(--u))); }
  .pg-reveal li span:first-child { font-size: max(11px, calc(11 * var(--u))); }
  .pg-foot { padding-top: max(14px, calc(14 * var(--u))); font-size: max(13px, calc(13 * var(--u))); }
}

/* A software product's features, between the hero and the rest of the range */
.pg-features { margin-bottom: 40px; }
.pg-features:last-child { margin-bottom: 120px; }
.pg-modal-specs .ft-list { padding-left: 0; }
.pg-modal-specs strong { color: var(--pg-ink); font-weight: 700; }

/* ── Range sections (RangeSections): why, how it flows, who it's for ── */
.pg-rsec { margin-bottom: 40px; }
.pg-sec-head--intro { align-items: flex-end; }
.pg-sec-intro { margin: 10px 0 0; max-width: 60ch; font-size: 16px; line-height: 1.55; color: var(--pg-muted); }

.pg-rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pg-rcards.is-audience { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-rcards li { padding: 24px; border: 1px solid var(--pg-line); border-radius: 22px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pg-rcards li:hover { border-color: #c9cee0; box-shadow: 0 14px 34px rgba(25,46,125,.07); }
.pg-rcards.is-audience li { background: var(--pg-panel); border-color: transparent; }
.pg-rcard-kicker { margin: 0 0 14px; font-size: 11px; color: var(--pg-navy); }
.pg-rcards h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.pg-rcards li > p:last-child { margin: 0; font-size: 14px; line-height: 1.55; color: var(--pg-muted); }

/* Numbered steps joined by a line */
.pg-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pg-steps li { position: relative; padding: 24px; border-radius: 22px; background: var(--pg-navy); color: #fff; }
.pg-steps li:not(:last-child)::after {
  content: "→"; position: absolute; top: 24px; right: -12px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; color: var(--pg-navy); font-size: 13px; box-shadow: 0 2px 8px rgba(25,46,125,.15);
}
.pg-step-n { display: block; margin-bottom: 26px; font-family: var(--v2-mono); font-size: 12px; letter-spacing: .14em; opacity: .6; }
.pg-steps h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; }
.pg-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.75); }

@media (max-width: 1100px) {
  .pg-rcards.is-audience, .pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-steps li:nth-child(2n)::after { display: none; }
}
@media (max-width: 820px) {
  .pg-rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pg-rcards, .pg-rcards.is-audience, .pg-steps { grid-template-columns: minmax(0, 1fr); }
  .pg-steps li:not(:last-child)::after { display: none; }
}
@media (min-width: 1441px) {
  .pg-sec-intro { font-size: calc(16 * var(--u)); }
  .pg-rcards, .pg-steps { gap: calc(14 * var(--u)); }
  .pg-rcards li, .pg-steps li { padding: calc(24 * var(--u)); border-radius: calc(22 * var(--u)); }
  .pg-rcard-kicker { font-size: calc(11 * var(--u)); }
  .pg-rcards h3, .pg-steps h3 { font-size: calc(19 * var(--u)); }
  .pg-rcards li > p:last-child, .pg-steps p { font-size: calc(14 * var(--u)); }
}

/* Card icons and picture-and-story rows (RangeSections) */
.pg-ricon { display: block; width: 40px; height: 40px; margin-bottom: 18px; padding: 9px; border-radius: 12px; background: #eceff7; color: var(--pg-navy); box-sizing: border-box; }
.pg-rcards.is-audience .pg-ricon { background: #fff; }
.pg-spots { display: grid; gap: 18px; margin: 40px 0; }
.pg-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; padding: 48px; border-radius: 32px; background: var(--pg-panel); }
.pg-spot:nth-child(2n) .pg-spot-fig { order: 2; }
.pg-spot-fig { display: grid; place-items: center; margin: 0; }
.pg-spot-fig img { width: 100%; max-width: 480px; height: auto; }
.pg-spot-text h2 { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.pg-spot-desc { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--pg-muted); }
.pg-spot-text ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-spot-text li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.pg-spot-text li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pg-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 900px) {
  .pg-spot { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 22px; border-radius: 24px; }
  .pg-spot:nth-child(2n) .pg-spot-fig { order: 0; }
}
@media (min-width: 1441px) {
  .pg-ricon { width: calc(40 * var(--u)); height: calc(40 * var(--u)); padding: calc(9 * var(--u)); border-radius: calc(12 * var(--u)); }
  .pg-spot { gap: calc(56 * var(--u)); padding: calc(48 * var(--u)); border-radius: calc(32 * var(--u)); }
  .pg-spot-fig img { max-width: calc(480 * var(--u)); }
  .pg-spot-desc { font-size: calc(16 * var(--u)); }
  .pg-spot-text li { font-size: calc(15 * var(--u)); }
}

/* A tall product photo (like the stand scanner) mustn't grow past the 4:3 frame and over the
   text: its height is capped to the frame's inner height, worked out from the frame's width. */
.pg-hero-media { container-type: inline-size; --pgm-pad: 40px; padding: var(--pgm-pad); }
.pg-hero-media img:not(.is-logo) { max-height: calc(75cqw - 2 * var(--pgm-pad)); }
@media (max-width: 820px) { .pg-hero-media { --pgm-pad: 28px; } }
@media (min-width: 1441px) { .pg-hero-media { --pgm-pad: max(40px, calc(40 * var(--u))); } }

/* Hardware: the featured product's hero opens its window, so it looks and reacts like a card. */
.pg-hero.is-openable { cursor: pointer; }
.pg-hero.is-openable .pg-hero-media img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) {
  .pg-hero.is-openable:hover .pg-hero-media img { transform: scale(1.03); }
  .pg-hero.is-openable:hover .pg-btn.is-ghost { border-color: var(--pg-navy); }
}

/* Hero heading with a second line (range page `heading`), and credential chips (`proof`) */
.pg-hero h1.has-sub { display: grid; gap: 6px; }
.pg-h1-name { display: block; width: fit-content; }
.pg-h1-sub { display: block; font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; letter-spacing: 0; line-height: 1.35; color: var(--pg-muted); }
.pg-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; }
.pg-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--pg-navy); }
.pg-proof li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--pg-navy)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* FAQ (RangeFaq): questions open in place */
.pg-faq { margin-top: 72px; margin-bottom: 120px; }
.pg-faq-list { display: grid; gap: 10px; }
.pg-faq details { border: 1px solid var(--pg-line); border-radius: 18px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.pg-faq details[open] { border-color: #c9cee0; box-shadow: 0 14px 34px rgba(25,46,125,.07); }
.pg-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary:focus-visible { outline: 2px solid var(--pg-navy); outline-offset: 3px; border-radius: 18px; }
.pg-faq summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #eceff7; transition: background .3s, rotate .35s; }
.pg-faq summary i::before, .pg-faq summary i::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; translate: -50% -50%; border-radius: 2px; background: var(--pg-navy); transition: background .3s; }
.pg-faq summary i::after { rotate: 90deg; }
.pg-faq details[open] summary i { background: var(--pg-navy); rotate: 45deg; }
.pg-faq details[open] summary i::before, .pg-faq details[open] summary i::after { background: #fff; }
.pg-faq details p { margin: 0; padding: 0 24px 22px; max-width: 75ch; font-size: 15px; line-height: 1.65; color: var(--pg-muted); }
@media (max-width: 560px) {
  .pg-faq { margin-top: 48px; margin-bottom: 80px; }
  .pg-faq summary { padding: 16px 18px; font-size: 16px; }
  .pg-faq details p { padding: 0 18px 18px; }
}
@media (min-width: 1441px) {
  .pg-h1-sub { font-size: calc(16 * var(--u)); }
  .pg-proof li { font-size: calc(13 * var(--u)); }
  .pg-faq summary { font-size: calc(18 * var(--u)); padding: calc(20 * var(--u)) calc(24 * var(--u)); }
  .pg-faq details p { font-size: calc(15 * var(--u)); padding: 0 calc(24 * var(--u)) calc(22 * var(--u)); }
}


/* ── model-3d.css ── */
/* A product's 3D model (Model3D) in a card, the model window or the model page */
model-viewer.m3d { display: block; width: 100%; height: 100%; min-height: 220px; --poster-color: transparent; background: transparent; }
.pg-pic model-viewer.m3d { position: absolute; inset: 0; min-height: 0; pointer-events: none; }
.pg-modal-media model-viewer.m3d { height: min(420px, 60vh); }
.model-hero__media model-viewer.m3d { height: clamp(280px, 32vw, 460px); }

/* ── home-hero.css ── */
/* ============================================================
   home-hero.css — homepage motherboard hero (.mbh) + products (.mbp)
   Engine: components/home/motherboard-engine.ts. Uses the --v2-* tokens
   from site.css; the only extra colour is --mbh-live, a brighter shade of
   the brand navy that marks "current is flowing" (keep in sync with LIVE
   in the engine). Rules: docs/DESIGN.md
   ============================================================ */

.rh2 .mbh {
  --mbh-live: #2D4FD8;
  --mbh-live-soft: #7B93E8;
  --mbh-pin: 950vh;            /* scroll length of the story; larger = slower */
  --mbh-pad: 64px;
  --mbh-top: 110px;            /* measured in MotherboardHero: strip + nav */
  --mbh-nav: 80px;             /* measured: sticky nav height */
}

/* ── Pinned stage ── */
.rh2 .mbh-pin { position: relative; height: calc(100vh + var(--mbh-pin)); }
.rh2 .mbh-hero {
  position: sticky;
  top: var(--mbh-nav);
  height: calc(100vh - var(--mbh-top));
  height: calc(100svh - var(--mbh-top));
  min-height: 400px;   /* low enough that short windows (DevTools open) still fit the stage */
  overflow: hidden;
  border-bottom: 0;
}
.rh2 .mbh-scene { position: absolute; inset: 0; z-index: 0; }
/* Track: [board panel | products panel]. Desktop pans it left after the tour (hero-link.ts). */
.rh2 .mbh-track, .rh2 .mbh-p1 { position: absolute; inset: 0; }
.rh2 .mbh-p2 { position: absolute; top: 0; left: 100%; width: 100%; height: 100%; }
.rh2 .mbh-wires { position: absolute; left: 0; top: 0; width: 200%; height: 100%; overflow: visible; pointer-events: none; z-index: 6; }
.rh2 .mbh-wires .lk-core, .rh2 .mbh-wires .lk-halo, .rh2 .mbh-wires .lk-flow { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rh2 .mbh-wires .lk-core { stroke: var(--mbh-live); stroke-width: 2.4; }
.rh2 .mbh-wires .lk-halo { stroke: var(--mbh-live); stroke-opacity: .14; stroke-width: 9; }
.rh2 .mbh-wires .lk-flow { stroke: #fff; stroke-opacity: .9; stroke-width: 1.6; opacity: 0; }
.rh2 .mbh-wires .lk-port { fill: #fff; stroke: var(--mbh-live); stroke-width: 2; opacity: 0; transition: opacity .3s; }
.rh2 .mbh-wires.is-live .lk-port { opacity: 1; }
.rh2 .mbh-wires .lk-junction {
  fill: #fff; stroke: var(--mbh-live); stroke-width: 2; opacity: 0;
  transform-box: fill-box; transform-origin: center; transform: scale(.2);
  transition: opacity .25s, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.rh2 .mbh-wires .lk-junction.is-on { opacity: 1; transform: scale(1); }
.rh2 .mbh-wires .lk-tip { opacity: 0; }
.rh2 .mbh-wires .lk-tip-glow { fill: var(--mbh-live); fill-opacity: .18; }
.rh2 .mbh-wires .lk-tip-dot { fill: #fff; stroke: var(--mbh-live); stroke-width: 2.2; }
.rh2 .mbh-scene canvas { display: block; }
.rh2 .mbh-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(25,46,125,.08) 0%, rgba(25,46,125,.03) 28%, transparent 55%);
}
.rh2 .mbh-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 58%, rgba(255,255,255,.9) 100%);
  -webkit-mask-image: linear-gradient(#000 55%, transparent 85%);
  mask-image: linear-gradient(#000 55%, transparent 85%);
}
.rh2 .mbh-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.rh2 .mbh-ui a, .rh2 .mbh-ui button { pointer-events: auto; }
.rh2 .mbh em { font-style: normal; color: var(--v2-accent); }

/* ── Headline, intro copy, CTA ── */
.rh2 .mbh-h1 { font-size: inherit; font-weight: inherit; margin: 0; }
.rh2 .mbh-headline {
  position: absolute;
  display: block;
  font-size: clamp(48px, 7.4vw, 118px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--v2-text);
}
.rh2 .mbh-h-left { top: 10vh; left: var(--mbh-pad); }
.rh2 .mbh-h-right { top: 46vh; right: var(--mbh-pad); text-align: right; }
/* Tagline under the hover "REGO" wordmark; top and opacity are set by motherboard-engine.ts. */
.rh2 .mbh-word-sub {
  position: absolute; left: 50%; top: 62%; translate: -50% 8px; opacity: 0; pointer-events: none;
  font: 500 13px var(--v2-mono); letter-spacing: .24em; text-transform: uppercase; white-space: nowrap;
  color: var(--v2-muted);
}
.rh2 .mbh-bl { position: absolute; left: var(--mbh-pad); bottom: 48px; max-width: 310px; }
.rh2 .mbh-bl h2 { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.rh2 .mbh-rule { width: 32px; height: 1px; background: var(--v2-accent); margin: 18px 0; }
.rh2 .mbh-bl p { font-size: 13px; line-height: 1.7; color: var(--v2-muted); }
.rh2 .mbh-br {
  position: absolute; right: var(--mbh-pad); bottom: 56px; width: 320px;
  border-top: 1px solid var(--v2-border-hi); padding-top: 16px;
  display: flex; justify-content: space-between;
  font-family: var(--v2-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-muted);
}
.rh2 .mbh-arrow { display: inline-block; margin-right: 10px; color: var(--v2-accent); animation: mbhBob 2.4s ease-in-out infinite; }
@keyframes mbhBob { 50% { transform: translateY(4px); } }
.rh2 .mbh-cta { position: absolute; left: 50%; bottom: max(28px, 1.944vw); transform: translateX(-50%); }
/* Play grows with the screen past 1440px wide (each size = max(its 1440px value, the same share
   of the width)), like the OUR CLIENTS pill and the WhatsApp button. */
.rh2 .mbh-cta .v2-btn-solid {
  font-size: max(13px, .903vw); gap: max(5px, .347vw);
  padding: max(12px, .833vw) max(6px, .417vw) max(12px, .833vw) max(20px, 1.389vw);
}
.rh2 .mbh-cta .v2-cta-icon { width: max(27px, 1.875vw); height: max(27px, 1.875vw); }
.rh2 .mbh-cta .v2-cta-icon svg { width: max(9px, .625vw); height: max(9px, .625vw); }

/* Intro: copy fades in once the particles have gathered (after the preloader). */
.rh2 .mbh-fade { opacity: 0; }
.rh2 .mbh.is-live .mbh-fade { animation: mbhIn 1.4s cubic-bezier(.2,.7,.2,1) forwards; }
.rh2 .mbh.is-live .mbh-cta.mbh-fade { animation-name: mbhInCta; }
.rh2 .mbh .d1 { animation-delay: 1.6s !important; }
.rh2 .mbh .d2 { animation-delay: 1.9s !important; }
.rh2 .mbh .d4 { animation-delay: 2.6s !important; }
.rh2 .mbh .d5 { animation-delay: 2.9s !important; }
@keyframes mbhIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mbhInCta { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translateX(-50%); } }

/* ── Motherboard line drawing (built by the engine) ── */
.rh2 .mbh-chip { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; opacity: 0; }
.rh2 .mbh-chip .mb-board-g * { vector-effect: non-scaling-stroke; }
.rh2 .mbh-chip .mb-board { fill: none; stroke: rgba(25,46,125,.4); stroke-width: 1.2; }
.rh2 .mbh-chip .mb-part { fill: rgba(255,255,255,.85); stroke: rgba(25,46,125,.42); stroke-width: 1; }
.rh2 .mbh-chip .mb-soft { fill: none; stroke: rgba(25,46,125,.22); stroke-width: 1; }
.rh2 .mbh-chip .mb-line { fill: none; stroke: rgba(25,46,125,.28); stroke-width: 1; }
.rh2 .mbh-chip .mb-trace { fill: none; stroke: rgba(25,46,125,.22); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.rh2 .mbh-chip .mb-story { stroke: rgba(25,46,125,.3); }
.rh2 .mbh-chip .mb-pad { fill: #fff; stroke: rgba(25,46,125,.4); stroke-width: 1; }
.rh2 .mbh-chip .mb-pkg { fill: rgba(255,255,255,.9); stroke: var(--v2-accent); stroke-width: 1.6; }
.rh2 .mbh-chip .mb-ring { fill: none; stroke: rgba(25,46,125,.26); stroke-width: 1; }
.rh2 .mbh-chip .mb-die { fill: rgba(25,46,125,.035); stroke: var(--v2-accent); stroke-width: 1.2; }
.rh2 .mbh-chip .mb-wire { fill: none; stroke: rgba(25,46,125,.28); stroke-width: .8; }
.rh2 .mbh-chip .mb-pin { fill: none; stroke: rgba(10,10,10,.35); stroke-width: 1.5; stroke-linecap: round; transition: stroke .35s ease calc(var(--i) * 22ms); }
.rh2 .mbh-chip.pwr .mb-pin { stroke: var(--v2-accent); }
.rh2 .mbh-chip .mb-text { font-family: var(--v2-mono); font-weight: 500; fill: rgba(25,46,125,.5); letter-spacing: .08em; }
.rh2 .mbh-chip .mb-code { fill: var(--v2-accent); }
.rh2 .mbh-chip .mb-ai { font-family: var(--v2-mono); font-weight: 600; fill: var(--v2-accent); text-anchor: middle; dominant-baseline: central; }
.rh2 .mbh-chip .mb-air { fill: none; stroke: rgba(25,46,125,.4); stroke-width: 1.2; stroke-dasharray: 2 6; stroke-linecap: round; }
.rh2 .mbh-chip .mb-live { fill: none; stroke: var(--mbh-live); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* Glow = wide faint stroke under the live line. No CSS filters on the board:
   it moves every frame, and blur filters would be repainted every frame (jank). */
.rh2 .mbh-chip .mb-live-glow { fill: none; stroke: rgba(45,79,216,.18); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.rh2 .mbh-chip .mb-hl { fill: rgba(45,79,216,.06); stroke: var(--mbh-live); stroke-width: 1.8; opacity: 0; transition: opacity .5s ease; }
.rh2 .mbh-chip .mb-hl.on { opacity: 1; }
.rh2 .mbh-chip .mb-spark { fill: var(--mbh-live); }
.rh2 .mbh-chip :is(.mb-trace, .mb-part, .mb-line, .mb-soft, .mb-pad) { transition: stroke 1s ease; }
/* Finale: the whole board powers up */
.rh2 .mbh-chip.lit .mb-trace { stroke: rgba(45,79,216,.65); }
.rh2 .mbh-chip.lit :is(.mb-part, .mb-line) { stroke: rgba(45,79,216,.75); }
.rh2 .mbh-chip.lit :is(.mb-soft, .mb-pad) { stroke: rgba(45,79,216,.55); }
.rh2 .mbh-chip.lit .mb-board { stroke: var(--mbh-live); stroke-width: 2; }

/* Phone */
.rh2 .mbh-chip .ph { opacity: 0; }
.rh2 .mbh-chip .ph-body { fill: rgba(255,255,255,.95); stroke: var(--v2-accent); stroke-width: 1.6; transition: stroke 1s; }
.rh2 .mbh-chip .ph-screen { fill: #F7F8FB; stroke: rgba(25,46,125,.2); stroke-width: 1; }
.rh2 .mbh-chip .ph-notch { fill: rgba(25,46,125,.35); }
.rh2 .mbh-chip .ph-avatar { fill: var(--v2-accent); }
.rh2 .mbh-chip .ph-text { font-family: var(--v2-font); fill: var(--v2-text); }
.rh2 .mbh-chip .ph-name { font-weight: 700; }
.rh2 .mbh-chip .ph-sub { fill: var(--v2-muted); }
.rh2 .mbh-chip .ph-sep { stroke: rgba(25,46,125,.14); stroke-width: 1; }
.rh2 .mbh-chip .ph-in { fill: #fff; stroke: rgba(10,10,10,.12); stroke-width: 1; }
.rh2 .mbh-chip .ph-out { fill: #E3E8F8; stroke: rgba(45,79,216,.35); stroke-width: 1; }
.rh2 .mbh-chip .ph-tick { fill: var(--mbh-live); font-weight: 500; }
.rh2 .mbh-chip .ph-input { fill: #fff; stroke: rgba(10,10,10,.15); stroke-width: 1; }
.rh2 .mbh-chip .ph-placeholder { fill: rgba(10,10,10,.35); }
.rh2 .mbh-chip .ph-send { fill: rgba(10,10,10,.14); transition: fill .3s; }
.rh2 .mbh-chip .ph-send.on { fill: var(--mbh-live); }
.rh2 .mbh-chip .ph-send-icon { fill: #fff; }
.rh2 .mbh-chip .ph-home { stroke: rgba(10,10,10,.3); stroke-width: 2; stroke-linecap: round; }
.rh2 .mbh-chip .ph-wave { fill: none; stroke: rgba(25,46,125,.22); stroke-width: 1.4; stroke-linecap: round; transition: stroke .3s; }
.rh2 .mbh-chip .ph-wave.on { stroke: var(--mbh-live); }
.rh2 .mbh-chip.lit .ph-body { stroke: var(--mbh-live); stroke-width: 2; }

/* Filter chip */
.rh2 .mbh-chip .flt { opacity: 0; }
.rh2 .mbh-chip .flt-wall { fill: none; stroke: var(--v2-accent); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.rh2 .mbh-chip .flt-mesh { stroke: rgba(25,46,125,.55); stroke-width: 1.2; stroke-dasharray: 2 2.5; transition: stroke .2s; }
.rh2 .mbh-chip .flt-mesh.hit { stroke: var(--v2-text); }
.rh2 .mbh-chip .flt-hole { fill: rgba(25,46,125,.4); }
.rh2 .mbh-chip .flt-dot.bad { fill: rgba(10,10,10,.4); }
.rh2 .mbh-chip .flt-dot.good { fill: var(--mbh-live); }
.rh2 .mbh-chip .flt-pill { fill: #fff; stroke: rgba(10,10,10,.14); stroke-width: 1; transition: fill .4s, stroke .4s; }
.rh2 .mbh-chip .flt-row.good.on .flt-pill { fill: #E3E8F8; stroke: rgba(45,79,216,.6); }
.rh2 .mbh-chip .flt-row.good.on .flt-msg { font-weight: 700; }
.rh2 .mbh-chip .flt-strike { stroke: rgba(10,10,10,.55); stroke-width: 1; }
.rh2 .mbh-chip .flt-tag { font-family: var(--v2-mono); font-weight: 600; letter-spacing: .08em; fill: rgba(10,10,10,.45); opacity: 0; }
.rh2 .mbh-chip .flt-row.good .flt-tag { fill: var(--mbh-live); }
.rh2 .mbh-chip.lit .flt-wall { stroke: var(--mbh-live); }

/* PC (AutoCount) */
.rh2 .mbh-chip .pc { opacity: 0; }
.rh2 .mbh-chip .pc-cable { fill: none; stroke: rgba(25,46,125,.4); stroke-width: 2.2; stroke-linecap: round; }
.rh2 .mbh-chip .pc-body { fill: rgba(255,255,255,.95); stroke: var(--v2-accent); stroke-width: 1.6; transition: stroke 1s; }
.rh2 .mbh-chip .pc-screen { fill: #F7F8FB; stroke: rgba(25,46,125,.2); stroke-width: 1; }
.rh2 .mbh-chip .pc-stand { fill: rgba(255,255,255,.9); stroke: var(--v2-accent); stroke-width: 1.2; }
.rh2 .mbh-chip .pc-title { fill: #EBEEF7; stroke: none; }
.rh2 .mbh-chip .pc-dot { fill: rgba(25,46,125,.35); }
.rh2 .mbh-chip .pc-title-text { font-weight: 700; fill: var(--v2-accent); }
.rh2 .mbh-chip .pc-th { font-family: var(--v2-mono); fill: rgba(10,10,10,.45); letter-spacing: .06em; }
.rh2 .mbh-chip .pc-td { fill: var(--v2-text); }
.rh2 .mbh-chip .pc-new { font-weight: 700; }
.rh2 .mbh-chip .pc-sep { stroke: rgba(10,10,10,.08); stroke-width: 1; }
.rh2 .mbh-chip .pc-row-bg { fill: rgba(45,79,216,.14); stroke: rgba(45,79,216,.45); stroke-width: 1; }
.rh2 .mbh-chip .pc-check { fill: var(--mbh-live); }
.rh2 .mbh-chip .pc-saved-text { fill: var(--mbh-live); font-weight: 500; }
.rh2 .mbh-chip.lit :is(.pc-body, .pc-stand, .pc-cable) { stroke: var(--mbh-live); }
.rh2 .mbh-chip.lit .pc-body { stroke-width: 2; }

/* ── Tour copy over the board ── */
.rh2 .mbh-tour { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.rh2 .mbh-tour::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0, rgba(255,255,255,.7) 26%, rgba(255,255,255,0) 44%);
}
.rh2 .mbh-tour.touring::before { opacity: 1; }
.rh2 .mbh-eyebrow {
  font-family: var(--v2-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--v2-accent); margin-bottom: 14px;
}
.rh2 .mbh-tour h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.rh2 .mbh-tr-head { position: absolute; left: var(--mbh-pad); top: 40px; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .8s cubic-bezier(.2,.75,.1,1); }
.rh2 .mbh-tour.touring .mbh-tr-head { opacity: 1; transform: none; }
.rh2 .mbh-tr-step {
  position: absolute; left: var(--mbh-pad); bottom: 56px; width: min(380px, 30vw);
  opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .8s cubic-bezier(.2,.75,.1,1);
}
.rh2 .mbh-tr-step.on { opacity: 1; transform: none; }
.rh2 .mbh-num { font-family: var(--v2-mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-accent); }
.rh2 .mbh-tr-step h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0; }
.rh2 .mbh-tr-step p:last-child { font-size: 14.5px; line-height: 1.65; color: var(--v2-muted); }
.rh2 .mbh-tr-fin {
  position: absolute; left: 0; right: 0; top: 40px; text-align: center; opacity: 0; transform: translateY(16px);
  transition: opacity .8s ease .3s, transform 1s cubic-bezier(.2,.75,.1,1) .3s;
}
.rh2 .mbh-tour.fin .mbh-tr-fin { opacity: 1; transform: none; }
.rh2 .mbh-tr-fin h2 { font-size: clamp(32px, 4vw, 60px); line-height: 1; }
.rh2 .mbh-fin-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--v2-border-hi); box-shadow: 0 12px 34px rgba(10,10,10,.07); font-size: 13px;
}
.rh2 .mbh-fin-chip .mbh-so { font: 600 12px var(--v2-mono); }
.rh2 .mbh-fin-chip em { font: 500 10px var(--v2-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mbh-live); }
.rh2 .mbh-sep { width: 1px; height: 14px; background: var(--v2-border-hi); }
.rh2 .mbh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mbh-live); box-shadow: 0 0 0 3px rgba(45,79,216,.18); }

/* ── Order panel (right side) ── */
.rh2 .mbh-panel {
  position: absolute; right: var(--mbh-pad); top: 50%; transform: translateY(-50%);
  width: min(360px, calc(50vw - 150px)); pointer-events: none;
  background: #fff; border: 1px solid var(--v2-border-hi); border-radius: var(--v2-r-inner);
  padding: 14px 16px 12px; box-shadow: 0 18px 50px rgba(10,10,10,.10), 0 2px 6px rgba(10,10,10,.05);
  font-size: 13px; line-height: 1.45; opacity: 0; transition: opacity .5s ease, border-color .6s;
}
.rh2 .mbh-tour.panel-on .mbh-panel { opacity: 1; }
.rh2 .mbh-panel.bump { animation: mbhBump .7s ease; }
@keyframes mbhBump {
  0% { box-shadow: 0 0 0 0 rgba(45,79,216,.45), 0 18px 50px rgba(10,10,10,.10); border-color: var(--mbh-live); }
  100% { box-shadow: 0 0 0 14px rgba(45,79,216,0), 0 18px 50px rgba(10,10,10,.10); border-color: var(--v2-border-hi); }
}
.rh2 .mbh-panel .pn-bar {
  display: flex; justify-content: space-between; align-items: center; margin: -2px 0 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--v2-border); font: 500 10px var(--v2-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--v2-muted);
}
.rh2 .mbh-panel .pn-live { display: flex; align-items: center; gap: 6px; color: var(--mbh-live); }
.rh2 .mbh-panel .pn-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--mbh-live); animation: mbhBlink 1.6s ease-in-out infinite; }
@keyframes mbhBlink { 50% { opacity: .25; } }
.rh2 .mbh-panel .pk-head { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.rh2 .mbh-panel .pk-ch { font: 600 10px var(--v2-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--v2-accent); padding: 3px 6px; border-radius: 5px; }
.rh2 .mbh-panel .pk-from { font-weight: 600; font-size: 12.5px; }
.rh2 .mbh-panel .pk-time { margin-left: auto; font: 500 10px var(--v2-mono); color: var(--v2-muted); }
.rh2 .mbh-panel .pk-tag {
  font: 600 10px var(--v2-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--mbh-live); padding: 3px 6px; border-radius: 5px;
  opacity: 0; scale: .6; transition: opacity .35s ease .15s, scale .45s cubic-bezier(.3,1.6,.5,1) .15s;
}
.rh2 .mbh-panel .pk-msg { background: #F3F5FA; border-radius: 12px 12px 12px 4px; padding: 10px 12px; font-size: 13.5px; transition: opacity .5s, font-size .5s, padding .5s; }
.rh2 .mbh-panel .pk-msg i { font-style: normal; border-radius: 4px; padding: 0 2px; transition: background .35s ease, color .35s ease; transition-delay: calc(var(--i) * .16s); }
.rh2 .mbh-panel .pk-langs { display: flex; gap: 5px; height: 0; opacity: 0; overflow: hidden; transition: height .45s ease, opacity .45s ease, margin .45s; }
.rh2 .mbh-panel .pk-langs span { font: 500 10px var(--v2-mono); letter-spacing: .08em; padding: 3px 7px; border: 1px solid rgba(45,79,216,.35); border-radius: 999px; color: var(--v2-accent); }
.rh2 .mbh-panel .pk-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.3,.7,.2,1); }
.rh2 .mbh-panel .pk-fold > div { overflow: hidden; }
.rh2 .mbh-panel .pk-fields dl {
  display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 12px 0 2px; padding: 10px 12px;
  border: 1px solid rgba(45,79,216,.25); border-radius: 10px; background: rgba(45,79,216,.03);
}
.rh2 .mbh-panel .pk-fields dt { font: 500 10px var(--v2-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--v2-accent); align-self: center; }
.rh2 .mbh-panel .pk-fields dd { margin: 0; font-size: 12.5px; }
.rh2 .mbh-panel .pk-so { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: var(--v2-accent); color: #fff; }
.rh2 .mbh-panel .pk-so .mbh-so { font: 600 12px var(--v2-mono); letter-spacing: .04em; }
.rh2 .mbh-panel .pk-so em { margin-left: auto; font: 500 10px var(--v2-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.rh2 .mbh-panel .pk-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--mbh-live); font-size: 11px; }
.rh2 .mbh-panel .pk-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 11px; }
.rh2 .mbh-panel .pk-status { font: 500 10px var(--v2-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--v2-accent); }
.rh2 .mbh-panel .pk-bar { display: flex; gap: 3px; }
.rh2 .mbh-panel .pk-bar i { width: 16px; height: 3px; border-radius: 2px; background: rgba(10,10,10,.12); transition: background .4s; }
/* s1..s4 = how many parts the order has passed through */
.rh2 .mbh-panel:is(.s1,.s2,.s3,.s4) .pk-bar i:nth-child(1),
.rh2 .mbh-panel:is(.s2,.s3,.s4) .pk-bar i:nth-child(2),
.rh2 .mbh-panel:is(.s3,.s4) .pk-bar i:nth-child(3),
.rh2 .mbh-panel.s4 .pk-bar i:nth-child(4) { background: var(--mbh-live); }
.rh2 .mbh-panel:is(.s2,.s3,.s4) .pk-msg i { background: rgba(45,79,216,.14); color: var(--v2-accent); }
.rh2 .mbh-panel.s2 .pk-langs { height: 20px; opacity: 1; margin-top: 8px; }
.rh2 .mbh-panel:is(.s3,.s4) .pk-tag { opacity: 1; scale: 1; }
.rh2 .mbh-panel:is(.s3,.s4) .pk-msg { opacity: .5; font-size: 12px; padding: 7px 10px; }
.rh2 .mbh-panel:is(.s3,.s4) .pk-fields { grid-template-rows: 1fr; }
.rh2 .mbh-panel.s4 .pk-done { grid-template-rows: 1fr; }
.rh2 .mbh-panel.s4 .pk-fields dl { border-color: var(--v2-border-hi); background: transparent; }

/* Reduced-motion fallback list (hidden otherwise) */
.rh2 .mbh-static { display: none; }

/* ── Products ── */
.rh2 .mbp { position: relative; padding: 100px 64px; }
.rh2 .mbp-head { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 48px; align-items: end; margin-bottom: 56px; }
.rh2 .mbp-head h2 { font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.rh2 .mbp-head h2 em { font-style: normal; color: var(--v2-accent); }
.rh2 .mbp-sub { font-size: 15px; line-height: 1.7; color: var(--v2-muted); max-width: 46ch; }
.rh2 .mbp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rh2 .mbp-slot { display: flex; min-width: 0; }
/* .mbp-card is the 3D carrier for the card stack; .mbp-front is the card you see. */
.rh2 .mbp-card { position: relative; flex: 1; display: flex; min-width: 0; transform-style: preserve-3d; transform-origin: 50% 50%; }
.rh2 .mbp-front {
  position: relative; isolation: isolate; flex: 1; display: flex; flex-direction: column;
  border: 1px solid var(--v2-border); border-radius: var(--v2-r-outer);
  padding: 32px 32px 30px; min-height: clamp(480px, 42vw, 600px); overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
/* The card's fill is its own layer (behind the content) so it can grow into the category page
   hero on AutoCount and FeedMe (view transition, as on /products). */
.rh2 .mbp-panel { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #F5F6FA; transition: background .6s ease; }
.rh2 .mbp-card:hover .mbp-front { transform: translateY(-8px); }
.rh2 .mbp-card:hover .mbp-panel { background: #EEF0F7; }
.rh2 .mbp-back { display: none; }
.rh2 .mbp-flag {
  position: absolute; top: 24px; left: 28px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
  background: #fff; font: 500 10px var(--v2-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--v2-accent);
}
.rh2 .mbp-flag i { width: 6px; height: 6px; border-radius: 50%; background: var(--mbh-live, #2D4FD8); box-shadow: 0 0 0 3px rgba(45,79,216,.18); animation: mbpPing 2s ease-in-out infinite; }
@keyframes mbpPing { 50% { box-shadow: 0 0 0 6px rgba(45,79,216,0); } }
.rh2 .mbp-art { flex: 1; display: grid; place-items: center; padding: 40px 0 24px; }
.rh2 .mbp-art svg { width: 88%; max-width: 400px; height: auto; overflow: visible; transition: transform 1s cubic-bezier(.2,.75,.1,1); }
.rh2 .mbp-card:hover .mbp-art svg { transform: scale(1.04); }
/* Partner logos: on a white card (docs/DESIGN.md §5), never stretched */
.rh2 .mbp-logo { margin: 40px 0 24px; padding: 32px; background: #fff; border: 1px solid var(--v2-border); border-radius: var(--v2-r-inner); }
.rh2 .mbp-logo img { width: auto; height: auto; max-width: min(80%, 300px); max-height: 140px; object-fit: contain; transition: transform 1s cubic-bezier(.2,.75,.1,1); }
.rh2 .mbp-card:hover .mbp-logo img { transform: scale(1.04); }
.rh2 .mbp-card h3 { align-self: flex-start; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.rh2 .mbp-front > p { font-size: 15px; line-height: 1.6; color: var(--v2-muted); margin-top: 10px; max-width: 40ch; min-height: 3.2em; }
.rh2 .mbp-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 700; color: var(--v2-accent); }
.rh2 .mbp-ar { transition: transform .5s cubic-bezier(.2,.75,.1,1); }
.rh2 .mbp-card:hover .mbp-ar { transform: translateX(5px); }
.rh2 .mbp-stretch { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.rh2 .mbp-more { display: flex; justify-content: center; margin-top: 56px; }
.rh2 .mbp-final { display: none; }

/* ── Products: card-stack transition (desktop, HomeProducts.tsx adds .is-stack) ──
   The section pins for 3.6 screens: cards slide into one deck, the deck flips to the
   counter photo on FeedMe's back, the photo settles left of the claim. */
.rh2 .mbp.is-stack { height: 360vh; padding: 0; }
.rh2 .mbp.is-stack .mbp-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--mbp-nav, 80px) + 20px) 64px 24px;
}
.rh2 .mbp.is-stack .mbp-head { margin-bottom: 32px; }
/* The row takes what the stage has left, so on short screens the cards shrink instead of running off the bottom. */
.rh2 .mbp.is-stack .mbp-grid { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
.rh2 .mbp.is-stack .mbp-card { will-change: transform; }
.rh2 .mbp.is-stack .mbp-face { border-radius: var(--v2-r-outer); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rh2 .mbp.is-stack .mbp-front { min-height: 0; }
.rh2 .mbp.is-stack .mbp-card.is-lifted .mbp-front { box-shadow: 0 30px 60px -28px rgba(15,25,80,.35); }
/* A definite row, so the drawing and the logo can shrink to whatever height the card has left. */
.rh2 .mbp.is-stack .mbp-art { min-height: 0; padding: 20px 0 16px; grid-template-rows: minmax(0, 1fr); }
.rh2 .mbp.is-stack .mbp-art svg { max-height: 100%; }
.rh2 .mbp.is-stack .mbp-logo { margin: 20px 0 16px; padding: 20px; }
.rh2 .mbp.is-stack .mbp-logo img { max-height: min(140px, 14vh, 100%); }
.rh2 .mbp.is-stack .mbp-more { margin-top: 20px; }
.rh2 .mbp.is-stack .mbp-back { display: block; position: absolute; inset: 0; transform: rotateY(180deg); overflow: hidden; background: #121A4D; }
.rh2 .mbp.is-stack .mbp-back.is-plain {
  display: grid; place-items: center; background-color: var(--v2-accent); border: 1px solid rgba(255,255,255,.08);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px);
}
.rh2 .mbp-back.is-plain span { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: rgba(255,255,255,.55); }
.rh2 .mbp-back-blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.rh2 .mbp-back-pic { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 4 / 3; }
.rh2 .mbp-back-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh2 .mbp.is-stack .mbp-final {
  position: absolute; left: 64px; right: 64px; top: calc(var(--mbp-nav, 80px) + 20px); bottom: 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center;
  pointer-events: none;
}
/* Size guide only: the flipped card lands here. At most 560px wide and ~70% of the stage height. */
.rh2 .mbp-ph { justify-self: end; width: min(100%, 560px, calc((100svh - var(--mbp-nav, 80px) - 64px) * .7 * 4 / 3)); aspect-ratio: 4 / 3; visibility: hidden; }
/* Embedded in the hero (desktop): the products panel sits right of the board inside the hero's
   pinned stage. The cards wait for the wire: each pops up and lights when its drop lands. */
.rh2 .mbp.is-embedded { height: 100%; padding: 0; }
.rh2 .mbp.is-embedded .mbp-stage { position: absolute; inset: 0; height: auto; padding: 24px 64px 24px; }
.rh2 .mbp.is-embedded .mbp-head { margin-bottom: 64px; }   /* room for the wire's bus above the cards */
.rh2 .mbp.is-embedded .mbp-final { top: 24px; }
.rh2 .mbp.is-embedded .mbp-ph { width: min(100%, 560px, calc((100svh - var(--mbh-top, 122px) - 48px) * .7 * 4 / 3)); }
/* Big desktop screens: the products panel (heading, card content, photo, claim) grows with the
   screen, like the nav, buttons and client pill. --u is 1px on a 1440×900 screen and scales
   with whichever of width / height is relatively smaller, so the cards always still fit; each
   size = max(its 1440×900 value, that many --u). Short screens use the blocks below instead. */
@media (min-width: 769px) and (min-height: 821px) {
  .rh2 .mbp.is-stack {
    --u: min(.069444vw, .111111vh);
    --mbp-pad: max(64px, calc(64 * var(--u)));
  }
  .rh2 .mbp.is-stack .mbp-stage { padding-left: var(--mbp-pad); padding-right: var(--mbp-pad); }
  .rh2 .mbp.is-stack .mbp-final { left: var(--mbp-pad); right: var(--mbp-pad); gap: max(clamp(28px, 5vw, 88px), calc(88 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-head { grid-template-columns: 1fr minmax(max(260px, calc(260 * var(--u))), max(360px, calc(360 * var(--u)))); gap: max(48px, calc(48 * var(--u))); margin-bottom: max(32px, calc(32 * var(--u))); }
  .rh2 .mbp.is-embedded .mbp-head { margin-bottom: max(64px, calc(64 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-head h2 { font-size: max(clamp(36px, 4.5vw, 64px), calc(64 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-sub { font-size: max(15px, calc(15 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-grid { gap: max(16px, calc(16 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-front { padding: max(32px, calc(32 * var(--u))) max(32px, calc(32 * var(--u))) max(30px, calc(30 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-flag {
    top: max(24px, calc(24 * var(--u))); left: max(28px, calc(28 * var(--u))); gap: max(7px, calc(7 * var(--u)));
    padding: max(6px, calc(6 * var(--u))) max(11px, calc(11 * var(--u))); font-size: max(10px, calc(10 * var(--u)));
  }
  .rh2 .mbp.is-stack .mbp-flag i { width: max(6px, calc(6 * var(--u))); height: max(6px, calc(6 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-art { padding: max(20px, calc(20 * var(--u))) 0 max(16px, calc(16 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-art svg { max-width: max(400px, calc(400 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-logo { margin: max(20px, calc(20 * var(--u))) 0 max(16px, calc(16 * var(--u))); padding: max(20px, calc(20 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-logo img { max-width: min(80%, max(300px, calc(300 * var(--u)))); max-height: min(max(140px, calc(140 * var(--u))), 14vh, 100%); }
  .rh2 .mbp.is-stack .mbp-card h3 { font-size: max(clamp(22px, 2vw, 28px), calc(28 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-front > p { font-size: max(15px, calc(15 * var(--u))); margin-top: max(10px, calc(10 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-link { font-size: max(14px, calc(14 * var(--u))); gap: max(8px, calc(8 * var(--u))); margin-top: max(22px, calc(22 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-more { margin-top: max(20px, calc(20 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-more .v2-btn-solid {
    font-size: max(13px, calc(13 * var(--u))); gap: max(5px, calc(5 * var(--u)));
    padding: max(12px, calc(12 * var(--u))) max(6px, calc(6 * var(--u))) max(12px, calc(12 * var(--u))) max(20px, calc(20 * var(--u)));
  }
  .rh2 .mbp.is-stack .mbp-more .v2-cta-icon { width: max(27px, calc(27 * var(--u))); height: max(27px, calc(27 * var(--u))); font-size: max(14px, calc(14 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-ph { width: min(100%, max(560px, calc(560 * var(--u))), calc((100svh - var(--mbp-nav, 80px) - 64px) * .7 * 4 / 3)); }
  .rh2 .mbp.is-embedded .mbp-ph { width: min(100%, max(560px, calc(560 * var(--u))), calc((100svh - var(--mbh-top, 122px) - 48px) * .7 * 4 / 3)); }
  .rh2 .mbp.is-stack .mbp-claim h2 { font-size: max(clamp(34px, 4.4vw, 64px), calc(64 * var(--u))); }
  .rh2 .mbp.is-stack .mbp-back.is-plain span { font-size: max(22px, calc(22 * var(--u))); }
  .rh2 .mbp.is-stack .v2-eyebrow { font-size: max(10px, calc(10 * var(--u))); margin-bottom: max(16px, calc(16 * var(--u))); }
}
/* Short desktop screens (a laptop, or DevTools open): tighter heading and card content so
   the cards can shrink with the screen; the lowest ones drop the card blurb. */
@media (min-width: 769px) and (max-height: 820px) {
  .rh2 .mbp.is-stack .mbp-head h2 { font-size: clamp(28px, min(4.5vw, 7.4vh), 64px); }
  .rh2 .mbp.is-stack .mbp-sub { font-size: 14px; line-height: 1.6; }
  .rh2 .mbp.is-stack .mbp-head { margin-bottom: 24px; }
  .rh2 .mbp.is-embedded .mbp-head { margin-bottom: 48px; }   /* still room for the wire's bus */
  .rh2 .mbp.is-stack .mbp-front { padding: 20px 24px 20px; }
  .rh2 .mbp.is-stack .mbp-flag { top: 16px; left: 18px; }
  .rh2 .mbp.is-stack .mbp-art { padding: 26px 0 6px; }
  .rh2 .mbp.is-stack .mbp-logo { margin: 6px 0 10px; padding: 10px; }
  .rh2 .mbp.is-stack .mbp-logo img { max-height: min(140px, 12vh, 100%); }
  .rh2 .mbp.is-stack .mbp-card h3 { font-size: 22px; }
  .rh2 .mbp.is-stack .mbp-front > p { font-size: 14px; margin-top: 6px; min-height: 0; }
  .rh2 .mbp.is-stack .mbp-link { margin-top: 10px; }
  .rh2 .mbp.is-stack .mbp-more { margin-top: 14px; }
}
@media (min-width: 769px) and (max-height: 640px) {
  .rh2 .mbp.is-stack .mbp-stage { padding-top: 14px; padding-bottom: 14px; }
  .rh2 .mbp.is-stack .mbp-head h2 { font-size: clamp(24px, min(4.5vw, 5.6vh), 64px); }
  .rh2 .mbp.is-stack .mbp-sub { font-size: 13px; }
  .rh2 .mbp.is-embedded .mbp-head { margin-bottom: 40px; }
  .rh2 .mbp.is-stack .mbp-front { padding: 14px 20px 16px; }
  .rh2 .mbp.is-stack .mbp-flag { top: 12px; left: 14px; padding: 4px 9px; }
  .rh2 .mbp.is-stack .mbp-art { padding: 24px 0 4px; }
  .rh2 .mbp.is-stack .mbp-logo { margin: 2px 0 8px; padding: 6px; }
  .rh2 .mbp.is-stack .mbp-card h3 { font-size: 19px; }
  .rh2 .mbp.is-stack .mbp-front > p { display: none; }
  .rh2 .mbp.is-stack .mbp-link { margin-top: 6px; font-size: 13px; }
  .rh2 .mbp.is-stack .mbp-more { margin-top: 10px; }
}
.rh2 .mbp.is-embedded .mbp-grid > .mbp-slot { position: relative; opacity: 0; animation: none; }
.rh2 .mbp.is-embedded .mbp-grid > .mbp-slot.is-on { animation: mbpPop .45s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes mbpPop { from { opacity: 0; transform: translateY(28px) scale(.9); } to { opacity: 1; transform: none; } }
.rh2 .mbp.is-embedded .mbp-card { z-index: 1; }
/* Lit: blue ring + glow, a soft bloom behind, the wire's landing pad, one sheen sweep. */
.rh2 .mbp.is-embedded .mbp-front { transition: border-color .45s ease-out, box-shadow .5s ease-out, transform .35s cubic-bezier(.16,1,.3,1); }
.rh2 .mbp.is-embedded .mbp-panel { transition: background .45s ease-out; }
.rh2 .mbp-slot.is-lit .mbp-panel { background: #F4F6FF; }
.rh2 .mbp-slot.is-lit .mbp-front {
  border-color: rgba(45,79,216,.6);
  box-shadow: 0 0 0 1px rgba(45,79,216,.35), 0 0 0 7px rgba(45,79,216,.10), 0 0 46px rgba(45,79,216,.38), 0 34px 90px -18px rgba(45,79,216,.6);
}
.rh2 .mbp.is-embedded .mbp-slot::before {
  content: ""; position: absolute; inset: -6% -6% -12%; z-index: 0; border-radius: 48px; pointer-events: none;
  background: radial-gradient(58% 54% at 50% 50%, rgba(45,79,216,.34), rgba(45,79,216,.12) 55%, transparent 74%);
  opacity: 0; transform: scale(.8); transition: opacity .5s ease-out, transform .6s cubic-bezier(.2,.8,.2,1);
}
.rh2 .mbp-slot.is-lit::before { opacity: 1; transform: scale(1.05); animation: mbpBreathe 4.5s .8s ease-in-out infinite; }
@keyframes mbpBreathe { 50% { opacity: .65; } }
.rh2 .mbp.is-embedded .mbp-slot::after {
  content: ""; position: absolute; top: -6px; left: 50%; z-index: 3; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #fff; border: 2px solid var(--v2-border); opacity: 0; transition: opacity .3s, border-color .2s, box-shadow .4s;
}
/* The pad only shows while its card is lit (it would float in mid-air once the cards move). */
.rh2 .mbp-slot.is-lit::after { opacity: 1; border-color: var(--mbh-live); box-shadow: 0 0 0 5px rgba(45,79,216,.16), 0 0 18px rgba(45,79,216,.5); }
.rh2 .mbp-slot.is-lit .mbp-front::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: translateX(-120%); animation: mbpSweep .7s .05s ease-out forwards;
}
@keyframes mbpSweep { to { transform: translateX(260%); } }
/* "More products" waits until every card is lit. */
.rh2 .mbp.is-embedded .mbp-more { transition: opacity .6s ease, visibility .6s; }
.rh2 .mbp.is-embedded:not(.is-linked) .mbp-more { opacity: 0 !important; visibility: hidden !important; }
.rh2 .mbp-claim h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; color: var(--v2-text); text-wrap: balance; }
.rh2 .mbp-w { display: inline-block; }
.rh2 .mbp-num { color: var(--v2-accent); font-variant-numeric: tabular-nums; }

/* Line illustrations: styles in ai-art.css (components/common/AiFlowArt.tsx) */
.rh2 .mbp-card:hover .pa-line { stroke: rgba(45,79,216,.6); }

/* ── Phone ── */
@media (max-width: 768px) {
  .rh2 .mbh { --mbh-pad: 20px; }
  .rh2 .mbh-headline { font-size: clamp(40px, 12vw, 52px); }
  .rh2 .mbh-word-sub { font-size: 10px; letter-spacing: .18em; }
  .rh2 .mbh-h-left { top: 24px; }
  .rh2 .mbh-h-right { top: auto; bottom: 240px; }
  .rh2 .mbh-bl { bottom: 96px; right: var(--mbh-pad); max-width: none; }
  .rh2 .mbh-bl h2 { font-size: 19px; }
  .rh2 .mbh-rule { margin: 12px 0; }
  .rh2 .mbh-br { display: none; }
  .rh2 .mbh-cta { bottom: 24px; }

  .rh2 .mbh-tour::before { background: linear-gradient(180deg, rgba(255,255,255,.95) 0, rgba(255,255,255,.75) 18%, rgba(255,255,255,0) 26%); }
  .rh2 .mbh-tr-head { left: 20px; right: 20px; top: 20px; }
  .rh2 .mbh-tour h2 { font-size: 24px; }
  .rh2 .mbh-tour.stepping .mbh-tr-head { opacity: 0; }
  .rh2 .mbh-tr-step { left: 20px; right: 20px; top: 20px; bottom: auto; width: auto; }
  .rh2 .mbh-tr-step h3 { font-size: 22px; margin: 6px 0; }
  .rh2 .mbh-tr-step p:last-child { font-size: 13px; }
  .rh2 .mbh-tr-fin { top: 24px; padding: 0 20px; }
  .rh2 .mbh-tr-fin h2 { font-size: 30px; }
  .rh2 .mbh-fin-chip { font-size: 12px; flex-wrap: wrap; justify-content: center; }
  .rh2 .mbh-panel { right: 12px; left: 12px; top: auto; bottom: 12px; transform: none; width: auto; padding: 11px 13px 10px; font-size: 12px; }
  .rh2 .mbh-panel .pn-bar { display: none; }

  .rh2 .mbp { padding: 64px 20px; }
  .rh2 .mbp-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  /* Swipeable row (docs/DESIGN.md §7), next card peeks in */
  .rh2 .mbp-grid {
    display: flex; gap: 10px; margin: 0 -20px; padding: 0 20px 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .rh2 .mbp-grid::-webkit-scrollbar { display: none; }
  .rh2 .mbp-slot { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: 20px; }
  .rh2 .mbp-front { min-height: 440px; padding: 26px; }
  .rh2 .mbp-card:hover .mbp-front { transform: none; }
  .rh2 .mbp-more { margin-top: 36px; }
}

/* ── Reduced motion: no pinned animation, the tour becomes a list ── */
@media (prefers-reduced-motion: reduce) {
  .rh2 .mbh-pin { height: auto; }
  .rh2 .mbh-hero { position: relative; top: 0; }
  .rh2 .mbh-tour, .rh2 .mbh-chip, .rh2 .mbh-br { display: none; }
  .rh2 .mbh-cta { display: none; }   /* Play auto-scrolls the animation; nothing to play here */
  .rh2 .mbh-fade, .rh2 .mbh.is-live .mbh-fade { opacity: 1; animation: none; }
  .rh2 .mbh-static { display: block; padding: 64px var(--mbh-pad); border-bottom: 1px solid var(--v2-border); }
  .rh2 .mbh-static-h { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 32px; }
  .rh2 .mbh-static ol { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
  .rh2 .mbh-static-t { font-size: 17px; font-weight: 700; margin: 8px 0 6px; }
  .rh2 .mbh-static li p:last-child { font-size: 13px; line-height: 1.6; color: var(--v2-muted); }
  .rh2 .mbh-arrow, .rh2 .mbp-flag i { animation: none; }
  }

/* Phones: both halves of the headline sit side by side at the top, clear of the sphere. */
@media (max-width: 768px) {
  .rh2 .mbh-headline { font-size: clamp(32px, 10.2vw, 44px); }
  .rh2 .mbh-h-right { top: 24px; bottom: auto; }
}
/* Touch hint in the middle of the sphere; the engine fades it in after the intro and out for good on the first tap. */
.rh2 .mbh-tap-hint { display: none; }
@media (hover: none) {
  .rh2 .mbh-tap-hint {
    display: flex; align-items: center; gap: 8px;
    position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: 0; pointer-events: none;
    padding: 9px 14px 9px 12px; border-radius: 999px;
    background: rgba(255,255,255,.88); box-shadow: 0 6px 20px rgba(25,46,125,.14);
    font: 500 11px var(--v2-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--v2-accent); white-space: nowrap;
  }
  .rh2 .mbh-tap-hint::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v2-accent);
    box-shadow: 0 0 0 0 rgba(25,46,125,.45); animation: mbhTapPulse 1.6s ease-out infinite;
  }
}
@keyframes mbhTapPulse { to { box-shadow: 0 0 0 10px rgba(25,46,125,0); } }
@media (prefers-reduced-motion: reduce) { .rh2 .mbh-tap-hint::before { animation: none; } }

/* Touch: a tap or long press on the hero shouldn't select its text or open the callout menu. */
@media (hover: none) {
  .rh2 .mbh { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
}

/* ── about.css ── */
/* ============================================================
   about.css — About page (components/about/AboutPage.tsx)
   Editorial, scroll-driven layout on the --v2-* tokens from site.css.
   Header/footer come from InnerShell. Rules: docs/DESIGN.md
   ============================================================ */

.rh2 .abt-wrap { padding-inline: 64px; }
.rh2 .abt-label {
  font-family: var(--v2-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--v2-accent);
  margin: 0;
}
.rh2 .abt-muted { color: var(--v2-muted); }
.rh2 .abt-n { font-family: var(--v2-mono); font-size: 12px; color: var(--v2-muted); }
.rh2 section.abt-hero, .rh2 section.abt-tl, .rh2 section.abt-reveal, .rh2 section.abt-blk { border-bottom: 0; }

/* ── 1. Hero ── */
.rh2 .abt-hero {
  position: relative;
  min-height: calc(100svh - 110px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 64px;
  padding-bottom: 40px;
}
.rh2 .abt-hero-h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(36px, 5.2vw, 88px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.03em;
}
/* The mask reaches .2em below the tight line box so descenders (g, p) aren't clipped; the
   negative margin keeps the line spacing as it was. */
.rh2 .abt-w { display: inline-block; overflow: hidden; vertical-align: top; margin-right: .22em; padding-bottom: .2em; margin-bottom: -.2em; }
.rh2 .abt-w > span { display: inline-block; transform: translateY(125%); animation: abtUp .9s cubic-bezier(.2,.7,.1,1) forwards; }
@keyframes abtUp { to { transform: none; } }
.rh2 .abt-vert {
  position: absolute; right: 64px; top: 48px;
  display: flex; flex-direction: column; gap: 18px;
  font-weight: 800; font-size: 15px; color: var(--v2-faint);
}
.rh2 .abt-hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--v2-border-hi);
}
.rh2 .abt-hero-foot p { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.6; color: var(--v2-muted); }

/* ── 2. Milestones ── */
.rh2 .abt-tl { position: relative; }
/* Handover from the founders (--hand runs 0 → 1 as this section scrolls up to the top). */
.rh2 .abt-fdr { --hand: 0; transform-origin: 50% 100%; scale: calc(1 - .12 * var(--hand)); opacity: calc(1 - .85 * var(--hand)); filter: blur(calc(6px * var(--hand))); }
/* The years' entrance (AboutPage adds .is-armed, then .is-in near the top of the screen): the years
   drop in left to right, the bar draws across, the first photo flies onto the pile (its own
   card transition) and the big year and story rise last. */
.rh2 .abt-tl.is-armed .abt-years button { opacity: 0; translate: 0 -36px; }
.rh2 .abt-tl.is-armed .abt-bar { scale: 0 1; transform-origin: 0 50%; }
.rh2 .abt-tl.is-armed .abt-tl-text > * { opacity: 0; translate: 0 60px; }
.rh2 .abt-tl.is-in .abt-years button {
  opacity: 1; translate: 0 0;
  transition: color .35s, opacity .6s calc(var(--i, 0) * .07s), translate .8s cubic-bezier(.16,1,.3,1) calc(var(--i, 0) * .07s);
}
.rh2 .abt-tl.is-in .abt-bar { scale: 1 1; transition: scale 1.1s cubic-bezier(.65,0,.35,1) .15s; }
.rh2 .abt-tl.is-in .abt-tl-text > * { opacity: 1; translate: 0 0; transition: opacity .7s .55s, translate 1s cubic-bezier(.16,1,.3,1) .55s; }
.rh2 .abt-tl.is-in .abt-tl-text > :nth-child(2) { transition-delay: .7s; }
.rh2 .abt-tl-stick {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding-top: 104px;   /* clears the sticky nav pill */
  padding-bottom: 40px;
  overflow: hidden;
}
.rh2 .abt-years {
  display: flex; justify-content: space-between; gap: 12px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 16px;
}
.rh2 .abt-years::-webkit-scrollbar { display: none; }
.rh2 .abt-years button {
  all: unset; cursor: pointer; white-space: nowrap;
  font-size: clamp(20px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em;
  color: var(--v2-faint); transition: color .35s;
}
.rh2 .abt-years button:hover { color: var(--v2-muted); }
.rh2 .abt-years button[aria-current] { color: var(--v2-accent); }
.rh2 .abt-years button:focus-visible { outline: 3px solid var(--v2-accent); outline-offset: 4px; border-radius: 6px; }
.rh2 .abt-bar { height: 2px; background: var(--v2-border); position: relative; }
.rh2 .abt-bar i { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--v2-accent); }
/* Landscape cards: milestone photos are event shots (3:2 / 4:3). */
.rh2 .abt-stack { position: relative; align-self: center; justify-self: center; width: min(440px, 72vw, 56vh); aspect-ratio: 4 / 3; }
.rh2 .abt-card {
  position: absolute; inset: 0; border-radius: 14px;
  background: #F4F5FA center / cover no-repeat;
  box-shadow: 0 20px 50px -20px rgba(10,10,10,.25);
  transition: transform .9s cubic-bezier(.2,.7,.1,1), opacity .6s;
}
/* No photo yet: dashed empty frame with a caption (docs/DESIGN.md §5) */
.rh2 .abt-card.is-empty { border: 1px dashed rgba(25,46,125,.3); }
.rh2 .abt-card.is-empty::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px;
  font-family: var(--v2-mono); font-size: 10px; letter-spacing: .06em; color: var(--v2-muted);
}
.rh2 .abt-tl-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; }
.rh2 .abt-big-year { font-size: clamp(72px, 12vw, 190px); font-weight: 800; letter-spacing: -0.03em; line-height: .8; color: var(--v2-accent); }
.rh2 .abt-tl-copy h2 { margin: 0 0 12px; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
.rh2 .abt-tl-copy p { margin: 0; max-width: 56ch; font-size: 16px; line-height: 1.65; color: var(--v2-muted); }
.rh2 .abt-swap { transition: opacity .35s, transform .35s; }
.rh2 .abt-swap.is-out { opacity: 0; transform: translateY(10px); }

/* ── 3. Team reveal ── */
.rh2 .abt-reveal { height: 220vh; position: relative; }
.rh2 .abt-reveal-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.rh2 .abt-reveal-img {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  background: linear-gradient(180deg, #F4F5FA 0%, #E6E9F3 100%);
  clip-path: inset(18% 22% 18% 22% round 8px);
  will-change: clip-path;
}
.rh2 .abt-reveal-cap {
  position: absolute; top: clamp(110px, 16vh, 160px); left: 0; right: 0;
  padding: 0 64px; text-align: center;
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s;
}
.rh2 .abt-reveal-cap.is-on { opacity: 1; transform: none; }
.rh2 .abt-reveal-cap h2 { margin: 14px auto 0; max-width: 20ch; font-size: clamp(32px, 5vw, 80px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.rh2 .abt-team {
  width: min(1200px, 96vw); height: auto; max-height: 58vh;
  object-fit: contain; object-position: bottom;
  opacity: 0; will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

/* ── Content blocks ── */
.rh2 .abt-blk { padding-top: clamp(100px, 12vw, 160px); }
.rh2 .abt-split { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); gap: 32px 48px; }
.rh2 .abt-statement { margin: 0; font-size: clamp(28px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; color: var(--v2-text); }
.rh2 .abt-fill span { color: var(--v2-faint); transition: color .25s; }
.rh2 .abt-fill span.is-on { color: var(--v2-text); }

.rh2 .abt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--v2-text); margin-top: clamp(64px, 8vw, 110px); }
.rh2 .abt-stats div { padding: 28px 24px 0 0; }
.rh2 .abt-stats b { display: block; font-size: clamp(48px, 6vw, 96px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--v2-accent); font-variant-numeric: tabular-nums; }
.rh2 .abt-stats span { display: block; margin-top: 12px; font-size: 15px; color: var(--v2-muted); }

.rh2 .abt-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: clamp(56px, 7vw, 96px); }
.rh2 .abt-op { border-top: 1px solid var(--v2-border-hi); padding-top: 24px; }
.rh2 .abt-op h3 { margin: 40px 0 12px; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.rh2 .abt-op p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--v2-muted); }

.rh2 .abt-vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.rh2 .abt-vm > div { background: rgba(25,46,125,.04); border: 1px solid var(--v2-border); border-radius: var(--v2-r-outer); padding: clamp(28px, 4vw, 48px); }
.rh2 .abt-vm p { margin: 18px 0 0; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 600; text-wrap: pretty; }

.rh2 .abt-how-h { margin-bottom: clamp(48px, 6vw, 80px); }
.rh2 .abt-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v2-text); }
.rh2 .abt-steps li {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px 32px; align-items: baseline;
  padding: 32px 0; border-bottom: 1px solid var(--v2-border-hi);
}
.rh2 .abt-steps h3 { margin: 0; font-size: clamp(26px, 3vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.rh2 .abt-steps p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--v2-muted); }

/* ── Founders: two panels; the one pointed at widens and shows the profile ── */
.rh2 .abt-fdr { padding-top: clamp(64px, 8vw, 120px); }
.rh2 .abt-fdr-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.rh2 .abt-fdr-head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.rh2 .abt-fdr-head h2 em { font-style: normal; color: var(--v2-accent); }
.rh2 .abt-fdr-row { display: flex; gap: 16px; height: clamp(440px, 40vw, 620px); }
.rh2 .abt-fdr-card {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 28px; background: #f4f6fb; cursor: pointer;
  transition: flex-grow .7s cubic-bezier(.2,.8,.2,1);
}
.rh2 .abt-fdr-card:focus-visible { outline: 3px solid var(--v2-accent); outline-offset: 3px; }
.rh2 .abt-fdr-row[data-open] .abt-fdr-card { flex-grow: .7; }
.rh2 .abt-fdr-row[data-open] .abt-fdr-card.is-open { flex-grow: 2.2; }
/* The photo fills the card, then gives the right half to the profile when the card opens. */
.rh2 .abt-fdr-photo { position: absolute; inset: 0; right: 0; transition: right .7s cubic-bezier(.2,.8,.2,1); background: linear-gradient(160deg, #22398f, #0d1a4a); }
.rh2 .abt-fdr-card.is-open .abt-fdr-photo { right: 48%; }
/* The portrait keeps one size whatever the card's width: full height, centred, sides fading
   into the backdrop colour, so the face is never cropped or zoomed as the cards widen and narrow. */
.rh2 .abt-fdr-photo { overflow: hidden; }
.rh2 .abt-fdr-photo img { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; translate: -50% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rh2 .abt-fdr-photo > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(64px, 9vw, 140px); font-weight: 800; letter-spacing: -0.04em; color: rgba(255,255,255,.14); }
.rh2 .abt-fdr-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(transparent, rgba(8,14,40,.72)); color: #fff; }
.rh2 .abt-fdr-name h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.02em; }
.rh2 .abt-fdr-name p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.75); }
.rh2 .abt-fdr-story {
  position: absolute; top: 0; right: 0; bottom: 0; width: 48%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding: clamp(24px, 3vw, 48px); opacity: 0; translate: 24px 0; transition: opacity .35s, translate .5s cubic-bezier(.2,.8,.2,1);
}
.rh2 .abt-fdr-card.is-open .abt-fdr-story { opacity: 1; translate: 0 0; transition-delay: .25s; }
.rh2 .abt-fdr-line { margin: 0; font-size: clamp(20px, 1.9vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--v2-text); }
.rh2 .abt-fdr-bio { margin: 0; font-size: 15px; line-height: 1.6; color: var(--v2-muted); }
.rh2 .abt-fdr-story ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.rh2 .abt-fdr-story li { padding-left: 18px; position: relative; font-size: 14px; font-weight: 600; color: var(--v2-text); }
.rh2 .abt-fdr-story li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 2px; background: var(--v2-accent); }
/* Scroll-in (Founders adds .is-armed, then .is-in): heading up, then each portrait rises and its
   photo unveils from a narrow slit, the second a beat after the first. */
.rh2 .abt-fdr.is-armed .abt-fdr-head > * { opacity: 0; translate: 0 28px; }
.rh2 .abt-fdr.is-armed .abt-fdr-card { opacity: 0; translate: 0 64px; }
.rh2 .abt-fdr.is-armed .abt-fdr-photo { clip-path: inset(12% 30% 12% 30% round 28px); }
.rh2 .abt-fdr.is-armed .abt-fdr-name { opacity: 0; translate: 0 16px; }
.rh2 .abt-fdr.is-in .abt-fdr-head > * { opacity: 1; translate: 0 0; transition: opacity .7s, translate .9s cubic-bezier(.16,1,.3,1); }
.rh2 .abt-fdr.is-in .abt-fdr-head > :nth-child(2) { transition-delay: .08s; }
.rh2 .abt-fdr.is-in .abt-fdr-card {
  opacity: 1; translate: 0 0;
  transition: opacity .8s .2s, translate 1.1s cubic-bezier(.16,1,.3,1) .2s, flex-grow .7s cubic-bezier(.2,.8,.2,1);
}
.rh2 .abt-fdr.is-in .abt-fdr-photo { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1.2s cubic-bezier(.16,1,.3,1) .3s, right .7s cubic-bezier(.2,.8,.2,1); }
.rh2 .abt-fdr.is-in .abt-fdr-name { opacity: 1; translate: 0 0; transition: opacity .6s .9s, translate .8s cubic-bezier(.16,1,.3,1) .9s; }
.rh2 .abt-fdr.is-in .abt-fdr-card:nth-child(2) { transition-delay: .38s, .38s, 0s; }
.rh2 .abt-fdr.is-in .abt-fdr-card:nth-child(2) .abt-fdr-photo { transition-delay: .48s, 0s; }
.rh2 .abt-fdr.is-in .abt-fdr-card:nth-child(2) .abt-fdr-name { transition-delay: 1.08s; }

/* Phones: one above the other, each with its profile showing. */
@media (max-width: 768px) {
  .rh2 .abt-fdr-row { flex-direction: column; height: auto; }
  .rh2 .abt-fdr-card, .rh2 .abt-fdr-row[data-open] .abt-fdr-card { flex: none; cursor: default; }
  .rh2 .abt-fdr-photo, .rh2 .abt-fdr-card.is-open .abt-fdr-photo { position: relative; right: 0; height: 340px; }
  .rh2 .abt-fdr-story { position: static; width: auto; opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rh2 .abt-fdr-card, .rh2 .abt-fdr-photo, .rh2 .abt-fdr-story { transition: none !important; }
  .rh2 .abt-fdr.is-armed :is(.abt-fdr-head > *, .abt-fdr-card, .abt-fdr-name) { opacity: 1; translate: none; }
  .rh2 .abt-fdr.is-armed .abt-fdr-photo { clip-path: none; }
}

/* ── 7. Partners marquee ── */
/* The marquee sits right on the footer. */
.rh2 .abt-partners { padding-bottom: 0; }
.rh2 .abt-partners .v2-marquee-sec { margin-top: 28px; border-bottom: 0; }

/* ── Big screens: the page grows with the screen past 1440px wide ──
   --u is 1px on a 1440px-wide screen; each size = max(its 1440px value, that many --u), like the
   homepage and products page. The two pinned, full-screen sections (milestones, team reveal) also
   follow the height (1px at 900px tall), whichever is smaller, so they still fit the screen. */
@media (min-width: 769px) {
  .rh2 :is(.abt-hero, .abt-blk) { --u: .069444vw; }
  .rh2 :is(.abt-tl, .abt-reveal) { --u: min(.069444vw, .111111vh); }
  .rh2 .abt-wrap, .rh2 .abt-tl-stick { padding-inline: max(64px, calc(64 * var(--u))); }
  .rh2 .abt-label { font-size: max(11px, calc(11 * var(--u))); }
  .rh2 .abt-n { font-size: max(12px, calc(12 * var(--u))); }
  /* Hero */
  .rh2 .abt-hero { padding-top: max(64px, calc(64 * var(--u))); padding-bottom: max(40px, calc(40 * var(--u))); }
  .rh2 .abt-hero-h1 { font-size: max(36px, 5.2vw); }
  .rh2 .abt-vert { right: max(64px, calc(64 * var(--u))); top: max(48px, calc(48 * var(--u))); gap: max(18px, calc(18 * var(--u))); font-size: max(15px, calc(15 * var(--u))); }
  .rh2 .abt-hero-foot { gap: max(24px, calc(24 * var(--u))); margin-top: max(64px, calc(64 * var(--u))); padding-top: max(20px, calc(20 * var(--u))); }
  .rh2 .abt-hero-foot p { font-size: max(15px, calc(15 * var(--u))); }
  /* Milestones (pinned) */
  .rh2 .abt-tl-stick { padding-top: max(104px, calc(104 * var(--u))); padding-bottom: max(40px, calc(40 * var(--u))); }
  .rh2 .abt-years { gap: max(12px, calc(12 * var(--u))); padding-bottom: max(16px, calc(16 * var(--u))); }
  .rh2 .abt-years button { font-size: max(clamp(20px, 2.4vw, 34px), calc(34 * var(--u))); }
  .rh2 .abt-stack { width: min(max(440px, calc(440 * var(--u))), 72vw, 56vh); }
  .rh2 .abt-card { border-radius: max(14px, calc(14 * var(--u))); }
  .rh2 .abt-card.is-empty::after { left: max(14px, calc(14 * var(--u))); bottom: max(12px, calc(12 * var(--u))); font-size: max(10px, calc(10 * var(--u))); }
  .rh2 .abt-tl-text { gap: max(24px, calc(24 * var(--u))) max(64px, calc(64 * var(--u))); }
  .rh2 .abt-big-year { font-size: max(clamp(72px, 12vw, 190px), calc(172.8 * var(--u))); }
  .rh2 .abt-tl-copy h2 { margin-bottom: max(12px, calc(12 * var(--u))); font-size: max(clamp(20px, 2vw, 28px), calc(28 * var(--u))); }
  .rh2 .abt-tl-copy p { font-size: max(16px, calc(16 * var(--u))); }
  /* Team reveal (pinned) */
  .rh2 .abt-reveal-cap { padding: 0 max(64px, calc(64 * var(--u))); }
  .rh2 .abt-reveal-cap h2 { margin-top: max(14px, calc(14 * var(--u))); font-size: max(clamp(32px, 5vw, 80px), calc(72 * var(--u))); }
  .rh2 .abt-team { width: min(max(1200px, calc(1200 * var(--u))), 96vw); }
  /* Content blocks */
  .rh2 .abt-blk { padding-top: max(clamp(100px, 12vw, 160px), calc(160 * var(--u))); }
  .rh2 .abt-split { grid-template-columns: minmax(max(160px, calc(160 * var(--u))), 1fr) minmax(0, 3fr); gap: max(32px, calc(32 * var(--u))) max(48px, calc(48 * var(--u))); }
  .rh2 .abt-statement { font-size: max(28px, 3.8vw); }
  .rh2 .abt-stats { margin-top: max(clamp(64px, 8vw, 110px), calc(110 * var(--u))); }
  .rh2 .abt-stats div { padding: max(28px, calc(28 * var(--u))) max(24px, calc(24 * var(--u))) 0 0; }
  .rh2 .abt-stats b { font-size: max(48px, 6vw); }
  .rh2 .abt-stats span { margin-top: max(12px, calc(12 * var(--u))); font-size: max(15px, calc(15 * var(--u))); }
  .rh2 .abt-ops { gap: max(48px, calc(48 * var(--u))); margin-top: max(clamp(56px, 7vw, 96px), calc(96 * var(--u))); }
  .rh2 .abt-op { padding-top: max(24px, calc(24 * var(--u))); }
  .rh2 .abt-op h3 { margin: max(40px, calc(40 * var(--u))) 0 max(12px, calc(12 * var(--u))); font-size: max(28px, calc(28 * var(--u))); }
  .rh2 .abt-op p, .rh2 .abt-steps p { font-size: max(16px, calc(16 * var(--u))); }
  .rh2 .abt-vm { gap: max(16px, calc(16 * var(--u))); margin-top: max(clamp(56px, 7vw, 96px), calc(96 * var(--u))); }
  .rh2 .abt-vm > div { padding: max(clamp(28px, 4vw, 48px), calc(48 * var(--u))); }
  .rh2 .abt-vm p { margin-top: max(18px, calc(18 * var(--u))); font-size: max(clamp(19px, 1.9vw, 26px), calc(26 * var(--u))); }
  .rh2 .abt-how-h { margin-bottom: max(clamp(48px, 6vw, 80px), calc(80 * var(--u))); }
  .rh2 .abt-steps li { grid-template-columns: max(80px, calc(80 * var(--u))) minmax(0, 1fr) minmax(0, 1.3fr); gap: max(16px, calc(16 * var(--u))) max(32px, calc(32 * var(--u))); padding: max(32px, calc(32 * var(--u))) 0; }
  .rh2 .abt-steps h3 { font-size: max(26px, 3vw); }
  /* Partners marquee */
  .rh2 .abt-partners .v2-marquee-sec { margin-top: max(28px, calc(28 * var(--u))); }
}

/* ── Phone ── */
@media (max-width: 768px) {
  .rh2 .abt-wrap { padding-inline: 20px; }
  .rh2 .abt-vert { display: none; }
  .rh2 .abt-hero { min-height: calc(100svh - 140px); padding-top: 40px; }
  .rh2 .abt-hero-foot { flex-direction: column; align-items: flex-start; }
  /* One column that can shrink below the year row's width, so the row scrolls inside the
     screen instead of stretching the page (and cutting off the last years). */
  .rh2 .abt-tl-stick { padding-top: 96px; grid-template-columns: minmax(0, 1fr); }
  .rh2 .abt-tl-stick > * { min-width: 0; }
  /* Smaller years so all of them fit on most phones without scrolling. */
  .rh2 .abt-years { gap: 8px; }
  .rh2 .abt-years button { font-size: clamp(13px, 4.3vw, 22px); }
  .rh2 .abt-tl-text { grid-template-columns: 1fr; gap: 12px; }
  .rh2 .abt-big-year { font-size: 64px; }
  .rh2 .abt-stack { width: min(300px, 78vw, 40vh); }
  .rh2 .abt-reveal-cap { padding: 0 20px; }
  .rh2 .abt-split { grid-template-columns: 1fr; gap: 20px; }
  .rh2 .abt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .rh2 .abt-ops { grid-template-columns: 1fr; gap: 36px; }
  .rh2 .abt-op h3 { margin-top: 20px; }
  .rh2 .abt-vm { grid-template-columns: 1fr; }
  .rh2 .abt-steps li { grid-template-columns: 48px 1fr; }
  .rh2 .abt-steps p { grid-column: 2; }
}

/* ── Reduced motion: no word rise, no card flight ── */
@media (prefers-reduced-motion: reduce) {
  .rh2 .abt-w > span { animation: none; transform: none; }
  .rh2 .abt-card, .rh2 .abt-swap, .rh2 .abt-reveal-cap, .rh2 .abt-fill span { transition: none; }
}

/* Phones: the hero hugs its content instead of filling the screen (no empty band above the
   words), and the team photo sits right under its caption, the two centred together. */
@media (max-width: 768px) {
  .rh2 .abt-hero { min-height: 0; padding-top: 56px; padding-bottom: 32px; }
  /* Caption and photo as one group, centred together on the screen. */
  .rh2 .abt-reveal-img { justify-content: center; padding-top: 48px; }
  .rh2 .abt-reveal-cap { position: relative; top: auto; margin-bottom: 28px; }
  /* The photo's bottom edge fades out like its sides. */
  .rh2 .abt-team {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, #000 78%, transparent 100%);
    mask-composite: intersect;
  }
}

/* ── projects.css ── */
/* ── Projects (/projects and /projects/<slug>) ── */
.rh2 .pj-page { padding: 56px 64px 0; }
.rh2 .pj-hero .i-h1 { max-width: 16ch; margin: 20px 0 24px; font-size: clamp(40px, 6.2vw, 86px); }
.rh2 .pj-hero .i-lead { max-width: 58ch; }

.rh2 .pj-sample-note {
  display: inline-block; margin: 28px 0 0; padding: 8px 14px; border-radius: 10px;
  background: #fff6e0; color: #7a5300; font-size: 13px; font-weight: 600;
}

/* Industry filter */
.rh2 .pj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 36px; }
.rh2 .pj-chip {
  appearance: none; font: inherit; cursor: pointer;
  padding: 9px 18px; border: 1px solid var(--v2-border-hi); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--v2-text);
  transition: background-color .2s, border-color .2s, color .2s, scale .15s;
}
.rh2 .pj-chip:hover { border-color: #192E7D; color: #192E7D; }
.rh2 .pj-chip:active { scale: .96; }
.rh2 .pj-chip:focus-visible { outline: 2px solid #192E7D; outline-offset: 2px; }
.rh2 .pj-chip.on { background: #192E7D; border-color: #192E7D; color: #fff; }

/* Photos: real ones fill the frame; missing ones show a dashed frame with what goes there */
.rh2 .pj-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 20px; background: #eef0f7; }
.rh2 .pj-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-soft); }
.rh2 .pj-photo.is-empty { display: grid; place-items: center; border: 1.5px dashed rgba(25, 46, 125, .28); background: #f4f6fb; }
.rh2 .pj-photo.is-empty > span { padding: 0 20px; font-family: var(--v2-mono); font-size: 12px; letter-spacing: .04em; color: var(--v2-muted); text-align: center; }

/* Cards */
.rh2 .pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.rh2 .pj-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh2 .pj-item { min-width: 0; animation: pj-in .6s var(--ease-soft) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes pj-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rh2 .pj-card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; border-radius: 20px; }
.rh2 .pj-card .pj-photo { margin-bottom: 10px; }
.rh2 .pj-card:hover .pj-photo img { transform: scale(1.04); }
.rh2 .pj-card:hover .pj-photo.is-empty { border-color: #192E7D; }
.rh2 .pj-card:focus-visible { outline: 2px solid #192E7D; outline-offset: 4px; }
.rh2 .pj-meta { display: block; margin: 0; font-family: var(--v2-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #192E7D; }
.rh2 .pj-card-title { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; transition: color .2s; }
.rh2 .pj-card:hover .pj-card-title { color: #192E7D; }
.rh2 .pj-client { margin: 0; font-size: 14px; color: var(--v2-muted); }
.rh2 .pj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rh2 .pj-tags span { padding: 4px 10px; border-radius: 999px; background: #eef0f7; font-size: 12px; font-weight: 600; color: #192E7D; }

/* Call to action band */
.rh2 .pj-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin: 96px 0 120px; padding: 48px; border-radius: 28px; background: #192E7D; color: #fff;
}
.rh2 .pj-cta-title { margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.rh2 .pj-cta-text { margin: 0; max-width: 48ch; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .8); }
.rh2 .pj-cta-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  background: #fff; color: #192E7D; font-weight: 700; text-decoration: none; transition: scale .2s;
}
.rh2 .pj-cta-btn:hover { scale: 1.03; }

/* Project page */
.rh2 .pj-detail { max-width: 1120px; margin-inline: auto; }
.rh2 .pj-detail .ad-back { display: inline-flex; }
.rh2 .pj-detail-head { margin: 32px 0 40px; }
.rh2 .pj-detail-title { max-width: 20ch; margin: 14px 0 20px; font-size: clamp(36px, 5.4vw, 72px); }
.rh2 .pj-detail-head .i-lead { max-width: 60ch; margin: 0 0 16px; }
.rh2 .pj-detail-head .pj-client strong { color: var(--v2-text); }
.rh2 .pj-cover { aspect-ratio: 16 / 8; border-radius: 28px; }

.rh2 .pj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0; border-bottom: 1px solid var(--v2-border); }
.rh2 .pj-stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 32px 24px 32px 0; }
.rh2 .pj-stats > div + div { padding-left: 24px; border-left: 1px solid var(--v2-border); }
.rh2 .pj-stats dd { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #192E7D; }
.rh2 .pj-stats dt { font-size: 14px; color: var(--v2-muted); }

.rh2 .pj-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 64px 0; }
.rh2 .pj-step { margin: 0 0 14px; font-family: var(--v2-mono); font-size: 12px; letter-spacing: .14em; color: #192E7D; }
.rh2 .pj-story h2 { margin: 0 0 16px; font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.rh2 .pj-story section > p:not(.pj-step) { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--v2-muted); }
.rh2 .pj-products { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.rh2 .pj-products a {
  display: flex; justify-content: space-between; padding: 12px 16px; border: 1px solid var(--v2-border); border-radius: 14px;
  font-size: 14px; font-weight: 700; color: #192E7D; text-decoration: none; transition: border-color .2s, background-color .2s;
}
.rh2 .pj-products a:hover { border-color: #192E7D; background: #f4f6fb; }

.rh2 .pj-quote { margin: 0 0 64px; padding: 48px 56px; border-radius: 28px; background: #f4f6fb; }
.rh2 .pj-quote blockquote { margin: 0 0 18px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.rh2 .pj-quote figcaption { font-size: 14px; color: var(--v2-muted); }

.rh2 .pj-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.rh2 .pj-more { margin-bottom: 120px; }
.rh2 .pj-more h2 { margin: 0 0 28px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.03em; }
.rh2 .pj-detail .pj-cta { margin-bottom: 96px; }

@media (max-width: 1024px) {
  .rh2 .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh2 .pj-story { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .rh2 .pj-page { padding: 32px 20px 0; }
  .rh2 .pj-grid, .rh2 .pj-grid.is-two { grid-template-columns: 1fr; gap: 40px; }
  .rh2 .pj-cover { aspect-ratio: 4 / 3; border-radius: 20px; }
  .rh2 .pj-stats { grid-template-columns: 1fr 1fr 1fr; }
  .rh2 .pj-stats > div { padding: 24px 10px 24px 0; }
  .rh2 .pj-stats > div + div { padding-left: 12px; }
  .rh2 .pj-stats dd { font-size: 30px; }
  .rh2 .pj-stats dt { font-size: 12px; }
  .rh2 .pj-gallery { grid-template-columns: 1fr 1fr; }
  .rh2 .pj-quote { padding: 32px 24px; }
  .rh2 .pj-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; margin: 64px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .rh2 .pj-item { animation: none; }
  .rh2 .pj-photo img { transition: none; }
}

/* site.css draws a line under every section; the project page's own blocks don't want it. */
.rh2 .pj-page section, .rh2 section.pj-page { border-bottom: 0; }

/* ── tutorial.css ── */
/* ═══════════════════════════════════════════════════════════════
   tutorial.css — Tutorial video library (components/support/SupportPage.tsx)
   Topic chips + search, a featured video, a card grid that glides between
   filters (View Transitions where supported) and a pop-up player.
═══════════════════════════════════════════════════════════════ */

.rh2 .tu-page { padding: 64px max(20px, 5vw) 112px; max-width: 1440px; margin: 0 auto; }

/* Heading */
.rh2 .tu-heading { text-align: center; margin: 0 auto 48px; max-width: 1050px; }
.rh2 .tu-heading .i-h1 { max-width: none; margin: 18px auto 20px; font-size: clamp(48px, 7vw, 108px); }
.rh2 .tu-heading .i-lead { margin-inline: auto; }
.rh2 .tu-heading .i-kicker { animation: i-rise .7s var(--ease-soft) .15s both; }
.rh2 .tu-heading .i-h1     { animation: i-rise 1s  var(--ease-cinema) .25s both; }
.rh2 .tu-heading .i-lead   { animation: i-rise .8s var(--ease-soft) .35s both; }

/* Filter bar: stays under the floating navbar while scrolling the library */
.rh2 .tu-bar {
  position: sticky; top: 88px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px; margin: 0 -10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 30px -18px rgba(10, 20, 60, .35);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  animation: i-rise .7s var(--ease-soft) .5s both;
}
.rh2 .tu-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.rh2 .tu-chips::-webkit-scrollbar { display: none; }
.rh2 .tu-chip {
  appearance: none; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--v2-border-hi); border-radius: 999px;
  padding: 9px 14px 9px 18px;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--v2-muted);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, scale .15s;
}
.rh2 .tu-chip:hover { border-color: #192E7D; color: #192E7D; }
.rh2 .tu-chip:active { scale: .96; }
.rh2 .tu-chip:focus-visible, .rh2 .tu-more-btn:focus-visible { outline: 2px solid #192E7D; outline-offset: 2px; }
.rh2 .tu-chip.on { background: #192E7D; border-color: #192E7D; color: #fff; }
.rh2 .tu-chip-n {
  min-width: 22px; padding: 2px 6px; border-radius: 999px;
  font-family: var(--v2-mono); font-size: 11px; text-align: center;
  background: rgba(25, 46, 125, .08); color: inherit;
  transition: background-color .2s;
}
.rh2 .tu-chip.on .tu-chip-n { background: rgba(255, 255, 255, .2); }

.rh2 .tu-search {
  flex: none; position: relative; display: flex; align-items: center;
  width: 260px;
}
.rh2 .tu-search svg {
  position: absolute; left: 14px; width: 16px; height: 16px;
  fill: none; stroke: var(--v2-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.rh2 .tu-search input {
  width: 100%; padding: 10px 16px 10px 38px;
  border: 1px solid var(--v2-border-hi); border-radius: 999px; background: #fff;
  font: inherit; font-size: 14px; color: var(--v2-text);
  transition: border-color .2s, box-shadow .2s;
}
.rh2 .tu-search input:focus { outline: none; border-color: #192E7D; box-shadow: 0 0 0 4px rgba(25, 46, 125, .1); }

.rh2 .tu-count { margin: 14px 0 28px; font-size: 13px; color: var(--v2-muted); }

/* Shared card bits */
.rh2 .tu-thumb {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9; border-radius: 16px; background: #0b1535;
}
.rh2 .tu-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.85) brightness(.8);
  transition: transform .8s var(--ease-soft), filter .5s;
}
.rh2 .tu-play {
  position: absolute; inset: 50% auto auto 50%; translate: -50% -50%;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .16);
  transition: box-shadow .35s, scale .35s var(--ease-soft);
}
.rh2 .tu-play svg { width: 22px; height: 22px; fill: #192E7D; translate: 2px 0; }
.rh2 .tu-lang {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #192E7D;
  font-size: 12px; font-weight: 700;
}
.rh2 .tu-tag, .rh2 .tu-channel { display: block; font-family: var(--v2-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-muted); }
.rh2 .tu-tag { color: #192E7D; }
.rh2 .tu-channel { letter-spacing: .04em; text-transform: none; font-family: inherit; font-size: 13px; }

:is(.tu-card, .tu-feature):hover .tu-thumb img,
:is(.tu-card, .tu-feature):focus-visible .tu-thumb img { transform: scale(1.05); filter: saturate(1) brightness(.92); }
:is(.tu-card, .tu-feature):hover .tu-play { scale: 1.1; box-shadow: 0 0 0 18px rgba(255, 255, 255, .12); }

/* Featured video */
.rh2 .tu-feature {
  appearance: none; font: inherit; text-align: left; color: inherit; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: center;
  width: 100%; padding: 14px; margin-bottom: 56px;
  border: 1px solid var(--v2-border); border-radius: 28px;
  background: linear-gradient(135deg, #f4f6fd, #fff 60%);
}
.rh2 .tu-feature .tu-thumb { border-radius: 18px; }
.rh2 .tu-feature .tu-play { width: 76px; height: 76px; }
.rh2 .tu-feature .tu-play svg { width: 28px; height: 28px; }
.rh2 .tu-feature-text { display: flex; flex-direction: column; gap: 14px; padding-right: 24px; }
.rh2 .tu-feature-title { font-size: clamp(24px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.rh2 .tu-feature-cta { margin-top: 8px; font-weight: 700; color: #192E7D; }
.rh2 .tu-feature-cta span { display: inline-block; transition: translate .4s var(--ease-soft); }
.rh2 .tu-feature:hover .tu-feature-cta span { translate: 6px 0; }
.rh2 .tu-feature:focus-visible, .rh2 .tu-card:focus-visible { outline: 2px solid #192E7D; outline-offset: 4px; }

/* Grid */
.rh2 .tu-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.rh2 .tu-item { min-width: 0; animation: tu-card-in .6s var(--ease-soft) both; animation-delay: calc(var(--i, 0) * 50ms); }
.rh2 .tu-card {
  appearance: none; font: inherit; text-align: left; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; padding: 0; border: 0; background: none; border-radius: 16px;
}
.rh2 .tu-card .tu-thumb { margin-bottom: 8px; }
.rh2 .tu-title { font-size: 19px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; transition: color .2s; }
.rh2 .tu-card:hover .tu-title { color: #192E7D; }
@keyframes tu-card-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Cards gliding between filters (View Transitions API) */
:root.tu-vt::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
:root.tu-vt::view-transition-new(*):only-child { animation: tu-vt-in .45s cubic-bezier(.22, 1, .36, 1) both; }
:root.tu-vt::view-transition-old(*):only-child { animation: tu-vt-out .25s ease both; }
@keyframes tu-vt-in { from { opacity: 0; scale: .92; } }
@keyframes tu-vt-out { to { opacity: 0; scale: .92; } }

.rh2 .tu-empty { padding: 72px 20px; text-align: center; color: var(--v2-muted); display: grid; justify-items: center; gap: 16px; }

.rh2 .tu-more { display: flex; justify-content: center; margin-top: 56px; }
.rh2 .tu-more-btn {
  appearance: none; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 28px; border-radius: 999px; border: 1px solid #192E7D;
  background: #fff; color: #192E7D; font: inherit; font-weight: 700; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.rh2 .tu-more-btn:hover { background: #192E7D; color: #fff; }
.rh2 .tu-more-btn:hover .tu-chip-n { background: rgba(255, 255, 255, .2); }

/* "Can't find it?" */
.rh2 .tu-ask {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 96px; padding: 40px 48px; border-radius: 28px;
  background: #192E7D; color: #fff;
}
.rh2 .tu-ask-title { font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; }
.rh2 .tu-ask-text { margin-top: 8px; max-width: 56ch; color: rgba(255, 255, 255, .75); }
.rh2 .tu-ask-btn {
  flex: none; padding: 14px 24px; border-radius: 999px; background: #fff; color: #192E7D;
  font-weight: 700; text-decoration: none; transition: scale .2s;
}
.rh2 .tu-ask-btn:hover { scale: 1.04; }
.rh2 .tu-ask-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Pop-up player */
.tu-dialog {
  width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; background: transparent; overflow: visible;
  animation: tu-pop-in .45s cubic-bezier(.22, 1, .36, 1) both;
}
.tu-dialog::backdrop { background: rgba(6, 12, 36, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: tu-fade .35s ease both; }
.tu-dialog.is-closing { animation: tu-pop-out .22s ease both; }
.tu-dialog.is-closing::backdrop { animation: tu-fade .22s ease reverse both; }
.tu-dialog-box { position: relative; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }
.tu-dialog-frame { aspect-ratio: 16 / 9; max-height: calc(100dvh - 190px); width: 100%; background: #000; }
.tu-dialog-frame iframe { width: 100%; height: 100%; border: 0; display: block; animation: tu-fade .4s ease both; }
.tu-dialog-info { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px 22px; }
.tu-dialog-title { margin: 6px 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--v2-text); }
.tu-dialog .tu-tag, .tu-dialog .tu-channel { display: block; font-family: var(--v2-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #192E7D; }
.tu-dialog .tu-channel { font-family: inherit; font-size: 13px; letter-spacing: .02em; text-transform: none; color: var(--v2-muted); }
.tu-dialog .tu-channel a { color: #192E7D; font-weight: 600; }
.tu-dialog-nav { display: flex; gap: 8px; flex: none; }
.tu-dialog-nav button, .tu-dialog-close {
  appearance: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: inherit; font-size: 18px; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s;
}
.tu-dialog-nav button { border: 1px solid var(--v2-border-hi); background: #fff; color: #192E7D; }
.tu-dialog-nav button:hover:not(:disabled) { background: #192E7D; color: #fff; }
.tu-dialog-nav button:disabled { opacity: .3; cursor: default; }
.tu-dialog-close { position: absolute; top: 12px; right: 12px; border: 0; background: rgba(255, 255, 255, .92); color: #192E7D; font-size: 26px; line-height: 1; }
.tu-dialog-close:hover { background: #fff; }
.tu-dialog :focus-visible { outline: 2px solid #192E7D; outline-offset: 2px; }
@keyframes tu-pop-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes tu-pop-out { to { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes tu-fade { from { opacity: 0; } }

/* Tablet */
@media (max-width: 1024px) {
  .rh2 .tu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh2 .tu-feature { grid-template-columns: 1fr; gap: 20px; }
  .rh2 .tu-feature-text { padding: 0 8px 10px; }
}
/* Phone */
@media (max-width: 700px) {
  .rh2 .tu-page { padding-block: 48px 72px; }
  .rh2 .tu-heading { margin-bottom: 32px; }
  .rh2 .tu-bar { top: 76px; flex-direction: column-reverse; align-items: stretch; gap: 10px; border-radius: 24px; }
  .rh2 .tu-search { width: auto; }
  .rh2 .tu-grid { grid-template-columns: 1fr; gap: 36px; }
  .rh2 .tu-feature { padding: 10px; border-radius: 22px; margin-bottom: 40px; }
  .rh2 .tu-ask { flex-direction: column; align-items: flex-start; padding: 32px 24px; margin-top: 64px; }
  .tu-dialog { width: calc(100vw - 16px); }
  .tu-dialog-box { border-radius: 16px; }
  .tu-dialog-info { flex-direction: column; align-items: stretch; padding: 16px; }
  .tu-dialog-nav { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  .rh2 .tu-heading > *, .rh2 .tu-bar, .rh2 .tu-item, .tu-dialog, .tu-dialog::backdrop, .tu-dialog-frame iframe { animation: none !important; }
  .rh2 .tu-thumb img, .rh2 .tu-play { transition: none; }
}

/* Cards are links (Google, new tabs); a plain click opens the pop-up */
.rh2 a.tu-card, .rh2 a.tu-feature { text-decoration: none; }
.rh2 .tu-dur {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 7px; border-radius: 6px;
  background: rgba(8, 14, 38, .82); color: #fff;
  font-family: var(--v2-mono); font-size: 12px; font-weight: 600; letter-spacing: .02em;
}

/* A video's own page: /tutorial/<slug> */
.rh2 .tu-detail { max-width: 1040px; margin-inline: auto; }
.rh2 .tu-detail .ad-back { display: inline-flex; margin-bottom: 28px; }
.rh2 .tu-detail-meta { margin: 0 0 12px; }
.rh2 .tu-detail-title { margin: 0 0 32px; font-size: clamp(30px, 4.4vw, 56px); }
.rh2 .tu-detail-frame {
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: #0b1535;
  box-shadow: 0 30px 70px -30px rgba(11, 21, 53, .45);
}
.rh2 .tu-detail-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.rh2 .tu-detail-info { display: grid; gap: 12px; margin: 28px 0 72px; max-width: 760px; }
.rh2 .tu-detail-info .i-lead { margin: 0; }
.rh2 .tu-detail-info a { color: #192E7D; font-weight: 600; }
.rh2 .tu-detail-more-h { margin: 0 0 24px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; font-weight: 800; }
@media (max-width: 700px) {
  .rh2 .tu-detail-frame { border-radius: 14px; }
  .rh2 .tu-detail-info { margin-bottom: 48px; }
}

