:root {
  --bg: #f2ede3;
  --bg-2: #eae3d5;
  --paper: #fcfaf5;
  --text: #0e0e12;
  --muted: rgba(14, 14, 18, 0.65);
  --muted-soft: rgba(14, 14, 18, 0.45);
  --line: #dcd3c2;
  --line-strong: #c9c0b0;
  --ink: #1f37e0;
  --warm: #d9483a;
  --radius: 28px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 30px -16px rgba(20, 18, 12, 0.12);
  --skills-section-top-pad: clamp(108px, 16vh, 164px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  /* Contain horizontal overflow on the root — not on `body`, which breaks
     `position: fixed` (header drifts / clips while scrolling) in WebKit/Blink. */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

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

::selection {
  background: rgba(31, 55, 224, 0.18);
}

.shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header .shell {
  width: 100%;
}

.section {
  position: relative;
  padding: 96px 0;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 55, 224, 0.11) 0%, rgba(31, 55, 224, 0.05) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  filter: blur(42px);
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  isolation: isolate;
  padding: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  transform: translateZ(0);
  will-change: auto;
}

.site-header.is-scrolled {
  padding: 0;
  background: #000;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(4, 8, 18, 0.22);
}

.nav-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 60px;
  width: 100%;
  padding-block: 6px;
  /* Use 100% instead of 100vw to avoid scrollbar-width overflow gaps. */
  padding-inline: max(20px, calc((100% - 1280px) / 2 + 20px));
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: none;
  position: relative;
  overflow: visible;
}

.nav-bar::before {
  display: none;
}

.nav-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: transparent;
  pointer-events: none;
}

.site-header.is-scrolled .nav-bar {
  background: transparent;
  background-image: none;
  border-bottom-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header.is-scrolled .nav-bar::after {
  background: transparent;
}

.brand-copy,
.footer-signoff,
.section-heading h2,
.section-topline h2,
.brand-headline,
.hero h1,
.skill-name,
.timeline-card h3,
.education-card h3 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.03em;
}

.brand-copy {
  font-size: 15px;
  white-space: nowrap;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  min-width: 0;
  margin-left: -12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  justify-self: start;
}

.site-header.is-scrolled .desktop-nav {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border-radius: 0;
  color: rgba(247, 242, 231, 0.78);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  border: 0;
  white-space: nowrap;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

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

.nav-link--resume {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
}

.site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(247, 242, 231, 0.22);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  justify-self: end;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  justify-self: center;
  position: relative;
  z-index: 1;
}

.header-logo img {
  width: clamp(96px, 8vw, 124px);
  height: auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #f7f2e7;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 21px;
  height: 21px;
  display: block;
  flex: 0 0 auto;
  transform-origin: center;
}

.social-link--email svg {
  transform: translateY(0.2px) scale(1.02);
}

.social-link--instagram svg {
  transform: translateY(0.5px) scale(1.12);
}

.social-link--x svg {
  transform: translateX(0.4px) scale(1.08);
}

