/* ARIS — Branch A "Ora blu" (dallar/dal_a/01_tasarim/tasarim_sistemi.md). Plain CSS, no framework.
   Order: tokens → base → type → layout → header/menu → home sections → product sections → components
          → motion → reduced motion → Day prints. */

/* ============================================================== 1. TOKENS */
:root, :root[data-theme="night"] {
  color-scheme: dark;
  --bg: #0C1218; --bg-alt: #111A22; --bg-deep: #080C10; --surface: #16212B;
  --fg-strong: #F2EDE3; --fg: #CBD0D4; --fg-muted: #8D99A5; --field: #6B7885;
  --rule: rgb(242 237 227 / .12); --rule-strong: rgb(242 237 227 / .26);
  --print-inset: 0px; --print-radius: 0px; --print-radius-s: 0px;
  --theme-color: #0C1218;
}
:root[data-theme="day"] {
  color-scheme: light;
  --bg: #EDEFEA; --bg-alt: #E3E7E0; --bg-deep: #DCE1D9; --surface: #F6F7F3;
  --fg-strong: #101820; --fg: #2E3A44; --fg-muted: #56626C; --field: #66717B;
  --rule: rgb(16 24 32 / .12); --rule-strong: rgb(16 24 32 / .28);
  --print-inset: 12px; --print-radius: 14px; --print-radius-s: 8px;
  --theme-color: #EDEFEA;
}
@media (min-width: 768px)  { :root[data-theme="day"] { --print-inset: 16px; --print-radius: 18px; --print-radius-s: 10px; } }
@media (min-width: 1280px) { :root[data-theme="day"] { --print-inset: 24px; --print-radius: 20px; } }

/* ACCENT TOKENS */
:root, :root[data-accent="amber"] {
  --accent: #E8A445; --on-accent: #0C1218; --accent-ink: #E8A445; --accent-edge: #E8A445; --on-photo-accent: #E8A445; }
:root[data-theme="day"], :root[data-accent="amber"][data-theme="day"] {
  --accent: #E39A3B; --on-accent: #101820; --accent-ink: #8A4F0B; --accent-edge: #8A4F0B; }
:root[data-accent="lime"] {
  --accent: #C9E265; --on-accent: #0C1218; --accent-ink: #C9E265; --accent-edge: #C9E265; --on-photo-accent: #C9E265; }
:root[data-accent="lime"][data-theme="day"] {
  --accent: #C9E265; --on-accent: #101820; --accent-ink: #4E6A0C; --accent-edge: #4E6A0C; }
/* END ACCENT TOKENS */

:root {
  --photo-floor: 8 12 16;
  --on-photo-strong: #F4EFE6; --on-photo: #DDE1E4; --on-photo-muted: #B4BEC7;
  --on-photo-rule: rgb(244 239 230 / .28);
  --scrim-hero:
    linear-gradient(0deg,  rgb(var(--photo-floor) / .90) 0%, rgb(var(--photo-floor) / .62) 26%, rgb(var(--photo-floor) / .18) 52%, rgb(var(--photo-floor) / 0) 68%),
    linear-gradient(90deg, rgb(var(--photo-floor) / .72) 0%, rgb(var(--photo-floor) / .40) 40%, rgb(var(--photo-floor) / 0) 66%);
  --scrim-hero-m:
    linear-gradient(0deg,  rgb(var(--photo-floor) / .94) 0%, rgb(var(--photo-floor) / .80) 22%, rgb(var(--photo-floor) / .30) 48%, rgb(var(--photo-floor) / 0) 64%);
  --scrim-caption:
    linear-gradient(0deg,  rgb(var(--photo-floor) / .88) 0%, rgb(var(--photo-floor) / .55) 34%, rgb(var(--photo-floor) / 0) 62%),
    linear-gradient(90deg, rgb(var(--photo-floor) / .70) 0%, rgb(var(--photo-floor) / .34) 38%, rgb(var(--photo-floor) / 0) 58%);
  --scrim-name:
    linear-gradient(0deg,  rgb(var(--photo-floor) / .92) 0%, rgb(var(--photo-floor) / .66) 30%, rgb(var(--photo-floor) / .20) 58%, rgb(var(--photo-floor) / 0) 74%),
    linear-gradient(90deg, rgb(var(--photo-floor) / .62) 0%, rgb(var(--photo-floor) / .30) 44%, rgb(var(--photo-floor) / 0) 64%);
  --scrim-edge:
    linear-gradient(0deg,  rgb(var(--photo-floor) / .85) 0%, rgb(var(--photo-floor) / .40) 18%, rgb(var(--photo-floor) / 0) 34%);
  --scrim-header:
    linear-gradient(180deg, rgb(var(--photo-floor) / .72) 0%, rgb(var(--photo-floor) / .30) 9%, rgb(var(--photo-floor) / 0) 18%);
  /* header scrim for the 4:5 phone block (its box is ~470 px tall, so the 18 % band is ~85 px) */
  --scrim-header-m:
    linear-gradient(180deg, rgb(var(--photo-floor) / .72) 0%, rgb(var(--photo-floor) / .30) 12%, rgb(var(--photo-floor) / 0) 22%);

  --ff-display: "ArisPrime", "Sofia Sans Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ff-text: "ArisPrime", "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-name: clamp(4.75rem, 2.021rem + 11.64vw, 12.5rem);
  --fs-hero: clamp(3.125rem, min(1.585rem + 6.573vw, 12.6svh), 7.5rem);
  --fs-h2: clamp(2.375rem, 1.451rem + 3.944vw, 5rem);
  --fs-title: clamp(2.5rem, 1.444rem + 4.507vw, 5.5rem);
  --fs-num: clamp(4rem, 2.592rem + 6.009vw, 8rem);
  --fs-figure: clamp(2.75rem, 1.43rem + 5.634vw, 6.5rem);
  --fs-figure-s: clamp(2.125rem, 1.641rem + 2.066vw, 3.5rem);
  --fs-tab: clamp(1.875rem, 1.303rem + 2.441vw, 3.5rem);
  --fs-h3: clamp(1.625rem, 1.317rem + 1.315vw, 2.5rem);
  --fs-q: clamp(1.25rem, 1.162rem + 0.3756vw, 1.5rem);
  --fs-statement: clamp(1.5rem, 1.192rem + 1.315vw, 2.375rem);
  --fs-lead: clamp(1.25rem, 1.118rem + 0.5634vw, 1.625rem);
  --fs-body: clamp(1.0625rem, 1.018rem + 0.1878vw, 1.1875rem);
  --fs-data: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);
  --fs-small: clamp(0.9375rem, 0.9155rem + 0.0939vw, 1rem);
  --fs-label: clamp(0.8125rem, 0.7905rem + 0.0939vw, 0.875rem);
  --fs-nav: clamp(0.875rem, 0.853rem + 0.0939vw, 0.9375rem);

  --margin: clamp(1.25rem, 0.2817rem + 4.131vw, 4rem);
  --gutter: clamp(1rem, 0.8239rem + 0.7512vw, 1.5rem);
  --hdr: 64px;
  --bleed: calc(var(--margin) + max(0px, (100vw - 1440px) / 2));
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px;
  --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 160px;
  --sec-y: clamp(5rem, 3.239rem + 7.512vw, 10rem);
  --sec-y-s: clamp(3.5rem, 2.268rem + 5.258vw, 7rem);

  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
  --d-press: 120ms; --d-hover: 220ms; --d-ui: 320ms; --d-theme: 420ms;
  --d-reveal: 700ms; --d-xfade: 900ms; --d-push: 1600ms;
}
@media (min-width: 1024px) { :root { --hdr: 72px; } }

/* ″ (U+2033) is missing from both Sofia families */
@font-face { font-family: "ArisPrime"; src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"), local("Roboto"); unicode-range: U+2033; }

/* ============================================================== 2. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.i18n-wait body { visibility: hidden; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--ff-text); font-size: var(--fs-body); line-height: 1.62; font-weight: 400;
  overflow-x: clip; transition: background-color var(--d-ui) var(--ease-std), color var(--d-ui) var(--ease-std); }
:root:not([data-theme="day"]) body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
ol, ul { list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; font-weight: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-edge); outline-offset: 3px; }
.scene :focus-visible, .hdr.is-over :focus-visible, .layer :focus-visible { outline-color: var(--on-photo-accent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
main [id] { scroll-margin-top: calc(var(--hdr) + 16px); }
.pp [id] { scroll-margin-top: 136px; }

/* ============================================================== 3. TYPE */
.t-name, .t-hero, .t-h2, .t-title, .t-num, .t-figure, .t-figure-s, .t-tab, .t-h3, .t-q, .t-label, .t-nav {
  font-family: var(--ff-display); hyphens: manual; }
.t-name { font-size: var(--fs-name); font-weight: 800; line-height: .86; letter-spacing: -.01em; color: var(--fg-strong); }
.t-hero { font-size: var(--fs-hero); font-weight: 700; line-height: .94; letter-spacing: -.012em; text-wrap: balance; max-width: 14ch; }
.t-h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1; letter-spacing: -.005em; color: var(--fg-strong); text-wrap: balance; max-width: 16ch; }
.t-title { font-size: var(--fs-title); font-weight: 700; line-height: .95; letter-spacing: -.005em; color: var(--fg-strong); text-wrap: balance; }
.t-title--s { font-size: calc(var(--fs-title) * .8); }
.t-num { font-size: var(--fs-num); font-weight: 300; line-height: .9; letter-spacing: -.02em; }
.t-figure, .t-figure-s { font-weight: 700; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--fg-strong); }
.t-figure { font-size: var(--fs-figure); line-height: .9; letter-spacing: -.01em; }
.t-figure-s { font-size: var(--fs-figure-s); line-height: .95; letter-spacing: -.01em; }
.t-tab { font-size: var(--fs-tab); font-weight: 700; line-height: 1; letter-spacing: -.005em; }
.t-h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.08; color: var(--fg-strong); text-wrap: balance; }
.t-q { font-size: var(--fs-q); font-weight: 600; line-height: 1.2; color: var(--fg-strong); }
.t-statement { font-size: var(--fs-statement); font-weight: 350; line-height: 1.32; letter-spacing: -.005em; color: var(--fg-strong); text-wrap: pretty; }
.t-lead { font-size: var(--fs-lead); font-weight: 350; line-height: 1.45; text-wrap: pretty; hyphens: auto; hyphenate-limit-chars: 8 4 4; }
.t-body { font-size: var(--fs-body); line-height: 1.62; text-wrap: pretty; hyphens: auto; hyphenate-limit-chars: 8 4 4; }
.t-data { font-size: var(--fs-data); font-weight: 500; line-height: 1.4; letter-spacing: .01em; font-variant-numeric: tabular-nums lining-nums; }
.t-small { font-size: var(--fs-small); line-height: 1.5; hyphens: auto; hyphenate-limit-chars: 8 4 4; }
.t-label { font-size: var(--fs-label); font-weight: 600; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-muted); }
.t-nav { font-size: var(--fs-nav); font-weight: 600; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; }
.unit { font-family: var(--ff-text); font-weight: 500; font-size: max(14px, .3em); letter-spacing: 0; margin-left: .25em; color: var(--fg-muted); white-space: nowrap; }

