:root {
  color-scheme: dark;
  --bg: #010101;
  --bg-raised: #0a0b0c;
  --surface: #111214;
  --text: #f1f0ea;
  --text-body: #c6c5be;
  --muted: #b0b0a9;
  --faint: #8f8f89;
  --rule: #2f3234;
  --rule-strong: #4a4d50;
  --grid: #1d1f21;
  --header-bg: rgba(1, 1, 1, 0.82);
  --scrim-side: rgba(1, 1, 1, 0.82);
  --scrim-mid: rgba(1, 1, 1, 0.35);
  --scrim-none: rgba(1, 1, 1, 0);
  --scrim-foot: rgba(1, 1, 1, 0.94);
  --img-fallback: #16181a;
  --accent: #5ad6a0;
  --accent-hover: #86e5bd;
  --accent-ink: #010101;
  --seg-idle: #8a8b87;
  --seg-alarm: #55575a;
  --seg-breakdown: #c6c5be;
  --seg-starved: #a09f99;
  --seg-hold: #6b6d70;
  --seg-other: #4c4e51;
  --seg-ink: #010101;
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 64px;
  --subnav-h: 52px;
  --accent-alt: #2f8f68;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --bg-raised: #efeeea;
  --surface: #ffffff;
  --text: #161615;
  --text-body: #3a3a37;
  --muted: #62635e;
  --faint: #686964;
  --rule: #dad9d3;
  --rule-strong: #a9a9a2;
  --grid: #e3e2dc;
  --header-bg: rgba(247, 247, 245, 0.88);
  --accent: #0b6b47;
  --accent-hover: #084f35;
  --accent-ink: #ffffff;
  --accent-alt: #3fa57c;
  --seg-idle: #adada7;
  --seg-alarm: #cfcec8;
  --seg-breakdown: #858680;
  --seg-starved: #9a9a94;
  --seg-hold: #bfbfb9;
  --seg-other: #dddcd6;
  --seg-ink: #161615;
}
/* Bands on a full-bleed photograph keep light text over the dark scrim in both themes. */
:root[data-theme="light"] .hero,
:root[data-theme="light"] .photo-band,
:root[data-theme="light"] .closing:not(.is-plain) {
  color-scheme: dark;
  --text: #f1f0ea;
  --text-body: #c6c5be;
  --muted: #b0b0a9;
  --faint: #8f8f89;
  --rule: #2f3234;
  --rule-strong: #4a4d50;
  --accent: #5ad6a0;
  --accent-hover: #86e5bd;
  --accent-ink: #010101;
}
@media (min-width: 768px) {
  :root { --gutter: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); }
}
@media (min-width: 1200px) {
  :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text-body);
  font-family: var(--font-display); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1536px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
}
.eyebrow b { color: var(--text); font-weight: 500; white-space: nowrap; }
.h2 {
  font-family: var(--font-display); font-weight: 600; color: var(--text);
  font-size: clamp(2.1rem, 6vw, 4.75rem); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance;
}
.lede { font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 46ch; color: var(--text-body); }
section { scroll-margin-top: calc(var(--header-h) + 8px); }
.band { padding-block: clamp(72px, 10vw, 152px); }
.band-raised { background: var(--bg-raised); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 48px; }
  .section-head .eyebrow { grid-column: 1 / -1; }
}
.section-head > * { min-width: 0; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  font: 600 15px/1 var(--font-display); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--rule-strong); color: var(--text); background: none; }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.link-cta {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--text);
  font-weight: 500; font-size: 15px; text-decoration: underline; text-decoration-color: var(--rule-strong);
  text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color 160ms ease, text-decoration-color 160ms ease;
}
.link-cta:hover { text-decoration-color: var(--accent); color: var(--accent); }
.link-cta .ico { transition: transform 160ms ease; flex: none; }
.link-cta:hover .ico { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 160ms ease;
}
.site-header.is-scrolled, .site-header.mega-open { border-bottom-color: var(--rule); }
.site-header > .wrap { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; min-height: 44px; }
a.brand:hover .brand-name { color: var(--accent); }
.brand img { width: 30px; height: 30px; flex: none; }
.brand-name { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; transition: color 160ms ease; }
.brand-name span { color: var(--muted); font-weight: 500; }
.header-spacer { flex: 1 1 auto; }
.brand .mark-on-light { display: none; }
:root[data-theme="light"] .brand .mark-on-dark { display: none; }
:root[data-theme="light"] .brand .mark-on-light { display: block; }
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0;
  background: none; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--text); cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-inline { display: none; align-items: center; gap: 4px; margin-right: 8px; }
