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

:root{
  --ink:     #05060b;
  --ink2:    #0a0c16;
  --ink3:    #11131f;
  --rule:    rgba(255,255,255,0.08);
  --rule2:   rgba(139,92,246,0.4);
  --white:   #f5f5fb;
  --off:     #e9e6ff;
  --stone:   #a8a9c8;
  --dim:     #6e7196;
  --gold:    #8b5cf6;
  --gold2:   #22d3ee;
  --teal:    #22d3ee;
  --glass:   rgba(255,255,255,0.035);
  --glow:    0 0 1px rgba(139,92,246,.4), 0 20px 60px -18px rgba(139,92,246,.45);
  --glow-cy: 0 20px 60px -18px rgba(34,211,238,.4);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  cursor: none;
}

/* ─── AURORA DEPTH FIELD ─── */
body::before{
  content:'';
  position: fixed; inset: -15%;
  background:
    radial-gradient(680px circle at 12% 18%, rgba(139,92,246,.22), transparent 60%),
    radial-gradient(760px circle at 88% 78%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(560px circle at 55% 105%, rgba(139,92,246,.12), transparent 60%);
  z-index: 0; pointer-events: none;
  animation: auroraShift 20s ease-in-out infinite alternate;
}

/* ─── GRAIN OVERLAY ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 1;
}

/* ─── CURSOR ─── */
#cur {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .35s cubic-bezier(.34,1.56,.64,1), height .35s cubic-bezier(.34,1.56,.64,1), background .2s;
  mix-blend-mode: difference;
}
#cur-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .4s cubic-bezier(.34,1.56,.64,1), height .4s cubic-bezier(.34,1.56,.64,1), border-color .3s;
}
body.hovering #cur { width: 18px; height: 18px; }
body.hovering #cur-ring { width: 56px; height: 56px; border-color: rgba(255,255,255,.55); }
@media (hover:none), (pointer:coarse){ #cur,#cur-ring{display:none} body{cursor:auto} a,button{cursor:pointer} }

/* ─── CANVAS ─── */
#bgCanvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .45; }

/* ─── PAGE LOADER ─── */
#pageLoad{
  position:fixed; inset:0; z-index:10000; background:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .6s ease, visibility .6s ease;
}
#pageLoad span{
  font-family:var(--font-display); font-style:italic; font-size:1.4rem; color:var(--gold);
  letter-spacing:.08em; opacity:0; animation:fadeUp .8s .1s ease forwards;
}
#pageLoad.hide{opacity:0; visibility:hidden; pointer-events:none}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 7%;
  transition: padding .5s, background .5s, border-bottom .5s;
}
nav.compact {
  padding: 18px 7%;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--rule);
}
.logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .12em;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .4s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:none; padding:6px; }
.nav-toggle span{ width:22px; height:1px; background:var(--white); display:block; }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero{
  position:relative; z-index:1; min-height:52vh;
  display:flex; flex-direction:column; justify-content:center;
  padding: 160px 7% 60px;
}
.page-kicker{
  display:flex; align-items:center; gap:14px;
  font-size:.68rem; letter-spacing:.25em; text-transform:uppercase;
  color:var(--stone); margin-bottom:22px;
  opacity:0; animation:fadeUp .8s .15s ease forwards;
}
.page-kicker::before{ content:''; display:block; width:32px; height:1px; background:var(--gold); }
.page-title{
  font-family:var(--font-display); font-weight:300;
  font-size:clamp(2.6rem, 6vw, 5rem); line-height:1.05; letter-spacing:-.01em;
  opacity:0; animation:fadeUp .9s .3s ease forwards;
  max-width:900px;
}
.page-title em{
  font-style:italic;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-lede{
  max-width:560px; margin-top:26px; font-size:1rem; color:var(--dim);
  opacity:0; animation:fadeUp .9s .5s ease forwards;
}

/* ─── HERO (home) ─── */
#hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 7% 90px;
  overflow: hidden;
}

