@layer reset, base, layout, components, motion, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p,
  figure,
  dl,
  dd,
  ol,
  ul {
    margin: 0;
  }

  ol,
  ul {
    padding: 0;
  }

  button,
  input,
  textarea,
  select {
    font: inherit;
  }

  img,
  svg {
    display: block;
    max-width: 100%;
  }
}

@layer base {
  :root {
    color-scheme: light;
    --paper: #f7f6f0;
    --paper-soft: #efeee7;
    --white: #fffef9;
    --ink: #11131a;
    --muted: #60636c;
    --line: #d4d3cb;
    --line-strong: #1c1e26;
    --blue: #3448f0;
    --blue-dark: #2636c4;
    --signal: #dfff64;
    --coral: #ff6a47;
    --sky: #9bdbff;
    --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --shell: min(1200px, calc(100vw - 48px));
    --shadow: 0 24px 70px rgb(29 35 70 / 10%);
  }

  body {
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(rgb(17 19 26 / 7%) 0.6px, transparent 0.6px);
    background-size: 7px 7px;
    content: "";
    opacity: 0.22;
    pointer-events: none;
  }

  a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.16em;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  :focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
  }

  ::selection {
    background: var(--signal);
    color: var(--ink);
  }

  [hidden] {
    display: none !important;
  }

  code {
    font-family: var(--mono);
  }

  .shell {
    width: var(--shell);
    margin-inline: auto;
  }

  .section {
    padding-block: clamp(5rem, 9vw, 8.5rem);
    scroll-margin-top: 5rem;
  }

  .eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    color: var(--blue);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .eyebrow::before {
    width: 1.75rem;
    height: 2px;
    background: currentColor;
    content: "";
  }

  h1,
  h2 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
  }

  h2 {
    max-width: 16ch;
    font-size: clamp(2.75rem, 6vw, 5.3rem);
  }

  h3 {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
    transform: translateY(-150%);
  }

  .skip-link:focus {
    transform: translateY(0);
  }
}

