:root {
  --content-max: 1180px;
  --page-gutter: 2.4rem;
  --page-gutter-mobile: 1.15rem;
  --reading-max: 74ch;

  --bg: #f6f6f2;
  --bg-soft: #ffffff;
  --ink: #111a2d;
  --ink-soft: #1c2740;
  --muted: #465069;
  --line: #ced5e2;
  --line-strong: #aeb8c9;

  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --surface-deep: #132239;

  --accent-coral: #f06f52;
  --accent-coral-strong: #d45337;
  --accent-cyan: #19a6a2;
  --accent-blue: #3a63e2;
  --accent-gold: #f6be56;

  --brand-capital-one: #004977;
  --brand-capital-one-accent: #d03027;
  --brand-spotify: #1db954;
  --brand-yext: #1f3f95;
  --brand-arista: #16325b;
  --brand-deutsche-bank: #001a8f;
  --brand-goldman-sachs: #3f658f;
  --brand-gmail: #5f6368;
  --brand-linkedin: #0a66c2;
  --brand-github: #181717;
  --brand-x: #000000;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 24px rgba(19, 31, 53, 0.08);
  --shadow: 0 18px 44px rgba(19, 31, 53, 0.12);
  --shadow-lift: 0 24px 56px rgba(19, 31, 53, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(0.98rem, 0.2vw + 0.92rem, 1.08rem);
  line-height: 1.68;
  letter-spacing: 0.002em;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible {
  outline: 2px solid rgba(25, 166, 162, 0.8);
  outline-offset: 3px;
  border-radius: 6px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 30;
  background: rgba(17, 26, 45, 0.1);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-cyan) 50%, var(--accent-gold) 100%);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 14%, rgba(240, 111, 82, 0.2), transparent 33%),
    radial-gradient(circle at 90% 10%, rgba(25, 166, 162, 0.18), transparent 34%),
    radial-gradient(circle at 15% 84%, rgba(58, 99, 226, 0.15), transparent 38%),
    radial-gradient(circle at 90% 82%, rgba(246, 190, 86, 0.16), transparent 37%),
    linear-gradient(160deg, #f8f8f5 0%, #eff2f8 50%, #f7f5f2 100%);
  background-size:
    130% 130%,
    120% 120%,
    140% 140%,
    130% 130%,
    100% 100%;
  animation: backgroundFloat 20s ease-in-out infinite alternate;
}

@keyframes backgroundFloat {
  0% {
    background-position:
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%,
      0% 0%;
  }

  100% {
    background-position:
      5% 3%,
      -4% 2%,
      6% -2%,
      -3% -5%,
      0% 0%;
  }
}

.container {
  width: min(var(--content-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 26, 45, 0.12);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(246, 246, 242, 0.95) 0%, rgba(246, 246, 242, 0.82) 100%);
}

.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 700;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  padding: 0.32rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(17, 26, 45, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 24px rgba(19, 31, 53, 0.08);
}

.top-nav a {
  min-height: 34px;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--muted);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(58, 99, 226, 0.14), rgba(25, 166, 162, 0.12));
}

.top-nav .top-nav-contact {
  margin-left: 0.1rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  box-shadow: 0 8px 20px rgba(20, 49, 102, 0.22);
}

.top-nav .top-nav-contact:hover,
.top-nav .top-nav-contact.active {
  color: #ffffff;
  background: linear-gradient(135deg, #304dc5 0%, #128c88 100%);
  transform: translateY(-1px);
}

.floating-contact-rail {
  position: fixed;
  top: 5.4rem;
  right: max(0.75rem, calc((100vw - var(--content-max)) / 2 + (var(--page-gutter) / 2)));
  display: grid;
  gap: 0.62rem;
  z-index: 19;
  pointer-events: none;
}

.floating-contact-link {
  width: 2.92rem;
  height: 2.92rem;
  border: 1px solid rgba(17, 26, 45, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink-soft);
  box-shadow: 0 14px 28px rgba(19, 31, 53, 0.15);
  pointer-events: auto;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.floating-contact-link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.floating-contact-link img {
  width: 1.16rem;
  height: 1.16rem;
  object-fit: contain;
}

.floating-contact-link:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow);
}

.floating-contact-link--linkedin {
  color: var(--brand-linkedin);
  border-color: rgba(10, 102, 194, 0.35);
}

.floating-contact-link--gmail {
  color: var(--brand-gmail);
  border-color: rgba(95, 99, 104, 0.36);
}