.hero-left { padding-top: 100px; position: relative; z-index: 1; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--stone); font-weight: 400;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp .8s .3s ease forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px; background: var(--gold);
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 6.5vw, 6rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--white);
  opacity: 0; animation: fadeUp .9s .45s ease forwards;
}
.hero-name em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(139,92,246,.35));
}

.hero-divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 32px 0;
  opacity: 0; animation: expandLine 1s .9s ease forwards;
  transform-origin: left;
}

.hero-role {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--stone); font-weight: 400;
  min-height: 1.4em;
  opacity: 0; animation: fadeUp .8s 1.1s ease forwards;
  display:flex; align-items:center;
}
.hero-role .cursor-bar{ display:inline-block; width:1px; height:1em; background:var(--gold); margin-left:2px; animation:blinkCaret .8s step-end infinite; }

.hero-summary {
  max-width: 480px;
  font-size: .95rem; color: var(--dim); line-height: 1.9;
  margin-top: 28px;
  opacity: 0; animation: fadeUp .8s 1.6s ease forwards;
}

.hero-actions {
  display: flex; align-items: center; gap: 24px;
  margin-top: 44px;
  opacity: 0; animation: fadeUp .8s 1.9s ease forwards;
  flex-wrap: wrap;
}

.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: .78rem;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: none;
  transition: background .25s, color .25s, transform .3s, box-shadow .3s;
}
.btn-solid:hover { background: var(--off); transform: translateY(-3px); box-shadow: var(--glow); }

.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 34px;
  background: rgba(255,255,255,.02); color: var(--stone);
  border: 1px solid var(--rule);
  font-family: var(--font-body); font-size: .78rem;
  font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: none;
  transition: border-color .25s, color .25s, transform .3s, box-shadow .3s;
}
.btn-line:hover { border-color: var(--gold); color: var(--white); transform: translateY(-3px); box-shadow: var(--glow); }

/* ─── HERO 3D OBJECT ─── */
#hero3d{
  position: absolute; top: 6%; right: -4%; width: 560px; height: 560px;
  z-index: 0; pointer-events: none; opacity: .9;
}
@media(max-width:1100px){ #hero3d{ width:420px; height:420px; right:-8%; } }
@media(max-width:900px){ #hero3d{ display:none; } }

/* ─── HERO RIGHT – EDITORIAL PANEL ─── */
.hero-right {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: center; padding-top: 100px; gap: 0;
  opacity: 0; animation: fadeUp .9s 2s ease forwards;
  position: relative; z-index: 1;
}

.stat-strip {
  width: 260px;
  border: 1px solid var(--rule);
  background: var(--glass);
  backdrop-filter: blur(14px);
  padding: 28px 32px;
  transition: border-color .3s, box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.stat-strip + .stat-strip { border-top: none; }
.stat-strip:hover { border-color: var(--rule2); box-shadow: var(--glow); }
.stat-strip::before {
  content: attr(data-index);
  position: absolute; top: 22px; right: 24px;
  font-family: var(--font-display); font-size: .75rem;
  color: var(--dim); font-style: italic;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 300;
  color: var(--white); line-height: 1;
}
.stat-lbl {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone); margin-top: 6px;
}

/* ─── SCROLL INDICATOR ─── */
.scroll-cue {
  position: absolute; bottom: 48px; left: 7%;
  display: flex; align-items: center; gap: 12px;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim);
  opacity: 0; animation: fadeUp .6s 2.4s ease forwards;
}
.scroll-cue::before {
  content: '';
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scPulse 2.2s ease-in-out infinite;
}
@media(max-height:820px){ .scroll-cue{ display:none; } }

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; padding: 120px 7%; }

.sec-label {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); font-weight: 400; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.sec-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

