:root {
  --bg: #071224;
  --panel: rgba(247, 243, 236, 0.95);
  --panel-strong: #fbf8f2;
  --text: #13213a;
  --muted: #50607a;
  --accent: #102f5c;
  --accent-soft: #d9d3c9;
  --border: #cfc4b5;
  --shadow: 0 24px 64px rgba(7, 15, 31, 0.26);
  --shadow-hover: 0 32px 78px rgba(7, 15, 31, 0.32);
  --skeleton-base: rgba(217, 206, 191, 0.72);
  --skeleton-highlight: rgba(251, 247, 241, 0.98);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(217, 202, 176, 0.18) 0, transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(76, 108, 170, 0.36) 0, transparent 29%),
    linear-gradient(180deg, rgba(14, 30, 58, 0.96), rgba(5, 13, 27, 0.995)),
    var(--bg);
  font-family: "Space Grotesk", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(4, 10, 22, 0.16) 100%),
    linear-gradient(90deg, rgba(4, 10, 22, 0.22), transparent 12%, transparent 88%, rgba(4, 10, 22, 0.22)),
    linear-gradient(180deg, rgba(4, 10, 22, 0.18), transparent 14%, transparent 86%, rgba(4, 10, 22, 0.22));
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  font-family: "Fraunces", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

p {
  margin: 0 0 0.9rem;
  line-height: 1.7;
}

ul {
  margin: 0 0 0.9rem 1.25rem;
  padding: 0;
}

li {
  margin-bottom: 0.55rem;
  line-height: 1.6;
}

.hero,
.page-shell,
.landing-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.2rem 4rem;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 56rem;
  font-size: clamp(1rem, 2vw, 1.14rem);
  color: var(--muted);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.card:hover,
.profile-card:hover,
.section-gallery-item:hover,
.experience-media-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.surface-hero {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.99), rgba(236, 228, 216, 0.96));
  border-color: rgba(214, 203, 186, 0.96);
}

.nav-card,
.related-card {
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.99), rgba(236, 228, 216, 0.96));
  border-color: rgba(214, 203, 186, 0.96);
}

.landing-shell {
  display: grid;
  gap: 1.4rem;
}

.landing-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem;
}

.landing-copy {
  padding: 1.15rem 1.2rem;
}

.landing-copy .eyebrow {
  color: #1d4778;
}

.landing-copy h1 {
  color: #102644;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

.landing-copy .lead {
  color: #41526d;
}

.landing-visual {
  display: flex;
  justify-content: center;
}

.hero-profile-card,
.profile-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-shift-x: 0px;
  --card-shift-y: 0px;
  --card-image-shift-x: 0px;
  --card-image-shift-y: 0px;
  --card-scale: 1;
  --card-image-scale: 1;
  width: min(100%, 360px);
  padding: 0.7rem;
  background: linear-gradient(180deg, rgba(248, 244, 237, 0.96), rgba(233, 228, 219, 0.92));
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.profile-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
  transform: translate3d(var(--card-image-shift-x), var(--card-image-shift-y), 0) scale(var(--card-image-scale));
  transform-origin: center;
  will-change: transform;
  transition: transform 280ms ease, filter 280ms ease, opacity 180ms ease;
}

.profile-card:hover .profile-image {
  filter: saturate(1.04);
}

.section-gallery-item:hover {
  opacity: 1;
  filter: saturate(1);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 34rem;
}

.contact-grid a,
.contact-grid button {
  width: 100%;
  justify-content: center;
}

.contact a,
.contact button,
.card-link,
.back-link,
.proposal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.94), rgba(228, 221, 210, 0.88));
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.contact a:hover,
.contact button:hover,
.card-link:hover,
.back-link:hover,
.nav-button:hover,
.section-pill:hover,
.related-link:hover,
.research-link:hover,
.proposal-link:hover {
  transform: translateY(-2px);
  border-color: #8798b7;
  background: rgba(252, 248, 241, 0.98);
}

.contact a:hover,
.contact button:hover,
.card-link:hover,
.back-link:hover,
.proposal-link:hover,
.related-link:hover,
.research-link:hover {
  box-shadow: 0 14px 26px rgba(7, 15, 31, 0.16);
}

.contact button {
  appearance: none;
  cursor: pointer;
}

.contact button.is-copied {
  border-color: #6f8fbe;
  background: rgba(242, 247, 255, 0.98);
  box-shadow: 0 14px 26px rgba(29, 71, 120, 0.16);
}

.contact button:focus-visible,
.contact a:focus-visible {
  outline: 2px solid rgba(29, 71, 120, 0.34);
  outline-offset: 2px;
}

.nav-button:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 18px 36px rgba(7, 15, 31, 0.2);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1rem;
}

.compact-heading {
  margin-bottom: 1rem;
}

.nav-card,
.related-card,
.page-hero,
.detail-card,
.thesis-panel {
  padding: 1.3rem;
}

.page-hero {
  margin-bottom: 1.6rem;
  background: linear-gradient(135deg, rgba(18, 38, 71, 0.22), rgba(247, 243, 236, 0.94));
  border-color: rgba(174, 186, 209, 0.55);
  box-shadow: 0 24px 70px rgba(5, 13, 27, 0.22);
}

.page-hero .eyebrow {
  color: #000000;
}

.page-hero h1 {
  color: #0f2544;
}

.page-hero .section-lead {
  color: #000000;
  font-weight: 500;
}

.page-hero .back-link {
  color: #173760;
}

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

.nav-button {
  display: block;
  min-height: 168px;
  padding: 1.2rem;
  border: 1px solid rgba(88, 112, 152, 0.58);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 241, 234, 0.98), rgba(210, 219, 234, 0.78));
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 14px 30px rgba(8, 18, 37, 0.14);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-button-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: var(--text);
}

.nav-button-copy {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related-link,
.research-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 244, 237, 0.94), rgba(222, 230, 240, 0.76));
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.45;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.related-card .related-link {
  width: auto;
  border-radius: 999px;
}

.page-shell {
  padding-top: 1.6rem;
}

.back-link {
  margin-bottom: 1.1rem;
}

