:root {
  --bg: #020208;
  --bg-soft: #090913;
  --bg-panel: rgba(8, 8, 18, 0.94);
  --bg-panel-strong: rgba(4, 4, 10, 0.98);
  --bg-panel-soft: rgba(12, 12, 24, 0.9);
  --line: rgba(255, 0, 140, 0.42);
  --line-soft: rgba(86, 102, 255, 0.24);
  --line-faint: rgba(255, 255, 255, 0.08);
  --text: #f7f8ff;
  --text-soft: #b8bfd9;
  --text-muted: #7d83a3;
  --pink: #ff1493;
  --pink-soft: #ff4bbd;
  --violet: #8d3dff;
  --blue: #2b62ff;
  --cyan: #49d8ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-shell: 34px;
  --radius-panel: 28px;
  --radius-card: 22px;
  --pointer-x: 50%;
  --pointer-y: 20%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  cursor: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(141, 61, 255, 0.14), transparent 20%),
    radial-gradient(circle at 88% 10%, rgba(43, 98, 255, 0.12), transparent 22%),
    radial-gradient(circle at 65% 82%, rgba(255, 20, 147, 0.12), transparent 20%),
    linear-gradient(180deg, #05050a 0%, #020205 100%);
  color: var(--text);
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body,
body a,
body button,
body [role="button"],
body input,
body textarea,
body select,
body summary,
body .cta,
body .nav-link {
  cursor: none !important;
}

.cursor-orb,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    opacity 180ms ease,
    width 180ms ease,
    height 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.cursor-orb {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(190, 126, 255, 0.86) 65%, rgba(111, 45, 168, 0.3));
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.72),
    0 0 24px rgba(111, 45, 168, 0.65),
    0 0 40px rgba(73, 216, 255, 0.28);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid rgba(185, 123, 255, 0.82);
  box-shadow:
    0 0 14px rgba(111, 45, 168, 0.5),
    inset 0 0 12px rgba(255, 255, 255, 0.06);
}

body.cursor-active .cursor-orb,
body.cursor-active .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-orb {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1), rgba(73, 216, 255, 0.95) 58%, rgba(111, 45, 168, 0.24));
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.85),
    0 0 28px rgba(73, 216, 255, 0.55),
    0 0 40px rgba(111, 45, 168, 0.42);
}

body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: rgba(73, 216, 255, 0.95);
  box-shadow:
    0 0 16px rgba(73, 216, 255, 0.48),
    0 0 34px rgba(111, 45, 168, 0.4);
}

body.cursor-pressed .cursor-ring {
  width: 28px;
  height: 28px;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(128deg, transparent 0 38%, rgba(73, 216, 255, 0.08) 46%, transparent 52%),
    linear-gradient(118deg, transparent 0 54%, rgba(255, 20, 147, 0.08) 62%, transparent 68%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 88px
    );
  opacity: 0.5;
  mix-blend-mode: screen;
}

body::after {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 20, 147, 0.1), transparent 16%),
    radial-gradient(circle at 72% 18%, rgba(73, 216, 255, 0.08), transparent 14%);
  opacity: 0.9;
}

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

code {
  font-family: "Consolas", "Cascadia Code", monospace;
}

.load-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 24% 18%, rgba(141, 61, 255, 0.16), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(255, 20, 147, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(6, 6, 12, 0.98), rgba(2, 2, 6, 0.99));
  transition:
    opacity 500ms ease,
    visibility 500ms ease;
}

.load-screen::before,
.load-screen::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.load-screen::before {
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 32%, rgba(43, 98, 255, 0.08) 42%, transparent 52%),
    linear-gradient(125deg, transparent 0 58%, rgba(255, 20, 147, 0.08) 68%, transparent 78%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0 1px,
      transparent 1px 5px
    );
  opacity: 0.55;
}

.load-screen::after {
  inset: auto 14% 22%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--cyan));
  filter: blur(20px);
  opacity: 0.8;
}

.load-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.load-screen.is-completing {
  animation: loaderCollapse 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.load-screen__panel {
  position: relative;
  width: min(720px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 20, 147, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 10, 20, 0.98), rgba(4, 4, 10, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(73, 216, 255, 0.08),
    0 0 34px rgba(141, 61, 255, 0.18),
    var(--shadow);
  overflow: hidden;
  animation: panelFloat 2.4s ease-in-out infinite;
}

.load-screen__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 20, 147, 0.16), transparent 22%),
    linear-gradient(160deg, transparent 42%, rgba(43, 98, 255, 0.18) 60%, transparent 70%);
  opacity: 0.9;
}

.load-screen__eyebrow,
.load-screen__status {
  position: relative;
  z-index: 1;
  margin: 0;
}

.load-screen__eyebrow {
  color: var(--cyan);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.load-screen__title {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  max-width: 10ch;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.load-screen__name {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.3em;
  margin: 0 0 18px;
  color: var(--text);
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(255, 20, 147, 0.2),
    0 0 22px rgba(73, 216, 255, 0.12);
}

.load-screen__name::after {
  content: "";
  width: 2px;
  height: 0.95em;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink), var(--cyan));
  box-shadow:
    0 0 12px rgba(255, 20, 147, 0.34),
    0 0 16px rgba(73, 216, 255, 0.24);
  animation: caretBlink 0.8s steps(1, end) infinite;
}