.section {
  padding: clamp(4.5rem, 7.2vw, 7.2rem) 0;
}

.eyebrow {
  margin: 0;
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  color: var(--accent-blue);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  color: var(--ink);
}

h1,
h2 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
}

h1 {
  margin-top: 0.64rem;
  font-size: clamp(3rem, 5.6vw, 5.7rem);
  font-weight: 600;
  letter-spacing: 0.006em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 520;
}

h3 {
  font-family: "Sora", "Avenir Next", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

p {
  margin: 0;
}

.hero {
  padding-top: clamp(3.2rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(300px, 0.92fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: start;
}

.hero-summary {
  margin-top: 1.58rem;
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.7rem);
  max-width: 68ch;
  padding: clamp(0.95rem, 1.4vw, 1.3rem);
  border-radius: var(--radius);
  border: 1px solid rgba(17, 26, 45, 0.14);
  background:
    radial-gradient(circle at 92% 8%, rgba(25, 166, 162, 0.16), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.9));
  box-shadow: var(--shadow-soft);
}

.hero-headshot-inline {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(17, 26, 45, 0.2);
  box-shadow: 0 14px 30px rgba(19, 31, 53, 0.16);
}

.hero-headshot-inline img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.03);
  animation: portraitFloat 8.5s ease-in-out infinite;
}

@keyframes portraitFloat {
  0%,
  100% {
    transform: scale(1.03) translateY(0);
  }

  50% {
    transform: scale(1.03) translateY(-6px);
  }
}

.lead {
  color: var(--muted);
  font-size: clamp(1.03rem, 0.22vw + 0.98rem, 1.14rem);
  line-height: 1.66;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.54rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.btn-primary {
  color: #0b1020;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-coral) 100%);
  border-color: rgba(11, 16, 32, 0.14);
  box-shadow: 0 12px 26px rgba(240, 111, 82, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f3b149 0%, #e05e3f 100%);
  box-shadow: 0 16px 32px rgba(224, 94, 63, 0.32);
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(17, 26, 45, 0.22);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 99, 226, 0.5);
  background: rgba(244, 247, 255, 0.96);
}

.btn-contact {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  border-color: rgba(16, 23, 40, 0.2);
  box-shadow: 0 12px 24px rgba(20, 56, 117, 0.24);
}

.btn-contact:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2e4dc8 0%, #138b88 100%);
}

.hero-metrics {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.64rem;
  max-width: 74ch;
}

.hero-metrics li {
  padding: 0.88rem 0.92rem;
  border: 1px solid rgba(17, 26, 45, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-metrics span {
  display: block;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.08rem, 1.4vw, 1.4rem);
  color: var(--ink);
}

.hero-metrics p {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hero-panel {
  border: 1px solid rgba(12, 29, 59, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 190, 86, 0.22), transparent 44%),
    radial-gradient(circle at 10% 85%, rgba(25, 166, 162, 0.2), transparent 52%),
    linear-gradient(155deg, #0e2037 0%, #16314e 54%, #143147 100%);
  color: #e8f2ff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -68px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-panel h2 {
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  color: #fff8e4;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.86rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.06rem;
}

.hero-panel li {
  color: rgba(236, 244, 255, 0.95);
  line-height: 1.58;
}

.hero-panel li + li {
  margin-top: 0.68rem;
}

.hero-panel li::marker {
  color: #ffe19a;
}

.section-heading {
  max-width: 78ch;
  margin-bottom: 2rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-coral) 0%, rgba(240, 111, 82, 0) 100%);
}

.section-heading h2 {
  margin-top: 0.56rem;
}

.section-impact .section-heading::after {
  background: linear-gradient(90deg, var(--accent-blue) 0%, rgba(58, 99, 226, 0) 100%);
}

.section-reviews .section-heading::after {
  background: linear-gradient(90deg, var(--accent-cyan) 0%, rgba(25, 166, 162, 0) 100%);
}

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

.impact-card {
  border: 1px solid rgba(17, 26, 45, 0.14);
  border-radius: 14px;
  padding: 1.06rem 0.95rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(242, 246, 255, 0.92));
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.32rem;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.impact-card:nth-child(1) {
  border-top: 4px solid var(--accent-blue);
}

.impact-card:nth-child(2) {
  border-top: 4px solid var(--accent-coral);
}

.impact-card:nth-child(3) {
  border-top: 4px solid var(--accent-cyan);
}

.impact-card:nth-child(4) {
  border-top: 4px solid var(--accent-gold);
}

.impact-card:nth-child(5) {
  border-top: 4px solid #5d7d3e;
}

