/* =======================================================
   GCARERI.COM — Dark OLED Luxury
   Bebas Neue · Cormorant Garamond · DM Sans
   Electric Emerald · True Black · Velvet Texture
   ======================================================= */

/* ---- 1. Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea { font: inherit; }

/* ---- 2. Design Tokens — dark is default ---- */
:root {
  --bg:           #000000;
  --bg-surface:   #0A0A0A;
  --bg-raised:    #111111;
  --text:         #EFEFED;
  --text-muted:   #5A5A5A;
  --accent:       #00FF88;
  --accent-hover: #00CC6A;
  --border:       #1C1C1C;

  --shadow-sm:  0 0 0 1px #1C1C1C;
  --shadow-md:  0 8px 32px rgba(0,0,0,.8), 0 0 0 1px #1C1C1C;
  --shadow-lg:  0 0 60px rgba(0,255,136,.12), 0 24px 80px rgba(0,0,0,.9);

  --max-w:  1200px;
  --nav-h:  64px;
  --r-sm:   4px;
  --r:      8px;
  --r-lg:   14px;

  --t-fast: 120ms ease;
  --t-base: 220ms ease;
  --t-slow: 380ms ease;

  --z-nav:      50;
  --z-menu:     40;
  --z-backdrop: 30;
  --z-progress: 60;
  --z-cursor:   9999;

  --glow-sm:  0 0 12px rgba(0,255,136,.25);
  --glow-md:  0 0 30px rgba(0,255,136,.18), 0 0 60px rgba(0,255,136,.08);
  --glow-card:0 0 0 1px rgba(0,255,136,.2), 0 4px 40px rgba(0,255,136,.07);
}

/* ---- Light mode override ---- */
[data-theme="light"] {
  --bg:           #FAF8F4;
  --bg-surface:   #FFFFFF;
  --bg-raised:    #F2EFE9;
  --text:         #0D0C0A;
  --text-muted:   #5C5855;
  --accent:       #0A7A45;
  --accent-hover: #075E35;
  --border:       #E5E0D8;
  --shadow-sm:  0 1px 3px rgba(13,12,10,.08);
  --shadow-md:  0 4px 20px rgba(13,12,10,.10);
  --shadow-lg:  0 20px 48px rgba(13,12,10,.14);
  --glow-sm:  none;
  --glow-md:  none;
  --glow-card:var(--shadow-md);
}

/* ---- 3. Typography ---- */
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t-slow), color var(--t-slow);
}

/* Velvet texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
[data-theme="light"] body::before { opacity: 0.02; }

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: var(--text);
}
h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--text);
}
h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}
p { line-height: 1.78; }
::selection { background: var(--accent); color: #000; }

/* ---- 4. Keyframes ---- */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,255,136,.25), 0 0 16px rgba(0,255,136,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(0,255,136,.10), 0 0 32px rgba(0,255,136,.15); }
}

/* ---- 5. Custom cursor ---- */
@media (hover: hover) and (pointer: fine) {
  body, a, button, [role="button"] { cursor: none; }
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(0,255,136,.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-cursor);
  will-change: transform;
  transition: width var(--t-base), height var(--t-base),
              border-color var(--t-base), background var(--t-base);
  display: none;
}
.cursor-ring::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px var(--accent);
}
.cursor-ring.is-hover {
  width: 48px; height: 48px;
  background: rgba(0,255,136,.05);
  border-color: rgba(0,255,136,.9);
  box-shadow: var(--glow-sm);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-ring { display: block; }
}

/* ---- 6. Mouse spotlight orb ---- */
.spotlight-orb {
  position: fixed;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,.055) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  top: 0; left: 0;
  will-change: transform;
}
[data-theme="light"] .spotlight-orb { opacity: 0.4; }

/* ---- 7. Layout helpers ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.section { padding: 96px 0; }

/* ---- 8. Section header ---- */
.section-header { margin-bottom: 56px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.85;
}
.section-label::before {
  content: '//';
  font-family: 'DM Sans', monospace;
  font-size: 0.7em;
  letter-spacing: -0.04em;
  opacity: 0.6;
}
.section-title { color: var(--text); }