.load-screen__name.is-complete::after {
  opacity: 0.7;
}

.load-screen__bar {
  position: relative;
  z-index: 1;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.load-screen__bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--cyan));
  box-shadow: 0 0 24px rgba(255, 20, 147, 0.34);
  animation: bootFill 2.2s ease forwards;
}

.load-screen__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--boot-progress, 0) * 100%);
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(255, 20, 147, 0.92) 48%, rgba(255, 20, 147, 0) 76%);
  box-shadow: 0 0 22px rgba(255, 20, 147, 0.42);
}

.load-screen__status {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--cyan));
  box-shadow: 0 0 18px rgba(255, 20, 147, 0.36);
}

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

.ambient__orb,
.ambient__beam,
.ambient__grid {
  position: absolute;
}

.ambient__orb {
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  animation: orbFloat 14s ease-in-out infinite;
}

.ambient__orb--one {
  top: -8%;
  left: -8%;
  width: 30vw;
  height: 30vw;
  background: rgba(141, 61, 255, 0.26);
}

.ambient__orb--two {
  top: 12%;
  right: -12%;
  width: 34vw;
  height: 34vw;
  background: rgba(43, 98, 255, 0.22);
  animation-delay: -5s;
}

.ambient__beam {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(73, 216, 255, 0.6), transparent);
  opacity: 0.5;
}

.ambient__beam--one {
  top: 14%;
  left: -8%;
  width: 42vw;
  transform: rotate(-24deg);
}

.ambient__beam--two {
  top: 18%;
  right: -8%;
  width: 32vw;
  transform: rotate(22deg);
}

.ambient__beam--three {
  bottom: 16%;
  left: 8%;
  width: 44vw;
  transform: rotate(-16deg);
}

.ambient__grid {
  inset: auto -8% 0;
  height: 320px;
  background:
    linear-gradient(rgba(73, 216, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 20, 147, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.18;
  transform: perspective(1200px) rotateX(74deg);
  transform-origin: bottom center;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 28px));
  margin: 14px auto 0;
  padding-bottom: 28px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 20, 147, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(10, 10, 18, 0.94), rgba(4, 4, 10, 0.96));
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(73, 216, 255, 0.08),
    0 0 22px rgba(141, 61, 255, 0.14),
    var(--shadow-soft);
}

.topbar::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--cyan));
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.36);
}

.privacy-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100% - 24px));
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 20, 147, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.96), rgba(4, 4, 10, 0.98));
  box-shadow:
    0 0 0 1px rgba(73, 216, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.32);
}

.privacy-banner[hidden] {
  display: none !important;
}

body.cookie-pending {
  overflow: hidden;
  height: 100vh;
}

body.cookie-pending .site-shell {
  max-height: 100vh;
  overflow: hidden;
}

.privacy-banner p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.privacy-banner__actions {
  display: flex;
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
}