.impact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(17, 26, 45, 0.24);
}

.impact-value {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.impact-label {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.reviews-carousel {
  width: 100%;
  display: grid;
  gap: 1rem;
}

.reviews-viewport {
  overflow: hidden;
  position: relative;
  cursor: grab;
  padding: 0.2rem 0.14rem 0.34rem;
  user-select: none;
  touch-action: pan-y;
}

.reviews-viewport.is-dragging {
  cursor: grabbing;
}

.reviews-viewport::before,
.reviews-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 1;
  pointer-events: none;
}

.reviews-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(246, 246, 242, 1), rgba(246, 246, 242, 0));
}

.reviews-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(246, 246, 242, 1), rgba(246, 246, 242, 0));
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 0.92rem;
  width: max-content;
  will-change: transform;
}

.review-card {
  --review-accent: var(--accent-coral);
  margin: 0;
  flex: 0 0 clamp(290px, 38vw, 420px);
  min-height: 226px;
  border-radius: 18px;
  border: 1px solid rgba(17, 26, 45, 0.16);
  padding: 1.04rem 1.08rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0)),
    linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.88));
  display: grid;
  gap: 0.74rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--review-accent), rgba(17, 26, 45, 0));
}

.review-card:nth-child(4n + 1) {
  --review-accent: var(--accent-coral);
}

.review-card:nth-child(4n + 2) {
  --review-accent: var(--accent-blue);
}

.review-card:nth-child(4n + 3) {
  --review-accent: var(--accent-cyan);
}

.review-card:nth-child(4n + 4) {
  --review-accent: var(--accent-gold);
}

.review-card--stellar {
  border-color: rgba(17, 26, 45, 0.25);
}

.review-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.58;
}

.review-highlight {
  color: var(--ink);
  font-weight: 700;
}

.review-card figcaption {
  border-top: 1px solid rgba(17, 26, 45, 0.12);
  padding-top: 0.62rem;
  display: grid;
  gap: 0.12rem;
}

.reviewer {
  color: var(--review-accent);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.reviewer-role {
  color: var(--muted);
  font-size: 0.75rem;
}

.metrics {
  display: grid;
  gap: 0.9rem;
}

.summary-group-title {
  margin: 0;
  color: var(--accent-coral-strong);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.internship-title {
  margin-top: 0.2rem;
}

.trajectory-track {
  border-left: 2px solid rgba(17, 26, 45, 0.18);
  margin-left: 0.48rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.trajectory-step {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(17, 26, 45, 0.15);
  padding: 1.08rem 1.08rem;
  background:
    radial-gradient(circle at 92% 8%, rgba(246, 190, 86, 0.17), rgba(246, 190, 86, 0)),
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 255, 0.9));
  display: grid;
  gap: 0.55rem;
  box-shadow: var(--shadow-soft);
}

.trajectory-step::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1.08rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(240, 111, 82, 0.2);
}

.trajectory-step::after {
  content: "";
  position: absolute;
  left: -1.1rem;
  bottom: -0.54rem;
  width: 1px;
  height: 0.54rem;
  background: rgba(17, 26, 45, 0.18);
}

.trajectory-step:last-child::after {
  display: none;
}

.trajectory-step-current {
  border-color: rgba(25, 166, 162, 0.34);
}

.trajectory-step-current::before {
  background: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(25, 166, 162, 0.2);
}

.org-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.54rem;
}

.org-logo {
  width: clamp(1.62rem, 1.45rem + 0.6vw, 1.98rem);
  height: clamp(1.62rem, 1.45rem + 0.6vw, 1.98rem);
  border-radius: 0.3rem;
  flex: 0 0 auto;
}

.org-link {
  text-decoration: none;
}

.org-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-link--capitalone {
  color: var(--brand-capital-one);
  font-weight: 700;
}

.org-link--capitalone:hover {
  text-decoration-color: var(--brand-capital-one-accent);
}

.org-link--spotify {
  color: var(--brand-spotify);
  font-weight: 700;
}

.org-link--yext {
  color: var(--brand-yext);
  font-weight: 700;
}

.org-link--arista {
  color: var(--brand-arista);
  font-weight: 700;
}

.org-link--deutsche-bank {
  color: var(--brand-deutsche-bank);
  font-weight: 700;
}

.org-link--goldman-sachs {
  color: var(--brand-goldman-sachs);
  font-weight: 700;
}

.snapshot-role {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
  font-weight: 600;
}