.section-lead {
  max-width: 44rem;
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(249, 245, 239, 0.92), rgba(226, 220, 209, 0.82));
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.section-pill.is-active {
  background: var(--accent-soft);
  border-color: #a8b6cc;
  color: var(--text);
}

.section-content-wrap {
  max-width: 920px;
}

.section-stack,
.thesis-links {
  display: grid;
  gap: 1rem;
}

.meta {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.experience-card-layout {
  display: grid;
  gap: 1rem;
}

.experience-copy {
  min-width: 0;
}

.experience-media-wrap {
  align-self: start;
}

.experience-media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 1rem;
  border: 1px solid rgba(130, 150, 182, 0.35);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(245, 241, 234, 0.96), rgba(223, 230, 239, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.experience-media {
  display: block;
  width: 100%;
  max-width: 260px;
  max-height: 120px;
  object-fit: contain;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body[data-section="skills"] .section-content-wrap {
  max-width: 1280px;
}

.skills-stack-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 540px);
  gap: 1.4rem;
  align-items: start;
}

.skills-cards-column {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.skills-brain-rail {
  position: sticky;
  top: 1.15rem;
  align-self: start;
}

.brain-bank-panel {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding-top: 0.3rem;
}

.brain-bank-stage {
  position: relative;
  width: 100%;
  perspective: 1400px;
  --globe-tilt-x: 0deg;
  --globe-tilt-y: 0deg;
  --globe-shift-x: 0px;
  --globe-shift-y: 0px;
  --globe-scale: 1;
}

.brain-bank-svg {
  display: block;
  width: min(100%, 520px);
  margin-inline: auto;
  overflow: visible;
  transform:
    translate3d(var(--globe-shift-x), var(--globe-shift-y), 0)
    rotateX(var(--globe-tilt-x))
    rotateY(var(--globe-tilt-y))
    scale(var(--globe-scale));
  transform-origin: center 42%;
  transition: transform 260ms ease, filter 260ms ease;
  filter: drop-shadow(0 24px 32px rgba(7, 15, 31, 0.16));
}

.brain-bank-floor-shadow {
  fill: rgba(17, 35, 64, 0.14);
}

.brain-bank-fill {
  fill: url(#brain-bank-glass-fill);
}

.brain-bank-core-glow {
  fill: url(#brain-bank-core-glow);
}

.brain-bank-snow-drift {
  fill: rgba(248, 252, 255, 0.97);
}

.brain-bank-snow-shadow {
  fill: rgba(188, 213, 238, 0.24);
}

.brain-bank-sheen-primary,
.brain-bank-sheen-secondary {
  fill: rgba(255, 255, 255, 0.42);
}

.brain-bank-sheen-ribbon {
  fill: rgba(255, 255, 255, 0.16);
}

.brain-bank-flurries circle {
  fill: rgba(255, 255, 255, 0.88);
  animation: driftFlurry 7.2s ease-in-out infinite;
}

.brain-bank-flurries circle:nth-child(2n) {
  animation-duration: 8.8s;
}

.brain-bank-flurries circle:nth-child(3n) {
  animation-duration: 6.4s;
}

.brain-bank-shell {
  fill: rgba(255, 255, 255, 0.05);
  stroke: url(#brain-bank-rim);
  stroke-width: 8;
}

.brain-bank-shell-glow {
  fill: none;
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 5;
}

.brain-bank-base-top,
.brain-bank-base-bottom {
  fill: url(#brain-bank-base-trim);
  stroke: rgba(188, 199, 212, 0.94);
  stroke-width: 2;
}

.brain-bank-base-body,
.brain-bank-base-foot {
  fill: url(#brain-bank-base-fill);
  stroke: rgba(188, 199, 212, 0.94);
  stroke-width: 2;
}

.brain-bank-base-trim-line {
  fill: none;
  stroke: rgba(186, 197, 209, 0.96);
  stroke-linecap: round;
  stroke-width: 3;
}

.brain-bank-base-trim-line.soft {
  stroke-width: 2;
  opacity: 0.8;
}

.brain-bank-base-trim-line.vertical {
  stroke-width: 2.4;
  opacity: 0.86;
}

.brain-bank-button {
  appearance: none;
  width: min(100%, 320px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.2rem;
  border: 1px solid rgba(91, 120, 163, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20, 50, 90, 0.96), rgba(35, 74, 125, 0.92));
  color: #f8f3ea;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(13, 28, 52, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.brain-bank-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 36px rgba(13, 28, 52, 0.24);
  background: linear-gradient(180deg, rgba(26, 62, 110, 0.98), rgba(46, 89, 146, 0.94));
}

.brain-bank-button:focus-visible {
  outline: 2px solid rgba(29, 71, 120, 0.28);
  outline-offset: 3px;
}

.brain-bank-token {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), filter 220ms ease;
}

.brain-bank-token:focus-visible {
  outline: none;
}

.brain-bank-token:hover,
.brain-bank-token:focus-visible {
  filter: brightness(1.06) drop-shadow(0 12px 18px rgba(7, 15, 31, 0.18));
}

.brain-bank-token-shadow {
  fill: rgba(7, 15, 31, 0.08);
}

.brain-bank-token-pill {
  stroke-width: 1.4;
}

.brain-bank-token-text {
  fill: #102845;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.brain-bank-token.tone-programming-languages .brain-bank-token-pill {
  fill: rgba(112, 152, 214, 0.34);
  stroke: rgba(72, 111, 171, 0.52);
}

.brain-bank-token.tone-frameworks-libraries .brain-bank-token-pill {
  fill: rgba(241, 224, 189, 0.52);
  stroke: rgba(182, 150, 93, 0.5);
}

.brain-bank-token.tone-databases-platforms .brain-bank-token-pill {
  fill: rgba(186, 218, 211, 0.44);
  stroke: rgba(91, 139, 126, 0.46);
}

.brain-bank-token.tone-tools-hardware .brain-bank-token-pill {
  fill: rgba(214, 204, 235, 0.46);
  stroke: rgba(123, 108, 162, 0.46);
}

.brain-bank-token.tone-languages .brain-bank-token-pill {
  fill: rgba(242, 208, 209, 0.54);
  stroke: rgba(176, 118, 122, 0.44);
}

.brain-bank-panel.is-shuffling .brain-bank-button {
  transform: translateY(-1px) scale(0.99);
}


.chip,
.skeleton-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.94rem;
}

.chip {
  border: 1px solid #d0c6b6;
  background: #e2dacc;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.chip:hover {
  transform: translateY(-2px);
  background: #ece4d6;
  border-color: #b3c0d4;
  box-shadow: 0 10px 20px rgba(7, 15, 31, 0.1);
}

.section-gallery-card {
  overflow: hidden;
}

.section-gallery-card h2 {
  margin-bottom: 0.3rem;
}

.gallery-copy {
  margin-bottom: 0;
  color: var(--muted);
}

.section-gallery-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: 1.15rem;
  padding-bottom: 0.4rem;
  scrollbar-width: none;
}

.section-gallery-viewport::-webkit-scrollbar {
  display: none;
}

.section-gallery-track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  will-change: scroll-position;
}

.section-gallery-item {
  flex: 0 0 clamp(250px, 34vw, 390px);
  margin: 0;
  border: 1px solid rgba(130, 150, 182, 0.38);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(245, 241, 234, 0.9);
  box-shadow: 0 14px 28px rgba(7, 15, 31, 0.12);
}

.section-gallery-item img {
  display: block;
  width: 100%;
  height: clamp(220px, 31vw, 340px);
  object-fit: cover;
}


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

.thesis-panel {
  height: 100%;
}

.thesis-panel .section-heading {
  margin-bottom: 0.85rem;
}

.entry {
  margin-bottom: 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.entry h3 {
  margin-bottom: 0.35rem;
}

.entry p {
  margin-bottom: 0.45rem;
}

.entry a {
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.constraint-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(252, 248, 241, 0.9);
  padding: 0.45rem;
}

.skeleton-text,
.skeleton-link,
.skeleton-chip,
.skeleton-button,
.skeleton-avatar {
  position: relative;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--skeleton-base) 0%,
    var(--skeleton-highlight) 48%,
    var(--skeleton-base) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.35s linear infinite;
}

.skeleton-text {
  border-radius: 12px;
}

.skeleton-eyebrow {
  width: min(28rem, 82%);
  min-height: 1.1rem;
}

.skeleton-name {
  width: min(36rem, 84%);
  min-height: clamp(2.8rem, 7vw, 5.4rem);
}

.skeleton-summary {
  width: min(48rem, 100%);
  min-height: 5rem;
}

.skeleton-avatar {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border-radius: 22px;
}

.skeleton-button {
  min-height: 168px;
  border-radius: 20px;
}

.skeleton-link {
  min-height: 3.3rem;
  min-width: 11rem;
}

.media-loading .profile-image {
  opacity: 0;
}

.profile-card:not(.media-loading) .skeleton-avatar {
  display: none;
}

.reveal-card {
  animation: fadeUp 420ms ease both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftFlurry {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.88;
  }

  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

@media (min-width: 900px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    padding: 1.5rem;
  }

  .landing-copy {
    padding: 1.25rem 1.25rem 1.25rem 1.35rem;
  }
}

@media (max-width: 980px) {
  .button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1080px) {
  .skills-stack-layout {
    grid-template-columns: 1fr;
  }

  .skills-brain-rail {
    position: relative;
    top: auto;
    order: -1;
    max-width: 540px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .hero,
  .page-shell,
  .landing-shell {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .landing-hero,
  .nav-card,
  .related-card,
  .page-hero,
  .detail-card,
  .thesis-panel {
    border-radius: 20px;
  }

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

  .contact,
  .related-grid,
  .section-nav,
  .thesis-links {
    gap: 0.6rem;
  }
}

@media (min-width: 760px) {
  .experience-card-layout {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
    align-items: start;
  }
}

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

  .card:hover,
  .profile-card:hover,
  .section-gallery-item:hover,
  .experience-media-frame:hover,
  .contact a:hover,
  .card-link:hover,
  .back-link:hover,
  .nav-button:hover,
  .section-pill:hover,
  .related-link:hover,
  .research-link:hover,
  .proposal-link:hover,
  .chip:hover {
    transform: none;
  }

  .profile-card:hover .profile-image {
    transform: none;
    filter: none;
  }
}

body[data-page="landing"] {
  overflow-x: hidden;
}

body[data-page="landing"] .scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 20;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #7ba3df, #f2dfc0 58%, #a6bddd);
  box-shadow: 0 0 22px rgba(123, 163, 223, 0.42);
}

.landing-shell-refined {
  max-width: 1240px;
  gap: 1.75rem;
  padding-top: 2.3rem;
}

#landing-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.92fr);
  gap: 2rem;
  align-items: center;
  min-height: 700px;
  padding: 1.55rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 14%, rgba(104, 145, 210, 0.16), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(226, 207, 177, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(250, 246, 239, 0.99), rgba(234, 227, 217, 0.96));
  --hero-shift: 0px;
  --support-shift: 0px;
}

#landing-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 88%);
  opacity: 0.33;
  pointer-events: none;
}

#landing-stage:hover {
  transform: none;
}

