/* ORE by Supply Foundry
   Same family, grid and buttons as Supply Foundry. ORE's own voice: graphite and slag, copper and
   molten highlights, verdigris (copper patina) as the bridge to Supply Foundry green, condensed headlines. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../../fonts/archivo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../../fonts/archivo-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 {
  --slag: #121820;
  --deep: #0c1117;
  --raised: #1a222c;
  --line: #242e3a;
  --line-2: #33404d;
  --text: #e8ebee;
  --text-2: #c2c9d0;
  --steel: #9aa4af;
  --silver: #c9d0d6;
  --copper: #c86a2b;
  --copper-btn: #b35a1f;
  --copper-ink: #9e4f1a;
  --molten: #f0a060;
  --patina: #74bfa9;
  --ash: #ecece8;
  --ash-2: #dfe0da;
  --ink: #121820;
  --ink-2: #3b4550;
  --forest: #174a3d;
  --pine: #0d2b24;
  --paper: #f4f5f1;
  --hivis: #f2c230;
  --hot: #e0604a;

  --font: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --narrow: 80%;
  --label: 88%;
  --radius: 14px;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--slag);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--slag);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--copper); color: #fff; }
h1, h2, h3 { font-weight: 740; font-stretch: var(--narrow); letter-spacing: -0.008em; line-height: 1.02; text-wrap: balance; }
h3 { font-stretch: 92%; letter-spacing: 0; line-height: 1.2; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--molten); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--paper); color: var(--ink); border-radius: 8px; font-weight: 650; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- buttons (same geometry as Supply Foundry) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.3rem;
  border: 1.5px solid transparent; border-radius: 10px;
  font-size: .98rem; font-weight: 660; font-stretch: 100%; line-height: 1.15;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-copper { background: var(--copper-btn); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }
.btn-copper:hover { background: #9e4f1a; }
.btn-line { border-color: rgba(232, 235, 238, .32); color: var(--text); }
.btn-line:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.btn-line--dark { border-color: rgba(18, 24, 32, .3); color: var(--ink); }
.btn-line--dark:hover { border-color: var(--ink); background: rgba(18, 24, 32, .05); }
.btn-line--paper { border-color: rgba(244, 245, 241, .45); color: var(--paper); }
.btn-signal { background: var(--hivis); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn-signal:hover { background: #f6cf4d; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--forest); }
.btn-block { width: 100%; }

/* ---------- parent strip: the Supply Foundry link at the top of every ORE page ---------- */
.parent-strip { background: var(--forest); color: var(--paper); font-size: .84rem; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.strip-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.strip-brand img { width: 16px; height: auto; }
.strip-brand strong { font-weight: 700; }
.strip-links { display: flex; gap: 1.4rem; }
.strip-links a { text-decoration: none; color: rgba(244, 245, 241, .85); }
.strip-links a:hover, .strip-brand:hover span { text-decoration: underline; text-decoration-color: var(--hivis); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 10px clamp(.6rem, 2vw, 1.5rem) 0; pointer-events: none; }
.header-bar {
  pointer-events: auto; position: relative;
  max-width: 1360px; margin: 0 auto; min-height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .5rem .5rem 1rem;
  border-radius: var(--radius);
  background: rgba(18, 24, 32, .78);
  border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow .3s, background-color .3s;
}
.is-scrolled .header-bar { background: rgba(18, 24, 32, .92); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .8); }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a:not(.btn) { padding: .55rem .75rem; border-radius: 8px; font-size: .94rem; font-weight: 560; color: var(--text-2); text-decoration: none; transition: color .2s, background-color .2s; }
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--copper); border-radius: 8px 8px 2px 2px; }
.nav-cta { margin-left: .5rem; min-height: 44px; padding: .6rem 1.05rem; font-size: .93rem; }
.menu-toggle { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: .5rem .9rem; border: 1.5px solid rgba(255, 255, 255, .2); border-radius: 10px; background: transparent; font-weight: 620; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-bottom: 1rem;
  font-size: .82rem; font-weight: 680; font-stretch: var(--label); letter-spacing: .045em;
  color: var(--molten);
}
.eyebrow::before { content: ''; width: 22px; height: 6px; border-radius: 1px; background: linear-gradient(90deg, var(--silver) 50%, var(--copper) 50%); flex: none; }
.lede { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.actions--center { justify-content: center; }
.text-link { display: inline-block; margin-top: 1.4rem; font-weight: 650; color: var(--molten); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { color: #fff; }

/* ================================================================
   Heroes
   ================================================================ */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 55% 70% at 78% 40%, rgba(200, 106, 43, .17), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 0%, rgba(116, 191, 169, .08), transparent 70%),
    var(--slag);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  mask: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.7rem); line-height: .96; margin-bottom: 1.5rem; }
