:root {
  --bg: #0b0a0f;
  --bg-2: #121017;
  --surface: rgba(255, 255, 255, .065);
  --surface-strong: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .13);
  --line-soft: rgba(255, 255, 255, .08);
  --text: #f7f2ee;
  --muted: #b8ada9;
  --soft: #8f8582;
  --peach: #efa99d;
  --violet: #8b83ff;
  --teal: #33d6c1;
  --amber: #f2aa4c;
  --pink: #ef6d9c;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .34);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --glow: rgba(139, 131, 255, .08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #0b0a0f 0%, #121017 48%, #0b0a0f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  --pointer-x: 50vw;
  --pointer-y: 30vh;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .site-header,
body.is-loading main,
body.is-loading .site-footer {
  visibility: hidden;
}

body.is-ready.is-loading .site-header,
body.is-ready.is-loading main,
body.is-ready.is-loading .site-footer {
  visibility: visible;
}

body.is-leaving {
  opacity: 0;
  transition: opacity .38s ease;
}

body.is-leaving .site-header {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  animation: bg-grid-drift 48s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(450px circle at var(--pointer-x) var(--pointer-y), var(--glow), transparent 70%);
  opacity: .85;
  animation: bg-glow-breathe 10s ease-in-out infinite;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--peach), var(--amber), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 900;
  top: 14px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px 8px 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 9, 14, .76);
  box-shadow: 0 12px 44px rgba(0, 0, 0, .23);
  backdrop-filter: blur(20px) saturate(150%);
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  transition: transform .85s var(--ease), opacity .6s ease, border-color .35s, box-shadow .35s;
}

body.is-ready .site-header {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #100b0d;
  background: linear-gradient(135deg, var(--peach), var(--amber));
  box-shadow: 0 12px 24px rgba(239, 169, 157, .22);
}

.brand-text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .9rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: color .25s, background .25s, transform .25s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .09);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 4px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7.6rem max(1.2rem, calc((100vw - 1120px) / 2)) 4rem;
  border-bottom: 1px solid var(--line-soft);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.12);
  opacity: 0;
  transition: transform 2.2s var(--ease), opacity 1.2s ease;
}

body.is-ready .hero-image {
  transform: scale(1);
  opacity: 1;
}

.hero-glow {
  position: absolute;
  inset: auto -10% -20% 30%;
  height: 60%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(139, 131, 255, .22), transparent 68%);
  opacity: 0;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}

body.is-ready .hero-glow {
  opacity: 1;
  transition: opacity 1.4s ease .4s;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 10, 15, .94) 0%, rgba(11, 10, 15, .68) 42%, rgba(11, 10, 15, .22) 100%),
    linear-gradient(180deg, rgba(11, 10, 15, .48) 0%, rgba(11, 10, 15, .1) 48%, rgba(11, 10, 15, .84) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 .8rem;
  color: var(--peach);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: .92;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  gap: .05em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-word {
  display: inline-block;
  color: var(--text);
}

.hero-lead,
.page-hero p,
.intro-grid p,
.split-section p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.8rem;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .74rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .22) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .55s ease;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #120c0d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--peach), var(--amber));
  box-shadow: 0 14px 32px rgba(239, 169, 157, .22);
  animation: btn-glow-pulse 4s ease-in-out infinite;
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
}

.btn-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
}

.btn-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.btn-icon:has(img) {
  background: rgba(255, 255, 255, .12);
  border-radius: 7px;
}

.btn-primary .btn-icon:has(img) {
  background: rgba(18, 12, 13, .1);
}

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

.hero-metrics div {
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: .22rem;
  font-size: 1.05rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: .86rem;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.4rem) 0;
}