/* ---- 9. Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base),
              border-color var(--t-base), transform var(--t-fast),
              box-shadow var(--t-base);
}
.btn:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.btn--primary {
  background: var(--accent);
  color: #000;
  border: 1px solid var(--accent);
  font-weight: 600;
  box-shadow: var(--glow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: rgba(0,255,136,.4);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--glow-sm);
}
[data-theme="light"] .btn--ghost:hover {
  border-color: var(--accent);
  box-shadow: none;
}

/* ---- 10. Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  width: 0%;
  background: var(--accent);
  z-index: var(--z-progress);
  transition: width 60ms linear;
  box-shadow: var(--glow-sm);
}
[data-theme="light"] .scroll-progress { box-shadow: none; }

/* ---- 11. Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  border-bottom: 1px solid transparent;
  transition: background var(--t-slow), border-color var(--t-slow);
}
.nav.is-scrolled {
  background: rgba(0,0,0,.88);
  border-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
[data-theme="light"] .nav.is-scrolled { background: rgba(250,248,244,.90); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__logo {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.375rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  margin-right: auto;
  transition: color var(--t-base), text-shadow var(--t-base);
}
.nav__logo:hover {
  color: var(--accent);
  text-shadow: var(--glow-sm);
}
[data-theme="light"] .nav__logo:hover { text-shadow: none; }
.nav__links {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-base), text-shadow var(--t-base);
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--t-base);
  box-shadow: var(--glow-sm);
}
.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--accent); }
[data-theme="light"] .nav__link.is-active { color: var(--accent); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav__theme {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  transition: color var(--t-base), background var(--t-base);
}
.nav__theme:hover { color: var(--accent); background: rgba(0,255,136,.06); }
[data-theme="light"] .nav__theme:hover { background: var(--bg-raised); color: var(--accent); }
.nav__theme:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.nav__theme svg { width: 18px; height: 18px; }
.icon-sun  { display: block; }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }
.nav__lang {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex; align-items: center;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  transition: color var(--t-base);
}
.nav__lang:hover { color: var(--accent); }
.nav__burger {
  width: 36px; height: 36px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; padding: 0 6px;
  border-radius: var(--r-sm);
  transition: background var(--t-base);
}
.nav__burger:hover { background: rgba(0,255,136,.06); }
[data-theme="light"] .nav__burger:hover { background: var(--bg-raised); }
.nav__burger span {
  display: block; height: 1px;
  background: var(--text-muted); border-radius: 0;
  transition: transform var(--t-slow), opacity var(--t-base), background var(--t-base);
}
.nav__burger:hover span { background: var(--text); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- 12. Mobile Menu ---- */
.menu-backdrop {
  display: none; position: fixed; inset: 0;
  z-index: var(--z-backdrop); background: rgba(0,0,0,.6);
}
.menu-backdrop.is-visible { display: block; }

.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: var(--z-menu);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-slow), opacity var(--t-slow);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__link {
  display: block; padding: 13px 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--t-base), letter-spacing var(--t-base);
}
.mobile-menu li:last-child .mobile-menu__link { border-bottom: none; }
.mobile-menu__link:hover { color: var(--accent); letter-spacing: 0.12em; }

/* ---- 13. Hero ---- */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Ambient emerald glow */
.hero::before {
  content: '';
  position: absolute;
  top: 15%; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,255,136,.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(10,122,69,.04) 0%, transparent 60%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,255,136,.025) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__photo { order: -1; }
.hero__photo { position: relative; }
.hero__photo img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: var(--r);
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.02) saturate(0.92);
}
/* Emerald inset frame */
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1px rgba(0,255,136,.2);
  pointer-events: none;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
  left: 0; right: 0;
}

/* Hero entrance */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero__eyebrow { animation: hero-up 0.8s cubic-bezier(0.22,1,0.36,1) both 0.10s; }
.hero__name    { animation: hero-up 1s   cubic-bezier(0.22,1,0.36,1) both 0.20s; }
.hero__tagline { animation: hero-up 0.8s cubic-bezier(0.22,1,0.36,1) both 0.45s; }
.hero__ctas    { animation: hero-up 0.7s cubic-bezier(0.22,1,0.36,1) both 0.62s; }
.hero__photo   { animation: hero-fade 1.2s ease both 0.05s; }