.landing-copy,
.landing-visual {
  position: relative;
  z-index: 1;
}

#landing-stage .landing-copy {
  display: grid;
  align-content: center;
  gap: 0;
  padding: 1.3rem 1.35rem;
}

#landing-stage .landing-copy .eyebrow {
  color: #163a69;
}

#landing-stage .landing-copy h1 {
  color: #0b2343;
  font-size: clamp(3.4rem, 7vw, 6rem);
}

#landing-stage .landing-copy .lead {
  max-width: 39rem;
  color: #37506f;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

#landing-stage .contact {
  margin-top: 1.45rem;
}

#landing-stage .contact a {
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(231, 223, 212, 0.9));
}

.landing-visual {
  display: flex;
  justify-content: center;
}

.landing-visual-grid {
  perspective: 1500px;
  transform-style: preserve-3d;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(180px, 0.78fr);
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  width: min(100%, 560px);
  align-items: start;
  transform: translateY(var(--hero-shift));
  transition: transform 180ms ease;
}

#landing-stage .hero-profile-card {
  grid-row: 1 / span 2;
  width: 100%;
  margin: 0;
  box-shadow: 0 28px 54px rgba(7, 15, 31, 0.18);
  transform:
    translate3d(var(--card-shift-x), var(--card-shift-y), 0)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    scale(var(--card-scale));
}