.brand__mark {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand__text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.topbar__nav {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.nav-pill:hover,
.nav-pill:focus-visible,
.nav-pill.is-active {
  color: var(--text);
  border-color: rgba(255, 20, 147, 0.34);
  background: linear-gradient(180deg, rgba(141, 61, 255, 0.18), rgba(255, 20, 147, 0.08));
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 20, 147, 0.16);
}

main {
  counter-reset: panel;
  display: grid;
  gap: 20px;
}

.section {
  --section-pad: clamp(22px, 2.1vw, 34px);
  position: relative;
  overflow: hidden;
  padding: var(--section-pad);
  border: 1px solid rgba(255, 20, 147, 0.24);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(180deg, rgba(8, 8, 16, 0.98), rgba(3, 3, 8, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(73, 216, 255, 0.06),
    0 0 26px rgba(141, 61, 255, 0.08),
    var(--shadow);
  counter-increment: panel;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.section::before {
  inset: 0;
  background:
    linear-gradient(138deg, rgba(141, 61, 255, 0.1), transparent 18%),
    linear-gradient(120deg, transparent 0 54%, rgba(255, 20, 147, 0.08) 62%, transparent 68%),
    linear-gradient(115deg, transparent 0 28%, rgba(43, 98, 255, 0.08) 36%, transparent 42%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 76px
    );
  opacity: 0.78;
}

.section::after {
  content: counter(panel);
  top: 24px;
  right: 24px;
  color: rgba(141, 61, 255, 0.18);
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.section__head,
.hero-copy,
.feature-copy,
.copy-block,
.text-stack,
.resume-copy,
.contact-copy,
.contact-panel,
.detail-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.section__head {
  margin-bottom: 18px;
}

.section__eyebrow {
  margin: 0;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(255, 20, 147, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section__headline,
.section__title,
.education-card__title,
.card__title,
.skill-card__title,
.resume-title,
.placeholder__label {
  margin: 0;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--text);
}

.section__headline,
.section__title {
  font-size: clamp(2.6rem, 4.8vw, 5.5rem);
}

.section__subtitle {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.65vw, 1.24rem);
  line-height: 1.65;
}

.section__copy p,
.copy-block p,
.text-stack p,
.resume-copy p,
.contact-copy p,
.detail-stack p,
.card__copy,
.card__meta,
.placeholder__caption,
.contact-item__value,
.timeline,
.footer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.74;
}

.simple-list,
.meta-list,
.skill-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.simple-list li::marker,
.meta-list li::marker,
.skill-list li::marker {
  color: var(--pink-soft);
}

.simple-list__heading {
  list-style: none;
  margin: 10px 0 2px -18px;
  padding-left: 0;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.simple-list__heading::marker {
  content: "";
}

.detail-stack__headline,
.card__meta,
.contact-item__value {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.contact-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  color: var(--cyan);
  font-size: 1rem;
  flex: 0 0 1.3rem;
}

.timeline,
.contact-item__label,
.contact-note__label {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__note {
  color: var(--text-muted);
}

.section--hero {
  min-height: 94vh;
  display: grid;
  align-items: stretch;
}

.section--hero::after {
  top: auto;
  right: 20px;
  bottom: 12px;
  color: rgba(255, 20, 147, 0.2);
  font-size: clamp(6rem, 12vw, 11rem);
}

.hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 18px;
  align-items: center;
  min-height: 100%;
}

.hero-stage--copy-only {
  grid-template-columns: 1fr;
}

.hero-stage--copy-only .hero-copy {
  max-width: 1180px;
}

.hero-copy {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  padding: 26px 0;
}

.section--hero .section__headline {
  font-size: clamp(3.2rem, 7vw, 7rem);
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(141, 61, 255, 0.18),
    0 0 28px rgba(255, 20, 147, 0.1);
}

.section--hero .section__subtitle {
  max-width: 30ch;
}

.section--hero .section__copy {
  width: 100%;
  max-width: none;
}

.section--hero .section__copy p:last-child {
  color: var(--text);
}

#Home .section__copy p:first-child {
  animation: heroIntroGlow 2.8s ease-out forwards;
}

#Home .typewriter-pending {
  color: transparent !important;
  text-shadow: none !important;
}

#Home .is-typing {
  position: relative;
}

#Home .is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 6px;
  vertical-align: -0.08em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink), var(--cyan));
  box-shadow:
    0 0 12px rgba(255, 20, 147, 0.28),
    0 0 16px rgba(73, 216, 255, 0.2);
  animation: caretBlink 0.8s steps(1, end) infinite;
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 640px;
  width: 100%;
  justify-self: end;
}

.section--hero .hero-visual .placeholder {
  min-height: 640px;
}

.hero-badge,
.hero-focus {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 20, 147, 0.34);
  border-radius: 18px;
  background: rgba(3, 3, 10, 0.82);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(73, 216, 255, 0.08),
    0 0 18px rgba(255, 20, 147, 0.14);
  width: fit-content;
  max-width: min(100%, 360px);
}

.hero-focus {
  margin-top: 18px;
  justify-self: center;
  max-width: min(100%, 420px);
}

.hero-action-cluster {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  margin-top: 8px;
}

.hero-action-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  justify-items: center;
  padding-top: 0;
  flex: 0 0 auto;
}

.hero-side-slot {
  flex: 0 0 auto;
  display: flex;
  align-self: stretch;
  height: var(--hero-action-core-height, auto);
  width: auto;
  max-width: none;
  aspect-ratio: var(--hero-slot-ratio, 1408 / 690);
}

.hero-side-slot .placeholder {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}

.hero-side-slot .placeholder__visual {
  min-height: 0;
  height: 100%;
}

.hero-side-slot--left {
  transform: none;
  padding-left: 40px;
  padding-bottom: 0PX;
}

.hero-side-slot--right {
  transform: none;
}

.hero-badge__label {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-badge__value {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.4;
}

.hero-accent {
  position: absolute;
  left: calc(var(--section-pad) * -1);
  right: calc(var(--section-pad) * -1);
  bottom: 160px;
  z-index: 0;
  height: 160px;
  pointer-events: none;
}

.hero-accent__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  height: 14px;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--cyan));
  clip-path: polygon(0 0, 44% 0, 54% 100%, 100% 100%, 100% 58%, 58% 58%, 48% 0, 0 0);
  box-shadow:
    0 0 24px rgba(255, 20, 147, 0.34),
    0 0 34px rgba(73, 216, 255, 0.22);
  opacity: 0.92;
}

.hero-metrics {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 110px;
  padding: 18px;
  border: 1px solid rgba(255, 20, 147, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(8, 8, 18, 0.96), rgba(4, 4, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(73, 216, 255, 0.05),
    0 0 18px rgba(141, 61, 255, 0.08);
}

.metric-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.metric-card__index {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-card p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.46;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.action-row--hero {
  margin-top: 0;
  justify-content: center;
}

.cta,
.ghost-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.cta {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 20, 147, 0.36);
  box-shadow: 0 0 16px rgba(255, 20, 147, 0.18);
}

.cta--primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 20, 147, 0.26);
}

