/* Thynkr Systems corporate stylesheet — document grammar (SITE-APOGEE-001, all pages).
   Fonts are self-hosted, no third-party requests.
   Archivo: /assets/fonts/archivo/OFL.txt · Roboto Slab: /assets/fonts/roboto-slab/LICENSE.txt (Apache 2.0) · JetBrains Mono: /assets/fonts/jetbrains-mono/OFL.txt */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo/archivo-latin-var.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; }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/roboto-slab/roboto-slab-latin-var.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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono/jetbrains-mono-latin-var.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; }

/* Metric-matched local fallbacks so the swap does not move the layout. */
@font-face { font-family: "Archivo Fallback"; src: local("Arial Narrow"), local("ArialNarrow"), local("Helvetica Neue Condensed Bold"), local("Arial"); ascent-override: 87.8%; descent-override: 21%; line-gap-override: 0%; size-adjust: 104%; }
@font-face { font-family: "Roboto Slab Fallback"; src: local("Georgia"), local("Times New Roman"); ascent-override: 104.8%; descent-override: 27.1%; line-gap-override: 0%; size-adjust: 108%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Menlo"), local("Courier New"), local("Courier"); ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; size-adjust: 100%; }

:root {
  --navy: #0B1026;
  --cream: #DCD4BC;
  --pearl: #E6E9F2;
  --amber: #F2B840;
  --amber-hover: #FFD05A;
  --teal: #3A8A9A;                 /* line-art only: 4.7:1 on navy, not used for text */
  --muted: #9D998F;                /* cream at 70% on navy: 6.6:1 */
  --muted-on-cream: #4A4B53;       /* 5.9:1 on cream */
  --hairline: rgba(220, 212, 188, .18);
  --hairline-strong: rgba(220, 212, 188, .38);
  --grid-line: rgba(220, 212, 188, .06);
  --tick: rgba(220, 212, 188, .25);
  --row-hover: rgba(220, 212, 188, .04);
  --error: #FFB4A8;
  --display: "Archivo", "Archivo Fallback", "Arial Narrow", sans-serif;
  --serif: "Roboto Slab", "Roboto Slab Fallback", Georgia, serif;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", Menlo, "Courier New", monospace;
  --frame: 1440px;
  --gutter: 32px;
  --rhythm: 64px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--navy);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  max-width: var(--frame);
  margin: 0 auto;
  background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}
body > * { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--amber); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--navy); }
h1, h2, h3, h4 { margin: 0; color: var(--cream); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--amber); color: var(--navy); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Type roles ---------- */
.display, h1, h2 { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .92; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.2vw, 112px); font-weight: 900; line-height: .9; }
h2 { font-size: clamp(32px, 4.4vw, 60px); }
h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--pearl); }
.lead { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; color: var(--pearl); font-weight: 400; }
.mono, .label, .status, .button, .sec-label, .meta { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.meta { font-size: 12px; line-height: 1.6; color: var(--muted); }
.meta b, .meta strong { color: var(--cream); font-weight: 600; }
.small-note { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted); }
.prose p + p { margin-top: 1em; }