.nav-inline a, .nav-inline button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 0;
  color: var(--text-body); font: 500 15px/1 var(--font-display); text-decoration: none; cursor: pointer;
  border-bottom: 1px solid transparent; transition: color 160ms ease, border-color 160ms ease;
}
.nav-inline a:hover, .nav-inline button:hover, .nav-inline button[aria-expanded="true"] { color: var(--text); border-bottom-color: var(--accent); }
.nav-inline a[aria-current="page"], .nav-inline button.is-current { color: var(--text); border-bottom-color: var(--text); }
.nav-inline .chev { transition: transform 160ms ease; }
.nav-inline button[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (min-width: 1024px) { .nav-inline { display: flex; } }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--text);
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.menu-btn:hover { border-color: var(--accent); color: var(--accent); }
.menu-btn .bars { width: 16px; height: 8px; position: relative; flex: none; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
@media (max-width: 419px) {
  .site-header .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn { padding: 0 10px; }
  .site-header .btn-sm { padding: 0 12px; }
}

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--rule);
  padding-block: 32px 40px; max-height: calc(100svh - var(--header-h)); overflow-y: auto;
}
.mega[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 48px; }
.mega-side { display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--text); padding-top: 18px; }
.mega-side .mega-title { color: var(--text); font-weight: 600; font-size: 28px; letter-spacing: -0.035em; line-height: 1.05; }
.mega-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.mega-items a {
  display: grid; gap: 6px; padding: 18px 0 20px; border-top: 1px solid var(--rule); text-decoration: none; min-height: 48px;
  transition: border-color 160ms ease;
}
.mega-items a:hover, .mega-items a:focus-visible { border-top-color: var(--accent); }
.mega-items .n { font: 400 11.5px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); }
.mega-items .t { color: var(--text); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; line-height: 1.2; transition: color 160ms ease; }
.mega-items a:hover .t, .mega-items a:focus-visible .t { color: var(--accent); }
.mega-items .d { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Modules mega menu and drill-down */
.mega-items.is-mods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-items.is-mods > li { min-width: 0; }
.mega-items .deep { list-style: none; margin: 0 0 4px; padding: 0; display: grid; }
.mega-items .deep a {
  display: flex; align-items: center; gap: 0; min-height: 32px; padding: 4px 0; border-top: 1px solid var(--grid);
  font: 400 12.5px/1.35 var(--font-mono); letter-spacing: 0.01em; color: var(--text-body); transition: color 160ms ease;
}
.mega-items .deep a:hover, .mega-items .deep a:focus-visible { color: var(--accent); border-top-color: var(--grid); }
.sub-deep {
  list-style: none; margin: 0; padding: 0 0 8px calc(4ch + 12px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px; border-bottom: 1px solid var(--rule); font-size: 16px;
}
.sub-deep a {
  display: flex; align-items: center; min-height: 48px; padding: 6px 0; border-top: 1px solid var(--grid); text-decoration: none;
  color: var(--text-body); font: 500 14px/1.3 var(--font-display); transition: color 160ms ease;
}
.sub-deep a:hover, .sub-deep a:focus-visible { color: var(--accent); }
.sub-links .sub-row.has-deep { border-bottom: 0; }

/* Full-screen menu sheet */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--bg); overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; opacity: 0; transition: opacity 180ms ease;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu-top { height: var(--header-h); flex: none; border-bottom: 1px solid var(--rule); }
.menu-top .wrap { display: flex; align-items: center; gap: 12px; height: 100%; }
.menu-body { flex: 1 0 auto; display: grid; align-content: space-between; gap: 40px; padding-block: 16px 8px; }
.menu-level[hidden] { display: none; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-row {
  width: 100%; display: grid; grid-template-columns: 4ch minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 48px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; cursor: pointer; text-align: left;
  color: var(--text); text-decoration: none; font: 500 clamp(2rem, 7.5vw, 4.5rem)/1 var(--font-display); letter-spacing: -0.04em;
  transition: color 160ms ease;
}
.menu-row .n { font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); align-self: start; padding-top: 0.6em; }
.menu-row .ico { width: 24px; height: 24px; color: var(--muted); }
.menu-row:hover, .menu-row:focus-visible { color: var(--accent); }
.menu-row:hover .ico, .menu-row:focus-visible .ico { color: var(--accent); }
.menu-row[aria-current="page"] .n { color: var(--accent); }
.menu-back {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0; background: none; border: 0;
  border-bottom: 1px solid var(--rule-strong); color: var(--muted); cursor: pointer;
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; transition: color 160ms ease;
}
.menu-back:hover, .menu-back:focus-visible { color: var(--accent); }
.sub-links { list-style: none; margin: 0; padding: 0; }
.sub-row {
  display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 2px 12px; align-items: baseline; min-height: 48px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: color 160ms ease;
}
.sub-row .n { font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); grid-row: span 2; }
.sub-row .t { color: var(--text); font-weight: 600; font-size: clamp(1.25rem, 3.4vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.15; }
.sub-row .d { color: var(--muted); font-size: 14px; line-height: 1.45; }
.sub-row:hover .t, .sub-row:focus-visible .t { color: var(--accent); }
.menu-foot { display: grid; gap: 16px; }
.menu-foot .btn { width: 100%; }
.menu-foot .mono { font-size: 13px; color: var(--muted); user-select: all; }
@media (min-width: 768px) { .menu-foot { grid-template-columns: auto auto 1fr; align-items: center; gap: 24px 32px; } .menu-foot .btn { width: auto; } .menu-foot .mono { justify-self: end; } }

/* Hero */
.hero { position: relative; margin-top: calc(-1 * var(--header-h)); min-height: 600px; height: min(100svh, 1040px); display: flex; overflow: hidden; background: var(--img-fallback); }
.hero.is-sub { height: min(80svh, 860px); min-height: 540px; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: var(--hero-pos, 50% 50%); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--scrim-foot) 0%, var(--scrim-mid) 42%, var(--scrim-none) 70%),
    linear-gradient(90deg, var(--scrim-side) 0%, var(--scrim-mid) 48%, var(--scrim-none) 78%);
}
@media (max-width: 699px) { .hero-media img { object-position: var(--hero-pos-m, 70% 50%); } }
.hero .wrap { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 32px); padding-bottom: 0; }
.hero-copy { display: grid; gap: 24px; padding-bottom: clamp(28px, 4vw, 48px); min-width: 0; }
.display {
  font-weight: 600; color: var(--text); font-size: clamp(2.6rem, min(11.6vw, 13.5vh), 8.25rem);
  line-height: 0.92; letter-spacing: -0.05em; max-width: 14ch; text-wrap: balance;
}
.hero.is-sub .display { font-size: clamp(2.4rem, min(9vw, 11vh), 6.5rem); max-width: 16ch; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.25rem); max-width: 46ch; color: var(--text-body); }
.hero-strip {
  list-style: none; margin: 0; padding: 14px 0 18px; border-top: 1px solid var(--rule-strong);
  display: flex; flex-wrap: wrap; gap: 6px 0;
  font: 400 11.5px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.hero-strip li { white-space: nowrap; }
.hero-strip li + li::before { content: "/"; padding: 0 12px; color: var(--rule-strong); }

/* Spec sheet */
.spec-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--text); }
.spec { padding: 22px 0 34px; border-bottom: 1px solid var(--rule); display: grid; gap: 14px; align-content: start; min-width: 0; }
.spec-top { display: flex; justify-content: space-between; gap: 12px; font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.spec-num {
  font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(3.6rem, 19vw, 9rem); line-height: 0.86; letter-spacing: -0.055em; white-space: nowrap;
}
.spec-num .unit { font-size: 0.28em; letter-spacing: -0.01em; color: var(--muted); font-weight: 500; margin-left: 0.18em; }
.spec-num .to { font: 400 0.16em/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); vertical-align: 0.9em; margin: 0 0.5em; }
.spec-num.is-signal { color: var(--accent); }
.spec-label { max-width: 40ch; font-size: 15px; color: var(--text-body); }
.spec.is-wide .spec-std { color: var(--text); font-weight: 500; font-size: clamp(1.9rem, 5.4vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; display: flex; flex-wrap: wrap; gap: 6px 0; }
.spec.is-wide .spec-std span + span::before { content: "/"; color: var(--rule-strong); font-weight: 400; margin: 0 0.35em; }
@media (min-width: 900px) {
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { padding-right: 40px; }
  .spec:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--rule); }
  .spec.is-wide { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .spec-num { font-size: clamp(4rem, 8.6vw, 9rem); }
}

