*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #07100e;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --green: #4ade80;
  --green-dim: rgba(74,222,128,0.12);
  --green-border: rgba(74,222,128,0.22);
  --text: #e5f0e8;
  --muted: #6b9b7a;
  --muted2: rgba(229,240,232,0.45);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* deep green radial glow from top */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 100% 55% at 50% -5%, rgba(10,60,35,0.75) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(5,35,20,0.4) 0%, transparent 60%);
}

/* ── NAV ── */
  nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10,22,17,0.80);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    padding: 10px 28px;
    display: flex;
    gap: 32px;
    animation: fadeDown .8s ease both;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  }

  nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color .2s;
  }
  nav a:hover, nav a.active { color: var(--text); }

/* ─── HERO ─── */
.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 108px 24px 0; text-align: center;
}

/* animated sun icon */
.sun-wrap {
  width: 78px; height: 78px; margin-bottom: 30px;
  animation: sun-spin 16s linear infinite;
  filter: drop-shadow(0 0 18px rgba(74,222,128,0.35));
}
@keyframes sun-spin { to { transform: rotate(360deg); } }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900; line-height: 1.06; letter-spacing: -.025em;
  margin-bottom: 22px;
}
.hero-title .back-slash {
  font-style: italic; color: rgba(229,240,232,0.35);
}

.hero-sub {
  color: var(--muted2); font-size: 15px; line-height: 1.85;
  max-width: 520px; margin: 0 auto 72px;
}
.hero-sub strong { color: rgba(229,240,232,0.75); font-weight: 500; }

/* ─── PHOTO STACK ─── */
.photo-stack {
  position: relative; width: 480px; max-width: 92vw; height: 270px;
  margin: 0 auto;
}
.photo-card {
  position: absolute; border-radius: 18px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.4);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}
.photo-card .inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
/* left */
.pc-l {
  width: 168px; height: 210px; left: 18px; top: 28px;
  transform: rotate(-7deg);
  background: linear-gradient(160deg, #0d2a1c 0%, #1a4a2e 100%);
}
/* center */
.pc-c {
  width: 190px; height: 230px;
  left: 50%; transform: translateX(-50%) rotate(1.5deg);
  background: linear-gradient(160deg, #112d1e 0%, #1e5035 100%);
  z-index: 2;
}
/* right */
.pc-r {
  width: 164px; height: 206px; right: 18px; top: 18px;
  transform: rotate(6deg);
  background: linear-gradient(160deg, #0e2a1c 0%, #1b4830 100%);
}
.photo-stack:hover .pc-l { transform: rotate(-12deg) translateX(-8px); }
.photo-stack:hover .pc-r { transform: rotate(10deg) translateX(8px); }

/* ─── TICKER ─── */
.ticker {
  position: relative; z-index: 1; margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
  background: rgba(74,222,128,0.05);
  padding: 13px 0;
}
.ticker-inner {
  display: flex; align-items: center; gap: 32px;
  width: max-content;
  animation: ticker-move 24s linear infinite;
}
.ticker-word {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(74,222,128,0.8);
  white-space: nowrap;
}
.ticker-dot { color: rgba(74,222,128,0.35); font-size: 10px; }
@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── BEYOND SECTION ─── */
.beyond {
  position: relative; z-index: 1;
  max-width: 1020px; margin: 0 auto; padding: 80px 24px 60px;
}

.beyond-header { margin-bottom: 36px; }
.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.8vw, 42px); font-weight: 900; line-height: 1.12;
}

/* bento 3-column grid matching design */
.bento {
  display: grid;
  grid-template-columns: 210px 1fr 196px;
  grid-template-rows: auto auto;
  gap: 12px;
}
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } }

.bc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 20px;
  transition: border-color .3s, transform .35s;
}
.bc:hover { border-color: var(--green-border); transform: translateY(-4px); }

.bc-label {
  font-size: 12px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 7px; margin-bottom: 5px;
}
.bc-label .spark { color: var(--green); }
.bc-sub { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }

/* book card */
.book-cover {
  width: 92px; flex-shrink: 0;
  height: 180px;
  background: linear-gradient(170deg,#f0e8d0,#d4c49a);
  border-radius: 4px 6px 6px 4px;
  padding: 8px 7px 10px; text-align: center;
  box-shadow: 3px 4px 14px rgba(0,0,0,.55), -3px 0 0 rgba(0,0,0,.2), inset -1px 0 0 rgba(0,0,0,.1);
}
.book-cover-title { font-size: 8.5px; font-weight: 800; color: #1a0f00; line-height: 1.3; margin-bottom: 6px; }
.book-cover-img { font-size: 26px; display: block; margin: 4px 0; }
.book-cover-author { font-size: 8px; color: #5a3e00; }
.book-meta strong { font-size: 13px; color: var(--text); display: block; margin-bottom: 3px; }
.book-meta span { font-size: 12px; color: var(--muted); }

/* tech icons grid */
.tech-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ti-item {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 12px; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; transition: background .2s, border-color .2s; cursor: default;
}
.ti-item:hover { background: var(--green-dim); border-color: var(--green-border); }
.ti-icon { font-size: 22px; }
.ti-name { font-size: 12px; color: var(--muted); }

/* figma floating card */
.figma-bc {
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  border-radius: 20px; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
  transition: transform .35s;
}
.figma-bc:hover { transform: translateY(-4px); }
.figma-emoji { font-size: 56px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* map card */
.map-bc {
  border-radius: 20px; overflow: hidden;
  background: #0d2218;
  border: 1px solid var(--border);
  min-height: 150px; position: relative;
  transition: border-color .3s, transform .35s;
}
.map-bc:hover { border-color: var(--green-border); transform: translateY(-4px); }
.map-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.map-diagonal {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(35deg, rgba(74,222,128,.05) 1px, transparent 1px),
    linear-gradient(-35deg, rgba(74,222,128,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.map-pin-wrap {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
}
.map-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#1a3a2a,#2d6a4f);
  border: 2px solid var(--green); display: flex; align-items: center;
  justify-content: center; font-size: 18px;
  box-shadow: 0 4px 16px rgba(74,222,128,0.3);
}
.map-pin-tail {
  width: 2px; height: 10px; background: var(--green);
  margin: 0 auto; opacity: .7;
}
.map-label {
  position: absolute; bottom: 10px; left: 12px;
  background: rgba(74,222,128,0.9); color: #07100e;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 5px; letter-spacing: .05em;
}

/* persona card */
.persona-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chip {
  background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.2);
  border-radius: 999px; padding: 6px 13px;
  font-size: 12px; color: var(--text); white-space: nowrap;
}

/* admire card */
.admire-faces { display: flex; margin-top: 10px; }
.af {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg,#1a3a2a,#2d6a4f);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-left: -8px;
}
.af:first-child { margin-left: 0; }

/* ─── EXPERIENCE ─── */
.experience {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto; padding: 40px 24px 80px;
}
.exp-header { text-align: center; margin-bottom: 56px; }

.exp-list { display: flex; flex-direction: column; }
.exp-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.exp-row:first-child { border-top: 1px solid var(--border); }
@media (max-width: 580px) { .exp-row { grid-template-columns: 1fr; gap: 12px; } }

.exp-role { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.exp-co { color: var(--green); }
.exp-date { font-size: 12px; color: var(--muted); line-height: 1.6; }
.exp-desc { font-size: 14px; color: var(--muted2); line-height: 1.8; margin-bottom: 12px; }
.exp-collab { font-size: 12px; color: var(--muted); font-style: italic; margin-bottom: 8px; }
.exp-faces { display: flex; }
.expf {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg,#1a3a2a,#2d6a4f);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; margin-left: -7px;
}
.expf:first-child { margin-left: 0; }

.expf img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.exp-co {
  text-decoration: none;
}
.exp-co:hover {
  text-decoration: underline;
}

/* ─── CTA BANNER ─── */
.cta-wrap {
  position: relative; z-index: 1;
  max-width: 980px; margin: 0 auto 72px; padding: 0 24px;
}
.cta-inner {
  background: linear-gradient(120deg, rgba(74,222,128,0.12) 0%, rgba(74,222,128,0.04) 100%);
  border: 1px solid var(--green-border);
  border-radius: 24px; padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px); font-weight: 700; margin-bottom: 6px;
}
.cta-inner p { font-size: 14px; color: var(--muted); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0a1612; color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 13px 28px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  white-space: nowrap; transition: all .2s;
}
.cta-btn:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.3); }

/* ─── EDUCATION ─── */
.education {
  position: relative; z-index: 1;
  max-width: 1020px; margin: 0 auto; padding: 20px 24px 80px;
}
.edu-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px;
}
@media(max-width:640px){ .edu-grid { grid-template-columns: 1fr; } }

.edu-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px 28px 24px;
  transition: border-color .3s, transform .35s;
}
.edu-card:hover { border-color: var(--green-border); transform: translateY(-4px); }
.edu-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--green), transparent);
  opacity: 0; transition: opacity .3s;
}
.edu-card:hover::before { opacity: 1; }