/* ---------- Document frame ---------- */
.doc-frame { max-width: var(--frame); margin: 0 auto; padding-inline: var(--gutter); }
.doc-section { border-bottom: 1px solid var(--hairline); }
.doc-section > .doc-frame { padding-block: var(--rhythm); }
.doc-edge { border-inline: 1px solid var(--hairline); }
.band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: 40px; }
.band-head { grid-column: 1 / span 7; }
.band-data { grid-column: 9 / span 4; }
.sec-label { display: flex; gap: 12px; align-items: baseline; margin-bottom: 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sec-label .sec-num { color: var(--amber); font-weight: 600; }
.sec-label .sec-num::after { content: " /"; color: var(--muted); font-weight: 400; }
.band-data .lead { font-size: 17px; line-height: 1.6; color: var(--cream); }
.band-data .data-list { border-top: 1px solid var(--hairline); }
.data-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.data-list li > span:first-child { color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.data-list li > span:last-child { text-align: right; }
.section-action { margin-top: 32px; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* ---------- Buttons, links, pills ---------- */
.button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.button-primary:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.button-outline, .button-quiet { color: var(--cream); border-color: var(--hairline-strong); background: transparent; }
.button-outline:hover, .button-quiet:hover { border-color: var(--cream); }
.text-link, .quiet-link { display: inline-block; padding: 2px 4px 1px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--amber); }
.text-link:hover, .quiet-link:hover { background: var(--amber); color: var(--navy); }
.quiet-link { border-bottom-color: var(--hairline-strong); }
.status { display: inline-block; padding: 3px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; border: 1px solid var(--amber); color: var(--navy); background: var(--amber); white-space: nowrap; }
.status-amber { background: transparent; color: var(--amber); }
.status-dev, .status-partner { background: transparent; border-color: var(--hairline-strong); color: var(--cream); }
.status { font-size: 12px; }

/* ---------- Header ---------- */
.doc-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--hairline); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 24px; letter-spacing: -.01em; text-transform: uppercase; text-decoration: none; color: var(--cream); }
.wordmark .brand-dot { color: var(--amber); }
.doc-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: static; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-trigger:hover { border-bottom-color: var(--amber); }
.nav-link[aria-current="page"] { border-bottom-color: var(--cream); }
.nav-trigger svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform .15s ease; }
.nav-trigger[aria-expanded="true"] svg, .has-menu:hover .nav-trigger svg { transform: rotate(180deg); }
.nav-contact { margin-left: 8px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--navy); border-bottom: 1px solid var(--hairline); }
.has-menu.is-open .mega, .has-menu:hover .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: 32px; border-top: 1px solid var(--hairline); }
.mega-title { grid-column: 1 / span 3; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; color: var(--cream); }
.mega-title small { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.mega-links { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--hairline); }
.mega-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 4px; font-family: var(--serif); font-size: 17px; color: var(--pearl); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.mega-links a::after { content: "→"; font-family: var(--mono); color: var(--amber); }
.mega-links a:hover { background: var(--row-hover); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); border: 1px solid var(--hairline-strong); }
.menu-toggle[aria-expanded="true"] { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.mobile-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--header-h)); overflow: auto; background: var(--navy); border-bottom: 1px solid var(--hairline); }
.mobile-panel.is-open { display: block; }
.mobile-panel nav { padding: 8px var(--gutter) 24px; }
.mobile-panel .mobile-group { padding-top: 16px; }
.mobile-panel .mobile-group h2 { font-size: 12px; font-family: var(--mono); font-stretch: normal; font-weight: 500; letter-spacing: .18em; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.mobile-panel a { display: block; min-height: 48px; padding: 12px 0; font-family: var(--serif); font-size: 17px; color: var(--pearl); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.mobile-panel a[aria-current="page"] { color: var(--amber); }
.mobile-panel .mobile-group a { padding-left: 16px; }
.mobile-panel .mobile-contact { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero > .doc-frame { padding-top: 56px; padding-bottom: 0; }
.hero-meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-meta span { grid-column: span 3; }
.hero-meta span::before { content: "// "; color: var(--amber); }
h1 .line-clip { display: block; overflow: hidden; }
h1 .line-inner { display: block; }
h1 .brand-dot { color: var(--amber); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-bottom: 48px; }
.hero-copy { grid-column: 1 / span 7; }
.hero-side { grid-column: 9 / span 4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 28px; }
.tick-row { display: grid; grid-template-columns: repeat(60, 1fr); border-top: 1px solid var(--hairline); }
.tick-row span { height: 8px; border-left: 1px solid var(--tick); }
.tick-row span:nth-child(10n + 1) { height: 14px; border-left-color: var(--cream); }

/* ---------- Lineage strips ---------- */
.lineage-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.lineage-card { grid-column: span 6; border: 1px solid var(--hairline); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.lineage-title .label { margin-bottom: 10px; }
.lineage-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--hairline-strong); padding-top: 14px; }
.lineage-strip li { position: relative; padding: 0 8px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: .04em; color: var(--muted); }
.lineage-strip li::before { content: ""; position: absolute; left: 0; top: -14px; height: 10px; border-left: 1px solid var(--cream); }
.lineage-strip li .lineage-node { display: block; width: 9px; height: 9px; margin: 2px 0 8px; border: 1px solid var(--cream); background: var(--navy); }
.lineage-strip li.lineage-current { color: var(--cream); }
.lineage-strip li.lineage-current .lineage-node { background: var(--amber); border-color: var(--amber); }
.lineage-strip li.lineage-current::before { border-left-color: var(--amber); }
.lineage-card .small-note { margin-top: auto; }
.lineage-card .text-link { align-self: flex-start; }

/* ---------- Matrix cells ---------- */
.matrix { display: grid; border: 1px solid var(--hairline); }
.matrix-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.matrix-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { padding: 28px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 14px; }
.matrix-2 .cell:nth-child(2n) { border-right: 0; }
.matrix-2 .cell:nth-last-child(-n + 2):nth-child(2n + 1), .matrix-2 .cell:last-child { border-bottom: 0; }
.matrix-3 .cell:nth-child(3n) { border-right: 0; }
.matrix-3 .cell:nth-last-child(-n + 3) { border-bottom: 0; }
.cell .label { display: flex; justify-content: space-between; gap: 12px; }
.cell h3 { margin-top: 2px; }
.cell p { color: var(--cream); }
.cell .text-link { align-self: flex-start; margin-top: auto; }
.cell .status { align-self: flex-start; }
.schematic { width: 100%; height: auto; max-height: 140px; color: var(--cream); margin: 6px 0 4px; }
.schematic * { vector-effect: non-scaling-stroke; }
.boundary-note { position: relative; margin-top: 24px; padding: 16px 0 0 136px; border-top: 1px solid var(--hairline-strong); font-family: var(--serif); font-size: 15px; line-height: 1.6; color: var(--cream); }
.boundary-note::before { content: "NOTE"; position: absolute; left: 0; top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.boundary-note + .boundary-note { margin-top: 0; border-top: 0; padding-top: 8px; }
.boundary-note + .boundary-note::before { content: ""; }

/* ---------- Data rows (products, apps) ---------- */
.rows { border-top: 1px solid var(--hairline-strong); }
.rows-head { display: grid; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.row { display: grid; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.row:hover { background: var(--row-hover); }
.row .status, .cell .status { justify-self: start; }
.product-row, .products-head { grid-template-columns: 72px 2.2fr 1fr 2.4fr 1.6fr; }
.product-row .portfolio-brand { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--hairline); padding: 6px; }
.product-row .portfolio-brand img { max-height: 44px; width: auto; }
.product-cell .portfolio-brand { height: 64px; display: flex; align-items: center; }
.product-cell .portfolio-brand img { max-height: 56px; max-width: 180px; width: auto; }
.product-row h3 { font-size: 22px; }
.product-row .eyebrow-card { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.product-row .summary { font-size: 15px; line-height: 1.55; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: flex-end; }
.app-row, .apps-head { grid-template-columns: 72px 2fr 3fr; }
.app-row img { width: 52px; height: 52px; }
.app-row strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--pearl); }
.platform-lines li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; border-bottom: 1px solid var(--hairline); }
.platform-lines li:last-child { border-bottom: 0; }
.platform-lines svg { width: 16px; height: 16px; fill: var(--cream); flex: none; }
.platform-lines .platform-name { color: var(--cream); text-transform: uppercase; min-width: 72px; }
.platform-lines .platform-state { color: var(--muted); }
.platform-lines .platform-state::before { content: "— "; }

/* ---------- Panels ---------- */
.panel { border: 1px solid var(--hairline); padding: 40px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.panel > div:first-child { grid-column: 1 / span 8; }
.panel .hero-actions, .panel > .button { grid-column: 10 / span 3; justify-self: end; margin-top: 0; }
.panel h2 { margin-top: 18px; font-size: clamp(28px, 3.6vw, 48px); }
.panel p.lead { margin-top: 18px; }
.panel-inverse { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.panel-inverse h2, .panel-inverse p, .panel-inverse .lead { color: var(--navy); }
.panel-inverse .sec-label { color: var(--muted-on-cream); }
.panel-inverse .sec-label .sec-num::after { color: var(--muted-on-cream); }
.panel-inverse .sec-label .sec-num { color: var(--navy); }
.founder-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.founder-row img { grid-column: 1 / span 3; width: 100%; max-width: 280px; border: 1px solid var(--hairline); filter: grayscale(1) contrast(1.05); }
.founder-row > div { grid-column: 4 / span 7; display: flex; flex-direction: column; gap: 14px; }
.founder-row h3 { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 36px; text-transform: uppercase; color: var(--cream); line-height: 1; }
.founder-row .lead { font-size: 19px; }
.founder-row .links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* ---------- Footer ---------- */
.doc-footer { border-top: 1px solid var(--hairline-strong); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; padding-block: var(--rhythm) 40px; }
.footer-brand { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand p { font-size: 15px; line-height: 1.6; max-width: 36ch; }
.footer-brand > a:not(.wordmark) { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.doc-footer nav { grid-column: span 2; }
.doc-footer nav h2, .company-details h2 { font-family: var(--mono); font-stretch: normal; font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.doc-footer nav a { display: block; padding: 6px 0; font-size: 15px; color: var(--pearl); text-decoration: none; }
.doc-footer nav a:hover { color: var(--amber); }
.company-details { grid-column: 1 / span 4; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--muted); }
.company-details strong { color: var(--cream); font-weight: 600; }
.company-details address { font-style: normal; margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0 28px; border-top: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }

/* ---------- Motion ---------- */
h1 .line-inner { animation: line-reveal .9s cubic-bezier(.2, .7, .2, 1) both; }
h1 .line-clip:nth-child(2) .line-inner { animation-delay: .12s; }
h1 .line-clip:nth-child(3) .line-inner { animation-delay: .24s; }
@keyframes line-reveal { from { transform: translateY(105%); } to { transform: translateY(0); } }
.reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1 .line-inner { animation: none; }
  .reveal-ready { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-row, .products-head { grid-template-columns: 64px 1.8fr 1fr 2fr 1.4fr; }
  .mega-links { grid-column: 4 / span 9; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; --rhythm: 48px; }
  .doc-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .band { gap: 16px; margin-bottom: 32px; }
  .band-head, .band-data { grid-column: 1 / -1; }
  .hero-copy, .hero-side { grid-column: 1 / -1; }
  .lineage-card { grid-column: 1 / -1; }
  .matrix-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matrix-3 .cell:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .matrix-3 .cell:nth-child(2n) { border-right: 0; }
  .matrix-3 .cell:nth-last-child(-n + 3) { border-bottom: 1px solid var(--hairline); }
  .matrix-3 .cell:nth-last-child(-n + 2) { border-bottom: 0; }
  .products-head, .apps-head { display: none; }
  .product-row { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "brand name" "brand status" "summary summary" "actions actions"; row-gap: 10px; }
  .product-row .portfolio-brand { grid-area: brand; }
  .product-row .name { grid-area: name; }
  .product-row .status { grid-area: status; justify-self: start; }
  .product-row .summary { grid-area: summary; }
  .product-row .card-actions { grid-area: actions; justify-content: flex-start; }
  .app-row { grid-template-columns: 56px minmax(0, 1fr); }
  .app-row .platform-lines { grid-column: 1 / -1; }
  .panel { padding: 28px; }
  .panel > div:first-child, .panel .hero-actions, .panel > .button { grid-column: 1 / -1; justify-self: start; }
  .founder-row img { grid-column: 1 / span 4; }
  .founder-row > div { grid-column: 5 / span 8; }
  .footer-brand, .company-details { grid-column: 1 / -1; }
  .doc-footer nav { grid-column: span 6; }
}
@media (max-width: 767px) {
  .lineage-strip { grid-auto-flow: row; grid-auto-columns: auto; border-top: 0; border-left: 1px solid var(--hairline-strong); padding: 0 0 0 20px; }
  .lineage-strip li { padding: 8px 0; display: flex; align-items: center; gap: 12px; }
  .lineage-strip li::before { top: 50%; left: -20px; height: 0; width: 12px; border-left: 0; border-top: 1px solid var(--cream); }
  .lineage-strip li.lineage-current::before { border-top-color: var(--amber); }
  .lineage-strip li .lineage-node { margin: 0; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; --rhythm: 40px; }
  .boundary-note, .draft-note { padding-left: 0; padding-top: 36px; }
  .boundary-note::before, .draft-note::before { top: 12px; }
  body { font-size: 17px; }
  h1 { font-size: clamp(40px, 13vw, 64px); }
  .hero > .doc-frame { padding-top: 32px; }
  .hero-meta { gap: 8px 16px; margin-bottom: 28px; }
  .hero-meta span { grid-column: span 6; }
  .matrix-2, .matrix-3 { grid-template-columns: minmax(0, 1fr); }
  .matrix .cell, .matrix-3 .cell:nth-child(3n), .matrix-2 .cell:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .matrix .cell:last-child { border-bottom: 0; }
  .cell, .lineage-card { padding: 20px; }
  .founder-row img { grid-column: 1 / span 5; }
  .founder-row > div { grid-column: 1 / -1; }
  .doc-footer nav { grid-column: 1 / -1; }
  .tick-row span:nth-child(n + 31) { display: none; }
  .tick-row { grid-template-columns: repeat(30, 1fr); }
}
@media (max-width: 360px) {
  .wordmark { font-size: 20px; }
  .nav-link, .nav-trigger, .menu-toggle { padding-inline: 8px; }
}

/* ---------- Print ---------- */
@media print {
  :root { --hairline: #B8B8B8; --hairline-strong: #8A8A8A; --muted: #555; --cream: #111; --pearl: #000; --navy: #FFF; --amber: #000; --row-hover: transparent; }
  body { background: #FFF; color: #111; font-size: 11pt; }
  body::before { display: none; }
  .doc-header, .skip-link, .menu-toggle, .mobile-panel, .mega, .tick-row { display: none !important; }
  .doc-footer nav, .footer-bottom, .hero-actions, .section-action { display: none; }
  h1, h2, h3 { color: #000; }
  .status { color: #000; background: none; border: 1px solid #000; }
  .button-primary { background: none; color: #000; border: 1px solid #000; }
  .panel-inverse { background: none; border: 1px solid #8A8A8A; color: #000; }
  .founder-row img { filter: none; }
  .schematic { color: #111; }
  .reveal-ready, h1 .line-inner { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .cell, .row, .lineage-card, .panel { break-inside: avoid; }
  a { text-decoration: none; color: inherit; border: 0; }
  .doc-section { border-bottom: 1px solid #B8B8B8; }
}

/* =====================================================================
   Site-wide templates (landing, detail, company, legal, contact, 404)
   ===================================================================== */

/* ---------- Breadcrumb row ---------- */
.breadcrumb-row { border-bottom: 1px solid var(--hairline); }
.breadcrumb-row > .doc-frame { padding-block: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--hairline-strong); }
.breadcrumbs a { color: var(--cream); text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero > .doc-frame { padding-top: 48px; padding-bottom: 48px; }
.page-hero .band { align-items: start; margin-bottom: 0; }
.page-hero .band-head { grid-column: 1 / span 8; }
.page-hero .band-data { grid-column: 9 / span 4; }
.page-hero .eyebrow { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.page-hero .eyebrow::before { content: "// "; color: var(--amber); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 84px); }
.page-hero .hero-intro { margin-top: 24px; max-width: 60ch; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero .data-list { border-top: 1px solid var(--hairline-strong); }
.page-hero .data-list li { align-items: baseline; }
.page-hero .data-list a { color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--amber); }
.page-hero .data-list a:hover { background: var(--amber); color: var(--navy); }
.page-hero .data-list .status { font-size: 11.5px; padding: 2px 6px; }

/* ---------- Generic kept classes ---------- */
.kicker, .eyebrow-card { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.section-lead { font-size: 17px; line-height: 1.6; color: var(--cream); }
.prose, .legal-copy, .lead-prose { max-width: 68ch; }
.prose p + p, .legal-copy p + p, .lead-prose p + p { margin-top: 1em; }
.prose a, .legal-copy a, .form-note a, .small-note a, .company-panel a, .support-links a, .contact-support a, .draft-note a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--amber); }
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.two-col > .col-main { grid-column: 1 / span 8; }
.two-col > .col-side { grid-column: 10 / span 3; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.split > div:first-child { grid-column: 1 / span 5; }
.split > div:last-child { grid-column: 7 / span 6; }
.split h2 { font-size: clamp(28px, 3.4vw, 44px); }
.detail-actions, .hero-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.detail-actions { margin-top: 0; }
.section-warm, .section-light, .section-ink, .compact-section { background: transparent; }

/* ---------- Steps (how we work), approach, principles ---------- */
.steps article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 32px 0; border-top: 1px solid var(--hairline); counter-increment: step; }
.steps article:last-child { border-bottom: 1px solid var(--hairline); }
.steps article::before { content: "STEP-0" counter(step); grid-column: 1 / span 2; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--amber); padding-top: 6px; }
.steps article > div { grid-column: 3 / span 8; }
.steps h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
.steps { counter-reset: step; }
.approach-grid { border: 1px solid var(--hairline); }
.approach-grid article { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 32px 28px; border-bottom: 1px solid var(--hairline); align-items: end; }
.approach-grid article:last-child { border-bottom: 0; }
.approach-grid .kicker { grid-column: 1 / span 12; margin: 0; }
.approach-grid h2 { grid-column: 1 / span 8; font-size: clamp(24px, 2.8vw, 36px); }
.approach-grid .text-link { grid-column: 10 / span 3; justify-self: end; }
.principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--hairline); }
.principle-grid article { padding: 28px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 12px; }
.principle-grid article:nth-child(2n) { border-right: 0; }
.principle-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
.principle-grid h2 { font-family: var(--serif); font-stretch: normal; font-weight: 500; font-size: 22px; text-transform: none; letter-spacing: 0; line-height: 1.3; color: var(--pearl); }
.principle-grid article::before { content: "PR-0" counter(principle); counter-increment: principle; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); }
.principle-grid { counter-reset: principle; }

/* ---------- Callout / case ---------- */
.callout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; padding: 40px; background: var(--cream); color: var(--navy); border: 1px solid var(--cream); }
.callout > div { grid-column: 1 / span 8; }
.callout > .button { grid-column: 10 / span 3; justify-self: end; }
.callout .kicker { color: var(--muted-on-cream); }
.callout h2 { color: var(--navy); font-size: clamp(28px, 3.6vw, 48px); }
.case-card { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 32px 28px; border: 1px solid var(--hairline); }
.case-card > div:first-child { grid-column: 1 / span 5; }
.case-card > div:last-child { grid-column: 7 / span 6; }
.case-card h2 { font-size: clamp(26px, 3vw, 40px); }
.case-card .case-client { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.case-study { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.case-study aside { grid-column: 1 / span 3; border-top: 1px solid var(--hairline-strong); }
.case-study aside .kicker { margin: 16px 0 6px; }
.case-study aside p:not(.kicker) { padding-bottom: 14px; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--cream); }
.case-study .legal-copy { grid-column: 1 / span 8; }
.legal-copy h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 40px 0 14px; }
.legal-copy h2:first-child { margin-top: 0; }

/* ---------- Proof card, founder, history, cycle, voice ---------- */
.proof-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; max-width: 900px; padding: 24px; border: 1px solid var(--hairline); }
.proof-card > img { width: 96px; max-height: 96px; object-fit: contain; border: 1px solid var(--hairline); padding: 8px; }
.proof-card p { margin: 12px 0; }
.proof-card .status { margin-bottom: 4px; }
.proof-card .text-link, .proof-card .quiet-link { margin-right: 16px; }
.founder-page-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.founder-page-grid > img { grid-column: 1 / span 4; width: 100%; border: 1px solid var(--hairline); padding: 12px; filter: grayscale(1) contrast(1.05); }
.founder-page-grid > div { grid-column: 6 / span 7; }
.founder-page-grid h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 18px; }
.founder-page-grid p + p { margin-top: 1em; }
.founder-page-grid .text-link { margin-top: 20px; }
.history-timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 24px; }
.history-timeline li { position: relative; padding: 18px 0 28px; border-top: 1px solid var(--hairline-strong); }
.history-timeline li::before { content: ""; position: absolute; top: -1px; left: 0; width: 9px; height: 9px; background: var(--amber); }
.history-date { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); font-variant-numeric: tabular-nums; }
.history-timeline h3 { margin-bottom: 8px; }
.history-timeline p { color: var(--cream); font-size: 15px; }
.cycle-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--hairline); }
.cycle-list li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-right: 1px solid var(--hairline); }
.cycle-list li:last-child { border-right: 0; }
.cycle-number { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--amber); }
.cycle-list h3 { font-size: 20px; }
.cycle-list p { font-size: 15px; }
.voice-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.voice-flow span { display: grid; place-items: center; min-height: 96px; padding: 16px; border: 1px solid var(--hairline); text-align: center; font-family: var(--serif); color: var(--pearl); }
.voice-flow b { font-family: var(--mono); color: var(--amber); font-weight: 400; font-size: 20px; }

/* ---------- Apps ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hairline); }
.app-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 28px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.app-grid .app-card:nth-child(3n) { border-right: 0; }
.app-grid .app-card:nth-last-child(-n + 3) { border-bottom: 0; }
.app-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.app-card-head img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--hairline); padding: 6px; }
.app-card h3 { font-size: 22px; }
.app-card > p { font-size: 15px; }
.app-technology { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted); }
.app-technology strong { color: var(--cream); font-weight: 600; }
.platform-lines { border-top: 1px solid var(--hairline); margin-top: auto; }
.app-card-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.future-store-links { display: flex; flex-wrap: wrap; gap: 8px; }
.future-store-links .button { min-height: 36px; padding: 6px 12px; font-size: 11.5px; }
.app-note { margin-top: 24px; }

/* ---------- Vacancies ---------- */
.vacancy-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 8px 0; }
.vacancy-card dt { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vacancy-card dd { margin: 2px 0 0; }

/* ---------- Legal ---------- */
.doc-legal::before { display: none; }
.doc-legal h1 .line-inner { animation: none; }
.legal-section > .doc-frame { padding-top: 40px; }
.draft-note { position: relative; margin: 0 0 32px; padding: 16px 0 16px 136px; border-top: 1px solid var(--amber); border-bottom: 1px solid var(--hairline); font-size: 15px; line-height: 1.6; }
.draft-note::before { content: "NOTE"; position: absolute; left: 0; top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--amber); }
.draft-note strong { color: var(--amber); font-weight: 600; }
.legal-meta { display: grid; gap: 0; margin: 0 0 40px; border-top: 1px solid var(--hairline-strong); max-width: 520px; }
.legal-meta > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; }
.legal-meta dt { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.legal-meta dd { margin: 0; color: var(--cream); text-align: right; font-variant-numeric: tabular-nums; }
.legal-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.legal-toc { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; border-top: 1px solid var(--hairline-strong); }
.legal-toc h2 { font-family: var(--mono); font-stretch: normal; font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.legal-toc ol { counter-reset: toc; }
.legal-toc li { counter-increment: toc; display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.legal-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--amber); flex: none; }
.legal-toc a { color: var(--cream); text-decoration: none; }
.legal-toc a:hover { color: var(--amber); }
.legal-doc { grid-column: 5 / span 8; max-width: 70ch; }
.legal-doc section { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-doc h2 { font-size: clamp(22px, 2.2vw, 30px); margin: 44px 0 14px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.legal-doc section:first-child h2 { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-doc h3 { font-size: 19px; margin: 24px 0 8px; }
.legal-doc .clause-number { font-family: var(--mono); font-size: .7em; letter-spacing: .08em; color: var(--amber); margin-right: 6px; vertical-align: middle; }
.legal-doc ul, .legal-doc ol { padding-left: 1.4em; margin: 0 0 1em; list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc li { margin: .35em 0; }
.legal-doc address { font-style: normal; margin-bottom: 1em; }
.legal-doc strong { color: var(--pearl); }
.to-confirm { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; background: var(--amber); color: var(--navy); padding: 0 4px; }
.legal-back { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--hairline-strong); }
.table-wrap { width: 100%; overflow-x: auto; margin: 0 0 24px; }
.table-wrap table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--hairline-strong); }
.table-wrap th, .table-wrap td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; font-size: 15px; }
.table-wrap thead th { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.table-wrap td { font-family: var(--mono); font-size: 12px; color: var(--cream); font-variant-numeric: tabular-nums; }
.legal-index tbody th a { color: var(--pearl); font-family: var(--serif); font-weight: 500; font-size: 17px; text-decoration: none; border-bottom: 2px solid var(--amber); }
.legal-index tbody th a:hover { background: var(--amber); color: var(--navy); }
.legal-index tbody th span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 400; }
.product-legal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hairline); }
.product-legal-card { padding: 24px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.product-legal-grid .product-legal-card:nth-child(3n) { border-right: 0; }
.product-legal-grid .product-legal-card:nth-last-child(-n + 3) { border-bottom: 0; }
.product-legal-card h3 { font-size: 20px; }
.product-legal-relationship { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); margin: 6px 0 12px; }
.product-legal-card ul { border-top: 1px solid var(--hairline); }
.product-legal-card li { border-bottom: 1px solid var(--hairline); }
.product-legal-card a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.product-legal-card a:hover { color: var(--amber); }
.company-facts { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: 40px; border: 1px solid var(--hairline); }
.company-facts > div { grid-column: 1 / span 6; }
.company-facts address { grid-column: 8 / span 5; font-style: normal; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--muted); }
.company-facts address strong { color: var(--cream); }
.company-facts h2 { font-size: clamp(26px, 3vw, 40px); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.contact-layout > div:first-child { grid-column: 1 / span 5; }
.contact-layout > div:first-child h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 16px; }
.contact-layout > div:first-child > p:last-child { color: var(--muted); font-size: 15px; }
.contact-layout > div:last-child { grid-column: 7 / span 6; border: 1px solid var(--hairline); padding: 32px; }
.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--pearl); background: transparent; border: 1px solid var(--hairline-strong); border-radius: 0; letter-spacing: 0; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-form button { align-self: flex-start; }
.contact-form button:disabled { cursor: wait; opacity: .68; }
.form-status { min-height: 1.5em; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.form-success { color: var(--amber); }
.form-error { color: var(--cream); border-left: 2px solid var(--amber); padding-left: 12px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--cream); }
.contact-support { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.contact-support > div { grid-column: span 6; padding: 32px; border: 1px solid var(--hairline); }
.contact-support h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.support-links { margin-top: 20px; border-top: 1px solid var(--hairline-strong); }
.support-links li { border-bottom: 1px solid var(--hairline); }
.support-links a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 10px 0; font-family: var(--serif); font-size: 17px; color: var(--pearl); text-decoration: none; }
.support-links a span { font-family: var(--mono); color: var(--amber); }
.support-links a:hover { color: var(--amber); }
.company-panel h2 { font-family: var(--mono); font-stretch: normal; font-weight: 500; font-size: 17px; letter-spacing: .04em; text-transform: none; overflow-wrap: anywhere; }
.company-panel h2 a { text-decoration: none; border-bottom: 2px solid var(--amber); }
.company-panel address { font-style: normal; margin: 16px 0; font-family: var(--mono); font-size: 12px; line-height: 1.8; color: var(--muted); }
.company-panel address strong { color: var(--cream); }