.ghost-note {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  background: transparent;
}

.project-grid,
.resume-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  align-items: start;
}

.project-grid,
.resume-grid {
  grid-template-columns: minmax(420px, 1.04fr) minmax(0, 0.96fr);
}

.project-grid--media-right {
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
}

.feature-copy,
.resume-copy,
.contact-panel {
  max-width: 560px;
  align-content: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  padding: 18px;
  border: 1px solid rgba(255, 20, 147, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 10, 18, 0.9), rgba(4, 4, 10, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(73, 216, 255, 0.05),
    0 0 18px rgba(141, 61, 255, 0.08);
}

.lead-form__head,
.lead-form__field {
  display: grid;
  gap: 8px;
}

.lead-form__title {
  margin: 0;
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.lead-form__copy {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lead-form__field span {
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form__field input,
.lead-form__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.lead-form__field input:focus,
.lead-form__field textarea:focus {
  outline: none;
  border-color: rgba(255, 20, 147, 0.34);
  box-shadow: 0 0 0 1px rgba(73, 216, 255, 0.12);
}

.project-grid--support {
  align-items: stretch;
}

.feature-copy--support {
  width: 100%;
  max-width: none;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  align-content: stretch;
}

#Resume .resume-grid {
  align-items: stretch;
}

#Resume .resume-copy {
  min-height: 100%;
  justify-content: center;
  align-content: center;
  justify-items: center;
  text-align: center;
}

#Resume .resume-copy .section__head,
#Resume .resume-copy .section__copy,
#Resume .resume-copy .action-row {
  width: min(100%, 520px);
}

#Resume .resume-copy .action-row {
  justify-content: center;
}

#Resume .resume-copy .lead-form {
  justify-items: stretch;
}

#Resume .media-wall--single > .placeholder {
  align-content: start;
  grid-template-rows: minmax(0, 1fr) auto auto;
}

#Resume .media-wall--single > .placeholder .placeholder__visual {
  min-height: 100%;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

#Resume .media-wall--single > .placeholder .placeholder__asset {
  align-self: center;
  height: auto;
  min-height: 0;
  max-height: 100%;
  object-position: center center;
}

#Resume .media-wall--single > .placeholder .placeholder__meta,
#Resume .media-wall--single > .placeholder .placeholder__caption {
  display: block;
}

.feature-copy--support .copy-block {
  max-width: 54ch;
}

.support-media {
  margin-top: 14px;
  width: 100%;
}

.support-media--stack {
  display: grid;
  gap: 16px;
  align-content: stretch;
}

.feature-copy--support .support-media {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  min-height: 0;
  margin-bottom: 16px;
}

.feature-copy--support .support-media--stack {
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(220px, 1fr));
}

.support-media .placeholder {
  min-height: 0;
  width: 100%;
}

.feature-copy--support .support-media .placeholder {
  height: 100%;
}

.support-media .placeholder__visual {
  min-height: 340px;
}

.feature-copy--support .support-media .placeholder__visual {
  min-height: 100%;
}

.feature-copy--support > .support-media + .action-row {
  position: relative;
  z-index: 2;
  margin-top: 4px;
}

.support-media .placeholder__asset {
  width: 100%;
  height: 100%;
}

.support-media .placeholder__asset--contain {
  object-fit: contain;
}

.support-media--stack .placeholder__visual {
  min-height: 260px;
}

.education-grid,
.cards-grid,
.skills-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

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

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

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

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

.contact-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: start;
}

.education-card,
.card,
.skill-card,
.contact-item,
.contact-note {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 20, 147, 0.22);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(10, 10, 18, 0.96), rgba(4, 4, 10, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(73, 216, 255, 0.05),
    0 0 18px rgba(141, 61, 255, 0.08);
}

.education-card::before,
.card::before,
.skill-card::before,
.contact-item::before,
.contact-note::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 20, 147, 0.08), transparent 20%),
    linear-gradient(120deg, transparent 0 70%, rgba(43, 98, 255, 0.08) 82%, transparent 88%);
  pointer-events: none;
}

.education-card__title,
.card__title,
.skill-card__title {
  font-size: clamp(1.2rem, 1.9vw, 1.8rem);
}

.card__meta {
  font-size: 0.92rem;
}

.media-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-auto-rows: 12px;
  gap: 14px;
}

.media-wall > .placeholder {
  grid-column: span 5;
  grid-row: span 22;
}

.media-wall--single > .placeholder {
  grid-column: 1 / -1;
  grid-row: span 42;
}

.media-wall--duo > .placeholder:first-child {
  grid-column: 1 / -1;
  grid-row: span 28;
}

.media-wall--duo > .placeholder:last-child {
  grid-column: 1 / -1;
  grid-row: span 18;
}

.media-wall--trio > .placeholder:first-child,
.media-wall--quad > .placeholder:first-child {
  grid-column: 1 / span 6;
  grid-row: span 32;
}