h2 {
  font-family: var(--font-display);
  font-weight: 300; font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white); line-height: 1.1; margin-bottom: 64px;
  letter-spacing: -.01em;
}
h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.h-rule { height: 1px; background: var(--rule); margin: 0 7%; }

/* ─── MARQUEE ─── */
.marquee-band {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 22px 0; overflow: hidden;
  background: var(--ink2);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
.m-item {
  display: flex; align-items: center;
  padding: 0 36px;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); font-weight: 400; white-space: nowrap;
  border-right: 1px solid var(--rule);
}
.m-item .dot { color: var(--gold); margin-right: 14px; font-size: .5rem; }

/* ─── ABOUT ─── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }

.about-body p {
  font-size: .97rem; color: var(--dim); line-height: 1.95;
  margin-bottom: 20px;
}

.about-quote {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 1px solid var(--gold);
  background: var(--ink2);
}
.about-quote p {
  font-family: var(--font-display);
  font-style: italic; font-size: 1.4rem;
  color: var(--off); line-height: 1.5; margin: 0;
}

.about-meta { margin-top: 44px; display: flex; flex-direction: column; gap: 0; }
.meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}
.meta-key { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); white-space:nowrap; }
.meta-val { font-size: .85rem; color: var(--stone); font-weight: 400; text-align:right; }

/* ─── SKILLS ─── */
.skills-sect { background: var(--ink2); }
.skills-layout { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.sk-block {
  background: var(--ink2);
  padding: 36px 32px;
  transition: background .3s, box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.sk-block:hover { background: var(--ink3); box-shadow: var(--glow); }
.sk-block::after {
  content: '';
  position: absolute; bottom: 0; left: 32px; right: 32px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.sk-block:hover::after { transform: scaleX(1); }
.sk-title {
  font-size: .63rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 500;
}
.sk-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 5px 14px;
  border: 1px solid var(--rule);
  font-size: .72rem; color: var(--dim);
  letter-spacing: .06em;
  transition: border-color .2s, color .2s;
}
.sk-block:hover .pill { border-color: var(--rule2); color: var(--stone); }

/* ─── EXPERIENCE ─── */
.timeline { position: relative; padding-left: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding: 52px 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: border-color .3s;
}
.tl-item:hover { border-top-color: var(--rule2); }
.tl-item:last-child { border-bottom: 1px solid var(--rule); }
.tl-meta {}
.tl-period {
  font-size: .65rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.tl-co {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 400; color: var(--stone);
  font-style: italic;
}
.tl-loc { font-size: .75rem; color: var(--dim); margin-top: 4px; }
.tl-content {}
.tl-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 300; color: var(--white);
  margin-bottom: 20px; line-height: 1.15;
}
.tl-list { list-style: none; }
.tl-list li {
  font-size: .9rem; color: var(--dim); line-height: 1.85;
  margin-bottom: 10px; padding-left: 18px; position: relative;
}
.tl-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--gold); font-size: .7rem; top: 5px;
}

/* ─── PROJECTS ─── */
.proj-sect { background: var(--ink2); }
.proj-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--rule); border:1px solid var(--rule); margin-bottom:2px; }
.proj-card {
  border: 1px solid var(--rule);
  padding: 56px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  transition: border-color .4s, box-shadow .4s;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.proj-grid .proj-card{ border:none; }
.proj-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, var(--gold), var(--gold2), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.proj-card:hover { border-color: var(--rule2); box-shadow: var(--glow); }
.proj-card:hover::before { transform: scaleX(1); }
.proj-tag {
  display: inline-block;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,185,154,.25);
  padding: 4px 12px; margin-bottom: 20px;
}
.proj-title {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 300; color: var(--white);
  line-height: 1.1; margin-bottom: 16px;
}
.proj-desc { font-size: .95rem; color: var(--dim); line-height: 1.9; margin-bottom: 28px; }
.proj-list { list-style: none; margin-bottom: 36px; }
.proj-list li {
  font-size: .88rem; color: var(--dim); line-height: 1.85;
  margin-bottom: 10px; padding-left: 18px; position: relative;
}
.proj-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: 5px; }
.proj-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 5px 16px;
  border: 1px solid var(--rule);
  font-size: .7rem; letter-spacing: .1em;
  color: var(--dim); text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--gold); color: var(--stone); }