.intro-section {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.intro-grid,
.split-section,
.interactive-section,
.contact-layout,
.cv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.split-section h2,
.interactive-section h2,
.cv-panel h2 {
  margin-bottom: .7rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.statement-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: .55rem;
}

.statement-list span {
  padding: .54rem .72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font-size: .9rem;
  font-weight: 700;
}

.intro-aside {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.access-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.access-bubble {
  position: relative;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .28rem;
  padding: 1rem;
  border-radius: 50%;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.access-bubble__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .16), transparent 42%),
    rgba(255, 255, 255, .04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 18px 40px rgba(0, 0, 0, .28);
  z-index: -1;
}

.access-bubble__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.access-bubble__icon img {
  display: block;
}

.access-bubble__label {
  margin-top: .15rem;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.1;
}

.access-bubble__hint {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.access-bubble--oral .access-bubble__ring {
  border-color: rgba(139, 131, 255, .45);
  background:
    radial-gradient(circle at 28% 22%, rgba(139, 131, 255, .35), transparent 48%),
    radial-gradient(circle at 72% 78%, rgba(239, 169, 157, .22), transparent 44%),
    rgba(139, 131, 255, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 0 0 1px rgba(139, 131, 255, .12),
    0 20px 48px rgba(139, 131, 255, .22);
}

.access-bubble--oral .access-bubble__icon {
  background: linear-gradient(145deg, rgba(139, 131, 255, .35), rgba(239, 169, 157, .2));
  box-shadow: 0 0 28px rgba(139, 131, 255, .35);
}

.access-bubble--oral .access-bubble__label {
  color: #ece8ff;
}

.access-bubble--oral .access-bubble__hint {
  color: #c4b8ff;
}

.access-bubble--cekkas .access-bubble__ring {
  border-color: rgba(51, 214, 193, .4);
  background:
    radial-gradient(circle at 28% 22%, rgba(51, 214, 193, .28), transparent 48%),
    radial-gradient(circle at 72% 78%, rgba(239, 169, 157, .16), transparent 44%),
    rgba(51, 214, 193, .07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 0 0 1px rgba(51, 214, 193, .1),
    0 20px 48px rgba(51, 214, 193, .18);
}

.access-bubble--cekkas .access-bubble__icon {
  background: linear-gradient(145deg, rgba(51, 214, 193, .3), rgba(139, 131, 255, .18));
  box-shadow: 0 0 28px rgba(51, 214, 193, .28);
}

.access-bubble--cekkas .access-bubble__label {
  color: #d9fff8;
}

.access-bubble--cekkas .access-bubble__hint {
  color: #8de8d8;
}

.access-bubble:hover {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-4px) scale(1.04);
}

.access-bubble--oral:hover .access-bubble__ring {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 0 0 1px rgba(139, 131, 255, .22),
    0 26px 56px rgba(139, 131, 255, .32);
}

.access-bubble--cekkas:hover .access-bubble__ring {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 0 0 1px rgba(51, 214, 193, .2),
    0 26px 56px rgba(51, 214, 193, .26);
}

.statement-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .54rem .72rem;
  border: 1px solid rgba(51, 214, 193, .35);
  border-radius: 8px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(51, 214, 193, .12), rgba(255, 255, 255, .06));
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.statement-link:hover {
  border-color: rgba(51, 214, 193, .55);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(51, 214, 193, .12);
}

.statement-link--oral {
  border-color: rgba(139, 131, 255, .35);
  background: linear-gradient(145deg, rgba(139, 131, 255, .14), rgba(239, 169, 157, .08));
}

.statement-link--oral:hover {
  border-color: rgba(139, 131, 255, .55);
  box-shadow: 0 10px 24px rgba(139, 131, 255, .16);
}

.statement-link img {
  display: block;
  border-radius: 4px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.text-link {
  color: var(--peach);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.feature-grid,
.project-grid,
.education-grid,
.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.feature-card,
.project-card,
.education-item,
.timeline-item,
.contact-card,
.download-card,
.cv-panel,
.markov-demo,
.contact-form,
.cv-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.feature-card:hover,
.project-card:hover,
.education-item:hover,
.timeline-item:hover,
.contact-card:hover,
.download-card:hover {
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 22px 60px rgba(139, 131, 255, .15), 0 8px 30px rgba(0, 0, 0, .25);
}

.feature-card,
.project-card,
.education-item,
.timeline-item,
.contact-card,
.download-card,
.cv-panel,
.markov-demo,
.contact-form,
.subject-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.feature-card,
.project-card,
.education-item,
.timeline-item,
.contact-card,
.download-card,
.cv-panel,
.markov-demo,
.contact-form {
  padding: 1.15rem;
}

.feature-card,
.project-card,
.timeline-item,
.education-item {
  position: relative;
  overflow: hidden;
}

.feature-card:hover,
.project-card:hover,
.education-item:hover,
.timeline-item:hover,
.contact-card:hover,
.download-card:hover,
.subject-card:hover {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-3px);
}

.feature-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--peach));
}

.feature-card.accent-teal::before { background: linear-gradient(90deg, var(--teal), var(--violet)); }
.feature-card.accent-amber::before { background: linear-gradient(90deg, var(--amber), var(--teal)); }
.feature-card.accent-pink::before { background: linear-gradient(90deg, var(--pink), var(--peach)); }

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #0d0b10;
  background: var(--peach);
  font-weight: 900;
}

.feature-icon img {
  display: block;
  border-radius: 6px;
}

a.feature-card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.oral-entry-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 92% 12%, rgba(139, 131, 255, .14), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(239, 169, 157, .12), transparent 32%),
    var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.oral-entry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--peach), var(--amber), var(--teal));
}

.oral-entry-card:hover {
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 22px 60px rgba(139, 131, 255, .15), 0 8px 30px rgba(0, 0, 0, .25);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-3px);
}

.oral-entry-card .oral-showcase__topics {
  margin: 0;
}

.oral-entry-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  align-self: flex-start;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  color: #120c0d;
  background: linear-gradient(135deg, var(--peach), var(--amber));
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(239, 169, 157, .22);
}

.feature-card h3,
.project-card h3,
.education-item h3,
.timeline-item h3,
.contact-card h2 {
  margin-bottom: .45rem;
  font-size: 1.05rem;
}

.feature-card p,
.project-card p,
.education-item p,
.timeline-item p,
.contact-card p,
.download-card small {
  margin-bottom: 0;
  color: var(--muted);
}

.subject-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}

.subject-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(139, 131, 255, .2), rgba(255, 255, 255, .04));
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.subject-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%);
  transform: translateX(-120%) skewX(-12deg);
  transition: transform .7s var(--ease);
}

.subject-card:hover::after {
  transform: translateX(120%) skewX(-12deg);
}

.subject-card.maths {
  background:
    linear-gradient(135deg, rgba(242, 170, 76, .22), rgba(255, 255, 255, .04));
}

.subject-card:hover {
  border-color: rgba(255, 255, 255, .32);
  box-shadow: 0 20px 50px rgba(139, 131, 255, .14);
}