@layer layout {
  .site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid transparent;
    background: rgb(247 246 240 / 84%);
    backdrop-filter: blur(18px);
  }

  .site-header.is-scrolled {
    border-color: rgb(17 19 26 / 11%);
    box-shadow: 0 8px 30px rgb(17 19 26 / 4%);
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 4.75rem;
    gap: 2rem;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 0.65rem;
    text-decoration: none;
  }

  .brand-mark {
    display: grid;
    width: 2.35rem;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--ink);
    background: var(--signal);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: -0.08em;
  }

  .brand-copy {
    display: grid;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .brand-copy strong {
    letter-spacing: 0.02em;
  }

  .brand-copy span {
    color: var(--muted);
  }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 1.7rem;
  }

  .primary-nav a,
  .header-action {
    font-size: 0.79rem;
    font-weight: 750;
    text-decoration: none;
  }

  .primary-nav a {
    position: relative;
    color: #41444c;
  }

  .primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: -0.35rem;
    left: 0;
    height: 2px;
    background: var(--blue);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
  }

  .primary-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-action {
    justify-self: end;
    padding: 0.62rem 0.9rem;
    border: 1px solid var(--ink);
    background: var(--white);
    box-shadow: 3px 3px 0 var(--ink);
  }

  .hero {
    position: relative;
    min-height: 100svh;
    padding: clamp(8.5rem, 16vh, 11rem) 0 3rem;
    overflow: hidden;
  }

  .hero-backdrop {
    position: absolute;
    z-index: -1;
    top: -24rem;
    left: 55%;
    width: 58rem;
    aspect-ratio: 1;
    border: 1px solid rgb(52 72 240 / 14%);
    border-radius: 50%;
    background: radial-gradient(circle at center, rgb(155 219 255 / 36%), transparent 62%);
  }

  .hero-backdrop::before,
  .hero-backdrop::after {
    position: absolute;
    border: 1px solid rgb(52 72 240 / 11%);
    border-radius: 50%;
    content: "";
  }

  .hero-backdrop::before {
    inset: 8rem;
  }

  .hero-backdrop::after {
    inset: 17rem;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(25rem, 0.97fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .hero h1 {
    max-width: 8.7ch;
    font-size: clamp(4.3rem, 8vw, 8rem);
  }

  .hero h1 em {
    position: relative;
    color: var(--blue);
    font-weight: inherit;
  }

  .hero h1 em::after {
    position: absolute;
    right: -0.08em;
    bottom: -0.05em;
    left: 0;
    height: 0.14em;
    background: var(--signal);
    content: "";
    transform: rotate(-1.5deg);
    z-index: -1;
  }

  .hero-intro {
    max-width: 38rem;
    margin-top: 2rem;
    color: var(--muted);
    font-size: clamp(1.1rem, 1.8vw, 1.32rem);
    line-height: 1.65;
  }

  .hero-actions,
  .about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2.2rem;
  }

  .proof-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 41rem;
    margin-top: 3.5rem;
    border-top: 1px solid var(--line);
  }

  .proof-row > div {
    padding: 1rem 1rem 0 0;
  }

  .proof-row > div + div {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .proof-row dt {
    font-family: var(--display);
    font-size: 2.3rem;
    line-height: 1;
  }

  .proof-row dd {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .system-visual {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    position: relative;
    aspect-ratio: 1;
    max-width: 40rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background:
      linear-gradient(90deg, transparent 49.8%, rgb(17 19 26 / 6%) 50%, transparent 50.2%),
      linear-gradient(transparent 49.8%, rgb(17 19 26 / 6%) 50%, transparent 50.2%),
      var(--white);
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  }

  .system-visual::before,
  .system-visual::after {
    position: absolute;
    border: 1px dashed rgb(17 19 26 / 18%);
    border-radius: 50%;
    content: "";
  }

  .system-visual::before {
    inset: 13%;
  }

  .system-visual::after {
    inset: 29%;
  }

  .system-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .system-lines path {
    fill: none;
    stroke: rgb(52 72 240 / 38%);
    stroke-dasharray: 3 10;
    stroke-linecap: round;
    stroke-width: 1.5;
  }

  .system-core {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: 30%;
    aspect-ratio: 1;
    place-content: center;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    text-align: center;
    transform: translate(-50%, -50%);
  }

  .system-core strong {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.05;
  }

  .system-core span {
    font-size: 0.65rem;
  }

  .system-core .core-kicker {
    color: var(--signal);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .skill-node,
  .orbit-note {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    background: var(--white);
    box-shadow: 3px 3px 0 var(--ink);
    font-size: clamp(0.61rem, 1vw, 0.76rem);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
  }

  .skill-node {
    min-width: 6.5rem;
    padding: 0.65rem 0.8rem;
    border-radius: 999px;
  }

  .node-product { top: 12%; left: 9%; }
  .node-web { top: 8%; right: 7%; background: var(--signal); }
  .node-engineering { bottom: 16%; left: 5%; background: var(--sky); }
  .node-delivery { bottom: 9%; right: 10%; }
  .node-growth { top: 47%; right: -2%; background: #ffd2c8; }
  .node-language { bottom: -1%; left: 39%; }

  .orbit-note {
    padding: 0.45rem 0.55rem;
    border-color: var(--line-strong);
    box-shadow: none;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.55rem;
    font-weight: 600;
    transform: rotate(-5deg);
  }

  .note-evidence { top: 34%; left: -4%; }
  .note-verify { right: 5%; bottom: 34%; transform: rotate(4deg); }

  .system-visual figcaption {
    position: absolute;
    right: 20%;
    bottom: 15%;
    left: 20%;
    color: var(--muted);
    font-size: 0.63rem;
    line-height: 1.35;
    text-align: center;
  }

  .command-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(3rem, 7vh, 5.5rem);
    padding: 1rem 1rem 1rem 1.4rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    box-shadow: 7px 7px 0 var(--signal);
    color: white;
  }

  .command-dock > div {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 1.5rem;
  }

  .command-label {
    color: var(--signal);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .command-dock code {
    overflow: hidden;
    font-size: clamp(0.67rem, 1.1vw, 0.82rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .signal-strip {
    overflow: hidden;
    padding: 0.9rem 0;
    border-block: 1px solid var(--ink);
    background: var(--signal);
  }

  .signal-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    justify-content: space-around;
    gap: 2.5rem;
    padding-inline: 2rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .signal-track i {
    width: 0.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--blue);
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 5rem;
  }

  .section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -1.5rem;
  }

  .section-heading > p:last-child,
  .library-heading > p,
  .principles-intro > p:last-child,
  .install-heading > p:last-child,
  .about-copy > p {
    max-width: 37rem;
    color: var(--muted);
    font-size: 1.08rem;
  }

  .journey {
    list-style: none;
    border-top: 1px solid var(--line-strong);
  }

  .journey-step {
    display: grid;
    grid-template-columns: 0.25fr 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-step > div {
    display: grid;
    grid-template-columns: minmax(12rem, 0.8fr) minmax(18rem, 1.2fr);
    align-items: start;
    gap: 1.5rem 3rem;
  }

  .step-number {
    font-family: var(--display);
    font-size: 3.4rem;
    line-height: 0.8;
  }

  .step-label {
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .journey h3 {
    grid-column: 1;
    max-width: 15ch;
    margin-top: 0.4rem;
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 500;
  }

  .journey h3 + p {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 35rem;
    color: var(--muted);
  }

  .step-skills {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .step-skills a {
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 0.68rem;
    font-weight: 750;
    text-decoration: none;
  }

  .flagship {
    position: relative;
    overflow: hidden;
    background: var(--blue);
    color: white;
  }

  .flagship::before {
    position: absolute;
    top: -9rem;
    right: -4rem;
    width: 30rem;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 50%;
    content: "";
  }

  .flagship-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(25rem, 1.2fr);
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
  }

  .flagship .eyebrow {
    color: var(--signal);
  }

  .flagship h2 {
    max-width: 11ch;
  }

  .flagship-copy > p:not(.eyebrow) {
    max-width: 39rem;
    margin-top: 2rem;
    color: rgb(255 255 255 / 76%);
  }

  .flagship-stats {
    display: flex;
    gap: 2rem;
    margin: 2.2rem 0;
    padding-block: 1.2rem;
    border-block: 1px solid rgb(255 255 255 / 25%);
  }

  .flagship-stats div {
    display: grid;
  }

  .flagship-stats strong {
    color: var(--signal);
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
  }

  .flagship-stats span {
    color: rgb(255 255 255 / 66%);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 850;
  }

  .route-cloud {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid rgb(255 255 255 / 28%);
    background: rgb(255 255 255 / 6%);
    transform: rotate(1.5deg);
  }

  .route {
    padding: 0.75rem 1rem;
    border: 1px solid rgb(255 255 255 / 48%);
    background: rgb(24 35 168 / 70%);
    font-size: 0.76rem;
    font-weight: 750;
    transform: rotate(-1.5deg);
  }

  .route-large {
    padding: 1rem 1.4rem;
    background: var(--signal);
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.25rem;
  }

  .route-wide { flex-basis: 43%; text-align: center; }
  .route-accent { background: var(--coral); }
  .route-accent-2 { background: var(--sky); color: var(--ink); }

  .library {
    background: var(--paper-soft);
  }

  .library-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 4rem;
  }

  .library-heading h2 {
    max-width: 14ch;
  }

  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 3.5rem 0 2rem;
  }

  .filter-bar button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.8rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
  }

  .filter-bar button span {
    display: grid;
    min-width: 1.35rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: rgb(17 19 26 / 8%);
    font-size: 0.62rem;
  }

  .filter-bar button[aria-pressed="true"] {
    background: var(--ink);
    color: white;
  }

  .filter-bar button[aria-pressed="true"] span {
    background: var(--signal);
    color: var(--ink);
  }

  .skill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--ink);
    background: var(--ink);
  }

  .skill-card {
    position: relative;
    display: flex;
    min-height: 20rem;
    flex-direction: column;
    padding: 1.6rem;
    overflow: hidden;
    background: var(--white);
  }

  .skill-card::after {
    position: absolute;
    right: -2.2rem;
    bottom: -2.2rem;
    width: 7rem;
    aspect-ratio: 1;
    border: 1px solid rgb(17 19 26 / 10%);
    border-radius: 50%;
    content: "";
  }

  .skill-card-feature {
    grid-column: span 2;
    background: var(--signal);
  }

  .card-topline {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .skill-card h3 {
    max-width: 13ch;
    margin-top: auto;
    padding-top: 3rem;
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 500;
  }

  .skill-card p {
    max-width: 32rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.88rem;
  }

  .skill-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
    list-style: none;
  }

  .skill-card li {
    padding: 0.28rem 0.5rem;
    border: 1px solid rgb(17 19 26 / 25%);
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 750;
  }

  .skill-card > a {
    align-self: flex-start;
    margin-top: 1.4rem;
    font-size: 0.72rem;
    font-weight: 850;
  }

  .principles-grid {
    display: grid;
    grid-template-columns: minmax(20rem, 0.75fr) minmax(28rem, 1.25fr);
    gap: clamp(4rem, 10vw, 10rem);
  }

  .principles-intro {
    position: sticky;
    top: 8rem;
    align-self: start;
  }

  .principles-intro h2 {
    max-width: 10ch;
  }

  .principles-intro > p:last-child {
    margin-top: 2rem;
  }

  .principle-list {
    list-style: none;
    border-top: 1px solid var(--line-strong);
  }

  .principle-list li {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-list li > span {
    color: var(--blue);
    font-family: var(--display);
    font-size: 1.5rem;
  }

  .principle-list p {
    max-width: 36rem;
    margin-top: 0.65rem;
    color: var(--muted);
  }

  .install {
    border-block: 1px solid var(--ink);
    background: var(--sky);
  }

  .install-heading {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: end;
    gap: 3rem;
  }

  .install-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -1rem;
    color: var(--ink);
  }

  .install-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 4rem;
  }

  .install-card {
    display: flex;
    min-height: 27rem;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--ink);
    background: var(--white);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .install-card-heading,
  .install-card-heading > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
  }

  .method-number {
    color: var(--blue);
    font-family: var(--display);
    font-size: 1.5rem;
  }

  .method-badge {
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: var(--signal);
    font-size: 0.63rem;
    font-weight: 850;
  }

  .install-card > p {
    max-width: 35rem;
    margin-top: 1.5rem;
    color: var(--muted);
  }

  .code-block {
    position: relative;
    display: flex;
    min-height: 9rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding: 1.35rem 4.5rem 1.35rem 1.35rem;
    overflow: auto;
    background: var(--ink);
    color: white;
  }

  .code-block code {
    font-size: 0.74rem;
    line-height: 1.8;
    white-space: pre-wrap;
  }

  .code-block .copy-button {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
  }

  .code-block-multiline {
    min-height: 11rem;
  }

  .install-card .method-note {
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: 0.72rem;
  }

  .method-note code {
    padding: 0.12rem 0.3rem;
    background: var(--paper-soft);
    color: var(--ink);
  }

  .install-footer {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgb(17 19 26 / 35%);
    font-size: 0.85rem;
    font-weight: 750;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 0.45fr 1.55fr;
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
  }

  .about-mark {
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--ink);
    background: var(--signal);
    box-shadow: 12px 12px 0 var(--ink);
    font-family: var(--display);
    font-size: clamp(4rem, 12vw, 9rem);
    letter-spacing: -0.12em;
  }

  .about-copy h2 {
    max-width: 12ch;
  }

  .about-copy > p {
    margin-top: 2rem;
  }

  .site-footer {
    padding-block: 3.5rem;
    border-top: 1px solid var(--ink);
    background: var(--ink);
    color: white;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }

  .footer-brand .brand-mark {
    border-color: white;
    color: var(--ink);
  }

  .footer-brand .brand-copy span {
    color: rgb(255 255 255 / 58%);
  }

  .footer-grid > div:first-child > p {
    max-width: 34rem;
    margin-top: 1.25rem;
    color: rgb(255 255 255 / 62%);
    font-size: 0.82rem;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.6rem 2rem;
    align-content: start;
  }

  .footer-links a {
    font-size: 0.75rem;
    font-weight: 750;
  }

  .copyright {
    grid-column: 1 / -1;
    padding-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 18%);
    color: rgb(255 255 255 / 48%);
    font-size: 0.67rem;
  }
}