.hero__eyebrow {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
  box-shadow: var(--glow-sm);
  flex-shrink: 0;
}
[data-theme="light"] .hero__eyebrow::before { box-shadow: none; }
.hero__name    { margin-bottom: 28px; }
.hero__tagline {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- 14. Stats Strip ---- */
.stats {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.stats__item {
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base);
}
.stats__item:nth-child(2n)        { border-right: none; }
.stats__item:nth-last-child(-n+2) { border-bottom: none; }
.stats__item:hover { background: rgba(0,255,136,.025); }
[data-theme="light"] .stats__item:hover { background: var(--bg-raised); }
.stats__number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; font-weight: 400;
  color: var(--accent); line-height: 1;
  display: inline;
  letter-spacing: 0.04em;
}
.stats__suffix {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem; font-weight: 400;
  color: var(--accent); display: inline;
  opacity: 0.7;
}
.stats__label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- 15. About ---- */
.about { background: var(--bg); }
.about__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.about__text {
  display: flex; flex-direction: column; gap: 20px;
  border-left: 1px solid rgba(0,255,136,.2);
  padding-left: 24px;
}
[data-theme="light"] .about__text { border-left-color: var(--accent); }
.about__highlights { display: flex; flex-direction: column; gap: 1px; }
.highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: border-color var(--t-base), box-shadow var(--t-base),
              background var(--t-base);
}
.highlight-card + .highlight-card { margin-top: 8px; }
.highlight-card:hover {
  border-color: rgba(0,255,136,.35);
  box-shadow: var(--glow-card);
  background: rgba(0,255,136,.02);
}
[data-theme="light"] .highlight-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
}
.highlight-card h3 { font-size: 0.9375rem; font-weight: 500; margin-bottom: 8px; }
.highlight-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ---- 16. Expertise / Skills ---- */
.skills { background: var(--bg-raised); }
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.skill-group__name {
  font-family: 'DM Sans', monospace;
  font-size: 0.5625rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-group__name::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-chip {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  cursor: default;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease,
              background var(--t-base), border-color var(--t-base),
              color var(--t-base), box-shadow var(--t-base);
}
.skill-chip.is-visible { opacity: 1; transform: translateY(0); }
.skill-chip:hover {
  border-color: rgba(0,255,136,.5);
  color: var(--accent);
  background: rgba(0,255,136,.04);
  box-shadow: 0 0 12px rgba(0,255,136,.1);
}
[data-theme="light"] .skill-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(10,122,69,.05);
  box-shadow: none;
}

/* ---- 17. Career / Timeline ---- */
.career { background: var(--bg); }
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 8px; bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(0,255,136,.1) 100%);
  box-shadow: 0 0 8px rgba(0,255,136,.2);
}
[data-theme="light"] .timeline::before {
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(10,122,69,.15) 100%);
  box-shadow: none;
}
.tl-item {
  position: relative;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.tl-item.is-visible { opacity: 1; transform: translateX(0); }
.tl-item:last-child  { padding-bottom: 0; }

.tl-item::before {
  content: '';
  position: absolute;
  left: -27px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}
.tl-item.is-visible::before {
  border-color: var(--accent);
  background: var(--accent);
}
.tl-item--current::before {
  background: var(--accent);
  border-color: var(--accent);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
[data-theme="light"] .tl-item--current::before {
  animation: none;
  box-shadow: 0 0 0 3px rgba(10,122,69,.2);
}
.tl-item--edu::before { border-color: var(--text-muted); }
.tl-item--edu.is-visible::before { background: var(--text-muted); border-color: var(--text-muted); }
/* Emerald accent left bar on current */
.tl-item--current {
  padding-left: 16px;
  border-left: 1px solid rgba(0,255,136,.3);
}
[data-theme="light"] .tl-item--current { border-left-color: var(--accent); }

.tl-meta {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.tl-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}
.tl-company {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.tl-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 66ch;
  font-weight: 300;
}

/* ---- 18. Projects ---- */
.projects { background: var(--bg-raised); }
.projects__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  --mx: 50%; --my: 50%;
}
/* Card inner spotlight */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my),
    rgba(0,255,136,.07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.project-card:hover {
  border-color: rgba(0,255,136,.3);
  box-shadow: var(--glow-card);
  transform: translateY(-2px);
}
.project-card:hover::after { opacity: 1; }
[data-theme="light"] .project-card::after { display: none; }
[data-theme="light"] .project-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.project-card__header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.project-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
}
.project-card__tag {
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,255,136,.25);
  padding: 3px 10px; border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0.9;
}
[data-theme="light"] .project-card__tag { border-color: var(--accent); }
.project-card__desc {
  font-size: 0.9375rem; color: var(--text-muted);
  line-height: 1.75; font-weight: 300;
  position: relative; z-index: 1;
}
.project-card__chips { display: flex; flex-wrap: wrap; gap: 5px; position: relative; z-index: 1; }
.project-card__chips span {
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 3px 8px; border-radius: var(--r-sm);
}
.project-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--t-base), opacity var(--t-base);
  position: relative; z-index: 1;
}
.project-card__link::after { content: '↗'; font-size: 0.875em; }
.project-card__link:hover { gap: 10px; opacity: .8; }