.spec-num.is-words { white-space: normal; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 0.92; letter-spacing: -0.045em; text-wrap: balance; }
@media (min-width: 900px) {
  .spec-num.is-words { font-size: clamp(3.4rem, 5.6vw, 6.5rem); }
  .spec-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-grid.is-three .spec, .spec-grid.is-three .spec:nth-child(even) { padding: 22px 32px 34px; border-left: 1px solid var(--rule); }
  .spec-grid.is-three .spec:first-child { padding-left: 0; border-left: 0; }
  .spec-grid.is-three .spec:last-child { padding-right: 0; }
}
.finding .spec-grid { margin-bottom: clamp(40px, 5vw, 72px); }
.lc-key { padding-bottom: 4px; }
.lc.is-compact .lc-row { padding: 12px 0; }
@media (min-width: 760px) { .lc.is-compact .lc-row { padding: 12px 0; } }

/* Carousel */
.carousel-head { display: grid; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.carousel-head > * { min-width: 0; }
@media (min-width: 900px) { .carousel-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; } }
.car-ctrl { display: flex; gap: 8px; align-items: center; }
.car-count { font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); margin-right: 10px; font-variant-numeric: tabular-nums; }
.car-btn {
  width: 48px; height: 48px; display: inline-grid; place-items: center; background: none; cursor: pointer;
  border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--text); transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}
