:root {
  --ink: #101214;
  --ink-soft: #2e3438;
  --muted: #67727e;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --surface-warm: #f9f4ea;
  --line: #dfe4e8;
  --dark: #121212;
  --dark-2: #1f2326;
  --green: #1b8f5a;
  --cyan: #0f7b8f;
  --amber: #b66f1a;
  --red: #b23b33;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-180%);
}

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

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(16, 18, 20, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--cyan);
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #1b8f5a;
  outline-offset: 4px;
}

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

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

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  display: flex;
  flex-direction: column;
  padding: 28px 0 46px;
  color: #f7f7f2;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.topbar a {
  text-decoration: none;
}

.hero-grid {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.62fr);
  gap: 42px;
  align-items: end;
  margin-top: 28px;
  padding: 56px;
  background: var(--dark);
  border: 1px solid #262b2e;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 770px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 5.55rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 780px;
  margin-bottom: 30px;
  color: rgba(247, 247, 242, 0.76);
  font-size: 1.17rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.button:hover {
  color: inherit;
  transform: translateY(-1px);
}

.hero-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.profile-image {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.hero-panel h2 {
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 1.4rem;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(247, 247, 242, 0.68);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.signal-grid div {
  min-height: 108px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.9rem;
}

.signal-grid span {
  color: rgba(247, 247, 242, 0.66);
  font-size: 0.84rem;
  line-height: 1.45;
}

.section-block {
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 900px;
}

.section-heading h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  font-size: 1.08rem;
}

.delivery-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.delivery-map::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--line);
}

.delivery-node {
  position: relative;
  z-index: 1;
  min-height: 258px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  animation: rise-in 520ms ease both;
  animation-delay: var(--delay, 0ms);
}

.delivery-node span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 8px;
  background: var(--dark);
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.delivery-node:nth-child(2) span {
  background: var(--cyan);
}

.delivery-node:nth-child(3) span {
  background: var(--green);
}

.delivery-node:nth-child(4) span {
  background: var(--amber);
}

.delivery-node:nth-child(5) span {
  background: var(--red);
}

.delivery-node h3,
.proof-card h3,
.project-item h3,
.detail-body h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 850;
}

.delivery-node p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-card {
  min-height: 346px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  animation: rise-in 520ms ease both;
  animation-delay: var(--delay, 0ms);
}

.proof-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--cyan);
  color: #ffffff;
}

.proof-card:nth-child(2) .proof-icon {
  background: var(--green);
}

.proof-card:nth-child(3) .proof-icon {
  background: var(--amber);
}

.proof-card:nth-child(4) .proof-icon {
  background: var(--red);
}

.proof-card p {
  margin-bottom: 18px;
}

.proof-card li {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.stack-matrix {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stack-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.stack-row:last-child {
  border-bottom: 0;
}

.stack-row span {
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stack-row p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  animation: rise-in 520ms ease both;
  animation-delay: var(--delay, 0ms);
}

.project-item p {
  max-width: 760px;
  margin-bottom: 0;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.project-links a,
.project-inventory a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--surface-warm);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.project-links a:hover,
.project-inventory a:hover {
  background: var(--dark);
  color: #ffffff;
}

.support-section {
  padding-bottom: 100px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  min-height: 62px;
  padding: 19px 22px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

summary::marker {
  color: var(--green);
}

.detail-body {
  padding: 0 22px 24px;
}

.detail-body h3 {
  margin-top: 18px;
}

.detail-body p {
  margin-bottom: 14px;
}

.detail-body li {
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.project-inventory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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;
  }
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 4.4rem;
  }

  .section-heading h2 {
    font-size: 2.85rem;
  }

  .delivery-map {
    grid-template-columns: repeat(3, 1fr);
  }

  .delivery-map::before {
    display: none;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-section {
    padding: 18px 0 30px;
  }

  .hero-grid {
    gap: 30px;
    margin-top: 18px;
    padding: 28px 18px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .hero-lede {
    font-size: 1rem;
  }

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

  .signal-grid,
  .delivery-map,
  .proof-grid,
  .details-grid,
  .project-item,
  .stack-row {
    grid-template-columns: 1fr;
  }

  .signal-grid div,
  .delivery-node,
  .proof-card {
    min-height: auto;
  }

  .section-block {
    padding: 58px 0;
  }

  .section-heading h2 {
    font-size: 2.1rem;
  }

  .project-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .topbar {
    font-size: 0.84rem;
  }

  .hero-panel,
  .proof-card,
  .project-item,
  .stack-row,
  .delivery-node {
    padding: 18px;
  }
}
