﻿:root {
  --ink: #07090d;
  --ink-2: #0c1018;
  --panel: #10151f;
  --panel-2: #161d2a;
  --line: rgba(196, 162, 101, 0.22);
  --line-soft: rgba(232, 224, 208, 0.08);
  --gold: #c4a265;
  --gold-2: #e0c48a;
  --gold-dim: rgba(196, 162, 101, 0.12);
  --ivory: #ece6d8;
  --ivory-dim: rgba(236, 230, 216, 0.62);
  --muted: #8d8778;
  --danger: #c45c4a;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
  --gutter: clamp(1rem, 4.5vw, 4.5rem);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ivory);
  background: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(196, 162, 101, 0.22);
}
ul { margin: 0; padding: 0; list-style: none; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: #2a2418;
  border: 2px solid var(--ink);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

.cursor {
  pointer-events: none;
  position: fixed;
  z-index: 90;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--gold);
  mix-blend-mode: difference;
  transition: transform 0.18s var(--ease), opacity 0.2s;
  opacity: 0;
}

.cursor.ring {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: transparent;
  border: 1px solid rgba(196, 162, 101, 0.45);
  mix-blend-mode: normal;
  transition: transform 0.35s var(--ease), width 0.25s, height 0.25s, margin 0.25s, border-color 0.25s;
}

body.has-cursor { cursor: none; }
body.has-cursor a,
body.has-cursor button { cursor: none; }
body.has-cursor .cursor { opacity: 1; }
body.menu-open {
  overflow: hidden;
}

body.menu-open .nav {
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  text-align: center;
}

.loader-au {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.loader-bar {
  width: 92px;
  height: 1px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform-origin: left;
  animation: load 1.1s var(--ease) forwards;
}

@keyframes load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: calc(var(--nav-h) + var(--safe-top));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--safe-top) max(var(--gutter), var(--safe-right)) 0 max(var(--gutter), var(--safe-left));
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.55) 70%, transparent);
  transition: transform 0.45s var(--ease), background 0.3s;
}

.nav.hide { transform: translateY(-110%); }
.nav.hide + .nav-links { transform: translate(-50%, -110%); }
.nav.solid {
  background: rgba(7, 9, 13, 0.92);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: var(--nav-h);
  z-index: 2;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  z-index: 61;
  transition: transform 0.45s var(--ease);
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-2); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  height: var(--nav-h);
  z-index: 2;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--line);
}

.lang button {
  min-width: 38px;
  padding: 0.35rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.lang button.is-on {
  color: var(--ink);
  background: var(--gold);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1px;
  background: var(--ivory);
  transition: 0.3s var(--ease);
}

.menu-btn span { top: 22px; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + var(--safe-top) + 2rem) max(var(--gutter), var(--safe-right)) 3.5rem max(var(--gutter), var(--safe-left));
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(196, 162, 101, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 8% 90%, rgba(196, 162, 101, 0.07), transparent 50%),
    linear-gradient(180deg, #0a0e16 0%, var(--ink) 100%);
}

.hero-watermark {
  position: absolute;
  right: -4vw;
  top: 8vh;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 162, 101, 0.13);
  user-select: none;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  right: 8%;
  top: 22%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196, 162, 101, 0.18);
  border-radius: 50%;
  animation: spin 48s linear infinite;
}

.orbit-ring:nth-child(2) {
  inset: 12%;
  border-style: dashed;
  animation-duration: 72s;
  animation-direction: reverse;
}

.orbit-ring:nth-child(3) {
  inset: 28%;
  animation-duration: 36s;
}

.orbit-core {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  background: rgba(7, 9, 13, 0.55);
}

.orbit-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.7);
}

.orbit-chip:nth-of-type(1) { top: 8%; left: 42%; }
.orbit-chip:nth-of-type(2) { top: 46%; right: -8%; }
.orbit-chip:nth-of-type(3) { bottom: 12%; left: 18%; }

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-role {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.hero-lead {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: var(--ivory-dim);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.btn.solid {
  background: var(--gold);
  color: var(--ink);
}

.btn.ghost { color: var(--gold-2); }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 3.2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--gold), transparent);
  writing-mode: horizontal-tb;
}

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 16, 24, 0.75);
}

.stat {
  padding: 1.7rem var(--gutter);
  border-right: 1px solid var(--line-soft);
}

.stat:last-child { border-right: 0; }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */
.section,
.hero,
.stats {
  scroll-margin-top: calc(var(--nav-h) - 8px);
}

.section {
  position: relative;
  padding: clamp(3.2rem, 8vh, 8rem) max(var(--gutter), var(--safe-right)) clamp(3.2rem, 8vh, 8rem) max(var(--gutter), var(--safe-left));
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem 2rem;
  align-items: end;
  margin-bottom: 3.2rem;
  max-width: 72rem;
}

.section-index {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 500;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  line-height: 1;
}

.section-kicker {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  grid-column: 2;
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  margin: 0 0 2.4rem;
  opacity: 0.55;
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  max-width: 72rem;
}

.profile-copy p {
  margin: 0 0 1.15rem;
  color: var(--ivory-dim);
  font-size: 1.04rem;
}

.quote {
  margin: 0;
  padding: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(196, 162, 101, 0.06), transparent);
}

.quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--ivory);
}

.quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Expertise */
.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  max-width: 72rem;
}

.chip {
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--gold-2);
    color: var(--ink);
    transform: translateY(-1px);
  }
  .chip:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-2px);
  }
  .role-card:hover { border-color: var(--line); }
  .contact-list a:hover { color: var(--gold-2); }
}