/* ============================================================== 4. LAYOUT */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.scene { position: relative; overflow: hidden; margin: var(--print-inset); border-radius: var(--print-radius);
  transition: margin var(--d-theme) var(--ease-std), border-radius var(--d-theme) var(--ease-std); }
.macro { border-radius: var(--print-radius-s); overflow: hidden; }
.render { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* Day: the header is solid paper, so a scene hero starts below it */
[data-theme="day"] body[data-hero="scene"] main { padding-top: var(--hdr); }

/* ============================================================== 5. BUTTONS & LINKS (§8.1) */
.arr { flex: none; transition: transform var(--d-hover) var(--ease-out); }
.arr--down { transform: rotate(90deg); }
.arr--back { transform: rotate(180deg); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent-edge); border-radius: 2px;
  font-family: var(--ff-display); font-size: var(--fs-nav); font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--d-hover) var(--ease-std), transform var(--d-press) var(--ease-std); }
.btn:hover { background: color-mix(in srgb, var(--accent) 88%, white); }
[data-theme="day"] .btn:hover { background: color-mix(in srgb, var(--accent) 88%, black); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 44px; padding: 0 16px; }
.btn--ghost { background: transparent; color: var(--fg-strong); border: 1.5px solid var(--fg-strong); }
.btn--ghost:hover, [data-theme="day"] .btn--ghost:hover { background: color-mix(in srgb, var(--fg-strong) 8%, transparent); }
.lnk { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--fg-strong); font-weight: 500;
  text-decoration: underline 1px; text-decoration-color: var(--rule-strong); text-underline-offset: 6px;
  transition: text-decoration-color var(--d-hover) var(--ease-std); }
.lnk.t-nav { text-decoration: none; }
.lnk:hover { text-decoration-color: var(--fg-strong); }
.lnk:hover .arr { transform: translateX(4px); }
.lnk:hover .arr--down { transform: rotate(90deg) translateX(3px); }
.lnk--inline { display: inline; min-height: 0; padding-block: 12px; }
.lnk--photo { color: var(--on-photo-strong); text-decoration-color: var(--on-photo-rule); }
.lnk--photo:hover { text-decoration-color: var(--on-photo-strong); }
.mlink { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--fg-strong); text-decoration: none;
  font-size: 18px; font-weight: 500; letter-spacing: .01em; }
.mlink:hover .arr, .mlink:focus-visible .arr { color: var(--accent-ink); transform: translateX(4px); }
.mlink + .t-body, .mlink + span { display: block; }
.tlink { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: .22em; padding-block: 8px; margin-block: -8px; }   /* audit: ≥ 44 px tap height, layout unchanged */
.tlink__arr { display: inline-flex; align-self: center; }
.tlink__arr .arr { width: 24px; height: 15px; }
.tlink:hover .arr, .tlink:focus-visible .arr { color: var(--accent-ink); transform: translateX(4px); }
.skip { position: fixed; left: 16px; top: -120px; z-index: 100; }
.skip:focus { top: 12px; }

/* ============================================================== 6. HEADER (§6.0) + MENU (§8.2) */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); background: var(--bg); color: var(--fg-strong);
  border-bottom: 1px solid var(--rule); --hm: var(--fg-muted); --hs: var(--fg-strong); --ha: var(--accent-ink);
  transition: transform var(--d-ui) var(--ease-std), background-color var(--d-ui) var(--ease-std), border-color var(--d-ui) var(--ease-std); }
:root:not([data-theme="day"]) .hdr.is-over { background: transparent; border-color: transparent; color: var(--on-photo-strong);
  --hm: var(--on-photo-muted); --hs: var(--on-photo-strong); --ha: var(--on-photo-accent); }
html.hdr-hidden .hdr { transform: translateY(-100%); }
.hdr__row { height: 100%; display: flex; align-items: center; gap: 16px; }
.hdr__logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.hdr__logo img { height: 26px; width: auto; }
.logo--day { display: none !important; }
[data-theme="day"] .logo--day { display: block !important; }
[data-theme="day"] .logo--night { display: none !important; }
.hdr__nav { display: none; }
.nlink { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: inherit; white-space: nowrap; }
.nlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--ha, var(--accent-ink));
  transform: scaleX(0); transform-origin: left; transition: transform var(--d-ui) var(--ease-out); }
.nlink[aria-current]::after { transform: scaleX(1); }
.nlink:hover { color: var(--hs, var(--fg-strong)); }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr__app, .hdr__one, .hdr__pair, .hdr__cta { display: none !important; }
.theme, .lang { display: flex; align-items: center; gap: 14px; }
.theme button, .lang button, .theme-one { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 24px;
  justify-content: center; color: var(--hm, var(--fg-muted)); transition: color var(--d-hover) var(--ease-std); }