.social-link--linkedin svg {
  transform: translate(1.6px, -0.35px) scale(1.12);
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.primary-cta,
.talk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #12141c, #23283a);
  color: var(--bg);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(5, 8, 16, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.talk-button:hover,
.primary-cta:hover {
  background: linear-gradient(135deg, #1f37e0, #324df8);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(31, 55, 224, 0.24);
}

.talk-button__icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(247, 242, 231, 0.92);
  color: var(--text);
  transition: transform 0.2s ease, background 0.2s ease;
}

.talk-button:hover .talk-button__icon {
  transform: translateY(-1px) rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 231, 0.22);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #f7f2e7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span + span {
  margin-top: 7px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(242, 237, 227, 0.86);
  backdrop-filter: blur(14px);
  z-index: 18;
}

.mobile-menu__panel {
  width: min(420px, calc(100% - 32px));
  margin: 96px auto 0;
  padding: 12px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.mobile-link {
  display: block;
  text-align: left;
  padding: 16px 18px;
  border-radius: 20px;
  color: rgba(14, 14, 18, 0.72);
}

.mobile-link:hover {
  background: var(--bg-2);
  color: var(--text);
}

.mobile-link--resume {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.mobile-link--solid {
  background: var(--text);
  color: var(--bg);
}

.resume-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(31, 55, 224, 0.1), transparent 30%),
    linear-gradient(180deg, #f8f4eb 0%, #efe7d8 100%);
}

.resume-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(248, 244, 235, 0.82);
  border-bottom: 1px solid rgba(14, 14, 18, 0.08);
}

.resume-header__inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.resume-back,
.resume-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.resume-back {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(14, 14, 18, 0.08);
}

.resume-download {
  color: var(--bg);
  background: var(--text);
}

.resume-back:hover,
.resume-download:hover {
  transform: translateY(-1px);
}

.resume-main {
  padding: 44px 0 56px;
}

.resume-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.resume-copy {
  max-width: 720px;
}

.resume-copy h1 {
  margin: 10px 0 12px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.resume-copy p {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
}

.resume-viewer {
  min-height: calc(100vh - 220px);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(14, 14, 18, 0.1);
  box-shadow: 0 24px 80px -40px rgba(20, 18, 12, 0.28);
}

.resume-viewer iframe {
  display: block;
  width: 100%;
  min-height: calc(100vh - 220px);
  border: 0;
  background: #ffffff;
}

.hero {
  --hero-progress: 0;
  --hero-image-scale: 1;
  --hero-image-x: 0%;
  --hero-image-y: 0%;
  --hero-focus-x: 70%;
  --hero-focus-y: 47%;
  --hero-content-opacity: 1;
  --hero-content-shift: 0px;
  --hero-content-blur: 0px;
  --hero-overlay-opacity: 0.24;
  --hero-glow-opacity: 0.52;
  --hero-spotlight-opacity: 0;
  --hero-spotlight-size: 16%;
  --hero-vignette-strength: 0.5;
  --hero-tunnel-opacity: 0;
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.hero__sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.hero__media,
.hero__layer,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__media,
.hero__scrim,
.hero__layer {
  pointer-events: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7, 10, 18, 0.04), rgba(7, 10, 18, 0.22)),
    url("./astronaut.avif");
  background-size: cover;
  background-position: var(--hero-focus-x) calc(var(--hero-focus-y) - 6%);
  transform-origin: var(--hero-focus-x) var(--hero-focus-y);
  transform: translate3d(var(--hero-image-x), var(--hero-image-y), 0) scale(var(--hero-image-scale));
  filter: saturate(1.02) contrast(1.08) brightness(calc(1 - (var(--hero-progress) * 0.16)));
  will-change: transform;
}

.hero__layer--glow {
  background:
    radial-gradient(circle at 24% 28%, rgba(31, 55, 224, 0.18), transparent 28%),
    radial-gradient(circle at var(--hero-focus-x) calc(var(--hero-focus-y) - 7%), rgba(116, 144, 255, 0.22), transparent 10%),
    radial-gradient(circle at var(--hero-focus-x) calc(var(--hero-focus-y) - 7%), rgba(255, 255, 255, 0.12), transparent 20%);
  opacity: var(--hero-glow-opacity);
}

.hero__layer--spotlight {
  background:
    radial-gradient(
      circle at var(--hero-focus-x) calc(var(--hero-focus-y) - 7%),
      rgba(116, 144, 255, calc(var(--hero-spotlight-opacity) * 0.75)) 0%,
      rgba(116, 144, 255, calc(var(--hero-spotlight-opacity) * 0.3)) calc(var(--hero-spotlight-size) * 0.5),
      transparent var(--hero-spotlight-size)
    ),
    radial-gradient(
      circle at var(--hero-focus-x) calc(var(--hero-focus-y) - 7%),
      rgba(255, 255, 255, calc(var(--hero-spotlight-opacity) * 0.42)) 0%,
      transparent calc(var(--hero-spotlight-size) * 1.35)
    );
  mix-blend-mode: screen;
  opacity: 1;
}

.hero__layer--grain {
  opacity: 0.08;
  background-image: radial-gradient(rgba(14, 14, 18, 0.2) 0.7px, transparent 0.7px);
  background-size: 14px 14px;
}

.hero__layer--vignette {
  background:
    radial-gradient(
      circle at var(--hero-focus-x) calc(var(--hero-focus-y) - 7%),
      transparent 4%,
      rgba(6, 10, 16, 0.04) 10%,
      rgba(6, 10, 16, calc(0.32 + (var(--hero-vignette-strength) * 0.18))) 25%,
      rgba(6, 10, 16, calc(0.58 + (var(--hero-vignette-strength) * 0.22))) 52%,
      rgba(6, 10, 16, calc(0.84 + (var(--hero-vignette-strength) * 0.12))) 100%
    ),
    linear-gradient(180deg, rgba(6, 10, 16, 0.08), rgba(6, 10, 16, calc(0.34 + (var(--hero-vignette-strength) * 0.14))));
}

.hero__layer--tunnel {
  background:
    radial-gradient(circle at var(--hero-focus-x) calc(var(--hero-focus-y) - 7%), transparent 0%, transparent 6%, rgba(3, 5, 12, 0.24) 10%, rgba(3, 5, 12, 0.72) 18%, rgba(3, 5, 12, 0.96) 36%, rgba(3, 5, 12, 1) 100%);
  opacity: var(--hero-tunnel-opacity);
}

.hero__scrim {
  background: transparent;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding-top: 132px;
  padding-bottom: 72px;
  color: #f7f2e7;
  opacity: var(--hero-content-opacity);
  transform: translate3d(0, var(--hero-content-shift), 0);
  filter: blur(var(--hero-content-blur));
  transition: opacity 0.14s linear, transform 0.14s linear, filter 0.14s linear;
}

.issue-line,
.hero-intro,
.hero-metrics,
.section-kicker,
.footnotes,
.project-meta,
.timeline-date,
.footer-label,
.form-header,
.form-footer,
.brand-status,
.contact-chip__label {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.issue-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: rgba(247, 242, 231, 0.72);
}

.issue-line__group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.issue-line__group--status {
  justify-content: flex-end;
}

.issue-line__rule {
  width: 32px;
  height: 1px;
  background: rgba(247, 242, 231, 0.34);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(31, 55, 224, 0.4);
  animation: pulse-ring 2.4s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 55, 224, 0.4);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(31, 55, 224, 0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 44px;
}

.hero-copy {
  max-width: min(760px, 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.94;
  text-shadow: 0 16px 40px rgba(3, 5, 12, 0.22);
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: #b8c7ff;
}

.hero h1 .muted-line {
  color: rgba(247, 242, 231, 0.38);
}

.hero h1 mark,
.underlined {
  color: inherit;
  background: linear-gradient(transparent 68%, rgba(184, 199, 255, 0.36) 68%, rgba(184, 199, 255, 0.36) 88%, transparent 88%);
  padding-bottom: 2px;
}

.underlined--warm {
  background: linear-gradient(transparent 68%, rgba(217, 72, 58, 0.18) 68%, rgba(217, 72, 58, 0.18) 88%, transparent 88%);
}

.hero-intro {
  margin-top: 42px;
}

.hero-intro .eyebrow,
.brand-note .eyebrow {
  font-size: 11px;
  color: rgba(247, 242, 231, 0.55);
}

.hero-intro__quote {
  position: relative;
  margin: 0;
  max-width: 58ch;
  padding: 10px 32px 12px 36px;
  font-size: 17px;
  line-height: 1.68;
  color: rgba(247, 242, 231, 0.82);
}

.hero-intro__quote::before,
.hero-intro__quote::after {
  position: absolute;
  font-family: "Fraunces", serif;
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1;
  color: rgba(247, 242, 231, 0.72);
}

.hero-intro__quote::before {
  content: "\201C";
  top: -2px;
  left: 0;
}

.hero-intro__quote::after {
  content: "\201D";
  right: 8px;
  bottom: -14px;
}

.hero-intro p,
.section-body p,
.section-topline p,
.timeline-card p,
.education-card p,
.contact-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.hero-intro p {
  color: rgba(247, 242, 231, 0.82);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 460px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 242, 231, 0.22);
}

.metric-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.metric-card span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  color: rgba(247, 242, 231, 0.62);
}

.scroll-prompt {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  margin-bottom: clamp(52px, 10vh, 112px);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.68);
}

.marquee-track {
  display: flex;
  gap: 28px;
  min-width: max-content;
  animation: marquee 36s linear infinite;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.marquee-track--large {
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  text-transform: none;
}

.marquee-track--large em {
  font-style: italic;
  font-weight: 300;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
}

.section-heading h2,
.section-topline h2 {
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 0.96;
}

.section-heading h2 span,
.section-topline h2 span,
.brand-headline__soft,
.footer-signoff span,
.contact-copy h2 span,
.brand-headline em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: rgba(14, 14, 18, 0.55);
}

.expertise-heading span {
  display: inline;
}

.projects-heading span {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: rgba(14, 14, 18, 0.5);
}

.projects-heading {
  margin-top: 14px;
  white-space: normal;
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--ink);
}

.section-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(31, 55, 224, 0.55);
}

.section-kicker--light {
  color: rgba(242, 237, 227, 0.7);
}

.section-kicker--light::before {
  background: rgba(242, 237, 227, 0.4);
}

.section-body {
  display: grid;
  gap: 20px;
  align-content: start;
}

.section-body .lead {
  font-size: 18px;
}

.about-more {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(20, 18, 12, 0.09) 1px, transparent 1px);
  background-size: 88px 100%;
  pointer-events: none;
  z-index: 0;
}

.about-more > .shell {
  position: relative;
  z-index: 1;
}

.about-more-body {
  gap: clamp(32px, 5vw, 48px);
}

.about-more-lead {
  display: grid;
  gap: 18px;
  max-width: min(560px, 100%);
}

.about-more-lead p {
  margin: 0;
}

.about-more-ribbon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 14, 18, 0.52);
}