#landing-stage .hero-profile-card:hover {
  --card-scale: 1.015;
}

.landing-support-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  --card-shift-x: 0px;
  --card-shift-y: 0px;
  --card-image-shift-x: 0px;
  --card-image-shift-y: 0px;
  --card-scale: 1;
  --card-image-scale: 1;
  margin: 0;
  padding: 0.7rem;
  border: 1px solid rgba(201, 191, 177, 0.9);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 244, 237, 0.95), rgba(227, 234, 244, 0.82));
  box-shadow: 0 20px 42px rgba(7, 15, 31, 0.14);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#hero-athletics-card {
  transform:
    translate3d(var(--card-shift-x), calc((var(--support-shift) * -0.35) + var(--card-shift-y)), 0)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    scale(var(--card-scale));
}

#hero-education-card {
  transform:
    translate3d(var(--card-shift-x), calc(var(--support-shift) + 12px + var(--card-shift-y)), 0)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    scale(var(--card-scale));
}

.landing-support-card:hover {
  --card-scale: 1.015;
  box-shadow: 0 26px 48px rgba(7, 15, 31, 0.18);
}

.landing-support-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(202, 194, 181, 0.94);
  transform: translate3d(var(--card-image-shift-x), var(--card-image-shift-y), 0) scale(var(--card-image-scale));
  transform-origin: center;
  will-change: transform;
  transition: transform 280ms ease, filter 280ms ease;
}

.landing-support-card .skeleton-avatar {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
}

.landing-support-card figcaption {
  padding-top: 0.72rem;
  color: #17365f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-support-card:not(.media-loading) .skeleton-avatar,
.hero-profile-card:not(.media-loading) .skeleton-avatar {
  display: none;
}

.story-strip-card,
.landing-nav-card,
.landing-links-card {
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.99), rgba(234, 227, 217, 0.95));
}

.story-strip-card:hover,
.landing-nav-card:hover,
.landing-links-card:hover {
  transform: none;
}

.story-strip-card {
  padding: 1.4rem;
  overflow: hidden;
}

.marquee-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
}

.marquee-control {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(126, 149, 184, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.96), rgba(225, 233, 244, 0.88));
  color: var(--accent);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(7, 15, 31, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.marquee-control:hover {
  transform: translateY(-2px);
  border-color: #8798b7;
  background: rgba(252, 248, 241, 0.98);
  box-shadow: 0 16px 28px rgba(7, 15, 31, 0.14);
}

.marquee-control:focus-visible {
  outline: 2px solid rgba(29, 71, 120, 0.32);
  outline-offset: 2px;
}

.marquee-control[hidden] {
  display: none;
}

.marquee-control-side {
  flex-shrink: 0;
}

.story-strip-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.4rem 0 0.1rem;
  scrollbar-width: none;
}

.story-strip-viewport::-webkit-scrollbar {
  display: none;
}

.story-strip-track {
  display: flex;
  gap: 0.95rem;
  width: max-content;
  will-change: scroll-position;
}

.story-strip-item {
  flex: 0 0 clamp(220px, 24vw, 300px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(189, 201, 220, 0.62);
  border-radius: 24px;
  background: rgba(247, 242, 234, 0.88);
  box-shadow: 0 14px 28px rgba(7, 15, 31, 0.12);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.story-strip-trigger {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.story-strip-item img {
  display: block;
  width: 100%;
  height: clamp(200px, 22vw, 248px);
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: auto;
  transition: transform 220ms ease;
}

.story-strip-item:hover img {
  transform: scale(1.04);
}

.story-strip-skeleton {
  flex: 0 0 clamp(220px, 24vw, 300px);
  min-height: clamp(200px, 22vw, 248px);
}

.landing-nav-card {
  padding: 1.45rem;
}

.landing-grid {
  gap: 1rem;
}

.landing-grid .nav-button {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 1.32rem 1.35rem 1.42rem;
  border: 1px solid rgba(96, 119, 158, 0.44);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 14%, rgba(102, 142, 205, 0.24), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(227, 207, 179, 0.36), transparent 42%),
    linear-gradient(180deg, rgba(249, 246, 240, 0.99), rgba(220, 229, 241, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 38px rgba(8, 18, 37, 0.14);
}

.landing-grid .nav-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 36%),
    linear-gradient(180deg, transparent, rgba(13, 35, 66, 0.04));
  pointer-events: none;
}

.landing-grid .nav-button::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 39, 68, 0), rgba(16, 39, 68, 0.34), rgba(16, 39, 68, 0));
  pointer-events: none;
}

.landing-grid .nav-button:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 104, 148, 0.72);
  background:
    radial-gradient(circle at 88% 12%, rgba(102, 142, 205, 0.3), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(227, 207, 179, 0.42), transparent 42%),
    linear-gradient(180deg, rgba(252, 249, 243, 1), rgba(226, 234, 245, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 28px 50px rgba(8, 18, 37, 0.18);
}

.nav-button-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.36rem 0.7rem;
  border: 1px solid rgba(84, 110, 150, 0.24);
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.72);
  color: #294973;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.landing-grid .nav-button-label {
  position: relative;
  z-index: 1;
  margin-bottom: 0.55rem;
  font-size: 1.68rem;
  color: #102744;
  letter-spacing: -0.02em;
}

.landing-grid .nav-button-copy {
  position: relative;
  z-index: 1;
  max-width: 21rem;
  color: #3e526d;
  line-height: 1.68;
}

.landing-links-card .related-grid {
  gap: 0.85rem;
}

@media (max-width: 980px) {
  #landing-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-visual-grid {
    max-width: 620px;
  }
}

