@layer reset, base, layout, components, utilities;

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

  html {
    overflow-x: clip;
    scroll-behavior: smooth;
  }

  body,
  h1,
  h2,
  h3,
  p {
    margin: 0;
  }

  body {
    min-width: 320px;
  }

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

  a {
    color: inherit;
    text-decoration: none;
  }

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

@layer base {
  :root {
    --ink: #0b0d10;
    --ink-soft: #12161a;
    --paper: #eeeade;
    --paper-bright: #f8f5ec;
    --muted: #999e9a;
    --line: rgba(238, 234, 222, 0.16);
    --line-dark: rgba(11, 13, 16, 0.2);
    --signal: #f0522d;
    --signal-bright: #ff7655;
    --signal-deep: #a73720;
    --acid: #d6ff42;
    --steel: #91a79f;
    --steel-panel: #b5c0ba;
    --content-max: 112rem;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --frame-padding: max(var(--gutter), calc((100vw - var(--content-max)) / 2));
    --display: "Syne", sans-serif;
    --mono: "IBM Plex Mono", monospace;
  }

  body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 0.94rem;
    line-height: 1.65;
    overflow-x: hidden;
  }

  body::before {
    background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.014) 0,
      rgba(255, 255, 255, 0.014) 1px,
      transparent 1px,
      transparent 4px
    );
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 90;
  }

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

  :focus-visible {
    outline: 2px solid var(--acid);
    outline-offset: 5px;
  }

  code {
    color: var(--signal-deep);
    font-family: var(--mono);
    font-size: 0.9em;
  }

  h1,
  h2,
  h3 {
    font-family: var(--display);
    line-height: 0.95;
  }

  h2 {
    font-size: clamp(3.2rem, 7.8vw, 8rem);
    letter-spacing: -0.065em;
  }
}

@layer layout {
  .site-header,
  .hero,
  .section,
  .signal-ticker,
  .contact-section,
  .site-footer {
    width: 100%;
    margin-inline: auto;
  }

  .site-header {
    align-items: center;
    background: rgba(10, 12, 15, 0.86);
    border-bottom: 1px solid var(--line);
    display: flex;
    height: 88px;
    justify-content: space-between;
    padding-inline: var(--frame-padding);
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    backdrop-filter: blur(14px);
    transition: background-color 180ms ease, box-shadow 180ms ease;
  }

  .site-header.is-scrolled {
    background: rgba(10, 12, 15, 0.96);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  }

  .hero {
    min-height: 920px;
    padding: 140px var(--frame-padding) 3.5rem;
    position: relative;
    overflow: hidden;
  }

  .hero-meta {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
  }

  .hero-copy {
    margin-top: clamp(5rem, 10vh, 9rem);
    position: relative;
    z-index: 2;
  }

  .hero-bottom {
    align-items: end;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(280px, 0.78fr) 1.22fr;
    margin: 2.5rem 0 0 28%;
  }

  .hero-proof {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(4rem, 9vh, 8rem);
    position: relative;
    z-index: 2;
  }

  .section {
    padding: clamp(6rem, 11vw, 11rem) var(--frame-padding);
  }

  .section-heading {
    align-items: end;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1.3fr 0.7fr;
    margin-bottom: clamp(4rem, 8vw, 8rem);
  }

  .research-section,
  .work-section {
    background: var(--paper);
    color: var(--ink);
  }

  .experience-section {
    background:
      linear-gradient(135deg, rgba(238, 234, 222, 0.3), transparent 58%),
      var(--steel-panel);
    color: var(--ink);
  }

  .ctf-section {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  .ctf-panel {
    background: var(--signal);
    color: var(--ink);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 700px;
  }

  .ctf-copy {
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 5vw, 5rem);
  }

  .scoreboard {
    background: var(--ink-soft);
    color: var(--paper);
    margin: 1rem;
    padding: clamp(1.5rem, 4vw, 4rem);
  }

  .project-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: 1.25fr 0.75fr;
  }

  .about-layout {
    display: grid;
    gap: 6rem;
    grid-template-columns: 1.2fr 0.8fr;
  }

  .contact-section {
    background:
      radial-gradient(circle at 12% 82%, rgba(240, 82, 45, 0.2), transparent 34%),
      var(--paper);
    color: var(--ink);
    display: grid;
    gap: 6rem;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 720px;
    padding: clamp(5rem, 9vw, 9rem) var(--frame-padding);
    position: relative;
    overflow: hidden;
  }

  .site-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 100px;
    padding: 1.5rem var(--frame-padding);
  }
}