.theme button:hover, .lang button:hover, .theme-one:hover { color: var(--hs, var(--fg-strong)); }
.theme button[aria-pressed="true"], .lang button[aria-pressed="true"] { color: var(--hs, var(--fg-strong)); }
.theme button[aria-pressed="true"]::after, .lang button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 2px; background: var(--ha, var(--accent-ink)); }
.theme button[aria-pressed="true"] .hz { color: inherit; }
.theme-one > span { display: inline-flex; align-items: center; gap: 6px; }
.theme-one__night { display: none !important; }
[data-theme="day"] .theme-one__night { display: inline-flex !important; }
[data-theme="day"] .theme-one__day { display: none !important; }
.hdr__menu { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; color: inherit; }
.burger { position: relative; width: 18px; height: 10px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--d-ui) var(--ease-out), top var(--d-ui) var(--ease-out); }
.burger i:first-child { top: 0; } .burger i:last-child { top: 8.5px; }
[aria-expanded="true"] .burger i:first-child { top: 4.25px; transform: rotate(45deg); }
[aria-expanded="true"] .burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
@media (min-width: 640px) {
  .hdr__cta { display: inline-flex !important; }
  .hdr__tools { gap: 20px; }
}
@media (min-width: 768px) and (max-width: 1023px) { .hdr__pair { display: flex !important; } }
@media (min-width: 1024px) {
  .hdr__logo img { height: 30px; }
  .hdr__nav { display: flex; align-items: center; gap: 20px; margin-left: 32px; }
  .hdr__menu { display: none; }
  .hdr__one { display: inline-flex !important; }
}
@media (min-width: 1280px) { .hdr__nav { gap: 28px; margin-left: 48px; } .hdr__app { display: inline-flex !important; } .hdr__tools { gap: 24px; } }
@media (min-width: 1440px) { .hdr__one { display: none !important; } .hdr__pair { display: flex !important; } }

.mnav { position: fixed; inset: 0; z-index: 45; background: var(--bg-deep); padding-top: var(--hdr); overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path var(--d-ui) var(--ease-out), visibility 0s linear var(--d-ui); }
.mnav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path var(--d-ui) var(--ease-out), visibility 0s; }
.mnav__in { padding-block: var(--s-5) var(--s-8); }
.mnav__list li { border-bottom: 1px solid var(--rule); }
.mnav__list a { display: flex; align-items: center; min-height: 72px; text-decoration: none; color: var(--fg-strong); }
.mnav__list a[aria-current] { box-shadow: inset 3px 0 0 var(--accent-ink); padding-left: 16px; }
.mnav__act { margin-top: var(--s-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.mnav__rows { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); }
.hdr.is-open { background: var(--bg-deep) !important; border-color: var(--rule) !important; color: var(--fg-strong) !important;
  --hm: var(--fg-muted) !important; --hs: var(--fg-strong) !important; --ha: var(--accent-ink) !important; transform: none !important; }
@media (min-width: 1024px) { .mnav { display: none; } }

/* ============================================================== 7. HOME */
/* --- 7.1 hero (SCENE) --- */
.hero { position: relative; }
.hero__frame { height: 100svh; min-height: 600px; max-height: 1100px; color: var(--on-photo); }
[data-theme="day"] .hero__frame { height: calc(100svh - var(--hdr) - 2 * var(--print-inset)); }
.hero__photo { position: absolute; inset: 0; }
.hero__photo picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 55%; }
.hero__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--scrim-header), var(--scrim-hero); }
.hero__copy { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: var(--s-8); }
.hero__eyebrow { color: var(--on-photo-muted); }
.hero__h1 { margin-top: var(--s-4); color: var(--on-photo-strong); }
.hero__lead { margin-top: var(--s-5); max-width: 48ch; color: var(--on-photo); }
.hero__more > * { max-width: 755px; }
.hero__ctas { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.hero__ro { background: var(--bg-deep); }
.readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.readout > div { padding: 18px 16px 20px 0; border-top: 1px solid var(--rule); }
.readout dt { color: var(--fg-muted); }
.readout dd { margin-top: 6px; color: var(--fg); font-size: 18px; }
@media (min-width: 640px) {
  .readout { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .readout > div { padding: 22px 24px 24px; border-top: 0; border-left: 1px solid var(--rule); }
  .readout > div:first-child { padding-left: 0; border-left: 0; }
}
@media (min-width: 640px) and (max-aspect-ratio: 4/5) {
  .hero__frame::after { background: var(--scrim-header), var(--scrim-hero-m); }
  .hero__img { object-position: 50% 50%; }
}
@media (min-width: 1024px) and (min-height: 820px) {
  .hero__ro { position: absolute; inset-inline: var(--print-inset); bottom: calc(var(--print-inset) + 16px); z-index: 2; background: none; }
  .hero__ro .readout { border-top: 1px solid var(--on-photo-rule); }
  .hero__ro .readout > div { border-color: var(--on-photo-rule); }
  .hero__ro dt { color: var(--on-photo-muted); }
  .hero__ro dd { color: var(--on-photo); }
  .hero__copy { padding-bottom: calc(144px + var(--print-inset)); }   /* audit: clears the readout strip by 32 px in Night and Day */
}
@media (max-width: 639px) {
  .hero__frame { display: grid; height: auto; min-height: 0; max-height: none; margin: 0; border-radius: 0; overflow: visible; color: var(--fg); }
  [data-theme="day"] .hero__frame { height: auto; }
  .hero__frame::after { display: none; }
  .hero__photo { position: relative; grid-area: 1 / 1; height: 125vw; margin: var(--print-inset); border-radius: var(--print-radius); overflow: hidden;
    transition: margin var(--d-theme) var(--ease-std), border-radius var(--d-theme) var(--ease-std); }
  .hero__photo::after { content: ""; position: absolute; inset: 0; background: var(--scrim-header-m), var(--scrim-hero-m); }
  .hero__img { object-position: 50% 50%; }
  .hero__copy { display: contents; }
  .hero__head { grid-area: 1 / 1; align-self: end; z-index: 2; padding-bottom: calc(var(--print-inset) + var(--s-5)); }
  .hero__more { grid-area: 2 / 1; padding-block: var(--s-6) var(--s-7); }
  .hero__lead { margin-top: 0; color: var(--fg); }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .lnk--photo { color: var(--fg-strong); text-decoration-color: var(--rule-strong); }
  .hero__ro { background: var(--bg); }
}

/* --- 7.2 Come funziona intro (STATEMENT) --- */
.how__intro { min-height: 40svh; display: flex; flex-direction: column; justify-content: center; padding-block: var(--sec-y-s); }
.how__intro .t-h2 { margin-top: var(--s-5); }

/* --- 7.3 chapters: stacked fallback (default) --- */
.chapters { padding-bottom: var(--sec-y); }
.chapters__stage { max-width: 1440px; margin-inline: auto; padding-inline: var(--margin); display: grid; gap: var(--s-9); }
.chapters__track, .rail { display: none; }
.layer { position: relative; display: grid; gap: var(--s-5); }
.layer__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--print-radius-s); background: #0C1218; }
.layer__media picture, .layer__img { width: 100%; height: 100%; }
.layer__img { object-fit: cover; object-position: 50% 50%; }
.layer__media--dark .render { position: absolute; height: auto; }
.l3__aqua { width: 86%; left: 7%; top: 18%; }
.l3__hydra { width: 64%; left: 30%; top: 52%; }
.cap__n { color: var(--fg-strong); font-size: 4rem; }
.cap__k { margin-top: var(--s-4); }
.cap__h { margin-top: var(--s-2); }
.cap__p { margin-top: var(--s-4); max-width: 44ch; }
@media (min-width: 768px) {
  .layer { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
  .layer__media { grid-column: 1 / span 6; }
  .cap { grid-column: 8 / span 5; padding-bottom: var(--s-5); }
  .layer:nth-child(even) .layer__media { grid-column: 7 / span 6; grid-row: 1; }
  .layer:nth-child(even) .cap { grid-column: 1 / span 5; grid-row: 1; }
}
@media (min-width: 768px) and (max-height: 699px) { .layer__media { aspect-ratio: auto; height: 80svh; } }
/* --- pinned (html.pin: ≥1024 wide, ≥700 tall, motion allowed; set before paint and re-evaluated by JS) --- */
.pin .chapters { position: relative; height: calc(100svh + 4 * 70svh); padding: 0; }
.pin .chapters__stage { position: sticky; top: 0; height: 100svh; max-width: none; padding: 0; display: block; overflow: hidden; background: #0C1218;
  transition: margin var(--d-theme) var(--ease-std), border-radius var(--d-theme) var(--ease-std), top var(--d-theme) var(--ease-std); }
[data-theme="day"].pin .chapters__stage { top: var(--print-inset); height: calc(100svh - 2 * var(--print-inset)); margin-inline: var(--print-inset); border-radius: var(--print-radius); }
.pin .layer { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden;
  transition: opacity var(--d-xfade) var(--ease-out), visibility 0s linear var(--d-xfade); }
.pin .layer.is-active { opacity: 1; visibility: visible; transition: opacity var(--d-xfade) var(--ease-out), visibility 0s; z-index: 1; }
.pin .layer__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.pin .layer__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--scrim-caption); pointer-events: none; }
.pin .layer__media--dark::after { display: none; }
.pin .layer__img { transform: scale(1.06); transition: transform var(--d-push) var(--ease-out); }
.pin .layer.is-active .layer__img { transform: scale(1); }
.pin .layer--1 .layer__img { object-position: 50% 45%; }
.pin .layer__img--zoom { transform-origin: 80% 30%; transform: scale(1.3568); }
.pin .layer.is-active .layer__img--zoom { transform: scale(1.28); }
.pin .layer--3 .render { transform: translate(0, -50%) scale(1.04); transition: transform var(--d-push) var(--ease-out); }
.pin .layer--3.is-active .render { transform: translate(0, -50%); }
.pin .l3__aqua { width: 46%; left: 41%; top: 40%; }
.pin .l3__hydra { width: 34%; left: 57%; top: 66%; z-index: 1; }
.pin .cap { position: absolute; z-index: 2; left: var(--bleed); bottom: 64px; width: min(556px, 42vw); padding: 0; color: var(--on-photo); }
.pin .cap__n { color: var(--on-photo-strong); font-size: var(--fs-num); }
.pin .cap__k { color: var(--on-photo-muted); }
.pin .cap__h { color: var(--on-photo-strong); }
.pin .cap > * { opacity: 0; transform: translateY(24px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); }
.pin .layer.is-active .cap > * { opacity: 1; transform: none; }
.pin .layer.is-active .cap > :nth-child(2) { transition-delay: 80ms; }
.pin .layer.is-active .cap > :nth-child(3) { transition-delay: 160ms; }
.pin .layer.is-active .cap > :nth-child(4) { transition-delay: 240ms; }
.pin .rail { display: flex; flex-direction: column; justify-content: space-between; position: absolute; z-index: 3;
  left: max(4px, calc(var(--bleed) - 44px)); top: 13%; height: 26%; min-height: 176px; width: 36px; }   /* audit: rail ends above the caption numeral */