.more-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--rule); border:1px solid var(--rule); }
.more-card{
  background:var(--ink); padding:36px 32px;
  transition:background .3s, box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1);
  transform-style: preserve-3d; will-change: transform;
}
.more-card:hover{ background:var(--ink3); box-shadow: var(--glow-cy); }
.more-tag{ font-size:.6rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
.more-title{ font-family:var(--font-display); font-size:1.4rem; color:var(--white); margin-bottom:10px; }
.more-desc{ font-size:.82rem; color:var(--dim); line-height:1.75; margin-bottom:16px; }

/* ─── EDUCATION ─── */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 64px; }
.edu-block {
  background: var(--ink);
  padding: 40px;
  transition: background .3s, box-shadow .35s, transform .35s cubic-bezier(.22,1,.36,1);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.edu-block:hover { background: var(--ink2); box-shadow: var(--glow); }
.edu-year {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.edu-deg {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 300; color: var(--white); margin-bottom: 8px;
}
.edu-inst { font-size: .82rem; color: var(--dim); }

.cert-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.cert-item {
  background: var(--ink2);
  padding: 22px 28px;
  font-size: .82rem; color: var(--dim);
  display: flex; align-items: center; gap: 14px;
  transition: background .3s, color .3s;
}
.cert-item:hover { background: var(--ink3); color: var(--stone); }
.cert-item::before {
  content: '';
  display: block; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* ─── CONTACT ─── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: start; }
.contact-left p { font-size: .95rem; color: var(--dim); line-height: 1.9; margin-bottom: 40px; }

.c-links { display: flex; flex-direction: column; gap: 0; }
.c-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; color: var(--dim); font-size: .85rem;
  transition: color .25s, border-color .25s;
  position: relative;
}
.c-link:first-child { border-top: 1px solid var(--rule); }
.c-link:hover { color: var(--white); border-color: var(--rule2); }
.c-link-label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.c-link-arrow { font-size: .75rem; color: var(--dim); transition: transform .3s, color .3s; }
.c-link:hover .c-link-arrow { transform: translate(4px,-4px); color: var(--gold); }

.cf {
  border: 1px solid var(--rule);
  padding: 48px;
  background: var(--glass);
  backdrop-filter: blur(14px);
}
.fgrp { margin-bottom: 24px; }
label {
  display: block;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 10px; font-weight: 400;
}
input, textarea {
  width: 100%;
  background: transparent;
  border: none; border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  color: var(--white);
  font-family: var(--font-body); font-size: .9rem; font-weight: 300;
  outline: none;
  transition: border-color .25s;
}
input:focus, textarea:focus { border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--dim); }
textarea { resize: none; height: 110px; }

.submit-btn {
  width: 100%; padding: 16px;
  background: var(--white); color: var(--ink);
  border: none; cursor: none;
  font-family: var(--font-body); font-size: .75rem;
  font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  margin-top: 8px;
  transition: background .25s, transform .3s;
}
.submit-btn:hover { background: var(--off); transform: translateY(-3px); box-shadow: var(--glow); }
.fnote { font-size: .68rem; color: var(--dim); margin-top: 12px; letter-spacing: .05em; }

.faq-item{ border-top:1px solid var(--rule); padding:26px 0; }
.faq-item:last-child{ border-bottom:1px solid var(--rule); }
.faq-q{ font-family:var(--font-display); font-size:1.15rem; color:var(--white); margin-bottom:8px; }
.faq-a{ font-size:.88rem; color:var(--dim); line-height:1.85; max-width:640px; }

