:root {
  --ink: #08090c;
  --ink-soft: #0d0e13;
  --panel: #111219;
  --paper: #f1f0eb;
  --muted: #99999f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --violet: #b68cff;
  --violet-bright: #cfb6ff;
  --lime: #d8ff72;
  --sans: "Manrope", Arial, sans-serif;
  --display: "Syne", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --header-height: 86px;
  --page-pad: clamp(1.25rem, 4vw, 4.75rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--violet) var(--ink);
  scrollbar-width: thin;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open,
body.loading {
  overflow: hidden;
}

::selection {
  background: var(--violet);
  color: var(--ink);
}

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

button {
  color: inherit;
  font: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  position: fixed;
  z-index: 80;
}

.ambient-light {
  background: radial-gradient(circle, rgba(182, 140, 255, 0.09), transparent 65%);
  height: 520px;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%);
  width: 520px;
  z-index: 1;
}

.cursor-dot,
.cursor-halo {
  border-radius: 50%;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.cursor-dot {
  background: var(--paper);
  height: 5px;
  width: 5px;
}

.cursor-halo {
  border: 1px solid rgba(255, 255, 255, 0.45);
  height: 34px;
  transition: height 250ms ease, width 250ms ease, background 250ms ease;
  width: 34px;
}

.cursor-halo.is-active {
  background: rgba(182, 140, 255, 0.13);
  border-color: var(--violet);
  height: 54px;
  width: 54px;
}

.page-loader {
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: clip-path 900ms cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 200;
}

.page-loader.is-hidden {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.loader-wordmark {
  display: flex;
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 1;
}

.loader-wordmark span {
  animation: loaderLetter 700ms both;
}

.loader-wordmark span:nth-child(2) {
  animation-delay: 90ms;
}

.loader-wordmark span:nth-child(3) {
  animation-delay: 180ms;
  color: #7b3eff;
}

.loader-line {
  background: rgba(8, 9, 12, 0.16);
  height: 2px;
  margin-top: 1.8rem;
  overflow: hidden;
  width: min(240px, 62vw);
}

.loader-line span {
  animation: loaderLine 1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  background: var(--ink);
  display: block;
  height: 100%;
}

.page-loader p {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  margin-top: 0.8rem;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 9, 12, 0.72);
  border-bottom: 1px solid transparent;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-height);
  left: 0;
  padding: 0 var(--page-pad);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 300ms ease, border-color 300ms ease, transform 300ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.85rem;
  justify-self: start;
}

.brand-mark {
  align-items: center;
  background: var(--paper);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  height: 41px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 41px;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-meta strong {
  font-size: 0.76rem;
  font-weight: 600;
}

.brand-meta small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  margin-top: 0.25rem;
  text-transform: uppercase;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(1.35rem, 2.5vw, 2.8rem);
}

.desktop-nav a {
  color: #aaaab0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  background: var(--violet);
  bottom: -0.55rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
  width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--paper);
}

.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  align-items: center;
  display: flex;
  font-size: 0.76rem;
  font-weight: 600;
  gap: 0.75rem;
  justify-self: end;
}

.header-cta svg {
  height: 1rem;
  transition: transform 200ms ease;
  width: 1rem;
}

.header-cta:hover svg {
  transform: translateX(4px);
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-self: end;
  position: relative;
  width: 42px;
  z-index: 3;
}

.menu-toggle span {
  background: var(--paper);
  height: 1px;
  left: 9px;
  position: absolute;
  transition: transform 250ms ease, top 250ms ease;
  width: 24px;
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 25px;
}

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

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

.mobile-menu {
  background: rgba(8, 9, 12, 0.98);
  clip-path: inset(0 0 100% 0);
  inset: 0;
  pointer-events: none;
  position: fixed;
  transition: clip-path 650ms cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 40;
}

.mobile-menu.is-open {
  clip-path: inset(0);
  pointer-events: auto;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: calc(var(--header-height) + 2rem) var(--page-pad) 2rem;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

.mobile-menu nav a {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-family: var(--display);
  font-size: clamp(2.4rem, 10vw, 4.5rem);
  font-weight: 700;
  gap: 1.2rem;
  letter-spacing: -0.05em;
  line-height: 1.28;
}

.mobile-menu nav a span {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0;
}

.mobile-menu-footer {
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.mobile-menu-footer p {
  color: var(--muted);
}

.section-shell {
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.hero {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-height) + 2rem) var(--page-pad) 2rem;
  position: relative;
}

.hero-grid,
.contact-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
  position: absolute;
}