.subject-card span,
.project-label {
  color: var(--peach);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.subject-card strong {
  margin: .35rem 0 .2rem;
  font-size: 1.25rem;
}

.subject-card small {
  color: var(--muted);
}

.page-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 9.5rem 0 3rem;
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.page-hero p {
  max-width: 730px;
}

.cv-layout {
  align-items: center;
}

.identity-list {
  display: grid;
  gap: .65rem;
  margin: 1.2rem 0 0;
}

.identity-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: .8rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line-soft);
}

.identity-list dt {
  color: var(--soft);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-list dd {
  margin: 0;
  color: var(--text);
}

.cv-preview {
  overflow: hidden;
}

.cv-preview img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top center;
}

.cv-preview figcaption {
  padding: .75rem 1rem;
  color: var(--muted);
  font-size: .86rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: .9rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: .5rem;
  bottom: .5rem;
  left: 8px;
  width: 2px;
  background: linear-gradient(var(--peach), transparent);
}

.timeline-item {
  margin-left: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: -2.05rem;
  width: 16px;
  height: 16px;
  border: 3px solid var(--peach);
  border-radius: 50%;
  background: var(--bg);
}

.timeline-item time,
.education-item span {
  display: block;
  margin-bottom: .35rem;
  color: var(--peach);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
}

.segmented button,
.phrase-controls button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.segmented button {
  padding: 0 .85rem;
}

.segmented button[aria-pressed="true"],
.phrase-controls button[aria-pressed="true"] {
  color: #120c0d;
  background: var(--peach);
}

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

.project-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.project-card.maths-card::before {
  background: linear-gradient(90deg, var(--amber), var(--teal));
}

.project-card.oral-showcase {
  grid-column: 1 / -1;
  min-height: auto;
  gap: 0;
  background:
    radial-gradient(circle at 92% 12%, rgba(139, 131, 255, .14), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(239, 169, 157, .12), transparent 32%),
    var(--surface);
}

.project-card.oral-showcase::before {
  height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--peach), var(--amber), var(--teal));
}

.oral-showcase__topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.1rem 0 1.35rem;
}

.oral-topic {
  display: grid;
  gap: .35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
}

.oral-topic--nsi {
  border-color: rgba(139, 131, 255, .35);
  background: linear-gradient(145deg, rgba(139, 131, 255, .1), rgba(255, 255, 255, .02));
}

.oral-topic--maths {
  border-color: rgba(242, 170, 76, .35);
  background: linear-gradient(145deg, rgba(242, 170, 76, .1), rgba(255, 255, 255, .02));
}

.oral-topic__tag {
  width: fit-content;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #120c0d;
  background: var(--peach);
}

.oral-topic--maths .oral-topic__tag {
  background: var(--amber);
}

.oral-topic strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.oral-topic small {
  color: var(--text-dim);
  line-height: 1.45;
}

.oral-showcase__cta {
  align-self: flex-start;
  margin-top: auto;
}

.project-links {
  display: flex;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.project-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .78rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  transition: background .25s, transform .25s;
}

.project-links a:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.interactive-section {
  align-items: center;
}

.phrase-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.2rem;
}

.phrase-controls button {
  padding: 0 .9rem;
  border: 1px solid var(--line);
}

.demo-title {
  margin-bottom: 1rem;
  color: var(--muted);
}

.demo-title strong {
  color: var(--text);
}

.suggestion-bars {
  display: grid;
  gap: .7rem;
}

.suggestion-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 52px;
  gap: .7rem;
  align-items: center;
}

.suggestion-word {
  color: var(--text);
  font-weight: 800;
}

.suggestion-track {
  height: 30px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.suggestion-fill {
  height: 100%;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--peach), var(--amber));
  transform-origin: left;
  animation: grow-bar .6s var(--ease) both;
}

.suggestion-pct {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

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

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

.skill-grid div {
  min-height: 136px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .055);
}

.skill-grid strong,
.skill-grid span {
  display: block;
}

.skill-grid strong {
  margin-bottom: .4rem;
  font-size: 1.05rem;
}

.skill-grid span {
  color: var(--muted);
}

.contact-layout {
  align-items: stretch;
}

.contact-list {
  display: grid;
  gap: .8rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  gap: .9rem;
  align-items: center;
}

.contact-card > span,
.download-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #120c0d;
  background: var(--peach);
  font-weight: 900;
}

.contact-card h2 {
  margin: 0;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.icon-button.is-copied {
  color: #120c0d;
  background: var(--teal);
}

.download-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s;
}

.download-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .3);
}

.download-card strong,
.download-card small {
  display: block;
}

.social-card {
  grid-template-columns: auto 1fr auto;
}

.social-card > span {
  font-size: 1.15rem;
  font-weight: 800;
}

.social-card a.social-handle {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.social-card a.social-handle:hover {
  color: var(--peach);
}

.contact-social-heading {
  margin: 1.5rem 0 .75rem;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: .9rem;
}

.contact-form label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0, 0, 0, .18);
  padding: .82rem .9rem;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--peach);
  box-shadow: 0 0 0 3px rgba(239, 169, 157, .13);
}

.form-note {
  margin: 0;
  color: var(--soft);
  font-size: .86rem;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .9rem;
}

body:not(.is-ready) .site-footer {
  opacity: 0;
  transform: translateY(12px);
}

body.is-ready .site-footer {
  animation: hero-rise .7s var(--ease) .6s forwards;
}

