/* Project50 Ventures — site styles
   One motif: the notch cut into the foot of the P50 "P" (a right triangle,
   right angle top-left). It appears as the hero notch, image corners,
   button corners and list markers. Square corners everywhere else. */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --ground: #030405;
  --surface: #0c0f13;
  --surface-2: #151a20;
  --surface-3: #1d242c;
  --ink: #eef2f5;
  --muted: #a6b0ba;
  --accent: #0a8fe5;      /* P50 blue, sampled from the approved mark */
  --accent-hi: #19c4fa;   /* P50 cyan */
  --on-accent: #02060a;
  --focus: #19c4fa;

  /* Heating Decoded tile colours, sampled from the approved header */
  --hd-navy: #083155;
  --hd-teal: #017b87;
  --hd-blue: #0074cb;
  --hd-orange: #e4571b;

  --font-text: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-hd: "Archivo", "Arial Narrow", system-ui, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-statement: var(--step-statement);
  --step-head: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  --step-display: clamp(2.75rem, 1.4rem + 5vw, 6rem);

  --margin: clamp(16px, 4.2vw, 64px);
  --max: 1440px;
  --gap-section: clamp(96px, 12vw, 208px);
  --notch: clamp(84px, 13vw, 232px);
  --cut: clamp(18px, 2.4vw, 40px);
  --cut-sm: 12px;
  --header-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-hd,