[data-theme="day"].pin .rail { left: max(4px, calc(var(--bleed) - 44px - var(--print-inset))); }
.rail__track { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--on-photo-rule); }
.rail__fill { position: absolute; left: -.5px; top: 0; width: 2px; height: 100%; background: var(--on-photo-accent); transform: scaleY(0); transform-origin: top; }
.rail__a { position: relative; display: flex; align-items: center; min-height: 44px; padding-left: 10px; text-decoration: none;
  font-family: var(--ff-display); font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--on-photo-muted);
  font-variant-numeric: tabular-nums; transition: color var(--d-ui) var(--ease-std); }
.rail__a::before { content: ""; position: absolute; inset: 0 -8px 0 -4px; }
.rail__a:hover { color: var(--on-photo-strong); }
.rail__a.is-active { color: var(--on-photo-accent); }

/* --- 7.4 Prodotti: INSERT flagships + INDEX --- */
.prod { padding-block: var(--sec-y); overflow-x: clip; }
.prod__head { display: grid; gap: var(--s-6); }
.prod__h .t-h2 { margin-top: var(--s-5); }
.prod__intro { max-width: 48ch; }
@media (min-width: 1024px) {
  .prod__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
  .prod__h { grid-column: 1 / span 6; } .prod__intro { grid-column: 8 / span 5; }
}
.flag { margin-top: var(--s-9); }
.flag__g { display: grid; gap: var(--s-6); }
.flag__media { position: relative; }
.flag__img { width: 100%; height: auto; transition: transform var(--d-hover) var(--ease-out); }
.flag--a .flag__media { order: -1; width: calc(100% + var(--margin) + 4vw); margin-right: calc(-1 * var(--margin) - 4vw); }
.flag--b .flag__media { width: calc(100% + var(--margin) + 4vw); margin-left: calc(-1 * var(--margin) - 4vw); }
.flag__t { margin-top: var(--s-3); }
.flag__figs { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-6); }
.flag__figs .t-label { margin-top: var(--s-2); }
.models { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
.models .t-body { max-width: 46ch; }
.dup { position: absolute; inset: 0; }
.flag:hover .flag--a .flag__img, .flag--a:hover .flag__img { transform: translateX(-8px); }
.flag--b:hover .flag__img { transform: translateX(8px); }
@media (min-width: 640px) { .flag__figs { flex-direction: row; gap: var(--s-7); } }
@media (min-width: 1024px) {
  .flag__g { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
  .flag--a .flag__text { grid-column: 1 / span 5; grid-row: 1; }
  .flag--a .flag__media { order: 0; grid-column: 6 / -1; grid-row: 1; justify-self: end; width: min(62vw, 900px);
    margin-right: calc(-1 * var(--bleed) - 6vw); }
  .flag--b .flag__media { grid-column: 1 / span 7; grid-row: 1; justify-self: start; width: min(58vw, 840px); margin-left: calc(-1 * var(--bleed)); }
  .flag--b .flag__text { grid-column: 8 / span 5; grid-row: 1; }
}
.idx { margin-top: var(--s-9); }
.irow { display: grid; gap: var(--s-4); padding-block: 32px 40px; border-top: 1px solid var(--rule-strong); }
.irow__name .t-title { margin-top: var(--s-3); }
.irow__body { display: grid; gap: var(--s-4); align-content: start; }
.irow__body .t-body { max-width: 52ch; }
.irow__data { display: block; color: var(--fg-strong); margin-bottom: var(--s-1); }
.irow__figs { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); }
.irow__figs .t-label { margin-top: var(--s-2); }
.irow__fig { margin-bottom: var(--s-2); }
.irow__thumb { display: block; order: -1; width: 60%; transition: transform var(--d-hover) var(--ease-out); }
.irow__thumb--scene { width: 50%; }
/* masked renders are never letterboxed (object-fit) — the mask is sized to the element box, so the box must equal the picture */
.irow__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 160px; }
.irow__scene { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--print-radius-s); }
.irow:hover .irow__thumb { transform: translateX(-8px); }
.irow:hover .tlink__arr .arr, .irow:hover .mlink .arr { transform: translateX(4px); }
.idx__last { padding-top: var(--s-6); border-top: 1px solid var(--rule-strong); }
@media (min-width: 640px) {
  .irow__thumb { width: 40%; } .irow__thumb--scene { width: 120px; }
}
@media (min-width: 1024px) {
  .irow { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .irow__name { grid-column: 1 / span 4; }
  .irow__body { grid-column: 5 / span 5; padding-top: var(--s-5); }
  .irow__thumb { order: 0; grid-column: 10 / span 3; justify-self: end; width: 100%; max-width: 280px; }
  .irow__thumb--scene { width: 120px; }
  .irow__img { margin-left: auto; }
}

/* --- 7.5 Soluzioni: PANELS --- */
.sol { background: var(--bg-alt); padding-block: var(--sec-y); }
.sol__head .t-h2 { margin-top: var(--s-5); }
.tabs { position: relative; margin-top: var(--s-8); display: flex; flex-direction: column; }
.tab { min-height: 56px; padding: 12px 0 12px 18px; text-align: left; color: var(--fg-muted); border-top: 1px solid var(--rule);
  transition: color var(--d-hover) var(--ease-std); }
.tab:last-of-type { border-bottom: 1px solid var(--rule); }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { color: var(--fg-strong); }
.tab-ind { position: absolute; left: 0; top: 0; width: 3px; height: 56px; background: var(--accent-ink);
  transition: transform var(--d-ui) var(--ease-out), width var(--d-ui) var(--ease-out), height var(--d-ui) var(--ease-out); }
@media (min-width: 768px) {
  .tabs { flex-direction: row; gap: var(--s-7); border-bottom: 1px solid var(--rule); }
  .tab { min-height: 0; padding: 0 0 18px; border: 0 !important; white-space: nowrap; }
  .tab-ind { top: auto; bottom: -1px; height: 3px; width: 0; }
}
.panel { display: grid; gap: var(--s-6); padding-top: var(--s-8); }
.panel:not([hidden]) { animation: xfade var(--d-ui) var(--ease-std); }
.panel__fig { aspect-ratio: 16 / 9; }
.panel__fig img { width: 100%; height: 100%; object-fit: cover; }
.panel__text .t-body { margin-top: var(--s-5); max-width: 62ch; }
.cfg { margin-top: var(--s-6); }
.cfg > div { border-top: 1px solid var(--rule); padding-block: 16px; }
.cfg dd { margin-top: 6px; color: var(--fg-strong); }
.sol__cta { margin-top: var(--s-8); }
@media (min-width: 1024px) {
  .panel { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .panel__fig { grid-column: 1 / span 7; }
  .panel__text { grid-column: 8 / span 5; }
}
@keyframes xfade { from { opacity: 0; } to { opacity: 1; } }

/* --- 7.6 Rivenditori: STATEMENT --- */
.deal { padding-block: var(--sec-y); }
.deal__h .t-h2 { margin-top: var(--s-5); }
.deal__b { margin-top: var(--s-7); }
.deal__b .t-statement { max-width: 34ch; }
.deal__mk { margin-top: var(--s-6); color: var(--fg); }
.deal__b .btn { margin-top: var(--s-6); }
@media (min-width: 1024px) {
  .deal__g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .deal__h { grid-column: 1 / span 7; }
  .deal__b { grid-column: 7 / -1; margin-top: var(--s-8); }
}

/* --- 7.7 Supporto: REGISTER --- */
.sup { background: var(--bg-alt); padding-block: var(--sec-y); }
.sup__h .t-h2 { margin-top: var(--s-5); }
.sup__p { margin-top: var(--s-6); max-width: 62ch; }
.sup__r { margin-top: var(--s-8); }
.reg { border-top: 1px solid var(--rule); }
.reg li { display: flex; align-items: center; gap: var(--s-4); min-height: 64px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.reg__n { color: var(--fg-muted); flex: none; min-width: 2ch; }
.reg__t { color: var(--fg-strong); }
.reg__s { margin-left: auto; flex: none; color: var(--fg-muted); }
.reg li > .lnk { margin-left: auto; }
.sup__blocks { margin-top: var(--s-8); display: grid; gap: var(--s-7); }
.sup__blocks .t-body { margin-top: var(--s-3); }
@media (min-width: 640px) {
  .reg--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
  .sup__blocks { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
}
@media (min-width: 1024px) {
  .sup__g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .sup__h { grid-column: 1 / span 5; }
  .sup__r { grid-column: 7 / -1; margin-top: 0; padding-top: var(--s-2); }
}

/* --- 7.8 pause strip --- */
.pause { height: min(42.86vw, 70svh); }
.pause picture, .pause__img { width: 100%; height: 100%; }
.pause__img { object-fit: cover; object-position: 50% 38%; }
@media (max-width: 639px) { .pause { height: auto; aspect-ratio: 4 / 5; } .pause__img { object-position: 50% 50%; } }

/* --- 7.9 Contatti: SPLIT --- */
.con { background: var(--bg-deep); padding-block: var(--sec-y); }
.con__h .t-h2 { margin-top: var(--s-5); }
.con__h .t-lead { margin-top: var(--s-6); max-width: 40ch; }
.con__h p:last-child { margin-top: var(--s-4); }
.form { margin-top: var(--s-8); display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .con__g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .con__h { grid-column: 1 / span 5; } .form { grid-column: 7 / -1; margin-top: 0; }
}
.field { display: grid; gap: 8px; align-content: start; }
.field input, .field select, .field textarea { width: 100%; height: 56px; padding: 0 16px; background: var(--surface); color: var(--fg-strong);
  border: 1px solid var(--field); border-radius: 2px; font-size: var(--fs-body); transition: border-color var(--d-hover) var(--ease-std), box-shadow var(--d-hover); }
.field textarea { height: auto; min-height: calc(3 * 1.62em + 28px); padding: 14px 16px; line-height: 1.62; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238D99A5' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; }
[data-theme="day"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2356626C' stroke-width='1.5'/%3E%3C/svg%3E"); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-edge); box-shadow: inset 0 0 0 1px var(--accent-edge); }
.field [aria-invalid="true"] { border-left: 2px solid var(--fg-strong); }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding-block: 11px; margin-block: -11px; }   /* audit: one-line consent rows reach a 44 px tap height, layout unchanged */
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; margin-top: 1px; border: 1px solid var(--field);
  border-radius: 2px; background: var(--surface) center / 14px no-repeat; cursor: pointer; }
.check input:checked { background-color: var(--accent); border-color: var(--accent-edge);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%230C1218' stroke-width='2'/%3E%3C/svg%3E"); }
.check input[aria-invalid="true"] { border: 2px solid var(--fg-strong); }
.form__go { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); padding-top: var(--s-2); }
#formMsg { color: var(--fg); }
@media (max-width: 639px) { .form__go .btn { width: 100%; } }

/* --- footer --- */
.ftr { background: var(--bg-deep); border-top: 1px solid var(--rule); padding-block: var(--s-8) var(--s-7); }
.ftr__row { display: grid; gap: var(--s-6); }
.ftr__logo { display: inline-flex; min-height: 44px; align-items: center; }
.ftr__logo img { height: 36px; width: auto; }
.ftr__nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); color: var(--fg-strong); }
.ftr__contact { display: grid; justify-items: start; }
.ftr__contact .nlink { color: var(--fg-strong); }
.ftr__legal { margin-top: var(--s-8); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-7); color: var(--fg-muted); }
@media (min-width: 768px) {
  .ftr__row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .ftr__logo { grid-column: 1 / span 4; align-self: start; }
  .ftr__nav { grid-column: 6 / span 3; grid-template-columns: 1fr; }
  .ftr__contact { grid-column: 9 / span 4; align-content: start; }
}

/* ============================================================== 8. PRODUCT PAGES (§7) */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-strong); text-decoration: underline 1px;
  text-decoration-color: var(--rule-strong); text-underline-offset: 5px; }