.edu-year-badge {
  display: inline-flex; align-items: center;
  background: var(--green-dim); border: 1px solid var(--green-border);
  color: var(--green); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; padding: 4px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
.edu-icon {
  width: 98px; height: 98px; border-radius: 14px;
  background: #c6ffcc;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;

 .edu-icon img {
    width: 40%; height: 60%; object-fit: contain; display: block;
  }
}
.edu-degree {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; margin-bottom: 5px; line-height: 1.3;
}
.edu-school {
  font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 4px;
}
.edu-field {
  font-size: 13px; color: var(--muted); line-height: 1.6;
}
.edu-footer {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.edu-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
}
.edu-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.edu-dot.green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.edu-dot.blue  { background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }
.edu-dot.gold  { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }
.edu-gpa {
  margin-left: auto; font-size: 12px; color: var(--muted);
}
.edu-gpa strong { color: var(--green); }

/* ─── CERTIFICATION CAROUSEL ─── */
.cert-section {
  position: relative; z-index: 1;
  padding: 20px 0 80px;
}
.cert-inner {
  max-width: 1020px; margin: 0 auto; padding: 0 24px;
}
.cert-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 16px;
}
.cert-nav-btns { display: flex; gap: 10px; }
.cert-nav-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; user-select: none;
}
.cert-nav-btn:hover {
  background: var(--green-dim); border-color: var(--green-border); color: var(--green);
}

.cert-track-wrap {
  overflow: hidden; position: relative;
}
.cert-track-wrap::before,
.cert-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none;
}
.cert-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.cert-track-wrap::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.cert-track {
  display: flex; gap: 16px;
  transition: transform .45s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.cert-card {
  flex-shrink: 0; width: 280px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 24px;
  transition: border-color .3s, transform .3s;
  cursor: default;
}
.cert-card:hover { border-color: var(--green-border); transform: translateY(-4px); }

.cert-issuer-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.cert-issuer-logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  flex-shrink: 0;
}
.cert-issuer-name { font-size: 12px; color: var(--muted); font-weight: 500; }
.cert-issuer-year { font-size: 11px; color: var(--muted); opacity: .6; }

.cert-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; line-height: 1.35;
  margin-bottom: 10px;
}
.cert-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.cert-skill {
  font-size: 10px; font-weight: 600; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 999px;
  background: var(--green-dim); border: 1px solid var(--green-border);
  color: var(--green);
}
.cert-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.cert-link:hover { color: var(--green); }
.cert-link::after { content: ''; }

.cert-dots {
  display: flex; justify-content: center; gap: 7px; margin-top: 24px;
}
.cert-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); transition: all .25s; cursor: pointer;
}
.cert-dot.active { background: var(--green); width: 22px; border-radius: 999px; }

/* ─── WORK PROCESS ─── */
.process-section {
  position: relative; z-index: 1;
  max-width: 1020px; margin: 0 auto; padding: 20px 24px 80px;
}
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 36px;
}
@media(max-width:760px){ .process-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .process-grid { grid-template-columns: 1fr; } }

.process-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 28px 24px;
  transition: border-color .3s, transform .35s;
}
.process-card:hover { border-color: var(--green-border); transform: translateY(-5px); }

/* step number big bg watermark */
.process-step-num {
  position: absolute; top: -10px; right: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 72px; font-weight: 900;
  color: rgba(74,222,128,0.05); line-height: 1;
  pointer-events: none; user-select: none;
}
.process-icon-wrap {
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--green-dim); border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.process-num {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--green); margin-bottom: 10px;
}
.process-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.process-desc {
  font-size: 13px; color: var(--muted); line-height: 1.75;
}
.process-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.process-tag {
  font-size: 10px; color: var(--muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px 10px;
}
/* connector line between cards - visible on desktop */
.process-connector {
  display: flex; align-items: center; justify-content: center;
  color: rgba(74,222,128,0.2); font-size: 22px; padding-top: 28px;
}
@media(max-width:760px){ .process-connector { display: none; } }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  max-width: 1020px;
  margin: 100px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  opacity: .4;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}