/* Career */
.timeline {
  position: relative;
  max-width: 72rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(196, 162, 101, 0.08));
}

.role {
  position: relative;
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 2.4rem;
  padding: 0 0 3.4rem 0;
}

.role::after {
  content: "";
  position: absolute;
  left: 10.5rem;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px var(--ink);
}

.role-period {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 0.35rem;
}

.role-card {
  padding: 1.5rem 1.6rem 1.35rem;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(22, 29, 42, 0.7), rgba(16, 21, 31, 0.4));
  transition: border-color 0.25s;
  min-width: 0;
}

.role-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.role-org {
  margin: 0.45rem 0 0;
  color: var(--gold-2);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.role-place {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.role-summary {
  margin: 1rem 0 0;
  color: var(--ivory-dim);
}

.role-card ul {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.role-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.role-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* Leadership */
.lead-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  max-width: 72rem;
}

.lead-card,
.edu-card,
.lang-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  background: var(--panel);
}

.lead-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.lead-card h3,
.edu-card h3 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.areas span {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ivory-dim);
}

/* Education */
.edu-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.2rem;
  max-width: 72rem;
}

.edu-list {
  display: grid;
  gap: 1rem;
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
}

.edu-org { margin: 0.25rem 0 0; color: var(--gold-2); }
.edu-note { margin: 0.7rem 0 0; color: var(--ivory-dim); font-size: 0.95rem; }

.lang-card h4 {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.lang-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.lang-row:last-child { border-bottom: 0; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 72rem;
  align-items: start;
}

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

.contact-list a,
.contact-list span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.02rem;
  min-width: 0;
  transition: color 0.2s;
}

.contact-list a > span,
.contact-list > span > span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-list small {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(var(--gutter), var(--safe-right)) max(1.6rem, calc(1rem + var(--safe-bottom))) max(var(--gutter), var(--safe-left));
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

.hero h1,
.section-title,
.role-card h3,
.lead-card h3,
.edu-card h3,
.hero-role,
.kicker {
  overflow-wrap: break-word;
}

.section-head,
.profile-grid,
.chips,
.lead-grid,
.edu-grid,
.contact-wrap,
.role-card,
.quote {
  min-width: 0;
}

/* Compact + mobile */
@media (max-width: 1100px) {
  :root { --nav-h: 64px; }

  .nav-links {
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    transform: translateX(110%);
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--nav-h) + var(--safe-top) + 1.75rem) max(1.5rem, var(--safe-right)) max(2rem, var(--safe-bottom)) max(1.5rem, var(--safe-left));
    background: var(--ink);
    transition: transform 0.4s var(--ease);
    z-index: 55;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.menu-open .nav-links { transform: none; }

  .nav-links a {
    font-size: clamp(1.6rem, 8vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
    font-family: var(--font-display);
    text-transform: none;
    color: var(--ivory);
    padding: 0.85rem 0;
    min-height: 52px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links a:last-child { border-bottom: 0; }

  .menu-btn { display: block; }
  .brand-name { display: none; }
  .hero-orbit { display: none; }
  .hero-scroll { display: none; }
  .hero-watermark {
    opacity: 0.4;
    top: auto;
    bottom: 4%;
    right: -6vw;
    font-size: min(42vw, 9rem);
    max-width: 100%;
  }

  .nav {
    padding: var(--safe-top) max(0.85rem, var(--safe-right)) 0 max(0.85rem, var(--safe-left));
  }
  .nav-end { gap: 0.4rem; }

  .lang button {
    min-width: 40px;
    min-height: 40px;
    padding: 0.4rem 0.35rem;
    font-size: 0.68rem;
  }

  .hero {
    align-items: start;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + var(--safe-top) + 1.6rem);
    padding-bottom: 2.2rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 4.2rem);
    max-width: 100%;
  }

  .hero-role {
    letter-spacing: 0.18em;
    font-size: 0.78rem;
  }

  .kicker {
    letter-spacing: 0.12em;
    font-size: 0.62rem;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    max-width: 100%;
  }

  .hero-lead { font-size: 0.98rem; }

  .stats,
  .chips { grid-template-columns: 1fr 1fr; }

  .stat { padding: 1.15rem 1rem; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }

  .profile-grid,
  .lead-grid,
  .edu-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .section-head {
    gap: 0.7rem 1rem;
    margin-bottom: 1.8rem;
  }

  .section-index { font-size: 2.4rem; }

  .timeline::before { left: 0.35rem; }

  .role {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-left: 1.45rem;
    padding-bottom: 2rem;
  }

  .role::after { left: 0.35rem; }
  .role-period { padding-top: 0; }

  .cursor,
  .cursor.ring { display: none !important; }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1.6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.95rem 1rem;
  }

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

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

  .section-title { max-width: none; font-size: clamp(1.7rem, 8vw, 2.35rem); }

  .quote { padding: 1.25rem; }
  .quote p { font-size: 1.2rem; }

  .role-card,
  .lead-card,
  .edu-card,
  .lang-card { padding: 1.15rem 1.1rem; }

  .role-card h3,
  .lead-card h3,
  .edu-card h3 { font-size: 1.28rem; }

  .profile-copy p,
  .role-summary,
  .role-card li { font-size: 0.95rem; }

  .contact-list a,
  .contact-list span {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    padding: 0.9rem 0;
  }

  .contact-list small { order: -1; }

  .footer { flex-direction: column; gap: 0.45rem; }
}

@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 1rem 0.85rem; }
  .stat:last-child { border-bottom: 0; }
  .hero-role { letter-spacing: 0.1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-ring { animation: none; }
  .cursor, .cursor.ring { display: none; }
}