.about-more-ribbon__rule {
  flex-shrink: 0;
  background: rgba(14, 14, 18, 0.22);
}

.about-more-bento {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: 12px;
}

.about-more-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 38px 20px 20px 22px;
  min-height: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
  grid-column: 1 / -1;
  transition:
    transform 240ms cubic-bezier(0.2, 0.85, 0.2, 1),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.about-more-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 100% 0%, rgba(31, 55, 224, 0.06) 0%, transparent 52%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(217, 72, 58, 0.04) 0%, transparent 48%);
  pointer-events: none;
  opacity: 0.85;
}

.about-more-tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 18px 44px -20px rgba(31, 55, 224, 0.2);
}

.about-more-tile__ix {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(14, 14, 18, 0.22);
  z-index: 1;
}

.about-more-tile__text {
  position: relative;
  z-index: 1;
  font-family: "Fraunces", serif;
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--text);
}

.about-more-tile__text em {
  display: block;
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ink);
}

.about-more-tile--lego {
  justify-content: center;
  padding: 28px 24px 28px 26px;
  min-height: 200px;
  background:
    linear-gradient(165deg, rgba(31, 55, 224, 0.07) 0%, transparent 42%),
    linear-gradient(12deg, transparent 55%, rgba(217, 72, 58, 0.06) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      rgba(14, 14, 18, 0.04) 11px,
      rgba(14, 14, 18, 0.04) 12px
    ),
    var(--paper);
}

.about-more-tile--lego::after {
  opacity: 0.5;
}

.about-more-tile--lego .about-more-tile__text {
  font-size: clamp(1.35rem, 3.2vw, 2.05rem);
  line-height: 1.12;
}

.about-more-tile--lego .about-more-tile__text em {
  margin-top: 12px;
  font-size: clamp(16px, 1.5vw, 20px);
}

.about-more-tile--lego .about-more-tile__ix {
  font-size: clamp(26px, 4vw, 34px);
  color: #5a67ff;
}

.about-more-tile--movie .about-more-tile__ix {
  color: #d9483a;
}

.about-more-tile--philosopher .about-more-tile__ix {
  color: #2f9e44;
}

.about-more-tile--author .about-more-tile__ix {
  color: #9b5de5;
}

.about-more-tile--hobbies .about-more-tile__ix {
  color: #f59f00;
}

.about-more-tile--enjoyment .about-more-tile__ix {
  color: #0ca678;
}

.about-more-tile--fun .about-more-tile__ix {
  color: #e64980;
}

.about-more-tile--sports .about-more-tile__ix {
  color: #1c7ed6;
}

.about-more-tile--movie .about-more-tile__text,
.about-more-tile--philosopher .about-more-tile__text,
.about-more-tile--author .about-more-tile__text,
.about-more-tile--hobbies .about-more-tile__text,
.about-more-tile--enjoyment .about-more-tile__text,
.about-more-tile--fun .about-more-tile__text,
.about-more-tile--sports .about-more-tile__text {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.about-more-tile--lego .about-more-tile__text em,
.about-more-tile--movie .about-more-tile__text em,
.about-more-tile--philosopher .about-more-tile__text em,
.about-more-tile--author .about-more-tile__text em,
.about-more-tile--hobbies .about-more-tile__text em,
.about-more-tile--enjoyment .about-more-tile__text em,
.about-more-tile--fun .about-more-tile__text em,
.about-more-tile--sports .about-more-tile__text em {
  color: var(--text);
  margin-top: 16px;
  margin-left: 0;
  width: auto;
  max-width: 100%;
  text-align: left;
}

.about-more-tile--truths {
  justify-content: center;
  padding-block: 26px;
  min-height: 112px;
  background:
    radial-gradient(ellipse 80% 120% at 12% 20%, rgba(31, 55, 224, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 100% at 92% 80%, rgba(217, 72, 58, 0.22), transparent 50%),
    linear-gradient(165deg, #14141a 0%, #0e0e12 48%, #12121a 100%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f2ede3;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 24px 56px -28px rgba(31, 55, 224, 0.45);
}

.about-more-tile--truths::after {
  display: none;
}

.about-more-tile--truths .about-more-tile__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  color: #f7f2e7;
}

.about-more-tile--truths .about-more-tile__text strong {
  flex: 0 0 32%;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
}

.about-more-tile--truths .about-more-tile__text em {
  margin-top: 0;
  flex: 1 1 auto;
  text-transform: none;
  font-size: clamp(14px, 1.25vw, 16px);
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin-left: auto;
  width: max-content;
  max-width: 62%;
  text-align: left;
  color: #f7f2e7;
}

@media (max-width: 899px) {
  .about-more-tile--truths .about-more-tile__text {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .about-more-tile--truths .about-more-tile__text strong {
    flex: 0 0 auto;
  }
}

.about-more-tile--truths .about-more-tile__ix {
  color: #ffd166;
}

.about-more-tile--truths:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 26px 60px -24px rgba(31, 55, 224, 0.55);
}

@media (min-width: 900px) {
  .about-more-bento {
    grid-auto-rows: minmax(104px, auto);
    gap: 14px;
  }

  .about-more-tile {
    grid-column: auto;
    grid-row: auto;
    min-height: 104px;
  }

  .about-more-tile--lego {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    min-height: 0;
  }

  .about-more-tile--movie {
    grid-column: 8 / 13;
    grid-row: 1;
  }

  .about-more-tile--philosopher {
    grid-column: 1 / 5;
    grid-row: 3;
  }

  .about-more-tile--author {
    grid-column: 5 / 9;
    grid-row: 3;
  }

  .about-more-tile--hobbies {
    grid-column: 8 / 13;
    grid-row: 2;
  }

  .about-more-tile--enjoyment {
    grid-column: 9 / 13;
    grid-row: 3;
  }

  .about-more-tile--fun {
    grid-column: 1 / 9;
    grid-row: 4;
  }

  .about-more-tile--sports {
    grid-column: 9 / 13;
    grid-row: 4;
  }

  .about-more-tile--truths {
    grid-column: 1 / 13;
    grid-row: 5;
    min-height: 140px;
  }
}

.footnotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: rgba(14, 14, 18, 0.55);
}

.footnotes div {
  display: grid;
  gap: 8px;
}

.footnotes span:last-child {
  text-transform: none;
  letter-spacing: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: rgba(14, 14, 18, 0.78);
}

.stat-grid {
  display: grid;
  gap: 16px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.card-soft,
.stat-card,
.project-card,
.timeline-card,
.education-card,
.contact-form,
.footer-status-card,
.contact-chip {
  background: var(--paper);
  border: 1px solid #e5ddcc;
  box-shadow: var(--shadow);
}

.stat-card,
.education-card {
  border-radius: var(--radius);
  padding: 28px;
}

.stat-card__icon,
.education-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.stat-card h3,
.skill-name,
.education-card h3,
.timeline-card h3,
.contact-copy h2 {
  margin: 18px 0 0;
}

.stat-card h3 {
  font-size: 28px;
  line-height: 1.08;
}

.stat-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.expertise,
.experience,
.site-footer {
  background: var(--bg-2);
}

.experience {
  background:
    radial-gradient(circle at 18% 12%, rgba(94, 94, 94, 0.2) 0%, transparent 42%),
    radial-gradient(circle at 82% 22%, rgba(72, 72, 72, 0.14) 0%, transparent 38%),
    linear-gradient(150deg, #121212 0%, #1b1b1b 44%, #262626 100%);
}

.expertise {
  --skills-reveal-origin-x: 72%;
  --skills-reveal-origin-y: 3%;
  position: relative;
  margin-top: 0;
  padding-top: var(--skills-section-top-pad);
  overflow: clip;
  isolation: isolate;
  border-radius: 32px 32px 0 0;
  background: var(--bg-2);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5) inset;
  transform-origin: center top;
  transition:
    transform 760ms cubic-bezier(0.2, 0.86, 0.2, 1),
    filter 760ms cubic-bezier(0.2, 0.86, 0.2, 1),
    border-radius 760ms cubic-bezier(0.2, 0.86, 0.2, 1),
    box-shadow 760ms cubic-bezier(0.2, 0.86, 0.2, 1);
  will-change: transform, filter;
}

.expertise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(20, 18, 12, 0.12) 1px, transparent 1px);
  background-size: 88px 100%;
  pointer-events: none;
  z-index: 0;
}