.media-wall--trio > .placeholder:nth-child(2),
.media-wall--trio > .placeholder:nth-child(3),
.media-wall--quad > .placeholder:nth-child(n + 2) {
  grid-column: span 4;
  grid-row: span 16;
}

.placeholder {
  position: relative;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 200px;
  padding: 16px;
  border: 1px solid rgba(255, 20, 147, 0.28);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(7, 7, 14, 0.96), rgba(2, 2, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 1px rgba(73, 216, 255, 0.08),
    0 0 20px rgba(141, 61, 255, 0.12);
  overflow: hidden;
}

.placeholder::before,
.placeholder::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.placeholder::before {
  inset: 0;
  background:
    linear-gradient(140deg, rgba(141, 61, 255, 0.18), transparent 20%),
    linear-gradient(122deg, transparent 0 54%, rgba(255, 20, 147, 0.16) 62%, transparent 70%),
    linear-gradient(118deg, transparent 0 28%, rgba(43, 98, 255, 0.16) 34%, transparent 42%);
}

.placeholder::after {
  inset: 10px;
  border: 1px solid rgba(255, 20, 147, 0.24);
  border-radius: 14px;
}

.placeholder__visual,
.placeholder__meta,
.placeholder__caption {
  position: relative;
  z-index: 1;
}

.placeholder__visual {
  position: relative;
  display: flex;
  min-height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.18), transparent 16%),
    linear-gradient(148deg, rgba(2, 5, 18, 1) 0%, rgba(13, 16, 42, 0.98) 32%, rgba(27, 18, 56, 0.96) 58%, rgba(38, 5, 34, 0.98) 100%);
}

.placeholder__asset {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border-radius: inherit;
  background: #04040a;
}

.placeholder__asset--cover {
  object-fit: cover;
}

.placeholder__asset--contain {
  object-fit: contain;
}

.placeholder--vid .placeholder__asset {
  background: #000;
}

.placeholder__visual::before,
.placeholder__visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.placeholder__visual::before {
  inset: -8%;
  background:
    linear-gradient(126deg, transparent 0 42%, rgba(73, 216, 255, 0.34) 47%, transparent 51%),
    linear-gradient(116deg, transparent 0 56%, rgba(255, 20, 147, 0.34) 60%, transparent 66%),
    linear-gradient(102deg, transparent 0 72%, rgba(141, 61, 255, 0.28) 75%, transparent 80%);
  mix-blend-mode: screen;
}

.placeholder__visual::after {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 62%, rgba(0, 0, 0, 0.42) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 34px
    );
  opacity: 0.78;
}

.placeholder--filled .placeholder__visual::before {
  opacity: 0.22;
}

.placeholder--filled .placeholder__visual::after {
  background: linear-gradient(180deg, transparent 0 58%, rgba(0, 0, 0, 0.54) 100%);
  opacity: 1;
}

.placeholder--media-only {
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}

.placeholder--media-only .placeholder__visual {
  height: 100%;
  min-height: 100%;
  border-radius: inherit;
}

.placeholder--project-plain {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  align-content: stretch;
  gap: 0;
}

.placeholder--project-plain::before,
.placeholder--project-plain::after,
.placeholder--project-plain .placeholder__shine,
.placeholder--project-plain .placeholder__meta,
.placeholder--project-plain .placeholder__caption,
.placeholder--project-plain .placeholder__visual::before,
.placeholder--project-plain .placeholder__visual::after {
  display: none;
}

.placeholder--project-plain .placeholder__visual {
  min-height: 100%;
  height: 100%;
  border-radius: 22px;
  background: transparent;
}

.placeholder--project-plain .placeholder__asset {
  width: 100%;
  height: 100%;
  border-radius: 22px;
}

.placeholder--project3-demo {
  align-content: stretch;
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.placeholder--project3-demo .placeholder__visual {
  min-height: 280px;
  height: 100%;
  align-items: stretch;
}

.placeholder--project3-demo .placeholder__asset {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

#Project2 .project-grid {
  grid-template-columns: minmax(460px, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

#Project2 .feature-copy {
  max-width: none;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
}

#Project2 .copy-block {
  max-width: none;
}

#Project2 .media-wall--trio {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 18px;
}

#Project2 .media-wall--trio > .placeholder {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 240px;
}

#Project2 .placeholder--project-plain .placeholder__visual {
  min-height: 100%;
}

#Project5 .project-grid {
  align-items: stretch;
}

#Experience .project-grid {
  align-items: stretch;
}

#Experience .media-wall--duo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  align-self: stretch;
}

#Experience .media-wall--duo > .placeholder {
  flex: 1 1 0;
  min-height: 0;
}

#Experience .media-wall--duo > .placeholder .placeholder__visual {
  min-height: 320px;
  height: 100%;
}

#Experience .support-media .placeholder__visual {
  min-height: 320px;
}

#Experience_2 .project-grid {
  align-items: stretch;
}

#Experience_2 .media-wall--duo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  align-self: stretch;
}