.hero-orb,
.contact-orb {
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  position: absolute;
}

.hero-orb-one {
  background: radial-gradient(circle at 35% 35%, rgba(207, 182, 255, 0.72), rgba(97, 38, 213, 0.12) 46%, transparent 72%);
  height: min(61vw, 760px);
  right: -18vw;
  top: 7vh;
  width: min(61vw, 760px);
}

.hero-orb-two {
  background: rgba(216, 255, 114, 0.08);
  filter: blur(100px);
  height: 320px;
  left: -10rem;
  top: 45%;
  width: 320px;
}

.hero-topline {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.status-dot {
  animation: pulse 2s infinite;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(216, 255, 114, 0.1);
  height: 6px;
  margin-right: 0.75rem;
  width: 6px;
}

.hero-location {
  color: var(--muted);
  margin-left: auto;
}

.hero-copy {
  margin: auto 0;
  padding: clamp(3rem, 7vh, 6rem) 0;
  position: relative;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  color: var(--violet-bright);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(4rem, 10.6vw, 10.25rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
  margin-top: 1.65rem;
  max-width: 1400px;
  text-transform: uppercase;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
}

.title-word {
  display: block;
  transform: translateY(115%);
}

body.is-ready .title-word {
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.is-ready .title-line:nth-child(2) .title-word {
  transition-delay: 120ms;
}

body.is-ready .title-line:nth-child(3) .title-word {
  transition-delay: 240ms;
}

.title-line-shift {
  padding-left: 10vw;
}

.title-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(241, 240, 235, 0.75);
}

.title-accent {
  background: linear-gradient(90deg, var(--paper) 0%, var(--violet-bright) 55%, #7a3cff 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-bottom {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(250px, 430px) 1fr auto;
  position: relative;
  z-index: 2;
}

.hero-summary {
  color: #b1b1b5;
  font-size: clamp(0.88rem, 1.2vw, 1.04rem);
  line-height: 1.75;
}

.circle-link {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 0.58rem;
  gap: 0.8rem;
  height: 112px;
  justify-content: center;
  justify-self: center;
  letter-spacing: 0.04em;
  position: relative;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
  width: 112px;
}

.circle-link:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--ink);
}

.circle-link svg {
  height: 1rem;
  width: 1rem;
}

.hero-counter {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.hero-counter span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
}

.hero-counter strong {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.scroll-cue {
  align-items: center;
  bottom: 2rem;
  display: flex;
  gap: 0.75rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center;
}

.scroll-cue span {
  color: #77777c;
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue i {
  background: var(--line-strong);
  height: 1px;
  overflow: hidden;
  position: relative;
  width: 42px;
}

.scroll-cue i::after {
  animation: scrollLine 1.8s infinite;
  background: var(--paper);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.intro,
.experience,
.skills,
.credentials {
  padding-bottom: clamp(6rem, 12vw, 11rem);
  padding-top: clamp(6rem, 12vw, 11rem);
  position: relative;
}

.intro {
  background: var(--paper);
  color: var(--ink);
}

.section-label {
  align-items: center;
  border-bottom: 1px solid currentColor;
  display: flex;
  font-family: var(--mono);
  font-size: 0.62rem;
  justify-content: space-between;
  letter-spacing: 0.1em;
  margin-bottom: clamp(4rem, 8vw, 7.5rem);
  opacity: 0.7;
  padding-bottom: 0.8rem;
  text-transform: uppercase;
}

.intro-layout {
  display: grid;
  gap: clamp(3rem, 9vw, 9rem);
  grid-template-columns: 1.1fr 0.8fr;
}

.display-heading {
  font-family: var(--display);
  font-size: clamp(3rem, 6.7vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.display-heading em {
  color: var(--violet);
  font-family: Georgia, serif;
  font-weight: 400;
}

.intro-body {
  padding-top: 1rem;
}

.intro-body > p {
  color: #55555b;
  margin-bottom: 1.5rem;
  max-width: 590px;
}

.intro-body .lead {
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.62rem);
  line-height: 1.5;
}

.intro-facts {
  border-top: 1px solid rgba(8, 9, 12, 0.15);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  padding-top: 1.4rem;
}

.intro-facts div {
  display: flex;
  flex-direction: column;
}

.intro-facts span {
  color: #77777e;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.intro-facts strong {
  font-size: 0.72rem;
  margin-top: 0.45rem;
}

.principles {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(5rem, 10vw, 9rem);
}

.principle-card {
  border: 1px solid rgba(8, 9, 12, 0.15);
  margin-right: -1px;
  min-height: 380px;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  position: relative;
  transform-style: preserve-3d;
  transition: background 350ms ease, color 350ms ease;
}

.principle-card > span {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.principle-icon {
  margin: 4rem 0;
  width: 60px;
}

.principle-icon svg {
  stroke-width: 1;
}

.principle-card h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

.principle-card p {
  color: #66666d;
  font-size: 0.85rem;
  max-width: 290px;
  transition: color 350ms ease;
}

.principle-card:hover {
  background: var(--ink);
  color: var(--paper);
}

.principle-card:hover p {
  color: #aaaab0;
}

.experience {
  background: var(--ink);
}

.section-intro {
  align-items: end;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.3fr 0.7fr;
  margin-bottom: clamp(5rem, 10vw, 9rem);
}

.section-intro > p {
  color: var(--muted);
  font-size: 0.94rem;
  justify-self: end;
  max-width: 440px;
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-item {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: 70px minmax(150px, 0.5fr) 1.4fr 110px;
  min-height: 440px;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem) 0;
  position: relative;
}

.experience-item + .experience-item {
  border-top: 1px solid var(--line);
}

.experience-item::before {
  background: linear-gradient(90deg, transparent, rgba(182, 140, 255, 0.055), transparent);
  content: "";
  inset: 0;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 350ms ease, transform 800ms ease;
}

.experience-item:hover::before {
  opacity: 1;
  transform: translateX(30%);
}

.experience-index {
  display: flex;
  flex-direction: column;
  font-family: var(--mono);
  font-size: 0.62rem;
  gap: 1rem;
  grid-column: 1;
}

.experience-index i {
  background: var(--violet);
  height: 52px;
  width: 1px;
}

.experience-company p {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 700;
}

.experience-company {
  grid-column: 2;
  min-width: 0;
}

.experience-company span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.experience-content,
.experience-company,
.experience-index,
.experience-mark {
  position: relative;
  z-index: 1;
}

.experience-content {
  grid-column: 3;
  min-width: 0;
}

.experience-content h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.1vw, 3.3rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
  margin: 1.2rem 0 1.5rem;
  max-width: 780px;
}

.experience-content > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 710px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin-top: 2rem;
}

.tag-list li,
.skill-pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.58rem;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
}

.experience-mark {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--violet);
  display: flex;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  height: 94px;
  justify-content: center;
  letter-spacing: -0.08em;
  grid-column: 4;
  transition: background 300ms ease, color 300ms ease, transform 300ms ease;
  width: 94px;
}

.experience-item:hover .experience-mark {
  background: var(--violet);
  color: var(--ink);
  transform: rotate(8deg);
}

.skills {
  background: #dfe1dc;
  color: var(--ink);
}

.skills-layout {
  align-items: start;
  display: grid;
  gap: clamp(4rem, 10vw, 9rem);
  grid-template-columns: 0.8fr 1fr;
}

.skills-sticky {
  position: sticky;
  top: calc(var(--header-height) + 2.5rem);
}

.skills-sticky > p:not(.eyebrow) {
  color: #5f6062;
  margin: 2rem 0;
  max-width: 500px;
}

.text-link {
  align-items: center;
  border-bottom: 1px solid rgba(8, 9, 12, 0.35);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.65rem;
  gap: 2rem;
  padding: 0.6rem 0;
  text-transform: uppercase;
}

.text-link svg {
  height: 1rem;
  width: 1rem;
}

.skill-groups {
  border-top: 1px solid rgba(8, 9, 12, 0.18);
}

.skill-group {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 55px 1fr;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.skill-group + .skill-group {
  border-top: 1px solid rgba(8, 9, 12, 0.18);
}

.skill-number {
  font-family: var(--mono);
  font-size: 0.62rem;
}

.skill-group h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  margin: 1rem 0;
}

.skill-group > div > p:not(.eyebrow) {
  color: #5f6062;
  max-width: 560px;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.7rem;
}

.skill-pills span {
  border-color: rgba(8, 9, 12, 0.25);
}

.credentials {
  background: #0b0c10;
}

.credentials-intro {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.education-card {
  background: linear-gradient(135deg, #191724, #101117 65%);
  border: 1px solid var(--line);
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.55fr 1.4fr 0.4fr;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  transform-style: preserve-3d;
}

.education-card::after {
  background: var(--violet);
  border-radius: 50%;
  content: "";
  filter: blur(90px);
  height: 250px;
  opacity: 0.16;
  position: absolute;
  right: -40px;
  top: -70px;
  width: 250px;
}

.education-year {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 0.65rem;
  gap: 1rem;
}

.education-year i {
  background: var(--line-strong);
  height: 1px;
  width: 40px;
}

.education-card h3 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.4rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 1.1rem 0 1.5rem;
}

.education-card p:not(.eyebrow) {
  color: var(--muted);
}

.education-symbol {
  align-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  max-width: 130px;
  position: relative;
  z-index: 1;
}

.education-symbol span {
  color: var(--violet);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
}

.certification-header {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: clamp(5rem, 10vw, 9rem) 0 2rem;
}

.certification-header h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.certification-header p {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.certification-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.certificate {
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto 1fr;
  min-height: 240px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  transition: background 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.certificate:hover {
  background: #171820;
  border-color: rgba(182, 140, 255, 0.45);
  transform: translateY(-5px);
}

.certificate-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  text-transform: uppercase;
}

.certificate-icon {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  font-family: var(--mono);
  font-size: 0.58rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.certificate h3 {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.certificate p {
  color: var(--violet-bright);
  font-family: var(--mono);
  font-size: 0.62rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.certificate-wide {
  grid-column: 1 / -1;
  grid-template-columns: auto 1fr auto;
  min-height: 190px;
}

.certificate-arrow {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 1rem;
}

.certificate-arrow svg {
  height: 1.2rem;
  width: 1.2rem;
}

.contact {
  background: #0c0a10;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.contact-orb {
  background: radial-gradient(circle at center, rgba(182, 140, 255, 0.42), rgba(89, 32, 187, 0.1) 43%, transparent 70%);
  height: min(90vw, 1000px);
  right: -32vw;
  top: -20vw;
  width: min(90vw, 1000px);
}

.contact-grid {
  mask-image: linear-gradient(to top, black, transparent);
}

.contact-top {
  padding-bottom: clamp(6rem, 11vw, 10rem);
  padding-top: clamp(6rem, 11vw, 10rem);
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(4rem, 11.5vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.82;
  margin: 1.8rem 0 clamp(4rem, 8vw, 7rem);
  text-transform: uppercase;
}

.contact-title em {
  color: var(--violet);
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
}

.contact-actions {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-email,
.contact-phone {
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  position: relative;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.contact-email > span,
.contact-phone > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.contact-email strong,
.contact-phone strong {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
}

.contact-email svg {
  height: 1.6rem;
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 250ms ease;
  width: 1.6rem;
}

.contact-email:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--ink);
}

.contact-email:hover > span {
  color: rgba(8, 9, 12, 0.6);
}

.contact-email:hover svg {
  transform: translate(5px, -50%);
}

.contact-phone:hover {
  background: var(--paper);
  color: var(--ink);
}

.contact-phone:hover > span {
  color: #65656a;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr auto;
  padding: 2.5rem var(--page-pad);
  position: relative;
  z-index: 1;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 1rem;
}

.footer-brand p,
.footer-location,
.copyright {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.footer-location {
  justify-self: center;
}

.back-to-top {
  align-items: center;
  display: flex;
  font-family: var(--mono);
  font-size: 0.58rem;
  gap: 0.8rem;
  text-transform: uppercase;
}

.back-to-top svg {
  height: 1rem;
  width: 1rem;
}

.copyright {
  grid-column: 1 / -1;
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes loaderLetter {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderLine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(216, 255, 114, 0.08);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(216, 255, 114, 0);
  }
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  50%,
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1050px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .experience-item {
    grid-template-columns: 50px 0.45fr 1.4fr;
  }

  .experience-mark {
    display: none;
  }

  .principle-card {
    min-height: 350px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .cursor-dot,
  .cursor-halo,
  .ambient-light {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 15.7vw, 7rem);
  }

  .title-line-shift {
    padding-left: 0;
  }

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

  .circle-link {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .intro-layout,
  .section-intro,
  .skills-layout {
    grid-template-columns: 1fr;
  }

  .section-intro > p {
    justify-self: start;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: auto;
  }

  .principle-icon {
    margin: 3rem 0;
  }

  .skills-sticky {
    position: static;
  }

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

  .education-symbol {
    height: 100px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr auto;
  }

  .footer-location {
    display: none;
  }
}

@media (max-width: 620px) {
  .brand-meta {
    display: none;
  }

  .hero {
    min-height: 850px;
    padding-bottom: 1.25rem;
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .hero-topline p {
    font-size: 0.56rem;
  }

  .hero-location {
    display: none;
  }

  .hero-copy {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11.25vw, 4.25rem);
    line-height: 0.88;
  }

  .hero-summary {
    font-size: 0.82rem;
  }

  .hero-counter strong {
    font-size: 2rem;
  }

  .section-label {
    margin-bottom: 3.5rem;
  }

  .intro-facts {
    grid-template-columns: 1fr;
  }

  .intro-facts div + div {
    border-top: 1px solid rgba(8, 9, 12, 0.12);
    padding-top: 1rem;
  }

  .experience-item {
    gap: 1.2rem;
    grid-template-columns: 36px 1fr;
    padding: 2.8rem 0;
  }

  .experience-company {
    grid-column: 2;
  }

  .experience-content {
    grid-column: 2;
  }

  .experience-content h3 {
    font-size: 1.75rem;
  }

  .skill-group {
    grid-template-columns: 35px 1fr;
  }

  .certification-header {
    align-items: start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .certification-grid {
    grid-template-columns: 1fr;
  }

  .certificate,
  .certificate-wide {
    grid-column: auto;
    grid-template-columns: auto 1fr;
    min-height: 220px;
  }

  .certificate-arrow {
    display: none;
  }

  .contact-title {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .contact-email strong,
  .contact-phone strong {
    font-size: 0.92rem;
  }

  .contact-email svg {
    right: 1.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .back-to-top,
  .copyright {
    justify-self: start;
  }

  .mobile-menu-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (hover: none) {
  .cursor-dot,
  .cursor-halo,
  .ambient-light {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .page-loader {
    display: none;
  }

  .title-word {
    transform: none;
  }

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

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

/* Restrained dark revision */
.grain {
  opacity: 0.018;
}

.status-dot {
  animation: none;
  box-shadow: none;
}

.title-accent {
  background: none;
  color: var(--paper);
  -webkit-text-fill-color: currentColor;
}

.intro,
.skills {
  background: #0f1013;
  color: var(--paper);
}

.intro {
  border-top: 1px solid var(--line);
}

.intro-body > p,
.principle-card p,
.skills-sticky > p:not(.eyebrow),
.skill-group > div > p:not(.eyebrow) {
  color: var(--muted);
}

.intro-body .lead {
  color: var(--paper);
}

.intro-facts,
.skill-groups,
.skill-group + .skill-group {
  border-color: var(--line);
}

.intro-facts span {
  color: var(--muted);
}

.principle-card {
  border-color: var(--line);
  transform-style: flat;
}

.principle-card:hover {
  background: #15161a;
}

.principle-card:hover p {
  color: var(--muted);
}

.experience-item::before,
.education-card::after {
  content: none;
}

.experience-item:hover .experience-mark {
  background: transparent;
  color: var(--paper);
  transform: none;
}

.skills {
  border-top: 1px solid var(--line);
}

.text-link {
  border-color: var(--line-strong);
}

.tech-stack {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-top: 1.8rem;
}

.tech-item {
  align-items: center;
  background: #131419;
  border: 1px solid var(--line);
  display: flex;
  gap: 0.85rem;
  min-height: 72px;
  padding: 0.85rem 1rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.tech-item:hover {
  background: #17181d;
  border-color: var(--line-strong);
}

.tech-logo {
  color: #c2c2c7;
  flex: 0 0 34px;
  height: 34px;
  stroke-width: 1.35;
  width: 34px;
}

.tech-logo circle {
  fill: currentColor;
  stroke: none;
}

.tech-item span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.soft-skill-list span {
  border-color: var(--line);
}

.credentials {
  border-top: 1px solid var(--line);
}

.education-card {
  background: #121318;
  transform-style: flat;
}

.certificate {
  background: #111216;
}

.certificate:hover {
  background: #15161a;
  border-color: var(--line-strong);
  transform: none;
}

.contact {
  background: #0b0c0f;
  border-top: 1px solid var(--line);
}

.contact-grid {
  mask-image: none;
  opacity: 0.55;
}

.contact-email,
.contact-phone {
  background: #0d0e12;
}

.contact-email:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.contact-phone:hover {
  border-color: var(--paper);
}

@media (max-width: 620px) {
  .tech-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-item {
    min-height: 64px;
    padding: 0.75rem;
  }

  .tech-logo {
    flex-basis: 30px;
    height: 30px;
    width: 30px;
  }
}