.hero--page h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.accent {
  display: block;
  background: linear-gradient(90deg, var(--silver) 0%, #e3b48f 38%, var(--copper) 62%, var(--molten) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-visual { position: relative; }
.ring-canvas { width: 100%; aspect-ratio: 1; max-width: 640px; margin: -2rem auto; }
.hero-copy--wide { max-width: 52rem; }
.hero-copy--wide .lede { max-width: 44rem; }
.hero--compact { padding-bottom: 2.5rem; }
.hero-grid--page { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.sources { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: .8rem 2rem; }
.sources p { font-size: .82rem; font-weight: 640; font-stretch: var(--label); letter-spacing: .04em; color: var(--steel); }
.sources ul { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.sources li { font-size: .95rem; font-weight: 640; font-stretch: 92%; color: var(--text-2); }

.subnav { display: flex; gap: .4rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1rem; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 580; color: var(--text-2); text-decoration: none; transition: border-color .2s, color .2s; }
.subnav a:hover { border-color: var(--copper); color: var(--text); }

/* ================================================================
   Sections
   ================================================================ */
.sec { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.sec--ash { background: var(--ash); color: var(--ink); }
.sec--ash .eyebrow { color: var(--copper-ink); }
.sec--ash .eyebrow::before { background: linear-gradient(90deg, #7c8792 50%, var(--copper) 50%); }
.sec--ash .lede, .sec--ash .sec-head p, .sec--ash .split-copy > p { color: var(--ink-2); }
.sec--ash .text-link { color: var(--copper-ink); }
.sec--deep {
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--deep);
}
.sec-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.sec-head h2, .split-copy h2, .principle-copy h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); margin-bottom: 1.1rem; }
.sec-head p { font-size: 1.08rem; color: var(--text-2); max-width: 42rem; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.sec-head--row h2 { margin-bottom: 0; }

/* ---------- product window (mock) ---------- */
.mock {
  position: relative;
  background: #0f151c;
  color: var(--text);
  border: 1px solid #2a3440;
  border-radius: 16px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-bottom: 1px solid #222b36; font-family: var(--mono); font-size: .76rem; color: var(--steel); }
.mock-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ring-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; background: conic-gradient(from 180deg, var(--copper) 0 50%, var(--silver) 50% 100%); -webkit-mask: radial-gradient(circle, transparent 2.8px, #000 3.3px); mask: radial-gradient(circle, transparent 2.8px, #000 3.3px); }
.mock-tag { flex: none; padding: .12rem .5rem; border: 1px solid rgba(240, 160, 96, .35); border-radius: 999px; color: var(--molten); font-size: .7rem; font-family: var(--font); font-weight: 620; letter-spacing: .02em; }
.mock-body { padding: 1.3rem 1.3rem 1.4rem; }
.mock-sub { font-size: .82rem; font-weight: 620; color: var(--steel); margin-bottom: .9rem; }
.mock-q { font-size: .92rem; color: var(--steel); margin-bottom: .5rem; }
.mock-q::before { content: 'You asked  '; color: var(--molten); font-weight: 650; font-size: .78rem; }
.mock-a { font-size: 1rem; line-height: 1.5; color: var(--text); margin: .9rem 0; }
.mock-a strong { color: #fff; }
.mock-meta { margin-top: .9rem; font-family: var(--mono); font-size: .72rem; color: #7f8a95; }
.up { color: var(--patina); font-weight: 700; }
.down { color: #f08a72; }
.sec--ash .mock { box-shadow: 0 40px 70px -40px rgba(18, 24, 32, .7); }

.term { font-family: var(--mono); font-size: .9rem; display: grid; gap: .1rem; counter-reset: t; }
.term li { position: relative; padding: .45rem 0 .45rem 1.6rem; color: var(--text-2); }
.term li::before { content: ''; position: absolute; left: .35rem; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.term li::after { content: ''; position: absolute; left: .1rem; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #0f151c; border: 1.5px solid var(--line-2); }
.term li:first-child::before { top: 50%; }
.term li:last-child::before { bottom: 50%; }
.term .t-copper { color: var(--molten); }
.term .t-copper::after { background: var(--copper); border-color: var(--copper); }
.term .t-patina { color: var(--patina); }
.term .t-patina::after { background: var(--patina); border-color: var(--patina); }
.t-dim { color: var(--steel); }
.t-bright { color: #fff; }
.t-note { margin-left: .5rem; padding: .05rem .45rem; border-radius: 4px; background: rgba(255, 255, 255, .06); font-size: .72rem; color: var(--steel); }

/* ---------- charts ---------- */
.chart { width: 100%; height: auto; overflow: visible; }
.c-label { font-size: 11.5px; fill: var(--steel); font-family: var(--font); }
.c-value { font-size: 12px; font-weight: 650; fill: var(--text); font-family: var(--font); }
.c-track { fill: rgba(255, 255, 255, .06); }
.c-bar { fill: var(--steel); transform-box: fill-box; transform-origin: left center; }
.c-bar--hot { fill: var(--hot); }
.c-bar--warm { fill: var(--molten); }
.c-bar--cool { fill: #6b7785; }
.c-bar--ok { fill: var(--patina); }
.c-mark { fill: #fff; }
.c-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.c-band { fill: rgba(240, 160, 96, .16); }
.c-line { fill: none; stroke: var(--silver); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.c-line--fc { stroke: var(--molten); stroke-dasharray: 5 5; }
.c-split { stroke: rgba(255, 255, 255, .18); stroke-dasharray: 2 4; }
.c-dot { fill: var(--molten); }
.is-active .c-bar, .is-in .c-bar { animation: grow .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes grow { from { transform: scaleX(0); } }
.legend { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.2rem; font-size: .76rem; color: var(--steel); }
.legend i { display: inline-block; }
.lg-bar { width: 14px; height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--hot), var(--molten)); }
.lg-mark { width: 2.5px; height: 12px; background: #fff; border-radius: 1px; }
.lg-line { width: 16px; height: 2px; background: var(--silver); }
.lg-line--fc { background: repeating-linear-gradient(90deg, var(--molten) 0 4px, transparent 4px 7px); }

/* ================================================================
   Ask demo
   ================================================================ */
.ask { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.ask-list { display: grid; gap: .6rem; }
.ask-q {
  display: flex; align-items: center; gap: .9rem; width: 100%;
  padding: 1rem 1.1rem; text-align: left;
  font-size: 1.02rem; font-weight: 620; line-height: 1.35; color: var(--ink);
  background: #fff; border: 1px solid var(--ash-2); border-radius: 12px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.ask-q:hover { border-color: #b7b9b1; transform: translateX(3px); }
.ask-q-mark { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid #b7b9b1; transition: border-color .25s, background .25s; }
.ask-q[aria-selected="true"] { background: var(--slag); color: #fff; border-color: var(--slag); transform: none; }
.ask-q[aria-selected="true"] .ask-q-mark { border-color: var(--copper); background: radial-gradient(circle, var(--molten) 0 3px, transparent 3.5px); }
.ask-stage { position: relative; }
.answer { background: var(--slag); color: var(--text); border-radius: 18px; border: 1px solid #2a3440; box-shadow: 0 40px 70px -40px rgba(18, 24, 32, .8); overflow: hidden; }
.js .answer:not(.is-active) { display: none; }
.answer + .answer { margin-top: 1rem; }
.js .answer + .answer { margin-top: 0; }
.answer-body { padding: 1.5rem 1.6rem 1.6rem; }
.answer-q { font-size: .92rem; color: var(--steel); margin-bottom: .7rem; }
.answer-q::before { content: 'You asked'; display: block; margin-bottom: .15rem; font-size: .74rem; font-weight: 680; letter-spacing: .04em; color: var(--molten); }
.answer-lead { font-size: 1.12rem; line-height: 1.55; color: var(--text-2); }
.answer-lead strong { color: #fff; font-weight: 650; }
.answer-chart { margin: 1.4rem 0 1.2rem; padding: 1.1rem 1.1rem .9rem; background: rgba(255, 255, 255, .025); border: 1px solid #222b36; border-radius: 12px; }
.answer-chart figcaption { margin-top: .6rem; }
.answer-action { padding: .85rem 1rem; border-left: 3px solid var(--copper); background: rgba(200, 106, 43, .1); border-radius: 0 10px 10px 0; font-size: .96rem; color: var(--text); }
.answer-action span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--molten); margin-bottom: .15rem; }
.answer-meta { margin-top: 1rem; font-family: var(--mono); font-size: .72rem; color: #7f8a95; }
.js .answer.is-active .answer-body > * { animation: rise .55s var(--ease) both; }
.js .answer.is-active .answer-body > :nth-child(2) { animation-delay: .06s; }
.js .answer.is-active .answer-body > :nth-child(3) { animation-delay: .12s; }
.js .answer.is-active .answer-body > :nth-child(4) { animation-delay: .2s; }
.js .answer.is-active .answer-body > :nth-child(5) { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ================================================================
   Principle pipeline
   ================================================================ */
.principle { background: var(--slag); }
.principle-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.principle-copy { position: sticky; top: 110px; }
.principle-copy p { font-size: 1.08rem; color: var(--text-2); }
.principle-copy p + p { margin-top: 1rem; }
.pipe { position: relative; display: grid; gap: .5rem; }
.pipe::before { content: ''; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--line-2), var(--copper) 50%, var(--patina) 80%, var(--line-2)); }
.pipe::after {
  content: ''; position: absolute; left: 9px; top: 18px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--molten); box-shadow: 0 0 0 4px rgba(240, 160, 96, .2), 0 0 18px var(--molten);
  animation: travel 5.5s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes travel { 0% { top: 18px; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 28px); opacity: 0; } }
.pipe-step { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 1.1rem; padding: .9rem 1rem .9rem 0; }
.pipe-node { width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: var(--slag); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.pipe-step h3 { font-size: 1.15rem; margin-bottom: .2rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.pipe-step p { font-size: .96rem; color: var(--steel); }
.pipe-step--computes, .pipe-step--interprets { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding-left: .6rem; margin-left: -.6rem; }
.pipe-step--computes .pipe-node { border-color: var(--copper); background: radial-gradient(circle, var(--copper) 0 6px, var(--slag) 6.5px); }
.pipe-step--interprets .pipe-node { border-color: var(--patina); background: radial-gradient(circle, var(--patina) 0 6px, var(--slag) 6.5px); }
.pipe-tag { padding: .1rem .5rem; border-radius: 999px; font-size: .72rem; font-weight: 700; font-stretch: 100%; letter-spacing: .04em; }
.pipe-tag--computes { background: rgba(200, 106, 43, .2); color: var(--molten); }
.pipe-tag--interprets { background: rgba(116, 191, 169, .16); color: var(--patina); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: none; }
.step { position: relative; padding: 1.6rem 0 0; border-top: 1px solid var(--line-2); }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--copper); }
.step-no { display: block; font-size: 3.4rem; font-weight: 780; font-stretch: 75%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--molten); margin-bottom: 1rem; }
.step h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.step p { color: var(--steel); font-size: .98rem; }

/* ---------- features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feat { padding: 1.6rem 1.5rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .4s var(--ease); }
.feat:hover { border-color: rgba(200, 106, 43, .55); transform: translateY(-3px); }
.icon { width: 40px; height: 40px; margin-bottom: 1.2rem; fill: none; stroke: var(--molten); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.feat p { font-size: .97rem; color: var(--steel); }
.feat--flat { background: transparent; }

/* ---------- where it fits ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fit { display: flex; flex-direction: column; padding: 1.5rem; background: #fff; border: 1px solid var(--ash-2); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.fit:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(18, 24, 32, .5); }
.fit .icon { stroke: var(--copper); }
.fit h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.fit-q { margin-top: auto; padding: .7rem .85rem; border-radius: 12px 12px 12px 4px; background: var(--slag); color: var(--text); font-size: .9rem; line-height: 1.45; }

/* ---------- Supply Foundry band ---------- */
.sf-band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, .025) 22px 44px), var(--forest); color: var(--paper); }
.sf-band-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.sf-band-logo { display: block; border-radius: 6px; }
.sf-band-logo img { width: 150px; }
.sf-band h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-stretch: 120%; font-weight: 800; letter-spacing: -0.02em; margin-bottom: .6rem; }
.sf-band p { color: rgba(244, 245, 241, .82); max-width: 40rem; }
.sf-band .actions { margin-top: 0; flex-direction: column; align-items: stretch; }

/* ---------- closing CTA ---------- */
.cta { padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(200, 106, 43, .16), transparent 70%), var(--slag); }
.cta-inner { max-width: 50rem; }
.cta-ring { display: block; width: 64px; height: 64px; margin: 0 auto 1.8rem; border-radius: 50%; background: conic-gradient(from 180deg, var(--copper) 0 50%, var(--silver) 50% 100%); -webkit-mask: radial-gradient(circle, transparent 22px, #000 23px); mask: radial-gradient(circle, transparent 22px, #000 23px); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); margin-bottom: 1rem; }
.cta p { font-size: 1.1rem; color: var(--text-2); max-width: 36rem; margin: 0 auto; }

/* ================================================================
   Platform page pieces
   ================================================================ */
.hero-visual--mock .mock { max-width: 460px; margin-left: auto; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.three article { padding: 1.7rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--ash-2); }
.three-no { display: block; font-size: 2.6rem; font-weight: 780; font-stretch: 75%; line-height: 1; color: var(--copper); margin-bottom: 1rem; }
.three h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.three p { color: var(--ink-2); font-size: .98rem; }

.kind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2rem; }
.kind { padding: 1.5rem 0 1.7rem; border-top: 1px solid var(--line-2); }
.kind h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.kind p { color: var(--steel); font-size: .98rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split--top { align-items: start; }
.split--flip > :first-child { order: 2; }
.split-copy > p { font-size: 1.08rem; color: var(--text-2); }
.split-copy > p + p { margin-top: 1rem; }
.ticks { display: grid; gap: .9rem; margin-top: 1.6rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--text-2); font-size: 1rem; }
.ticks li strong { color: var(--text); font-weight: 680; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(200, 106, 43, .18); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: calc(.2em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--molten); border-bottom: 2px solid var(--molten); transform: rotate(-45deg); }
.sec--ash .ticks li { color: var(--ink-2); }
.sec--ash .ticks li strong { color: var(--ink); }
.sec--ash .ticks li::after { border-color: var(--copper-ink); }

.feed { display: grid; gap: .5rem; }
.feed li { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: .8rem; align-items: start; padding: .8rem .9rem; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid #1f2832; }
.feed strong { font-size: .88rem; }
.feed p { font-size: .88rem; color: var(--steel); line-height: 1.45; }
.feed-time { font-family: var(--mono); font-size: .72rem; color: #7f8a95; }
.sev { display: inline-flex; justify-content: center; padding: .15rem .5rem; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.sev--critical { background: rgba(224, 96, 74, .16); color: #f08a72; }
.sev--high { background: rgba(240, 160, 96, .16); color: var(--molten); }
.sev--medium { background: rgba(232, 195, 90, .14); color: #e8c35a; }
.sev--info { background: rgba(116, 191, 169, .14); color: var(--patina); }
.sev--done { background: rgba(255, 255, 255, .06); color: var(--steel); }

.thread { display: grid; gap: .7rem; }
.msg { padding: .85rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid #1f2832; }
.msg--reply { margin-left: 1.5rem; }
.msg--system { border-left: 3px solid var(--copper); }
.msg-who { font-size: .84rem; font-weight: 680; margin-bottom: .2rem; }
.msg-who span { font-weight: 450; color: var(--steel); }
.msg-text { font-size: .95rem; color: var(--text-2); line-height: 1.5; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: .6rem; }
.kpis div { padding: .75rem .8rem; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid #1f2832; }
.kpis dt { font-size: .74rem; color: var(--steel); margin-bottom: .2rem; }
.kpis dd { font-size: 1.5rem; font-weight: 760; font-stretch: 80%; line-height: 1.1; }
.kpis--sm { margin: 1rem 0 0; }
.kpis--sm dd { font-size: 1.2rem; }

.tickets { display: grid; gap: .4rem; }
.tickets li { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .65rem .8rem; border-radius: 10px; background: rgba(255, 255, 255, .025); border: 1px solid #1f2832; font-size: .9rem; }
.tickets code { font-family: var(--mono); font-size: .75rem; color: var(--steel); }
.tickets .is-done span:not(.sev) { color: var(--steel); text-decoration: line-through; }

.doc { padding: 1.3rem 1.3rem 1.1rem; background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.doc-h { font-size: 1.2rem; font-weight: 760; font-stretch: 80%; padding-bottom: .6rem; margin-bottom: .8rem; border-bottom: 3px solid var(--copper); }
.doc-k { font-size: .72rem; font-weight: 700; letter-spacing: .05em; color: var(--copper-ink); margin: .6rem 0 .2rem; }
.doc-t { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.doc-list { display: flex; flex-wrap: wrap; gap: .35rem; }
.doc-list li { padding: .15rem .5rem; border-radius: 4px; background: var(--ash-2); font-size: .78rem; font-weight: 600; }
.doc-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 1rem; padding-top: .6rem; border-top: 1px solid var(--ash-2); }
.doc-bars span { flex: 1; height: var(--h); background: linear-gradient(var(--copper), #e0874a); border-radius: 3px 3px 0 0; }

.modules { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.mod-tabs { display: grid; gap: .4rem; }
.mod-tab { display: grid; gap: .15rem; width: 100%; padding: .95rem 1.1rem; text-align: left; background: transparent; border: 1px solid transparent; border-left: 3px solid var(--line-2); border-radius: 4px 12px 12px 4px; cursor: pointer; transition: background-color .25s, border-color .25s; }
.mod-tab:hover { background: rgba(255, 255, 255, .03); }
.mod-name { font-size: 1.2rem; font-weight: 740; font-stretch: 85%; }
.mod-sub { font-size: .88rem; color: var(--steel); }
.mod-tab[aria-selected="true"] { background: var(--raised); border-color: var(--line); border-left-color: var(--copper); }
.mod-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.8rem; align-items: start; padding: 1.8rem; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; }
.js .mod-panel:not(.is-active) { display: none; }
.mod-panel + .mod-panel { margin-top: 1rem; }
.js .mod-panel + .mod-panel { margin-top: 0; }
.mod-copy h3 { font-size: 1.9rem; font-stretch: 80%; margin-bottom: .6rem; }
.mod-copy p { color: var(--text-2); }
.js .mod-panel.is-active > * { animation: rise .5s var(--ease) both; }
.js .mod-panel.is-active > :nth-child(2) { animation-delay: .08s; }

.data-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.data-list li { padding: 1.4rem 1.2rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--ash-2); border-top: 3px solid var(--copper); }
.data-list h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.data-list p { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

/* ================================================================
   Solutions and about
   ================================================================ */
.op-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.op { padding: clamp(1.5rem, 3vw, 2.2rem); background: #fff; border: 1px solid var(--ash-2); border-radius: 18px; }
.op-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.op-head .icon { margin: 0; stroke: var(--copper); width: 44px; height: 44px; flex: none; }
.op h3 { font-size: 1.7rem; }
.op-sub { font-size: .88rem; font-weight: 640; color: var(--copper-ink); }
.op > p { color: var(--ink-2); }
.bubbles { display: grid; gap: .45rem; margin-top: 1.3rem; justify-items: start; }
.bubbles li { padding: .55rem .85rem; border-radius: 12px 12px 12px 4px; background: var(--slag); color: var(--text); font-size: .9rem; line-height: 1.4; }

.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prob { position: relative; padding: 1.6rem 1.5rem 1.6rem 1.6rem; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.prob::before { content: ''; position: absolute; left: 0; top: 1.6rem; width: 3px; height: 1.6rem; background: var(--copper); }
.prob h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.prob p { color: var(--steel); font-size: .97rem; }

.why-list { display: grid; gap: 0; }
.why-list li { padding: 1.3rem 0; border-top: 1px solid var(--line-2); }
.why-list li:last-child { border-bottom: 1px solid var(--line-2); }
.why-list h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.why-list p { color: var(--steel); }
.why-list--light li { border-color: #cfd0c9 !important; }
.why-list--light p { color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stats div { padding: 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--ash-2); }
.stats dt { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 780; font-stretch: 78%; line-height: 1.05; color: var(--copper-ink); margin-bottom: .4rem; }
.stats dd { color: var(--ink-2); font-size: .95rem; }

.vm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.vm article { padding: clamp(1.6rem, 3vw, 2.4rem); background: var(--raised); border: 1px solid var(--line); border-radius: 18px; }
.vm h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-stretch: 80%; margin-bottom: .8rem; }
.vm p:not(.eyebrow) { color: var(--text-2); }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.value { padding-top: 1.3rem; border-top: 2px solid var(--copper); }
.value h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.value p { color: var(--steel); font-size: .97rem; }

/* ================================================================
   Contact, thanks and 404
   ================================================================ */
.hero--contact { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.contact-copy h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.contact-list { margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.contact-list dt { font-size: .78rem; font-weight: 680; letter-spacing: .05em; color: var(--steel); margin-bottom: .1rem; }
.contact-list dd { font-size: 1.15rem; font-weight: 600; }
.contact-list a { text-decoration: none; background: linear-gradient(var(--copper), var(--copper)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; }
.contact-list a:hover { color: var(--molten); }
.expect { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.expect h2 { font-size: 1.4rem; font-stretch: 90%; }
.expect .ticks { margin-top: 1rem; }
.form-card { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.form-card h2 { font-size: 2rem; margin-bottom: .4rem; }
.form-intro { font-size: .92rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 640; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; font-size: 1rem; line-height: 1.4; background: #fff; border: 1.5px solid #c9ccc3; border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23121820' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9da39a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(200, 106, 43, .25); }
.form-note { margin-top: .9rem; font-size: .85rem; color: var(--ink-2); text-align: center; }

.hero--simple { min-height: calc(100vh - 110px); display: flex; align-items: center; text-align: center; }
.simple { max-width: 46rem; }
.simple .lede { margin: 0 auto; }
.simple .lede a { color: var(--molten); }
.simple-ring { display: block; width: 88px; height: 88px; margin: 0 auto 2rem; border-radius: 50%; background: conic-gradient(from 180deg, var(--copper) 0 50%, var(--silver) 50% 100%); -webkit-mask: radial-gradient(circle, transparent 30px, #000 31px); mask: radial-gradient(circle, transparent 30px, #000 31px); animation: spin 14s linear infinite; }
.big-code { font-size: clamp(6rem, 20vw, 13rem); font-weight: 800; font-stretch: 70%; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(240, 160, 96, .45); margin-bottom: 1.5rem; }

/* ================================================================
   Footer
   ================================================================ */
.site-footer { background: var(--deep); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 3rem; }
.footer-brand img { width: 170px; }
.footer-brand p { margin-top: 1rem; color: var(--steel); font-size: .94rem; }
.footer-col { display: grid; gap: .55rem; justify-items: start; align-content: start; font-size: .94rem; }
.footer-col h2 { font-size: .8rem; font-weight: 700; font-stretch: var(--label); letter-spacing: .05em; color: var(--molten); margin-bottom: .35rem; }
.footer-col a { text-decoration: none; color: var(--text-2); overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 3px; }
.footer-col span { color: var(--steel); }
.footer-parent { background: var(--pine); color: rgba(244, 245, 241, .82); }
.footer-parent-inner { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .88rem; }
.footer-sf { display: block; border-radius: 6px; }
.footer-sf img { width: 110px; }
.footer-parent-inner p:first-of-type { flex: 1; min-width: 16rem; }

/* ---------- reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1180px) {
  .feat-grid--4, .fit-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .data-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .sf-band-grid { grid-template-columns: auto minmax(0, 1fr); }
  .sf-band .actions { grid-column: 1 / -1; flex-direction: row; }
  .mod-panel { grid-template-columns: 1fr; }
}

@media (max-width: 959px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: .15rem;
    padding: .6rem; border-radius: var(--radius);
    background: rgba(18, 24, 32, .98); border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  }
  .menu-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem .9rem; font-size: 1.02rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--copper); border-radius: 4px 8px 8px 4px; }
  .nav-cta { margin: .4rem 0 0; }
  .strip-links a:first-child { display: none; }

  .hero-grid, .hero-grid--page, .principle-grid, .split, .ask, .modules, .contact-grid { grid-template-columns: 1fr; }
  .hero--home .hero-visual { order: -1; max-width: 420px; width: 100%; margin: -1rem auto -2rem; }
  .ring-canvas { margin: 0 auto; }
  .hero-visual--mock .mock { margin: 0; }
  .principle-copy { position: static; }
  .split--flip > :first-child { order: 0; }
  .feat-grid, .kind-grid, .prob-grid, .three, .op-grid, .vm { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mod-tabs { grid-auto-flow: column; grid-auto-columns: minmax(12rem, 1fr); overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
  .mod-tab { border-left: 1px solid transparent; border-bottom: 3px solid var(--line-2); border-radius: 12px 12px 4px 4px; }
  .mod-tab[aria-selected="true"] { border-left-color: var(--line); border-bottom-color: var(--copper); }
}

@media (max-width: 640px) {
  .brand img { height: 30px; }
  .strip-inner { font-size: .8rem; }
  .strip-links { gap: 1rem; }
  .feat-grid, .feat-grid--4, .kind-grid, .prob-grid, .three, .op-grid, .vm, .fit-grid, .value-grid, .steps, .stats, .data-list, .form-grid { grid-template-columns: 1fr; }
  .sf-band-grid { grid-template-columns: 1fr; }
  .sf-band .actions { flex-direction: column; }
  .feed li { grid-template-columns: 1fr auto; }
  .feed li .sev { grid-column: 1 / -1; justify-self: start; }
  .tickets li { grid-template-columns: 1fr auto; }
  .tickets code { grid-column: 1 / -1; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; }
  .kpis dd { font-size: 1.15rem; }
  .answer-body { padding: 1.2rem; }
  .actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .pipe::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* hover lifts survive the reveal */
.js .feat.reveal.is-in:hover { transform: translateY(-3px); transition-delay: 0s; }
.js .fit.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
.ask-note { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid #cfd0c9; font-size: .98rem; color: var(--ink-2); }
.sec--ash .ask-side .text-link { margin-top: .8rem; }

/* charts are drawn in a 460-unit box; on narrow screens enlarge the type so it stays readable */
@media (max-width: 640px) {
  .chart .c-label { font-size: 16px; }
  .chart .c-value { font-size: 16px; }
  .sf-band-logo img { width: 120px; }
}