#Experience_2 .media-wall--duo > .placeholder {
  flex: 1 1 0;
  min-height: 0;
}

#Experience_2 .media-wall--duo > .placeholder .placeholder__visual {
  min-height: 320px;
  height: 100%;
}

#Experience_2 .support-media .placeholder__visual {
  min-height: 320px;
}

#Experience_5 .project-grid {
  align-items: stretch;
}

#Experience_5 .media-wall--duo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  align-self: stretch;
}

#Experience_5 .media-wall--duo > .placeholder {
  flex: 1 1 0;
  min-height: 0;
}

#Experience_5 .media-wall--duo > .placeholder .placeholder__visual {
  min-height: 320px;
  height: 100%;
}

#Experience_5 .support-media .placeholder__visual {
  min-height: 320px;
}

#Experience_5 .placeholder__asset[src*="GK2--DBji752.jpeg"] {
  transform: rotate(-90deg);
  transform-origin: center center;
}

#ProjectDAQ .project-grid {
  align-items: stretch;
}

#ProjectDAQ .media-wall--duo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  align-self: stretch;
}

#ProjectDAQ .media-wall--duo > .placeholder {
  flex: 1 1 0;
  min-height: 0;
}

#ProjectDAQ .media-wall--duo > .placeholder .placeholder__visual {
  min-height: 280px;
  height: 100%;
}

#ProjectDAQ .section__title {
  font-size: clamp(2.4rem, 3.5vw, 4rem);
}

#ProjectDAQ .section__subtitle {
  font-size: 1rem;
}

#ProjectDAQ .simple-list {
  gap: 10px;
  padding-left: 20px;
}

#ProjectDAQ .simple-list li {
  font-size: 0.62rem;
  line-height: 1.28;
}

#ProjectDAQ .simple-list__heading {
  margin-top: 8px;
  font-size: 0.95rem;
}

#ProjectDAQ .section__note {
  font-size: 0.62rem;
  line-height: 1.32;
}

#ProjectDAQ .support-media .placeholder__visual {
  min-height: 280px;
}

#ProjectDAQ .support-media .placeholder__asset[src*="DAQ_2.jpg"] {
  max-height: 140px;
}

#Project5 .media-wall--duo {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
  align-self: stretch;
}

#Project5 .media-wall--duo > .placeholder {
  flex: 1 1 0;
  min-height: 0;
}

#Project5 .media-wall--duo > .placeholder .placeholder__visual {
  min-height: 320px;
  height: 100%;
}

#Project6 .project-grid {
  align-items: start;
}

#Project6 .media-wall--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 16px;
  align-items: start;
}

#Project6 .media-wall--quad > .placeholder {
  grid-column: auto;
  grid-row: auto;
  align-self: start;
  gap: 10px;
  padding: 12px;
}

#Project6 .media-wall--quad > .placeholder:nth-child(2),
#Project6 .media-wall--quad > .placeholder:nth-child(3) {
  grid-column: auto;
}

#Project6 .media-wall--quad > .placeholder:nth-child(4),
#Project6 .media-wall--quad > .placeholder:nth-child(5) {
  grid-column: auto;
}

#Project6 .media-wall--quad > .placeholder:last-child {
  grid-column: 1 / -1;
}

#Project6 .media-wall--quad > .placeholder .placeholder__visual {
  min-height: 180px;
  height: auto;
  aspect-ratio: 4 / 3;
}

#Project6 .media-wall--quad > .placeholder:first-child .placeholder__visual {
  min-height: 180px;
}

#Project6 .media-wall--quad .placeholder__label {
  font-size: clamp(0.95rem, 1.3vw, 1.5rem);
}

#Project6 .media-wall--quad .placeholder__caption {
  max-width: none;
  line-height: 1.45;
}

#Project6 .section__title {
  font-size: clamp(3.8rem, 5.3vw, 5.8rem);
}

#Project6 .section__subtitle {
  font-size: 1.3rem;
}

#Project6 .simple-list {
  gap: 14px;
  padding-left: 22px;
}

#Project6 .simple-list li {
  font-size: 1.08rem;
  line-height: 1.72;
}

#Project7 .project-grid {
  align-items: stretch;
}

#Project7 .media-wall--trio {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 18px;
  align-items: start;
}

#Project7 .media-wall--trio > .placeholder {
  min-height: 0;
  height: auto;
  align-self: start;
}

#Project7 .media-wall--trio > .placeholder:first-child {
  grid-column: 1 / -1;
  grid-row: auto;
}

#Project7 .media-wall--trio > .placeholder:nth-child(2),
#Project7 .media-wall--trio > .placeholder:nth-child(3) {
  grid-column: 1 / -1;
  grid-row: auto;
}

#Project7 .media-wall--trio > .placeholder .placeholder__visual {
  min-height: 180px;
}

#Project7 .media-wall--trio > .placeholder:first-child .placeholder__visual {
  min-height: 250px;
}

.placeholder__shine {
  position: absolute;
  inset: auto 10% 10% 10%;
  height: 30%;
  background: radial-gradient(circle, rgba(255, 20, 147, 0.3), rgba(255, 20, 147, 0) 70%);
  filter: blur(18px);
}