.band-hd {
  color-scheme: light;
  --ground: #f4f6f8;
  --surface: #e8ecf0;
  --surface-2: #dde3e9;
  --surface-3: #cfd7df;
  --ink: #0f1418;
  --muted: #46525d;
  --accent: var(--hd-blue);
  --accent-hi: #005ba3;
  --on-accent: #ffffff;
  --focus: #0074cb;
}
.theme-hd, .band-hd { color: var(--ink); background-color: var(--ground); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.06em; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent-hi); color: var(--on-accent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link {
  position: absolute; left: var(--margin); top: -100px; z-index: 200;
  background: #19c4fa; color: #02060a; padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--gap-section); }
.section--tight { padding-block: clamp(72px, 8vw, 136px); }
.section + .section { padding-top: 0; }
.section--field { background: var(--surface); }
.section--field + .section, .section + .section--field { padding-top: var(--gap-section); }

.h-display { font-size: var(--step-display); text-transform: uppercase; line-height: 0.94; letter-spacing: -0.025em; }
.h-head { font-size: var(--step-head); text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em; }
.h-sub { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }
.stack > * + * { margin-top: 1em; }
.stack-lg > * + * { margin-top: clamp(28px, 3vw, 44px); }

.theme-hd .h-display, .theme-hd .h-head,
.band-hd .h-display, .band-hd .h-head {
  font-family: var(--font-hd);
  font-stretch: 68%;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.92;
}

/* ---------- buttons ---------- */
.btn {
  --c: var(--cut-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font: 600 1rem/1 var(--font-text); letter-spacing: 0.01em; white-space: nowrap;
  background: var(--accent); color: var(--on-accent); text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%);
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { background: var(--accent-hi); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { clip-path: none; }
.btn--quiet { background: var(--surface-2); color: var(--ink); }
.btn--quiet:hover { background: var(--surface-3); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  color: var(--ink);
}
.text-link::before {
  content: ""; width: 0.62em; height: 0.62em; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%); flex: none; transition: transform 220ms var(--ease);
}
.text-link:hover { color: var(--accent-hi); }
.text-link:hover::before { transform: translateX(3px); }
.theme-hd .text-link:hover, .band-hd .text-link:hover { color: var(--hd-blue); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #030405; color: #eef2f5;
  transition: background-color 200ms var(--ease);
}
.site-header.is-scrolled { background: #0a0d10; }
.site-header__bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 32px; width: auto; mix-blend-mode: lighten; }
.brand__name { margin-left: 16px; font-weight: 500; font-size: var(--step-small); letter-spacing: 0.01em; color: #c9d1d8; white-space: nowrap; }

.nav { justify-self: end; }
.nav__list { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; height: var(--header-h);
  font-size: var(--step-body); font-weight: 500; color: #dfe5ea; text-decoration: none;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 3px;
  background: var(--accent-p50, #0a8fe5); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-section .nav__link::after { transform: scaleX(1); }
.nav__link:hover { color: #fff; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 32px; height: 40px; margin-left: 2px;
  background: none; border: 0; color: #dfe5ea; cursor: pointer; padding: 0;
}
.nav__toggle svg { width: 14px; height: 14px; transition: transform 260ms var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-cta { --accent: #0a8fe5; --accent-hi: #19c4fa; --on-accent: #02060a; min-height: 46px; padding: 0 22px; }

/* mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #0c0f13; color: #eef2f5;
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.45); /* taste-skill-ignore: floating menu */
  display: none;
}
.mega.is-open { display: block; animation: mega-in 260ms var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } }
.mega__inner { display: grid; grid-template-columns: minmax(260px, 0.9fr) 2fr; gap: clamp(24px, 3vw, 56px); padding-block: 36px 44px; }
.mega__brand {
  background: #f4f6f8; color: #0f1418; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  text-decoration: none;
}
.mega__brand img { width: 100%; max-width: 300px; }
.mega__brand span { font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.mega__brand:hover span { color: #0074cb; }
.mega__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.mega__list a {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px;
  background: #151a20; text-decoration: none; transition: background-color 180ms var(--ease);
}
.mega__list a:hover { background: #1d242c; }
.mega__list strong { font-size: var(--step-body); font-weight: 600; line-height: 1.25; }
.mega__list span { color: #a6b0ba; font-size: var(--step-small); line-height: 1.45; }

/* status: real semantic state, shown as words with the notch marker */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--step-small); font-weight: 600; letter-spacing: 0.01em; color: var(--accent-hi);
}
.status::before { content: ""; width: 9px; height: 9px; background: currentColor; clip-path: polygon(0 0, 100% 0, 0 100%); }
.theme-hd .status, .band-hd .status { color: #005ba3; }
.mega .status { color: #19c4fa; }

/* burger */
.burger {
  display: none; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer;
  color: #eef2f5; position: relative;
}
.burger span { position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor; transition: transform 300ms var(--ease), width 300ms var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; width: 16px; }

/* mobile menu sheet */
.menu {
  position: fixed; inset: 0; z-index: 100; background: #030405; color: #eef2f5;
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0;
  transition: opacity 280ms var(--ease), visibility 0s linear 300ms;
}
.menu[hidden] { display: none; }
.menu.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.menu__close { width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: #eef2f5; cursor: pointer; position: relative; }
.menu__close span { position: absolute; left: 12px; top: 23px; width: 24px; height: 2px; background: currentColor; }
.menu__close span:nth-child(1) { transform: rotate(45deg); }
.menu__close span:nth-child(2) { transform: rotate(-45deg); }
.menu__body { flex: 1; display: flex; flex-direction: column; padding-block: 16px 32px; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list > li { overflow: hidden; }
.menu__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 0; font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 600; line-height: 1.05;
  letter-spacing: -0.02em; text-transform: uppercase; text-decoration: none;
}
.menu__link[aria-current="page"] { color: #19c4fa; }
.menu__sub { list-style: none; margin: 4px 0 16px; padding: 0 0 0 4px; display: grid; gap: 4px; }
.menu__sub a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; background: #0c0f13; text-decoration: none; font-weight: 500; font-size: var(--step-body);
}
.menu__sub a[aria-current="page"] { background: #151a20; color: #19c4fa; }
.menu__sub .status { font-size: var(--step-small); color: #a6b0ba; }
.menu__sub .status::before { background: #19c4fa; }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 20px; }
.menu__foot .btn { width: 100%; --accent: #0a8fe5; --accent-hi: #19c4fa; --on-accent: #02060a; }
.menu__meta { color: #a6b0ba; font-size: var(--step-small); line-height: 1.5; }
.menu__meta a { color: #eef2f5; }
@media (prefers-reduced-motion: no-preference) {
.js .menu__list > li > *, .js .menu__foot > * { transform: translateY(110%); opacity: 0; transition: transform 520ms var(--ease), opacity 400ms var(--ease); }
.js .menu.is-open .menu__list > li > *, .js .menu.is-open .menu__foot > * { transform: none; opacity: 1; }
.js .menu.is-open .menu__list > li:nth-child(1) > * { transition-delay: 60ms; }
.js .menu.is-open .menu__list > li:nth-child(2) > * { transition-delay: 110ms; }
.js .menu.is-open .menu__list > li:nth-child(3) > * { transition-delay: 160ms; }
.js .menu.is-open .menu__list > li:nth-child(4) > * { transition-delay: 210ms; }
.js .menu.is-open .menu__list > li:nth-child(5) > * { transition-delay: 260ms; }
.js .menu.is-open .menu__foot > * { transition-delay: 320ms; }
}
body.menu-open { overflow: hidden; }

/* Heating Decoded product bar */
.hd-bar { background: #ffffff; color: #0f1418; position: sticky; top: var(--header-h); z-index: 55; }
.hd-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.hd-bar__brand img { height: 34px; width: auto; }
.hd-bar__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hd-bar__links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; text-decoration: none;
  font-weight: 500; font-size: var(--step-small); color: #26313b; transition: background-color 160ms var(--ease);
}
.hd-bar__links a:hover { background: #e8ecf0; }
.hd-bar__links a[aria-current="page"] { background: #0f1418; color: #ffffff; }

@media (max-width: 1080px) {
  .nav, .site-header .header-cta { display: none; }
  .burger { display: block; }
  .site-header__bar { grid-template-columns: 1fr auto; }
  .mega { display: none; }
}
@media (max-width: 760px) {
  .hd-bar { position: static; }
  .hd-bar__inner { flex-direction: column; align-items: stretch; height: auto; padding-block: 14px 0; gap: 10px; }
  .hd-bar__brand img { height: 28px; }
  .hd-bar__links { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); padding-bottom: 10px; }
  .hd-bar__links::-webkit-scrollbar { display: none; }
  .hd-bar__links a { white-space: nowrap; height: 40px; padding: 0 14px; }
  .brand__name { display: none; }
}

/* ---------- hero: the P's stem (panel) and its notch ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  min-height: clamp(560px, calc(92svh - var(--header-h)), 960px);
  background: var(--ground); overflow: hidden; isolation: isolate;
}
.hero--page { min-height: clamp(480px, calc(74svh - var(--header-h)), 760px); }
.theme-hd .hero { min-height: clamp(480px, calc(80svh - var(--header-h) - 64px), 820px); }
.hero__panel {
  position: relative; z-index: 2; background: var(--ground);
  display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(20px, 2.4vw, 32px);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 96px) max(var(--margin), calc((100vw - var(--max)) / 2 + var(--margin)));
}
.hero__media { position: relative; z-index: 0; overflow: hidden; background: var(--surface); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__notch {
  position: absolute; z-index: 3; left: 47%; bottom: 0; width: var(--notch); height: var(--notch);
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 0 100%); pointer-events: none;
  transform-origin: top left;
}
.hero__logo { width: min(100%, 520px); mix-blend-mode: lighten; margin-left: -2px; }
.hero__hdlogo { width: min(100%, 440px); }
.hero h1 { max-width: 100%; }
.hero .lead { max-width: 36ch; }
.hero__crumbs { font-size: var(--step-small); color: var(--muted); }
.hero__crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0; padding: 0; }
.hero__crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted); }
.hero__crumbs a { color: var(--muted); }
.hero__crumbs a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero, .hero--page, .theme-hd .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero__media { grid-row: 1; height: clamp(200px, 30svh, 340px); }
  .hero--page .hero__media { height: clamp(200px, 34svh, 360px); }
  .hero__panel { grid-row: 2; justify-content: flex-start; padding: 44px var(--margin) 64px; }
  .hero__notch { left: 0; bottom: auto; top: clamp(200px, 30svh, 340px); width: 64px; height: 64px; }
  .hero--page .hero__notch { top: clamp(200px, 34svh, 360px); }
  .hero__panel { padding-top: 72px; gap: 18px; }
  .hero__logo { width: min(82%, 340px); }
  .hero__hdlogo { width: min(86%, 360px); }
}

/* ---------- statement with inline frames ---------- */
.statement {
  font-size: var(--step-statement); line-height: 1.3; font-weight: 500;
  max-width: 31em; letter-spacing: -0.01em; margin-inline: auto; text-align: center;
}
@media (max-width: 700px) { .statement { text-align: left; } }
.frame {
  display: inline-block; width: 1.25em; height: 0.86em; vertical-align: -0.08em; margin-inline: 0.1em;
  background: var(--surface-2) center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}

/* ---------- chamfered images ---------- */
.cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.cut-lg { --cut: clamp(48px, 8vw, 140px); }
.media-fill { position: relative; overflow: hidden; background: var(--surface-2); }
.media-fill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- featured venture (split) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.feature__media { aspect-ratio: 1 / 1; }
.feature__body { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.feature__logo { width: min(100%, 520px); }
.feature__tags { font-family: var(--font-hd); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: var(--step-lead); letter-spacing: 0.01em; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- product list with photo bullets ---------- */
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 44px clamp(32px, 5vw, 80px); list-style: none; margin: 0; padding: 0; }
.menu-list--three { grid-template-columns: repeat(3, 1fr); }
.menu-item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; text-decoration: none; color: inherit; }
.menu-item__img { width: 72px; height: 72px; clip-path: polygon(0 0, 100% 0, 100% 64%, 64% 100%, 0 100%); overflow: hidden; background: var(--surface-2); }
.menu-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.menu-item:hover .menu-item__img img { transform: scale(1.08); }
.menu-item__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.menu-item__name { font-size: var(--step-body); font-weight: 600; line-height: 1.25; }
a.menu-item:hover .menu-item__name { color: var(--accent-hi); }
.theme-hd a.menu-item:hover .menu-item__name, .band-hd a.menu-item:hover .menu-item__name { color: var(--hd-blue); }
.menu-item__desc { margin-top: 8px; color: var(--muted); font-size: var(--step-body); max-width: 44ch; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
@media (max-width: 1000px) { .menu-list--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .menu-list, .menu-list--three { grid-template-columns: 1fr; } .menu-item { grid-template-columns: 56px 1fr; } .menu-item__img { width: 56px; height: 56px; } }

/* ---------- inset panel ---------- */
.inset {
  margin-inline: clamp(10px, 1.6vw, 20px); background: var(--surface); color: var(--ink);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 4vw, 72px);
  padding: clamp(32px, 5vw, 72px); overflow: hidden; position: relative;
}
.inset__left { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 72px); }
.inset__shape { width: min(100%, 560px); aspect-ratio: 4 / 3; margin-bottom: calc(clamp(32px, 5vw, 72px) * -1); }
.inset__right { display: grid; align-content: start; gap: clamp(32px, 4vw, 56px); padding-top: clamp(0px, 8vw, 120px); }
.inset__block h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; text-transform: none; }
.inset__block p { color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) { .inset { grid-template-columns: 1fr; } .inset__right { padding-top: 0; } .inset__left { order: 0; } }

/* ---------- index with preview (signature move) ---------- */
.index { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.index__rows { list-style: none; margin: 0; padding: 0; }
.index__row a {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: baseline;
  padding: clamp(20px, 2.4vw, 32px) 0; text-decoration: none; color: inherit;
  transition: opacity 240ms var(--ease);
}
.index__title { font-size: var(--step-statement); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.theme-hd .index__title, .band-hd .index__title { font-family: var(--font-hd); font-stretch: 70%; font-weight: 800; }
.index__desc { grid-column: 1 / -1; color: var(--muted); max-width: 52ch; font-size: var(--step-body); }
.index__thumb { display: none; }
.index__rows.is-pointing .index__row a { opacity: 0.4; }
.index__rows.is-pointing .index__row a.is-active { opacity: 1; }
.index__stage { position: sticky; top: calc(var(--header-h) + 88px); aspect-ratio: 4 / 5; }
.index__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 240ms ease; }
.index__stage img.is-active { opacity: 1; }
.index__stage img.is-contain { object-fit: contain; background: var(--surface-2); padding: 8%; }
@media (max-width: 900px), (hover: none) {
  .index { grid-template-columns: 1fr; }
  .index__stage { display: none; }
  .index__rows.is-pointing .index__row a { opacity: 1; }
  .index__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-top: 12px; }
  .index__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .index__thumb.is-contain img { object-fit: contain; background: var(--surface-2); padding: 6%; }
}

/* ---------- facts (definition grid) ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.fact { background: var(--surface); padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.fact dt { font-size: var(--step-small); color: var(--muted); font-weight: 500; }
.fact dd { margin: 0; font-size: var(--step-lead); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.fact dd small { display: block; font-size: var(--step-body); font-weight: 400; color: var(--muted); margin-top: 8px; letter-spacing: 0; line-height: 1.45; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ---------- two-column text section ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.theme-hd .split__aside { top: calc(var(--header-h) + 104px); }
.split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .split, .split--form { grid-template-columns: 1fr; } .split__aside { position: static; } }

/* notch-marked list */
.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.marks li { position: relative; padding-left: 30px; }
.marks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 13px; height: 13px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 0 100%); }
.marks strong { font-weight: 600; }
.marks--two { grid-template-columns: 1fr 1fr; gap: 18px 48px; }
@media (max-width: 700px) { .marks--two { grid-template-columns: 1fr; } }

/* sequence (the method) */
.sequence { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; counter-reset: none; }
.sequence li { background: var(--surface); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 230px; position: relative; }
.sequence li:nth-child(1) { background: var(--hd-navy); color: #fff; }
.sequence li:nth-child(1) p { color: #d6e2ee; }
.sequence h3 { font-family: var(--font-hd); font-stretch: 75%; font-weight: 800; font-size: var(--step-lead); text-transform: uppercase; line-height: 1; letter-spacing: 0; }
.sequence p { color: var(--muted); font-size: var(--step-body); }
.sequence li::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: var(--ground); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
@media (max-width: 900px) { .sequence { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sequence { grid-template-columns: 1fr; } .sequence li { min-height: 0; } }

/* ---------- tile explorer (the live thing) ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.tiles__logo { position: relative; width: 100%; }
.tiles__logo img { width: 100%; }
.tiles__hit {
  position: absolute; top: 0; height: 50.4%; width: 16.75%; border: 0; padding: 0; margin: 0; cursor: pointer;
  background: transparent; transition: outline-color 200ms var(--ease);
}
.tiles__hit[data-i="0"] { left: 15.6%; }
.tiles__hit[data-i="1"] { left: 33.0%; }
.tiles__hit[data-i="2"] { left: 50.3%; }
.tiles__hit[data-i="3"] { left: 67.6%; }
.tiles__hit:hover { outline: 4px solid rgb(255 255 255 / 0.6); outline-offset: -4px; }
.tiles__hit[aria-selected="true"] { outline: 5px solid #ffffff; outline-offset: -5px; }
.tiles__hit:focus-visible { outline: 4px solid #0f1418; outline-offset: 4px; }
.tiles__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tiles__tab { font: 600 1rem/1 var(--font-text); padding: 14px 18px; border: 0; cursor: pointer; background: var(--surface); color: var(--ink); }
.tiles__tab[aria-selected="true"] { background: var(--tile, #0f1418); color: #fff; }
.tiles__tab[data-i="3"][aria-selected="true"] { color: #0f1418; }
.tiles__panel { background: var(--tile, var(--surface)); color: #fff; padding: clamp(28px, 3.4vw, 48px); min-height: 100%; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.tiles__panel[data-i="3"] { color: #0f1418; }
.tiles__panel h3 { font-family: var(--font-hd); font-stretch: 70%; font-weight: 800; font-size: var(--step-head); text-transform: uppercase; line-height: 0.95; margin-bottom: 14px; }
.tiles__panel .tiles__means { font-size: var(--step-lead); line-height: 1.35; margin-bottom: 26px; max-width: 30ch; }
.tiles__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tiles__panel li { padding-left: 26px; position: relative; font-weight: 500; }
.tiles__panel li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 12px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 0, 0 100%); }
.tiles__note { margin-top: 26px; font-size: var(--step-small); opacity: 0.92; }
.js .tiles__panel[hidden] { display: none; }
.tiles__panels > .tiles__panel + .tiles__panel { margin-top: 4px; }
.js .tiles__panels > .tiles__panel + .tiles__panel { margin-top: 0; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- showcase rows (product pages) ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.row--flip .row__media { order: 2; }
.row__media { aspect-ratio: 5 / 4; }
.row__body { display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) { .row { grid-template-columns: 1fr; } .row--flip .row__media { order: 0; } }

/* book stage */
.book {
  background: var(--surface); padding: clamp(28px, 5vw, 72px); display: grid; place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.book img { width: min(100%, 420px); }

/* specs: card per spec */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.spec { background: var(--surface); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.spec b { font-family: var(--font-hd); font-stretch: 72%; font-weight: 800; font-size: var(--step-statement); text-transform: uppercase; line-height: 1; }
.spec span { color: var(--muted); font-size: var(--step-body); }
@media (max-width: 1000px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

/* quote */
.quote { font-size: var(--step-statement); line-height: 1.28; font-weight: 500; max-width: 28ch; letter-spacing: -0.01em; }
.quote span { display: block; }
.quote .q1 { color: #005ba3; }
.quote .q2 { color: #016a74; }
.quote .q3 { color: #b8410f; }
.quote-cite { margin-top: 20px; font-size: var(--step-small); color: var(--muted); }

/* comparison table (a real table keeps its lines) */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--step-body); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px; }
.compare thead th { font-size: var(--step-body); font-weight: 600; background: var(--surface-2); }
.compare tbody th { font-weight: 600; width: 18%; color: var(--ink); }
.compare tbody tr:nth-child(odd) { background: var(--surface); }
.compare td { color: var(--ink); }

/* notice */
.notice {
  background: var(--surface); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 20px 28px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.notice::before { content: ""; width: 36px; height: 36px; background: var(--hd-orange); clip-path: polygon(0 0, 100% 0, 0 100%); }
.notice h2, .notice h3 { font-size: var(--step-lead); font-weight: 600; text-transform: none; letter-spacing: -0.01em; margin-bottom: 8px; }
.notice p { max-width: 70ch; }
@media (max-width: 600px) { .notice { grid-template-columns: 1fr; gap: 16px; } .notice::before { width: 28px; height: 28px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 4px; }
.faq details { background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.6vw, 32px); font-weight: 600; font-size: var(--step-lead); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 16px; height: 16px; justify-self: end; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%); transition: transform 260ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(-90deg); }
.faq summary:hover { color: var(--accent-hi); }
.theme-hd .faq summary:hover { color: var(--hd-blue); }
.faq .faq__a { padding: 0 clamp(20px, 2.6vw, 32px) clamp(22px, 2.4vw, 30px); max-width: 72ch; }
.faq .faq__a p + p { margin-top: 0.8em; }

/* ---------- prose (legal pages: read mode) ---------- */
.prose-wrap { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: var(--step-small); }
.toc h2 { font-size: var(--step-body); font-weight: 600; text-transform: none; letter-spacing: 0; margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 8px 12px; text-decoration: none; color: var(--muted); background: transparent; transition: background-color 160ms, color 160ms; }
.toc a:hover { background: var(--surface); color: var(--ink); }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: var(--step-statement); text-transform: none; letter-spacing: -0.015em; margin-top: 2.2em; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; margin-top: 1.6em; text-transform: none; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose a { color: var(--accent-hi); }
.theme-hd .prose a { color: var(--hd-blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step-body); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; overflow-wrap: anywhere; }
.prose-wrap > * { min-width: 0; }
.prose thead th { background: var(--surface-2); font-weight: 600; }
.prose tbody tr:nth-child(odd) { background: var(--surface); }
.updated { color: var(--muted); font-size: var(--step-small); }
@media (max-width: 900px) { .prose-wrap { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--step-body); }
.field .hint { font-size: var(--step-small); color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--font-text); color: var(--ink);
  background: var(--surface); border: 2px solid var(--surface-3); border-radius: 0; padding: 14px 16px; min-height: 54px;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.field textarea { min-height: 180px; resize: vertical; }
.field select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23a6b0ba' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; padding-right: 48px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3a4652; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-hi); background: var(--surface-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #ff6b5c; }
.field .error { color: #ff8f84; font-size: var(--step-small); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot */
.form-status { margin-top: 20px; font-weight: 500; }
.form-status[data-state="ok"] { color: #7fe0a8; }
.form-status[data-state="error"] { color: #ff8f84; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.contact-cards { display: grid; gap: 4px; }
.contact-card { background: var(--surface); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 6px; }
.contact-card h3 { font-size: var(--step-body); font-weight: 600; text-transform: none; letter-spacing: 0; }
.contact-card a { font-size: var(--step-lead); font-weight: 600; color: var(--accent-hi); text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { color: var(--muted); }

/* ---------- future (discreet) ---------- */
.future { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; background: var(--surface); padding: clamp(28px, 4vw, 56px); }
.future__shape { width: clamp(72px, 9vw, 140px); aspect-ratio: 1; background: var(--surface-3); clip-path: polygon(0 0, 100% 0, 0 100%); }
@media (max-width: 640px) { .future { grid-template-columns: 1fr; } }

/* ---------- CTA band: one word is the button ---------- */
.cta-band {
  --cta-bg: #0a8fe5; --cta-ink: #02060a;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 6vw, 96px);
  min-height: clamp(300px, 46svh, 520px); padding: clamp(24px, 3vw, 40px) var(--margin) clamp(14px, 1.8vw, 26px);
  text-decoration: none; background: var(--cta-bg); color: var(--cta-ink); overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}
.band-hd .cta-band, .theme-hd .cta-band { --cta-bg: var(--hd-navy); --cta-ink: #ffffff; }
.cta-band:hover, .cta-band:focus-visible { background: var(--cta-ink); color: var(--cta-bg); }
.cta-band:focus-visible { outline: 4px solid var(--focus); outline-offset: -8px; }
.cta-band__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-right: calc(var(--notch) * 0.7); }
.cta-band__line { max-width: 30ch; font-size: var(--step-lead); font-weight: 500; line-height: 1.35; }
.cta-band__arrow { flex: none; width: clamp(32px, 4vw, 52px); height: clamp(32px, 4vw, 52px); transition: transform 300ms var(--ease); }
.cta-band:hover .cta-band__arrow { transform: translate(6px, -6px); }
.cta-band__word {
  display: block; width: 100%; max-width: calc(var(--max) - 2 * var(--margin)); margin-inline: auto;
  font-size: calc((min(100vw, var(--max)) - 2 * var(--margin)) / var(--fit, 5.15));
  font-weight: 800; text-transform: uppercase; line-height: 0.8; letter-spacing: -0.04em; white-space: nowrap;
}
.theme-hd .cta-band__word, .band-hd .cta-band__word { font-family: var(--font-hd); font-stretch: 62%; font-weight: 900; letter-spacing: -0.01em; --fit: 3.5; }
@media (max-width: 700px) { .cta-band { min-height: 0; --notch: 56px; } .cta-band__top { padding-right: 44px; } }

/* ---------- footer ---------- */
.site-footer { background: #030405; color: #eef2f5; padding-top: clamp(72px, 9vw, 136px); }
.site-footer a { color: #dfe5ea; text-decoration: none; }
.site-footer a:hover { color: #19c4fa; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.footer-lockup { width: min(100%, 760px); mix-blend-mode: lighten; margin-left: -1%; }
.footer-intro { color: #a6b0ba; max-width: 40ch; font-size: var(--step-body); }
.footer-intro a { color: #eef2f5; font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; margin-top: clamp(56px, 7vw, 104px); }
.footer-col h2 { font-size: var(--step-small); font-weight: 600; color: #8e99a4; letter-spacing: 0.01em; text-transform: none; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: var(--step-body); }
.footer-col .status { font-size: var(--step-small); margin-left: 8px; color: #8e99a4; }
.footer-col .status::before { background: #19c4fa; }
.footer-hd-tiles { display: flex; gap: 6px; margin-bottom: 18px; }
.footer-hd-tiles span { width: 14px; height: 14px; }
.footer-legal {
  margin-top: clamp(56px, 7vw, 96px); background: #0a0d10; padding-block: 28px 32px;
}
.footer-legal__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; align-items: center; font-size: var(--step-small); color: #a6b0ba; }
.footer-legal p { max-width: 82ch; }
.site-credit a { color: #dfe5ea; text-decoration: underline; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; align-items: start; } .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-cols { gap: 36px 20px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60svh; display: grid; align-content: center; gap: 28px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: 80ms; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: 160ms; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: 240ms; }
.js [data-reveal].is-in > *:nth-child(5) { transition-delay: 320ms; }
.js [data-reveal].is-in > *:nth-child(n+6) { transition-delay: 380ms; }

.js .hero__media img { transform: scale(1.08); transition: transform 2200ms var(--ease); }
.js .hero.is-in .hero__media img { transform: scale(1); }
.js .hero__notch { clip-path: polygon(0 0, 0 0, 0 0); transition: clip-path 900ms var(--ease) 250ms; }
.js .hero.is-in .hero__notch { clip-path: polygon(0 0, 100% 0, 0 100%); }
.js .hero__panel > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 800ms var(--ease); }
.js .hero.is-in .hero__panel > * { opacity: 1; transform: none; }
.js .hero.is-in .hero__panel > *:nth-child(2) { transition-delay: 90ms; }
.js .hero.is-in .hero__panel > *:nth-child(3) { transition-delay: 180ms; }
.js .hero.is-in .hero__panel > *:nth-child(4) { transition-delay: 270ms; }
.js .hero.is-in .hero__panel > *:nth-child(5) { transition-delay: 360ms; }

}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] > *, .js .hero__panel > *, .js .hero__media img, .js .hero__notch,
  .js .menu__list > li > *, .js .menu__foot > * { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .hd-bar, .menu, .cta-band, .site-footer .footer-cols { display: none !important; }
  body { background: #fff; color: #000; }
}

/* photo strip (closing pictures on short pages) */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 4px; }
.strip a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; }
.strip a:first-child { aspect-ratio: auto; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.strip a:hover img { transform: scale(1.05); }
.strip figcaption { margin-top: 12px; font-weight: 600; color: var(--ink); }
.strip figure { display: flex; flex-direction: column; }
.strip figure > a { flex: 1; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:first-child { grid-column: 1 / -1; } .strip figure:first-child a { aspect-ratio: 16 / 10; } }

/* comparison table becomes stacked cards on a phone */
@media (max-width: 700px) {
  table.compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 16px 0 8px; background: var(--surface) !important; margin-bottom: 4px; }
  .compare tbody th { padding: 4px 18px 10px; font-size: var(--step-lead); }
  .compare td { padding: 6px 18px 10px; }
  .compare td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--muted); font-size: var(--step-small); }
}

.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.footer-legal__end { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
