:root {
  --ink: #050a08;
  --panel: #09110d;
  --panel2: #0c1711;
  --green: #7fffb2;
  --green2: #38e881;
  --muted: #91aa9b;
  --line: rgba(105, 255, 164, 0.16);
  --amber: #f2b84b;
  --white: #e8f4ec;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family:
    "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(127, 255, 178, 0.018) 1px, transparent 1px);
  background-size: 100% 4px;
  z-index: 20;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99;
  background: var(--green);
  color: #021008;
  padding: 0.7rem 1rem;
}
.site-header {
  height: 82px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  position: sticky;
  top: 0;
  background: rgba(5, 10, 8, 0.86);
  backdrop-filter: blur(16px);
  z-index: 15;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--white);
  text-decoration: none;
  font:
    600 1.06rem "IBM Plex Mono",
    monospace;
  letter-spacing: 0.02em;
}
.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  padding: 0.18rem 0.08rem 0.35rem;
  font:
    600 1.02rem "IBM Plex Mono",
    "IBM Plex Mono",
    monospace;
  letter-spacing: 0.035em;
  color: var(--green);
  text-shadow:
    0 0 7px rgba(127, 255, 178, 0.42),
    0 0 18px rgba(56, 232, 129, 0.18);
}
.brand-wordmark strong {
  position: relative;
  font: inherit;
  color: inherit;
}
.brand-wordmark strong:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.34rem;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(242, 184, 75, 0.55);
}
nav {
  display: flex;
  gap: 2.3rem;
}
nav a,
.header-cta {
  color: var(--muted);
  text-decoration: none;
  font:
    500 0.76rem "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.2s;
}
nav a:hover,
.header-cta:hover {
  color: var(--green);
}
.header-cta {
  border: 1px solid var(--line);
  padding: 0.62rem 0.9rem;
}
.hero {
  min-height: 710px;
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.17fr 0.83fr;
  align-items: center;
  gap: 6rem;
  padding: 6.5rem 28px;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -17%;
  top: 3%;
  background: radial-gradient(
    circle,
    rgba(56, 232, 129, 0.11),
    transparent 68%
  );
  pointer-events: none;
}
.eyebrow {
  font:
    500 0.76rem "IBM Plex Mono",
    monospace;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green2);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px var(--green2);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-weight: 300;
}
h3 {
  font-weight: 500;
}
h1 {
  font-size: clamp(3.2rem, 6.1vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 2rem;
  max-width: 820px;
}
h1 em,
h2 em {
  color: var(--green);
  font-style: normal;
}
.hero-lede {
  font-size: 1.12rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: #b4c7bb;
  max-width: 690px;
  margin-bottom: 2.5rem;
}
.hero-copy,
.hero-console {
  position: relative;
  z-index: 2;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1.15rem;
  text-decoration: none;
  font:
    600 0.78rem "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: 0.2s;
}
.button-primary {
  background: var(--green2);
  color: #031009;
  border: 1px solid var(--green2);
}
.button-primary:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 232, 129, 0.18);
}
.button-ghost {
  border: 1px solid var(--line);
  color: var(--white);
}
.button-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}
.hero-console {
  border: 1px solid rgba(127, 255, 178, 0.27);
  background: rgba(5, 15, 10, 0.77);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.45),
    inset 0 0 70px rgba(56, 232, 129, 0.025);
  transform: perspective(1000px) rotateY(-2deg);
}
.console-bar {
  height: 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 15px;
  gap: 7px;
}
.console-bar span {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(127, 255, 178, 0.4);
  border-radius: 50%;
}
.console-bar b {
  margin-left: auto;
  font:
    500 0.62rem "IBM Plex Mono",
    monospace;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.console-body {
  padding: 2rem;
}
.console-body p {
  display: grid;
  grid-template-columns: 42px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  margin: 0;
  font:
    500 0.85rem "IBM Plex Mono",
    monospace;
  color: #bdd2c4;
}
.console-body p span {
  color: var(--green);
}
.console-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0 38%, transparent 38%);
  margin: 2rem 0 1rem;
}
.console-body small {
  font:
    500 0.63rem "IBM Plex Mono",
    monospace;
  color: var(--amber);
  letter-spacing: 0.09em;
}
.signal-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 28px;
  font:
    500 0.65rem "IBM Plex Mono",
    monospace;
  letter-spacing: 0.12em;
  color: #789184;
  text-transform: uppercase;
}
.signal-strip i {
  width: 3px;
  height: 3px;
  background: var(--green2);
  border-radius: 50%;
}
.section {
  max-width: var(--max);
  margin: auto;
  padding: 8rem 28px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 4.5rem;
}
.section-heading h2,
.about h2,
.connect h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  margin: 0;
}
.flagship {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 1.4rem;
}
.flagship-visual {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: #030906;
}
.flagship-visual:before {
  display: none;
}
.terminal-window {
  width: 82%;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(127, 255, 178, 0.35);
  background: #020a05;
  box-shadow:
    0 25px 70px #000,
    0 0 50px rgba(56, 232, 129, 0.08);
  font-family: "IBM Plex Mono", monospace;
}
.terminal-top {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  color: #668c72;
  font-size: 0.58rem;
}
.terminal-screen {
  padding: 1.6rem;
  color: var(--green);
  font-size: 0.74rem;
  text-shadow: 0 0 8px rgba(127, 255, 178, 0.3);
}
.term-title {
  text-align: center;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.term-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 0.8rem;
  border: 1px solid var(--line);
  padding: 0.55rem;
  margin: 1rem 0;
}
.term-row b {
  color: var(--green);
}
.term-row .amber {
  color: var(--amber);
}
.term-panel {
  border: 1px solid var(--line);
  padding: 1rem;
  min-height: 150px;
}
.term-panel p {
  margin: 0.42rem 0;
}
.cursor {
  animation: blink 1.2s steps(1) infinite;
}
.terminal-screen small {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: #73947d;
}
.flagship-copy {
  padding: 4.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-index,
.card-top {
  font:
    500 0.65rem "IBM Plex Mono",
    monospace;
  color: var(--green);
  letter-spacing: 0.11em;
}
.flagship h3,
.project-card h3 {
  font-size: 2.05rem;
  letter-spacing: -0.035em;
  margin: 0.6rem 0;
}
.project-tagline {
  color: var(--green);
  font:
    500 0.83rem "IBM Plex Mono",
    monospace;
}
.flagship-copy > p:not(.project-index):not(.project-tagline),
.project-card > p:not(.project-tagline) {
  color: #9db2a4;
}
.tags {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.6rem 0;
}
.tags li {
  border: 1px solid var(--line);
  padding: 0.3rem 0.55rem;
  font:
    500 0.6rem "IBM Plex Mono",
    monospace;
  color: #9db5a6;
  text-transform: uppercase;
}
.text-link {
  color: var(--white);
  text-decoration: none;
  font:
    600 0.72rem "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.text-link span {
  color: var(--green);
}
.text-link:hover {
  color: var(--green);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.project-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 2.5rem;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.project-card:hover {
  border-color: rgba(127, 255, 178, 0.38);
  transform: translateY(-4px);
  background: var(--panel2);
}
.amber-card {
  border-top: 2px solid var(--amber);
}
.card-top {
  display: flex;
  justify-content: space-between;
  color: #71897a;
}
.card-top span:first-child {
  color: var(--green);
}
.lab-card {
  background: linear-gradient(
    135deg,
    rgba(56, 232, 129, 0.06),
    var(--panel) 55%
  );
}
.repo-list {
  margin-top: auto;
}
.repo-list a {
  display: flex;
  justify-content: space-between;
  color: #a9bcae;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
  font:
    500 0.72rem "IBM Plex Mono",
    monospace;
}
.repo-list a:hover {
  color: var(--green);
}
.method {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, rgba(56, 232, 129, 0.025), transparent);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.method-grid article {
  padding: 2.6rem;
  border-right: 1px solid var(--line);
  min-height: 290px;
}
.method-grid article:last-child {
  border: 0;
}
.method-grid span {
  font:
    500 0.7rem "IBM Plex Mono",
    monospace;
  color: var(--amber);
}
.method-grid h3 {
  font-size: 1.35rem;
  margin: 3rem 0 1rem;
}
.method-grid p {
  color: var(--muted);
  font-size: 0.93rem;
}
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}
.portrait-panel {
  border: 1px solid var(--line);
  position: relative;
  background: #020604;
  overflow: hidden;
}
.portrait-panel:after {
  content: "JOHN FLACK / I ON GRC";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(3, 10, 6, 0.82);
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  font:
    500 0.58rem "IBM Plex Mono",
    monospace;
  color: var(--green);
  letter-spacing: 0.08em;
}
.about-copy > p:not(.eyebrow):not(.about-lede) {
  color: var(--muted);
}
.about-lede {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--white) !important;
  margin-top: 2rem;
}
.about-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.about-links a {
  color: var(--green);
  font:
    500 0.68rem "IBM Plex Mono",
    monospace;
  text-transform: uppercase;
  text-decoration: none;
}
.connect {
  max-width: none;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 70%, rgba(56, 232, 129, 0.1), transparent 35%),
    #060d09;
}
.connect-inner {
  max-width: var(--max);
  margin: auto;
}
.connect h2 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  margin-bottom: 2rem;
}
.connect p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
footer {
  max-width: var(--max);
  margin: auto;
  min-height: 135px;
  padding: 2rem 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  color: #71877a;
  font-size: 0.72rem;
  border-top: 1px solid var(--line);
}
footer > p:nth-child(2) {
  text-align: center;
}
.footer-status {
  font:
    500 0.6rem "IBM Plex Mono",
    monospace;
  letter-spacing: 0.06em;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .cursor {
    animation: none;
  }
}
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 5rem;
  }
  .hero-console {
    max-width: 620px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .flagship {
    grid-template-columns: 1fr;
  }
  .flagship-copy {
    padding: 2.5rem;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .portrait-panel {
    max-width: 560px;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: left;
  }
  footer > p:nth-child(2) {
    text-align: left;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }
  .header-cta {
    display: none;
  }
  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    justify-content: space-between;
  }
  h1 {
    font-size: 3rem;
  }
  .signal-strip {
    justify-content: flex-start;
    gap: 0.8rem;
  }
  .flagship-copy,
  .project-card {
    padding: 1.55rem;
  }
  .terminal-window {
    width: 92%;
  }
  .terminal-screen {
    padding: 1rem;
  }
  .term-row {
    grid-template-columns: 1fr 1fr;
  }
  .flagship-visual {
    min-height: 390px;
  }
  .project-card {
    min-height: 440px;
  }
  .section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
  .method {
    padding-left: 18px;
    padding-right: 18px;
  }
  .connect h2 {
    font-size: 3.4rem;
  }
  .about-links {
    flex-direction: column;
  }
  .footer-status {
    line-height: 2;
  }
}

