:root {
  --bg: #e8eeff;
  --bg-alt-solid: #ebe6ff;
  --bg-alt: linear-gradient(145deg, #dde8ff 0%, #f0e6ff 48%, #ffe8f4 100%);
  --surface: #ffffff;
  --ink: #070b14;
  --muted: #3d4a63;
  --accent: #312e81;
  --accent-bright: #6366f1;
  --accent-hot: #22d3ee;
  --accent-soft: rgba(99, 102, 241, 0.2);
  --ring: #4f46e5;
  --gold: #f59e0b;
  --magenta: #db2777;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 22px 56px rgba(15, 23, 42, 0.12);
  --shadow-lift: 0 28px 64px rgba(79, 70, 229, 0.22);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --space-section: clamp(3.5rem, 8vw, 6rem);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-dur: 0.75s;
  --reveal-delay: 0ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 0% 100%, rgba(34, 211, 238, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(219, 39, 119, 0.1) 0%, transparent 40%),
    var(--bg);
  overflow-x: hidden;
}

/* Floating color orbs (fixed, behind content) */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.72;
  animation: orb-drift 22s ease-in-out infinite;
}

.ambient__orb--a {
  width: min(58vw, 480px);
  height: min(58vw, 480px);
  top: -10%;
  left: -14%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.75) 0%, rgba(34, 211, 238, 0.35) 45%, transparent 72%);
  animation-duration: 24s;
}

.ambient__orb--b {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  bottom: 2%;
  right: -12%;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.55) 0%, rgba(245, 158, 11, 0.35) 50%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -6s;
}

.ambient__orb--c {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  top: 38%;
  left: 32%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55) 0%, rgba(99, 102, 241, 0.25) 55%, transparent 75%);
  animation-duration: 20s;
  animation-delay: -12s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, 6%) scale(1.06);
  }
  66% {
    transform: translate(-3%, 4%) scale(0.96);
  }
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(720px, 100% - 2.5rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}

.nav {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.22rem, 3.5vw, 1.52rem);
  letter-spacing: 0.1em;
  text-decoration: none;
  background: linear-gradient(
    110deg,
    var(--ink) 0%,
    var(--accent-bright) 38%,
    var(--accent-hot) 62%,
    var(--magenta) 88%,
    var(--ink) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shimmer 7s ease-in-out infinite;
}

@keyframes brand-shimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.nav__toggle {
  display: none;
  font: inherit;
  font-size: 1.02rem;
  padding: 0.48rem 0.82rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  background: var(--surface);
  cursor: pointer;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.25s var(--ease-out-expo);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a[aria-current="true"] {
  color: var(--ink);
}

.nav__links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 4px;
}

.nav__brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.hero {
  position: relative;
  padding: var(--space-section) 0 calc(var(--space-section) * 0.85);
  isolation: isolate;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 95% 65% at 12% 18%, rgba(99, 102, 241, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 75% 55% at 88% 72%, rgba(34, 211, 238, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 55% 95%, rgba(219, 39, 119, 0.12) 0%, transparent 50%),
    linear-gradient(168deg, transparent 35%, rgba(245, 158, 11, 0.1) 100%);
  animation: mesh-breathe 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mesh-breathe {
  0%,
  100% {
    opacity: 1;
    filter: saturate(1);
  }
  50% {
    opacity: 0.92;
    filter: saturate(1.15);
  }
}

.hero__layout {
  position: relative;
  z-index: 1;
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}

.hero__visual {
  position: relative;
  justify-self: center;
  z-index: 0;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.35) 0%,
    rgba(34, 211, 238, 0.2) 35%,
    transparent 68%
  );
  animation: hero-halo 4s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: -56px;
  border-radius: 50%;
  border: 3px dashed color-mix(in srgb, var(--accent-bright) 55%, transparent);
  opacity: 0.65;
  animation: hero-orbit-ring 18s linear infinite;
  z-index: -2;
  pointer-events: none;
}

@keyframes hero-halo {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes hero-orbit-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero__visual--motion {
  animation: hero-float 7s ease-in-out infinite;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero__photo-ring {
  position: relative;
  padding: 10px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow:
    var(--shadow),
    0 0 0 2px color-mix(in srgb, var(--accent-bright) 55%, transparent),
    0 0 0 6px color-mix(in srgb, var(--accent-hot) 22%, transparent),
    0 0 80px rgba(99, 102, 241, 0.45),
    0 0 120px rgba(34, 211, 238, 0.2);
  transform: scale(1);
  transition: transform 0.45s var(--ease-out-expo);
}

.hero__visual:hover .hero__photo-ring {
  transform: scale(1.02);
}

.hero__photo-ring-glow {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--ring),
    var(--accent-bright),
    var(--accent-hot),
    var(--magenta),
    var(--gold),
    var(--accent-bright),
    var(--ring)
  );
  z-index: 0;
  animation: ring-spin 8s linear infinite;
  opacity: 1;
  filter: blur(0.5px);
}