.car-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.car-btn:disabled { opacity: 0.35; cursor: default; }
.car-track {
  list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 420px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 0 max(var(--gutter-r), calc((100% - 1536px) / 2 + var(--gutter-r))) 4px max(var(--gutter), calc((100% - 1536px) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100% - 1536px) / 2 + var(--gutter)));
}
.car-track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .car-track { grid-auto-columns: calc((min(100%, 1536px) - var(--gutter) - var(--gutter-r) - 2 * 24px) / 3); gap: 24px; } }
.card { scroll-snap-align: start; min-width: 0; position: relative; display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--text); padding-top: 16px; transition: border-color 160ms ease; }
.card:hover, .card:focus-within { border-top-color: var(--accent); }
.card-top { display: flex; justify-content: space-between; font: 400 11.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card h3 { color: var(--text); font-weight: 600; font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.card h3 a { text-decoration: none; transition: color 160ms ease; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a, .card h3 a:focus-visible { color: var(--accent); }
.card p { font-size: 15px; }
.card .more { font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.card:hover .more { color: var(--accent); }
.car-foot { margin-top: clamp(28px, 4vw, 48px); }

/* Screens and frames */
.shot { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--img-fallback); border: 1px solid var(--rule); }
:root[data-theme="light"] .shot, :root[data-theme="light"] .contact-photo {
  border-color: var(--rule-strong); box-shadow: 0 1px 2px rgba(22, 22, 21, 0.06), 0 12px 28px -16px rgba(22, 22, 21, 0.35);
}
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.cap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 14px;
  border-bottom: 1px solid var(--rule); font: 400 11.5px/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.cap > * { min-width: 0; }
.cap b { color: var(--text); font-weight: 500; margin-right: 10px; }
figure { margin: 0; min-width: 0; }

/* Mini loss bars (card) */
.mini { aspect-ratio: 16 / 10; border: 1px solid var(--rule); background: var(--bg-raised); padding: 18px 18px 14px; display: grid; align-content: space-between; gap: 10px; }
.mini-lead { font: 500 clamp(2rem, 4vw, 2.75rem)/1 var(--font-display); letter-spacing: -0.045em; color: var(--accent); font-variant-numeric: tabular-nums; }
.mini-lead small { font: 400 11px/1.3 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 6px; }
.mini-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mini-rows li { display: grid; grid-template-columns: 7ch minmax(0, 1fr) 6ch; gap: 10px; align-items: center; font: 400 11px/1 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.mini-rows .v { text-align: right; color: var(--text); }
.mini-rows .tr { height: 8px; position: relative; }
.mini-rows .tr i { position: absolute; top: 0; bottom: 0; background: var(--seg-idle); }
.mini-rows .tr i.lead { background: var(--accent); }
.mini-rows .tr i.rest { background: var(--seg-breakdown); }

/* Modules band (home) */
.mod-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 24px; }
@media (min-width: 700px) { .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .mod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; }
.card-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--muted);
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; transition: color 160ms ease;
}
.card-links a:hover, .card-links a:focus-visible { color: var(--accent); }
.card-links a.is-main { color: var(--text); }

/* Photo band */
.photo-band { position: relative; height: min(max(460px, 43.75vw), 820px); overflow: hidden; background: var(--img-fallback); display: flex; }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--band-pos, 50% 50%); }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--scrim-foot) 0%, var(--scrim-mid) 40%, var(--scrim-none) 66%); }
.photo-band .wrap { position: relative; z-index: 1; align-self: flex-end; padding-bottom: clamp(28px, 5vw, 64px); display: grid; gap: 18px; }
.photo-band .band-title { max-width: 18ch; color: var(--text); font-weight: 600; font-size: clamp(2rem, 5.6vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
@media (max-width: 699px) { .photo-band { height: max(460px, 125vw); } .photo-band img { object-position: var(--band-pos-m, 50% 50%); } }

/* Reasons */
.roles { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--text); }
.role { padding: 22px 0 30px; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; min-width: 0; align-content: start; }
.role .n { font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); }
.role h3 { color: var(--text); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1; }
@media (min-width: 900px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .role { padding-right: 32px; } .role + .role { padding-left: 32px; border-left: 1px solid var(--rule); }
}