/* Brand and external-link refinement */
.brand-wordmark {
  gap: 0.34em;
  padding: 0.1rem 0.08rem 0.38rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;
  transform: none;
}
.brand-wordmark strong {
  font: inherit;
  letter-spacing: 0.025em;
}
.link-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  flex: 0 0 auto;
}
.header-cta,
.about-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta .external-arrow,
.about-links .external-arrow {
  margin-left: 0.1rem;
}
.hero-actions .button .link-icon,
.connect .button .link-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.brand-art {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 500px;
  aspect-ratio: 3/2;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2.4rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at center,
      rgba(56, 232, 129, 0.11),
      transparent 58%
    ),
    #020604;
}
.brand-art-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: var(--green);
  font:
    600 clamp(2.6rem, 5.8vw, 5.4rem)/1 "IBM Plex Mono",
    monospace;
  letter-spacing: -0.035em;
  text-shadow:
    0 0 10px rgba(127, 255, 178, 0.5),
    0 0 34px rgba(56, 232, 129, 0.24);
  white-space: nowrap;
}
.brand-art-wordmark strong {
  position: relative;
  font: inherit;
  letter-spacing: -0.02em;
}
.brand-art-wordmark strong:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  height: 4px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(242, 184, 75, 0.6);
}
.brand-art small {
  color: var(--muted);
  font:
    500 0.68rem "IBM Plex Mono",
    monospace;
  letter-spacing: 0.18em;
}
.portrait-panel:after {
  content: "JOHN FLACK / I ON GRC";
}