.hero__photo-ring .hero__photo {
  position: relative;
  z-index: 1;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__photo {
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1;
  width: min(420px, 90vw);
  height: auto;
  background: var(--surface);
  transition: transform 0.5s var(--ease-out-expo);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent),
    0 12px 40px rgba(15, 23, 42, 0.15);
}

.hero__photo-ring:hover .hero__photo {
  transform: scale(1.04);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__rise {
  opacity: 0;
  animation: hero-rise 0.85s var(--ease-out-expo) forwards;
}

.hero__rise--1 {
  animation-delay: 0.08s;
}
.hero__rise--2 {
  animation-delay: 0.18s;
}
.hero__rise--3 {
  animation-delay: 0.28s;
}
.hero__rise--4 {
  animation-delay: 0.38s;
}
.hero__rise--5 {
  animation-delay: 0.48s;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.68rem, 1.8vw, 0.82rem);
  font-weight: 700;
  margin: 0 0 1rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(
    120deg,
    var(--accent) 0%,
    var(--accent-bright) 40%,
    color-mix(in srgb, var(--accent-hot) 55%, var(--accent-bright)) 100%
  );
  background-size: 200% auto;
  box-shadow:
    0 4px 20px rgba(79, 70, 229, 0.45),
    0 0 32px rgba(34, 211, 238, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid color-mix(in srgb, #fff 35%, transparent);
}

/* Stack entrance + loop: a lone `animation` on these nodes overwrites `.hero__rise` and leaves opacity at 0 */
.hero__eyebrow.hero__rise {
  animation:
    hero-rise 0.85s var(--ease-out-expo) forwards,
    eyebrow-glow 5s ease-in-out infinite;
}

.hero__eyebrow.hero__rise--1 {
  animation-delay: 0.08s, 0s;
}

@keyframes eyebrow-glow {
  0%,
  100% {
    background-position: 0% center;
    box-shadow:
      0 4px 20px rgba(79, 70, 229, 0.45),
      0 0 32px rgba(34, 211, 238, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
  }
  50% {
    background-position: 100% center;
    box-shadow:
      0 6px 28px rgba(99, 102, 241, 0.55),
      0 0 44px rgba(34, 211, 238, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(
    105deg,
    var(--ink) 0%,
    var(--accent) 25%,
    var(--accent-bright) 50%,
    var(--accent-hot) 72%,
    color-mix(in srgb, var(--magenta) 80%, var(--accent-bright)) 100%
  );
  background-size: 160% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title.hero__rise {
  animation:
    hero-rise 0.85s var(--ease-out-expo) forwards,
    name-shine 10s ease-in-out infinite;
}

.hero__title.hero__rise--2 {
  animation-delay: 0.18s, 0s;
}

@keyframes name-shine {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero__subtitle {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  font-size: clamp(1.08rem, 2.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.4;
  background: linear-gradient(
    100deg,
    var(--ink) 0%,
    var(--accent) 28%,
    var(--accent-bright) 52%,
    var(--accent-hot) 78%,
    color-mix(in srgb, var(--magenta) 55%, var(--accent-bright)) 100%
  );
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(99, 102, 241, 0.2));
}

.hero__subtitle.hero__rise {
  animation:
    hero-rise 0.85s var(--ease-out-expo) forwards,
    subtitle-shine 11s ease-in-out infinite;
}

.hero__subtitle.hero__rise--3 {
  animation-delay: 0.28s, 0s;
}

@keyframes subtitle-shine {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 52ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out-expo),
    box-shadow 0.3s var(--ease-out-expo),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn--primary {
  background: linear-gradient(
    125deg,
    var(--accent) 0%,
    var(--accent-bright) 45%,
    color-mix(in srgb, var(--accent-hot) 60%, var(--accent-bright)) 100%
  );
  color: #fff;
  box-shadow:
    0 10px 32px rgba(79, 70, 229, 0.45),
    0 0 24px rgba(34, 211, 238, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 44px rgba(79, 70, 229, 0.5),
    0 0 36px rgba(34, 211, 238, 0.35);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(0) scale(0.99);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 14%, transparent);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.section {
  padding: var(--space-section) 0;
}

.section--alt {
  background: var(--bg-alt);
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.section--alt > .container,
.section--alt > .container--narrow {
  position: relative;
  z-index: 1;
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 0.35rem;
  max-width: 4.5rem;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), color-mix(in srgb, var(--gold) 60%, var(--accent)));
  transform-origin: left center;
  transform: scaleX(0);
}

.reveal.is-visible .section__title::after {
  animation: title-bar-grow 0.85s var(--ease-out-expo) 0.12s both;
}

@keyframes title-bar-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.section__intro {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--reveal-dur) var(--ease-out-expo),
    transform var(--reveal-dur) var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.trait {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.05);
  border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent);
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    border-color 0.35s ease;
}

.trait::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(30, 77, 139, 0.2), transparent);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.trait:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.trait:hover::before {
  opacity: 1;
}

.trait__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.trait__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid color-mix(in srgb, var(--accent) 38%, var(--bg-alt-solid));
  padding-left: 1.75rem;
}

.timeline__item {
  position: relative;
  padding-bottom: 2.25rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 7px);
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
}

.timeline__item.reveal.is-visible::before {
  animation: timeline-node 2.6s ease-in-out infinite;
}

@keyframes timeline-node {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 211, 238, 0);
  }
}

