:root {
  --ink: #181510;
  --muted: #6e6a61;
  --paper: #f4efe5;
  --vellum: #fffaf0;
  --line: #d9ccba;
  --dark: #0d1110;
  --dark-soft: #19201d;
  --green: #294f3d;
  --teal: #2c7777;
  --blue: #234f76;
  --plum: #493054;
  --rust: #b76532;
  --gold: #d29a43;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(22, 18, 12, 0.18);
  --glass: rgba(255, 255, 255, 0.085);
  --glass-line: rgba(255, 255, 255, 0.18);
  --glow: rgba(94, 208, 200, 0.42);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(24, 21, 16, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 21, 16, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--ink);
  font: 400 1rem/1.6 Inter, Arial, sans-serif;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #5ed0c8, #9f78b2);
  box-shadow: 0 0 18px rgba(94, 208, 200, 0.55);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem max(1rem, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 17, 16, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3c165;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
}

.site-nav a {
  padding: 0.45rem 0.62rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  outline: none;
}

.site-nav .nav-linkedin {
  margin-left: 0.25rem;
  border: 1px solid rgba(243, 193, 101, 0.42);
  background: rgba(243, 193, 101, 0.12);
  color: #f3c165;
}

.site-nav .nav-linkedin:hover,
.site-nav .nav-linkedin:focus-visible {
  background: var(--gold);
  color: #17120b;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - 3.7rem);
  grid-template-columns: minmax(0, 0.94fr) minmax(22rem, 1fr);
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  padding: 5rem max(1rem, calc((100vw - 1220px) / 2)) 2rem;
  background:
    linear-gradient(90deg, rgba(13, 17, 16, 0.96) 0%, rgba(13, 17, 16, 0.88) 42%, rgba(13, 17, 16, 0.2) 100%),
    url("../assets/hero-systems.png") right center / min(72rem, 68vw) auto no-repeat,
    var(--dark);
  color: var(--white);
  perspective: 1200px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 42% -12% -18%;
  z-index: -2;
  background:
    linear-gradient(rgba(94, 208, 200, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 208, 200, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotateX(64deg) translateY(8%);
  transform-origin: top center;
  animation: gridDrift 18s linear infinite;
  opacity: 0.45;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(0deg, rgba(13, 17, 16, 0.92), transparent);
}

.hero-copy {
  max-width: 43rem;
}

.holographic-panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(13, 17, 16, 0.42);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 48px rgba(44, 119, 119, 0.2);
  backdrop-filter: blur(18px);
}

.holographic-panel::before,
.holographic-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.holographic-panel::before {
  inset: 0;
  border: 1px solid rgba(94, 208, 200, 0.18);
  transform: translate(10px, 10px);
}

.holographic-panel::after {
  right: 1rem;
  bottom: 1rem;
  width: 7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 208, 200, 0.8));
  box-shadow: 0 0 18px var(--glow);
}

.hero-network {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(122deg, transparent 0 23%, rgba(94, 208, 200, 0.16) 23.2%, transparent 23.6% 100%),
    linear-gradient(52deg, transparent 0 58%, rgba(72, 128, 190, 0.14) 58.2%, transparent 58.6% 100%),
    linear-gradient(154deg, transparent 0 70%, rgba(210, 154, 67, 0.1) 70.2%, transparent 70.55% 100%);
}

.network-node {
  position: absolute;
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #72e3dc;
  box-shadow: 0 0 18px rgba(114, 227, 220, 0.8);
  animation: nodePulse 4.8s ease-in-out infinite;
}

.network-node-a {
  top: 22%;
  left: 52%;
}

.network-node-b {
  top: 34%;
  right: 17%;
  animation-delay: 0.7s;
}

.network-node-c {
  right: 34%;
  bottom: 26%;
  animation-delay: 1.4s;
}

.network-node-d {
  top: 62%;
  left: 42%;
  animation-delay: 2.1s;
}