.site-footer a {
  color: var(--peach);
  text-decoration: none;
  font-weight: 800;
}

.site-footer a:hover {
  text-decoration: underline;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(239, 169, 157, .72);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 9, 14, .94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    justify-content: flex-start;
  }

  .intro-grid,
  .split-section,
  .interactive-section,
  .contact-layout,
  .cv-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 6rem 1rem 1rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(11, 10, 15, .94), rgba(11, 10, 15, .68)),
      linear-gradient(180deg, rgba(11, 10, 15, .32), rgba(11, 10, 15, .86));
  }

  h1 {
    font-size: clamp(2.85rem, 16vw, 4.6rem);
  }

  .hero-lead {
    font-size: .98rem;
    line-height: 1.52;
  }

  .hero-actions,
  .page-actions {
    margin-top: 1.15rem;
    gap: .5rem;
  }

  .btn {
    min-height: 44px;
    padding: .66rem .85rem;
  }

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

  .hero-metrics div:last-child {
    grid-column: 1 / -1;
  }

  .hero-metrics div {
    min-height: 70px;
    padding: .72rem .8rem;
  }

  .hero-metrics strong {
    font-size: 1rem;
  }

  .hero-metrics span {
    font-size: .8rem;
  }

  .intro-section {
    padding-top: 1.4rem;
  }

  .section,
  .page-hero,
  .site-footer {
    width: calc(100% - 1rem);
  }

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

  .feature-grid,
  .project-grid,
  .education-grid,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .oral-showcase__topics {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .page-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .cv-preview img {
    max-height: 460px;
  }

  .identity-list div,
  .suggestion-row {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .suggestion-pct {
    text-align: left;
  }

  .contact-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .contact-card .icon-button {
    grid-column: 2;
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  body.is-loading {
    overflow: auto;
  }

  .site-loader,
  .presentation-intro {
    display: none !important;
  }

  body.is-ready .site-header,
  body .site-header {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  .anim-item,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p,
  .page-hero .page-actions,
  .site-footer,
  .stagger-children > * {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }

  .hero-image {
    opacity: 1;
    transform: none;
  }
}

.skip-link {
  position: absolute;
  z-index: 1100;
  top: -100%;
  left: 1rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  color: #120c0d;
  background: var(--peach);
  font-weight: 800;
  text-decoration: none;
  transition: top .2s;
}

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

.back-to-top {
  position: fixed;
  z-index: 850;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(10, 9, 14, .88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
}

.timeline-item--clickable {
  cursor: pointer;
}

.timeline-item--clickable:focus-visible {
  outline: 3px solid rgba(239, 169, 157, .72);
  outline-offset: 3px;
}

.timeline-details {
  display: none;
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .9rem;
}

.timeline-item.is-expanded .timeline-details {
  display: block;
}

.click-info {
  display: block;
  margin-top: .5rem;
  color: var(--peach);
  font-size: .75rem;
  font-weight: 700;
}

.timeline-item.is-filtered-in {
  animation: timeline-fade-in .35s ease both;
}

@keyframes timeline-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section-heading--timeline {
  margin-bottom: 2rem;
}

.timeline-filter {
  margin-top: .5rem;
}

.markov-lab-intro {
  grid-column: 1 / -1;
}

.markov-lab-intro p {
  max-width: 800px;
  margin-bottom: 2rem;
}

.markov-config {
  width: 100%;
}

.markov-corpus-form {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.markov-corpus-form label {
  margin-bottom: .5rem;
}

.markov-corpus-form textarea {
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--line);
  width: 100%;
  color: var(--text);
  padding: .82rem .9rem;
  border-radius: 8px;
  resize: vertical;
}

.markov-train-btn {
  width: 100%;
  margin-top: .5rem;
}

.markov-input-section {
  margin-top: 1.8rem;
}

.markov-input-section label {
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.markov-input-section input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0, 0, 0, .18);
  padding: .82rem .9rem;
  outline: none;
}

.markov-input-section input:focus {
  border-color: var(--peach);
  box-shadow: 0 0 0 3px rgba(239, 169, 157, .13);
}

.markov-suggestions-label {
  display: block;
  margin-top: 1.2rem;
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.markov-suggestions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.markov-suggestion-btn {
  min-height: 34px;
  padding: .3rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.markov-suggestion-btn:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
}

.markov-suggestion-pct {
  margin-left: .3rem;
  color: var(--peach);
  font-size: .75rem;
}

.markov-empty-suggestion {
  color: var(--soft);
  font-size: .85rem;
  font-style: italic;
}

.markov-demo-panel {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.markov-graph-container {
  flex: 1;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .3);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.markov-graph-container svg {
  display: block;
}

.console-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 9, 14, .9);
  backdrop-filter: blur(12px);
}

.console-modal[hidden] {
  display: none;
}

.console-window {
  width: min(500px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #07070a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
  overflow: hidden;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .05);
}

.console-title {
  font-size: .78rem;
  font-weight: 700;
  color: var(--peach);
  letter-spacing: 1px;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
}

.console-dots span:nth-child(1) { background: #ef4444; }
.console-dots span:nth-child(2) { background: #fbbf24; }
.console-dots span:nth-child(3) { background: #22c55e; }

.console-terminal {
  height: 220px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: #a7f3d0;
  font-size: .8rem;
  line-height: 1.5;
  text-align: left;
}

.console-terminal p {
  margin: 0;
}

.console-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  padding: .8rem 1rem;
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, .2);
}

.console-btn-force {
  min-height: auto;
  padding: .4rem .8rem;
  border: none;
  border-radius: 6px;
  color: #120c0d;
  background: var(--peach);
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}

.console-btn-close {
  min-height: auto;
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}

/* ── Intro présentation (accueil, 8,5 s) ── */

.presentation-intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: hidden;
  background: #030206;
  opacity: 1;
  visibility: visible;
  transition: opacity .52s ease, visibility .52s ease, background .6s ease;
}

.presentation-shell {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: clamp(5rem, 12vh, 7rem) 1.25rem clamp(6rem, 14vh, 8rem);
  transition: opacity .45s ease, transform .45s var(--ease);
}

.presentation-intro.is-revealing {
  background: transparent;
  pointer-events: none;
}

.presentation-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.presentation-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  transition: opacity .5s ease;
}

.presentation-intro.is-revealing .presentation-backdrop {
  opacity: 0;
}

.presentation-aurora {
  position: absolute;
  inset: -30%;
  opacity: 0;
  background:
    conic-gradient(from 0deg at 50% 50%,
      rgba(139, 131, 255, .22),
      rgba(239, 169, 157, .18),
      rgba(51, 214, 193, .16),
      rgba(242, 170, 76, .18),
      rgba(139, 131, 255, .22));
  filter: blur(48px);
}

.presentation-intro.is-playing .presentation-aurora {
  animation:
    presentation-aurora-in 1.2s var(--ease) forwards,
    presentation-aurora-pulse 9s ease-in-out 1.2s infinite;
}

.presentation-rays {
  position: absolute;
  inset: -20%;
  opacity: 0;
  background: repeating-conic-gradient(from 0deg at 50% 50%,
    rgba(255, 255, 255, .04) 0deg 8deg,
    transparent 8deg 18deg);
  mask-image: radial-gradient(circle at center, #000 8%, transparent 62%);
}

.presentation-intro.is-playing .presentation-rays {
  animation:
    presentation-fade-in .9s var(--ease) .1s forwards,
    presentation-rays-spin 22s linear infinite;
}

.presentation-grid {
  position: absolute;
  inset: -10%;
  opacity: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 72% 58% at 50% 45%, #000 12%, transparent 74%);
}

.presentation-intro.is-playing .presentation-grid {
  animation:
    presentation-fade-in .9s var(--ease) .15s forwards,
    presentation-grid-slide 20s linear infinite;
}

.presentation-orbs {
  position: absolute;
  inset: 0;
}

.presentation-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(78px);
  opacity: 0;
}

.presentation-orb--violet { width: 360px; height: 360px; top: 4%; left: 2%; background: rgba(139, 131, 255, .55); }
.presentation-orb--peach { width: 300px; height: 300px; right: 4%; bottom: 10%; background: rgba(239, 169, 157, .45); }
.presentation-orb--teal { width: 220px; height: 220px; top: 52%; left: 38%; background: rgba(51, 214, 193, .35); }
.presentation-orb--amber { width: 260px; height: 260px; top: 18%; right: 22%; background: rgba(242, 170, 76, .32); }
.presentation-orb--pink { width: 180px; height: 180px; bottom: 22%; left: 14%; background: rgba(239, 109, 156, .38); }

.presentation-intro.is-playing .presentation-orb--violet { animation: presentation-orb-in 1.4s var(--ease) .05s forwards, presentation-orb-drift 7s ease-in-out 1.4s infinite; }
.presentation-intro.is-playing .presentation-orb--peach { animation: presentation-orb-in 1.4s var(--ease) .2s forwards, presentation-orb-drift 8s ease-in-out 1.6s infinite reverse; }
.presentation-intro.is-playing .presentation-orb--teal { animation: presentation-orb-in 1.4s var(--ease) .35s forwards, presentation-orb-drift 9s ease-in-out 1.8s infinite; }
.presentation-intro.is-playing .presentation-orb--amber { animation: presentation-orb-in 1.4s var(--ease) .5s forwards, presentation-orb-drift 7.5s ease-in-out 2s infinite reverse; }
.presentation-intro.is-playing .presentation-orb--pink { animation: presentation-orb-in 1.4s var(--ease) .65s forwards, presentation-orb-drift 8.5s ease-in-out 2.2s infinite; }

.presentation-particles {
  position: absolute;
  inset: 0;
}

.presentation-particle {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: var(--sz, 3px);
  height: var(--sz, 3px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgba(139, 131, 255, .55);
  opacity: 0;
  transform: scale(0);
}

.presentation-intro.is-playing .presentation-particle {
  animation: presentation-particle-pop var(--dur, 3s) var(--ease) var(--del, 0s) infinite;
}

.presentation-scanline {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .04) 48%, transparent 100%);
  background-size: 100% 120px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.presentation-intro.is-playing .presentation-scanline {
  animation:
    presentation-fade-in .6s ease .3s forwards,
    presentation-scan 3.5s linear .3s infinite;
}

.presentation-frame {
  position: absolute;
  inset: clamp(1rem, 4vw, 2.2rem);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}

.presentation-frame span {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, .22);
  border-style: solid;
}

.presentation-frame span:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.presentation-frame span:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.presentation-frame span:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.presentation-frame span:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.presentation-intro.is-playing .presentation-frame {
  animation: presentation-frame-in .8s var(--ease) .9s forwards;
}

.presentation-badge {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.35rem;
  transform: scale(.4);
  opacity: 0;
  filter: blur(8px);
  flex-shrink: 0;
}

.presentation-badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--peach);
  border-right-color: var(--violet);
  animation: loader-spin 1.4s linear infinite;
}

