/* House of 28 — styles extracted verbatim from the original design export
   (reference/original-standalone.html). Only asset URLs were rewritten. */
/* Industry — design-system tokens and component classes. This file is the source of truth for the system's look; retune it here and see readme.md. */
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-condensed-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-condensed-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-condensed-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  /* Tonal ramps — generated in OKLCH on one shared lightness scale, so the
     same step of any role matches the others in visual value. */
  --color-neutral-100: #f5f5f8;
  --color-neutral-200: #e7e7ea;
  --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba;
  --color-neutral-500: #98989b;
  --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60;
  --color-neutral-800: #424244;
  --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff;
  --color-accent-200: #d6ebff;
  --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3;
  --color-accent-500: #749dc4;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-accent-900: #1d2d3d;

  --color-accent-2-100: #eef6ff;
  --color-accent-2-200: #d6ebff;
  --color-accent-2-300: #bdd8f2;
  --color-accent-2-400: #9ebbd8;
  --color-accent-2-500: #7e9cb8;
  --color-accent-2-600: #627d98;
  --color-accent-2-700: #486077;
  --color-accent-2-800: #314457;
  --color-accent-2-900: #1f2d3a;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px;
  --space-2: 6.8px;
  --space-3: 10.2px;
  --space-4: 13.6px;
  --space-6: 20.4px;
  --space-8: 27.2px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  /* Elevation — derived from the ground: soft ink-tinted shadows on a
     light theme, a hairline edge + ambient darkness on a dark one. */
  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.blueprint {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: 0;
}
/* The overlay image treatments (halftone, duotone) clip their overlay
   (overflow:hidden); a blueprint wrapper draws its registration marks
   outside the box, so when both classes share a wrapper the frame must
   win. */
.blueprint.halftone, .blueprint.plate, .blueprint.duotone { overflow: visible; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after {
  content: ""; position: absolute; background: currentColor;
}
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after  { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.duotone{position:relative;overflow:hidden}
.duotone::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:var(--color-accent);mix-blend-mode:color}

/* ══════════════════════════════════════════════════════════════════════════
   Components — built with the tokens above. Plain CSS
   on plain HTML: no JavaScript, no build step. Each class is documented in
   readme.md and demonstrated in foundations/ and components/.
   ══════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }
h6 { letter-spacing: 0.08em; text-transform: uppercase; }
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

/* — rules — */
.hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text); /* matches the .input's 14px —
     the pair sits side by side in sign-up rows */
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.btn svg { display: block; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.btn-secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn-ghost { color: var(--color-accent); padding-inline: var(--space-1); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-ghost:active { background: color-mix(in srgb, var(--color-accent) 18%, transparent); }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; margin-top: var(--space-2); }

/* — forms — */
.field > label {
  display: block; font-size: 12px; margin-bottom: 5px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}
.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit;
  font-size: 14px; color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 90px; resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.radio input, .seg-opt input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.radio .dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--color-divider);
}
.radio:hover .dot { border-color: var(--color-accent); }
.radio input:checked + .dot {
  border-color: var(--color-accent); background: var(--color-accent);
  box-shadow: inset 0 0 0 4px var(--color-bg);
}
.radio input:focus-visible + .dot { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.seg {
  display: inline-flex; overflow: hidden;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.seg-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.seg-opt + .seg-opt { border-left: 1px solid var(--color-divider); }
.seg-opt:has(input:checked) { background: var(--color-accent); color: var(--color-bg); }
.seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.card-meta {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: color-mix(in srgb, var(--color-text) 50%, transparent);
}
.elev-sm { box-shadow: var(--shadow-sm); }
.elev-md { box-shadow: var(--shadow-md); }
.elev-lg { box-shadow: var(--shadow-lg); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px;
  border-radius: calc(var(--radius-md) * 0.75);
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — navigation — */
.nav {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: none;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto;
}
.nav a { color: inherit; text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--color-accent); }

/* — tables — */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  padding: var(--space-2); border-bottom: 1px solid var(--color-divider);
}
.table td {
  padding: var(--space-2);
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.table tbody tr:hover { background: color-mix(in srgb, var(--color-text) 4%, transparent); }

/* — dialog — */
.dialog-backdrop {
  position: fixed; inset: 0; display: grid; place-items: center;
  padding: var(--space-4);
  background: color-mix(in srgb, var(--color-neutral-900) 50%, transparent);
}
.dialog {
  width: min(440px, 100%); display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-lg);
  background: var(--color-surface); box-shadow: var(--shadow-lg);
}
.dialog-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 20px;
}
.dialog-body { font-size: 14px; opacity: 0.85; }
.dialog-actions { display: flex; justify-content: flex-end; gap: var(--space-2); margin-top: var(--space-2); }

