@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #101a2f;
  --muted: #62708a;
  --paper: #f7f9fc;
  --cream: #eaf1fb;
  --blue: #1d6cff;
  --blue-deep: #081a36;
  --blue-soft: #92c9ff;
  --on-deep: #dbe9ff;
  --orange: #ff7a18;
  --line: rgba(16, 26, 47, 0.16);
  --radius: 24px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f5f8ff;
    --muted: #a7b5cf;
    --paper: #071326;
    --cream: #0b2347;
    --blue: #62b5ff;
    --blue-deep: #040d1d;
    --blue-soft: #9dd2ff;
    --on-deep: #dceaff;
    --orange: #ff8a1f;
    --line: rgba(245, 248, 255, 0.18);
  }
}

:root[data-theme="dark"] {
  --ink: #f5f8ff;
  --muted: #a7b5cf;
  --paper: #071326;
  --cream: #0b2347;
  --blue: #62b5ff;
  --blue-deep: #040d1d;
  --blue-soft: #9dd2ff;
  --on-deep: #dceaff;
  --orange: #ff8a1f;
  --line: rgba(245, 248, 255, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

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

.site-header {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: 'Space Grotesk', Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
nav a { text-decoration: none; }
nav a:not(.nav-pill):hover, nav a.active { color: var(--blue); }
.nav-pill { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 15px; }
.nav-pill:hover { color: var(--paper); background: var(--ink); }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; color: var(--ink); background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-icon { font-size: 15px; line-height: 1; }

.hero { min-height: 650px; display: grid; grid-template-columns: 0.96fr 1.04fr; gap: 70px; align-items: center; padding: 78px 0 100px; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', Manrope, sans-serif; letter-spacing: -0.06em; line-height: 1.05; }
h1 { max-width: 610px; margin-bottom: 28px; font-size: clamp(52px, 7vw, 94px); font-weight: 700; }
h1 em { color: var(--blue); font-style: normal; }
.hero-text { max-width: 500px; margin-bottom: 32px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 14px; border-radius: 999px; padding: 14px 20px; font-size: 13px; font-weight: 800; text-decoration: none; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--blue-deep); }
.button-light { color: #081a36; background: #f7f9fc; }
.button-light:hover { background: #eaf1fb; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--blue); }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 445px; overflow: hidden; border-radius: var(--radius); padding: 34px; background: var(--blue-deep); isolation: isolate; }
.hero-art::before, .hero-art::after { content: ''; position: absolute; top: 50%; left: 50%; border: 1px solid rgba(98, 181, 255, 0.28); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.hero-art::before { width: 390px; height: 390px; }
.hero-art::after { width: 540px; height: 540px; border-color: rgba(98, 181, 255, 0.16); }
.hero-art img { position: relative; z-index: 1; display: block; width: min(100%, 250px); height: auto; }

.intro-band { padding: 88px 0; background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 70px 1fr 0.8fr; gap: 30px; align-items: start; }
.section-number { margin: 0; color: var(--blue); font-family: 'DM Mono', monospace; font-size: 12px; }
h2 { margin-bottom: 22px; font-size: clamp(34px, 4vw, 54px); }
.intro-grid h2 { max-width: 590px; margin-bottom: 0; }
.intro-note { max-width: 340px; margin: 0; color: var(--muted); font-size: 15px; }

.projects { padding: 112px 0 130px; }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 250px; margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.project-card { display: grid; grid-template-columns: 80px 1fr 260px; gap: 30px; align-items: center; min-height: 300px; padding: 42px; border-radius: var(--radius); background: var(--blue-deep); color: var(--paper); }
.project-index { align-self: start; color: var(--blue-soft); font-family: 'DM Mono', monospace; font-size: 12px; }
.project-kicker { margin-bottom: 15px; color: var(--blue-soft); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.project-main h3 { margin-bottom: 18px; color: white; font-size: 64px; }
.project-subtitle { margin: -6px 0 18px; color: var(--blue-soft); font-size: 16px; font-weight: 700; letter-spacing: 0.01em; }
.project-main > p:not(.project-kicker) { max-width: 520px; margin-bottom: 25px; color: var(--on-deep); font-size: 15px; }
.project-main .text-link { color: white; }
.project-main .text-link:hover { color: var(--blue-soft); }
.project-logo { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 20px; border: 1px solid rgba(245,242,235,.35); border-radius: 20px; }
.project-logo img { display: block; width: min(100%, 150px); height: auto; }
.future-card { display: flex; justify-content: space-between; gap: 30px; margin-top: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.future-card .eyebrow { margin-bottom: 0; }
.future-card p:last-child { margin: 0; color: var(--muted); font-size: 14px; }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 25px 0 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer p { margin: 0; color: var(--ink); font-weight: 800; }
.site-footer div { display: flex; gap: 15px; }.site-footer a { text-decoration: none; }.site-footer a:hover { color: var(--blue); }

.about-hero { padding: 105px 0 115px; }.about-hero h1 { max-width: 760px; }.about-lede { max-width: 630px; margin: 0; color: var(--muted); font-size: 20px; }
.about-body { display: grid; grid-template-columns: 1fr 2.1fr; gap: 50px; padding: 95px 0; border-top: 1px solid var(--line); }.about-column .eyebrow { margin-top: 32px; }.about-copy h2 { max-width: 620px; }.about-copy p { max-width: 630px; color: var(--muted); font-size: 17px; }.about-copy p + p { margin-top: 24px; }
.wave-blurb { padding: 86px 0; background: var(--blue-deep); color: #f7f9fc; }.wave-blurb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }.wave-blurb h2 { margin: 0; color: white; font-size: clamp(58px, 8vw, 110px); }.wave-blurb .eyebrow { color: var(--blue-soft); }.wave-blurb p:not(.eyebrow) { max-width: 460px; color: var(--on-deep); font-size: 17px; }.wave-blurb .project-subtitle { margin-top: 16px; color: var(--blue-soft); }.wave-blurb .button { margin-top: 15px; }.closing { padding: 110px 0; }.closing h2 { max-width: 550px; }

@media (max-width: 760px) {
  .section-shell, .site-header { width: min(100% - 32px, 560px); }
  .site-header { min-height: 76px; }
  nav { gap: 10px; }
  .theme-toggle { padding: 9px; }.theme-toggle [data-theme-label] { display: none; }
  .hero { display: block; padding: 70px 0 80px; }.hero-art { min-height: 320px; margin-top: 55px; }
  .intro-grid, .about-body { grid-template-columns: 1fr; gap: 20px; }.intro-note { max-width: 520px; }.section-number { margin-bottom: 8px; }
  .section-heading { display: block; }.section-heading > p { margin-top: 20px; }
  .project-card { grid-template-columns: 1fr; gap: 20px; padding: 28px; }.project-logo { max-width: 260px; }.project-main h3 { font-size: 56px; }
  .future-card, .site-footer { display: block; }.future-card p:last-child { margin-top: 18px; }.site-footer div { margin-top: 12px; }
  .about-hero { padding: 75px 0 80px; }.wave-blurb-grid { grid-template-columns: 1fr; gap: 35px; }.closing { padding: 80px 0; }
}