.presentation-badge-ring--reverse {
  inset: 7px;
  border-top-color: var(--teal);
  border-right-color: var(--amber);
  animation-direction: reverse;
  animation-duration: 1.9s;
}

.presentation-badge-mark {
  position: absolute;
  inset: 14px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #120c0d;
  background: linear-gradient(135deg, var(--peach), var(--amber));
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 14px 36px rgba(239, 169, 157, .4);
}

.presentation-intro.is-playing .presentation-badge {
  animation: presentation-badge-in .9s var(--ease) .15s forwards;
}

.presentation-stage {
  position: relative;
  width: min(780px, 100%);
  text-align: center;
}

.presentation-eyebrow {
  margin: 0 0 1.1rem;
  color: var(--peach);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
}

.presentation-intro.is-playing .presentation-eyebrow {
  animation: presentation-rise .75s var(--ease) .55s forwards;
}

.presentation-name {
  margin: 0;
  font-size: clamp(3rem, 10vw, 5.2rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.04em;
}

.presentation-name-line {
  display: block;
  overflow: hidden;
}

.presentation-name-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  filter: blur(8px);
}

.presentation-name-text--shimmer {
  background: linear-gradient(110deg, #f7f2ee 0%, var(--peach) 35%, var(--violet) 65%, #f7f2ee 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.presentation-intro.is-playing .presentation-name-line:nth-child(1) .presentation-name-text {
  animation: presentation-name-rise 1s var(--ease) 1s forwards;
}

.presentation-intro.is-playing .presentation-name-line:nth-child(2) .presentation-name-text {
  animation:
    presentation-name-rise 1s var(--ease) 1.55s forwards,
    presentation-shimmer 2.8s linear 2.6s infinite;
}

.presentation-tagline {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(.95rem, 2.4vw, 1.14rem);
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
}

.presentation-intro.is-playing .presentation-tagline {
  animation: presentation-rise .8s var(--ease) 2.35s forwards;
}

.presentation-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.35rem;
}

