:root {
  color-scheme: dark;
  --ink: #000;
  --paper: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.65);
  --muted-strong: rgba(245, 245, 247, 0.78);
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --champagne: #e7ddc8;
  --blue: #b9d9ff;
  --page-x: clamp(1.25rem, 4vw, 5rem);
  --content: 1440px;
  --nav-height: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Barlow", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(185, 217, 255, 0.35);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
  font: inherit;
}

img,
svg,
video {
  display: block;
}

.app-shell {
  position: relative;
  isolation: isolate;
  background: #000;
}

.site-noise {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(185, 217, 255, 0.7);
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.035);
  background-blend-mode: luminosity;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.liquid-glass-strong::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.site-nav {
  position: fixed;
  z-index: 80;
  top: max(1rem, env(safe-area-inset-top));
  left: var(--page-x);
  right: var(--page-x);
  display: grid;
  grid-template-columns: 3rem 1fr 3rem;
  align-items: center;
  pointer-events: none;
}

.site-nav > * {
  pointer-events: auto;
}

.brand-mark,
.nav-spacer,
.mobile-menu-button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.brand-mark {
  display: grid;
  place-items: center;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.22rem;
  letter-spacing: -0.05em;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.35rem;
  border-radius: 999px;
}

.desktop-nav a:not(.nav-resume) {
  padding: 0.68rem 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
  border-radius: 999px;
}

.desktop-nav a:not(.nav-resume):hover,
.desktop-nav a:not(.nav-resume):focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-left: 0.25rem;
  padding: 0.65rem 0.9rem 0.65rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-resume svg {
  width: 1rem;
  height: 1rem;
}

.mobile-menu-button {
  display: none;
  justify-self: end;
  padding: 0;
  border: 0;
  cursor: pointer;
}

.mobile-menu-button span,
.mobile-menu-button::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1.05rem;
  height: 1px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform 220ms ease, top 220ms ease;
}

.mobile-menu-button::before {
  top: 1.28rem;
}

.mobile-menu-button span {
  top: 1.69rem;
}