.projects,
.contact {
  position: relative;
  isolation: isolate;
}

.projects::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(20, 18, 12, 0.12) 1px, transparent 1px);
  background-size: 88px 100%;
  pointer-events: none;
  z-index: 0;
}

.projects > .shell,
.contact > .shell {
  position: relative;
  z-index: 1;
}

.expertise::after {
  content: "";
  position: absolute;
  inset: -18vh -18% auto;
  height: 56vh;
  background:
    radial-gradient(
      circle at var(--skills-reveal-origin-x) var(--skills-reveal-origin-y),
      rgba(255, 246, 224, 0.98) 0,
      rgba(255, 229, 170, 0.88) 2.5%,
      rgba(255, 229, 170, 0.42) 8%,
      rgba(236, 198, 121, 0.22) 16%,
      rgba(236, 198, 121, 0.06) 24%,
      rgba(236, 198, 121, 0) 34%
    ),
    radial-gradient(
      circle at var(--skills-reveal-origin-x) calc(var(--skills-reveal-origin-y) + 4%),
      rgba(255, 255, 255, 0.46) 0,
      rgba(255, 255, 255, 0.14) 9%,
      rgba(255, 255, 255, 0) 20%
    );
  opacity: 0;
  transform: scale(0.66);
  transform-origin: var(--skills-reveal-origin-x) var(--skills-reveal-origin-y);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise > .shell {
  position: relative;
  z-index: 1;
}

.section-topline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}

.section-topline--single {
  grid-template-columns: minmax(0, 1fr);
}

.skill-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.skill-row {
  display: grid;
  grid-template-columns: 72px minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
}

.skill-row:first-child {
  border-top: 0;
}

.skill-number {
  font-family: "Fraunces", serif;
  font-size: 26px;
  color: rgba(14, 14, 18, 0.35);
}

.skill-name {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.skill-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-points li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 14, 18, 0.04);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skill-points li + li {
  margin-top: 0;
}

.skill-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.64;
}

.project-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.project-counter {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 14, 18, 0.44);
}

.project-stage-header {
  position: relative;
  top: 0;
  z-index: 3;
  padding-bottom: 24px;
  transform: none;
  background: transparent;
}

.project-stage-header .section-topline {
  margin-bottom: 20px;
}

.project-journey {
  position: relative;
  height: auto;
}

.project-journey__sticky {
  position: relative;
  top: 0;
  overflow: visible;
  padding-bottom: 34px;
  transform: none;
}

.project-handoff-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.project-handoff-track {
  display: grid;
  width: 100%;
  align-items: start;
  will-change: auto;
}

.project-stage-panel,
.experience-stage-panel {
  grid-area: 1 / 1;
  min-width: 0;
  width: 100%;
  overflow-x: visible;
  overflow-y: visible;
}

.project-stage-panel {
  transform: none;
}

.experience-stage-panel {
  transform: translate3d(100%, 0, 0);
}

.project-rail {
  --project-card-width: clamp(360px, 34vw, 520px);
  --project-rail-edge-pad: max(24px, calc((100% - var(--project-card-width)) / 2));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--project-card-width);
  gap: clamp(52px, 8vw, 124px);
  align-items: stretch;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding-inline: var(--project-rail-edge-pad);
  padding-bottom: 10px;
  transform: none;
  will-change: auto;
}

.project-rail::-webkit-scrollbar {
  height: 8px;
}

.project-rail::-webkit-scrollbar-thumb {
  background: rgba(14, 14, 18, 0.22);
  border-radius: 999px;
}

.project-card {
  display: block;
  position: relative;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
}

.experience-stage-panel {
  padding-top: 8px;
}

.experience-stage-panel .section-topline {
  margin-bottom: 40px;
}

.project-card--linked {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.project-card--linked:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px rgba(13, 18, 30, 0.16);
}

.project-card__overlay,
.project-card__glow {
  position: absolute;
  pointer-events: none;
}

.project-card__overlay {
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.22;
}

.project-card__glow {
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
}

.project-card__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 1fr) minmax(250px, 0.76fr);
  gap: 16px;
  height: 100%;
  padding: 15px;
}

.project-visual {
  position: relative;
  display: grid;
  align-content: stretch;
  min-height: 100%;
}

.project-scene {
  position: relative;
  width: 100%;
  min-height: 100%;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--project-accent) 22%, transparent) 0%, transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 30px 60px rgba(0, 0, 0, 0.22);
}

.project-scene__backdrop,
.project-scene__grain,
.project-scene__glow,
.project-scene__spotlight {
  position: absolute;
  inset: 0;
}

.project-scene__backdrop {
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--project-accent) 32%, rgba(255, 255, 255, 0.16)) 0%, transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%, rgba(0, 0, 0, 0.3) 100%);
}

.project-scene__grain {
  opacity: 0.24;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 0.8px, transparent 0.8px),
    radial-gradient(rgba(255, 255, 255, 0.05) 0.6px, transparent 0.6px);
  background-size: 24px 24px, 14px 14px;
  background-position: 0 0, 10px 6px;
  mix-blend-mode: screen;
}

.project-scene__glow {
  inset: auto auto -18% -12%;
  width: 62%;
  height: 56%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--project-accent) 55%, transparent) 0%, transparent 72%);
  filter: blur(24px);
  opacity: 0.85;
  animation: projectGlowFloat 9s ease-in-out infinite;
}

.project-scene__spotlight {
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.12) 0%, transparent 26%),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.15) 0%, transparent 26%);
  mix-blend-mode: screen;
}

.project-video {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 10px;
  min-height: 100%;
}

.project-video__timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-video__screen,
.project-video__timeline {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.2);
  backdrop-filter: blur(18px);
}