@media (max-width: 720px) {
  .landing-shell-refined {
    padding-top: 1.8rem;
  }

  #landing-stage {
    padding: 1.1rem;
  }

  #landing-stage .landing-copy {
    padding: 0.8rem 0.55rem 0;
  }

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

  #landing-stage .hero-profile-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  #hero-athletics-card,
  #hero-education-card {
    transform:
      translate3d(var(--card-shift-x), var(--card-shift-y), 0)
      rotateX(var(--card-tilt-x))
      rotateY(var(--card-tilt-y))
      scale(var(--card-scale));
  }

  .brain-bank-token-text {
    font-size: 0.58rem;
  }

  .brain-bank-button {
    width: 100%;
  }

  .marquee-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .marquee-control-side {
    justify-self: center;
  }

  .story-strip-item {
    flex-basis: min(72vw, 280px);
  }

  .story-strip-item img {
    height: 180px;
  }

  .section-gallery-item {
    flex-basis: min(78vw, 320px);
  }

  .section-gallery-item img {
    height: clamp(210px, 54vw, 280px);
  }

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

body main {
  opacity: 1;
  transform: translateY(0);
  filter: saturate(1);
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

body.is-loading main,
body.is-navigating main {
  opacity: 0;
  transform: translateY(18px);
  filter: saturate(0.96);
}

body.lightbox-open {
  overflow: hidden;
}

.card,
.nav-button,
.story-strip-item,
.section-gallery-item,
.brain-bank-button {
  position: relative;
  isolation: isolate;
}

.surface-interactive {
  overflow: hidden;
}

.surface-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.34),
    transparent 60%
  );
  opacity: var(--spot-alpha, 0);
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.page-shell {
  max-width: 1180px;
  gap: 1.15rem;
  padding-top: 1.9rem;
}

.section-content-wrap {
  max-width: 1000px;
}

.page-hero {
  padding: 1.55rem 1.55rem 1.4rem;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(24, 49, 90, 0.18), rgba(247, 243, 236, 0.98) 36%),
    radial-gradient(circle at 84% 16%, rgba(108, 145, 208, 0.22), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(229, 208, 177, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(250, 246, 239, 0.99), rgba(222, 231, 243, 0.9));
  border-color: rgba(145, 168, 205, 0.42);
  box-shadow: 0 24px 64px rgba(7, 15, 31, 0.22);
}

.page-hero::before,
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(180deg, transparent, rgba(10, 27, 51, 0.04));
}

.page-hero > :not(.surface-spotlight),
.detail-card > :not(.surface-spotlight),
.nav-button > :not(.surface-spotlight) {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: #143761;
}

.page-hero h1 {
  color: #0d2747;
  letter-spacing: -0.03em;
}

.page-hero .section-lead {
  color: #213a5b;
  font-weight: 500;
}

.page-hero .back-link {
  color: #173760;
}

.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
  max-width: 48rem;
}

.page-hero-stat {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(126, 149, 184, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.78), rgba(227, 235, 246, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.page-hero-stat-value {
  display: block;
  margin-bottom: 0.28rem;
  color: #102744;
  font-family: "Fraunces", serif;
  font-size: 1.36rem;
  line-height: 1.05;
}

.page-hero-stat-label {
  display: block;
  color: #49607f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-card {
  padding: 1.35rem;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(107, 144, 206, 0.16), transparent 28%),
    radial-gradient(circle at 8% 100%, rgba(228, 208, 180, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(250, 246, 239, 0.99), rgba(227, 235, 246, 0.88));
  border-color: rgba(136, 158, 194, 0.34);
  box-shadow: 0 18px 42px rgba(7, 15, 31, 0.14);
}

@supports (content-visibility: auto) {
  .detail-card {
    content-visibility: auto;
    contain-intrinsic-size: 320px;
  }

  .landing-grid .nav-button {
    content-visibility: auto;
    contain-intrinsic-size: 228px;
  }

  .section-gallery-card {
    contain-intrinsic-size: 540px;
  }
}

#landing-stage::after {
  content: "";
  position: absolute;
  inset: -6%;
  pointer-events: none;
  opacity: var(--stage-spot-opacity, 0);
  background: radial-gradient(
    circle at var(--stage-spot-x, 76%) var(--stage-spot-y, 18%),
    rgba(113, 150, 214, 0.26),
    transparent 30%
  );
  transition: opacity 220ms ease;
  mix-blend-mode: screen;
}

.landing-grid .nav-button {
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.landing-grid .nav-button:hover .nav-button-label {
  transform: translateY(-2px);
}

.landing-grid .nav-button:hover .nav-button-copy {
  transform: translateY(-1px);
  color: #284565;
}

.landing-grid .nav-button-label,
.landing-grid .nav-button-copy,
.landing-grid .nav-button-index {
  transition: transform 220ms ease, color 220ms ease;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  min-width: 220px;
  max-width: min(92vw, 340px);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(142, 166, 203, 0.36);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(223, 232, 244, 0.92));
  color: #143761;
  font-weight: 600;
  box-shadow: 0 22px 40px rgba(7, 15, 31, 0.2);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-error {
  border-color: rgba(184, 117, 117, 0.32);
  color: #6b2731;
}

.story-strip-card .section-heading,
.section-gallery-card .compact-heading {
  max-width: 48rem;
}

.story-strip-card h2,
.section-gallery-card h2 {
  letter-spacing: -0.02em;
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.gallery-trigger:focus-visible {
  outline: 2px solid rgba(29, 71, 120, 0.34);
  outline-offset: -2px;
}

.gallery-zoom-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.72rem;
  border: 1px solid rgba(242, 246, 252, 0.42);
  border-radius: 999px;
  background: rgba(13, 35, 66, 0.74);
  color: #f9f5ee;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.section-gallery-item:hover .gallery-zoom-badge,
.story-strip-item:hover .gallery-zoom-badge,
.gallery-trigger:focus-visible .gallery-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.section-gallery-item .gallery-trigger,
.story-strip-trigger {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.section-gallery-item img,
.story-strip-item img {
  display: block;
  width: 100%;
  transition: transform 280ms ease, filter 280ms ease;
}

.section-gallery-item:hover img,
.story-strip-item:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 27, 0.74);
  backdrop-filter: blur(12px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  width: min(1180px, 100%);
  max-height: 100%;
  align-items: center;
}

.gallery-lightbox-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(162, 184, 217, 0.44);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.98), rgba(223, 232, 244, 0.94));
  box-shadow: 0 36px 88px rgba(7, 15, 31, 0.28);
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  max-height: min(72vh, 820px);
  object-fit: contain;
  background: #edf4fd;
}