/* Engagement rows (landing) */
.eng { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--text); }
.eng-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.eng-row > * { min-width: 0; }
.eng-n { font: 400 12px/1.4 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); }
.eng-name { color: var(--text); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.eng-dur { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.eng-gets { font-size: 15px; }
@media (min-width: 1000px) {
  .eng-row { grid-template-columns: 6ch minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 2fr); gap: 24px; align-items: baseline; padding-block: 28px; }
}
.eng-foot { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 900px) { .eng-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.price-line { font: 500 13px/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }

/* Closing */
.closing { position: relative; overflow: hidden; background: var(--img-fallback); min-height: min(100svh, 900px); display: flex; }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--close-pos, 60% 50%); }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim-side) 0%, var(--scrim-mid) 55%, var(--scrim-none) 85%), linear-gradient(0deg, var(--scrim-foot) 0%, var(--scrim-none) 60%); }
.closing .wrap { position: relative; z-index: 1; align-self: flex-end; padding-block: clamp(72px, 10vw, 140px); display: grid; gap: 32px; }
.closing .display { max-width: 13ch; font-size: clamp(2.4rem, 8.4vw, 7.25rem); }
@media (max-width: 699px) { .closing > img { object-position: var(--close-pos-m, 75% 50%); } }
.closing.is-plain { min-height: 0; background: var(--bg); border-top: 1px solid var(--rule); }
.closing.is-plain::after { display: none; }

/* Product: sub nav */
.subnav {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 40; height: var(--subnav-h);
  background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule);
}
.subnav .wrap { height: 100%; display: flex; align-items: stretch; gap: 16px; }
.subnav-label { display: none; align-items: center; font: 500 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); white-space: nowrap; padding-right: 16px; border-right: 1px solid var(--rule); }
@media (min-width: 1200px) { .subnav-label { display: flex; } }
.subnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1 1 auto; }
.subnav ol::-webkit-scrollbar { display: none; }
.subnav a {
  display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px; white-space: nowrap; text-decoration: none;
  font: 500 14px/1 var(--font-display); color: var(--muted); border-bottom: 2px solid transparent; transition: color 160ms ease, border-color 160ms ease;
}
.subnav a .n { font: 400 11px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--faint); }
.subnav a:hover { color: var(--text); border-bottom-color: var(--rule-strong); }
.subnav a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.subnav a.is-active .n { color: var(--accent); }
.subnav a:focus-visible { outline-offset: -2px; }
.product-page section[data-chapter], .product-page #specs { scroll-margin-top: calc(var(--header-h) + var(--subnav-h)); }

