:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --stone: #ecebe7;
  --line: #deddd8;
  --muted: #6d6d68;
  --quiet: #9b9b95;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.92rem;
  line-height: 1.1;
  font-weight: 700;
}

.brand small,
.eyebrow,
.section-kicker,
.asset-meta,
.build-list span,
.ticker,
.timeline span {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 0.68rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.8vw, 38px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

nav a:hover {
  color: var(--ink);
}

nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(54px, 8vw, 112px) clamp(22px, 5vw, 76px) clamp(44px, 7vw, 86px);
}

.hero-copy {
  max-width: 840px;
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 3.9vw, 4.2rem);
  line-height: 0.98;
  font-weight: 650;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 4.2rem);
  line-height: 1.03;
  font-weight: 620;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 650;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 650;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

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

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

.hero-proof {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(62vh, 600px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(var(--line) 1px, transparent 1px),
    var(--soft);
  background-size: 56px 56px;
  box-shadow: var(--shadow);
}

.proof-label,
.proof-lines span,
.proof-lines small {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proof-label {
  margin-bottom: auto;
  color: var(--quiet);
  font-size: 0.72rem;
}

.hero-proof blockquote {
  max-width: 560px;
  margin: 0 0 clamp(44px, 7vw, 82px);
  padding: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.45vw, 2.35rem);
  font-weight: 620;
  line-height: 1.05;
}

.proof-lines {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-lines div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.proof-lines span {
  grid-row: span 2;
  color: var(--quiet);
  font-size: 0.72rem;
}

.proof-lines strong {
  font-weight: 650;
}

.proof-lines small {
  color: var(--quiet);
  font-size: 0.68rem;
}

.ticker {
  display: flex;
  gap: 12px;
  padding: 18px clamp(22px, 5vw, 76px);
  border-block: 1px solid var(--line);
  overflow: auto;
  color: var(--quiet);
  font-size: 0.72rem;
  scrollbar-width: none;
}

.ticker::-webkit-scrollbar {
  display: none;
}

.ticker span {
  flex: 0 0 auto;
}

.section,
.intro-section,
.contact-section {
  padding: clamp(76px, 11vw, 150px) clamp(22px, 5vw, 76px);
}

.intro-grid,
.section-heading,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: end;
}

.intro-section {
  border-bottom: 1px solid var(--line);
}

.intro-section > .section-kicker {
  margin-bottom: 26px;
}

.intro-grid p,
.section-heading > p,
.lab-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.asset-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.asset-card,
.capability-grid article,
.timeline article,
.build-list div {
  border: 0;
  background: var(--paper);
}

.asset-card {
  display: grid;
  grid-template-rows: minmax(230px, 0.78fr) auto;
  min-height: 500px;
}

.asset-card.featured {
  min-height: 500px;
}

.asset-visual {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 230px;
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
  background: var(--soft);
}

.asset-visual::before,
.asset-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.asset-visual::before {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
}

.asset-visual::after {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  width: min(58%, 340px);
  aspect-ratio: 1;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.asset-visual span {
  position: relative;
  z-index: 2;
  max-width: 90%;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 620;
  line-height: 0.98;
}

.courseiq::after {
  border-radius: 0;
  width: min(52%, 300px);
  transform: translate(-50%, -50%) rotate(45deg);
}

.asset-content {
  padding: clamp(22px, 3vw, 34px);
}

.asset-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 0.68rem;
}

.asset-meta span {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.asset-content p,
.capability-grid p,
.timeline p,
.build-list small {
  color: var(--muted);
}

.asset-content a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 650;
  border-bottom: 1px solid var(--ink);
}

.asset-content svg,
.text-link svg {
  width: 16px;
  height: 16px;
}

.split-section {
  background: var(--paper);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.capability-grid article {
  min-height: 270px;
  padding: 26px;
}

.capability-grid svg {
  width: 24px;
  height: 24px;
  margin-bottom: 56px;
  color: var(--muted);
  stroke-width: 1.6;
}

.background-section {
  background: var(--soft);
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline article {
  min-height: 330px;
  padding: 26px;
}

.timeline span {
  display: block;
  margin-bottom: 88px;
  color: var(--quiet);
  font-size: 0.8rem;
}

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

.lab-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: start;
}

.build-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.build-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px 22px;
  padding: 22px;
}

.build-list span {
  color: var(--quiet);
  font-size: 0.7rem;
  grid-row: span 2;
}

.build-list strong,
.build-list small {
  display: block;
}

.contact-section {
  min-height: 46vh;
  background: var(--paper);
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-section .button {
  justify-self: end;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .section-heading,
  .contact-section,
  .lab-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-proof {
    min-height: 500px;
  }

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

  .contact-section .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .asset-grid,
  .capability-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .asset-card,
  .asset-card.featured {
    min-height: auto;
  }

  .hero-proof {
    min-height: 420px;
  }

  .build-list div {
    grid-template-columns: 1fr;
  }

  .build-list span {
    grid-row: auto;
  }
}