.gallery-lightbox-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 1.2rem;
}

.gallery-lightbox-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(116, 145, 187, 0.24);
  border-radius: 999px;
  background: rgba(251, 247, 241, 0.82);
  color: #27486f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-lightbox-caption {
  flex: 1;
  margin: 0;
  color: #2a4566;
  line-height: 1.7;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid rgba(162, 184, 217, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(223, 232, 244, 0.94));
  color: #173760;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(7, 15, 31, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(97, 126, 170, 0.46);
  box-shadow: 0 22px 36px rgba(7, 15, 31, 0.2);
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.gallery-lightbox-thumbs {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0.35rem 0.05rem 0.1rem;
  scrollbar-width: none;
}

.gallery-lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-lightbox-thumb {
  flex: 0 0 90px;
  padding: 0;
  border: 1px solid rgba(155, 177, 208, 0.34);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.96), rgba(225, 233, 244, 0.9));
  overflow: hidden;
  cursor: pointer;
  opacity: 0.64;
  transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 74px;
  object-fit: cover;
}

.gallery-lightbox-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(98, 128, 172, 0.56);
  box-shadow: 0 18px 28px rgba(7, 15, 31, 0.16);
}

.experience-card-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem 1.2rem;
  align-items: start;
}

.experience-sequence {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  min-width: 3.15rem;
  padding-top: 0.15rem;
}

.experience-sequence-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(108, 137, 180, 0.26);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.88), rgba(224, 232, 243, 0.74));
  color: #183a65;
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.experience-sequence-line {
  width: 1px;
  min-height: calc(100% - 3.4rem);
  background: linear-gradient(180deg, rgba(116, 145, 187, 0.48), rgba(116, 145, 187, 0));
}

.experience-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.experience-location {
  margin: 0;
  color: #445975;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.experience-status-chip,
.experience-period-chip,
.experience-focus-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-status-chip {
  padding: 0.44rem 0.72rem;
  border: 1px solid rgba(101, 129, 170, 0.24);
  background: rgba(245, 249, 255, 0.88);
  color: #1f4777;
}

.experience-period-chip {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0.76rem;
  border: 1px solid rgba(112, 145, 191, 0.22);
  background: rgba(248, 243, 235, 0.84);
  color: #5a6d86;
}

.experience-impact {
  margin-bottom: 0.95rem;
  color: #183d69;
  font-size: 1.02rem;
  font-weight: 600;
}

.experience-focuses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.experience-focus-chip {
  padding: 0.46rem 0.72rem;
  border: 1px solid rgba(110, 139, 180, 0.22);
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.86), rgba(225, 233, 244, 0.72));
  color: #2e4767;
}

.experience-list {
  margin: 0 0 0 1.2rem;
}

.experience-list li:last-child {
  margin-bottom: 0;
}

.experience-media-wrap {
  align-self: stretch;
}

.experience-media-frame {
  min-height: 180px;
  height: 100%;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.96), rgba(222, 231, 242, 0.84));
  border: 1px solid rgba(135, 157, 194, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.experience-media {
  width: 100%;
  max-width: 100%;
  max-height: 160px;
}

.section-pill,
.related-link,
.research-link {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.section-pill.is-active {
  background: linear-gradient(180deg, rgba(246, 241, 233, 0.98), rgba(214, 224, 240, 0.84));
  border-color: rgba(105, 131, 171, 0.36);
  box-shadow: 0 16px 28px rgba(7, 15, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

@media (min-width: 760px) {
  .experience-card-layout {
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 280px);
  }
}

@media (max-width: 1080px) {
  .gallery-lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: calc(50% - 2.4rem);
    z-index: 2;
  }

  .gallery-lightbox-prev {
    left: 0.8rem;
  }

  .gallery-lightbox-next {
    right: 0.8rem;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 1.18rem;
    border-radius: 22px;
  }

  .page-hero-stats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

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

  .experience-card-layout {
    grid-template-columns: 1fr;
  }

  .experience-sequence {
    flex-direction: row;
    gap: 0.8rem;
    min-width: 0;
    padding-top: 0;
  }

  .experience-sequence-line {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }

  .experience-meta-row {
    flex-wrap: wrap;
  }

  .gallery-lightbox {
    padding: 0.8rem;
  }

  .gallery-lightbox-frame {
    border-radius: 22px;
  }

  .gallery-lightbox-image {
    max-height: 56vh;
  }

  .gallery-lightbox-meta {
    flex-direction: column;
    gap: 0.45rem;
  }

  .gallery-lightbox-thumb {
    flex-basis: 74px;
  }

  .gallery-lightbox-thumb img {
    height: 62px;
  }
}

/* Premium redesign implementation pass */
.site-header {
  position: sticky;
  top: 0.7rem;
  z-index: 45;
  padding: 0.55rem 1.05rem 0;
}

.site-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.45rem;
  padding: 0.34rem 1rem 0.34rem 0.34rem;
  min-width: 0;
  text-decoration: none;
  color: #f7f1e7;
  border: 1px solid rgba(158, 183, 218, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(9, 21, 42, 0.94), rgba(10, 24, 49, 0.9)),
    rgba(8, 19, 38, 0.9);
  box-shadow: 0 22px 46px rgba(4, 10, 22, 0.28);
  backdrop-filter: blur(18px) saturate(145%);
}

.site-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.72rem;
  height: 2.72rem;
  border: 1px solid rgba(236, 228, 217, 0.2);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(37, 70, 118, 0.96), rgba(15, 42, 84, 0.92));
  color: #f9f3e8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 20px rgba(4, 10, 22, 0.24);
}