.snapshot-years {
  color: var(--accent-coral-strong);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.snapshot-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.56;
}

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

.internship-card {
  border: 1px solid rgba(17, 26, 45, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.82rem 0.9rem;
  display: grid;
  gap: 0.2rem;
}

.internship-name {
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.internship-name .org-link {
  text-transform: none;
}

.internship-role {
  color: var(--muted);
  font-size: 0.75rem;
}

.internship-years {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  border-left: 2px solid rgba(58, 99, 226, 0.24);
  margin-left: 0.52rem;
  max-width: 92ch;
}

.timeline-item {
  position: relative;
  margin-left: 1.3rem;
  padding-bottom: 2.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.48rem;
  top: 0.38rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(58, 99, 226, 0.2);
}

.timeline-item header {
  margin-bottom: 0.84rem;
}

.timeline-item p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.timeline-item span {
  color: var(--muted);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item ul {
  margin: 0;
  padding-left: 1.1rem;
  max-width: var(--reading-max);
}

.timeline-item li {
  color: var(--muted);
  margin: 0.54rem 0;
  line-height: 1.58;
}

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

.skills-grid article,
.certs article,
.education-grid article,
.early-grid article {
  border: 1px solid rgba(17, 26, 45, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  padding: 1.12rem;
  position: relative;
  overflow: hidden;
}

.skills-grid article::before,
.certs article::before,
.education-grid article::before,
.early-grid article::before {
  content: "";
  position: absolute;
  inset: -42% auto auto 60%;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 99, 226, 0.14), rgba(58, 99, 226, 0));
  pointer-events: none;
}

.skills-grid h3,
.early-grid h3 {
  margin-bottom: 0.42rem;
}

.skills-grid p,
.early-grid p,
.education-grid p {
  color: var(--muted);
}

#skills .section-heading h2 {
  color: var(--ink);
}

#skills .skills-grid article {
  border-top: 4px solid rgba(58, 99, 226, 0.46);
}

#skills .skills-grid article.skills-featured {
  grid-column: 1 / -1;
}

#skills .skills-grid article.skills-featured--ai,
#skills .skills-grid article.skills-featured--cloud {
  display: grid;
  gap: 0.72rem;
}

#skills .skills-grid article.skills-featured--cloud {
  grid-column: span 2;
}

.ai-subsections,
.cloud-subsections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.76rem 0.9rem;
}

.ai-subsection,
.cloud-subsection {
  display: grid;
  gap: 0.42rem;
}

.ai-subsection h4,
.cloud-subsection h4 {
  margin: 0;
  color: var(--muted);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}

.skill-chip {
  min-height: 1.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(17, 26, 45, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  padding: 0.3rem 0.67rem;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.skill-chip:hover {
  color: var(--accent-blue);
  border-color: rgba(58, 99, 226, 0.48);
  background: rgba(243, 247, 255, 0.96);
  transform: translateY(-1px);
}

.skill-chip--plain {
  border-style: solid;
}

.skill-logo {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 0.16rem;
  flex: 0 0 auto;
}

.education-grid,
.early-grid,
.certs {
  display: grid;
  gap: 0.78rem;
}

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

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

.early-grid article,
.education-grid article {
  display: grid;
  gap: 0.24rem;
}

.early-grid span,
.education-grid span {
  color: var(--muted);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.certs h2 {
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 0.74rem;
}

.certs ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.certs li + li {
  margin-top: 0.42rem;
}

.cert-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.52rem;
}

.cert-list .cert-item + .cert-item {
  margin-top: 0;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.34;
}

.cert-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--accent-blue);
}

.cert-logo {
  width: clamp(1.35rem, 1.26rem + 0.44vw, 1.64rem);
  height: clamp(1.35rem, 1.26rem + 0.44vw, 1.64rem);
  border-radius: 0.22rem;
  flex: 0 0 auto;
}

.section-contact {
  position: relative;
  padding-top: 2.8rem;
  padding-bottom: 3.2rem;
  isolation: isolate;
}

.section-contact::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 10% 20%, rgba(246, 190, 86, 0.18), transparent 36%),
    radial-gradient(circle at 90% 18%, rgba(25, 166, 162, 0.18), transparent 34%),
    linear-gradient(160deg, #0f1d34 0%, #132744 58%, #102740 100%);
  z-index: -2;
}

.section-contact::after {
  content: "";
  position: absolute;
  width: min(280px, 36vw);
  height: min(280px, 36vw);
  border-radius: 50%;
  right: 8%;
  top: 14%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  z-index: -1;
}