.project-video__timeline {
  border-radius: 14px;
  padding: 9px 10px;
}

.project-video__screen {
  position: relative;
  min-height: 235px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 42px rgba(0, 0, 0, 0.24);
}

.project-video__screen-glow,
.project-video__beam,
.project-video__horizon,
.project-video__grid,
.project-video__orb,
.project-video__scanlines,
.project-video__noise {
  position: absolute;
}

.project-video__screen-glow {
  inset: -16% -18% auto auto;
  width: 56%;
  height: 56%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--project-accent) 64%, transparent) 0%, transparent 72%);
  filter: blur(18px);
  opacity: 0.9;
}

.project-video__beam {
  inset: 0 auto 0 18%;
  width: 46%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%, color-mix(in srgb, var(--project-accent) 22%, transparent) 54%, transparent 100%);
  transform: skewX(-16deg);
  opacity: 0.42;
  animation: projectBeamSweep 11s ease-in-out infinite;
}

.project-video__scanlines {
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0, transparent 2px, transparent 8px);
  background-size: 100% 8px;
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}

.project-video__noise {
  inset: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.14) 0, transparent 2px),
    radial-gradient(circle at 74% 56%, rgba(255, 255, 255, 0.1) 0, transparent 1.8px),
    radial-gradient(circle at 40% 82%, rgba(255, 255, 255, 0.08) 0, transparent 1.5px);
  background-size: 18% 18%, 22% 22%, 16% 16%;
  opacity: 0.18;
}

.project-elias,
.project-roameo,
.project-sentry,
.project-parfums,
.project-avg {
  position: absolute;
  inset: 0;
}

.project-elias__grid,
.project-roameo__map,
.project-sentry__camera,
.project-avg__track {
  position: absolute;
  inset: 0;
}

.project-elias__grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.22;
}

.project-elias__panel,
.project-roameo__card,
.project-sentry__alert,
.project-avg__export {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 14, 28, 0.58);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.project-elias__panel span,
.project-roameo__card span,
.project-sentry__alert span,
.project-avg__export span {
  display: block;
  margin-top: 4px;
  font-size: 0.74rem;
  opacity: 0.72;
}

.project-elias__panel strong,
.project-roameo__card strong,
.project-sentry__alert strong,
.project-avg__export strong {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  line-height: 1;
}

.project-elias__panel--main {
  top: 52px;
  left: 28px;
  min-width: 124px;
}

.project-elias__panel--main strong {
  font-size: 2rem;
}

.project-elias__panel--side {
  top: 36px;
  right: 28px;
}

.project-elias__site-stack {
  position: absolute;
  left: 34px;
  right: 42px;
  bottom: 34px;
  height: 96px;
}

.project-elias__site-stack span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 160px;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(31, 55, 224, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-elias__site-stack span:nth-child(2) {
  left: 110px;
  top: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(66, 94, 255, 0.28));
}

.project-elias__site-stack span:nth-child(3) {
  left: 220px;
  top: 24px;
}

.project-elias__flow {
  position: absolute;
  left: 180px;
  top: 108px;
  display: flex;
  gap: 18px;
}

.project-elias__flow i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 10px rgba(31, 55, 224, 0.12);
}

.project-roameo__map {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 25% 25%, rgba(56, 112, 255, 0.2), transparent 26%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  opacity: 0.86;
}

.project-roameo__route {
  position: absolute;
  left: 78px;
  top: 92px;
  width: 220px;
  height: 110px;
  border: 2px dashed rgba(111, 144, 255, 0.82);
  border-color: rgba(111, 144, 255, 0.82) transparent transparent transparent;
  border-radius: 180px 180px 0 0;
  transform: rotate(-8deg);
}

.project-roameo__pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #86a1ff;
  box-shadow: 0 0 0 8px rgba(134, 161, 255, 0.16);
}

.project-roameo__pin--one {
  top: 82px;
  left: 74px;
}

.project-roameo__pin--two {
  top: 146px;
  left: 182px;
}

.project-roameo__pin--three {
  top: 104px;
  left: 286px;
}

.project-roameo__card--left {
  left: 28px;
  bottom: 68px;
  max-width: 160px;
}

.project-roameo__card--right {
  right: 28px;
  top: 44px;
  max-width: 168px;
}

.project-roameo__phone {
  position: absolute;
  right: 40px;
  bottom: 20px;
  width: 138px;
  height: 172px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(15, 20, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.project-roameo__phone-top {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 44px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(-50%);
}

.project-roameo__phone-feed {
  position: absolute;
  inset: 32px 14px 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(111, 144, 255, 0.3), transparent 36%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 20px;
}

.project-sentry__camera {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 50% 50%, rgba(217, 72, 58, 0.18), transparent 30%);
}

.project-sentry__camera::before,
.project-sentry__camera::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
}

.project-sentry__camera::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}

.project-sentry__camera::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}

.project-sentry__target {
  position: absolute;
  border: 2px solid rgba(255, 132, 120, 0.9);
  border-radius: 18px;
  box-shadow: 0 0 0 10px rgba(217, 72, 58, 0.08);
}

.project-sentry__target--one {
  left: 78px;
  top: 64px;
  width: 90px;
  height: 118px;
}

.project-sentry__target--two {
  right: 72px;
  bottom: 52px;
  width: 72px;
  height: 84px;
}

.project-sentry__alert {
  right: 26px;
  top: 28px;
  max-width: 176px;
}

.project-sentry__pulse-ring {
  position: absolute;
  left: 108px;
  top: 94px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 132, 120, 0.42);
  box-shadow: 0 0 0 24px rgba(217, 72, 58, 0.08);
}

.project-parfums__glow {
  position: absolute;
  inset: 42px 22% 34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 154, 71, 0.38), transparent 68%);
  filter: blur(20px);
}

.project-parfums__mist {
  position: absolute;
  inset: 26px 20% auto;
  height: 94px;
  background: radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.22), transparent 62%);
  filter: blur(18px);
}

.project-parfums__bottle {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 150px;
  height: 184px;
  transform: translateX(-50%);
}

.project-parfums__cap {
  position: absolute;
  left: 50%;
  top: 0;
  width: 56px;
  height: 34px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(200, 154, 71, 0.34));
  transform: translateX(-50%);
}

.project-parfums__glass {
  position: absolute;
  inset: 28px 0 0;
  border-radius: 34px 34px 24px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(200, 154, 71, 0.18) 42%, rgba(18, 12, 12, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.06),
    0 18px 26px rgba(0, 0, 0, 0.2);
}

.project-parfums__notes {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.project-parfums__notes span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-avg__track {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 28px, 28px 100%;
  opacity: 0.18;
}

.project-avg__frame {
  position: absolute;
  top: 48px;
  width: 112px;
  height: 78px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(55, 179, 168, 0.24)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.14);
}

.project-avg__frame--one {
  left: 34px;
}

.project-avg__frame--two {
  left: 164px;
  top: 64px;
}

.project-avg__frame--three {
  left: 294px;
  top: 80px;
}

