:root {
  color-scheme: light;
  --ink: #101213;
  --paper: #f6f7f2;
  --paper-strong: #ffffff;
  --muted: #5a625f;
  --line: #d7ddd5;
  --cyan: #168c8e;
  --cyan-bright: #24c6c8;
  --red: #d94f3f;
  --green: #6f913b;
  --gold: #b9851e;
  --shadow: 0 18px 50px rgba(16, 18, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(246, 247, 242, 0.16);
  background: rgba(16, 18, 19, 0.9);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-lockup img {
  flex: 0 0 44px;
  border-radius: 6px;
}

.brand-lockup span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: rgba(246, 247, 242, 0.76);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--cyan-bright);
}

.hero {
  position: relative;
  min-height: min(790px, 86svh);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

#neural-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 18, 19, 0.96) 0%, rgba(16, 18, 19, 0.72) 48%, rgba(16, 18, 19, 0.42) 100%),
    linear-gradient(0deg, rgba(16, 18, 19, 0.08), rgba(16, 18, 19, 0.08));
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 10vh, 118px) 0 clamp(58px, 10vh, 110px);
}

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

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--cyan-bright);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.7rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-kicker {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(246, 247, 242, 0.82);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
}

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

.button-primary:hover {
  background: #7ee1dc;
}

.button-secondary {
  border-color: rgba(246, 247, 242, 0.3);
  color: var(--paper);
}

.button-secondary:hover {
  border-color: var(--red);
  color: #ffffff;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 420px);
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.36));
}

.hero-mark img {
  border-radius: 8px;
}

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

.intro-band,
.section-band,
.learning-band,
.influence-band {
  padding: clamp(64px, 9vw, 110px) 0;
}

.intro-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.intro-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.influence-panel h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro-grid p:not(.section-label),
.influence-panel p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.26rem);
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skill-card {
  min-height: 250px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.card-index {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
}

.skill-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: 0;
}

.skill-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.skill-card:nth-child(2n) .card-index {
  color: var(--cyan);
}

.skill-card:nth-child(3n) .card-index {
  color: var(--green);
}

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

.learning-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 100px);
}

.trail-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(246, 247, 242, 0.16);
}

.trail-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  background: rgba(246, 247, 242, 0.055);
}

.trail-list span {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
}

.trail-list p {
  margin: 0;
  color: rgba(246, 247, 242, 0.78);
}

.influence-band {
  background:
    linear-gradient(90deg, rgba(36, 198, 200, 0.11), transparent 42%),
    var(--paper-strong);
}

.influence-panel {
  max-width: 980px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell,
  .intro-grid,
  .learning-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-top: 64px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.4rem, 17vw, 5.7rem);
  }

  .hero-mark {
    justify-self: start;
    width: min(74vw, 300px);
  }

  .section-heading {
    display: block;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 88px;
  }

  .brand-lockup span {
    max-width: calc(100vw - 92px);
  }

  .site-nav {
    font-size: 0.86rem;
  }

  .hero-shell,
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: 220px;
  }

  .trail-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
  }

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

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

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