.network-node-e {
  right: 8%;
  bottom: 45%;
  animation-delay: 2.8s;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 1rem;
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b452;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  font-size: clamp(4rem, 8.3vw, 7.8rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 5vw, 4.85rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero-text {
  max-width: 39rem;
  margin-bottom: 1.65rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.76rem 1.05rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button.primary {
  background: var(--gold);
  color: #17120b;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.reveal-zone {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.tilt-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tilt-card:hover,
.tilt-card:focus-within {
  border-color: rgba(44, 119, 119, 0.42);
  box-shadow: 0 26px 80px rgba(22, 18, 12, 0.16);
}

.hero-visual {
  min-height: min(58vh, 35rem);
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-metrics div {
  min-height: 9rem;
  padding: 1.25rem;
}

.hero-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-metrics span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: clamp(1.35rem, 2.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.hero-metrics p {
  max-width: 18rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) max(1rem, calc((100vw - 1220px) / 2));
}

.section-intro {
  position: relative;
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--vellum);
}

.section-intro::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(1rem, calc((100vw - 1220px) / 2 + 12rem));
  width: 1px;
  background: var(--line);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.intro-copy {
  padding-top: 0.4rem;
}

.intro-copy p {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.intro-copy p + p {
  margin-top: 1.1rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.45fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-heading p {
  max-width: 33rem;
  margin-bottom: 0.25rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-card {
  min-height: 17rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.45));
  transform-style: preserve-3d;
}

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

.metric-value {
  display: block;
  margin-bottom: 4rem;
  color: var(--plum);
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  font-weight: 800;
  line-height: 0.82;
  text-shadow: 0 12px 38px rgba(73, 48, 84, 0.18);
}

.metric-card h3,
.metric-card p {
  max-width: 18rem;
}

.metric-card p,
.feature-card p,
.project-card p {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: feature;
}

.feature-card {
  position: relative;
  min-height: 14rem;
  padding: 1.65rem 1.65rem 1.65rem 4.5rem;
  border-bottom: 1px solid var(--line);
  counter-increment: feature;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.72), rgba(255, 250, 240, 0.34));
}

.feature-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.feature-card::before {
  content: "0" counter(feature);
  position: absolute;
  top: 1.75rem;
  left: 1.4rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card h3 {
  max-width: 15rem;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.mission-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #101615, #17231f 55%, #111421);
  color: var(--white);
}

.mission-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(94, 208, 200, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 208, 200, 0.075) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.mission-section .section-heading,
.mission-grid {
  position: relative;
  z-index: 1;
}

.mission-section p {
  color: rgba(255, 255, 255, 0.68);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.mission-card {
  min-height: 15rem;
  padding: 1.25rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(13, 17, 16, 0.72);
  backdrop-filter: blur(16px);
}

.mission-card span {
  display: inline-flex;
  min-width: 2.2rem;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.2rem;
  border: 1px solid rgba(94, 208, 200, 0.32);
  border-radius: 50%;
  color: #72e3dc;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(94, 208, 200, 0.18);
}

.mission-card h3 {
  max-width: 13rem;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  background: #eee4d5;
}

.split-section h2 {
  position: sticky;
  top: 6rem;
}

.split-section > div > p {
  max-width: 30rem;
}

.experience-proof {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.experience-proof span {
  display: inline-flex;
  width: fit-content;
  min-height: 2.45rem;
  align-items: center;
  border: 1px solid rgba(24, 21, 16, 0.16);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 250, 240, 0.62);
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.experience-stack {
  display: grid;
  gap: 1.2rem;
}

.career-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(24, 21, 16, 0.16);
  background:
    linear-gradient(90deg, rgba(44, 119, 119, 0.25), rgba(73, 48, 84, 0.16)),
    rgba(24, 21, 16, 0.12);
  box-shadow: 0 22px 70px rgba(22, 18, 12, 0.12);
}

.career-path article {
  position: relative;
  min-height: 10rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  background:
    linear-gradient(160deg, rgba(255, 250, 240, 0.8), rgba(255, 250, 240, 0.42));
}

.career-path article::after {
  content: "";
  position: absolute;
  right: -0.36rem;
  top: 50%;
  z-index: 1;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(44, 119, 119, 0.46);
}

.career-path article:last-child::after {
  display: none;
}

.career-path span {
  display: block;
  margin-bottom: 2rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.career-path h3 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.18;
}

.timeline-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: timeline;
  border-top: 1px solid rgba(24, 21, 16, 0.2);
}

.timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(24, 21, 16, 0.2);
  counter-increment: timeline;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 7.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(44, 119, 119, 0.12);
}

.timeline-list li > span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-list h3 {
  max-width: 34rem;
  margin-bottom: 0.35rem;
}

.timeline-list p {
  margin: 0;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(24, 21, 16, 0.18);
  background:
    linear-gradient(135deg, rgba(41, 79, 61, 0.12), rgba(35, 79, 118, 0.1)),
    rgba(255, 250, 240, 0.68);
}

.download-panel h3 {
  margin-bottom: 0.35rem;
}

.download-panel p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.download-list {
  display: grid;
  gap: 0.55rem;
}

.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.1rem;
  border: 1px solid rgba(24, 21, 16, 0.14);
  border-radius: 8px;
  padding: 0.62rem 0.75rem;
  background: rgba(255, 250, 240, 0.82);
  color: var(--dark);
  font-weight: 800;
  text-decoration: none;
}

.download-list a:hover,
.download-list a:focus-visible {
  border-color: rgba(44, 119, 119, 0.4);
  transform: translateY(-1px);
  outline: none;
}

.download-list span {
  order: 2;
  color: var(--rust);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 1rem;
}

.project-card {
  min-height: 17rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 18px 50px rgba(22, 18, 12, 0.08);
  transform-style: preserve-3d;
}

.project-card-featured {
  grid-row: span 2;
  min-height: 35rem;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background:
    linear-gradient(145deg, rgba(41, 79, 61, 0.94), rgba(35, 79, 118, 0.86)),
    var(--green);
  color: var(--white);
}

.project-card-featured .tag {
  color: #f3c165;
}

.project-card-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.project-card h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.tag {
  display: inline-block;
  color: var(--rust);
}

.credentials-section {
  background:
    linear-gradient(135deg, rgba(73, 48, 84, 0.08), rgba(44, 119, 119, 0.08)),
    #f2eadf;
}

.credential-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
}

.credential-feature,
.credential-row {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 50px rgba(22, 18, 12, 0.08);
  transform-style: preserve-3d;
}

.credential-feature {
  display: grid;
  min-height: 32rem;
  align-content: end;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background:
    linear-gradient(150deg, rgba(13, 17, 16, 0.92), rgba(35, 79, 118, 0.82)),
    var(--dark);
  color: var(--white);
}

.credential-feature h3 {
  max-width: 11ch;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.95;
}

.credential-feature p {
  color: rgba(255, 255, 255, 0.72);
}

.credential-feature .credential-id {
  width: fit-content;
  margin: 0.35rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.credential-id strong {
  color: var(--white);
  white-space: nowrap;
}

.credential-link,
.credential-row a {
  display: inline-flex;
  width: fit-content;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.credential-link {
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  background: var(--gold);
  color: #17120b;
}

.credential-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.credential-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.credential-row span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential-row h3 {
  margin-bottom: 0.25rem;
}

.credential-row p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.credential-row a {
  border: 1px solid rgba(13, 17, 16, 0.18);
  padding: 0.55rem 0.8rem;
  color: var(--dark);
}

.credential-row a:hover,
.credential-row a:focus-visible,
.credential-link:hover,
.credential-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.intelligence-section {
  background:
    linear-gradient(135deg, rgba(35, 79, 118, 0.08), rgba(183, 101, 50, 0.08)),
    var(--vellum);
}

.intelligence-console {
  display: grid;
  grid-template-columns: minmax(22rem, 0.95fr) minmax(20rem, 0.75fr);
  gap: 1.2rem;
}

.signal-map {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(116deg, transparent 0 38%, rgba(44, 119, 119, 0.18) 38.2%, transparent 38.8% 100%),
    linear-gradient(42deg, transparent 0 58%, rgba(35, 79, 118, 0.14) 58.2%, transparent 58.8% 100%),
    linear-gradient(156deg, transparent 0 67%, rgba(183, 101, 50, 0.14) 67.2%, transparent 67.8% 100%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.82), rgba(238, 228, 213, 0.9));
  box-shadow: var(--shadow);
}

.signal-map::before,
.signal-map::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(44, 119, 119, 0.24);
  transform: rotate(12deg);
}

.signal-map::after {
  inset: 28%;
  border-color: rgba(183, 101, 50, 0.24);
  transform: rotate(-18deg);
}

.signal-node {
  position: absolute;
  z-index: 1;
  display: grid;
  min-width: 7.6rem;
  min-height: 3.25rem;
  place-items: center;
  border: 1px solid rgba(24, 21, 16, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.84);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 46px rgba(22, 18, 12, 0.12);
}

.node-core {
  top: 43%;
  left: 45%;
  min-width: 8.8rem;
  min-height: 4rem;
  background: var(--dark);
  color: var(--white);
}

.node-supply {
  top: 12%;
  left: 12%;
}

.node-data {
  top: 18%;
  right: 12%;
}

.node-ai {
  right: 10%;
  bottom: 14%;
}

.node-risk {
  bottom: 15%;
  left: 12%;
}

.node-product {
  top: 48%;
  left: 6%;
}

.capability-panel {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.88);
  box-shadow: var(--shadow);
}