.project-avg__pipeline {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 64px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.project-avg__pipeline span {
  flex: 1;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(10, 18, 24, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-avg__export {
  left: 30px;
  bottom: 18px;
  width: 184px;
}

.project-video__frames {
  position: absolute;
  inset: 12px 12px auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.project-video__frame {
  align-self: flex-start;
  max-width: max-content;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: projectFrameCycle 9s infinite;
}

.project-video__frame--2 {
  animation-delay: 1.4s;
}

.project-video__frame--3 {
  animation-delay: 2.8s;
}

.project-video__headline {
  position: absolute;
  inset: auto 14px 52px;
  z-index: 1;
  max-width: 12ch;
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 1.95vw, 1.75rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.project-video__stats {
  position: absolute;
  inset: auto 14px 12px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-video__stat {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 7px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-video__play,
.project-video__time {
  white-space: nowrap;
}

.project-video__track {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.project-video__progress {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--project-accent) 80%, white), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 16px color-mix(in srgb, var(--project-accent) 42%, transparent);
  animation: projectTimelineMove 5.8s ease-in-out infinite;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 2px;
}

.project-copy h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.85rem, 4.3vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.project-copy p {
  margin: 10px 0 0;
  max-width: 54ch;
  line-height: 1.5;
  font-size: 0.91rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
  border-color: rgba(255, 255, 255, 0.14);
}

.project-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.62;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  color: #f2ede3;
  font-weight: 600;
}

.project-link__icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

@keyframes projectGlowFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(4%, -6%, 0) scale(1.08);
  }
}

@keyframes projectBeamSweep {
  0%,
  100% {
    transform: skewX(-16deg) translateX(-6%);
    opacity: 0.24;
  }
  50% {
    transform: skewX(-16deg) translateX(20%);
    opacity: 0.56;
  }
}

@keyframes projectOrbDrift {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-46%) translateY(12px) scale(1.05);
  }
}

@keyframes projectFrameCycle {
  0%,
  18%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
  8%,
  14% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes projectTimelineMove {
  0%,
  100% {
    width: 22%;
    transform: translateX(0);
  }
  50% {
    width: 44%;
    transform: translateX(112%);
  }
}

@keyframes educationGradientDrift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 50% 50%;
  }
  100% {
    background-position: 18% 10%, 82% 14%, 42% 86%, 50% 50%;
  }
}

@keyframes educationGlowPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.62;
  }
  50% {
    transform: translate3d(0, -1.5%, 0) scale(1.04);
    opacity: 0.86;
  }
}

.project-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.project-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(14, 14, 18, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-dot.is-active {
  background: var(--ink);
  transform: scale(1.15);
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 122px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  padding-left: 164px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 117px;
  top: 28px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--bg-2);
}

.timeline-date {
  position: absolute;
  left: 0;
  top: 24px;
  width: 96px;
  font-size: 12px;
  color: rgba(14, 14, 18, 0.54);
}

.experience .timeline-date {
  color: rgba(247, 242, 231, 0.78);
}

.experience .section-kicker {
  color: rgba(247, 242, 231, 0.86);
}

.experience .section-kicker::before {
  background: rgba(247, 242, 231, 0.58);
}

.experience .section-topline h2,
.experience .section-topline h2 span {
  color: #f7f2e7;
}

.timeline-card {
  border-radius: 24px;
  padding: 28px;
}

.timeline-card h3 {
  font-size: 32px;
  line-height: 1.04;
}

.education-card h3 {
  font-size: 30px;
  line-height: 1.08;
}

.timeline-company {
  display: block;
  margin-top: 8px;
  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 600;
}

.timeline-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.timeline-list li {
  position: relative;
  padding-left: 16px;
  font-family: "Times New Roman", Times, serif;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.58;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
}

.education-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  grid-template-areas: "list image";
  gap: 28px;
  align-items: stretch;
}

.education-image-wrap {
  grid-area: image;
  justify-self: end;
  align-self: stretch;
  margin-top: 0;
  width: min(100%, 400px);
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 231, 0.3);
  box-shadow: 0 22px 42px rgba(4, 8, 18, 0.34);
}

.education-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 38% 50%;
}

.education-brand-journey {
  --education-brand-progress: 0;
  --education-brand-shift: 100vw;
  --education-brand-scroll-distance: 100vw;
  --education-brand-hold: 62vh;
  --education-lock-offset: 44px;
  --education-brand-brand-progress: 0;
  position: relative;
  height: auto;
}

.education-brand-journey__sticky {
  position: relative;
  top: 0;
  height: auto;
  overflow: visible;
}

.education-brand-journey__track {
  display: block;
  width: 100%;
  height: auto;
  transform: none;
}

.education-brand-panel {
  min-height: auto;
  display: block;
}

.education-brand-panel > .shell {
  width: min(1280px, calc(100% - 40px));
}

.education-brand-panel.education .shell {
  opacity: 1;
  transform: none;
}

.education-brand-panel.education {
  position: relative;
  background:
    radial-gradient(circle at 16% 22%, rgba(78, 113, 214, 0.34) 0%, transparent 44%),
    radial-gradient(circle at 84% 12%, rgba(53, 155, 138, 0.22) 0%, transparent 36%),
    radial-gradient(circle at 52% 86%, rgba(171, 77, 64, 0.22) 0%, transparent 48%),
    linear-gradient(145deg, #02040d 0%, #060d20 45%, #0b1430 100%);
  color: #f7f2e7;
  background-size: 118% 118%, 126% 126%, 120% 120%, 100% 100%;
  animation: educationGradientDrift 18s ease-in-out infinite alternate;
}

.education-brand-panel.education::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 10, 0.76) 0%, rgba(2, 4, 10, 0.68) 44%, rgba(2, 4, 10, 0.82) 100%),
    radial-gradient(circle at 16% 26%, rgba(2, 4, 10, 0.5), transparent 56%),
    radial-gradient(circle at 84% 68%, rgba(2, 5, 12, 0.44), transparent 48%);
  pointer-events: none;
}

.education-brand-panel.education::after {
  content: "";
  position: absolute;
  inset: -16% -10%;
  background:
    radial-gradient(circle at 20% 34%, rgba(130, 175, 255, 0.32), transparent 32%),
    radial-gradient(circle at 76% 28%, rgba(94, 255, 224, 0.2), transparent 30%),
    radial-gradient(circle at 58% 72%, rgba(255, 142, 124, 0.22), transparent 28%);
  mix-blend-mode: screen;
  opacity: 0.72;
  filter: blur(8px);
  pointer-events: none;
  animation: educationGlowPulse 12s ease-in-out infinite;
}

.education-brand-panel.education > .shell {
  position: relative;
  z-index: 1;
}

.education-brand-panel.education .section-kicker {
  color: rgba(247, 242, 231, 0.86);
}

.education-brand-panel.education .section-kicker::before {
  background: rgba(247, 242, 231, 0.58);
}

.education-brand-panel.education .section-topline h2,
.education-brand-panel.education .section-topline h2 span {
  color: #f7f2e7;
  text-shadow: 0 12px 24px rgba(6, 10, 16, 0.35);
}