@layer components {
  .button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ink);
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
  }

  .button-primary {
    background: var(--ink);
    color: white;
    box-shadow: 5px 5px 0 var(--signal);
  }

  .button-secondary {
    background: var(--white);
    color: var(--ink);
  }

  .copy-button {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgb(255 255 255 / 35%);
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 800;
  }
}

@layer motion {
  .site-header,
  .primary-nav a::after,
  .header-action,
  .button,
  .filter-bar button,
  .skill-card,
  .skill-card > a,
  .copy-button,
  .system-visual {
    transition-duration: 180ms;
    transition-property: background-color, border-color, color, box-shadow, transform;
    transition-timing-function: ease-out;
  }

  .header-action:hover,
  .button:hover {
    transform: translate(-2px, -2px);
  }

  .button-secondary:hover {
    background: var(--signal);
  }

  .copy-button:hover {
    border-color: var(--signal);
    color: var(--signal);
  }

  .filter-bar button:hover {
    background: var(--white);
  }

  .filter-bar button[aria-pressed="true"]:hover {
    background: var(--ink);
  }

  .skill-card:hover {
    z-index: 2;
    box-shadow: inset 0 0 0 4px var(--blue);
    transform: translateY(-4px);
  }

  .skill-card-feature:hover {
    box-shadow: inset 0 0 0 4px var(--ink);
  }

  .skill-card > a:hover {
    color: var(--blue);
    transform: translateX(4px);
  }

  .system-lines path {
    animation: signal-flow 14s linear infinite;
  }

  .skill-node {
    animation: node-float 5s ease-in-out infinite alternate;
  }

  .node-web,
  .node-delivery {
    animation-delay: -1.5s;
  }

  .node-engineering,
  .node-language {
    animation-delay: -3s;
  }

  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease-out, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes signal-flow {
    to { stroke-dashoffset: -140; }
  }

  @keyframes node-float {
    to { translate: 0 -7px; }
  }
}