.site-brand-mark-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform-origin: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-brand-copy strong {
  color: #f7f2e9;
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-brand-copy span {
  color: rgba(232, 239, 251, 0.74);
  font-size: 0.78rem;
  white-space: nowrap;
}

.site-header-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.26rem;
  border: 1px solid rgba(156, 181, 219, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(9, 21, 42, 0.94), rgba(10, 24, 49, 0.9)),
    rgba(8, 19, 38, 0.9);
  box-shadow: 0 22px 46px rgba(4, 10, 22, 0.28);
  backdrop-filter: blur(18px) saturate(145%);
}

.site-header.is-scrolled .site-brand,
.site-header.is-scrolled .site-header-panel {
  border-color: rgba(179, 201, 233, 0.24);
  box-shadow: 0 24px 52px rgba(4, 10, 22, 0.32);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  overflow: hidden;
}

.site-pill-list {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 0.26rem;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.site-pill-item {
  display: flex;
}

.site-nav-link,
.site-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 0.94rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(236, 242, 252, 0.76);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-nav-link {
  --pill-circle-fill: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(225, 232, 243, 0.92));
  --pill-hover-label: #112c51;
  background: transparent;
}

.site-nav-link:hover,
.site-header-action:hover {
  transform: translateY(-1px);
  border-color: rgba(208, 221, 240, 0.18);
  box-shadow: 0 14px 24px rgba(4, 10, 22, 0.18);
}

.site-header:not(.has-pill-motion) .site-nav-link:hover,
.site-header:not(.has-pill-motion) .site-nav-link:focus-visible {
  color: #112c51;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(225, 232, 243, 0.9));
}

.site-pill-link:focus-visible {
  outline: none;
  border-color: rgba(186, 205, 233, 0.46);
  box-shadow:
    0 0 0 3px rgba(117, 148, 194, 0.2),
    0 14px 24px rgba(4, 10, 22, 0.18);
}

.site-nav-link.is-active {
  color: #112c51;
  border-color: rgba(245, 240, 232, 0.2);
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(225, 232, 243, 0.9));
  box-shadow: 0 12px 22px rgba(6, 14, 30, 0.16);
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.3rem;
}