.education-brand-panel.personal-brand .shell {
  opacity: 1;
  transform: none;
  filter: none;
}

.education-visual {
  order: 2;
  position: relative;
  min-height: 420px;
  border-radius: 32px;
  padding: 28px;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
}

.education-globe {
  position: relative;
  width: min(95%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 24px 52px rgba(4, 10, 24, 0.32),
    0 10px 24px rgba(4, 10, 24, 0.24);
  overflow: hidden;
  isolation: isolate;
}

.education-globe::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 177, 235, 0.26) 0%, rgba(128, 177, 235, 0.1) 46%, transparent 72%);
  filter: blur(20px);
  z-index: 0;
}

.education-globe__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.16);
  transform-origin: center;
  border-radius: 50%;
  z-index: 1;
}

.education-visual__meta {
  position: absolute;
  left: 24px;
  bottom: 22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(14, 14, 18, 0.48);
}

.education-list {
  grid-area: list;
  order: 1;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.education-list .education-card {
  width: min(100%, 520px);
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(12, 18, 32, 0.7), rgba(12, 18, 32, 0.5));
  border: 1px solid rgba(247, 242, 231, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 34px rgba(4, 8, 18, 0.34);
  backdrop-filter: blur(6px);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.education-list .education-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 242, 231, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 42px rgba(4, 8, 18, 0.42);
}

.education-list .education-card h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2.15vw, 1.88rem);
  line-height: 1.18;
  color: #f7f2e7;
}

.education-card__major {
  margin-top: 6px;
  font-size: clamp(1.02rem, 1.75vw, 1.22rem);
  line-height: 1.22;
  font-weight: 600;
  color: rgba(247, 242, 231, 0.9);
}

.education-card__meta {
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(208, 220, 255, 0.94);
  font-weight: 600;
}

.education-card__locrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
}

.education-card__location {
  margin-top: 0;
  min-width: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(247, 242, 231, 0.84);
}

.education-card__years {
  flex-shrink: 0;
  margin-top: 0;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(128, 177, 235, 0.92);
}

.personal-brand {
  background: var(--text);
  color: var(--bg);
  overflow: hidden;
}

.personal-brand::before,
.personal-brand::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
}

.personal-brand::before {
  top: -280px;
  left: -220px;
  background: radial-gradient(closest-side, rgba(31, 55, 224, 0.55), transparent 70%);
}

.personal-brand::after {
  right: -220px;
  bottom: -320px;
  background: radial-gradient(closest-side, rgba(217, 72, 58, 0.38), transparent 70%);
}

.brand-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 360px);
  align-items: end;
  gap: clamp(20px, 3.2vw, 48px);
  margin-top: 26px;
}

.brand-headline {
  position: relative;
  display: grid;
  gap: 8px;
  font-size: clamp(4rem, 10vw, 9.6rem);
  line-height: 0.92;
}

.brand-headline span {
  display: block;
}

.brand-headline__soft {
  color: rgba(242, 237, 227, 0.64);
}

.brand-photo {
  width: 100%;
  max-width: 360px;
  justify-self: end;
  transform: translateY(-24px);
}

.brand-photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

.brand-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 980px;
  margin-top: 42px;
}

.brand-note p,
.footer-status-card__meta {
  color: rgba(242, 237, 227, 0.82);
  line-height: 1.62;
}

.brand-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 11px;
  color: rgba(242, 237, 227, 0.54);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
}

.contact-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
}

.contact-copy p {
  margin-top: 38px;
  max-width: 34rem;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  justify-items: start;
  text-align: left;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  font-family: "Fraunces", serif;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  line-height: 1.2;
  color: var(--text);
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-email-link:hover {
  color: var(--ink);
}

.contact-socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 18px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(0, 0, 0, 0.04);
  color: #000;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-social-link svg {
  width: 30px;
  height: 30px;
  display: block;
}

.contact-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.36);
  background: rgba(0, 0, 0, 0.09);
  color: #000;
}

.contact-chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 24px 16px 20px;
  border-radius: 22px;
  border-color: rgba(201, 192, 176, 0.9);
  background:
    linear-gradient(138deg, rgba(255, 255, 255, 0.82), rgba(248, 242, 230, 0.88) 62%, rgba(239, 231, 214, 0.96)),
    radial-gradient(circle at 12% -34%, rgba(31, 55, 224, 0.16), transparent 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 34px -24px rgba(20, 18, 12, 0.58);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-chip::before {
  content: "";
  position: absolute;
  inset: -38% auto auto 62%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 55, 224, 0.19) 0%, rgba(31, 55, 224, 0) 70%);
  opacity: 0.72;
  pointer-events: none;
  z-index: -1;
}

.contact-chip::after {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 16px;
  color: rgba(14, 14, 18, 0.46);
  transition: transform 0.24s ease, color 0.24s ease;
}

.contact-chip__label {
  font-size: 10px;
  color: rgba(14, 14, 18, 0.44);
}

.contact-chip span:last-child {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: rgba(14, 14, 18, 0.9);
}

.contact-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 55, 224, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 22px 38px -22px rgba(31, 55, 224, 0.44);
}

.contact-chip:hover::after {
  transform: translateY(-50%) translateX(1px);
  color: rgba(31, 55, 224, 0.88);
}

.contact-form {
  position: relative;
  border-radius: 32px;
  padding: 28px;
  display: grid;
  gap: 18px;
  overflow: hidden;
  background: #2b2b2b;
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f2e7;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 55, 224, 0.1), transparent 70%);
  pointer-events: none;
}

.form-header,
.form-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(247, 242, 231, 0.66);
}

