:root {
  color-scheme: light;
  --ink: #10110f;
  --paper: #f1efe9;
  --white: #fffef9;
  --muted: #6b6c68;
  --line: #c9c8c1;
  --blue: #1e5eff;
  --blue-light: #b8ccff;
  --coral: #ff6846;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--coral);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 4rem), var(--max));
  padding: 1.4rem 0;
  transform: translateX(-50%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  color: #fff;
}

.wordmark {
  width: max-content;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.wordmark span {
  color: var(--coral);
}

nav {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.6rem);
}

nav a {
  color: rgb(255 255 255 / 68%);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: #070807;
  color: #fff;
}

.hero-sticky {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  min-height: min(920px, 100vh);
  overflow: hidden;
  background: #070807;
}

.hero::before {
  position: absolute;
  top: -18rem;
  left: -18rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 6rem rgb(255 255 255 / 2%),
    0 0 0 12rem rgb(255 255 255 / 1.4%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem clamp(2rem, 6vw, 7rem) 4rem
    max(2rem, calc((100vw - var(--max)) / 2));
}

.kicker,
.section-number,
.project-label {
  margin: 0;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin: 1.5rem 0 1.75rem;
  font-size: clamp(4rem, 7vw, 7.7rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

h1 em {
  display: block;
  color: var(--blue-light);
  font-style: normal;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 13.5rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.cta svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-3px);
}

.cta-light {
  background: #fff;
  color: var(--ink);
}

.cta-accent {
  background: var(--coral);
  color: var(--ink);
}

.text-link {
  color: rgb(255 255 255 / 74%);
  font-size: 0.8rem;
  text-underline-offset: 0.25rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: clamp(3rem, 8vh, 6rem) 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.hero-meta dt {
  margin-bottom: 0.35rem;
  color: rgb(255 255 255 / 38%);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.hero-meta dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #050606;
}

.hero-geometry {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070807 0%, transparent 22%),
    linear-gradient(0deg, #070807 0%, transparent 18%);
  content: "";
  pointer-events: none;
}

.geometry-grid {
  position: absolute;
  inset: -8%;
  transform: translateY(calc(var(--hero-scroll, 0) * -70px))
    rotate(calc(var(--hero-scroll, 0) * 2deg));
  background-image:
    linear-gradient(rgb(184 204 255 / 9%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(184 204 255 / 9%) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 55% 48%, #000 14%, transparent 70%);
}

.geometry-core,
.geometry-orbit {
  position: absolute;
  top: 50%;
  left: 54%;
  border-radius: 50%;
}

.geometry-core {
  z-index: 2;
  display: grid;
  width: clamp(9rem, 18vw, 16rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%)
    rotate(calc(var(--hero-scroll, 0) * 150deg))
    scale(calc(0.82 + var(--hero-scroll, 0) * 0.2));
  place-items: center;
  border: 1px solid rgb(255 255 255 / 36%);
  background:
    radial-gradient(circle, #ffb19f 0 8%, transparent 9%),
    conic-gradient(
      from calc(var(--hero-scroll, 0) * 220deg),
      #17345f,
      #6d8b83,
      #d5a28f,
      #17345f
    );
  box-shadow: 0 0 7rem rgb(30 94 255 / 23%);
}

.geometry-core::before,
.geometry-core::after,
.geometry-core span {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  content: "";
}

.geometry-core::before {
  width: 42%;
  height: 42%;
}

.geometry-core::after {
  width: 72%;
  height: 1px;
  border-width: 1px 0 0;
  border-radius: 0;
}

.geometry-core span {
  width: 1px;
  height: 72%;
  border-width: 0 0 0 1px;
  border-radius: 0;
}

.geometry-orbit {
  z-index: 1;
  border: 1px solid rgb(184 204 255 / 28%);
}

.orbit-outer {
  width: clamp(18rem, 38vw, 35rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%)
    rotate(calc(var(--hero-scroll, 0) * 310deg))
    scale(calc(0.92 + var(--hero-scroll, 0) * 0.12));
}

.orbit-inner {
  width: clamp(14rem, 29vw, 26rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%)
    rotate(calc(var(--hero-scroll, 0) * -420deg));
  border-style: dashed;
}

.geometry-orbit i {
  position: absolute;
  width: 1.05rem;
  height: 1.05rem;
  border: 3px solid #050606;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 35%);
}

.geometry-orbit i:nth-child(1) {
  top: 12%;
  left: 20%;
}

.geometry-orbit i:nth-child(2) {
  top: 48%;
  right: -0.55rem;
  background: var(--coral);
}

.geometry-orbit i:nth-child(3) {
  bottom: 7%;
  left: 28%;
  background: #a9bb90;
}

.geometry-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
  width: clamp(8rem, 15vw, 13rem);
  min-height: 8.5rem;
  padding: 1.4rem;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 1.2rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 25%);
  backdrop-filter: blur(10px);
}

.geometry-card span {
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 48%);
}

.geometry-card span:nth-child(2) {
  width: 68%;
}

.geometry-card span:nth-child(3) {
  width: 82%;
}

.geometry-card-a {
  top: 17%;
  left: 8%;
  transform: translate(
      calc(var(--hero-scroll, 0) * 100px),
      calc(var(--hero-scroll, 0) * 46px)
    )
    rotate(calc(var(--hero-scroll, 0) * 8deg));
  background: rgb(32 57 83 / 86%);
}

.geometry-card-b {
  top: 12%;
  right: 7%;
  transform: translate(
      calc(var(--hero-scroll, 0) * -105px),
      calc(var(--hero-scroll, 0) * 112px)
    )
    rotate(calc(var(--hero-scroll, 0) * -11deg));
  background: rgb(104 127 119 / 80%);
}

.geometry-card-c {
  bottom: 12%;
  left: 16%;
  transform: translate(
      calc(var(--hero-scroll, 0) * 115px),
      calc(var(--hero-scroll, 0) * -90px)
    )
    rotate(calc(var(--hero-scroll, 0) * -6deg));
  background: rgb(190 145 127 / 78%);
}

.geometry-path {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 54%;
  width: clamp(15rem, 32vw, 30rem);
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, rgb(184 204 255 / 70%), transparent);
}

.path-a {
  transform: rotate(calc(-28deg + var(--hero-scroll, 0) * 46deg));
}

.path-b {
  transform: rotate(calc(136deg + var(--hero-scroll, 0) * -52deg));
}

.path-c {
  transform: rotate(calc(68deg + var(--hero-scroll, 0) * 38deg));
}

.hero-frame-index {
  position: absolute;
  z-index: 4;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  gap: 0.45rem;
}

.hero-frame-index span {
  width: 1.8rem;
  height: 0.22rem;
  background: rgb(255 255 255 / 30%);
  transition:
    width 400ms ease,
    background 400ms ease;
}

.hero-frame-index span.is-active {
  width: 3.6rem;
  background: var(--coral);
}

.visual-badge {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  background: rgb(4 7 13 / 62%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.badge-one {
  top: 24%;
  left: 15%;
}

.badge-two {
  top: 13%;
  right: 13%;
}

.badge-three {
  right: 8%;
  bottom: 24%;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid #2c2d2a;
  border-bottom: 1px solid #2c2d2a;
  background: var(--ink);
  color: #fff;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.marquee span {
  padding: 1rem 1.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marquee i {
  color: var(--coral);
  font-style: normal;
}

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

.section {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 11rem) 0;
  scroll-margin-top: 2rem;
}

.reveal-ready {
  transform: translateY(28px);
  opacity: 0;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.section-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(3.5rem, 7vw, 7rem);
}

.section-intro h2 {
  max-width: 900px;
  margin: -0.1em 0 0;
  font-size: clamp(2.8rem, 6vw, 6.3rem);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-list article {
  position: relative;
  min-height: 27rem;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.capability-list article:last-child {
  border-right: 0;
}

.icon-box {
  position: relative;
  display: grid;
  width: 100%;
  height: 9rem;
  margin-bottom: 4rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #dbe5ed;
}

.capability-list article:nth-child(2) .icon-box {
  background: #dce4d5;
}

.capability-list article:nth-child(3) .icon-box {
  background: #eaded7;
}

.icon-box::before,
.icon-box::after {
  position: absolute;
  content: "";
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.icon-box::before {
  width: 8rem;
  height: 8rem;
  transform: translate(-6rem, 3.5rem);
  border: 1px solid rgb(16 17 15 / 25%);
  border-radius: 50%;
}

.icon-box::after {
  width: 7rem;
  height: 3rem;
  transform: translate(6rem, -3.4rem) rotate(-12deg);
  border-radius: 999px;
  background: rgb(16 17 15 / 10%);
}

.icon-box svg {
  z-index: 2;
  width: 3.2rem;
  transform: rotate(-8deg) scale(0.88);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.capability-list article.is-visible .icon-box::before {
  transform: translate(-3.8rem, 1.8rem) scale(1.12);
}

.capability-list article.is-visible .icon-box::after {
  transform: translate(4.1rem, -2.4rem) rotate(8deg);
}

.capability-list article.is-visible .icon-box svg {
  transform: rotate(0) scale(1);
}

.capability-list h3 {
  max-width: 12rem;
  margin: 0 0 1rem;
  font-size: 2rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.capability-list article > p:last-child {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stack-showcase {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}

.stack-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stack-heading > p:last-child {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.stack-dock {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.65rem;
  perspective: 900px;
}

.stack-item {
  position: relative;
  display: grid;
  min-height: 9rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.stack-item::after {
  position: absolute;
  inset: -80% -40%;
  transform: translateX(-65%) rotate(18deg);
  background: linear-gradient(
    90deg,
    transparent 38%,
    rgb(255 255 255 / 82%) 50%,
    transparent 62%
  );
  content: "";
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stack-item img {
  z-index: 1;
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
}

.stack-item span {
  z-index: 1;
  align-self: end;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
}

.stack-item:hover {
  z-index: 2;
  transform: translateY(-0.7rem) rotateX(7deg) scale(1.1);
  border-color: var(--blue);
  box-shadow: 0 1.2rem 2.5rem rgb(30 94 255 / 16%);
}

.stack-item:hover::after {
  transform: translateX(65%) rotate(18deg);
}

.stack-item:has(+ .stack-item:hover),
.stack-item:hover + .stack-item {
  transform: translateY(-0.3rem) scale(1.04);
}

.experience {
  width: 100%;
  max-width: none;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
  background: #10110f;
  color: #fff;
}

.section-intro.light .section-number {
  color: var(--coral);
}

.oracle-story {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) 1fr;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.story-rail {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid rgb(255 255 255 / 20%);
}

.story-rail p {
  margin-bottom: 0.35rem;
  color: rgb(255 255 255 / 48%);
  font-size: 0.8rem;
}

.story-rail .company-mark,
.company-mark {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.company-lockup {
  margin: 0 0 1.2rem;
}

.oracle-lockup img {
  width: 7.4rem;
  height: auto;
  filter: brightness(0) invert(1);
}

.twentyfour-mark {
  color: #fff !important;
  font-size: 1.25rem !important;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.twentyfour-mark span {
  margin-right: 0.08em;
  color: #ff7a21;
}

.story-body {
  padding: 2rem 0 0 3rem;
}

.story-lead {
  max-width: 1040px;
  margin-bottom: 4rem;
  font-size: clamp(1.8rem, 3.7vw, 4.1rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.metric-row div {
  min-height: 12rem;
  padding: 1.5rem;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row strong {
  display: block;
  color: var(--blue-light);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -0.06em;
}

.metric-row span {
  display: block;
  max-width: 12rem;
  color: rgb(255 255 255 / 50%);
  font-size: 0.78rem;
}

.metric-note {
  max-width: 62rem;
  margin: 0 0 4rem;
  color: rgb(255 255 255 / 46%);
  font-size: 0.76rem;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.story-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-columns li {
  position: relative;
  padding: 1.2rem 0 1.2rem 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: rgb(255 255 255 / 68%);
  font-size: 0.92rem;
}

.story-columns li::before {
  position: absolute;
  top: 1.7rem;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.internship {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) 1fr;
  gap: 3rem;
  margin-top: 7rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.internship > div p {
  margin-bottom: 0.3rem;
  color: rgb(255 255 255 / 50%);
  font-size: 0.78rem;
}

.internship > p {
  max-width: 900px;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 1.1rem;
}

.earlier-experience {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

.earlier-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.earlier-heading > p:last-child {
  max-width: 36rem;
  margin: 0;
  color: rgb(255 255 255 / 52%);
  font-size: 0.82rem;
  text-align: right;
}

.earlier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.earlier-grid article {
  min-height: 22rem;
  padding: 2rem;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.earlier-grid article:first-child {
  padding-left: 0;
}

.earlier-grid article:last-child {
  border-right: 0;
}

.career-mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-bottom: 4rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logbiz-mark {
  background: #162d5a;
}

.softsensor-mark {
  background: linear-gradient(135deg, #00a8a8, #1e5eff);
}

.acceleron-mark {
  background: linear-gradient(135deg, #ff7448, #7d3cff);
}

.career-meta {
  margin: 0 0 0.9rem;
  color: rgb(255 255 255 / 48%);
  font-size: 0.72rem;
}

.earlier-grid h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.earlier-grid article > p:last-child {
  max-width: 28rem;
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 0.9rem;
}

.project-list {
  border-top: 1px solid var(--ink);
}

.project-row {
  display: grid;
  grid-template-columns: 4rem minmax(180px, 0.36fr) minmax(280px, 1fr) 8rem;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease;
}

.project-row:hover {
  padding-inline: 1rem;
}

.project-index {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.project-row h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.project-row > p:nth-child(3) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.project-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.project-actions a {
  font-size: 0.72rem;
  font-weight: 800;
  text-underline-offset: 0.2rem;
}

.research {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
  border-top: 0;
  background:
    radial-gradient(circle at 12% 18%, rgb(255 104 70 / 26%), transparent 28rem),
    radial-gradient(circle at 92% 80%, rgb(184 204 255 / 20%), transparent 32rem),
    #10265d;
  color: #fff;
}

.research::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 15%) 1px, transparent 1px);
  background-position: 0 0;
  background-size: 24px 24px;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  animation: research-grid 24s linear infinite;
}

.research > * {
  position: relative;
  z-index: 1;
}

@keyframes research-grid {
  to {
    background-position: 48px 24px;
  }
}

.research .section-number {
  color: #ff9b82;
}

.publication-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 36%);
  list-style: none;
}

.publication-list li {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem 4rem 1fr 7rem;
  gap: 1.4rem;
  align-items: center;
  overflow: hidden;
  padding: 1.45rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.publication-list li::before {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgb(255 255 255 / 10%), transparent 72%);
  content: "";
  pointer-events: none;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.publication-list li:hover::before {
  transform: scaleX(1);
}

.publication-list span,
.publication-list em {
  z-index: 1;
  color: rgb(255 255 255 / 48%);
  font-size: 0.7rem;
  font-style: normal;
}

.publication-list em {
  text-align: right;
}

.publication-list a,
.publication-list p {
  z-index: 1;
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.publication-list a:hover,
.publication-list a:focus-visible {
  color: #b8ccff;
}

.publisher-logo {
  z-index: 1;
  display: grid;
  width: 4.8rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 25%);
  background: rgb(255 255 255 / 8%);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background 240ms ease;
}

.publisher-logo span {
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.publisher-ieee {
  border-left: 3px solid #6fb9ff;
}

.publisher-springer {
  border-left: 3px solid #6ecf9d;
}

.publisher-elsevier {
  border-left: 3px solid #ff9b54;
}

.publication-list li:hover .publisher-logo {
  transform: translateX(0.35rem) rotate(-2deg);
  background: rgb(255 255 255 / 14%);
}

.education {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(2rem, calc((100vw - var(--max)) / 2));
  border-top: 0;
  background: #f3d9cc;
}

.education-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.education-grid article {
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.education-grid article:last-child {
  border-right: 0;
}

.education-grid p,
.education-grid span {
  color: var(--muted);
  font-size: 0.78rem;
}

.education-grid span + span {
  margin-top: 0.8rem;
}

.education-grid h3 {
  margin: 4rem 0 0.8rem;
  font-size: 1.8rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.education-grid strong {
  margin-top: auto;
  color: var(--blue);
  font-size: 1.2rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.55fr);
  gap: 5rem;
  padding: clamp(5rem, 10vw, 10rem)
    max(2rem, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: #fff;
}

.contact h2 {
  max-width: 900px;
  margin: 1.5rem 0;
  font-size: clamp(3rem, 6vw, 6.5rem);
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.contact .section-number {
  color: #b8ccff;
}

.contact-copy {
  max-width: 680px;
  color: rgb(255 255 255 / 72%);
}

.contact-actions {
  margin-top: 2rem;
}

.contact-actions > a:not(.cta) {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.resume-panel {
  align-self: end;
  border-top: 1px solid rgb(255 255 255 / 35%);
}

.resume-panel > p {
  margin: 1rem 0 2rem;
  color: rgb(255 255 255 / 58%);
  font-size: 0.75rem;
}

.resume-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-top: 1px solid rgb(255 255 255 / 24%);
  font-size: 0.86rem;
  text-decoration: none;
}

.resume-panel a:hover span,
.resume-panel a:focus-visible span {
  transform: translateX(0.4rem);
}

.resume-panel span {
  transition: transform 180ms ease;
}

.resume-panel b {
  font-size: 0.68rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(2rem, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: rgb(255 255 255 / 48%);
  font-size: 0.68rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
}

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

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-sticky {
    position: relative;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: 760px;
    padding-top: 8rem;
  }

  .hero-visual {
    min-height: 70vw;
  }

  .hero-visual::after {
    background: linear-gradient(0deg, #070807 0%, transparent 24%);
  }

  .section-intro,
  .oracle-story,
  .internship {
    grid-template-columns: 1fr;
  }

  .story-rail {
    padding-right: 0;
    border-right: 0;
  }

  .story-body {
    padding-left: 0;
  }

  .project-row {
    grid-template-columns: 3rem minmax(180px, 0.45fr) 1fr;
  }

  .stack-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .earlier-grid article,
  .earlier-grid article:first-child {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .earlier-grid article:last-child {
    border-bottom: 0;
  }

  .project-actions {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }

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

@media (max-width: 700px) {
  .site-header,
  .section {
    width: min(calc(100% - 2rem), var(--max));
  }

  .experience,
  .research,
  .education {
    width: 100%;
  }

  .hero-copy {
    min-height: 700px;
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

  .hero-meta,
  .capability-list,
  .metric-row,
  .story-columns,
  .education-grid {
    grid-template-columns: 1fr;
  }

  .capability-list article,
  .education-grid article,
  .metric-row div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-list article {
    padding-block: 2rem 3rem;
  }

  .icon-box {
    margin-bottom: 3rem;
  }

  .earlier-heading {
    display: block;
  }

  .earlier-heading > p:last-child {
    margin-top: 1rem;
    text-align: left;
  }

  .career-mark {
    margin-bottom: 2rem;
  }

  .metric-row div {
    border-color: rgb(255 255 255 / 18%);
  }

  .project-row {
    grid-template-columns: 2.2rem 1fr;
    gap: 1rem;
  }

  .project-row > p:nth-child(3),
  .project-actions {
    grid-column: 2;
  }

  .publication-list li {
    grid-template-columns: 4.6rem 3rem 1fr;
    gap: 1rem;
  }

  .publication-list em {
    grid-column: 3;
    text-align: left;
  }

  .stack-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-heading > p:last-child {
    text-align: left;
  }

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

  .stack-item {
    min-height: 7rem;
  }

  .contact {
    padding-inline: 1rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