.placeholder__frame {
  position: absolute;
  inset: 18% 22%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 0 18px rgba(73, 216, 255, 0.18);
}

.placeholder__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(3, 3, 10, 0.48);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 18px rgba(255, 20, 147, 0.18);
}

.placeholder__play::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 23px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid rgba(255, 255, 255, 0.9);
}

.placeholder__meta {
  display: grid;
  gap: 5px;
}

.placeholder__kind {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.placeholder__label {
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  text-transform: uppercase;
}

.placeholder__caption {
  max-width: 34ch;
}

.placeholder--portrait .placeholder__visual,
.placeholder--tall .placeholder__visual {
  min-height: 320px;
}

.placeholder--wide .placeholder__visual {
  min-height: 180px;
}

.section--hero .hero-visual .placeholder {
  border-color: rgba(255, 20, 147, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(73, 216, 255, 0.1),
    0 0 30px rgba(141, 61, 255, 0.18);
}

.section--hero .hero-visual .placeholder--media-only {
  align-self: stretch;
}

.section--hero .hero-visual .placeholder__visual {
  min-height: 520px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.18), transparent 16%),
    linear-gradient(146deg, #040610 0%, #11183d 32%, #1b1444 58%, #2f082c 100%);
}

.section--hero .hero-visual .placeholder__asset {
  padding: 0 10px 0;
}

.section--hero .hero-visual .placeholder__asset--contain {
  object-fit: contain;
  object-position: center top;
}

.section--hero .hero-visual .placeholder--hero-profile {
  display: grid;
  width: min(100%, 560px);
  justify-self: end;
  align-self: center;
  align-content: stretch;
  min-height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.section--hero .hero-visual .placeholder--hero-profile::before,
.section--hero .hero-visual .placeholder--hero-profile::after {
  display: none;
}

.section--hero .hero-visual .placeholder--hero-profile .placeholder__visual {
    display: grid;
    place-items: center;
    min-height: auto;
    aspect-ratio: 1024 / 926;
  padding: 0;
    border-radius: 0;
    background: transparent;
  }

.section--hero .hero-visual .placeholder--hero-profile .placeholder__visual::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 185%;
    height: 185%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 42px;
    background:
      linear-gradient(
        90deg,
        rgba(111, 45, 168, 0) 0%,
        rgba(111, 45, 168, 0.18) 18%,
        rgba(170, 95, 255, 0.72) 48%,
        rgba(111, 45, 168, 0.18) 78%,
        rgba(111, 45, 168, 0) 100%
      );
    filter: blur(10px);
    z-index: 1;
    pointer-events: none;
  }

.section--hero .hero-visual .placeholder--hero-profile .placeholder__visual::before,
.section--hero .hero-visual .placeholder--hero-profile .placeholder__visual::after {
    display: block;
  }

  .section--hero .hero-visual .placeholder__asset--hero-profile {
    width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  object-fit: cover;
  object-position: center center;
  position: relative;
  z-index: 2;
  border: 8px solid #6f2da8;
  border-radius: 26px;
  background: transparent;
  box-shadow:
      0 0 0 1px rgba(200, 158, 250, 0.16),
      0 0 28px rgba(111, 45, 168, 0.5),
      0 0 54px rgba(111, 45, 168, 0.24),
      0 24px 60px rgba(0, 0, 0, 0.22);
  }
  
.placeholder--hero-slot {
  padding: 10px;
  border-radius: 28px;
}

.hero-side-slot .placeholder__asset {
  padding: 0;
}

.placeholder--hero-slot .placeholder__meta {
  align-self: center;
  justify-items: center;
}

.placeholder--hide-caption .placeholder__caption {
  display: none;
}

.section--hero .hero-visual .placeholder__visual::before {
  background:
    linear-gradient(126deg, transparent 0 30%, rgba(73, 216, 255, 0.48) 36%, transparent 40%),
    linear-gradient(118deg, transparent 0 48%, rgba(255, 20, 147, 0.48) 53%, transparent 58%),
    linear-gradient(102deg, transparent 0 74%, rgba(141, 61, 255, 0.4) 78%, transparent 82%);
}

.contact-panel,
.contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.contact-list .lead-form {
  width: 100%;
}

.contact-note {
  gap: 10px;
}

.contact-note p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.74;
}

.contact-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-item__main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-item:hover,
.contact-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 20, 147, 0.38);
  box-shadow:
    0 0 0 1px rgba(73, 216, 255, 0.08),
    0 0 18px rgba(255, 20, 147, 0.14);
}

.contact-copy-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 20, 147, 0.24);
  border-radius: 14px;
  background: rgba(6, 6, 14, 0.9);
  color: var(--cyan);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.contact-copy-btn:hover,
.contact-copy-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 20, 147, 0.4);
  background: rgba(12, 12, 22, 0.98);
}

.contact-copy-btn.is-copied {
  color: var(--pink-soft);
  border-color: rgba(73, 216, 255, 0.4);
}