.presentation-stat {
  min-width: 118px;
  padding: .65rem .85rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  opacity: 0;
  transform: translateY(16px) scale(.92);
  filter: blur(4px);
}

.presentation-stat strong {
  display: block;
  font-size: .95rem;
  color: var(--text);
}

.presentation-stat span {
  display: block;
  margin-top: .15rem;
  color: var(--soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.presentation-intro.is-playing .presentation-stat:nth-child(1) { animation: presentation-pillar-in .7s var(--ease) 2.75s forwards; }
.presentation-intro.is-playing .presentation-stat:nth-child(2) { animation: presentation-pillar-in .7s var(--ease) 2.92s forwards; }
.presentation-intro.is-playing .presentation-stat:nth-child(3) { animation: presentation-pillar-in .7s var(--ease) 3.09s forwards; }

.presentation-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.15rem;
}

.presentation-pillars span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 .8rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px) scale(.94);
  filter: blur(4px);
}

.presentation-pillars span:nth-child(4) {
  border-color: rgba(51, 214, 193, .35);
  color: var(--teal);
  box-shadow: 0 0 20px rgba(51, 214, 193, .12);
}

.presentation-intro.is-playing .presentation-pillars span:nth-child(1) { animation: presentation-pillar-in .65s var(--ease) 3.35s forwards; }
.presentation-intro.is-playing .presentation-pillars span:nth-child(2) { animation: presentation-pillar-in .65s var(--ease) 3.5s forwards; }
.presentation-intro.is-playing .presentation-pillars span:nth-child(3) { animation: presentation-pillar-in .65s var(--ease) 3.65s forwards; }
.presentation-intro.is-playing .presentation-pillars span:nth-child(4) { animation: presentation-pillar-in .65s var(--ease) 3.8s forwards; }
.presentation-intro.is-playing .presentation-pillars span:nth-child(5) { animation: presentation-pillar-in .65s var(--ease) 3.95s forwards; }
.presentation-intro.is-playing .presentation-pillars span:nth-child(6) { animation: presentation-pillar-in .65s var(--ease) 4.1s forwards; }

.presentation-sigil {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: 1.25rem;
  opacity: 0;
}

.presentation-sigil-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 12px var(--peach);
}

.presentation-sigil-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  transform: scaleX(0);
}

.presentation-intro.is-playing .presentation-sigil {
  animation: presentation-fade-in .5s ease 4.3s forwards;
}

.presentation-intro.is-playing .presentation-sigil-line {
  animation: presentation-sigil-grow .8s var(--ease) 4.45s forwards;
}

.presentation-footer {
  position: relative;
  width: min(400px, 100%);
  margin-top: 1.75rem;
  text-align: center;
  flex-shrink: 0;
}

.presentation-progress {
  display: grid;
  gap: .45rem;
}

.presentation-progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, .25);
}

.presentation-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--peach), var(--amber), var(--teal));
  background-size: 200% 100%;
  box-shadow: 0 0 16px rgba(139, 131, 255, .45);
}

.presentation-progress-label {
  color: var(--text);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  opacity: 0;
}