.capability-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.capability-tab,
.map-filter,
.map-scroll {
  min-height: 2.9rem;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-weight: 800;
}

.capability-tab {
  background: var(--vellum);
  color: var(--muted);
}

.capability-tab.is-active,
.capability-tab:hover,
.capability-tab:focus-visible {
  background: var(--dark);
  color: var(--white);
  outline: none;
}

.capability-output {
  min-height: 21rem;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.capability-output span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-output h3 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
}

.capability-output p {
  max-width: 28rem;
  font-size: 1.05rem;
}

.future-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 17, 16, 0.98), rgba(24, 34, 33, 0.98)),
    var(--dark);
  color: var(--white);
}

.future-section p {
  color: rgba(255, 255, 255, 0.68);
}

.future-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.46fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.future-intro h2 {
  max-width: 15ch;
}

.future-intro p {
  max-width: 34rem;
  margin-bottom: 0.4rem;
}

.roadmap-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.roadmap-filters,
.roadmap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.map-filter,
.map-scroll {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  padding: 0 0.85rem;
}

.map-filter.is-active,
.map-filter:hover,
.map-filter:focus-visible,
.map-scroll:hover,
.map-scroll:focus-visible {
  background: var(--gold);
  color: #17120b;
  outline: none;
}

.future-map-shell {
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-color: rgba(210, 154, 67, 0.65) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.future-map {
  display: grid;
  grid-template-columns: 9.5rem repeat(5, minmax(10rem, 1fr));
  gap: 1px;
  min-width: 78rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.map-label,
.map-card,
.beyond-card {
  background: rgba(13, 17, 16, 0.82);
}

.map-label {
  display: flex;
  min-height: 13.5rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #f3c165;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.map-card {
  position: relative;
  min-height: 13.5rem;
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
    rgba(13, 17, 16, 0.82);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid rgba(44, 119, 119, 0.8);
  pointer-events: none;
}

.map-card.impact::before {
  border-top-color: rgba(210, 154, 67, 0.88);
}

.map-card.career::before {
  border-top-color: rgba(137, 95, 151, 0.9);
}

.map-card span,
.beyond-card span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 0.9;
}

.map-card h3 {
  max-width: 12rem;
  color: var(--white);
}

.map-card p {
  margin-bottom: 0;
  font-size: 0.83rem;
  line-height: 1.5;
}

.map-card:hover,
.map-card:focus-visible,
.map-card.is-selected {
  z-index: 2;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(13, 17, 16, 0.94);
  outline: 1px solid rgba(243, 193, 101, 0.7);
  transform: translateY(-4px);
}

.future-map.is-filtering .map-card:not(.is-match) {
  opacity: 0.28;
}

.year-2026 {
  background-color: rgba(35, 79, 118, 0.2);
}

.year-2027 {
  background-color: rgba(44, 119, 119, 0.18);
}

.year-2028 {
  background-color: rgba(41, 79, 61, 0.2);
}

.year-2029 {
  background-color: rgba(73, 48, 84, 0.24);
}

.year-2030 {
  background-color: rgba(183, 101, 50, 0.18);
}

.beyond-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 7rem;
  padding: 1.2rem 1.4rem;
  background:
    linear-gradient(90deg, rgba(210, 154, 67, 0.18), rgba(44, 119, 119, 0.12)),
    rgba(13, 17, 16, 0.92);
}