/* ---------- Responsive (templates) ---------- */
@media (max-width: 1100px) {
  .cycle-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle-list li { border-bottom: 1px solid var(--hairline); }
  .cycle-list li:nth-child(2n) { border-right: 0; }
  .cycle-list li:nth-last-child(-n + 2) { border-bottom: 0; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid .app-card:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .app-grid .app-card:nth-child(2n) { border-right: 0; }
  .app-grid .app-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--hairline); }
  .app-grid .app-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .product-legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-legal-grid .product-legal-card:nth-child(3n) { border-right: 1px solid var(--hairline); }
  .product-legal-grid .product-legal-card:nth-child(2n) { border-right: 0; }
  .product-legal-grid .product-legal-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--hairline); }
  .product-legal-grid .product-legal-card:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 900px) {
  .page-hero .band-head, .page-hero .band-data, .two-col > .col-main, .two-col > .col-side, .split > div, .case-card > div, .contact-layout > div, .contact-support > div, .company-facts > div, .company-facts address, .legal-toc, .legal-doc, .case-study aside, .case-study .legal-copy, .founder-page-grid > img, .founder-page-grid > div, .callout > div, .callout > .button, .approach-grid h2, .approach-grid .text-link, .steps article > div { grid-column: 1 / -1; }
  .steps article::before { grid-column: 1 / -1; }
  .legal-toc { position: static; max-height: none; }
  .founder-page-grid > img { max-width: 320px; }
  .callout > .button { justify-self: start; }
  .approach-grid .text-link { justify-self: start; }
  .voice-flow { grid-template-columns: 1fr; }
  .voice-flow b { text-align: center; transform: rotate(90deg); }
  .contact-layout > div:last-child { padding: 20px; }
  .contact-support > div, .company-facts { padding: 24px; }
}
@media (max-width: 600px) {
  .principle-grid, .cycle-list, .app-grid, .product-legal-grid { grid-template-columns: minmax(0, 1fr); }
  .principle-grid article, .cycle-list li, .app-grid .app-card, .product-legal-grid .product-legal-card { border-right: 0 !important; border-bottom: 1px solid var(--hairline) !important; }
  .principle-grid article:last-child, .cycle-list li:last-child, .app-grid .app-card:last-child, .product-legal-grid .product-legal-card:last-child { border-bottom: 0 !important; }
  .form-grid { grid-template-columns: 1fr; }
  .history-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 1px solid var(--hairline-strong); padding-left: 20px; }
  .history-timeline li { border-top: 0; padding: 12px 0 20px; }
  .history-timeline li::before { top: 16px; left: -24px; }
  .page-hero h1 { font-size: clamp(34px, 11vw, 56px); }
  .principle-grid article, .cycle-list li, .app-card, .product-legal-card { padding: 20px; }
  .table-wrap th, .table-wrap td { padding: 10px 10px 10px 0; }
}
@media print {
  a[href^="http"]::after { content: " (" attr(href) ")"; font-family: var(--mono); font-size: .8em; color: #555; }
  .breadcrumb-row, .legal-toc, .legal-back, .detail-actions, .form-note { display: none; }
  .callout { background: none; border: 1px solid #8A8A8A; }
  .legal-doc, .prose, .legal-copy { max-width: none; }
  .legal-layout, .two-col, .contact-layout, .case-study, .founder-page-grid { display: block; }
  .founder-page-grid > img { max-width: 200px; }
  .contact-form input, .contact-form textarea { border: 1px solid #8A8A8A; }
  .history-timeline li::before { background: #000; }
}