@layer components {
  .site-header,
  .hero-meta,
  .hero .eyebrow,
  .hero-proof,
  .proof-standard span,
  .signal-ticker,
  .button,
  .text-link,
  .experience-duration,
  .ctf-roster,
  .scoreboard-head,
  .score-row span,
  .score-row strong,
  .score-row small,
  .team-journey > article > span,
  .console-topbar,
  .console-footer,
  .console-sequence,
  .console-tags,
  .capabilities,
  .contact-links,
  .contact-stamp,
  .site-footer {
    -webkit-user-select: none;
    user-select: none;
  }

  .skip-link {
    background: var(--acid);
    color: var(--ink);
    left: 1rem;
    padding: 0.7rem 1rem;
    position: fixed;
    top: -100px;
    z-index: 100;
  }

  .skip-link:focus {
    top: 1rem;
  }

  .scroll-rail {
    background: rgba(240, 237, 228, 0.1);
    bottom: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 88px;
    width: 3px;
    z-index: 80;
  }

  .scroll-rail span {
    background: linear-gradient(var(--acid), var(--signal));
    display: block;
    height: 0;
    width: 100%;
  }

  .signal-ticker {
    background: var(--ink-soft);
    border-bottom: 1px solid rgba(240, 82, 45, 0.42);
    border-top: 1px solid rgba(240, 82, 45, 0.42);
    color: var(--signal-bright);
    overflow: hidden;
  }

  .signal-ticker > div {
    align-items: center;
    animation: ticker 26s linear infinite;
    display: flex;
    height: 48px;
    width: max-content;
  }

  .signal-ticker span {
    font-family: var(--display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding-inline: 1.3rem;
  }

  .signal-ticker i {
    font-size: 1rem;
    font-style: normal;
    opacity: 0.45;
  }

  .brand {
    align-items: center;
    display: flex;
    gap: 0.85rem;
  }

  .brand-mark {
    align-items: center;
    aspect-ratio: 1;
    background: var(--signal);
    color: var(--ink);
    display: flex;
    font-weight: 600;
    justify-content: center;
    width: 42px;
  }

  .brand-copy {
    font-family: var(--display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
  }

  .brand-copy small {
    color: var(--muted);
    font-family: var(--mono);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-nav {
    align-items: center;
    display: flex;
    gap: clamp(1.25rem, 2.5vw, 2.75rem);
  }

  .site-nav a {
    font-size: 0.76rem;
    text-transform: uppercase;
  }

  .site-nav a:not(.nav-cta) {
    color: var(--muted);
    transition: color 160ms ease;
  }

  .site-nav a:not(.nav-cta):hover {
    color: var(--paper);
  }

  .site-nav a.is-active:not(.nav-cta) {
    color: var(--acid);
  }

  .site-nav .nav-cta {
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
  }

  .nav-toggle {
    background: transparent;
    border: 0;
    display: none;
    height: 44px;
    padding: 12px 8px;
    width: 48px;
  }

  .nav-toggle span:not(.sr-only) {
    background: var(--paper);
    display: block;
    height: 1px;
    margin: 6px 0;
    transition: transform 180ms ease;
  }

  .hero-grid {
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 72px 72px;
    inset: 88px 0 0;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
    opacity: 0.2;
    position: absolute;
  }

  .hero-webgl {
    height: calc(100% - 88px);
    inset: 88px 0 0;
    mask-image: radial-gradient(circle at 72% 46%, black 0, rgba(0, 0, 0, 0.88) 30%, transparent 69%);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 900ms ease;
    width: 100%;
    z-index: 1;
  }

  .hero-webgl.is-ready {
    opacity: 0.68;
  }

  .hero-signal {
    color: transparent;
    font-family: var(--display);
    font-size: clamp(15rem, 38vw, 34rem);
    font-weight: 800;
    inset: 2% -7% auto auto;
    letter-spacing: -0.14em;
    line-height: 0.5;
    opacity: 0.055;
    position: absolute;
    -webkit-text-stroke: 1px var(--signal);
    transform: rotate(-10deg);
  }

  .hero-signal span {
    display: block;
  }

  .hero-meta p {
    color: var(--muted);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .status-dot {
    background: var(--acid);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(214, 255, 66, 0.1);
    display: inline-block;
    height: 7px;
    margin-right: 0.5rem;
    width: 7px;
  }

  .meta-rule {
    background: var(--line);
    display: inline-block;
    height: 1px;
    margin: 0 0.5rem 0.2rem;
    width: 30px;
  }

  .eyebrow {
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
  }

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

  .hero h1 {
    font-size: clamp(4.3rem, 11.5vw, 10.8rem);
    letter-spacing: -0.075em;
    max-width: 1240px;
  }

  .hero h1 span {
    color: var(--signal);
    display: block;
    margin-left: 12%;
  }

  .hero-intro {
    color: #c3c3bd;
    font-size: clamp(1rem, 1.35vw, 1.23rem);
    max-width: 610px;
  }

  .hero-actions {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
  }

  .button {
    align-items: center;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.04em;
    min-height: 50px;
    padding: 0.85rem 1.25rem;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease;
  }

  .button:hover {
    transform: translateY(-3px);
  }

  .button-primary {
    background: var(--signal);
    color: var(--ink);
  }

  .button-light {
    align-self: flex-start;
    background: var(--ink);
    color: var(--paper);
    margin-top: auto;
  }

  .text-link {
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
    padding-block: 0.5rem;
    text-transform: uppercase;
  }

  .metric {
    min-height: 125px;
    padding: 1.6rem 1rem;
  }

  .metric + .metric {
    border-left: 1px solid var(--line);
  }

  .metric strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1;
  }

  .metric span {
    color: var(--muted);
    font-size: 0.66rem;
    text-transform: uppercase;
  }

  .proof-standard {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1.1rem 0;
    position: relative;
    z-index: 2;
  }

  .proof-standard span {
    color: var(--acid);
    font-size: 0.62rem;
    text-transform: uppercase;
  }

  .proof-standard {
    color: var(--muted);
    font-size: 0.68rem;
  }

  .experience-shell {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: 0.7fr 1.3fr;
  }

  .experience-brand {
    border-right: 1px solid rgba(10, 12, 15, 0.28);
    display: flex;
    flex-direction: column;
    min-height: 620px;
    padding-right: clamp(2rem, 5vw, 5rem);
  }

  .experience-duration {
    align-self: flex-start;
    border: 1px solid rgba(10, 12, 15, 0.4);
    font-size: 0.65rem;
    padding: 0.35rem 0.55rem;
    text-transform: uppercase;
  }

  .experience-brand h2 {
    font-size: clamp(3.5rem, 6.6vw, 7rem);
    margin: auto 0 2rem;
  }

  .experience-brand > a {
    align-self: flex-start;
    border-bottom: 1px solid rgba(10, 12, 15, 0.4);
    font-size: 0.68rem;
    font-weight: 600;
    padding-bottom: 0.3rem;
    text-transform: uppercase;
  }

  .experience-detail {
    display: flex;
    flex-direction: column;
  }

  .experience-role {
    border-bottom: 1px solid rgba(10, 12, 15, 0.28);
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .experience-detail > p:not(.experience-role, .experience-note) {
    color: #303b3d;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    max-width: 750px;
  }

  .experience-products {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
  }

  .experience-products a {
    border: 1px solid rgba(10, 12, 15, 0.25);
    display: flex;
    flex-direction: column;
    min-height: 170px;
    min-width: 0;
    padding: 1rem;
  }

  .experience-products span,
  .experience-products small,
  .education-record span,
  .education-record small,
  .experience-note {
    color: #435254;
    font-size: 0.6rem;
    text-transform: uppercase;
  }

  .experience-products strong {
    font-family: var(--display);
    font-size: clamp(1.15rem, 1.8vw, 1.8rem);
    line-height: 1.1;
    margin-top: auto;
  }

  .education-record {
    align-items: center;
    border-bottom: 1px solid rgba(10, 12, 15, 0.28);
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr auto;
    padding: 1.25rem 0;
  }

  .education-record strong {
    font-family: var(--display);
    font-size: clamp(1rem, 1.5vw, 1.5rem);
  }

  .experience-note {
    margin-top: 1rem;
  }

  .research-section .eyebrow,
  .work-section .eyebrow {
    color: #6d6d67;
  }

  .section-intro {
    color: #555650;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    max-width: 520px;
  }

  .section-intro strong {
    color: var(--ink);
  }

  .research-list {
    border-top: 1px solid var(--line-dark);
  }

  .research-item {
    align-items: start;
    border-bottom: 1px solid var(--line-dark);
    display: grid;
    gap: 2rem;
    grid-template-columns: 80px 1fr 180px;
    padding: 2.5rem 0;
    transition: background-color 180ms ease, padding 180ms ease;
  }

  .research-item:hover {
    background: var(--paper-bright);
    padding-inline: 1.2rem;
  }

  .research-index,
  .research-labels,
  .research-aside {
    font-size: 0.64rem;
    text-transform: uppercase;
  }

  .research-index {
    color: #777872;
  }

  .research-labels {
    align-items: center;
    color: #666762;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1rem;
  }

  .severity {
    border: 1px solid;
    padding: 0.15rem 0.45rem;
  }

  .severity.high {
    color: #c73a1c;
  }

  .severity.medium {
    color: #9b6b00;
  }

  .severity.low {
    color: #24787b;
  }

  .research-main h3 {
    font-size: clamp(1.75rem, 3vw, 3.1rem);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
  }

  .research-main p {
    color: #555650;
    max-width: 780px;
  }

  .research-aside {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 135px;
  }

  .research-aside span {
    color: #777872;
  }

  .research-aside a {
    border-bottom: 1px solid var(--line-dark);
    font-weight: 600;
    margin-top: auto;
    padding-bottom: 0.35rem;
  }

  .research-links a + a {
    margin-top: 0.35rem;
  }

  .bounty-ledger {
    background: var(--ink);
    color: var(--paper);
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    grid-template-columns: 0.8fr 1.2fr;
    margin-top: clamp(4rem, 8vw, 8rem);
    padding: clamp(2rem, 5vw, 5rem);
  }

  .bounty-heading .eyebrow {
    color: var(--signal-bright);
  }

  .bounty-heading h3 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    letter-spacing: -0.055em;
  }

  .bounty-heading > p:last-child {
    color: var(--muted);
    margin-top: 1.5rem;
    max-width: 520px;
  }

  .bounty-heading strong {
    color: var(--paper);
  }

  .bounty-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .bounty-metrics > div {
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
    min-height: 130px;
    padding: 1.4rem;
  }

  .bounty-metrics strong {
    color: var(--acid);
    display: block;
    font-family: var(--display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .bounty-metrics span,
  .account-grid small,
  .account-badges,
  .bounty-note {
    color: var(--muted);
    font-size: 0.62rem;
    text-transform: uppercase;
  }

  .account-grid {
    display: grid;
    gap: 1px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .account-grid a {
    background: var(--ink-soft);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    padding: 1.6rem;
    transition: background-color 180ms ease;
  }

  .account-grid a:hover {
    background: #20252b;
  }

  .account-handle {
    color: var(--signal-bright);
    font-size: 0.65rem;
    margin-bottom: auto;
    text-transform: uppercase;
  }

  .account-grid strong {
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.5vw, 2.4rem);
    line-height: 1.1;
  }

  .account-badges {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 0.7rem;
  }

  .bounty-note {
    grid-column: 1 / -1;
    margin-top: -2rem;
  }

  .private-record {
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 1rem;
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto 1fr;
    padding: 1.2rem 0;
  }

  .private-record > span,
  .private-record > small {
    color: var(--muted);
    font-size: 0.62rem;
    text-transform: uppercase;
  }

  .private-record strong {
    color: var(--steel-panel);
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  }

  .private-record small {
    text-align: right;
  }

  .ctf-copy .eyebrow {
    color: rgba(10, 12, 15, 0.68);
  }

  .ctf-copy h2 {
    font-size: clamp(3.5rem, 6.6vw, 7rem);
  }

  .ctf-copy > p:not(.eyebrow) {
    margin: 2.5rem 0;
    max-width: 540px;
  }

  .ctf-roster {
    display: flex;
    flex-wrap: wrap;
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.4vw, 2.3rem);
    font-weight: 700;
    gap: 0.65rem;
  }

  .ctf-roster i {
    color: rgba(10, 12, 15, 0.35);
    font-style: normal;
  }

  .ctf-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
  }

  .ctf-actions .button-light {
    margin-top: 0;
  }

  .button-outline {
    border: 1px solid rgba(10, 12, 15, 0.45);
    color: var(--ink);
  }

  .scoreboard-head {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    font-size: 0.62rem;
    justify-content: space-between;
    padding-bottom: 1rem;
    text-transform: uppercase;
  }

  .score-row {
    align-items: end;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr auto;
    padding: 1.2rem 0;
  }

  .score-row span {
    color: #c3c3bd;
    font-size: 0.72rem;
    text-transform: uppercase;
  }

  .score-row strong {
    font-family: var(--display);
    font-size: clamp(2rem, 4.5vw, 4.2rem);
    grid-row: span 2;
    letter-spacing: -0.06em;
    line-height: 0.85;
  }

  .score-row small {
    color: #737771;
    font-size: 0.64rem;
    text-transform: uppercase;
  }

  .score-row-lead strong {
    color: var(--acid);
    font-size: clamp(3.4rem, 7vw, 7rem);
  }

  .data-note {
    color: var(--muted);
    font-size: 0.63rem;
    margin-top: 1.25rem;
    text-align: right;
    text-transform: uppercase;
  }

  .data-note a {
    color: var(--paper);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .team-journey {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3rem;
  }

  .team-journey article {
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
  }

  .team-journey article:first-child {
    border-top-color: var(--steel);
  }

  .team-journey article:nth-child(2) {
    border-top-color: var(--acid);
  }

  .team-journey article:last-child {
    border-top-color: var(--signal-bright);
  }

  .team-journey span,
  .team-journey a {
    color: var(--muted);
    font-size: 0.63rem;
    text-transform: uppercase;
  }

  .team-journey strong {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 1rem 0;
  }

  .team-journey p {
    color: #c3c3bd;
    max-width: 560px;
  }

  .team-journey a {
    align-self: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .journey-links {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
  }

  .domestic-record {
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid var(--steel);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 0.65fr 0.9fr 1.45fr;
    margin-top: 1px;
    padding: 1.5rem 2rem;
  }

  .domestic-record span {
    color: var(--muted);
    font-size: 0.62rem;
    text-transform: uppercase;
  }

  .domestic-record strong {
    color: var(--steel-panel);
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.2vw, 2.1rem);
    line-height: 1.1;
  }

  .domestic-record p {
    color: #c3c3bd;
    font-size: 0.78rem;
  }

  .practice-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 3rem;
  }

  .practice-grid a {
    background: var(--ink-soft);
    border: 1px solid var(--line);
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1fr auto;
    min-height: 220px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: border-color 180ms ease, transform 180ms ease;
  }

  .practice-grid a:hover {
    border-color: var(--acid);
    transform: translateY(-4px);
  }

  .practice-grid span,
  .practice-grid small {
    color: var(--muted);
    font-size: 0.64rem;
    text-transform: uppercase;
  }

  .practice-grid strong {
    color: var(--acid);
    font-family: var(--display);
    font-size: clamp(3.2rem, 6vw, 6rem);
    grid-row: span 2;
    letter-spacing: -0.06em;
    line-height: 0.85;
  }

  .practice-grid p {
    color: #c3c3bd;
    max-width: 480px;
  }

  .practice-grid small {
    align-self: end;
  }

  .upstream-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: clamp(5rem, 9vw, 9rem);
  }

  .upstream-card {
    background: #dedbd1;
    display: flex;
    flex-direction: column;
    min-height: 410px;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
  }

  .upstream-featured {
    background: var(--ink-soft);
    border-top: 3px solid var(--signal);
    color: var(--paper);
    grid-row: span 2;
    min-height: 821px;
  }

  .upstream-card.upstream-featured .upstream-id,
  .upstream-card.upstream-featured > p:not(.upstream-id),
  .upstream-card.upstream-featured > small {
    color: #b8bbb6;
  }

  .upstream-featured .upstream-links a,
  .upstream-featured > small {
    border-color: var(--line);
  }

  .upstream-topline {
    display: flex;
    font-size: 0.62rem;
    justify-content: space-between;
    text-transform: uppercase;
  }

  .upstream-id {
    color: #696a65;
    font-size: 0.68rem;
    margin: auto 0 1rem;
    text-transform: uppercase;
  }

  .upstream-card h3 {
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
  }

  .upstream-featured h3 {
    font-size: clamp(3rem, 5.5vw, 6rem);
  }

  .upstream-card > p:not(.upstream-id) {
    color: #50514d;
    max-width: 720px;
  }

  .upstream-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.5rem;
  }

  .upstream-links a {
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.65rem;
    font-weight: 600;
    padding-bottom: 0.25rem;
    text-transform: uppercase;
  }

  .upstream-card > small {
    border-top: 1px solid var(--line-dark);
    margin-top: auto;
    padding-top: 1rem;
    text-transform: uppercase;
  }

  .work-subhead {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

  .work-subhead .eyebrow {
    margin: 0;
  }

  .work-subhead h3 {
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
  }

  .field-console {
    --glow-x: 50%;
    --glow-y: 50%;
    background:
      linear-gradient(rgba(145, 167, 159, 0.035), rgba(145, 167, 159, 0.035)),
      var(--ink);
    border: 1px solid rgba(10, 12, 15, 0.35);
    color: var(--paper);
    display: block;
    min-height: 650px;
    overflow: hidden;
    position: relative;
  }

  .field-console::before {
    background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(214, 255, 66, 0.14), transparent 28%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 220ms ease;
  }

  .field-console:hover::before {
    opacity: 1;
  }

  .console-topbar,
  .console-footer {
    align-items: center;
    display: flex;
    font-size: 0.62rem;
    justify-content: space-between;
    letter-spacing: 0.04em;
    padding: 1rem 1.5rem;
    position: relative;
    text-transform: uppercase;
    z-index: 2;
  }

  .console-topbar {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
  }

  .console-topbar i {
    background: var(--acid);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--acid);
    display: inline-block;
    height: 7px;
    margin-right: 0.55rem;
    width: 7px;
  }

  .console-body {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(300px, 0.72fr);
    min-height: 540px;
    position: relative;
    z-index: 2;
  }

  .console-sequence {
    align-items: center;
    border-right: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 0.62rem;
    justify-content: center;
    padding: 1rem;
  }

  .console-sequence i {
    background: linear-gradient(var(--line), var(--acid), var(--line));
    height: 78px;
    margin: 0.8rem 0;
    width: 1px;
  }

  .console-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
  }

  .console-command {
    color: var(--acid);
    font-size: 0.72rem;
    margin-bottom: 2rem;
  }

  .console-command b {
    animation: cursor-blink 800ms steps(2, jump-none) infinite;
  }

  .console-copy h3 {
    font-size: clamp(4rem, 8vw, 8.5rem);
    letter-spacing: -0.07em;
    line-height: 0.77;
    margin-bottom: 2.5rem;
  }

  .console-copy > p:not(.console-command) {
    color: #b9bbb7;
    max-width: 580px;
  }

  .console-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .console-tags span {
    border: 1px solid var(--line);
    color: var(--steel-panel);
    font-size: 0.58rem;
    padding: 0.3rem 0.5rem;
  }

  .console-radar {
    align-self: center;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    justify-self: center;
    max-width: 380px;
    position: relative;
    width: 78%;
  }

  .console-radar::before,
  .console-radar::after,
  .console-radar i,
  .console-radar span {
    border: 1px solid var(--line);
    border-radius: 50%;
    content: "";
    inset: 16%;
    position: absolute;
  }

  .console-radar::after {
    inset: 33%;
  }

  .console-radar i:nth-child(1) {
    border-radius: 0;
    border-width: 1px 0 0;
    inset: 50% 0 auto;
  }

  .console-radar i:nth-child(2) {
    border-radius: 0;
    border-width: 0 0 0 1px;
    inset: 0 auto 0 50%;
  }

  .console-radar i:nth-child(3) {
    animation: radar-sweep 5s linear infinite;
    background: conic-gradient(from 0deg, rgba(214, 255, 66, 0.3), transparent 22%);
    border: 0;
    inset: 0;
  }

  .console-radar span {
    background: var(--signal);
    border: 0;
    box-shadow: 0 0 18px var(--signal);
    height: 8px;
    inset: 27% auto auto 66%;
    width: 8px;
  }

  .console-radar b {
    color: var(--acid);
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 4.5rem);
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .console-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
  }

  .project-card {
    background: var(--ink-soft);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    min-height: 520px;
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    transition: background-color 180ms ease;
  }

  .project-card:hover {
    background: #20252b;
  }

  .project-featured {
    background: var(--steel-panel);
    color: var(--ink);
  }

  .project-featured:hover {
    background: #c4cec9;
  }

  .project-topline {
    display: flex;
    font-size: 0.62rem;
    justify-content: space-between;
    text-transform: uppercase;
  }

  .project-glyph {
    align-items: center;
    display: grid;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    grid-template-columns: auto 1fr auto 1fr auto;
    margin-block: auto;
  }

  .project-glyph i {
    border-top: 2px dashed var(--ink);
    display: block;
    margin-inline: 0.7rem;
    position: relative;
  }

  .project-glyph i::after {
    background: var(--ink);
    border-radius: 50%;
    content: "";
    height: 8px;
    position: absolute;
    right: 0;
    top: -5px;
    width: 8px;
  }

  .project-code {
    color: var(--acid);
    display: flex;
    flex-direction: column;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    gap: 0.7rem;
    margin-block: auto;
  }

  .project-card h3 {
    font-size: clamp(2rem, 3.5vw, 3.7rem);
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    max-width: 680px;
  }

  .project-card p {
    max-width: 570px;
    opacity: 0.72;
  }

  .project-arrow {
    font-size: 1.5rem;
    position: absolute;
    right: 1.5rem;
    top: 45%;
  }

  .about-title h2 {
    font-size: clamp(3.6rem, 7vw, 7rem);
  }

  .about-title h2 span {
    color: var(--signal);
  }

  .about-copy {
    color: #aaa9a3;
    font-size: clamp(0.95rem, 1.25vw, 1.12rem);
  }

  .about-copy p + p {
    margin-top: 1.5rem;
  }

  .about-copy .verification-note {
    border-left: 2px solid var(--acid);
    color: #d0d0ca;
    font-size: 0.78rem;
    padding-left: 1rem;
  }

  .about-copy .evidence-statement {
    color: var(--steel-panel);
    font-family: var(--display);
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 600;
    line-height: 1.45;
  }

  .about-copy .about-lead {
    color: var(--paper);
    font-size: clamp(1.25rem, 1.8vw, 1.7rem);
    line-height: 1.45;
  }

  .capabilities {
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
    margin-top: clamp(4rem, 9vw, 9rem);
    padding-left: 0;
    padding-top: 2rem;
  }

  .capabilities li {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c3c3bd;
    font-size: 0.66rem;
    padding: 0.55rem 0.85rem;
    text-transform: uppercase;
  }

  .contact-copy,
  .contact-links {
    position: relative;
    z-index: 2;
  }

  .contact-copy h2 {
    font-size: clamp(3.8rem, 7vw, 7.5rem);
  }

  .contact-copy > p:last-child {
    margin-top: 2rem;
    max-width: 520px;
  }

  .contact-links {
    align-self: center;
    border-top: 1px solid var(--line-dark);
  }

  .contact-links a {
    align-items: center;
    border-bottom: 1px solid var(--line-dark);
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr auto;
    padding: 1.4rem 0;
    transition: padding 180ms ease;
  }

  .contact-links a:hover {
    padding-inline: 0.75rem;
  }

  .contact-links span {
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 700;
  }

  .contact-links small {
    opacity: 0.62;
  }

  .contact-stamp {
    color: transparent;
    font-family: var(--display);
    font-size: min(38vw, 33rem);
    font-weight: 800;
    inset: auto auto -23% -5%;
    letter-spacing: -0.12em;
    line-height: 1;
    opacity: 0.18;
    position: absolute;
    -webkit-text-stroke: 2px var(--signal);
  }

  .site-footer p,
  .site-footer a {
    color: var(--muted);
    font-size: 0.63rem;
    text-transform: uppercase;
  }

  .site-footer .status-dot {
    height: 6px;
    width: 6px;
  }
}