.crumbs__sep { margin-left: 10px; }
.ph { position: relative; }
.ph__name { margin: 0; }
.ph__sub { max-width: 48ch; }
.ph__ctas { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.ph__photo { position: absolute; inset: 0; }
.ph__photo picture, .ph__img { width: 100%; height: 100%; }
.ph__img { object-fit: cover; }
.ph__render { position: absolute; z-index: 3; height: auto; pointer-events: none; }

/* figures (§8.6) */
.figs > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-2); }
.figs dt { color: var(--fg-muted); }
.figs--photo { display: flex; margin-top: var(--s-7); }
.figs--photo > div { padding-inline: 24px; border-left: 1px solid var(--on-photo-rule); }
.figs--photo > div:first-child { padding-left: 0; border-left: 0; }
.figs--photo dd { color: var(--on-photo-strong); }
.figs--photo .unit, .figs--photo dt { color: var(--on-photo-muted); }
.figs--photo dt { max-width: 20ch; text-wrap: balance; }   /* audit: two-line labels keep the S-hero figure row clear of the hanging render */
.figs--rows > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: var(--s-5);
  padding-block: 14px 16px; border-top: 1px solid var(--rule); }
.figs--rows > div:last-child { border-bottom: 1px solid var(--rule); }
.figs--rows dt { text-align: right; max-width: 22ch; }