.site-header-action {
  --pill-circle-fill: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08) 66%, transparent 100%);
  --pill-hover-label: #fbf7f1;
  min-width: 7.2rem;
  background: linear-gradient(180deg, rgba(32, 74, 132, 0.98), rgba(18, 49, 96, 0.94));
  color: #fbf7f1;
  border-color: rgba(171, 195, 228, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.site-header-action:hover {
  background: linear-gradient(180deg, rgba(41, 88, 151, 1), rgba(22, 59, 110, 0.96));
}

.assistant-header-trigger {
  min-width: 8.95rem;
}

.site-pill-circle {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50%;
  background: var(--pill-circle-fill);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.site-pill-label-stack {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 1em;
  line-height: 1;
  z-index: 1;
}

.site-pill-label,
.site-pill-label-hover {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity;
}

.site-pill-label-hover {
  color: var(--pill-hover-label);
  opacity: 0;
}

.site-nav-link.is-active .site-pill-label,
.site-nav-link.is-active .site-pill-label-hover {
  color: #112c51;
}

.site-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.72rem 0.88rem;
  margin-left: auto;
  border: 1px solid rgba(208, 221, 240, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f7f2e9;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-menu-toggle span:not(.site-menu-label) {
  display: block;
  width: 0.95rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-menu-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-positioning {
  margin: 0 0 1rem;
  color: #17365c;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  font-weight: 600;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.6rem;
  padding: 0.88rem 1.15rem;
  border: 1px solid rgba(125, 149, 184, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.98), rgba(225, 233, 244, 0.92));
  color: #16385f;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(7, 15, 31, 0.12);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.hero-action:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 125, 176, 0.48);
  box-shadow: 0 18px 30px rgba(7, 15, 31, 0.14);
}

.hero-action.is-primary {
  background: linear-gradient(180deg, rgba(28, 67, 118, 0.98), rgba(17, 46, 91, 0.94));
  color: #fbf7f1;
  border-color: rgba(165, 192, 230, 0.18);
}

.hero-action.is-primary:hover {
  background: linear-gradient(180deg, rgba(34, 78, 136, 1), rgba(19, 54, 104, 0.96));
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-chip {
  padding: 0.5rem 0.78rem;
  border: 1px solid rgba(105, 134, 179, 0.24);
  background: linear-gradient(180deg, rgba(248, 244, 237, 0.92), rgba(227, 235, 246, 0.84));
  color: #294464;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-scroll-cue {
  position: absolute;
  left: 1.6rem;
  bottom: 1.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(118, 145, 185, 0.3);
  border-radius: 999px;
  background: rgba(252, 248, 241, 0.9);
  color: #173860;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(7, 15, 31, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-scroll-cue:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 124, 174, 0.42);
  box-shadow: 0 20px 34px rgba(7, 15, 31, 0.16);
}

.hero-scroll-cue span {
  font-size: 0.85rem;
  color: #556985;
}

.hero-scroll-cue strong {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-support-card figcaption span {
  display: block;
  margin-bottom: 0.2rem;
}

.landing-support-card figcaption strong {
  display: block;
  color: #102744;
  font-size: 0.98rem;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.landing-about {
  padding: 1.55rem;
  background: linear-gradient(180deg, rgba(249, 245, 239, 0.99), rgba(229, 236, 245, 0.9));
  border-color: rgba(144, 166, 201, 0.36);
}

.landing-about:hover {
  transform: none;
}

.about-heading {
  margin-bottom: 1.2rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: 1.2rem 1.5rem;
  align-items: start;
}

.about-intro-column {
  min-width: 0;
}

.about-lead {
  margin: 0;
  color: #244160;
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  font-weight: 500;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.about-stat {
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(126, 149, 184, 0.28);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.84), rgba(226, 234, 245, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-stat-value {
  display: block;
  margin-bottom: 0.25rem;
  color: #102744;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.about-stat-label {
  display: block;
  color: #50637d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-notes {
  display: grid;
  gap: 0.85rem;
}

.about-note {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(131, 154, 188, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.78), rgba(223, 231, 243, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.about-note h3 {
  margin: 0 0 0.35rem;
  color: #102744;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.about-note p {
  margin: 0;
  color: #41536d;
  line-height: 1.7;
}

.section-heading-tight {
  margin-bottom: 0.9rem;
}

.landing-grid .nav-button {
  display: flex;
  flex-direction: column;
}

.nav-button-eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.7rem;
  color: #31527e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-button-arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  color: #173761;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-featured-section,
.projects-secondary-section,
.education-grid,
.honors-grid,
.athletics-stack {
  display: grid;
  gap: 1rem;
}

body[data-section="projects"] .section-content-wrap {
  max-width: 1120px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.78fr);
  gap: 1.2rem 1.25rem;
  align-items: start;
}

.project-feature.is-reversed .project-feature-main {
  order: 2;
}

.project-feature.is-reversed .project-feature-aside {
  order: 1;
}

.project-feature-main,
.project-feature-aside {
  min-width: 0;
}

.project-feature-kicker-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.project-feature-index,
.project-feature-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-feature-index {
  border: 1px solid rgba(104, 131, 171, 0.26);
  background: rgba(250, 246, 239, 0.8);
  color: #27486f;
}

.project-feature-category {
  border: 1px solid rgba(112, 145, 191, 0.2);
  background: rgba(225, 234, 245, 0.78);
  color: #31527e;
}

.project-feature h2 {
  margin-bottom: 0.55rem;
  color: #0f2745;
}

.project-feature-summary {
  margin-bottom: 1rem;
  color: #35506f;
  font-size: 1.02rem;
  line-height: 1.75;
}

.project-link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

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

.project-story-block,
.project-meta-panel {
  padding: 0.95rem 1rem 1rem;
  border: 1px solid rgba(132, 156, 191, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.82), rgba(226, 234, 245, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.project-story-block h3,
.project-meta-label {
  margin: 0 0 0.45rem;
  color: #173761;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-story-block p,
.project-meta-panel p {
  margin: 0;
  color: #40546d;
  line-height: 1.7;
}

.project-story-block ul {
  margin: 0 0 0 1.1rem;
}

.project-story-block-wide {
  grid-column: 1 / -1;
}

.project-feature-aside {
  display: grid;
  gap: 0.85rem;
}

.project-outcome-panel p {
  color: #183d69;
  font-weight: 600;
}

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

.project-secondary-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-secondary-head h3 {
  margin-bottom: 0.35rem;
  color: #0f2745;
}

.project-secondary-role,
.project-secondary-summary {
  margin: 0;
}

.project-secondary-role {
  color: #47607b;
  font-weight: 600;
}

.project-secondary-summary {
  color: #40546d;
  line-height: 1.7;
}

.project-secondary-list {
  margin: 0 0 0 1.1rem;
}

.project-secondary-chips {
  margin-top: auto;
}

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

.education-card ul,
.athletics-card ul {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .site-brand-copy span {
    display: none;
  }

  .site-nav-link,
  .site-header-action {
    padding-inline: 0.78rem;
    font-size: 0.82rem;
  }

  .assistant-header-trigger {
    min-width: 8.35rem;
  }

  .about-layout,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-feature.is-reversed .project-feature-main,
  .project-feature.is-reversed .project-feature-aside {
    order: initial;
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .site-header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.8rem;
    position: relative;
  }

  .site-menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .site-header-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 0.95rem;
    border: 1px solid rgba(172, 194, 225, 0.18);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(9, 21, 42, 0.96), rgba(10, 24, 49, 0.94));
    box-shadow: 0 20px 44px rgba(4, 10, 22, 0.3);
  }

  .site-header.is-open .site-header-panel {
    display: grid;
  }

  .site-nav {
    overflow: visible;
  }

  .site-pill-list {
    width: 100%;
    flex-direction: column;
  }

  .site-nav-link,
  .site-header-action {
    width: 100%;
    min-height: 3rem;
    justify-content: flex-start;
  }

  .site-header-actions {
    display: grid;
    justify-content: stretch;
  }

  .site-header-action {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .site-brand-copy strong {
    font-size: 0.9rem;
  }

  .site-brand {
    padding-right: 0.82rem;
  }

  .hero-actions,
  .about-stats,
  .project-feature-grid,
  .project-secondary-grid,
  .honors-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-action {
    width: 100%;
  }

  .hero-scroll-cue {
    position: static;
    margin-top: 0.9rem;
    justify-self: start;
  }

  .landing-about,
  .story-strip-card,
  .landing-nav-card,
  .landing-links-card {
    padding: 1.2rem;
  }

  .about-layout {
    gap: 1rem;
  }

  .about-stats {
    display: grid;
  }

  .project-feature,
  .project-secondary-grid,
  .honors-grid,
  .about-stats {
    gap: 0.85rem;
  }
}

/* Verification fixes for implementation pass */
.hero-scroll-cue {
  position: relative;
  left: auto;
  bottom: auto;
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.15rem;
}

body[data-page="section"] .section-content-wrap > section > .section-heading,
body[data-page="section"] .section-content-wrap > div > .section-heading,
body[data-page="section"] .section-content-wrap > .section-heading {
  margin-bottom: 1rem;
}

body[data-page="section"] .section-content-wrap > section > .section-heading .eyebrow,
body[data-page="section"] .section-content-wrap > div > .section-heading .eyebrow,
body[data-page="section"] .section-content-wrap > .section-heading .eyebrow {
  color: rgba(226, 235, 248, 0.8);
}

body[data-page="section"] .section-content-wrap > section > .section-heading h2,
body[data-page="section"] .section-content-wrap > div > .section-heading h2,
body[data-page="section"] .section-content-wrap > .section-heading h2 {
  color: #f9f4ea;
}

.project-feature.is-reversed {
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.45fr);
}

@media (max-width: 720px) {
  .hero-scroll-cue {
    margin-top: 0.9rem;
  }
}

/* Section heading contrast fix */
body[data-page="section"] #section-content > section > .section-heading .eyebrow {
  color: rgba(227, 236, 248, 0.82) !important;
}

body[data-page="section"] #section-content > section > .section-heading h2 {
  color: #fbf7f0 !important;
}