.copy-cursor-toast {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10000;
  pointer-events: none;
  padding: 6px 10px;
  border: 1px solid rgba(73, 216, 255, 0.3);
  border-radius: 999px;
  background: rgba(6, 8, 18, 0.96);
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition:
    opacity 160ms ease,
    transform 220ms ease;
  box-shadow:
    0 0 0 1px rgba(255, 20, 147, 0.08),
    0 0 18px rgba(73, 216, 255, 0.16);
}

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

.footer {
  padding: 18px 4px 0;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.boot-item {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  transition:
    opacity 560ms ease,
    transform 740ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms ease;
  transition-delay: calc(100ms + var(--boot-index, 0) * 60ms);
}

body.is-loaded .boot-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.motion-item {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 700ms ease,
    transform 860ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms ease;
  transition-delay: calc(80ms + var(--motion-index, 0) * 52ms);
}

body.is-loaded .section.is-visible .motion-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

body.is-loaded .site-shell {
  animation: shellRise 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bootFill {
  0% {
    transform: scaleX(0.08);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes loaderCollapse {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
    filter: blur(12px);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-18px);
  }
}

@keyframes shellRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes caretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.2;
  }
}

@keyframes heroIntroGlow {
  0% {
    color: rgba(255, 255, 255, 1);
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.22),
      0 0 22px rgba(73, 216, 255, 0.16);
  }
  75% {
    color: rgba(255, 255, 255, 1);
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.16),
      0 0 18px rgba(73, 216, 255, 0.12);
  }
  100% {
    color: var(--text-soft);
    text-shadow: none;
  }
}


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

@media (max-width: 1120px) {
  .hero-stage,
  .project-grid,
  .resume-grid,
  .contact-grid,
  .education-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .section--hero {
    min-height: auto;
    padding-bottom: 150px;
  }

  .hero-visual {
    min-height: 520px;
    width: 100%;
    justify-self: stretch;
  }

  .section--hero .hero-visual .placeholder {
    min-height: 520px;
  }

  .hero-badge {
    position: static;
  }

  .hero-focus {
    max-width: 100%;
  }

  .hero-action-cluster {
    gap: 14px;
  }

  .hero-side-slot {
    max-width: 220px;
  }

  .hero-visual {
    gap: 14px;
  }

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

  .section::after {
    font-size: clamp(4rem, 11vw, 7rem);
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 12px, 1500px);
    margin-top: 8px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 14px 16px;
  }

  .topbar__nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .privacy-banner {
    right: 8px;
    left: 8px;
    bottom: 8px;
    width: auto;
  }

  .cards-grid,
  .cards-grid--compact,
  .education-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .media-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .media-wall > .placeholder,
  .media-wall--single > .placeholder,
  .media-wall--duo > .placeholder,
  .media-wall--trio > .placeholder,
  .media-wall--quad > .placeholder {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section--hero {
    padding-bottom: 120px;
  }
}

@media (max-width: 640px) {
  .section {
    --section-pad: 18px;
    border-radius: 22px;
  }

  .topbar {
    border-radius: 18px;
  }

  .hero-stage {
    gap: 16px;
  }

  .section__headline,
  .section__title {
    font-size: clamp(2.2rem, 11vw, 4rem);
  }

  .section--hero .section__headline {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .hero-visual,
  .section--hero .hero-visual .placeholder,
  .section--hero .hero-visual .placeholder__visual {
    min-height: 360px;
  }

  .hero-visual {
    gap: 12px;
  }

  .hero-action-cluster {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-side-slot {
    display: none;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta,
  .ghost-note {
    width: 100%;
  }

  .lead-form__grid {
    grid-template-columns: 1fr;
  }

  .placeholder--portrait .placeholder__visual,
  .placeholder--tall .placeholder__visual {
    min-height: 260px;
  }

  .section--hero .hero-visual .placeholder__asset {
    padding: 10px 6px 0;
  }

  .section--hero .hero-visual .placeholder__asset--hero-profile {
    padding: 0;
  }

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

  #Project2 .media-wall--trio {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  #Project2 .media-wall--trio > .placeholder:nth-child(3) {
    grid-column: auto;
  }

  #Project6 .media-wall--quad {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  #Project6 .media-wall--quad > .placeholder:first-child,
  #Project6 .media-wall--quad > .placeholder:nth-child(2),
  #Project6 .media-wall--quad > .placeholder:nth-child(3),
  #Project6 .media-wall--quad > .placeholder:nth-child(4),
  #Project6 .media-wall--quad > .placeholder:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .section::after {
    top: auto;
    right: 14px;
    bottom: 14px;
    font-size: clamp(3rem, 20vw, 5rem);
  }

  .load-screen__panel {
    padding: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .boot-item,
  .motion-item,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (pointer: coarse) {
  body {
    cursor: auto;
  }

  body a,
  body button,
  body [role="button"],
  body input,
  body textarea,
  body select,
  body summary,
  body .cta,
  body .nav-link {
    cursor: auto !important;
  }

  .cursor-orb,
  .cursor-ring {
    display: none;
  }
}