/* Product: chapters */
.chapter { min-height: calc(100svh - var(--header-h) - var(--subnav-h)); padding-block: clamp(64px, 8vw, 120px); display: flex; align-items: center; border-bottom: 1px solid var(--rule); }
.chapter:nth-of-type(even) { background: var(--bg-raised); }
.chapter > .wrap { display: grid; gap: clamp(32px, 4vw, 56px); }
.ch-copy { display: grid; gap: 20px; align-content: start; min-width: 0; }
.ch-num {
  font-weight: 500; font-size: clamp(5rem, 16vw, 9rem); line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1px var(--rule-strong);
}
.ch-title { font-size: clamp(2rem, 4.4vw, 3.75rem); max-width: 16ch; }
.ch-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule-strong); }
.ch-facts div { padding: 14px 12px 0 0; min-width: 0; }
.ch-facts div + div { padding-left: 12px; border-left: 1px solid var(--rule); }
.ch-facts dt { font-weight: 500; color: var(--text); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-facts dd { margin: 8px 0 0; font: 400 10.5px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ch-visual { min-width: 0; }
@media (min-width: 1100px) {
  .chapter.is-split > .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: center; gap: 64px; }
  .chapter.is-split.is-flip .ch-copy { order: 2; }
  .chapter.is-wide .ch-copy { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
  .chapter.is-wide .ch-copy .ch-num, .chapter.is-wide .ch-copy .eyebrow, .chapter.is-wide .ch-copy .ch-title { grid-column: 1; }
  .chapter.is-wide .ch-copy .lede, .chapter.is-wide .ch-copy .ch-facts { grid-column: 2; }
  .chapter.is-wide .ch-copy .ch-num { grid-row: 1; }
  .chapter.is-wide .ch-copy .eyebrow { grid-row: 2; }
  .chapter.is-wide .ch-copy .ch-title { grid-row: 3 / span 2; }
  .chapter.is-wide .ch-copy .lede { grid-row: 3; }
  .chapter.is-wide .ch-copy .ch-facts { grid-row: 4; }
}

/* Loss chart */
.lc { border-top: 1px solid var(--text); padding-top: 16px; display: grid; gap: 24px; }
.lc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font: 400 11.5px/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lc-head b { color: var(--text); font-weight: 500; }
.lc-lead { display: grid; gap: 8px 32px; align-items: end; }
@media (min-width: 900px) { .lc-lead { grid-template-columns: auto minmax(0, 1fr); } }
.lc-big { font-weight: 500; color: var(--accent); font-size: clamp(3.4rem, 9vw, 7rem); line-height: 0.86; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-big .unit { font-size: 0.3em; color: var(--muted); margin-left: 0.12em; letter-spacing: -0.01em; }
.lc-note { display: grid; gap: 4px; padding-bottom: 6px; }
.lc-note .k { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.lc-note .v { font: 400 13px/1.5 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.lc-note .v b { color: var(--text); font-weight: 500; }
.lc-rows { list-style: none; margin: 0; padding: 0; display: grid; }
.lc-row, .lc-axis { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
.lc-row { padding: 12px 0 10px; border-bottom: 1px solid var(--grid); row-gap: 8px; }
.lc-id { font: 500 13px/1 var(--font-mono); color: var(--text); letter-spacing: 0.02em; white-space: nowrap; }
.lc-id small { font: 400 11px/1 var(--font-mono); color: var(--faint); margin-left: 8px; letter-spacing: 0.06em; }
.lc-val { font: 500 13px/1 var(--font-mono); color: var(--text); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-val small { color: var(--faint); font-weight: 400; margin-left: 4px; }
.lc-track { grid-column: 1 / -1; position: relative; height: 20px; }
.lc-track .g { position: absolute; top: -4px; bottom: -4px; width: 1px; background: var(--grid); }
.lc-bar { position: absolute; left: 0; top: 0; bottom: 0; display: flex; }
.lc-bar i { display: block; height: 100%; min-width: 1px; font: 500 10.5px/20px var(--font-mono); font-style: normal; letter-spacing: 0.04em; color: var(--seg-ink); white-space: nowrap; overflow: hidden; padding-left: 8px; box-shadow: inset -2px 0 0 var(--bg-raised); }
.lc-bar i:last-child { box-shadow: none; }
.lc-bar i.s-lead { color: var(--accent-ink); }
.lc-break { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font: 400 11px/1.4 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.lc-break li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lc-break li::before { content: ""; width: 8px; height: 8px; background: var(--sw); flex: none; }
.lc-break b { color: var(--text-body); font-weight: 500; }
.s-idle { background: var(--seg-idle); --sw: var(--seg-idle); }
.s-alarm { background: var(--seg-alarm); --sw: var(--seg-alarm); }
.s-breakdown { background: var(--seg-breakdown); --sw: var(--seg-breakdown); }
.s-starved { background: var(--seg-starved); --sw: var(--seg-starved); }
.s-hold { background: var(--seg-hold); --sw: var(--seg-hold); }
.s-other { background: var(--seg-other); --sw: var(--seg-other); }
.s-lead { background: var(--accent); --sw: var(--accent); }
.s-lead-alt { background: var(--accent-alt); --sw: var(--accent-alt); }
.s-logged { background: var(--seg-breakdown); --sw: var(--seg-breakdown); }
.lc-break li.s-idle, .lc-break li.s-alarm, .lc-break li.s-breakdown, .lc-break li.s-starved, .lc-break li.s-hold, .lc-break li.s-other, .lc-break li.s-lead, .lc-break li.s-lead-alt, .lc-break li.s-logged { background: none; }
.lc-axis { position: relative; height: 18px; margin-top: 4px; }
.lc-axis-in > span { position: absolute; top: 0; transform: translateX(-50%); font: 400 10.5px/18px var(--font-mono); color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lc-axis-in > span:first-child { transform: none; }
.lc-axis-in > span.end { transform: translateX(-100%); }
@media (min-width: 760px) {
  .lc-row, .lc-axis { grid-template-columns: 10.5rem minmax(0, 1fr) 6.5rem; }
  .lc-row { align-items: center; row-gap: 6px; padding: 10px 0; }
  .lc-id { grid-column: 1; grid-row: 1; }
  .lc-track { grid-column: 2; grid-row: 1; }
  .lc-val { grid-column: 3; grid-row: 1; }
  .lc-break { grid-column: 2 / -1; grid-row: 2; }
  .lc-axis-in { grid-column: 2; position: relative; height: 18px; }
}
.lc-axis-in { display: block; position: relative; height: 18px; }
@media (max-width: 759px) { .lc-axis-in { grid-column: 1 / -1; } }
.lc-cap { font: 400 11.5px/1.6 var(--font-mono); letter-spacing: 0.04em; color: var(--faint); border-top: 1px solid var(--rule); padding-top: 12px; max-width: 110ch; }
.lc-cap b { color: var(--text-body); font-weight: 500; }

/* Redline chart */
.rl-rows { display: grid; gap: 14px; }
.rl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
.rl-track { grid-column: 1 / -1; position: relative; height: 28px; }
.rl-track .g { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--grid); }
.rl-track .mk { position: absolute; top: -10px; bottom: -10px; width: 0; border-left: 1px dashed var(--text); z-index: 1; }
.rl-track .mk.lim { border-left-color: var(--accent); }
.rl-bar { position: absolute; left: 0; top: 0; bottom: 0; display: flex; }
.rl-bar i { display: block; height: 100%; font: 500 11px/28px var(--font-mono); font-style: normal; color: var(--seg-ink); padding-left: 6px; overflow: hidden; white-space: nowrap; box-shadow: inset -2px 0 0 var(--bg); }
.rl-bar i:last-child { box-shadow: none; }
.t-a { background: var(--seg-hold); } .t-b { background: var(--seg-breakdown); } .t-c { background: var(--seg-starved); } .t-d { background: var(--seg-idle); } .t-e { background: var(--seg-alarm); }
.rl-bar i.t-a, .rl-bar i.t-e { color: var(--text); }
.rl-bar i.grew { background: var(--accent); color: var(--accent-ink); }
.rl-marks { display: block; position: relative; height: 18px; }
.rl-marks span { position: absolute; top: 0; font: 400 10.5px/18px var(--font-mono); white-space: nowrap; color: var(--text); transform: translateX(-100%); padding-right: 6px; }
.rl-marks span.lim { color: var(--accent); transform: none; padding: 0 0 0 6px; }
@media (max-width: 379px) {
  .rl-marks { height: 36px; }
  .rl-marks span.lim { top: 18px; transform: translateX(-100%); padding: 0 6px 0 0; }
}
@media (min-width: 760px) {
  .rl-row, .rl-marks-row, .rl-axis-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) 6.5rem; column-gap: 16px; align-items: center; }
  .rl-row .lc-id { grid-column: 1; grid-row: 1; }
  .rl-row .rl-track { grid-column: 2; grid-row: 1; }
  .rl-row .lc-val { grid-column: 3; grid-row: 1; }
  .rl-marks-row .rl-marks, .rl-axis-row .lc-axis-in { grid-column: 2; }
}
.rl-table { width: 100%; border-collapse: collapse; font: 400 12.5px/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }
.rl-table th, .rl-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--grid); text-align: right; white-space: nowrap; }
.rl-table th:first-child, .rl-table td:first-child, .rl-table th:nth-child(2), .rl-table td:nth-child(2) { text-align: left; }
.rl-table thead th { font-weight: 400; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); border-bottom-color: var(--rule); }
.rl-table td { color: var(--text-body); }
.rl-table td.up { color: var(--text); }
.rl-table tr.grew td.up, .rl-table tr.grew td:first-child { color: var(--accent); }
.rl-table tfoot td { color: var(--text); font-weight: 500; border-bottom: 0; border-top: 1px solid var(--rule-strong); }
@media (max-width: 559px) { .rl-table .op { display: none; } }

/* Specifications table */
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--text); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.spec-table th { width: 28%; padding-right: 32px; font: 500 12px/1.6 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.spec-table td { font-size: 15.5px; color: var(--text-body); }
.spec-table td .mono { font-size: 13.5px; color: var(--text); letter-spacing: 0.02em; }
@media (max-width: 699px) {
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding: 16px 0 4px; border-bottom: 0; }
  .spec-table td { padding: 0 0 16px; }
}

/* Engagements page */
.cmp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--text); }
.cmp-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 22px 0 28px; border-bottom: 1px solid var(--rule); min-width: 0; }
.cmp-card .eng-n { display: flex; justify-content: space-between; }
.cmp-card h3 { color: var(--text); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.035em; line-height: 1.05; }
.cmp-dur { font-weight: 500; color: var(--text); font-size: clamp(3rem, 5.4vw, 4.75rem); line-height: 0.86; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-dur .to { font: 400 0.2em/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); vertical-align: 0.8em; margin: 0 0.4em; }
.cmp-dur .unit { font-size: 0.3em; color: var(--muted); margin-left: 0.15em; letter-spacing: -0.01em; }
.cmp-dur.is-word { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.04em; }
.cmp-card:first-child .cmp-dur { color: var(--accent); }
.cmp-card dl { margin: 0; display: grid; gap: 0; align-content: start; }
.cmp-card dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.cmp-card dt { font: 400 10.5px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cmp-card dd { margin: 0; font-size: 15px; }
@media (min-width: 760px) {
  .cmp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-card { padding-right: 28px; }
  .cmp-card:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--rule); }
}
@media (min-width: 1200px) {
  .cmp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cmp-card, .cmp-card:nth-child(even) { padding: 22px 24px 28px; border-left: 1px solid var(--rule); }
  .cmp-card:first-child { padding-left: 0; border-left: 0; }
  .cmp-card:last-child { padding-right: 0; }
}
.io { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) { .io { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }
.io > div { min-width: 0; }
.io h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--text); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.035em; padding-bottom: 14px; border-bottom: 1px solid var(--text); }
.io h3 span { font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.io ol { list-style: none; margin: 0; padding: 0; counter-reset: io; }
.io li { counter-increment: io; display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; }
.io li::before { content: counter(io, decimal-leading-zero); font: 400 12px/1.9 var(--font-mono); color: var(--muted); letter-spacing: 0.06em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--text); }
.step { display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 4px 12px; padding: 18px 0 22px; border-bottom: 1px solid var(--rule); min-width: 0; }
.step .n { font: 400 12px/1.8 var(--font-mono); letter-spacing: 0.06em; color: var(--muted); grid-row: span 2; }
.step h3 { color: var(--text); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.025em; line-height: 1.2; }
.step p { font-size: 15px; }
.step:first-child .n { color: var(--accent); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 0; }
  .step { grid-template-columns: minmax(0, 1fr); align-content: start; padding: 0 20px 0 0; border-bottom: 0; border-top: 1px solid var(--rule-strong); position: relative; }
  .step .n { grid-row: auto; padding-top: 18px; font-size: 13px; }
  .step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--text); }
  .step:first-child::before { background: var(--accent); }
}
.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 18px 0; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; align-items: center;
  color: var(--text); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.35rem); letter-spacing: -0.02em; line-height: 1.25; transition: color 160ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary:focus-visible { outline-offset: -2px; }