.mobile-menu-button.is-open::before {
  top: 1.49rem;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-button.is-open span {
  top: 1.49rem;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-nav-panel {
  position: fixed;
  z-index: 70;
  top: calc(max(1rem, env(safe-area-inset-top)) + 3.65rem);
  left: 1rem;
  right: 1rem;
  display: none;
  padding: 0.75rem;
  border-radius: 1.5rem;
  background: rgba(7, 7, 8, 0.75);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  max-height: calc(100svh - 5.5rem);
  overflow-y: auto;
}

.mobile-nav-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.mobile-nav-panel a svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.mobile-nav-panel a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-panel .mobile-resume {
  margin-top: 0.5rem;
  background: #fff;
  color: #050505;
  border-top: 0;
  font-weight: 600;
}

.cinematic-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-video {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center top;
}

.video-fallback {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: #000;
}

.hero-content {
  width: min(var(--content), 100%);
  margin: auto;
  padding: clamp(7.25rem, 13vh, 9.5rem) var(--page-x) 2rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.eyebrow-badge .badge-chip {
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: #fff;
  color: #050505;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.hero-kicker {
  margin: 1.2rem 0 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.02em;
}

.hero-title {
  width: min(100%, 1050px);
  margin: 0.65rem auto 0;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(3rem, 6.15vw, 6.5rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-shadow: 0 3px 42px rgba(0, 0, 0, 0.36);
}

.blur-text {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
}

.hero-title-phrases {
  display: grid;
  justify-items: center;
  gap: 0.08em;
}

.blur-text-word {
  display: inline-block;
  margin-right: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 1.35rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.94rem, 1.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.65;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin-top: 1.65rem;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.primary-action {
  padding: 0.72rem 1.05rem 0.72rem 1.22rem;
  border-radius: 999px;
}

.primary-action svg {
  width: 1.08rem;
  height: 1.08rem;
}

.secondary-action {
  color: rgba(255, 255, 255, 0.9);
}

.secondary-action .play-dot {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.secondary-action svg {
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.08rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(760px, 100%);
  margin-top: clamp(2rem, 4vh, 3rem);
}

.metric-card {
  min-height: 7.3rem;
  padding: 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 1.25rem;
  text-align: left;
}

.metric-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.metric-note {
  margin-top: 0.38rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.hero-disciplines {
  width: min(var(--content), 100%);
  margin: auto;
  padding: 0 var(--page-x) max(1.3rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.discipline-chip {
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.69rem;
}

.discipline-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.1rem, 4vw, 3.5rem);
  font-family: "Instrument Serif", "Noto Sans SC", serif;
  font-size: clamp(1.1rem, 2.25vw, 1.8rem);
  font-style: italic;
  letter-spacing: -0.02em;
}

.discipline-row span {
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.capabilities {
  min-height: 100svh;
}

.capabilities-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capabilities-content,
.section-content {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding-left: var(--page-x);
  padding-right: var(--page-x);
}

.capabilities-content {
  min-height: 100svh;
  padding-top: clamp(7rem, 11vh, 9rem);
  padding-bottom: clamp(2rem, 5vh, 4.5rem);
  display: flex;
  flex-direction: column;
}

.section-kicker {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capabilities-heading,
.display-heading {
  margin: 0;
  font-family: "Instrument Serif", "Noto Sans SC", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.capabilities-heading {
  max-width: 800px;
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.82;
  text-shadow: 0 3px 40px rgba(0, 0, 0, 0.38);
}

.capability-grid {
  margin-top: auto;
  padding-top: clamp(3rem, 8vh, 7rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.capability-card {
  min-height: 22rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
}

.capability-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.icon-well {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
}

.icon-well svg {
  width: 1.4rem;
  height: 1.4rem;
}

.tag-row {
  max-width: 78%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.micro-tag {
  padding: 0.36rem 0.58rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  white-space: nowrap;
}

.capability-card-bottom {
  margin-top: auto;
  padding-top: 3rem;
}

.capability-card h3 {
  margin: 0;
  font-family: "Instrument Serif", "Noto Sans SC", serif;
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.capability-card p {
  max-width: 35ch;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
}

.resume-section {
  position: relative;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.experience-section {
  isolation: isolate;
  overflow: clip;
  padding: 0;
  background: #0b0908;
}

.experience-spotlight {
  position: sticky;
  z-index: 0;
  top: 0;
  width: 100%;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.experience-spotlight-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.experience-spotlight-image {
  position: absolute;
  inset: -2%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
  filter: saturate(0.88) contrast(1.04) brightness(0.86);
}

.experience-spotlight-base {
  animation: experienceBackgroundIn 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.experience-spotlight-reveal {
  z-index: 1;
  filter: saturate(1.08) contrast(1.05) brightness(0.96);
  will-change: mask-image, -webkit-mask-image;
}

.experience-spotlight-scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at 64% 58%, rgba(193, 88, 35, 0.12), transparent 36%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.34)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.42));
}

.experience-section > .section-content {
  position: relative;
  z-index: 3;
  padding-top: clamp(6.5rem, 12vw, 11rem);
  padding-bottom: clamp(6.5rem, 12vw, 11rem);
}

.experience-section .display-heading,
.experience-section .section-kicker,
.experience-section .section-intro {
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.78);
}

.experience-section .experience-list {
  padding: 0 clamp(1rem, 2.2vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 2rem;
  background: rgba(5, 5, 5, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

@keyframes experienceBackgroundIn {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

.split-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.5fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 8.5rem;
}

.display-heading {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.86;
}

.section-intro {
  max-width: 35ch;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
}

.experience-list {
  border-top: 1px solid var(--hairline);
}

.experience-item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-bottom: 1px solid var(--hairline);
}

.experience-date {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.experience-company {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.experience-company h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.experience-role {
  color: var(--champagne);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.experience-summary {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.experience-points {
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.experience-points li {
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.66rem;
}

.projects-section {
  isolation: isolate;
  overflow: clip;
  padding: 0;
  background: #526f8d;
}

.projects-cinematic-background {
  position: sticky;
  z-index: 0;
  top: 0;
  width: 100%;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.projects-cinematic-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.projects-background-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  filter: saturate(0.82) contrast(1.08) brightness(0.78);
}

.projects-background-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46) 60%, rgba(0, 0, 0, 0.72));
}

.projects-section > .section-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(6.5rem, 12vw, 11rem);
  padding-bottom: clamp(6.5rem, 12vw, 11rem);
}

.projects-section .projects-header {
  text-shadow: 0 3px 32px rgba(0, 0, 0, 0.62);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.projects-header .section-intro {
  margin: 0;
}

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

.project-card {
  min-height: 29rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  background: rgba(4, 9, 16, 0.44);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  overflow: hidden;
  position: relative;
  contain: layout paint;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 320ms ease, background-color 320ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 40%;
  height: 75%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: rotate(-15deg);
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(6, 13, 23, 0.54);
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-index {
  font-family: "Instrument Serif", serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.48);
}

.project-link-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #050505;
  background: #fff;
  transition: transform 240ms ease;
}

.project-link-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.project-card:hover .project-link-icon,
.project-card:focus-within .project-link-icon {
  transform: rotate(45deg);
}

.project-card-bottom {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.project-meta {
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 14ch;
  margin: 0.75rem 0 0;
  font-family: "Instrument Serif", "Noto Sans SC", serif;
  font-size: clamp(2.25rem, 4.2vw, 4.6rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.project-description {
  max-width: 50ch;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.65;
}

.project-tech {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.project-tech span {
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.64rem;
}

.profile-section {
  isolation: isolate;
  overflow: clip;
  padding: 0;
  background: #526f8d;
}

.profile-cinematic-background {
  position: sticky;
  z-index: 0;
  top: 0;
  width: 100%;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.profile-cinematic-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(172, 208, 234, 0.54), transparent 38%),
    linear-gradient(155deg, #7894ad 0%, #31455c 46%, #070a0f 100%);
}

.profile-background-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  filter: saturate(0.92) contrast(1.02) brightness(0.8);
}

.profile-background-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.26), rgba(3, 7, 12, 0.12) 50%, rgba(3, 7, 12, 0.28)),
    linear-gradient(180deg, rgba(4, 8, 14, 0.18), rgba(3, 7, 12, 0.44) 68%, rgba(2, 4, 8, 0.62));
}

.profile-section > .section-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(6.5rem, 12vw, 11rem);
  padding-bottom: clamp(6.5rem, 12vw, 11rem);
  text-shadow: 0 3px 32px rgba(0, 0, 0, 0.56);
}

.profile-bento {
  margin-top: clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.profile-panel {
  min-height: 25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--hairline);
  border-radius: 2rem;
  background: rgba(4, 9, 16, 0.43);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  contain: layout paint;
}

.profile-panel-label {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.69rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.education-list {
  height: calc(100% - 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.education-item {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--hairline);
}

.education-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.education-school {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.education-date {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0;
}

.education-degree {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.skills-cloud {
  height: calc(100% - 1.5rem);
  display: flex;
  align-content: flex-end;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 2rem;
}

.skills-cloud span {
  padding: 0.65rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
}

.skills-cloud span:nth-child(3n + 1) {
  color: #0a0a0a;
  background: var(--paper);
  border-color: var(--paper);
}

.contact-section {
  min-height: 92svh;
  padding: clamp(6rem, 12vw, 10rem) 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.contact-title {
  max-width: 950px;
  margin: 0;
  font-family: "Noto Sans SC", -apple-system, sans-serif;
  font-size: clamp(3.3rem, 8vw, 8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.contact-title em {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

.contact-orbit {
  width: clamp(8rem, 15vw, 13rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  position: relative;
}

.contact-orbit::before,
.contact-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.contact-orbit::before {
  width: 66%;
  height: 66%;
}

.contact-orbit::after {
  width: 8px;
  height: 8px;
  top: 9%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}

.contact-orbit span {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.contact-links {
  margin-top: clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.contact-link {
  min-height: 7.5rem;
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.72);
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-link + .contact-link {
  border-left: 1px solid var(--hairline);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.contact-link small {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  font-weight: 400;
}

.contact-link svg {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

.site-footer {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

:focus-visible {
  outline: 2px solid rgba(185, 217, 255, 0.95);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .capability-card {
    min-height: 20rem;
  }

  .tag-row {
    max-width: 72%;
  }

  .micro-tag:nth-child(n + 4) {
    display: none;
  }
}

@media (max-width: 840px) {
  .site-noise {
    display: none;
  }

  .site-nav {
    grid-template-columns: 3rem 1fr 3rem;
  }

  .desktop-nav,
  .nav-spacer {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav-panel.is-open {
    display: block;
  }

  .hero-content {
    padding-top: 6.8rem;
  }

  .hero-disciplines {
    padding-bottom: 1.5rem;
  }

  .discipline-row {
    gap: 0.55rem 1.35rem;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .capability-card {
    min-height: 20rem;
  }

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

  .sticky-heading {
    position: static;
  }

  .projects-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .project-card {
    min-height: 25rem;
  }

  .profile-bento {
    grid-template-columns: 1fr;
  }

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

  .contact-orbit {
    justify-self: end;
  }
}

@media (max-width: 620px) {
  :root {
    --page-x: 1rem;
  }

  .site-nav {
    left: 1rem;
    right: 1rem;
  }

  .liquid-glass-strong {
    background: rgba(12, 14, 18, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-nav-panel {
    background: rgba(7, 7, 8, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-video {
    width: 150%;
    height: 115%;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 7.2rem;
  }

  .hero-title {
    margin-top: 0.8rem;
    font-size: clamp(2.75rem, 13.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.075em;
  }

  .hero-title-phrases {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .hero-copy {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;
    gap: 1rem;
  }

  .primary-action {
    min-width: 10.2rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.8rem;
  }

  .metric-card {
    min-height: 6.7rem;
  }

  .metric-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 5.7rem;
  }

  .discipline-chip {
    display: none;
  }

  .discipline-row {
    font-family: "Barlow", "Noto Sans SC", sans-serif;
    font-size: 0.7rem;
    font-style: normal;
    letter-spacing: 0.02em;
  }

  .capabilities-content {
    padding-top: 6.5rem;
  }

  .capabilities-heading {
    font-size: clamp(3.8rem, 20vw, 5.6rem);
  }

  .capability-card {
    min-height: 18rem;
    padding: 1rem;
  }

  .tag-row {
    max-width: 74%;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .experience-company {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-section .experience-list {
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .project-card {
    min-height: 22rem;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: rgba(4, 9, 16, 0.7);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .profile-panel {
    min-height: 0;
    padding: 1.35rem;
    border-radius: 1.5rem;
    background: rgba(4, 9, 16, 0.7);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .education-school {
    flex-direction: column;
    gap: 0.4rem;
  }

  .contact-section {
    min-height: auto;
  }

  .contact-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .contact-orbit {
    display: none;
  }

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

  .contact-link {
    min-height: 6rem;
  }

  .contact-link + .contact-link {
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-height: 760px) and (min-width: 841px) {
  .hero-content {
    padding-top: 6rem;
  }

  .hero-title {
    font-size: clamp(3.2rem, 6vw, 5.8rem);
  }

  .hero-copy {
    margin-top: 0.85rem;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .hero-metrics {
    margin-top: 1.2rem;
  }

  .metric-card {
    min-height: 5.8rem;
  }

  .capabilities-content {
    padding-top: 5.5rem;
    padding-bottom: 1.5rem;
  }

  .capabilities-heading {
    font-size: 4.7rem;
  }

  .capability-grid {
    padding-top: 2rem;
  }

  .capability-card {
    min-height: 17.5rem;
  }
}

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

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