/* --- S: Scene --- */
.ph--s .ph__frame { height: 88svh; min-height: 620px; max-height: 980px; color: var(--on-photo); }
[data-theme="day"] .ph--s .ph__frame { height: calc(88svh - var(--hdr)); }
.ph--s .ph__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--scrim-header), var(--scrim-name); }
.ph--s .ph__copy { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: 16px; }
.ph--s .ph__head > *, .ph--s .ph__more > *, .ph--s .ph__figs > * { max-width: 755px; }
.ph--s .crumbs, .ph--s .crumbs li { color: var(--on-photo); }   /* audit: muted measured 3.6–4.1:1 on the lit cab pixels (HYDRA 1024, ARIS 200 1440) */
.ph--s .crumbs a { color: var(--on-photo-strong); text-decoration-color: var(--on-photo-rule); }
.ph--s .ph__name { color: var(--on-photo-strong); margin-top: var(--s-3); }
.ph--s .ph__sub { margin-top: var(--s-5); color: var(--on-photo); }
.ph--s .ph__ctas .lnk { color: var(--on-photo-strong); text-decoration-color: var(--on-photo-rule); }
.ph--s .ph__render { width: var(--rw); right: calc((100% - min(100%, 1440px)) / 2 + var(--margin));
  bottom: calc(var(--print-inset) - var(--rw) * var(--ra) * var(--hang)); }
.ph--s, .ph-after--s { --rw: min(38vw, 600px); --hang: .32; }
.ph--wide, .ph-after--s[data-wide] { --rw: min(46vw, 720px); --hang: .40; }
.ph-after--s { padding-top: calc(var(--rw) * var(--ra) * var(--hang)); }
@media (min-width: 1024px) and (max-width: 1279px) { .ph--wide, .ph-after--s[data-wide] { --rw: 42vw; } .figs--photo dt { max-width: 16ch; } }   /* audit: AQUA/HYDRA render clears the third figure at 1024 */
.ph-after--s[data-wide] { padding-bottom: var(--s-7); }
.ph-after__g { display: grid; }
.msel { padding-top: var(--s-5); display: grid; gap: var(--s-5); }
@media (min-width: 1024px) {
  .ph-after__g { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .msel { grid-column: 8 / -1; }
}
@media (min-width: 640px) and (max-width: 1023px) {   /* audit: tablet: the render crosses the photo edge by a fixed 40 px; a three-figure row is lifted just clear of it */
  .ph--s .ph__render { bottom: calc(40px - var(--rw) * var(--ra)); }
  .ph-after--s, .ph-after--s[data-wide] { padding-top: max(0px, calc(var(--rw) * var(--ra) - 40px)); }
  .ph--s:has(.figs--photo > :nth-child(3)) .ph__copy { padding-bottom: 52px; }
}
@media (min-width: 640px) and (max-aspect-ratio: 4/5) {
  .ph--s .ph__frame::after { background: var(--scrim-header), var(--scrim-hero-m),   /* audit: + left wash: breadcrumb measured 2.2–3.6:1 over the lit cab screen at 768–834 portrait */
    linear-gradient(90deg, rgb(var(--photo-floor) / .62) 0%, rgb(var(--photo-floor) / .30) 44%, rgb(var(--photo-floor) / 0) 70%); }
  .ph--s .ph__img { object-position: 50% 50% !important; }
}
@media (max-width: 639px) {
  .ph--s, .ph-after--s, .ph-after--s[data-wide], .ph--wide { --rw: calc((100vw - 2 * var(--margin)) * .64); --hang: .65; }
  .ph--s .ph__frame { display: grid; height: auto !important; min-height: 0; max-height: none; margin: 0; border-radius: 0; overflow: visible; color: var(--fg); }
  .ph--s .ph__frame::after { display: none; }
  .ph--s .ph__photo { position: relative; grid-area: 1 / 1; height: 125vw; margin: var(--print-inset); border-radius: var(--print-radius); overflow: hidden; }
  .ph--s .ph__photo::after { content: ""; position: absolute; inset: 0; background: var(--scrim-header-m), var(--scrim-hero-m); }
  .ph--s .ph__img { object-position: 50% 50% !important; }
  .ph--s .ph__copy { display: contents; }
  .ph--s .ph__head { grid-area: 1 / 1; align-self: end; z-index: 2; padding-bottom: calc(var(--print-inset) + var(--rw) * var(--ra) * (1 - var(--hang)) + 14px); }
  .ph--s .ph__more { grid-area: 2 / 1; padding-top: calc(var(--rw) * var(--ra) * var(--hang) + var(--s-5)); }
  .ph--s .ph__figs { grid-area: 3 / 1; padding-top: var(--s-6); }
  .ph--s .ph__sub { margin-top: 0; color: var(--fg); }
  .ph--s .ph__ctas .lnk { color: var(--fg-strong); text-decoration-color: var(--rule-strong); }
  .ph--s .ph__render { top: calc(125vw + var(--print-inset) - var(--rw) * var(--ra) * (1 - var(--hang))); bottom: auto; right: var(--margin); }
  .ph-after--s { padding-top: 0; }
  .figs--photo { display: block; margin-top: 0; }
  .figs--photo > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: var(--s-5); padding: 14px 0 16px;
    border-left: 0; border-top: 1px solid var(--rule); }
  .figs--photo > div:last-child { border-bottom: 1px solid var(--rule); }
  .figs--photo dd { color: var(--fg-strong); }
  .figs--photo .unit, .figs--photo dt { color: var(--fg-muted); }
  .figs--photo dt { text-align: right; max-width: 20ch; }
}

/* --- F: Frame --- */
.ph--f .ph__frame { height: 72svh; min-height: 480px; max-height: 760px; }
.ph--f .ph__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--scrim-header), var(--scrim-edge); }
.ph--f .ph__name { position: relative; z-index: 2; margin-top: -.38em; color: var(--fg-strong); }
[data-theme="day"] .ph--f .ph__name { margin-top: var(--s-5); }
.ph--f .ph__below { padding-bottom: var(--s-8); }
.ph--f .ph__g { display: grid; gap: var(--s-6); margin-top: var(--s-5); }
.ph--f .crumbs { color: var(--fg-muted); }
.ph--f .ph__sub { margin-top: var(--s-3); color: var(--fg); }
@media (min-width: 1024px) {
  .ph--f .ph__g { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .ph--f .ph__l { grid-column: 1 / span 7; } .ph--f .ph__r { grid-column: 9 / span 4; padding-top: var(--s-3); }
}
@media (max-width: 639px), (max-aspect-ratio: 4/5) {
  .ph--f .ph__frame { height: auto; min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .ph--f .ph__img { object-position: 50% 50% !important; }
}
@media (max-width: 639px) { .ph--f .ph__frame { aspect-ratio: auto; height: 125vw; } }

/* --- P: Poster --- */
.ph--p { background: var(--bg); --rw: min(56vw, 860px); }
.ph--p .ph__inner { position: relative; min-height: 88svh; padding-top: calc(var(--hdr) + var(--s-5)); padding-bottom: var(--s-8); display: flex; flex-direction: column; }
.ph--p .ph__namebox { position: relative; margin-top: 12svh; font-size: var(--fs-name); }
.ph--p .ph__name { font-size: 1em; position: relative; z-index: 1; }
.ph--p .ph__render { position: relative; z-index: 3; width: 88%; margin: -.24em 0 0 auto; font-size: inherit; }
.ph--p .ph__rest { margin-top: var(--s-6); }
.ph--p .ph__sub { color: var(--fg); }
.ph--p .figs--rows { margin-top: var(--s-7); }
.ph-after--p { background: var(--bg-alt); height: 0; }
@media (min-width: 1024px) {
  .ph--p .ph__render { position: absolute; width: var(--rw); max-width: none; margin: 0; left: calc((100% + var(--gutter)) * 5 / 12); top: .31em; }
  .ph--p .ph__rest { width: calc((100% + var(--gutter)) * 5 / 12 - var(--gutter)); margin-top: var(--s-7); }
  .ph--p .figs--rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); column-gap: var(--gutter); }
  .ph--p .figs--rows > div { flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: var(--s-2); border-bottom: 0; }
  .ph--p .figs--rows dt { text-align: left; }
  .ph-after--p { height: var(--hangpx, calc(var(--rw) * var(--ra) * .24)); }
}