@media (max-width: 560px) {
  .brand-wordmark {
    font-size: 0.92rem;
  }
  .about-links a {
    min-height: 44px;
    gap: 0.7rem;
  }
  .about-links .link-icon {
    width: 1.35rem;
    height: 1.35rem;
  }
  .brand-art {
    min-height: 340px;
  }
  .brand-art-wordmark {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
  .brand-art small {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }
}

/* Editorial aesthetic pass — retain i on GRC, remove generic AI-landing-page habits */
body {
  background:
    linear-gradient(
        90deg,
        transparent 0 4%,
        rgba(56, 232, 129, 0.13) 4% 27%,
        transparent 27% 61%,
        rgba(127, 255, 178, 0.08) 61% 90%,
        transparent 90%
      )
      0 8% / 100% 1px no-repeat fixed,
    linear-gradient(
        90deg,
        transparent 0 14%,
        rgba(127, 255, 178, 0.2) 14% 43%,
        transparent 43% 72%,
        rgba(56, 232, 129, 0.1) 72% 96%,
        transparent 96%
      )
      0 18% / 100% 2px no-repeat fixed,
    linear-gradient(
        90deg,
        transparent 0 1%,
        rgba(56, 232, 129, 0.08) 1% 19%,
        transparent 19% 38%,
        rgba(127, 255, 178, 0.15) 38% 78%,
        transparent 78%
      )
      0 33% / 100% 1px no-repeat fixed,
    linear-gradient(
        90deg,
        transparent 0 27%,
        rgba(56, 232, 129, 0.17) 27% 63%,
        transparent 63% 84%,
        rgba(127, 255, 178, 0.08) 84% 97%,
        transparent 97%
      )
      0 49% / 100% 2px no-repeat fixed,
    linear-gradient(
        90deg,
        transparent 0 7%,
        rgba(127, 255, 178, 0.09) 7% 39%,
        transparent 39% 66%,
        rgba(56, 232, 129, 0.18) 66% 89%,
        transparent 89%
      )
      0 65% / 100% 1px no-repeat fixed,
    linear-gradient(
        90deg,
        transparent 0 17%,
        rgba(56, 232, 129, 0.11) 17% 51%,
        transparent 51% 64%,
        rgba(127, 255, 178, 0.14) 64% 93%,
        transparent 93%
      )
      0 80% / 100% 3px no-repeat fixed,
    linear-gradient(
        90deg,
        transparent 0 3%,
        rgba(127, 255, 178, 0.16) 3% 24%,
        transparent 24% 74%,
        rgba(56, 232, 129, 0.1) 74% 99%,
        transparent 99%
      )
      0 93% / 100% 1px no-repeat fixed,
    #07100c;
  font-family:
    "IBM Plex Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}
body:before {
  display: none;
}
.site-header {
  height: 76px;
  background: rgba(7, 16, 12, 0.94);
  backdrop-filter: blur(10px);
}
nav {
  gap: 2rem;
}
nav a,
.header-cta {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.header-cta {
  border: 0;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(127, 255, 178, 0.28);
}
.hero {
  min-height: 660px;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 4.5rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.hero:after {
  display: none;
}
.eyebrow {
  margin-bottom: 1.35rem;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}
h1 {
  max-width: 760px;
  font-size: clamp(3.25rem, 5.25vw, 5.25rem);
  line-height: 1.045;
  letter-spacing: -0.048em;
}
.hero-lede {
  max-width: 650px;
  font-size: 1.08rem;
  line-height: 1.65;
}
.button {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.055em;
}
.hero-console {
  border: 0;
  border-left: 1px solid rgba(127, 255, 178, 0.32);
  background: rgba(9, 21, 15, 0.62);
  box-shadow: none;
  transform: none;
}
.console-bar {
  padding-left: 1.5rem;
}
.console-body {
  padding: 1.6rem 1.5rem 1.8rem;
}
.console-body p {
  font-size: 0.78rem;
  padding: 0.72rem 0;
}
.signal-strip {
  justify-content: flex-start;
  max-width: var(--max);
  min-height: 56px;
  margin: auto;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding-left: 28px;
  padding-right: 28px;
}
.section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.section-heading {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 6rem;
  margin-bottom: 3.75rem;
}
.section-heading h2,
.about h2,
.connect h2 {
  letter-spacing: -0.04em;
}
.flagship {
  border: 0;
  border-top: 1px solid rgba(127, 255, 178, 0.3);
  border-bottom: 1px solid var(--line);
  background: transparent;
  min-height: 470px;
  margin-bottom: 3rem;
}
.flagship-visual {
  min-height: 430px;
  background: #040b07;
}
.flagship-copy {
  padding: 3.5rem 0 3.5rem 4.5rem;
}
.terminal-window {
  width: 78%;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
}
.project-grid {
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.project-card {
  min-height: 365px;
  padding: 2.8rem 3rem 2.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.project-card:nth-child(even) {
  padding-left: 3rem;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.project-card:hover {
  border-color: rgba(127, 255, 178, 0.34);
  transform: none;
  background: transparent;
}
.amber-card {
  border-top: 0;
  box-shadow: inset 0 2px 0 var(--amber);
}
.project-card h3 {
  font-size: 1.8rem;
  margin-top: 2.7rem;
}
.project-card .project-tagline {
  margin-bottom: 1.5rem;
}
.project-card .tags {
  margin-top: auto;
}
.lab-card {
  background: transparent;
}
.card-top {
  color: #71897a;
}
.method {
  background: #08120d;
}
.method-grid {
  border: 0;
  border-top: 1px solid var(--line);
}
.method-grid article {
  min-height: 245px;
  padding: 2.4rem 2.8rem 1rem 0;
  border-right: 0;
}
.method-grid article + article {
  padding-left: 2.8rem;
  border-left: 1px solid var(--line);
}
.method-grid h3 {
  margin: 2.2rem 0 0.85rem;
}
.about {
  gap: 6.5rem;
}
.portrait-panel {
  border: 0;
  border-left: 1px solid rgba(127, 255, 178, 0.3);
  background: #040b07;
}
.brand-art {
  min-height: 430px;
  background: #040b07;
  gap: 2rem;
}
.brand-art-wordmark {
  font-size: clamp(2.8rem, 5.3vw, 4.8rem);
}
.portrait-panel:after {
  left: 0;
  bottom: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.about-copy > p:not(.eyebrow):not(.about-lede) {
  line-height: 1.7;
}
.about-links {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.connect {
  background: #08120d;
}
.connect h2 {
  max-width: 920px;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
}
.reveal {
  transform: none;
  transition: opacity 0.45s ease;
}
footer {
  min-height: 120px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-console {
    max-width: none;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .flagship-copy {
    padding: 2.8rem 0;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card,
  .project-card:nth-child(even) {
    min-height: 0;
    padding: 2.5rem 0;
    border-left: 0;
  }
  .method-grid article,
  .method-grid article + article {
    min-height: 0;
    padding: 2.3rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .about {
    gap: 3.5rem;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 64px;
  }
  h1 {
    font-size: clamp(2.8rem, 14vw, 3.75rem);
  }
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }
  .hero-lede {
    font-size: 1rem;
  }
  .section {
    padding-top: 4.75rem;
    padding-bottom: 4.75rem;
  }
  .signal-strip {
    padding-left: 18px;
    padding-right: 18px;
  }
  .flagship {
    margin-bottom: 2rem;
  }
  .flagship-visual {
    min-height: 350px;
  }
  .project-card h3 {
    margin-top: 2rem;
  }
  .brand-art {
    min-height: 320px;
  }
  .connect h2 {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }
}

/* Theme system and restrained About field note */
:root {
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #edf3ef;
  --panel: #e3ebe5;
  --panel2: #d9e4dc;
  --green: #096b3b;
  --green2: #0b7a43;
  --muted: #52665a;
  --line: rgba(19, 72, 43, 0.18);
  --amber: #9a6100;
  --white: #142219;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.theme-toggle {
  appearance: none;
  min-width: 78px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.45rem 0.1rem;
  background: transparent;
  color: var(--muted);
  font:
    500 0.72rem "IBM Plex Sans",
    sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--green);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.theme-icon {
  width: 1.05rem;
  height: 1.05rem;
}
.theme-icon-moon {
  display: none;
}
:root[data-theme="light"] .theme-icon-sun {
  display: none;
}
:root[data-theme="light"] .theme-icon-moon {
  display: block;
}

.brand-art {
  min-height: 440px;
  aspect-ratio: auto;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 3.5rem;
  background: #040b07;
}
.brand-art-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-art-wordmark {
  font-size: clamp(1.75rem, 2.4vw, 2.65rem);
  letter-spacing: -0.025em;
  text-shadow: 0 0 9px rgba(127, 255, 178, 0.28);
}
.brand-art-wordmark strong {
  letter-spacing: -0.01em;
}
.brand-art-wordmark strong:after {
  display: none;
}
.brand-art-rule {
  width: 3.6rem;
  height: 3px;
  margin-top: 0.85rem;
  background: var(--amber);
}
.brand-art-kicker {
  max-width: 25rem;
  margin: 3rem 0 1.4rem;
  color: var(--muted);
  font:
    500 0.68rem "IBM Plex Mono",
    monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand-art-notes {
  width: 100%;
  margin: 0;
}
.brand-art-notes div {
  display: grid;
  grid-template-columns: 5.3rem 1fr;
  gap: 1.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.brand-art-notes dt {
  color: var(--green);
  font:
    500 0.68rem "IBM Plex Mono",
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-art-notes dd {
  margin: 0;
  color: #a3b8aa;
  font-size: 0.9rem;
}
.portrait-panel:after {
  display: none;
}

/* Light is a paper-and-ink counterpart, not an inverted OLED theme */
:root[data-theme="light"] body {
  background: var(--ink);
  color: var(--white);
}
:root[data-theme="light"] .site-header {
  background: rgba(237, 243, 239, 0.94);
}
:root[data-theme="light"] .hero-console {
  background: rgba(227, 235, 229, 0.62);
  border-left-color: rgba(9, 107, 59, 0.35);
}
:root[data-theme="light"] .console-body p {
  color: #31483a;
}
:root[data-theme="light"] .hero-lede,
:root[data-theme="light"] .section-heading > p,
:root[data-theme="light"]
  .flagship-copy
  > p:not(.project-index):not(.project-tagline),
:root[data-theme="light"] .project-card > p:not(.project-tagline),
:root[data-theme="light"] .method-grid p,
:root[data-theme="light"] .about-copy > p:not(.eyebrow):not(.about-lede),
:root[data-theme="light"] .connect p:not(.eyebrow) {
  color: var(--muted);
}
:root[data-theme="light"] .button-primary {
  color: #f5fff8;
}
:root[data-theme="light"] .button-ghost {
  color: var(--white);
}
:root[data-theme="light"] .flagship-visual,
:root[data-theme="light"] .portrait-panel,
:root[data-theme="light"] .brand-art {
  background: #10241a;
}
:root[data-theme="light"] .method,
:root[data-theme="light"] .connect {
  background: #e3ebe5;
}
:root[data-theme="light"] .terminal-window {
  background: #020a05;
}
:root[data-theme="light"] .terminal-screen {
  color: #7fffb2;
}
:root[data-theme="light"] .terminal-screen .term-title {
  color: #e8f4ec;
}
:root[data-theme="light"] .text-link {
  color: var(--white);
}
:root[data-theme="light"] .project-card .text-link {
  color: #1b3425;
}
:root[data-theme="light"] .project-card .text-link:hover {
  color: var(--green);
}
:root[data-theme="light"] .tags li {
  color: #476052;
}
:root[data-theme="light"] footer {
  color: #52665a;
}

@media (max-width: 760px) {
  .header-actions {
    gap: 0.8rem;
  }
  .theme-toggle {
    min-width: 42px;
  }
  .theme-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
@media (max-width: 560px) {
  .theme-toggle {
    min-height: 42px;
  }
  .brand-art {
    min-height: 0;
    padding: 2.25rem 1.7rem;
  }
  .brand-art-wordmark {
    font-size: 2rem;
  }
  .brand-art-kicker {
    margin-top: 2.5rem;
  }
  .brand-art-notes div {
    grid-template-columns: 4.6rem 1fr;
    gap: 0.8rem;
  }
}

/* Final cascade: signal-field system */
:root {
  --max: 1320px;
}
body {
  background: #050c09 url("signal-field.svg") center top /
    max(1400px, 100vw) auto repeat-y fixed;
}
.site-header {
  border-bottom-color: rgba(127, 255, 178, 0.2);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
}
.hero {
  min-height: 750px;
  grid-template-columns: minmax(0, 1.32fr) minmax(360px, 0.68fr);
  gap: clamp(4rem, 7vw, 7.5rem);
  padding-top: 6.5rem;
  padding-bottom: 5.75rem;
}
.hero-copy {
  padding-left: 1.2rem;
  border-left: 1px solid rgba(127, 255, 178, 0.24);
}
.hero h1 {
  max-width: 860px;
  font-size: clamp(3.6rem, 5.5vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}
.hero-lede {
  max-width: 690px;
  margin-top: 2.45rem;
  font-size: 1.12rem;
}
.hero-console {
  border: 1px solid rgba(127, 255, 178, 0.22);
  border-left: 2px solid rgba(127, 255, 178, 0.48);
  background: rgba(3, 13, 8, 0.82);
  box-shadow:
    24px 28px 0 rgba(2, 8, 5, 0.42),
    0 28px 80px rgba(0, 0, 0, 0.3);
}
.signal-strip {
  min-height: 68px;
  border-bottom: 1px solid rgba(127, 255, 178, 0.1);
  background: rgba(3, 11, 7, 0.68);
  backdrop-filter: blur(6px);
}
.section-heading h2 {
  max-width: 900px;
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  line-height: 1.02;
}
.flagship {
  border-top: 2px solid var(--green2);
  background: rgba(4, 13, 8, 0.72);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.2);
}
.flagship-visual {
  background:
    linear-gradient(rgba(3, 10, 6, 0.62), rgba(3, 10, 6, 0.86)),
    url("signal-field.svg") center / 1350px auto;
}
.terminal-window {
  transform: translateX(-0.8rem);
  box-shadow:
    18px 22px 0 rgba(2, 8, 5, 0.62),
    0 28px 65px rgba(0, 0, 0, 0.45),
    0 0 46px rgba(56, 232, 129, 0.06);
}
.project-grid {
  background: rgba(3, 10, 6, 0.36);
}
.project-card {
  min-height: 390px;
}
.project-card h3 {
  max-width: 92%;
  font-size: 2rem;
}
.brand-art {
  background:
    linear-gradient(rgba(3, 10, 6, 0.68), rgba(3, 10, 6, 0.86)),
    url("signal-field.svg") center / 1280px auto;
}
:root[data-theme="light"] body {
  background: var(--ink);
}
:root[data-theme="light"] .hero-console {
  background: rgba(227, 235, 229, 0.92);
  box-shadow: none;
}
:root[data-theme="light"] .flagship,
:root[data-theme="light"] .project-grid {
  box-shadow: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero-copy {
    padding-left: 0;
    border-left: 0;
  }
  .hero-console {
    max-width: 680px;
  }
  .terminal-window {
    transform: none;
  }
}
@media (max-width: 560px) {
  body {
    background-size: auto 760px;
  }
  .hero h1 {
    font-size: clamp(3rem, 13.5vw, 4rem);
    line-height: 1.01;
  }
}

/* Signal-system finishing details */
::selection {
  background: var(--green2);
  color: #021008;
}
.hero .eyebrow {
  color: #b9d2c2;
}
.hero h1 em {
  position: relative;
  text-shadow: 0 0 26px rgba(56, 232, 129, 0.12);
}
.hero h1 em:after {
  display: none;
}
.hero-dateline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 2rem 0 0;
  color: #789184;
  font: 500 0.61rem "IBM Plex Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-dateline i {
  display: block;
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--amber);
}
.hero-console:before,
.hero-console:after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  pointer-events: none;
}
.hero-console:before {
  left: -7px;
  top: -7px;
  border-left: 1px solid var(--green);
  border-top: 1px solid var(--green);
}
.hero-console:after {
  right: -7px;
  bottom: -7px;
  border-right: 1px solid var(--amber);
  border-bottom: 1px solid var(--amber);
}
.console-bar {
  background: rgba(127, 255, 178, 0.025);
}
.console-body p {
  grid-template-columns: 52px 1fr;
  padding: 0.9rem 0;
  color: #d1e0d6;
}
.signal-strip {
  position: relative;
}
.signal-strip:before {
  content: "";
  position: absolute;
  left: 28px;
  top: -2px;
  width: min(170px, 18vw);
  height: 3px;
  background: var(--amber);
  box-shadow: 0 0 14px rgba(242, 184, 75, 0.28);
}
.section-heading {
  position: relative;
}
.work .section-heading:after {
  content: "01";
  position: absolute;
  right: 0;
  top: -0.72em;
  z-index: -1;
  color: rgba(127, 255, 178, 0.045);
  font: 600 clamp(8rem, 17vw, 15rem)/1 "IBM Plex Mono", monospace;
}
.flagship {
  position: relative;
}
.flagship:before {
  content: "FLAGSHIP / 01";
  position: absolute;
  left: 0;
  top: -2rem;
  color: var(--green);
  font: 500 0.59rem "IBM Plex Mono", monospace;
  letter-spacing: 0.12em;
}
.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.project-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(56, 232, 129, 0.055), transparent 48%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.project-card:after {
  position: absolute;
  right: 0.04em;
  bottom: -0.23em;
  z-index: -1;
  color: rgba(127, 255, 178, 0.035);
  font: 600 8.5rem/1 "IBM Plex Mono", monospace;
}
.project-card:nth-child(1):after { content: "02"; }
.project-card:nth-child(2):after { content: "03"; }
.project-card:nth-child(3):after { content: "04"; }
.project-card:nth-child(4):after { content: "05"; }
.project-card:nth-child(5):after { content: "06"; }
.project-card:nth-child(6):after { content: "07"; }
.project-card:hover:before {
  opacity: 1;
}
.text-link {
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.text-link:hover {
  padding-left: 0.45rem;
}
:root[data-theme="light"] .hero-copy {
  border-left-color: rgba(9, 107, 59, 0.28);
}
:root[data-theme="light"] .signal-strip {
  background: rgba(227, 235, 229, 0.9);
}
:root[data-theme="light"] .flagship {
  background: var(--panel);
}
html {
  scrollbar-color: rgba(127, 255, 178, 0.34) var(--ink);
}
.section,
#top,
#work,
#method,
#about,
#connect {
  scroll-margin-top: 90px;
}
.project-grid {
  background: rgba(3, 10, 6, 0.58);
}
.button,
.text-link,
.about-links a {
  min-height: 44px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.brand,
nav a,
.header-cta,
.button,
.text-link,
.about-links a {
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}
:root[data-theme="light"] .project-grid {
  background: transparent;
}

@media (max-width: 560px) {
  .hero-dateline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-dateline i {
    width: 28px;
  }
  .signal-strip:before {
    left: 18px;
  }
  .project-card:after {
    font-size: 6.5rem;
  }
}
