/* Thompson Axiomata LLC — Brent Alexander Thompson */
/* Homepage hero: full-bleed dark band, graph behind the headline (hero-graph.js). */
.hx { --hx-accent: var(--dark-accent); position: relative; overflow: hidden; display: grid; grid-template-rows: 1fr auto; min-height: max(600px, calc(100svh - 6.5rem)); background: radial-gradient(90% 85% at 72% 38%, #1a3a3e 0%, #13222b 48%, var(--dark) 100%); color: #fff; }
html[data-header="alt"] .hx { margin-top: -74px; padding-top: 74px; }
.hx-graph { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, var(--dark) 0%, #10192000 24%), linear-gradient(90deg, #101920f2 0%, #101920b3 38%, #10192000 68%); }
.hx-copy, .hx-steps { position: relative; z-index: 2; }
.hx-copy { align-self: end; padding-block: 5rem 3rem; }
.hx .eyebrow { color: var(--hx-accent); }
.hx h1 { max-width: 16ch; margin: 0; color: #fff; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.8rem); line-height: 1.04; min-height: 3.12em; }
.hx .typewriter-accent { color: var(--hx-accent); }
.hx .typewriter-cursor { background: var(--hx-accent); }
.hx .lead { max-width: 52ch; margin-top: var(--space-3); color: var(--dark-muted); }
.hx .btn--ghost { color: #fff; border-color: #ffffff73; }
.hx .btn--ghost:hover { background: #ffffff14; color: #fff; }
.hx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 1.2rem 2.2rem; }
.hx-step { border-top: 1px solid var(--dark-rule); padding-top: 0.9rem; font-size: 0.92rem; }
.hx-step strong { display: block; margin-bottom: 0.2rem; color: var(--hx-accent); font-weight: 600; }
.hx-step span { color: var(--dark-muted); }

.hx-f { stroke: #8fa0a8; stroke-opacity: 0.16; }
.hx-fn { fill: #8fa0a8; fill-opacity: 0.35; }
.hx-field { animation: hx-drift 30s ease-in-out infinite alternate; }
@keyframes hx-drift { to { transform: translate(-22px, 12px); } }

.hx-scene { opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0s 0.6s; }
.hx-scene.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s; }
.hx-tie { stroke: var(--hx-accent); stroke-opacity: 0.22; stroke-dasharray: 3 5; }
.hx-e { fill: none; stroke: var(--hx-accent); stroke-width: 1.6; stroke-opacity: 0.85; stroke-dasharray: 1; }
.hx-flow { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 0.03 0.97; opacity: 0; }
.hx-n circle { fill: #101920; stroke: var(--hx-accent); stroke-width: 2; }
.hx-n.core circle { r: 8; fill: var(--hx-accent); }
.hx-n.end circle { fill: #fff; stroke: #fff; }
.hx-lab rect { fill: #101920d9; stroke: #54d1c966; }
.hx-n.core .hx-lab rect { fill: var(--hx-accent); stroke: none; }
.hx-lab text { fill: #e8eef0; font: 500 13px var(--font-sans); }
.hx-n.core .hx-lab text { fill: #0d2b2a; }
.hx-scene.is-on .hx-e { animation: hx-draw 0.8s ease-out both; animation-delay: var(--d, 0ms); }
.hx-scene.is-on .hx-flow { animation: hx-flow 3.2s linear infinite; animation-delay: calc(var(--d, 0ms) + 0.9s); }
.hx-scene.is-on .hx-n { animation: hx-pop 0.5s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes hx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hx-flow { from { stroke-dashoffset: 1; opacity: 0.9; } to { stroke-dashoffset: 0; opacity: 0.9; } }
@keyframes hx-pop { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 760px) {
  .hx::before { background: linear-gradient(0deg, #101920f5 0%, #101920cc 50%, #10192066 100%); }
  .hx-lab { display: none; }
  .hx-steps { grid-template-columns: 1fr; gap: 0.9rem; }
  .hx-copy { padding-block: 4rem 2rem; }
  .hx h1 { min-height: 4.16em; }
}
@media (max-width: 600px) { html[data-header="alt"] .hx { margin-top: -70px; padding-top: 70px; } }

/* Standards strip joins the hero and the dark stack section into one band. */
.hx + .strip { background: var(--dark); padding-block: 0.4rem 1rem; }
.hx + .strip ul { color: var(--dark-muted); }
.hx + .strip li:hover { color: var(--dark-accent); }
/* Thompson Axiomata LLC — Brent Alexander Thompson */