/* --- model selector (§7.2) --- */
.seg legend { margin-bottom: var(--s-2); }
.seg__opts { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.seg label { position: relative; display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--fg-muted);
  transition: color var(--d-hover) var(--ease-std); }
.seg label:hover { color: var(--fg); }
.seg label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--accent-ink);
  transform: scaleX(0); transform-origin: left; transition: transform var(--d-ui) var(--ease-out); }
.seg label:has(input:checked) { color: var(--fg-strong); }
.seg label:has(input:checked)::after { transform: scaleX(1); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent-edge); outline-offset: 3px; }
.vrow { display: none; }
.vrow.is-on { display: block; animation: xfade var(--d-ui) var(--ease-std); }
.vrow__n { display: block; color: var(--fg-strong); }
.vrow__l { display: block; margin-top: 4px; max-width: 46ch; }
.ph__render.is-swapping { opacity: 0; }
.ph__render { transition: opacity 250ms var(--ease-std); }

/* --- sticky sub-nav (§7.3) --- */
.subnav { position: sticky; top: var(--hdr); z-index: 30; background: var(--bg); border-block: 1px solid var(--rule);
  transition: top var(--d-ui) var(--ease-std), background-color var(--d-ui) var(--ease-std); }
html.hdr-hidden .subnav { top: 0; }
.subnav__in { height: 56px; display: flex; align-items: center; gap: var(--s-5); }
.subnav__list { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 28px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  padding-right: 24px; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__a { position: relative; flex: none; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; color: var(--fg-muted);
  text-decoration: none; scroll-snap-align: start; transition: color var(--d-hover) var(--ease-std); }
.subnav__a:hover { color: var(--fg); }
.subnav__a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent-ink);
  transform: scaleX(0); transform-origin: left; transition: transform var(--d-ui) var(--ease-out); }
.subnav__a[aria-current] { color: var(--fg-strong); }
.subnav__a[aria-current]::after { transform: scaleX(1); }
.subnav__cta { display: none; }
@media (min-width: 1024px) { .subnav__cta { display: inline-flex; } }

/* --- Panoramica (STATEMENT) --- */
.pov { background: var(--bg-alt); padding-block: var(--sec-y); }
.pov__t { margin-top: var(--s-5); max-width: 900px; }

/* --- Caratteristiche: CHAPTERS-lite (§7.5) --- */
.ft { padding-block: var(--sec-y); }
.ft__g { margin-top: var(--s-7); }
.ft__list { display: grid; gap: var(--s-8); }
.ft__i { display: grid; align-content: start; }
.ft__pic { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--print-radius-s); background: var(--bg-alt); margin-bottom: var(--s-5); }
.ft__pic img, .ft__layer img { width: 100%; height: 100%; object-fit: cover; }
.ft__pic--render, .ft__layer--render { display: flex; align-items: center; justify-content: center; }
.ft__pic--render img, .ft__layer--render img { width: auto; height: auto; max-width: 84%; max-height: 84%; }
.ft__n { color: var(--fg-muted); }
.ft__t { margin-top: var(--s-2); }
.ft__x { margin-top: var(--s-3); max-width: 52ch; color: var(--fg); }
.ft__stage { display: none; }
.pin .ft__g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.pin .ft__list { grid-column: 1 / span 5; gap: 0; }
.pin .ft__i { min-height: 46svh; padding: 24px 0 24px 24px; border-left: 2px solid var(--rule); transition: border-color var(--d-ui) var(--ease-std); }
.pin .ft__i.is-on { border-left-color: var(--accent-ink); }
.pin .ft__i .ft__t { color: var(--fg-muted); transition: color var(--d-ui) var(--ease-std); }
.pin .ft__i.is-on .ft__t { color: var(--fg-strong); }
.pin .ft__i.is-on .ft__n { color: var(--accent-ink); }
.pin .ft__pic { display: none; }
.pin .ft__stage { display: block; position: sticky; grid-column: 6 / -1; top: calc(var(--hdr) + 56px + 24px); aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: var(--print-radius-s); background: var(--bg-alt); transition: top var(--d-ui) var(--ease-std); }
html.hdr-hidden.pin .ft__stage { top: calc(56px + 24px); }
.ft__layer { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms var(--ease-out); }
.ft__layer.is-on { opacity: 1; }

/* --- Specifiche (REGISTER, two tiers) + Confronto (§7.6) --- */
.spx { background: var(--bg-alt); padding-block: var(--sec-y); }
.spx__t { margin-top: var(--s-6); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: baseline; padding: 16px 0; border-top: 1px solid var(--rule); }
.spec tbody:last-of-type tr:last-child th, .spec tbody:last-of-type tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec th { font-weight: 400; color: var(--fg); padding-right: var(--gutter); }
.spec td { font-size: var(--fs-data); font-weight: 500; letter-spacing: .01em; color: var(--fg-strong); font-variant-numeric: tabular-nums lining-nums; }
@media (min-width: 640px) { .spec th { width: calc(5 / 12 * 100%); } .spec tr { height: 56px; } }
@media (max-width: 639px) {
  .spec tr { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }
  .spec th, .spec td { display: block; padding: 0; border: 0 !important; }
  .spec th { font-family: var(--ff-display); font-size: var(--fs-label); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-muted); line-height: 1.3; }
  .spec td { margin-top: 6px; }
  .spec { border-bottom: 1px solid var(--rule); }
}
.spec__more:not([hidden]) tr { animation: rowin 420ms var(--ease-std) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.spec__tog { margin-top: var(--s-5); }
.spec__tog .when-open, .spec__tog[aria-expanded="true"] .when-closed { display: none; }
.spec__tog[aria-expanded="true"] .when-open { display: inline; }
.spec__tog[aria-expanded="true"] .arr--down { transform: rotate(-90deg); }
.cmps { margin-top: var(--s-9); }
.cmp-wrap { margin-top: var(--s-6); }
.cmp { width: 100%; border-collapse: collapse; margin-top: var(--s-4); }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-top: 1px solid var(--rule); }
.cmp thead th, .cmp thead td { border-top: 0; font-family: var(--ff-text); font-size: var(--fs-data); font-weight: 500; color: var(--fg); padding-top: 12px; }
.cmp thead th { box-shadow: inset 0 2px 0 transparent; transition: box-shadow var(--d-ui) var(--ease-std), color var(--d-ui); }
.cmp thead th.is-sel { box-shadow: inset 0 2px 0 var(--accent-ink); color: var(--fg-strong); }
.cmp tbody th { font-weight: 400; color: var(--fg-muted); width: 28%; }
.cmp td { color: var(--fg); transition: color var(--d-ui); }
.cmp td.is-sel { color: var(--fg-strong); }
.cmp tbody tr:last-child > * { border-bottom: 1px solid var(--rule); }
.cmp__k { display: none; }
@media (max-width: 767px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tr { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }
  .cmp th, .cmp td { display: block; padding: 3px 0; border: 0 !important; width: auto !important; }
  .cmp tbody th { color: var(--fg-strong); font-weight: 600; margin-bottom: 4px; }
  .cmp td.is-sel { box-shadow: inset 2px 0 0 var(--accent-ink); padding-left: 10px; }
  .cmp__k { display: inline; color: var(--fg-muted); }
  .cmp__k::after { content: ": "; }
}

