@font-face {
  font-family: PortfolioSymbols;
  src: url("symbols.ttf") format("truetype");
  unicode-range: U+2160-216F, U+2190-2199, U+25B7, U+2300-23FF;
}

:root {
  color-scheme: dark;
  --ink: #f1f2fc;
  --muted: #b0b4c8;
  --dim: #959bb2;
  --lavender: #c1a8ff;
  --aqua: #70e6d8;
  --line: #323549;
  --bg: #090b12;
  --surface: #10131e;
  --sans: Inter, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
::selection { color: #120e22; background: #c8b3ff; }
[hidden] { display: none !important; }
.wrap { width: min(88%, 1312px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 5; padding: 12px; color: #161126; background: var(--lavender); }
.print-name { display: none; }

.masthead { border-bottom: 1px solid #252738; background: #0b0d16; }
.masthead-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; letter-spacing: -.045em; }
.brand-mark { display: inline-flex; align-items: center; gap: 3px; width: 26px; height: 28px; transform: skew(-20deg); }
.brand-mark i { display: block; width: 5px; height: 11px; border-radius: 2px; background: var(--lavender); }
.brand-mark i:nth-child(2) { height: 23px; background: #a1a9ff; }
.brand-mark i:nth-child(3) { height: 17px; background: var(--aqua); }
nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
nav a, .connect { font-size: 13px; font-weight: 550; color: #c1c4d6; }
nav a { padding-block: 8px; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--aqua); }
.connect, .primary, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 13px; }
.connect { border: 1px solid #383b50; border-radius: 100px; padding: 10px 16px; color: var(--ink); }
.connect:hover { border-color: var(--lavender); }
.arrow { display: inline-block; position: relative; width: 13px; height: 1.5px; background: currentColor; flex: none; }
.arrow::after { content: ""; position: absolute; top: 50%; right: 0; width: 6px; height: 6px; border-right: 1.5px solid; border-top: 1.5px solid; transform: translateY(-50%) rotate(45deg); }
.arrow.ne { transform: rotate(-45deg); }
.arrow.down { transform: rotate(90deg); }

.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 81% 51%, #211d40 0, #131324 29%, transparent 68%), #0a0c14; }
.hero-inner { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; min-height: clamp(470px, 39vw, 610px); padding-block: clamp(52px, 5vw, 86px); }
.intro { position: relative; z-index: 1; }
.eyebrow, .overline, .node-label, .proof-list dt, .kind, .job > small, .stackgroup > small, .evidence dt { font: 600 10.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: #bec2e8; }
.accent-line { width: 23px; height: 2px; flex: none; background: linear-gradient(90deg,var(--aqua),#a591ff); }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1 { margin: 23px 0 20px; font-size: clamp(58px, 6.6vw, 109px); line-height: .99; letter-spacing: -.075em; font-weight: 700; }
h1 em { font-style: normal; background: linear-gradient(100deg,#e9dfff 2%,#b59fee 52%,#9ba9ff 98%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.intro-copy { color: #c5c8da; max-width: 475px; font-size: clamp(16px, 1.12vw, 19px); line-height: 1.62; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.primary { min-height: 45px; padding: 11px 20px; color: #151021; background: #c9b1ff; border: 1px solid #d7c5ff; border-radius: 7px; font-size: 14px; font-weight: 700; transition: background .15s, transform .15s; }
.primary:hover { background: #dfd0ff; transform: translateY(-1px); }
.text-link { padding: 10px 0; color: #d7d9eb; border: 0; background: none; font-size: 14px; font-weight: 650; }
.graphic { position: absolute; z-index: 0; inset: 0 -5% 0 46%; isolation: isolate; }
.field-grid { position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: radial-gradient(#a3a0c652 .8px, transparent 1px), radial-gradient(ellipse at 55% 55%,#6550b531,transparent 65%); background-size: 19px 19px, cover; mask-image: radial-gradient(ellipse, #000 22%, transparent 73%); }
#signal { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.motion { position: absolute; right: 4%; bottom: 6%; width: 38px; height: 38px; display: grid; place-content: center; border: 1px solid #51506a; border-radius: 50%; color: #ddd7f0; background: #15131e; font: 14px PortfolioSymbols, var(--sans); }
.motion:hover { border-color: var(--lavender); }

.proof-band { border-block: 1px solid #292c40; background: linear-gradient(98deg,#11141e,#12131f 60%,#141322); }
.proof-list { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-block: 24px; }
.proof-list > div { position: relative; padding-right: clamp(16px, 3vw, 48px); }
.proof-list > div + div { padding-left: clamp(18px, 3vw, 48px); border-left: 1px solid #343447; }
.proof-list dt { color: var(--dim); font-size: 9.5px; }
.proof-list dd { margin-top: 5px; font-size: clamp(24px, 2.55vw, 39px); font-weight: 650; letter-spacing: -.063em; line-height: 1.14; }
.proof-list dd span { font-weight: 500; }
.proof-list .metric-arrow { color: var(--aqua); }
.proof-list dd.proof-caption { margin-top: 6px; max-width: 34ch; color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }

.section { padding-top: clamp(54px, 5.6vw, 91px); }
.section > h2, .contact h2 { margin: 10px 0 14px; font-size: clamp(36px, 4.15vw, 67px); font-weight: 640; line-height: 1.035; letter-spacing: -.063em; text-wrap: balance; }
.section > h2 span, .contact h2 span { color: var(--lavender); }
.section .lead { max-width: 76ch; margin-bottom: 25px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.wide-break { display: none; }
.caseboard { border: 1px solid #3a3e56; border-radius: 15px; overflow: hidden; background: var(--surface); }
.case-head { display: flex; gap: 20px; justify-content: space-between; align-items: end; padding: 23px clamp(18px, 2.4vw, 36px); border-bottom: 1px solid #32354a; background: linear-gradient(100deg,#181b2a,#151825); }
.overline { color: #a5aaca; font-size: 9.5px; }
.case-head h3 { margin-top: 5px; font-size: clamp(19px, 1.8vw, 28px); letter-spacing: -.039em; font-weight: 620; line-height: 1.2; }
.case-instruction { color: #adb3cf; font: 11px/1.5 var(--mono); text-align: right; }
.interactive-only { display: none; }
.js-workflow .case-instruction { display: block; }
.flow-map {
  --gap: clamp(16px, 2.8vw, 44px);
  --half-gap: calc(var(--gap) / 2);
  --wire: #686f92;
  --node-height: 68px;
  display: none;
  grid-template-columns: 1fr 1fr 1.03fr 1fr;
  gap: var(--gap);
  align-items: center;
  padding: 30px clamp(18px, 2.6vw, 40px);
  background-image: radial-gradient(#7e83a137 .8px, transparent 1px), linear-gradient(110deg,#121725,#121523 50%,#171524);
  background-size: 16px 16px, cover;
  border-bottom: 1px solid #32354a;
}
.js-workflow .flow-map { display: grid; }
.route-node { position: relative; min-height: var(--node-height); min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: start; text-align: left; gap: 4px; padding: 11px clamp(10px, 1.2vw, 20px); border: 1px solid #535974; border-radius: 7px; background: #191f2f; transition: border-color .15s, background .15s, box-shadow .15s; }
.node-label { display: inline-flex; align-items: center; gap: 7px; color: #b1b8d3; font-size: 9px; letter-spacing: .095em; }
.node-label::before { content: ""; width: 5px; height: 5px; border: 1px solid #8993b7; border-radius: 50%; }
.route-node strong { font-size: clamp(14px, 1.18vw, 18px); line-height: 1.2; letter-spacing: -.025em; }
.route-node:hover { border-color: #c3a5ff; background: #232539; }
.route-node[aria-pressed="true"] { border-color: #bea3ff; background: linear-gradient(112deg,#35304c,#25253b); box-shadow: 0 0 0 1px #bda3ff28, 0 0 22px #a87bff15; }
.route-node[aria-pressed="true"] .node-label { color: #ddcaff; }
.route-node[aria-pressed="true"] .node-label::before { border-color: #d5c0ff; background: #d5c0ff; box-shadow: 0 0 8px #bb9cff; }
.process-node .node-label, .verify-node .node-label { color: #9edbd8; }
.process-node .node-label::before, .verify-node .node-label::before { border-color: #81c8be; }
.branches { position: relative; display: grid; gap: 14px; }
.incident-node::after, .problem-node::after, .verify-node::before { content: ""; position: absolute; top: 50%; height: 1px; pointer-events: none; background: var(--wire); }
.incident-node::after { left: calc(100% + 1px); width: var(--gap); }
.problem-node::after { left: calc(100% + 1px); width: var(--half-gap); }
.verify-node::before { right: calc(100% + 1px); width: var(--half-gap); }
.branches::before, .branches::after { content: ""; position: absolute; pointer-events: none; top: calc(var(--node-height) / 2); bottom: calc(var(--node-height) / 2); width: var(--half-gap); border: 1px solid var(--wire); }
.branches::before { right: 100%; border-right: 0; border-radius: 7px 0 0 7px; }
.branches::after { left: 100%; border-left: 0; border-radius: 0 7px 7px 0; }

.stage-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 3vw, 50px); padding: clamp(20px, 2.5vw, 38px); }
.stage-detail + .stage-detail { border-top: 1px solid var(--line); }
.js-workflow .stage-detail { border-top: 0; animation: stage-enter .18s ease-out; }
@keyframes stage-enter { from { opacity: .55; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.stage-detail .overline { color: var(--aqua); }
.stage-detail h4 { margin: 8px 0; font-size: clamp(21px, 1.9vw, 29px); font-weight: 620; letter-spacing: -.04em; line-height: 1.2; }
.stage-detail p:not(.overline), .evidence dd, .job p, .card p, dialog p { color: var(--muted); font-size: 15px; line-height: 1.62; }
.evidence { padding-left: clamp(18px, 2vw, 32px); border-left: 1px solid var(--line); }
.evidence > div + div { margin-top: 13px; }
.evidence dt { margin-bottom: 3px; font-size: 9px; color: #b6bad4; }
.evidence dd { color: #d0d4e3; font-size: 14px; }

.stage-actions { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.stage-actions.interactive-only { display: none; }
.js-workflow .stage-actions.interactive-only { display: flex; }
.stage-actions button, .stage-actions a { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; border: 0; background: transparent; color: #cdbbfb; font-size: 13px; font-weight: 600; }
.stage-actions button:hover, .stage-actions a:hover { color: var(--aqua); }
.change-sample { margin: 15px 0 0; border: 1px solid #353d54; border-radius: 6px; overflow: hidden; background: #0d111a; }
.change-sample figcaption { padding: 7px 12px; color: #b4bfd6; background: #1a1e2c; border-bottom: 1px solid #353d54; font: 10px/1.4 var(--mono); }
.change-sample pre { margin: 0; padding: 8px 0; font-size: 12px; overflow-x: auto; }
.change-sample code span { display: block; padding: 2px 12px; font-family: var(--mono); }
.change-sample .removed { color: #e6baae; background: #41282b55; }
.change-sample .added { color: #a1e8d6; background: #183e3255; }
.handoff-sample > div { display: grid; grid-template-columns: 43px 1fr; gap: 9px; padding: 8px 12px; color: #c3cbdc; font-size: 12px; line-height: 1.45; }
.handoff-sample b { font: 11px/1.55 var(--mono); color: #aba2bb; }
.handoff-sample > div:last-child { background: #183e3255; }
.handoff-sample > div:last-child b { color: #a1e8d6; }
.model-inputs { margin: 0; padding: 0; min-width: 0; border: 0; }

.calculator { display: grid; grid-template-columns: 1.12fr 1fr; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); overflow: hidden; }
#impact-form, .results { padding: clamp(20px, 2.6vw, 38px); }
.calc-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.calc-heading h3 { font-size: 21px; letter-spacing: -.04em; font-weight: 650; }
.reset { padding: 6px 0 6px 8px; border: 0; background: transparent; color: #c4b1f4; font-size: 12px; }
.reset:hover { text-decoration: underline; }
.assumptions { width: 100%; border-collapse: collapse; table-layout: fixed; }
.assumptions thead td { width: 53%; }
.assumptions thead th { text-align: left; font: 500 11px var(--mono); color: var(--dim); }
.assumptions tbody tr { border-bottom: 1px solid #292d3e; }
.assumptions th, .assumptions td { padding: 7px 6px; }
.assumptions tbody th { padding-left: 0; font-weight: 550; font-size: 14px; text-align: left; }
.assumptions small, .cost-fields small { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--dim); line-height: 1.4; }
input { color: var(--ink); padding: 8px 10px; border: 1px solid #42475f; border-radius: 5px; background: #0c101a; }
input:focus { border-color: var(--lavender); }
input[type="number"] { width: 100%; min-width: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
input[aria-invalid="true"] { border-color: #f4b69d; }
.cost-assumptions { margin-top: 17px; }
.cost-assumptions summary { color: #cbc3e9; font-size: 13px; cursor: pointer; padding: 4px 0; }
.cost-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-block: 14px 10px; }
.cost-fields label { font-size: 13px; }
.cost-fields input { margin-top: 5px; }
.cost-assumptions p { color: var(--dim); font-size: 12px; line-height: 1.5; }
.results { border-left: 1px solid #3a3d56; background: radial-gradient(ellipse at 98% 0,#2e2845,transparent 64%), linear-gradient(120deg,#191c2c,#171b29); }
.results .overline { color: #c4b2f6; }
.capacity { display: flex; gap: 6px; align-items: baseline; margin: 9px 0 0; color: var(--aqua); font-variant-numeric: tabular-nums; line-height: 1; }
.capacity strong { font-weight: 620; font-size: clamp(48px, 4.6vw, 74px); letter-spacing: -.065em; }
.capacity > span { font: 400 24px/1 var(--mono); }
.capacity-label { color: #dde4ec; font-size: 14px; margin-top: 4px; }
.comparison { margin-block: 21px; display: grid; gap: 8px; }
.bar-row { display: grid; grid-template-columns: 48px 1fr minmax(43px,auto); align-items: center; gap: 12px; font: 11px var(--mono); color: #bfc6db; }
.bar-row b { font-weight: 500; text-align: right; }
.bar-track { height: 6px; overflow: hidden; border-radius: 5px; background: #2e3347; }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: #b9a5f5; transition: width .18s; }
#after-bar { width: 50%; background: var(--aqua); }
.return { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding-top: 16px; border-top: 1px solid #3b4056; }
.return dt { color: #b6bed2; font-size: 12px; }
.return dd { font-size: clamp(24px, 2vw, 36px); letter-spacing: -.05em; font-weight: 600; margin-top: 3px; overflow-wrap: anywhere; }
.projection-note { font-size: 11px; line-height: 1.5; color: #aab2c9; margin-top: 12px; }
.results[data-state="invalid"] .capacity, .results[data-state="negative"] .capacity { color: #edbdaa; }

.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 24px; }
.card { display: flex; flex-direction: column; align-items: start; width: 100%; padding: clamp(18px, 2vw, 30px); text-align: left; background: linear-gradient(125deg,#1a1c2c,#10131c); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: #9c8cbd; transform: translateY(-2px); }
.cardtop { display: flex; justify-content: space-between; width: 100%; align-items: center; }
.glyph { font: 30px/1 PortfolioSymbols, var(--mono); color: var(--lavender); }
.kind { color: #a9aec8; font-size: 9px; }
.card h3, .job h3, dialog h2 { font-size: clamp(22px,1.8vw,29px); letter-spacing: -.047em; line-height: 1.2; }
.card h3 { margin-top: 23px; }
.card p { margin: 8px 0 18px; }
.read { margin-top: auto; font: 600 13px PortfolioSymbols,var(--sans); color: #ccb9fa; }
.job { display: grid; grid-template-columns: minmax(120px,22%) minmax(0,1fr); gap: 18px; padding-block: 23px; border-top: 1px solid var(--line); }
.job:first-of-type { margin-top: 24px; }
.job > small { color: #a1a9c1; font-size: 10px; padding-top: 3px; }
.job strong { color: #cdb9f7; font-size: 15px; font-weight: 550; line-height: 1.5; display: block; margin: 5px 0 6px; }
.job p { max-width: 77ch; }
.stacksearch { display: grid; gap: 6px; max-width: 440px; margin-top: 16px; font-size: 13px; }
.stacksearch input { padding: 11px 14px; }
#skillcount { margin: 10px 0 14px; color: #adb5cd; font: 11px var(--mono); }
.stackgrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr)); gap: 14px; }
.stackgroup { padding: 21px; border: 1px solid var(--line); border-radius: 9px; background: #111520; }
.stackgroup > small { color: #b4a3da; font-size: 9px; }
.stackgroup h3 { font-size: 20px; letter-spacing: -.038em; margin: 6px 0 14px; }
.stackgroup ul { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; padding: 0; margin: 0; }
.stackgroup li { font-size: 13px; line-height: 1.45; color: #cbd1e1; padding: 4px 7px; border: 1px solid #394052; border-radius: 4px; }
.contact { margin-top: clamp(55px,5vw,80px); background: radial-gradient(ellipse at 85% 110%,#2c2444,transparent 65%), #11141e; border-block: 1px solid var(--line); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 39px; }
.contact h2 { margin-bottom: 0; }
.contact .actions { margin: 0; }
footer { display: flex; justify-content: space-between; padding-block: 24px; font: 11px var(--mono); color: #aab1c9; }
dialog { color: var(--ink); border: 1px solid #68617c; background: #151723; border-radius: 12px; padding: clamp(22px,3vw,38px); width: min(560px,92vw); max-height: 85vh; }
dialog::backdrop { background: #04060bd9; }
dialog h2 { margin: 14px 0; }
dialog h3 { color: #cfb9ff; font-size: 15px; margin: 18px 0 5px; }
dialog small { font: 10px var(--mono); color: var(--aqua); letter-spacing: .08em; }
#close { float: right; color: #ded7f2; padding: 7px 10px; border: 1px solid #575265; border-radius: 5px; background: #201e2c; }

@media (min-width: 1450px) { .intro-copy { max-width: 510px; } }
@media (max-width: 860px) {
  .wrap { width: 91%; }
  .masthead-inner { gap: 14px; }
  nav { gap: 14px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; }
  .intro-copy { max-width: 41ch; }
  .flow-map { --gap: 18px; padding-inline: 16px; }
  .stage-detail { gap: 18px; }
  .case-instruction { max-width: 150px; }
  .assumptions thead td { width: 49%; }
  .cards { gap: 10px; }
  .contact-inner { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .wrap { width: 89%; }
  .masthead-inner { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding-block: 14px 9px; }
  .brand { font-size: 17px; }
  .connect { grid-column: 2; grid-row: 1; padding: 8px 12px; }
  nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: 8px; }
  nav a { font-size: 12px; padding: 5px 0; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 36px 0 0; }
  h1 { font-size: clamp(56px,10.3vw,76px); margin: 17px 0 14px; }
  .intro-copy { max-width: 50ch; font-size: 16px; }
  .actions { gap: 20px; margin-top: 20px; }
  .graphic { position: relative; inset: auto; height: clamp(188px,52vw,270px); margin: -2px -4vw 0; }
  .motion { right: 3%; bottom: 7%; }
  .proof-list { padding-block: 16px; gap: 0; }
  .proof-list > div { padding: 0 8px 0 0; }
  .proof-list > div + div { padding-left: 10px; }
  .proof-list dt { font-size: 8px; line-height: 1.45; letter-spacing: .06em; }
  .proof-list dd { font-size: clamp(17px,4.6vw,25px); line-height: 1.2; }
  .proof-list dd.proof-caption { font-size: 10.5px; line-height: 1.4; }
  .section .lead { font-size: 15px; }
  .case-head { display: block; padding: 18px; }
  .case-instruction { max-width: none; text-align: left; padding-top: 8px; }
  .flow-map { --node-height: 53px; --gap: 20px; grid-template-columns: 1fr; gap: var(--gap); padding: 20px 22px; }
  .route-node { min-height: var(--node-height); padding: 8px 12px; align-items: center; text-align: center; gap: 2px; }
  .branches { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .incident-node::after, .problem-node::after { left: 50%; top: calc(100% + 1px); width: 1px; }
  .incident-node::after { height: var(--gap); }
  .problem-node::after { height: var(--half-gap); }
  .verify-node::before { right: auto; left: 50%; top: auto; bottom: calc(100% + 1px); width: 1px; height: var(--half-gap); }
  .branches::before, .branches::after { left: calc(25% - 3px); right: calc(25% - 3px); width: auto; height: var(--half-gap); border: 1px solid var(--wire); }
  .branches::before { top: auto; bottom: 100%; border-bottom: 0; border-radius: 6px 6px 0 0; }
  .branches::after { top: 100%; bottom: auto; border-top: 0; border-radius: 0 0 6px 6px; }
  .stage-detail { grid-template-columns: 1fr; }
  .evidence { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .calculator { grid-template-columns: 1fr; }
  .results { border-left: 0; border-top: 1px solid #3a3d56; }
  input[type="number"], input[type="search"] { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card h3 { margin-top: 12px; }
  .job { grid-template-columns: 1fr; gap: 5px; }
  .contact-inner { display: block; }
  .contact .actions { margin-top: 15px; }
}
@media (max-width: 370px) {
  .brand { gap: 7px; }
  .proof-list dd.proof-caption { font-size: 10px; }
  .assumptions thead td { width: 45%; }
  .cost-fields { grid-template-columns: 1fr; }
  nav a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  @page { margin: 14mm; }
  * { background: white !important; color: #121212 !important; box-shadow: none !important; text-shadow: none !important; }
  .wrap { width: 100%; }
  .masthead, .graphic, .actions, .proof-band, .caseboard, #impact, .accent-line, .stacksearch, #skillcount, .skip, footer, dialog, .read, .cardtop, .contact button { display: none !important; }
  .hero-inner { display: block; min-height: 0; padding: 0; }
  .hero .eyebrow { display: none; }
  .print-name { display: block; font-size: 26pt; }
  h1 { font-size: 15pt; letter-spacing: -.03em; margin: 0 0 4pt; }
  h1 br { display: none; }
  h1 em::before { content: " "; }
  .intro-copy, .section .lead, .job p, .card p { font-size: 10pt; line-height: 1.35; max-width: none; margin: 2pt 0; }
  .section { padding-top: 9pt; }
  .section > h2 { font-size: 16pt; margin: 2pt 0 4pt; }
  .section .eyebrow { display: none; }
  .cards, .stackgrid { display: block; margin-top: 0; }
  .card, .job, .stackgroup, .stackgroup[hidden] { display: block !important; break-inside: avoid; border: 0; padding: 2pt 0; }
  .job:first-of-type { margin-top: 0; }
  .job h3, .card h3, .stackgroup h3 { font-size: 12pt; margin: 0; }
  .job strong, .stackgroup li { font-size: 9.5pt; }
  .job > small, .stackgroup > small { font-size: 7pt; }
  .stackgroup ul { display: block; }
  .stackgroup li, .stackgroup li[hidden] { display: inline !important; padding: 0; border: 0; }
  .stackgroup li:not(:last-child)::after { content: " · "; }
  .contact { margin: 9pt 0 0; border: 0; }
  .contact-inner, .contact .actions { display: block; padding: 0; margin: 0; }
  .contact h2, .contact .eyebrow, .contact .arrow { display: none; }
  .contact a { padding: 0; border: 0; }
  .contact a::after { content: " · linkedin.com/in/brandonktaylor"; }
}