/* ─── CTA BAND ─── */
.cta-band{ background:var(--ink2); text-align:center; padding:110px 7%; }
.cta-band .sec-label{ justify-content:center; }
.cta-band .sec-label::before{ display:none; }
.cta-band h2{ margin-bottom:36px; }
.cta-actions{ display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }

/* ─── FOOTER ─── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--rule);
  padding: 40px 7% 32px;
}
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:32px; margin-bottom:24px; border-bottom:1px solid var(--rule); }
.footer-brand .logo{ display:inline-block; margin-bottom:12px; }
.footer-brand p{ font-size:.82rem; color:var(--dim); max-width:280px; line-height:1.8; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{ font-size:.62rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; font-weight:500; }
.footer-col a{ display:block; font-size:.82rem; color:var(--dim); text-decoration:none; margin-bottom:10px; transition:color .2s; }
.footer-col a:hover{ color:var(--white); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap:wrap; gap:12px;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
footer a.plain { color: var(--dim); text-decoration: none; transition: color .2s; }
footer a.plain:hover { color: var(--stone); }

/* ─── REVEAL ─── */
.rv  { opacity:0; transform:translateY(36px); transition:opacity .9s ease, transform .9s ease; }
.rvl { opacity:0; transform:translateX(-40px); transition:opacity .9s ease, transform .9s ease; }
.rvr { opacity:0; transform:translateX(40px); transition:opacity .9s ease, transform .9s ease; }
.rv.in,.rvl.in,.rvr.in { opacity:1; transform:none; }
.rv:nth-child(2),.rvl:nth-child(2),.rvr:nth-child(2) { transition-delay:.1s; }
.rv:nth-child(3) { transition-delay:.2s; }

/* ─── KEYFRAMES ─── */
@keyframes auroraShift { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-3%,2%) scale(1.06)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
@keyframes expandLine { from{transform:scaleX(0)} to{transform:scaleX(1)} }
@keyframes blinkCaret { 50%{opacity:0} }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes scPulse { 0%,100%{opacity:.6;transform:scaleY(1)} 50%{opacity:.2;transform:scaleY(.35)} }

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  #hero{grid-template-columns:1fr;padding-top:0}
  .hero-right{align-items:flex-start;flex-direction:row;flex-wrap:wrap}
  .stat-strip{width:auto;flex:1;min-width:140px}
  .stat-strip+.stat-strip{border-top:1px solid var(--rule);border-left:none}
  .about-layout,.contact-layout,.edu-grid,.proj-grid{grid-template-columns:1fr;gap:48px}
  .tl-item{grid-template-columns:1fr;gap:16px}
  .skills-layout{grid-template-columns:1fr 1fr}
  .cert-grid,.more-grid{grid-template-columns:1fr}
  .nav-links{position:fixed; top:0; right:0; height:100vh; width:78%; max-width:340px; background:rgba(10,10,10,.98); backdrop-filter:blur(24px); flex-direction:column; justify-content:center; align-items:flex-start; gap:30px; padding:40px 40px; transform:translateX(100%); transition:transform .5s cubic-bezier(.4,0,.2,1); border-left:1px solid var(--rule);}
  .nav-links.open{transform:translateX(0)}
  .nav-toggle{display:flex}
  nav{padding:20px 5%}
  nav.compact{padding:14px 5%}
  section,.page-hero{padding:80px 5%}
  .page-hero{padding-top:140px}
  .h-rule{margin:0 5%}
  .proj-card{padding:36px}
  .cf{padding:32px}
  .footer-top{flex-direction:column; gap:32px}
  .footer-bottom{flex-direction:column;gap:12px;text-align:center}
}
@media(max-width:560px){
  .nav-links{gap:24px}
  .skills-layout,.cert-grid,.more-grid{grid-template-columns:1fr}
  .hero-right{display:none}
  h2{margin-bottom:40px}
  .footer-cols{gap:36px}
}