.timeline__meta {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.1rem 1.4rem;
  margin-bottom: 0.65rem;
}

.timeline__meta-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.timeline__logo {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.timeline__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 2px 4px rgba(15, 23, 42, 0.14))
    drop-shadow(0 8px 24px rgba(15, 23, 42, 0.1))
    drop-shadow(0 0 20px rgba(99, 102, 241, 0.18));
  transition: filter 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.timeline__logo:hover img {
  filter:
    drop-shadow(0 3px 6px rgba(15, 23, 42, 0.18))
    drop-shadow(0 12px 28px rgba(99, 102, 241, 0.22))
    drop-shadow(0 0 28px rgba(34, 211, 238, 0.15));
  transform: scale(1.04);
}

.timeline__org {
  font-weight: 700;
  font-size: 1.05rem;
}

.timeline__place,
.timeline__dates {
  font-size: 0.9rem;
  color: var(--muted);
}

.timeline__body p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.timeline__body p:last-child {
  margin-bottom: 0;
}

.timeline__body strong {
  color: var(--ink);
}

.timeline--compact .timeline__item {
  padding-bottom: 1.5rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
}

.list-blocks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-blocks li {
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--muted);
}

.list-blocks li:first-child {
  padding-top: 0;
}

.list-blocks strong {
  color: var(--ink);
}

.cv-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pdf-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  background: var(--surface);
  box-shadow: var(--shadow);
  min-height: 70vh;
  position: relative;
}

.pdf-frame.is-visible {
  animation: pdf-frame-glow 5s ease-in-out infinite;
}

@keyframes pdf-frame-glow {
  0%,
  100% {
    box-shadow:
      var(--shadow),
      0 0 0 1px color-mix(in srgb, var(--accent-bright) 22%, transparent);
  }
  50% {
    box-shadow:
      0 28px 70px rgba(99, 102, 241, 0.2),
      0 0 0 1px color-mix(in srgb, var(--accent-hot) 45%, transparent),
      0 0 52px rgba(34, 211, 238, 0.2);
  }
}

.pdf-frame iframe {
  width: 100%;
  height: min(85vh, 900px);
  border: 0;
  display: block;
  position: relative;
  z-index: 1;
}

.section--contact .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}

.contact-list__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-list__sep {
  margin: 0 0.35rem;
  color: var(--muted);
}

.contact-list__social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-footer__inner p {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.65rem;
}

.site-footer__sep {
  color: color-mix(in srgb, var(--muted) 80%, var(--ink));
  user-select: none;
}

.site-footer a {
  transition: color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.site-footer a:hover {
  color: var(--accent);
}

.contact-list a {
  transition: color 0.2s ease;
}

.list-blocks .reveal {
  border-radius: var(--radius-md);
  padding-left: 0.25rem;
  margin-left: -0.25rem;
}

.list-blocks .reveal.is-visible:hover {
  background: color-mix(in srgb, var(--accent-soft) 40%, transparent);
}

@media (max-width: 860px) {
  .hero__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy {
    max-width: 40rem;
    margin-inline: auto;
  }

  .hero__eyebrow {
    margin-inline: auto;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 1.1rem 1.3rem 1.3rem;
    background: var(--surface);
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
    gap: 0.55rem;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
  }

  .timeline__logo {
    width: 5.25rem;
    height: 5.25rem;
  }
}

@media (max-width: 480px) {
  .timeline__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .ambient__orb,
  .hero__mesh,
  .hero__visual--motion,
  .hero__photo-ring-glow,
  .hero__visual::before,
  .hero__visual::after,
  .nav__brand,
  .hero__title,
  .hero__subtitle,
  .hero__eyebrow,
  .pdf-frame.is-visible,
  .timeline__item.reveal.is-visible::before {
    animation: none !important;
  }

  .hero__title {
    color: var(--ink) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
  }

  .hero__subtitle {
    color: var(--ink) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    filter: none !important;
  }

  .hero__rise {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section__title::after {
    transform: scaleX(1) !important;
    animation: none !important;
  }

  .btn,
  .trait,
  .nav__links a::after {
    transition: none !important;
  }

  .trait:hover,
  .btn--primary:hover,
  .btn--ghost:hover {
    transform: none !important;
  }

  .hero__visual:hover .hero__photo-ring,
  .hero__photo-ring:hover .hero__photo {
    transform: none !important;
  }

  .timeline__logo:hover img {
    transform: none !important;
    transition: none !important;
  }
}