.contact {
  display: grid;
  gap: 1.15rem;
}

.contact-intro {
  max-width: 72ch;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.66rem;
  text-align: center;
}

.contact-intro h2 {
  color: #f8fbff;
}

.contact-intro p,
.section-contact .eyebrow {
  color: rgba(232, 241, 255, 0.86);
}

.contact-grid {
  width: min(700px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.84rem;
}

.section-contact .contact-intro,
.section-contact .contact-tile {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

.section-contact.is-visible .contact-intro,
.section-contact.is-visible .contact-tile {
  opacity: 1;
  transform: translateY(0);
}

.section-contact .contact-tile:nth-child(1) {
  transition-delay: 90ms;
}

.section-contact .contact-tile:nth-child(2) {
  transition-delay: 150ms;
}

.section-contact .contact-tile:nth-child(3) {
  transition-delay: 210ms;
}

.section-contact .contact-tile:nth-child(4) {
  transition-delay: 270ms;
}

.contact-tile {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.88rem 0.92rem;
  border-radius: 14px;
  border: 1px solid rgba(218, 230, 255, 0.3);
  background: rgba(236, 244, 255, 0.9);
  text-decoration: none;
  color: var(--ink-soft);
  box-shadow: 0 12px 28px rgba(8, 14, 30, 0.3);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(245, 250, 255, 0.95);
  box-shadow: 0 16px 34px rgba(8, 14, 30, 0.38);
}

.contact-tile-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 26, 45, 0.22);
  background: #ffffff;
}

.contact-tile-icon svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.contact-tile-icon img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.contact-tile-copy {
  min-width: 0;
  display: flex;
  align-items: center;
}

.contact-tile-label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-tile-action {
  min-height: 1.62rem;
  padding: 0.2rem 0.56rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(17, 26, 45, 0.2);
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffffff;
  background: var(--ink-soft);
}

.contact-tile--email .contact-tile-icon {
  color: var(--brand-gmail);
}

.contact-tile--email .contact-tile-action {
  background: #4f4a44;
}

.contact-tile--linkedin .contact-tile-icon,
.contact-tile--linkedin .contact-tile-label {
  color: var(--brand-linkedin);
}

.contact-tile--linkedin .contact-tile-action {
  background: var(--brand-linkedin);
}

.contact-tile--github .contact-tile-icon,
.contact-tile--github .contact-tile-label {
  color: var(--brand-github);
}

.contact-tile--github .contact-tile-action {
  background: var(--brand-github);
}

.contact-tile--x .contact-tile-icon,
.contact-tile--x .contact-tile-label {
  color: var(--brand-x);
}

.contact-tile--x .contact-tile-action {
  background: var(--brand-x);
}

.site-footer {
  border-top: 1px solid rgba(230, 238, 255, 0.24);
  background: #0f1d34;
  padding: 2rem 0 2.65rem;
}