/* — blueprint frame: components are wireframe objects (see .blueprint
     and .corner above) — square, transparent, hairline-bordered — */
.card, .btn, .input, .tag, .seg, .dialog { border-radius: 0; }
.card, .dialog { background: transparent; border: 1px solid var(--color-divider); }
.btn { border: 1px solid var(--color-divider); }
.btn-primary { border-color: var(--color-accent); }
.btn-ghost { border-color: transparent; }


/* vietnamese */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/barlow-300-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/barlow-300-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/barlow-300-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


  body { margin: 0; background: var(--color-neutral-200); }
  a { color: var(--color-accent-700); }
  a:hover { color: var(--color-accent-800); }
  /* Drafting paper: a 44px grid with a heavier line every fifth, taupe on ivory */
  .shell {
    container-type: inline-size;
    background-color: var(--color-bg);

  }
  /* Sand grounds take a hairline hatch instead, so a change of ground reads */
  #size, #cta {
    background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--h28-taupe) 22%, transparent) 0 1px, transparent 1px 11px);
  }
  /* The olive field keeps the grid, reversed to ivory */
  #fitlab {
    background-image:
      linear-gradient(to right, color-mix(in srgb, var(--h28-ivory) 9%, transparent) 1px, transparent 1px),
      linear-gradient(to bottom, color-mix(in srgb, var(--h28-ivory) 9%, transparent) 1px, transparent 1px);
    background-size: 44px 44px;
  }
  .wrap { padding: 0 22px; max-width: 1440px; margin: 0 auto; }
  .hgrid { display: grid; gap: 34px; grid-template-columns: 1fr; align-items: center; }
  .g2 { display: grid; gap: 22px; grid-template-columns: 1fr; }
  .g4 { display: grid; gap: 22px; grid-template-columns: 1fr; }
  .split { display: grid; gap: 34px; grid-template-columns: 1fr; }
  .insplit { display: grid; gap: 26px; grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .stickycta { display: block; }
  .xh { font-size: clamp(38px, 8.2cqw, 92px); }
  .lead { font-size: clamp(17px, 2.2cqw, 21px); }
  .sech { font-size: clamp(30px, 5.4cqw, 62px); }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .28s ease, transform .28s ease; }
  .reveal.in { opacity: 1; transform: none; }

  /* H28 palette v1.0 — Industry's structure and type, House of 28's colour */
  :root {
    --h28-ivory: #FBF8F3; --h28-sand: #E7DED2; --h28-sage: #A8B5A0; --h28-olive: #59634F;
    --h28-taupe: #A89584; --h28-espresso: #302923; --h28-blush: #DCC5C0;
    --h28-error: #8C4A3F; --h28-caution: #8C6A3F;
    --color-bg: #FBF8F3;
    --color-surface: #E7DED2;
    --color-text: #302923;
    --color-accent: #59634F;
    --color-accent-2: #A8B5A0;
    --color-divider: color-mix(in srgb, #A89584 60%, transparent);
    --color-accent-100: #EFF2EC; --color-accent-200: #DDE3D8; --color-accent-300: #A8B5A0;
    --color-accent-400: #8C9B84; --color-accent-500: #6E7C66; --color-accent-600: #59634F;
    --color-accent-700: #4A5341; --color-accent-800: #3A4133; --color-accent-900: #2E3428;
    --color-neutral-100: #FBF8F3; --color-neutral-200: #E7DED2; --color-neutral-300: #D8CBBB;
    --color-neutral-400: #C9BCAD; --color-neutral-500: #A89584; --color-neutral-600: #6F665B;
    --color-neutral-700: #5D554C; --color-neutral-800: #463E36; --color-neutral-900: #302923;
    --shadow-sm: 0 1px 2px color-mix(in srgb, #302923 10%, transparent);
    --shadow-md: 0 3px 10px color-mix(in srgb, #302923 12%, transparent);
    --shadow-lg: 0 12px 32px color-mix(in srgb, #302923 16%, transparent);
  }
  :focus-visible { outline: 2px solid var(--h28-espresso); outline-offset: 2px; }
  ::selection { background: color-mix(in srgb, var(--h28-sage) 55%, transparent); }
  .blueprint > .corner { color: var(--h28-taupe); }
  .btn { min-height: 44px; transition: background .22s ease, color .22s ease, border-color .22s ease; }
  .btn-primary { background: var(--h28-sage); color: var(--h28-espresso); border-color: var(--h28-sage); }
  .btn-primary:hover { background: var(--h28-olive); color: var(--h28-ivory); border-color: var(--h28-olive); }
  .btn-primary:active { background: var(--h28-espresso); color: var(--h28-ivory); border-color: var(--h28-espresso); }
  .btn-secondary:hover { background: color-mix(in srgb, var(--h28-taupe) 24%, transparent); }
  .btn-secondary:active { background: color-mix(in srgb, var(--h28-taupe) 40%, transparent); }
  .seg-opt { min-height: 44px; transition: background .22s ease, color .22s ease; }
  .seg-opt:has(input:checked) { background: var(--h28-espresso); color: var(--h28-ivory); }
  .seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--h28-taupe) 20%, transparent); }
  .tag-accent { background: var(--h28-sand); color: var(--h28-espresso); }
  .tag-outline { border-color: var(--h28-olive); color: var(--h28-olive); }
  .input { min-height: 44px; background: var(--h28-sand); border-color: color-mix(in srgb, #A89584 75%, transparent); }
  .input:focus-visible { border-color: var(--h28-espresso); outline: 2px solid var(--h28-espresso); outline-offset: 2px; }
  .radio input:checked + .dot { border-color: var(--h28-espresso); background: var(--h28-espresso); }
  /* On the deep-olive Fit Lab field, selection reverses to ivory so it stays legible */
  #fitlab .seg-opt:has(input:checked) { background: var(--h28-ivory); color: var(--h28-espresso); }
  #fitlab .seg-opt:not(:has(input:checked)):hover { background: color-mix(in srgb, var(--h28-ivory) 14%, transparent); }
  #fitlab .radio input:checked + .dot { border-color: var(--h28-ivory); background: var(--h28-ivory); box-shadow: inset 0 0 0 4px var(--color-accent-900); }
  #fitlab .input { background: color-mix(in srgb, var(--h28-ivory) 12%, transparent); color: var(--h28-ivory); border-color: color-mix(in srgb, var(--h28-ivory) 34%, transparent); }
  #fitlab :focus-visible { outline-color: var(--h28-ivory); }
  @keyframes h28clip { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  .clipin image-slot { animation: h28clip .68s cubic-bezier(.22,.61,.36,1) both; }
  #founding .cell { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease, border-color .18s ease, color .18s ease; }
  #founding.in .cell { opacity: 1; transform: none; }
  .lift { display: block; overflow: hidden; }
  .lift > span { display: block; transform: translateY(106%); transition: transform .42s cubic-bezier(.22,.61,.36,1); }
  .reveal.in .lift > span { transform: none; }
  .lift:nth-child(2) > span { transition-delay: .07s; }
  .lift:nth-child(3) > span { transition-delay: .14s; }
  #founding .cell { transition: border-color .18s ease, color .18s ease; }
  #founding .cell:hover { border-color: var(--h28-espresso); color: var(--h28-espresso); }
  @media (pointer: fine) {
    .cursoron, .cursoron a, .cursoron button, .cursoron label, .cursoron input,
    .cursoron select, .cursoron textarea, .cursoron image-slot { cursor: none; }
  }
  .anno { position: absolute; display: flex; align-items: center; gap: 7px; pointer-events: none; }
  .anno .dot { width: 9px; height: 9px; border: 1px solid var(--h28-espresso); border-radius: 50%; flex: none; background: color-mix(in srgb, var(--h28-ivory) 70%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--h28-ivory) 60%, transparent); }
  .anno .lead { height: 1px; width: 34px; background: var(--h28-espresso); flex: none; box-shadow: 0 0 0 1px color-mix(in srgb, var(--h28-ivory) 55%, transparent); }
  .anno .txt { font-family: var(--font-heading); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--h28-espresso); background: color-mix(in srgb, var(--h28-ivory) 92%, transparent); padding: 3px 6px; white-space: nowrap; }
  /* Hover states: colour and position only. Nothing lifts, scales or gains a shadow. */
  a, button { transition: color .2s ease, background .2s ease, border-color .2s ease; }
  .ar { display: inline-block; transition: transform .2s ease; }
  a:hover .ar { transform: translateX(4px); }
  .navlinks a:not(.btn) { position: relative; }
  .navlinks a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
  .navlinks a:not(.btn):hover { color: var(--h28-olive); }
  .navlinks a:not(.btn):hover::after { transform: none; }
  .blueprint > .corner { transition: color .2s ease; }
  .blueprint:hover > .corner { color: var(--h28-espresso); }
  .btn-primary:hover > .corner { color: var(--h28-ivory); }
  figure.blueprint:hover { border-color: var(--h28-espresso); }
  #hero-product .blueprint:hover { border-color: var(--h28-espresso); }
  #inside button:hover, #faq button:hover { background: color-mix(in srgb, var(--h28-taupe) 16%, transparent); }
  #inside button span, #faq button span { transition: color .2s ease; }
  #inside button:hover span, #faq button:hover span { color: var(--h28-espresso); }
  .specsheet > div { transition: background .2s ease, color .2s ease; }
  .specsheet > div:hover { background: color-mix(in srgb, var(--h28-taupe) 16%, transparent); color: var(--h28-espresso); }
  #hero-product a[href="#fitlab"]:hover, #story a[href="#fitlab"]:hover { color: var(--h28-espresso); }
  footer a:not(.btn):hover { color: var(--h28-sage); }
  #size .seg-opt { background: var(--h28-ivory); }
  #size .seg-opt:not(:has(input:checked)):hover { background: var(--h28-sand); border-color: var(--h28-espresso); }
  #size .seg-opt:has(input:checked) { background: var(--h28-espresso); color: var(--h28-ivory); }
  /* H28 rule: primary is Sage on ivory grounds, Deep Olive on sand */
  #cta .btn-primary { background: var(--h28-olive); color: var(--h28-ivory); border-color: var(--h28-olive); }
  #cta .btn-primary:hover { background: var(--h28-espresso); color: var(--h28-ivory); border-color: var(--h28-espresso); }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
  }
  :root { interpolate-size: allow-keywords; }
  @keyframes h28up { from { opacity: 0; transform: translateY(18px); } }
  @keyframes h28zoom { from { opacity: 0; transform: scale(1.06); } }
  @keyframes h28ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
  .hload { animation: h28up .8s cubic-bezier(.22,.61,.36,1) both; }
  .hload.d2 { animation-delay: .12s; } .hload.d3 { animation-delay: .24s; }
  .heromedia img { animation: h28zoom 1.6s cubic-bezier(.22,.61,.36,1) .1s both; }
  .stg > * { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,.61,.36,1), background .25s ease; }
  .reveal.in .stg > * { opacity: 1; transform: none; }
  .reveal.in .stg > *:nth-child(2) { transition-delay: .08s, .08s, 0s; }
  .reveal.in .stg > *:nth-child(3) { transition-delay: .16s, .16s, 0s; }
  .reveal.in .stg > *:nth-child(4) { transition-delay: .24s, .24s, 0s; }
  .reveal.in .stg > *:nth-child(5) { transition-delay: .32s, .32s, 0s; }
  .bcell svg { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
  .bcell svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s ease .45s; }
  .reveal.in .bcell svg path { stroke-dashoffset: 0; }
  .bcell:hover svg { transform: rotate(-8deg) scale(1.15); }
  .bcell > div:nth-child(2) { transition: transform .3s ease; }
  .bcell:hover > div:nth-child(2) { transform: translateX(4px); }
  .herofig img { transform: scale(1.08); transition: transform 1.4s cubic-bezier(.22,.61,.36,1); }
  .reveal.in .herofig img { transform: scale(1); }
  .reveal.in .herofig:hover img { transform: scale(1.035); }
  .hs { position: absolute; transform: translate(-50%,-50%); width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; z-index: 2; }
  .hs-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--h28-ivory); box-shadow: 0 0 0 1px var(--h28-espresso); transition: background .2s ease; }
  .hs-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--h28-ivory); animation: h28ping 2.4s ease-out infinite; }
  .hs:nth-of-type(2) .hs-dot::after { animation-delay: .8s; } .hs:nth-of-type(3) .hs-dot::after { animation-delay: 1.6s; }
  .hs-lab { position: absolute; left: 36px; top: 50%; transform: translate(-6px,-50%); opacity: 0; white-space: nowrap; font-family: var(--font-heading); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: var(--h28-ivory); color: var(--h28-espresso); padding: 6px 10px; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
  .hs.l .hs-lab { left: auto; right: 36px; transform: translate(6px,-50%); }
  .hs:hover .hs-lab, .hs:focus .hs-lab { opacity: 1; transform: translate(0,-50%); }
  .hs:hover .hs-dot, .hs:focus .hs-dot { background: var(--h28-sage); }
  .num { transition: background .25s ease, color .25s ease, border-color .25s ease, transform .4s cubic-bezier(.34,1.56,.64,1); }
  .step { transition: background .25s ease; }
  .step:hover { background: var(--color-accent-100); }
  .step:hover .num { background: var(--h28-espresso); color: var(--h28-ivory); border-color: var(--h28-espresso); transform: rotate(-12deg) scale(1.08); }
  summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: padding .25s ease, color .25s ease; }
  summary::-webkit-details-marker { display: none; }
  summary:hover { padding-left: 8px !important; color: var(--h28-olive); }
  .pm { position: relative; width: 14px; height: 14px; flex: none; transition: transform .3s ease; }
  .pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
  .pm::after { transform: rotate(90deg); }
  details[open] .pm { transform: rotate(45deg); }
  details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
  details[open]::details-content { block-size: auto; }
  .sig { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.6,.1,.3,1) .5s; }
  .reveal.in .sig { clip-path: inset(0 0 0 0); }
  .herofig { order: 2; }
  .bgrid { display: grid; grid-template-columns: 1fr 1fr; }
  .bcell { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 20px; border-bottom: 1px solid var(--color-divider); transition: background .18s ease; }
  .bcell:nth-child(odd) { border-right: 1px solid var(--color-divider); }
  .bcell:last-child { grid-column: 1 / -1; border-right: 0; }
  .bcell:hover { background: var(--color-accent-100); }
  .step { padding: 18px 0; }
  .step + .step { border-top: 1px solid var(--color-divider); }
  @container (min-width: 760px) {
    .herofig { order: 0; }
    .bgrid { grid-template-columns: 1fr; }
    .bcell { display: grid; grid-template-columns: 26px minmax(0,130px) minmax(0,1fr); gap: 16px; align-items: center; padding: 14px 18px; border-right: 0 !important; }
    .step { padding: 18px; }
    .step:first-child { padding-left: 0; }
    .step + .step { border-top: 0; border-left: 1px solid var(--color-divider); }
    .wrap { padding: 0 46px; }
    .hgrid { grid-template-columns: 1.35fr 1fr; gap: 46px; }
    .g2 { grid-template-columns: 1fr 1fr; gap: 34px; }
    .g4 { grid-template-columns: repeat(4, 1fr); }
    .split { grid-template-columns: 1fr 1fr; gap: 60px; }
    .insplit { grid-template-columns: 300px 1fr; gap: 46px; }
    .kick { position: sticky; top: 82px; z-index: 5; }
    .specsheet { position: sticky; top: 96px; }
    .navlinks { display: flex; gap: 26px; align-items: center; }
    .stickycta { display: none; }
  }
  .herogrid { display: grid; grid-template-columns: 1fr; }
  .heromedia { order: 0; aspect-ratio: 4 / 5; border-top: 1px solid var(--color-divider); }
  .wl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  @container (min-width: 760px) {
    .herogrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: max(560px, min(calc(100svh - 104px), 900px)); }
    .heromedia { order: 0; aspect-ratio: auto; border-top: 0; border-left: 1px solid var(--color-divider); }
  }

/* ── Production additions (functional only, no visual change to the design) ── */
[hidden] { display: none !important; }
.h28-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