.beyond-card span {
  margin-bottom: 0;
  color: #f3c165;
  font-size: 1.35rem;
}

.beyond-card p {
  margin: 0;
}

.roadmap-inspector {
  display: grid;
  grid-template-columns: 10rem minmax(14rem, 0.52fr) minmax(0, 1.25fr);
  gap: 1.2rem;
  align-items: start;
  margin-top: 1rem;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(210, 154, 67, 0.12), rgba(94, 208, 200, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.roadmap-inspector span {
  color: #f3c165;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-inspector h3 {
  margin-bottom: 0;
  color: var(--white);
}

.roadmap-inspector p {
  max-width: 58rem;
  margin-bottom: 0;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding: clamp(4rem, 7vw, 6rem) max(1rem, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--line);
  background: var(--vellum);
}

.site-footer h2 {
  max-width: 13ch;
  margin-bottom: 0.85rem;
}

.site-footer p {
  max-width: 45rem;
  margin-bottom: 0;
}

.site-footer .button.primary {
  background: var(--dark);
  color: var(--white);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.dark-link {
  border: 1px solid rgba(13, 17, 16, 0.2);
  background: transparent;
  color: var(--dark);
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(13, 17, 16, 0.95) 0%, rgba(13, 17, 16, 0.82) 62%, rgba(13, 17, 16, 0.72) 100%),
      url("../assets/hero-systems.png") center bottom / cover no-repeat,
      var(--dark);
  }

  .hero-visual {
    display: none;
  }

  .section-intro,
  .intro-layout,
  .section-heading,
  .split-section,
  .credential-layout,
  .future-intro,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-intro::before {
    display: none;
  }

  .split-section h2 {
    position: static;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

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

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

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

  .project-card-featured {
    grid-column: 1 / -1;
    min-height: 22rem;
  }

  .intelligence-console {
    grid-template-columns: 1fr;
  }

  .signal-map {
    min-height: 28rem;
  }

  .future-section {
    overflow: hidden;
  }

  .roadmap-inspector {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

  .hero-metrics,
  .metric-grid,
  .feature-grid,
  .project-grid,
  .capability-tabs,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div + div,
  .metric-card + .metric-card,
  .feature-card:nth-child(odd) {
    border-left: 0;
    border-right: 0;
  }

  .hero-metrics div + div,
  .metric-card + .metric-card {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .metric-card + .metric-card {
    border-top-color: var(--line);
  }

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

  .metric-value {
    margin-bottom: 2.2rem;
  }

  .feature-card {
    min-height: auto;
    padding-right: 0;
  }

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

  .career-path {
    grid-template-columns: 1fr;
  }

  .career-path article::after {
    display: none;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
  }

  .timeline-list li::before {
    display: none;
  }

  .credential-row {
    grid-template-columns: 1fr;
  }

  .roadmap-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .button,
  .contact-actions {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .brand {
    white-space: normal;
  }

  .site-nav a {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}

@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-zone {
    opacity: 1;
    transform: none;
  }

  .hero::before,
  .network-node {
    animation: none;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 84px;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