@layer utilities {
  .sr-only {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

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

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

@media (max-width: 980px) {
  .hero-bottom,
  .section-heading,
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-bottom {
    margin-left: 12%;
  }

  .section-heading,
  .about-layout {
    gap: 2.5rem;
  }

  .ctf-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-brand {
    border-bottom: 1px solid rgba(10, 12, 15, 0.28);
    border-right: 0;
    min-height: 450px;
    padding: 0 0 2rem;
  }

  .ctf-copy {
    min-height: 560px;
  }

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

  .bounty-ledger {
    grid-template-columns: 1fr;
  }

  .bounty-metrics,
  .account-grid,
  .upstream-grid {
    grid-column: 1;
  }

  .upstream-featured {
    grid-row: auto;
    min-height: 620px;
  }

  .project-card {
    min-height: 460px;
  }

  .console-body {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .console-radar {
    display: none;
  }

  .contact-section {
    gap: 4rem;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 74px;
  }

  .scroll-rail {
    top: 74px;
  }

  .hero-webgl {
    height: calc(100% - 74px);
    inset: 74px 0 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
  }

  .hero-webgl.is-ready {
    opacity: 0.36;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    align-items: stretch;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    inset: 74px 0 auto;
    opacity: 0;
    padding: 1.5rem var(--gutter) 2rem;
    pointer-events: none;
    position: fixed;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    visibility: hidden;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a,
  .site-nav .nav-cta {
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-grid {
    inset: 74px 0 0;
  }

  .hero-meta p:last-child {
    display: none;
  }

  .hero-copy {
    margin-top: 5rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14.5vw, 5.3rem);
  }

  .hero h1 span {
    margin-left: 0;
  }

  .hero-bottom {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

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

  .proof-standard {
    align-items: flex-start;
    grid-template-columns: minmax(0, 1fr);
  }

  .metric:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .metric:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .research-item {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .research-item:hover {
    padding-inline: 0;
  }

  .research-aside {
    min-height: auto;
  }

  .research-aside a {
    margin-top: 1rem;
  }

  .experience-products {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2rem;
  }

  .experience-products a {
    min-height: 135px;
  }

  .education-record {
    align-items: flex-start;
    grid-template-columns: minmax(0, 1fr);
  }

  .bounty-metrics,
  .account-grid,
  .practice-grid,
  .upstream-grid,
  .team-journey {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .bounty-note {
    margin-top: -1rem;
  }

  .private-record {
    align-items: flex-start;
    grid-template-columns: minmax(0, 1fr);
  }

  .domestic-record {
    align-items: flex-start;
    grid-template-columns: minmax(0, 1fr);
  }

  .private-record small {
    text-align: left;
  }

  .work-subhead {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .upstream-card,
  .upstream-featured {
    min-height: 460px;
  }

  .scoreboard {
    margin: 0.7rem;
  }

  .score-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .project-glyph {
    font-size: 1.9rem;
  }

  .field-console {
    min-height: 590px;
  }

  .console-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .console-sequence {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    flex-direction: row;
    justify-content: flex-start;
  }

  .console-sequence i {
    height: 1px;
    margin: 0 0.8rem;
    width: 45px;
  }

  .console-copy {
    justify-content: flex-start;
  }

  .console-copy h3 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .console-topbar span:last-child,
  .console-footer span:nth-child(2) {
    display: none;
  }

  .data-note {
    text-align: left;
  }

  .contact-section {
    min-height: auto;
  }

  .contact-links a {
    grid-template-columns: 1fr auto;
  }

  .contact-links small {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .metric {
    min-height: 110px;
  }

  .ctf-copy {
    min-height: 520px;
  }

  .project-card {
    min-height: 420px;
  }

  .project-glyph {
    font-size: clamp(1.25rem, 5.2vw, 1.5rem);
  }

  .project-glyph i {
    margin-inline: 0.35rem;
  }

  .about-title h2 {
    font-size: clamp(2.45rem, 12.5vw, 3.2rem);
  }
}

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

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

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

  .signal-ticker > div,
  .console-command b,
  .console-radar i:nth-child(3) {
    animation: none;
  }

  .hero-webgl {
    display: none;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@keyframes radar-sweep {
  to {
    transform: rotate(360deg);
  }
}