.presentation-intro.is-playing .presentation-progress-label,
.presentation-intro.is-playing .presentation-status {
  animation: presentation-fade-in .55s ease 4.6s forwards;
}

.presentation-status {
  margin: .55rem 0 0;
  color: var(--soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
}

.presentation-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  z-index: 20;
  background: linear-gradient(135deg, #0b0a0f, #1a1228 55%, #0b0a0f);
  transform: translateX(0);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s var(--ease), opacity .25s ease, visibility .25s ease;
  will-change: transform;
}

.presentation-curtain--left { left: 0; border-right: 1px solid rgba(255, 255, 255, .06); }
.presentation-curtain--right { right: 0; border-left: 1px solid rgba(255, 255, 255, .06); }

.presentation-intro.is-revealing .presentation-curtain {
  opacity: 1;
  visibility: visible;
}

.presentation-intro.is-revealing .presentation-curtain--left { transform: translateX(-102%); }
.presentation-intro.is-revealing .presentation-curtain--right { transform: translateX(102%); }

.presentation-burst {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 46%, rgba(139, 131, 255, .35), transparent 42%);
}

.presentation-intro.is-revealing .presentation-burst {
  animation: presentation-burst-flash .7s ease forwards;
}

.presentation-flash {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(239, 169, 157, .35), transparent 55%),
    radial-gradient(circle at center, rgba(139, 131, 255, .2), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
}

.presentation-intro.is-revealing .presentation-flash {
  opacity: 1;
}

.presentation-intro.is-revealing .presentation-shell {
  opacity: 0;
  transform: translateY(-12px) scale(.98);
}

.presentation-intro.is-revealing .presentation-frame {
  opacity: 0;
}

@media (max-height: 740px) {
  .presentation-shell {
    padding: 3.5rem 1rem 4.5rem;
    justify-content: flex-start;
  }

  .presentation-badge {
    width: 62px;
    height: 62px;
    margin-bottom: .75rem;
  }

  .presentation-name {
    font-size: clamp(2.35rem, 8.5vw, 3.4rem);
  }

  .presentation-stats {
    margin-top: .85rem;
    gap: .45rem;
  }

  .presentation-stat {
    min-width: 100px;
    padding: .45rem .6rem;
  }

  .presentation-pillars {
    margin-top: .75rem;
    gap: .35rem;
  }

  .presentation-pillars span {
    min-height: 28px;
    font-size: .65rem;
    padding: 0 .6rem;
  }

  .presentation-sigil {
    margin-top: .75rem;
  }

  .presentation-footer {
    margin-top: 1rem;
  }
}

/* ── Loader pages internes ── */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #07060b;
  transition: opacity .55s ease, visibility .55s ease;
}

.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.loader-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  animation: loader-orb-drift 5s ease-in-out infinite alternate;
}

.loader-orb--1 {
  width: 280px;
  height: 280px;
  top: 12%;
  left: 8%;
  background: var(--violet);
}

.loader-orb--2 {
  width: 220px;
  height: 220px;
  right: 10%;
  bottom: 18%;
  background: var(--peach);
  animation-delay: .8s;
}

.loader-orb--3 {
  width: 160px;
  height: 160px;
  top: 42%;
  left: 46%;
  background: var(--teal);
  animation-delay: 1.4s;
}

.loader-core {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--peach);
  border-right-color: var(--violet);
  animation: loader-spin 1.1s linear infinite;
}

.loader-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--teal);
  border-left-color: var(--amber);
  animation: loader-spin 1.6s linear infinite reverse;
}

.loader-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #120c0d;
  background: linear-gradient(135deg, var(--peach), var(--amber));
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 16px 40px rgba(239, 169, 157, .35);
  animation: loader-mark-pulse 1.8s ease-in-out infinite;
}

.loader-ui {
  position: absolute;
  bottom: clamp(2rem, 8vh, 4rem);
  left: 50%;
  width: min(320px, calc(100% - 3rem));
  transform: translateX(-50%);
  text-align: center;
}

.loader-bar {
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
}

.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--peach), var(--amber), var(--teal));
  background-size: 200% 100%;
  animation: loader-bar-shine 1.2s linear infinite;
  transition: width .25s ease;
}

.loader-percent {
  display: block;
  margin-top: .65rem;
  color: var(--text);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.loader-label {
  display: block;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cv-panel-download {
  margin-top: 1.25rem;
}

.cv-preview-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s ease;
}

.cv-preview-link:hover {
  transform: translateY(-3px);
}

.cv-preview-link:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 4px;
  border-radius: var(--radius);
}

/* ── Ambiance & micro-animations ── */

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  animation: ambient-float 14s ease-in-out infinite;
}

.ambient-orb--violet {
  width: 420px;
  height: 420px;
  top: -8%;
  right: -6%;
  background: rgba(139, 131, 255, .45);
}

.ambient-orb--peach {
  width: 360px;
  height: 360px;
  bottom: 8%;
  left: -8%;
  background: rgba(239, 169, 157, .35);
  animation-delay: -4s;
}

.ambient-orb--teal {
  width: 280px;
  height: 280px;
  top: 38%;
  left: 42%;
  background: rgba(51, 214, 193, .28);
  animation-delay: -8s;
  animation-duration: 18s;
}

.ambient-orb--amber {
  width: 320px;
  height: 320px;
  top: 62%;
  right: 12%;
  background: rgba(242, 170, 76, .22);
  animation-delay: -12s;
  animation-duration: 20s;
}

