:root {
  --paper: #ffffff;
  --panel: #f5f9ff;
  --ink: #07111f;
  --muted: #5e6a78;
  --line: #0b4dff;
  --blue: #0071e3;
  --blue-deep: #0047c2;
  --yellow: #ffd60a;
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 20% 12%, rgba(0,113,227,0.13), transparent 30vw),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.cursor {
  position: fixed;
  z-index: 80;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.top-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 120px;
  gap: 24px;
  align-items: start;
  padding: 22px clamp(18px, 3vw, 42px);
  color: var(--ink);
  mix-blend-mode: normal;
  pointer-events: none;
}

.maker,
.nav-links,
.menu-pill {
  pointer-events: auto;
}

.maker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,113,227,0.35);
  border-radius: 50%;
  font-size: 0.82rem;
}

.maker-text span,
.maker-text strong {
  display: block;
  line-height: 1;
}

.maker-text span {
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 26px;
  width: fit-content;
  justify-self: center;
  padding: 12px 22px;
  border: 1px solid rgba(0,113,227,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 14px 40px rgba(0,71,194,0.13);
  backdrop-filter: blur(18px);
  font-weight: 800;
}

.nav-links a {
  position: relative;
}

.nav-links a::after,
.contact-row a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.contact-row a:hover::after {
  width: 100%;
}

.menu-pill {
  position: relative;
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0,113,227,0.32);
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 14px 40px rgba(0,71,194,0.13);
  overflow: hidden;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-pill span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 520ms cubic-bezier(.76,0,.24,1);
}

.menu-pill span:last-child {
  transform: rotateX(-90deg) translateY(18px);
}

body.menu-open .menu-pill span:first-child {
  transform: rotateX(90deg) translateY(-18px);
}

body.menu-open .menu-pill span:last-child {
  transform: rotateX(0deg) translateY(0);
}

.menu-panel {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto auto;
  width: min(520px, 100vw);
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 90px 38px 38px;
  background: var(--blue);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform 620ms cubic-bezier(.76,0,.24,1);
}

body.menu-open .menu-panel {
  transform: translateX(0);
}

.menu-panel a {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 0.92;
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px clamp(18px, 3vw, 42px) 34px;
}

.hero-lines {
  display: grid;
  gap: clamp(0px, 1.2vw, 14px);
  margin-bottom: auto;
  padding-top: clamp(42px, 8vh, 72px);
}

.word-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 32px);
  font-size: clamp(4.6rem, 9.4vw, 10.6rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: 0;
  will-change: transform;
}

.word-row.offset {
  padding-left: clamp(0px, 12vw, 180px);
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 620px) 168px;
  justify-content: space-between;
  align-items: end;
  gap: 26px;
  margin-top: 36px;
}

.intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.35;
}

.round-cta {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--paper);
  font-weight: 900;
  transition: transform 280ms ease;
}

.round-cta:hover {
  transform: scale(1.08) rotate(-8deg);
}

.curve-section {
  position: relative;
  min-height: 100dvh;
  margin-top: 120px;
  padding: 190px clamp(18px, 6vw, 86px) 110px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--paper);
}

.curve-cap {
  position: absolute;
  left: -10%;
  top: -110px;
  width: 120%;
  height: 220px;
  border-radius: 0 0 50% 50%;
  background: var(--blue);
  box-shadow: 0 -40px 70px rgba(0,0,0,0.22);
}

.story-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.section-kicker,
.section-title span {
  margin: 0;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin-bottom: 0;
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
}

.story-copy {
  max-width: 680px;
  margin-top: 46px;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
}

.lens-section,
.play-section,
.project-section,
.research-section,
.cv-section,
.contact-section {
  padding: clamp(82px, 10vw, 150px) clamp(18px, 6vw, 86px);
}

.section-title {
  display: grid;
  gap: 20px;
  margin-bottom: 42px;
}

.section-title h2 {
  max-width: 960px;
}

.lens-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.lens-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(0,113,227,0.34);
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  font-weight: 900;
}

.lens-button.active {
  background: var(--blue);
  color: white;
}

.lens-button:hover:not(.active),
.badge-row span:hover,
.capability:hover,
.source-button:hover:not(.active),
.graph-button:hover:not(.active),
.graph-row:hover,
.method-tile:hover,
.cv-card:hover {
  background: var(--yellow);
  color: var(--ink);
}

.lens-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.lens-copy,
.capability {
  border: 1px solid rgba(0,113,227,0.28);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(0,71,194,0.08);
}

.lens-copy {
  min-height: 0;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 26px;
}

.lens-copy h3 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lens-copy p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.35;
  margin: 18px 0 0;
}

.lens-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lens-proof div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,113,227,0.24);
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.lens-proof strong {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lens-proof span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0;
}

.badge-row span {
  padding: 8px 10px;
  border: 1px solid rgba(0,113,227,0.28);
  border-radius: 999px;
  background: white;
  font-size: 0.86rem;
  font-weight: 900;
}

.capability-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.capability {
  min-height: 208px;
  padding: 22px;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.capability:hover {
  transform: translateY(-8px);
  background: var(--yellow);
  color: var(--ink);
}

.capability i {
  margin-bottom: 26px;
}

.capability strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 900;
}

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

.capability:hover p,
.capability:hover i {
  color: var(--ink);
}