.faq summary .pm { position: relative; width: 14px; height: 14px; justify-self: end; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 160ms ease; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 36px 22px 0; max-width: 72ch; font-size: 15.5px; }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; } }
.faq-grid > * { min-width: 0; }

/* Contact page */
.contact { padding-block: clamp(48px, 7vw, 112px) clamp(72px, 9vw, 136px); }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; } }
.contact-grid > * { min-width: 0; }
.contact .display { font-size: clamp(2.6rem, 8vw, 6.5rem); }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--text); padding-top: 24px; }
@media (min-width: 700px) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font: 500 11.5px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--surface); color: var(--text); border: 1px solid var(--rule-strong); border-radius: 2px;
  font: 400 16px/1.4 var(--font-display); transition: border-color 160ms ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; 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 1l5 5 5-5' fill='none' stroke='%23b0b0a9' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
:root[data-theme="light"] .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 1l5 5 5-5' fill='none' stroke='%2362635e' stroke-width='1.5'/%3E%3C/svg%3E"); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form-foot .note { font: 400 12px/1.5 var(--font-mono); color: var(--faint); }
.confirm { border: 1px solid var(--accent); border-left-width: 4px; padding: 20px 22px; display: grid; gap: 8px; background: var(--bg-raised); }
.confirm[hidden] { display: none; }
.confirm h2 { color: var(--text); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.confirm .sel { font-family: var(--font-mono); color: var(--accent); user-select: all; -webkit-user-select: all; }
.confirm:focus { outline: none; }
.contact-side { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--text); }
.contact-side .row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-side .k { font: 400 11.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-side .v { color: var(--text); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.025em; line-height: 1.2; }
.contact-side .v a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); transition: color 160ms ease, border-color 160ms ease; }
.contact-side .v a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact-photo { margin-top: 24px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--rule); background: var(--img-fallback); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 56px 32px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }
.foot-grid > * { min-width: 0; }
.foot-grid h2 { font: 400 11px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot-grid ul a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--text-body); transition: color 160ms ease; }
.foot-grid ul a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.foot-grid ul a[aria-current="page"] { color: var(--text); }
.foot-brand p { max-width: 36ch; margin-top: 14px; }
.foot-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 12.5px; color: var(--faint); }
.foot-legal .disclaimer { font-size: 12.5px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