@layer responsive {
  @media (max-width: 980px) {
    :root {
      --shell: min(100% - 36px, 760px);
    }

    .header-inner {
      grid-template-columns: 1fr auto;
    }

    .primary-nav {
      display: none;
    }

    .hero {
      min-height: auto;
      padding-top: 8rem;
    }

    .hero-grid,
    .section-heading,
    .flagship-grid,
    .library-heading,
    .principles-grid,
    .install-heading,
    .about-grid {
      grid-template-columns: 1fr;
    }

    .hero-copy {
      position: relative;
      z-index: 2;
    }

    .system-visual {
      width: min(100%, 38rem);
      margin-inline: auto;
    }

    .section-heading .eyebrow,
    .install-heading .eyebrow {
      margin-bottom: 0;
    }

    .journey-step > div {
      grid-template-columns: 1fr;
    }

    .journey h3 + p,
    .step-skills {
      grid-column: 1;
      grid-row: auto;
    }

    .flagship-grid {
      gap: 4rem;
    }

    .skill-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .principles-intro {
      position: static;
    }

    .install-heading {
      gap: 1.5rem;
    }

    .about-grid {
      grid-template-columns: minmax(12rem, 0.45fr) 1fr;
    }
  }

  @media (max-width: 680px) {
    :root {
      --shell: calc(100% - 28px);
    }

    .section {
      padding-block: 4.5rem;
    }

    .brand-copy,
    .header-action span {
      display: none;
    }

    .header-action {
      padding: 0.55rem 0.7rem;
    }

    .hero h1 {
      font-size: clamp(3.6rem, 17vw, 5.2rem);
    }

    .hero-actions,
    .about-actions {
      align-items: stretch;
      flex-direction: column;
    }

    .button {
      width: 100%;
    }

    .proof-row {
      gap: 0;
    }

    .proof-row dt {
      font-size: 1.8rem;
    }

    .system-visual {
      width: calc(100% - 8px);
    }

    .system-core {
      width: 34%;
    }

    .skill-node {
      min-width: auto;
      padding: 0.5rem 0.58rem;
      font-size: 0.56rem;
    }

    .orbit-note,
    .system-visual figcaption {
      display: none;
    }

    .command-dock,
    .command-dock > div {
      align-items: flex-start;
      flex-direction: column;
    }

    .command-dock code {
      overflow: visible;
      text-overflow: clip;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .signal-track {
      justify-content: flex-start;
    }

    .section-heading,
    .library-heading,
    .principles-grid,
    .about-grid {
      gap: 2.5rem;
    }

    .about-grid {
      grid-template-columns: 1fr;
    }

    .journey-step {
      grid-template-columns: 1fr;
    }

    .step-number {
      font-size: 2.4rem;
    }

    .route-cloud {
      padding: 1.4rem;
      transform: none;
    }

    .route-wide {
      flex-basis: auto;
    }

    .library-heading {
      align-items: start;
    }

    .filter-bar {
      flex-wrap: nowrap;
      margin-inline: -14px;
      padding-inline: 14px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .filter-bar button {
      flex: none;
    }

    .skill-grid,
    .install-grid {
      grid-template-columns: 1fr;
    }

    .skill-card-feature {
      grid-column: auto;
    }

    .skill-card {
      min-height: 18rem;
    }

    .install-card {
      min-height: auto;
    }

    .install-card-heading {
      align-items: flex-start;
    }

    .install-footer,
    .footer-grid {
      align-items: flex-start;
      flex-direction: column;
      grid-template-columns: 1fr;
    }

    .about-mark {
      width: min(14rem, 65vw);
    }

    .footer-links {
      grid-template-columns: repeat(2, 1fr);
    }

    .copyright {
      grid-column: 1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }

    .reveal-ready .reveal {
      opacity: 1;
      transform: none;
    }
  }

  @media (forced-colors: active) {
    .brand-mark,
    .button,
    .header-action,
    .command-dock,
    .skill-card,
    .install-card,
    .about-mark,
    .filter-bar button {
      border: 2px solid ButtonText;
      box-shadow: none;
    }

    .system-visual {
      border: 2px solid CanvasText;
    }
  }

  @media print {
    .site-header,
    .hero-backdrop,
    .signal-strip,
    .copy-button,
    .filter-bar {
      display: none;
    }

    .hero {
      min-height: auto;
      padding-top: 2rem;
    }

    .section {
      padding-block: 2rem;
      break-inside: avoid;
    }
  }
}