/* --- Equipaggiamento (INSERT) (§7.7) --- */
.eq { padding-block: var(--sec-y); overflow-x: clip; }
.eq__g { display: grid; gap: var(--s-7); }
.eq__fig--render .eq__img { width: 80%; height: auto; }
.eq__fig--macro .eq__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--print-radius-s); }
.pk { margin-top: var(--s-7); }
.pk__list { margin-top: var(--s-3); }
.pk__list li { padding-block: 14px; border-top: 1px solid var(--rule); }
.pk__list li:last-child { border-bottom: 1px solid var(--rule); }
.pk__list .t-body { color: var(--fg); }
.pk__list--req li { display: grid; gap: 4px; }
.pk__x { color: var(--fg); }
@media (min-width: 1024px) {
  .eq__g { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .eq__fig { grid-column: 1 / span 5; margin-left: calc(-1 * var(--bleed)); position: sticky; top: calc(var(--hdr) + 56px + 48px); }
  .eq__fig--render .eq__img { width: 100%; }
  .eq__fig--macro .eq__img { border-radius: 0 var(--print-radius-s) var(--print-radius-s) 0; }
  .eq__r { grid-column: 7 / -1; }
  .eq--nofig .eq__r { grid-column: 1 / span 8; }
}

/* --- Lavora con (INDEX) --- */
.ww { background: var(--bg-alt); padding-block: var(--sec-y); }
.ww .idx { margin-top: var(--s-6); }
.ww .irow:last-child { border-bottom: 1px solid var(--rule-strong); }

/* --- FAQ + Documentazione (§7.9) --- */
.fd { padding-block: var(--sec-y); }
.fd__g { display: grid; gap: var(--s-9); }
.faq { margin-top: var(--s-5); border-bottom: 1px solid var(--rule); }
.faq__i { margin-inline: -16px; padding-inline: 16px; transition: background-color var(--d-hover) var(--ease-std);
  background: linear-gradient(var(--rule), var(--rule)) 16px 0 / calc(100% - 32px) 1px no-repeat; }   /* audit: hairline on the column edge, not 16 px outside it */
.faq__i[open] { background-color: var(--surface); }
.faq__i summary { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-5); padding-block: 20px; min-height: 44px; cursor: pointer; list-style: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__x { position: relative; flex: none; width: 16px; height: 16px; margin-top: 6px; }
.faq__x::before, .faq__x::after { content: ""; position: absolute; left: 0; right: 0; top: 7.25px; height: 1.5px; background: var(--fg-strong);
  transition: transform var(--d-hover) var(--ease-std); }
.faq__x::after { transform: rotate(90deg); }
.faq__i[open] .faq__x::after { transform: rotate(0deg); }
.faq__a { padding-bottom: var(--s-5); max-width: 62ch; color: var(--fg); }
.reg--docs { margin-top: var(--s-5); }
@media (min-width: 1024px) {
  .fd__g { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .fd__faq { grid-column: 1 / span 7; } .fd__docs { grid-column: 9 / span 4; }
}

/* --- CTA split (§7.10) --- */
.pcta { background: var(--bg-deep); overflow-x: clip; }
.pcta__g { max-width: 1440px; margin-inline: auto; display: grid; }
.pcta__frame { position: relative; aspect-ratio: 4 / 5; margin: 0; border-radius: var(--print-radius-s); }
[data-theme="day"] .pcta__frame { margin: var(--print-inset) var(--print-inset) 0; }
.pcta__frame picture, .pcta__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcta__img { object-fit: cover; }
.pcta__text { padding: var(--s-8) var(--margin) var(--sec-y-s); }
.pcta__text .t-lead { margin-top: var(--s-5); max-width: 40ch; }
.pcta__text .btn { margin-top: var(--s-6); }
@media (min-width: 640px) and (max-width: 1023px) { .pcta__frame { aspect-ratio: 16 / 10; } }
@media (max-width: 1023px) { .pcta__img { object-position: 50% 50% !important; } }
@media (min-width: 1024px) {
  .pcta__g { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-left: var(--margin); align-items: center; }
  .pcta__text { grid-column: 1 / span 5; grid-row: 1; padding: var(--sec-y-s) 0; }
  .pcta__frame { grid-column: 6 / -1; grid-row: 1; aspect-ratio: 4 / 3; margin-right: min(0px, (1440px - 100vw) / 2);
    border-radius: var(--print-radius) 0 0 var(--print-radius); }
  [data-theme="day"] .pcta__frame { margin: var(--print-inset) min(0px, (1440px - 100vw) / 2) var(--print-inset) 0; }
}

/* --- prev / next (§7.11) --- */
.pn { border-top: 1px solid var(--rule); }
.pn__g { display: grid; }
.pn__c { display: flex; align-items: center; gap: var(--s-5); padding-block: var(--s-7); color: inherit; text-decoration: none; min-width: 0; }
.pn__c + .pn__c { border-top: 1px solid var(--rule); }
.pn__pic { flex: 0 0 38%; display: block; transition: transform var(--d-hover) var(--ease-out); }
.pn__pic--scene { flex: 0 0 96px; }
.pn__img { display: block; width: auto; height: auto; max-width: 100%; max-height: 220px; }
.pn__c--next .pn__img { margin-left: auto; }
.pn__scene { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: var(--print-radius-s); }
.pn__txt { display: grid; gap: var(--s-2); min-width: 0; }
.pn__l { display: inline-flex; align-items: center; gap: 10px; transition: color var(--d-hover) var(--ease-std); }
.pn__t { font-size: calc(var(--fs-title) * .8); }
.pn__c:hover .pn__l { color: var(--fg); }
.pn__c--prev:hover .pn__pic { transform: translateX(8px); }
.pn__c--next:hover .pn__pic { transform: translateX(-8px); }
.pn__c--next { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.pn__c--next .pn__txt { justify-items: end; }
@media (min-width: 640px) {
  .pn__g { grid-template-columns: 1fr 1fr; }
  .pn__c + .pn__c { border-top: 0; border-left: 1px solid var(--rule); }
  .pn__c--prev { padding-right: var(--s-6); }
  .pn__c--next { grid-column: 2; padding-left: var(--s-6); }
  .pn__pic--scene { flex-basis: 120px; }
}

/* ============================================================== 9. MOTION (§9) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity var(--d-reveal) var(--ease-out), transform var(--d-reveal) var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }
.js .slide-r .render, .js .slide-l .render { opacity: 0; transition: opacity var(--d-xfade) var(--ease-out), transform var(--d-xfade) var(--ease-out); }
.js .slide-r .render { transform: translateX(-48px); }
.js .slide-l .render { transform: translateX(48px); }
.js .slide-r.in .render, .js .slide-l.in .render { opacity: 1; transform: none; }
.js .flag--a:hover .slide-r.in .render { transform: translateX(-8px); }
.js .flag--b:hover .slide-l.in .render { transform: translateX(8px); }
.js .hero__img { opacity: 0; transition: opacity 600ms var(--ease-out); }
.js .hero.is-loaded .hero__img { opacity: 1; }
.js .hero-in { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .is-loaded .hero-in { opacity: 1; transform: none; }
.js .is-loaded .hero__h1 { transition-delay: 150ms; }
.js .is-loaded .hero__lead { transition-delay: 240ms; }
.js .is-loaded .hero__ctas { transition-delay: 330ms; }
.js .hero__ro { opacity: 0; transition: opacity 400ms var(--ease-out) 300ms; }
.js .hero.is-loaded .hero__ro { opacity: 1; }
.js .ph .hero-in { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .ph.is-loaded .hero-in { opacity: 1; transform: none; }
.js .ph .rise { opacity: 0; translate: 0 40px; transition: opacity var(--d-xfade) var(--ease-out) 200ms, translate var(--d-xfade) var(--ease-out) 200ms; }
.js .ph.is-loaded .rise { opacity: 1; translate: 0 0; }
.js .ph .rise-name { opacity: 0; translate: 0 24px; transition: opacity 700ms var(--ease-out), translate 700ms var(--ease-out); }
.js .ph.is-loaded .rise-name { opacity: 1; translate: 0 0; }
.js .push img { transform: scale(1.06); transition: transform var(--d-push) var(--ease-out); }
.js .push.in img { transform: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }
html.theme-swap .hdr, html.theme-swap .ftr, html.theme-swap section, html.theme-swap .subnav { transition: background-color var(--d-ui) var(--ease-std), color var(--d-ui) var(--ease-std); }

/* ============================================================== 10. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
    transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .hero-in, .js .hero__img, .js .hero__ro, .js .slide-r .render, .js .slide-l .render, .js .ph .rise, .js .ph .rise-name,
  .js .ph .hero-in { opacity: 1 !important; transform: none !important; translate: none !important; }
  .js .push img { transform: none !important; }
}
