* {
  box-sizing: border-box;
}

:root {
  --bg: #070707;
  --surface: rgba(255,255,255,.045);
  --surface-strong: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.12);
  --text: #f7f7f2;
  --muted: #a9a9a3;
  --muted-2: #777772;
  --accent: #d8ff52;
  --accent-2: #6ae7ff;
  --max: 1220px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -5%, rgba(216,255,82,.07), transparent 30%),
    radial-gradient(circle at 95% 20%, rgba(106,231,255,.07), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #111;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .04;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .06;
  pointer-events: none;
}

.orb-a {
  top: 20%;
  left: -220px;
  background: var(--accent);
}

.orb-b {
  right: -220px;
  bottom: 10%;
  background: var(--accent-2);
}

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 650;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: "Space Grotesk";
  font-size: 13px;
  background: rgba(255,255,255,.04);
}

.desktop-nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.social-row a:hover {
  color: var(--text);
}

.site-header > .button {
  justify-self: end;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

.hero {
  padding-top: 110px;
  padding-bottom: 95px;
}

.eyebrow,
.section-kicker,
.project-type,
.timeline-date {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent);
}

.hero-title,
.section-title,
.contact-panel h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 26px 0;
}

.hero-title {
  font-size: clamp(64px, 9.2vw, 138px);
  max-width: 1180px;
}

.gradient-text {
  background: linear-gradient(100deg, #fff, #d8ff52 46%, #6ae7ff);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 23px);
  color: #c0c0ba;
  line-height: 1.55;
}

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

.button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .25s ease;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
}

.button-primary {
  background: var(--text);
  color: #0a0a0a;
}

.button-primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

.button-secondary,
.button-ghost {
  border-color: var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 90px;
  border: 1px solid var(--border);
  background: var(--border);
}

.hero-meta > div {
  background: #0a0a0a;
  padding: 25px 28px;
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  font-family: "Space Grotesk";
  font-size: 17px;
  margin-bottom: 5px;
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px;
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-track {
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker span,
.ticker i {
  display: inline-block;
  margin-right: 28px;
}

.ticker i {
  color: var(--accent);
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.split-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

.section-title {
  font-size: clamp(48px, 7vw, 92px);
  margin-top: 15px;
  margin-bottom: 70px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
}

.large-copy {
  margin: 0;
  font-family: "Space Grotesk";
  letter-spacing: -.03em;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.about-copy {
  color: var(--muted);
  font-size: 17px;
}

.about-copy p:first-child {
  margin-top: 0;
}

.timeline {
  border-top: 1px solid var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 45px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-body {
  max-width: 850px;
}

.role-line {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: baseline;
}

.role-line h3 {
  font-family: "Space Grotesk";
  font-size: 28px;
  margin: 0;
  letter-spacing: -.025em;
}

.role-line > span {
  color: var(--muted);
  text-align: right;
  max-width: 390px;
}

.timeline-body > p {
  color: var(--muted);
  max-width: 760px;
  font-size: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #c8c8c2;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}

.impact-list {
  color: var(--muted);
  padding-left: 20px;
  margin-top: 24px;
}

.impact-list li {
  margin: 7px 0;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.section-note {
  max-width: 290px;
  color: var(--muted);
  margin-bottom: 78px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}

.project-card {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  position: relative;
  overflow: hidden;
  transition: .3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.22);
}

.project-card::after {
  content: "";
  width: 180px;
  height: 180px;
  position: absolute;
  right: -80px;
  bottom: -90px;
  background: var(--accent);
  filter: blur(90px);
  opacity: .06;
}

.project-featured {
  min-height: 500px;
  grid-row: span 2;
  background:
    linear-gradient(160deg, rgba(216,255,82,.09), transparent 35%),
    rgba(255,255,255,.035);
}

.project-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.project-number {
  font-family: "Space Grotesk";
  color: var(--accent);
}

.project-card h3 {
  font-family: "Space Grotesk";
  font-size: clamp(30px, 4vw, 54px);
  margin: 60px 0 16px;
  letter-spacing: -.045em;
}

.project-card p {
  color: var(--muted);
  max-width: 620px;
}

.project-highlight {
  margin-top: 80px;
  padding: 22px;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.project-highlight span,
.project-highlight strong {
  display: block;
}

.project-highlight span {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  margin-bottom: 7px;
}

.project-highlight strong {
  font-size: 14px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.skill-card {
  min-height: 280px;
  background: #0a0a0a;
  padding: 28px;
}

.skill-index {
  color: var(--accent);
  font-family: "Space Grotesk";
  font-size: 13px;
}

.skill-card h3 {
  font-family: "Space Grotesk";
  margin: 65px 0 14px;
  font-size: 23px;
  letter-spacing: -.025em;
}

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

.manifesto {
  padding-top: 170px;
  padding-bottom: 170px;
  text-align: center;
}

.manifesto-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}

.manifesto blockquote {
  margin: 30px auto 0;
  max-width: 1050px;
  font-family: "Space Grotesk";
  font-size: clamp(38px, 5.7vw, 76px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.contact-section {
  padding-top: 60px;
}

.contact-panel {
  min-height: 480px;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  background:
    radial-gradient(circle at 80% 30%, rgba(216,255,82,.11), transparent 35%),
    rgba(255,255,255,.035);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
}

.contact-panel h2 {
  font-size: clamp(50px, 7vw, 90px);
  margin: 24px 0;
}

.contact-panel p {
  color: var(--muted);
  max-width: 620px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.social-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 12px;
}

footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s ease;
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .brand-name {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-meta,
  .about-grid,
  .project-grid,
  .skill-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .role-line {
    flex-direction: column;
    gap: 6px;
  }

  .role-line > span {
    text-align: left;
  }

  .project-featured {
    grid-row: auto;
  }

  .section-heading-row {
    display: block;
  }

  .section-note {
    margin-top: -40px;
    margin-bottom: 50px;
  }

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

  .contact-panel {
    align-items: start;
  }
}

@media (max-width: 580px) {
  .section,
  .site-header,
  footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-title {
    font-size: clamp(52px, 17vw, 76px);
  }

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

  .hero-meta {
    margin-top: 60px;
  }

  .project-card,
  .contact-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .project-card {
    min-height: 320px;
  }

  .project-highlight {
    margin-top: 40px;
  }

  .manifesto {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