.play-section {
  background: linear-gradient(180deg, #eff7ff 0%, #ffffff 100%);
}

.triage-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.triage-card {
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(0,113,227,0.28);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 220ms ease, background 220ms ease;
}

.triage-card:hover {
  transform: rotate(-2deg) translateY(-6px);
  background: var(--yellow);
}

.triage-card.done {
  background: var(--blue);
  color: var(--paper);
}

.triage-card.done span {
  color: var(--paper);
}

.triage-card strong {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.triage-card span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.board-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.marquee-section {
  overflow: hidden;
  padding: 28px 0;
  background: var(--blue);
  color: var(--paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-size: clamp(2.3rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.project-strip {
  display: grid;
  grid-template-columns: 140px 1fr minmax(180px, 0.5fr) 40px;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  border-top: 1px solid rgba(0,113,227,0.32);
  border-bottom: 1px solid rgba(0,113,227,0.32);
  transition: padding 220ms ease, background 220ms ease;
}

.project-strip:hover {
  padding-left: 22px;
  background: var(--panel);
}

.project-number {
  color: var(--blue);
  font-weight: 900;
}

.project-name {
  font-size: clamp(2.4rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

.project-desc {
  color: var(--muted);
  font-weight: 800;
}

.research-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.research-section .section-title {
  margin-bottom: clamp(54px, 7vw, 92px);
}

.research-lab {
  display: grid;
  gap: 18px;
}

.research-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(0,113,227,0.34);
  border-radius: 999px;
  background: white;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.source-button.active {
  background: var(--blue);
  color: white;
}

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

.research-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.74fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: stretch;
  min-height: 520px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(0,113,227,0.28);
  background: rgba(255,255,255,0.78);
  box-shadow: 0 22px 60px rgba(0,71,194,0.1);
}

.research-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(24px, 4vw, 48px);
}

.research-kicker {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.research-card h3 {
  margin: 0;
  font-size: clamp(2.5rem, 5.8vw, 6.2rem);
  line-height: 0.96;
}

.research-card p:not(.research-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.45;
  font-weight: 800;
}

.findings-graph {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(0,113,227,0.24);
  background:
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  padding: clamp(18px, 3vw, 28px);
}

.graph-head {
  display: grid;
  gap: 14px;
}

.graph-head > span {
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.graph-head > strong {
  display: block;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  line-height: 1;
}

.graph-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.graph-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(0,113,227,0.32);
  border-radius: 999px;
  background: white;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease;
}

.graph-button.active {
  background: var(--blue);
  color: white;
}

.graph-bars {
  display: grid;
  gap: 10px;
}

.graph-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  border: 1px solid rgba(0,113,227,0.26);
  background: white;
  padding: 14px;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.graph-row:hover {
  transform: translateY(-4px);
}

.graph-row:hover small {
  color: var(--ink);
}

.graph-label,
.graph-row strong {
  font-weight: 900;
}

.graph-track {
  position: relative;
  height: 18px;
  border: 1px solid rgba(0,113,227,0.25);
  background: #edf6ff;
  overflow: hidden;
}

.graph-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-deep) 100%);
}

.graph-row small {
  grid-column: 2 / 4;
  color: var(--muted);
  font-weight: 800;
}

#research-finding {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.42;
  font-weight: 800;
}

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

.method-tile {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,113,227,0.28);
  background: white;
  padding: 18px;
  text-align: left;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.method-tile:hover {
  transform: translateY(-6px);
}

.method-tile strong {
  font-size: 1.45rem;
  line-height: 1;
}

.method-tile span {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cv-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,113,227,0.28);
  padding: 26px;
  background: white;
  color: var(--ink);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.cv-card:hover {
  transform: rotate(-1.5deg) translateY(-8px);
}

.cv-card.invert {
  background: var(--blue);
  color: #ffffff;
}

.cv-card.invert:hover {
  background: var(--yellow);
  color: var(--ink);
}

.method-tile:hover span {
  color: var(--ink);
}

.cv-card span {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cv-card strong {
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.contact-section {
  min-height: 86dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--paper);
}

.contact-section h2 {
  max-width: 1060px;
  font-size: clamp(4rem, 13vw, 13rem);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
}

.contact-row a {
  position: relative;
  font-weight: 900;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  .cursor { display: none; }

  .top-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    justify-content: space-around;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--paper);
    mix-blend-mode: normal;
    font-size: 0.8rem;
    z-index: 70;
    box-shadow: 0 12px 36px rgba(16,16,20,0.28);
  }

  .maker-text span {
    display: none;
  }

  .menu-pill {
    display: none;
  }

  .hero {
    padding: 64px 16px 170px;
  }

  .hero-lines {
    gap: 6px;
    padding-top: clamp(34px, 7vh, 58px);
  }

  .word-row {
    display: block;
    font-size: clamp(3.35rem, 15.8vw, 4.9rem);
    line-height: 0.88;
    letter-spacing: 0;
    transform: none !important;
  }

  .word-row span {
    display: block;
  }

  .word-row.offset {
    padding-left: 0;
  }

  .hero-bottom,
  .story-grid,
  .lens-stage,
  .research-card,
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .round-cta {
    display: none;
  }

  .intro {
    max-width: 330px;
    font-size: clamp(1rem, 4.5vw, 1.16rem);
  }

  .lens-proof {
    grid-template-columns: 1fr;
  }

  h1,
  h2,
  .contact-section h2 {
    font-size: clamp(3.25rem, 17vw, 6rem);
  }

  .curve-section {
    padding: 140px 16px 80px;
  }

  .lens-section,
  .play-section,
  .project-section,
  .research-section,
  .cv-section,
  .contact-section {
    padding: 74px 16px;
  }

  .capability-stack,
  .triage-board,
  .research-method-grid {
    grid-template-columns: 1fr;
  }

  .findings-graph {
    min-height: 0;
  }

  .graph-row {
    grid-template-columns: 1fr auto;
  }

  .graph-track,
  .graph-row small {
    grid-column: 1 / 3;
  }

  .project-strip {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .cv-card {
    min-height: 280px;
  }
}