.ambient-orb--pink {
  width: 240px;
  height: 240px;
  top: 12%;
  left: 28%;
  background: rgba(239, 109, 156, .2);
  animation-delay: -6s;
  animation-duration: 16s;
}

.ambient-grid {
  position: absolute;
  inset: -20%;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: ambient-grid-slide 36s linear infinite;
}

.ambient-particles {
  position: absolute;
  inset: 0;
}

.ambient-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  box-shadow: 0 0 12px rgba(139, 131, 255, .35);
  animation: ambient-particle-float var(--dur, 18s) ease-in-out var(--delay, 0s) infinite;
}

.anim-item {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(8px);
}

body.is-ready .anim-item {
  animation: hero-rise .95s var(--ease) forwards;
  animation-delay: calc(.35s + var(--d, 0) * .12s);
}

body.is-ready .anim-item.is-entered {
  opacity: 1;
  transform: none;
  filter: none;
}

body.is-ready .title-word {
  animation: title-word-rise .9s var(--ease) forwards;
  animation-delay: calc(.45s + var(--d, 1) * .12s);
}

.title-line:nth-child(2) .title-word {
  animation-delay: calc(.55s + var(--d, 1) * .12s);
}

.stagger-children:not(.in-view) > * {
  opacity: 0;
  transform: translateY(22px) scale(.97);
  animation: none !important;
}

.stagger-children.in-view > *:not(.is-entered) {
  animation: stagger-in .7s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .09s + .2s);
}

.stagger-children.in-view > *,
body.is-ready .hero-metrics.stagger-children.in-view > * {
  animation: stagger-in .7s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .09s + .2s);
}

.stagger-children > *.is-entered {
  opacity: 1;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

body.is-ready .hero-metrics.stagger-children.in-view > * {
  animation-delay: calc(var(--i, 0) * .1s + .75s);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p,
.page-hero .page-actions {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
}

body.is-ready .page-hero .eyebrow {
  animation: hero-rise .8s var(--ease) .15s forwards;
}

body.is-ready .page-hero h1 {
  animation: hero-rise .85s var(--ease) .28s forwards;
}

body.is-ready .page-hero p {
  animation: hero-rise .85s var(--ease) .4s forwards;
}

body.is-ready .page-hero .page-actions {
  animation: hero-rise .85s var(--ease) .52s forwards;
}

.section-kicker {
  position: relative;
  display: inline-block;
}

.section-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.15rem;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--peach), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}

.reveal.in-view .section-kicker::after,
body.is-ready .section-kicker::after {
  transform: scaleX(1);
}

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

@keyframes loader-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

@keyframes loader-mark-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes loader-bar-shine {
  to { background-position: 200% 0; }
}

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

@keyframes title-word-rise {
  from {
    opacity: 0;
    transform: translateY(110%);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes title-shimmer {
  to { background-position: 200% center; }
}

@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 14px 32px rgba(239, 169, 157, .22); }
  50% { box-shadow: 0 18px 42px rgba(139, 131, 255, .28); }
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.05); }
}

@keyframes ambient-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -24px); }
  66% { transform: translate(-20px, 18px); }
}

@keyframes card-glow {
  0%, 100% { box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
  50% { box-shadow: 0 22px 60px rgba(139, 131, 255, .18), 0 8px 30px rgba(0, 0, 0, .25); }
}

@keyframes presentation-spotlight-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes presentation-fade-in {
  to { opacity: 1; }
}

@keyframes presentation-orb-in {
  to { opacity: .55; }
}

@keyframes presentation-orb-float {
  to { transform: translate(20px, -16px) scale(1.06); }
}

@keyframes presentation-rise {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes presentation-name-rise {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes presentation-aurora-in {
  to { opacity: .85; }
}

@keyframes presentation-aurora-pulse {
  0%, 100% { opacity: .72; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.06); }
}

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

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

@keyframes presentation-grid-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-64px, -44px, 0); }
}

@keyframes presentation-orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -18px) scale(1.08); }
}

@keyframes presentation-particle-pop {
  0% { opacity: 0; transform: scale(0); }
  20% { opacity: .9; transform: scale(1.4); }
  80% { opacity: .5; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

@keyframes presentation-scan {
  from { background-position: 0 -120px; }
  to { background-position: 0 100vh; }
}

@keyframes presentation-frame-in {
  to { opacity: 1; }
}

@keyframes presentation-badge-in {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes presentation-shimmer {
  to { background-position: 220% center; }
}

@keyframes presentation-sigil-grow {
  to { transform: scaleX(1); }
}

@keyframes presentation-burst-flash {
  0% { opacity: 0; transform: scale(.8); }
  35% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.4); }
}

@keyframes presentation-pillar-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes presentation-progress-fill {
  to { width: 100%; }
}

@keyframes bg-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 58px 58px, 58px 58px; }
}

@keyframes bg-glow-breathe {
  0%, 100% { opacity: .72; }
  50% { opacity: .95; }
}

@keyframes ambient-grid-slide {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-72px, -48px, 0) rotate(1deg); }
}

@keyframes ambient-particle-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .25;
  }
  33% {
    transform: translate3d(18px, -28px, 0) scale(1.35);
    opacity: .75;
  }
  66% {
    transform: translate3d(-14px, 16px, 0) scale(.85);
    opacity: .45;
  }
}