/* ---- 19. Speaking ---- */
.speaking { background: var(--bg); }
.speaking__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.speaking-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  display: flex; flex-direction: column; gap: 9px;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.speaking-card:hover {
  border-color: rgba(0,255,136,.3);
  box-shadow: var(--glow-card);
  transform: translateY(-2px);
}
[data-theme="light"] .speaking-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.speaking-card__meta {
  font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.speaking-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1875rem;
  font-weight: 600;
}
.speaking-card__desc  { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; font-weight: 300; }
.speaking-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-top: 4px;
  transition: gap var(--t-base);
}
.speaking-card__link::after { content: '↗'; }
.speaking-card__link:hover { gap: 8px; }

/* ---- 20. FAQ ---- */
.faq { background: var(--bg-surface); }
.faq__list { display: flex; flex-direction: column; max-width: 800px; }
.faq__item {
  border-left: 2px solid var(--accent);
  padding: 28px 0 28px 28px;
  border-bottom: 1px solid var(--border);
}
.faq__item:last-child { border-bottom: none; }
.faq__question {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.faq__answer {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}
.faq__answer a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__answer a:hover { color: var(--accent-hover); }

/* ---- 21. Contact ---- */
.contact {
  background: #000000;
  border-top: 1px solid #1a1a1a;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .contact { background: #0D0D0D; border-top-color: #1C1C1C; }

/* Ambient contact glow */
.contact::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0,255,136,.06) 0%, transparent 65%);
  pointer-events: none;
}

.contact__inner {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact .section-label { color: rgba(0,255,136,.6); }
.contact .section-label::before { opacity: 0.4; }
.contact__title {
  margin-top: 14px;
  margin-bottom: 20px;
  color: #EFEFED;
  font-size: clamp(2.5rem, 7vw, 5rem);
}
.contact__sub {
  font-size: 1rem;
  color: rgba(239,239,237,.4);
  max-width: 46ch;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}
.contact__links {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.contact .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: 0 0 30px rgba(0,255,136,.3);
}
.contact .btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 0 50px rgba(0,255,136,.4);
}
.contact .btn--ghost {
  color: rgba(239,239,237,.6);
  border-color: rgba(239,239,237,.15);
}
.contact .btn--ghost:hover {
  border-color: rgba(0,255,136,.4);
  color: var(--accent);
  box-shadow: var(--glow-sm);
}

/* ---- 21. Footer ---- */
.footer { border-top: 1px solid var(--border); background: var(--bg-surface); }
.footer__inner {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer__copy  { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.04em; }
.footer__nav   { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--t-base);
}
.footer__nav a:hover { color: var(--accent); }

/* ---- 22. Reveal Animations ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal].is-visible { opacity: 1; transform: translate(0, 0); }

.projects__grid  [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.projects__grid  [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.speaking__grid  [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.speaking__grid  [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.skills-grid     [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.skills-grid     [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.skills-grid     [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
.skills-grid     [data-reveal]:nth-child(5) { transition-delay: 0.24s; }

.tl-item:nth-child(2) { transition-delay: 0.05s; }
.tl-item:nth-child(3) { transition-delay: 0.10s; }
.tl-item:nth-child(4) { transition-delay: 0.15s; }
.tl-item:nth-child(5) { transition-delay: 0.20s; }
.tl-item:nth-child(6) { transition-delay: 0.25s; }
.tl-item:nth-child(7) { transition-delay: 0.30s; }

/* ---- 23. Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal], .tl-item, .skill-chip {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hero__eyebrow, .hero__name, .hero__tagline,
  .hero__ctas, .hero__photo { animation: none !important; opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none; }
  body::before { display: none; }
  .cursor-ring, .spotlight-orb { display: none; }
}

/* ---- 24. Responsive — 640px ---- */
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stats__item { border-bottom: none; border-right: 1px solid var(--border); }
  .stats__item:nth-child(2n)        { border-right: 1px solid var(--border); }
  .stats__item:last-child           { border-right: none; }
  .stats__item:nth-last-child(-n+2) { border-bottom: none; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .speaking__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 25. Responsive — 768px ---- */
@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__burger { display: none; }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    padding: 80px 0;
  }
  .hero__photo { order: 0; }
  .hero__photo img { max-width: 100%; margin: 0; height: 520px; object-fit: cover; }
  .hero__photo::after { max-width: 100%; left: 0; right: 0; }

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

/* ---- 26. Responsive — 1024px ---- */
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 58% 1fr;
    gap: 80px;
  }
  .hero__photo img { height: 600px; }
  .about__body { grid-template-columns: 1fr 360px; }
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .projects__grid { grid-template-columns: repeat(3, 1fr); }
  .speaking__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 27. CV Print Styles ---- */
@media print {
  .nav, .scroll-progress, footer, .cursor-ring, .spotlight-orb, body::before { display: none; }
  body { background: white; color: black; cursor: auto; }
  .hero { min-height: auto; padding: 40px 0; }
}