.form-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(247, 242, 231, 0.72);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--bg);
  color: var(--text);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(31, 55, 224, 0.6);
  box-shadow: 0 0 0 4px rgba(31, 55, 224, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.field-error {
  min-height: 16px;
  color: var(--warm);
  font-size: 12px;
}

.form-footer {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-form .form-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  position: relative;
  min-height: 64px;
}

.contact-form .form-footer span {
  width: auto;
  text-align: left;
  transform: translateY(4px);
}

.contact-form .form-footer .primary-cta--compact {
  position: absolute;
  left: 50%;
  top: 68%;
  transform: translate(-50%, -50%);
}

.primary-cta--compact {
  min-height: 46px;
}

.contact-form .primary-cta--compact {
  min-height: 52px;
  padding: 0 24px;
  font-size: 0.88rem;
  background: linear-gradient(135deg, #f7f2e7, #ece3d2);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(0, 0, 0, 0.16);
}

.contact-form .primary-cta--compact:hover {
  background: linear-gradient(135deg, #fbf6ec, #f1e9d9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 24px rgba(0, 0, 0, 0.2);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 28% 0%, rgba(31, 55, 224, 0.16) 0%, transparent 34%),
    linear-gradient(180deg, #020308 0%, #04070f 100%);
  color: rgba(247, 242, 231, 0.8);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.footer-branding,
.footer-nav,
.footer-copyright {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-branding {
  min-width: 0;
  gap: 16px;
}

.footer-branding__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

.footer-branding__mark-image {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.footer-branding__name,
.footer-branding__lab,
.footer-nav button,
.footer-copyright {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-branding__name {
  font-size: 14px;
  color: rgba(247, 242, 231, 0.9);
}

.footer-branding__lab {
  color: rgba(247, 242, 231, 0.42);
  white-space: nowrap;
}

.footer-nav {
  justify-content: center;
  flex: 1;
  align-items: center;
  flex-wrap: nowrap;
  padding-inline: 12px;
  padding-top: 0;
  border-top: 0;
  max-width: none;
  row-gap: 12px;
  column-gap: 30px;
}

.footer-nav button {
  font-size: 12px;
  padding: 0;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  color: rgba(247, 242, 231, 0.62);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-nav button:hover {
  color: rgba(247, 242, 231, 0.94);
}

.footer-copyright {
  font-size: 14px;
  justify-content: flex-end;
  color: rgba(247, 242, 231, 0.48);
  white-space: nowrap;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-width: 240px;
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(14, 14, 18, 0.95);
  color: var(--bg);
  box-shadow: 0 18px 40px rgba(14, 14, 18, 0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

@media (max-width: 1100px) {
  .desktop-nav,
  .social-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .section-grid,
  .education-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-topline {
    grid-template-columns: 1fr;
  }

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

  .project-rail {
    --project-card-width: auto;
    grid-auto-columns: minmax(80%, 1fr);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none;
    padding-inline: 0;
  }

  .project-stage-header {
    position: relative;
    top: 0;
    padding-bottom: 0;
    background: transparent;
  }

  .project-stage-header .section-topline {
    margin-bottom: 56px;
  }

  .project-journey {
    height: auto;
  }

  .project-handoff-track {
    display: block;
    width: 100%;
    transform: none;
  }

  .project-stage-panel,
  .experience-stage-panel {
    grid-area: auto;
    transform: none;
  }

  .project-handoff-viewport {
    overflow: visible;
  }

  .project-stage-panel,
  .experience-stage-panel {
    min-width: auto;
    grid-area: auto;
    transform: none;
  }

  .project-journey__sticky {
    position: relative;
    top: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .experience-stage-panel .section-topline {
    margin-bottom: 56px;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .education-brand-journey {
    height: auto;
  }

  .education-brand-journey__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .education-brand-journey__track {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
  }

  .education-brand-panel {
    min-height: auto;
    display: block;
  }

  .education-brand-panel.education .shell,
  .education-brand-panel.personal-brand .shell {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .project-card__inner {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .footer-meta-block {
    justify-items: start;
  }

  .footer-links,
  .footer-status-card {
    justify-content: flex-start;
  }

  .education-image-wrap {
    justify-self: end;
    align-self: start;
    margin-top: 0;
    width: min(100%, 360px);
    height: auto;
    max-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-scene__glow,
  .project-video__beam,
  .project-video__orb,
  .project-video__frame,
  .project-video__progress {
    animation: none;
  }

  .project-video__frame {
    opacity: 1;
    transform: none;
  }

  .education-brand-panel.education,
  .education-brand-panel.education::after {
    animation: none;
  }

  .project-journey {
    height: auto;
  }

  .project-handoff-track {
    display: block;
    width: 100%;
    transform: none;
  }

  .project-handoff-viewport {
    overflow: visible;
  }

  .project-journey__sticky {
    position: relative;
    top: 0;
    overflow: visible;
  }

  .project-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .education-brand-journey {
    height: auto;
  }

  .education-brand-journey__sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }

  .education-brand-journey__track {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
  }

  .education-brand-panel {
    min-height: auto;
    display: block;
  }

  .education-brand-panel.education .shell,
  .education-brand-panel.personal-brand .shell {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 760px) {
  .projects-heading {
    white-space: normal;
  }

  .site-header .shell {
    width: 100%;
  }

  .nav-bar {
    min-height: 56px;
    padding: 8px 16px;
    gap: 12px;
  }

  .header-logo img {
    width: 92px;
  }

  .resume-header__inner,
  .resume-shell {
    width: min(100%, calc(100% - 24px));
  }

  .resume-header__inner {
    min-height: 68px;
  }

  .resume-back,
  .resume-download {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.95rem;
  }

  .resume-main {
    padding-top: 28px;
  }

  .resume-viewer,
  .resume-viewer iframe {
    min-height: 72vh;
  }

  .cursor-glow {
    display: none;
  }

  .issue-line__group--status,
  .scroll-prompt {
    display: none;
  }

  .hero {
    --hero-focus-x: 71%;
    --hero-focus-y: 46%;
  }

  :root {
    --skills-section-top-pad: clamp(94px, 14vh, 132px);
  }

  .expertise {
    --skills-reveal-origin-x: 68%;
    --skills-reveal-origin-y: 2%;
    border-radius: 28px 28px 0 0;
  }

  .hero-intro,
  .brand-note,
  .brand-hero {
    grid-template-columns: 1fr;
  }

  .brand-photo {
    justify-self: start;
    max-width: 300px;
  }

  .hero-metrics,
  .stat-grid,
  .footnotes,
  .form-row {
    grid-template-columns: 1fr;
  }

  .skill-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-controls {
    justify-content: flex-start;
  }

  .project-journey {
    height: auto;
  }

  .project-journey__sticky {
    position: relative;
    top: 0;
    overflow: visible;
  }

  .project-rail {
    grid-auto-columns: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-card {
    min-height: auto;
    scroll-snap-align: start;
  }

  .project-card__inner {
    padding: 20px;
  }

  .project-video__screen {
    min-height: 340px;
  }

  .project-video__headline {
    inset: auto 20px 84px;
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .project-video__stats {
    inset: auto 20px 22px;
  }

  .hero__content {
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .hero__image {
    inset: 0;
    background-position: calc(var(--hero-focus-x) + 1%) calc(var(--hero-focus-y) - 4%);
    transform-origin: calc(var(--hero-focus-x) + 2%) calc(var(--hero-focus-y) - 1%);
  }

  .project-scene {
    width: 100%;
    min-height: 260px;
  }

  .timeline::before,
  .timeline-item::before,
  .timeline-date {
    display: none;
  }

  .timeline-item {
    padding-left: 0;
  }

  .site-footer {
    padding: 22px 0;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-height: auto;
  }

  .footer-branding__mark-image {
    width: 54px;
    height: 54px;
  }

  .footer-branding__name,
  .footer-nav button,
  .footer-copyright {
    font-size: 14px;
  }

  .footer-nav button {
    font-size: 11px;
  }

  .footer-branding__name {
    font-size: 12px;
  }

  .footer-copyright {
    font-size: 13px;
  }

  .footer-branding__lab {
    display: none;
  }

  .footer-nav {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    flex-wrap: nowrap;
    gap: 24px;
    overflow-x: auto;
  }

  .footer-copyright {
    justify-content: flex-start;
    white-space: normal;
  }
}