.site-footer p {
  color: #cfdaf0;
  font-family: "Space Mono", "SFMono-Regular", Menlo, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-note {
  margin-top: 0.34rem;
  opacity: 0.82;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 540ms ease,
    transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal .hero-panel,
.reveal .impact-grid > .impact-card,
.reveal .education-grid > article,
.reveal .trajectory-track > .trajectory-step,
.reveal .internship-summaries > .internship-card,
.reveal .timeline > .timeline-item,
.reveal .skills-grid > article,
.reveal .early-grid > article,
.reveal.section-certs > article {
  opacity: 0;
  transform: translateY(18px) scale(0.988);
  transition:
    opacity 540ms ease,
    transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 90ms;
}

.reveal.is-visible .hero-panel,
.reveal.is-visible .impact-grid > .impact-card,
.reveal.is-visible .education-grid > article,
.reveal.is-visible .trajectory-track > .trajectory-step,
.reveal.is-visible .internship-summaries > .internship-card,
.reveal.is-visible .timeline > .timeline-item,
.reveal.is-visible .skills-grid > article,
.reveal.is-visible .early-grid > article,
.reveal.section-certs.is-visible > article {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal .impact-grid > .impact-card:nth-child(4n + 2),
.reveal .education-grid > article:nth-child(4n + 2),
.reveal .trajectory-track > .trajectory-step:nth-child(4n + 2),
.reveal .internship-summaries > .internship-card:nth-child(4n + 2),
.reveal .timeline > .timeline-item:nth-child(4n + 2),
.reveal .skills-grid > article:nth-child(4n + 2),
.reveal .early-grid > article:nth-child(4n + 2),
.reveal.section-certs > article:nth-child(4n + 2) {
  transition-delay: 160ms;
}

.reveal .impact-grid > .impact-card:nth-child(4n + 3),
.reveal .education-grid > article:nth-child(4n + 3),
.reveal .trajectory-track > .trajectory-step:nth-child(4n + 3),
.reveal .internship-summaries > .internship-card:nth-child(4n + 3),
.reveal .timeline > .timeline-item:nth-child(4n + 3),
.reveal .skills-grid > article:nth-child(4n + 3),
.reveal .early-grid > article:nth-child(4n + 3),
.reveal.section-certs > article:nth-child(4n + 3) {
  transition-delay: 230ms;
}

.reveal .impact-grid > .impact-card:nth-child(4n + 4),
.reveal .education-grid > article:nth-child(4n + 4),
.reveal .trajectory-track > .trajectory-step:nth-child(4n + 4),
.reveal .internship-summaries > .internship-card:nth-child(4n + 4),
.reveal .timeline > .timeline-item:nth-child(4n + 4),
.reveal .skills-grid > article:nth-child(4n + 4),
.reveal .early-grid > article:nth-child(4n + 4),
.reveal.section-certs > article:nth-child(4n + 4) {
  transition-delay: 300ms;
}

@media (max-width: 1160px) {
  .impact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

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

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

  #skills .skills-grid article.skills-featured--cloud {
    grid-column: auto;
  }

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

  .education-grid,
  .certs {
    grid-template-columns: 1fr;
  }

  .trajectory-track {
    padding-left: 1.06rem;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--content-max), calc(100% - var(--page-gutter-mobile)));
  }

  .header-row {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.5rem;
    padding: 0.54rem 0;
  }

  .brand {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 0.24rem 0.26rem;
  }

  .top-nav a {
    white-space: nowrap;
    font-size: 0.63rem;
  }

  .top-nav .top-nav-contact {
    min-height: 30px;
    white-space: nowrap;
  }

  .floating-contact-rail {
    top: auto;
    bottom: 0.8rem;
    right: 0.7rem;
  }

  .floating-contact-link {
    width: 2.64rem;
    height: 2.64rem;
    border-radius: 12px;
  }

  .section {
    padding: 3.95rem 0;
  }

  .hero {
    padding-top: 2.8rem;
    gap: 1.25rem;
  }

  .hero-summary {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.94rem;
  }

  .hero-headshot-inline {
    width: min(66vw, 248px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .skills-grid,
  .internship-summaries,
  .early-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trajectory-track {
    margin-left: 0.32rem;
    padding-left: 0.95rem;
  }

  .trajectory-step::before {
    left: -1.25rem;
  }

  .ai-subsections,
  .cloud-subsections {
    grid-template-columns: 1fr;
  }

  .review-card {
    flex-basis: min(88vw, 360px);
  }

  .contact-intro {
    justify-items: start;
    text-align: left;
  }

  .contact-tile {
    min-height: 84px;
    grid-template-columns: auto 1fr;
    padding: 0.8rem 0.84rem;
  }

  .contact-tile-action {
    grid-column: 2;
    justify-self: start;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .section-heading {
    margin-bottom: 1.8rem;
  }

  .section-heading::after {
    width: 62px;
    margin-top: 0.78rem;
  }
}

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

  .backdrop,
  .hero-headshot-inline img,
  .reveal,
  .btn,
  .top-nav a,
  .floating-contact-link,
  .impact-card,
  .review-card,
  .reveal .hero-panel,
  .reveal .impact-grid > .impact-card,
  .reveal .education-grid > article,
  .reveal .trajectory-track > .trajectory-step,
  .reveal .internship-summaries > .internship-card,
  .reveal .timeline > .timeline-item,
  .reveal .skills-grid > article,
  .reveal .early-grid > article,
  .reveal.section-certs > article,
  .section-contact .contact-intro,
  .section-contact .contact-tile {
    transition: none;
    animation: none;
  }

  .reveal,
  .reveal .hero-panel,
  .reveal .impact-grid > .impact-card,
  .reveal .education-grid > article,
  .reveal .trajectory-track > .trajectory-step,
  .reveal .internship-summaries > .internship-card,
  .reveal .timeline > .timeline-item,
  .reveal .skills-grid > article,
  .reveal .early-grid > article,
  .reveal.section-certs > article,
  .section-contact .contact-intro,
  .section-contact .contact-tile {
    opacity: 1;
    transform: none;
  }
}
