:root {
  /* ── Raw palette ─────────────────────────────────────────── */
  --lavender-steel:   #C5CBDD;
  --mocha-cake:       #c0b69c;
  --burro:            #967563;
  --heavy-heart:      #711023;
  --choco-cosmos:     #561019;

  /* ── Site background & surfaces ─────────────────────────── */
  --bg:               #FAF9F6;
  --surface:          #FFFFFF;
  --surface-soft:     #F5F3EE;
  --surface-warm:     #EDE8DF;

  /* ── Mocha Cake bands ──────────────────────────────────── */
  --band:             #c0b69c;
  --band-deep:        #a99c84;

  /* Text ON band */
  --band-text:        #f9f0e4;
  --band-text-muted:  #f9f0e4;
  --band-text-faint:  rgba(247,243,236,.42);
  --band-text-sub:    #EDE3D0;

  /* ── Borders ────────────────────────────────────────────── */
  --border:           rgba(150,117,99,.11);
  --border-med:       rgba(150,117,99,.22);
  --band-border:      rgba(247,243,236,.22);

  /* ── Text on white ───────────────────────────────────────── */
  --ink:              #2C1A0E;
  --ink-body:         #3D2B1A;
  --ink-muted:        #7A6355;
  --ink-faint:        #A8978A;

  /* ── Primary accent ──────────────────────────────────────── */
  --accent:           #7A6050;
  --accent-hover:     #5E4838;
  --accent-light:     #EDE5DC;
  --accent-mid:       #967563;

  /* ── CTA button ─────────────────────────────────────────── */
  --cta:              #5C6478;
  --cta-hover:        #454D5E;

  /* ── Stone / Burro ──────────────────────────────────────── */
  --stone:            #967563;
  --stone-light:      #EDE5DE;

  /* ── Status ─────────────────────────────────────────────── */
  --pos:   #204a37;
  --neg:   #3d5d3d;
  --neu:   #739778;
  --amber: #ddb469;

  /* ── Misc ────────────────────────────────────────────────── */
  --radius-sm: 0.3rem;
  --radius:    0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 2px 10px rgba(44,26,14,.06);
  --shadow:    0 4px 20px rgba(44,26,14,.09);
  --shadow-lg: 0 12px 40px rgba(44,26,14,.14);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans",  system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--font-body); line-height: 1.7; color: var(--ink-body); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   SITE HEADER & NAV
   ============================================================ */
.site-header {
  padding-top: 2.5rem;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.top-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding-bottom: 0.2rem;
  padding-top: 2.0rem;
  border-bottom: 1px solid var(--border-med);
}
.nav-link {
  position: relative;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--accent-mid);
  transition: width 0.2s ease-out;
}
.nav-link:hover       { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.nav-link.active      { color: var(--ink); font-weight: 600; }
.nav-link.active::after { width: 100%; }

/* ============================================================
   GRADIENT SPLASH  (about page decorative only)
   ============================================================ */
.gradient-splash {
  position: absolute;
  top: 0; right: 0;
  width: 55vw; height: 55vh;
  pointer-events: none;
  background: radial-gradient(
    circle at top right,
    rgba(190,176,148,.45) 0%,
    rgba(197,203,221,.18) 50%,
    transparent 85%
  );
  z-index: -1;
}

/* ============================================================
   HOME HERO BAND
   ============================================================ */
.home-hero {
  background: var(--band);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Particle canvas — fills the hero */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Animated mesh gradient */
.hero-mesh {
  position: absolute;
  inset: 0;
  animation: meshShift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes meshShift {
  0% {
    background:
      radial-gradient(ellipse 70% 60% at 80% 20%, rgba(197,203,221,.35) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 10% 80%, rgba(86,16,25,.12)    0%, transparent 55%),
      radial-gradient(ellipse 40% 40% at 60% 90%, rgba(150,117,99,.15)  0%, transparent 50%);
  }
  50% {
    background:
      radial-gradient(ellipse 60% 70% at 70% 30%, rgba(197,203,221,.28) 0%, transparent 60%),
      radial-gradient(ellipse 55% 45% at 20% 70%, rgba(86,16,25,.10)    0%, transparent 55%),
      radial-gradient(ellipse 45% 35% at 50% 85%, rgba(150,117,99,.20)  0%, transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse 65% 65% at 85% 15%, rgba(197,203,221,.40) 0%, transparent 60%),
      radial-gradient(ellipse 45% 55% at  5% 85%, rgba(86,16,25,.08)    0%, transparent 55%),
      radial-gradient(ellipse 50% 40% at 65% 80%, rgba(150,117,99,.18)  0%, transparent 50%);
  }
}

/* Dot-grid texture */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(247,243,236,.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Floating ambient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 220px; height: 220px;
  top: -60px; right: 8%;
  background: radial-gradient(circle, rgba(197,203,221,.28) 0%, transparent 70%);
  animation: orbFloat1 9s ease-in-out infinite;
}
.hero-orb-2 {
  width: 140px; height: 140px;
  bottom: 10%; left: 5%;
  background: radial-gradient(circle, rgba(247,243,236,.18) 0%, transparent 70%);
  animation: orbFloat2 12s ease-in-out infinite;
}
.hero-orb-3 {
  width: 100px; height: 100px;
  top: 40%; right: 20%;
  background: radial-gradient(circle, rgba(150,117,99,.15) 0%, transparent 70%);
  animation: orbFloat3 7s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translateY(0)    scale(1);    }
  50%       { transform: translateY(-22px) scale(1.06); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(8deg); }
}
@keyframes orbFloat3 {
  0%,  100% { transform: translate(0, 0);       }
  33%        { transform: translate(10px, -14px); }
  66%        { transform: translate(-8px,   6px); }
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

/* Left content block */
.home-hero-content { max-width: 48rem; }

.home-hero-kicker {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--band-text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: fadeUp 0.8s ease both 0.1s;
}
.home-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--band-text-faint);
  flex-shrink: 0;
}

.home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 3.2vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--band-text);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s ease both 0.25s;
}

.home-hero-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--band-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: fadeUp 0.8s ease both 0.4s;
}

/* Right side — glassy stat pills */
.home-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-shrink: 0;
  animation: fadeLeft 0.9s ease both 0.3s;
}
.home-hero-stat {
  background: rgba(247,243,236,.13);
  border: 1px solid rgba(247,243,236,.28);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1.1rem;
  text-align: right;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.home-hero-stat:hover {
  background: rgba(247,243,236,.22);
  transform: translateX(-4px);
}
.home-hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--band-text);
  line-height: 1.15;
}
.home-hero-stat-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-text-muted);
  margin-top: 0.05rem;
}

/* Scroll hint chevron */
.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--band-text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 1;
}
.hero-scroll-arrow {
  width: 18px; height: 10px;
  border-left: 1.5px solid var(--band-text-faint);
  border-bottom: 1.5px solid var(--band-text-faint);
  transform: rotate(-45deg);
}

/* ── Hero keyframes ── */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0);    }
}

@media (max-width: 768px) {
  .home-hero-inner           { grid-template-columns: 1fr; }
  .home-hero-stats           { flex-direction: row; flex-wrap: wrap; }
  .home-hero-stat            { text-align: left; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible         { opacity: 1; transform: translateY(0); }
.reveal-delay-1         { transition-delay: 0.1s; }
.reveal-delay-2         { transition-delay: 0.2s; }
.reveal-delay-3         { transition-delay: 0.3s; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 1.1rem;
  background: var(--accent-mid);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-label h2 {
  margin-bottom: 0;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============================================================
   SKILLS BAND
   ============================================================ */
.skills-band {
  background: var(--band-deep);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
/* Diagonal stripe texture */
.skills-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(247,243,236,.03) 0px,
    rgba(247,243,236,.03) 1px,
    transparent 1px,
    transparent 22px
  );
  pointer-events: none;
}
.skills-band .section-label::before { background: var(--band-text-faint); }
.skills-band .section-label h2      { color: var(--band-text); letter-spacing: 0.05em; }

/* ============================================================
   CONTACT BAND
   ============================================================ */
.contact-band {
  background: var(--band);
  padding: 3.5rem 0;
  border-top: 1px solid var(--band-border);
  position: relative;
  overflow: hidden;
}
/* Upward glow */
.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 120%, rgba(197,203,221,.2) 0%, transparent 60%);
  pointer-events: none;
}
.contact-band .container    { position: relative; z-index: 1; }
.contact-band .contact-label {
  color: var(--band-text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.contact-band .contact-email a {
  color: var(--band-text);
  font-size: 1.1rem;
  font-weight: 600;
}
.contact-band .contact-email a:hover { color: var(--band-text-sub); text-decoration: underline; }

/* ============================================================
   INTRO SECTION  (non-home pages)
   ============================================================ */
.intro-section { margin-top: 3rem; margin-bottom: 1rem; }
.intro-section h1 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 46rem;
  color: var(--ink);
  line-height: 1.5;
}
.intro-subtitle { margin-top: 0.75rem; color: var(--stone); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.03em; }

/* ============================================================
   SECTION
   ============================================================ */
.section { padding: 2.75rem 0; }
.section h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ============================================================
   UNDERGRAD BANNER CARDS
   ============================================================ */
.banner-section { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.banner-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--band-deep);
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  display: block;
}
.banner-card-resume {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--band-deep);
  box-shadow: var(--shadow);
  display: block;
}
.banner-card img.banner-img { width: 100%; transition: opacity 0.25s ease-out; }
.banner-card .overlay { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.25s ease-out; }
.banner-card .overlay img { width: 100%; height: 100%; object-fit: cover; }
.banner-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(44,26,14,.22); }
.banner-card:hover img.banner-img { opacity: 0; }
.banner-card:hover .overlay { opacity: 1; }

/* ============================================================
   GRADUATE PROJECT CARDS
   ============================================================ */
.grad-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-med);
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s;
}
/* Diagonal light sheen — base state */
.grad-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197,203,221,.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* Shimmer sweep on hover */
.grad-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197,203,221,.12), transparent);
  z-index: 3;
  pointer-events: none;
  transition: left 0.6s ease;
}
.grad-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(44,26,14,.18); border-color: rgba(150,117,99,.4); }
.grad-card:hover::before { left: 130%; }

.grad-card-bg {
  width: 100%;
  padding: 1.75rem 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
  background: var(--surface);
}
.grad-card:hover .grad-card-bg { transform: scale(1.012); }
.grad-card-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(150,117,99,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,117,99,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.grad-card-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.grad-card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 1; }
.grad-card-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(150,117,99,.3);
  color: var(--stone);
  background: var(--stone-light);
}
.grad-card-body { position: relative; z-index: 1; }
.grad-card-eyebrow { font-family: var(--font-body); font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.35rem; }
.grad-card-title { font-family: var(--font-head); font-size: clamp(1.05rem,2vw,1.35rem); font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 0.3rem; }
.grad-card-sub { font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-muted); }
.grad-card-overlay {
  position: absolute; inset: 0;
  background: rgba(245,240,235,.97);
  display: flex;
  align-items: center;
  padding: 1.75rem 2rem;
  opacity: 0;
  transition: opacity 0.22s ease-out;
  z-index: 2;
  border-left: 3px solid var(--accent-mid);
}
.grad-card:hover .grad-card-overlay { opacity: 1; }
.grad-card-overlay-label { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 0.45rem; }
.grad-card-overlay-desc  { font-family: var(--font-body); font-size: 0.83rem; color: var(--ink-body); line-height: 1.6; margin-bottom: 0.75rem; }
.grad-card-overlay-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.grad-card-overlay-pills span {
  font-family: var(--font-body); font-size: 0.65rem; font-weight: 500;
  padding: 0.18rem 0.6rem; border-radius: 20px;
  background: var(--stone-light); border: 1px solid rgba(150,117,99,.28); color: var(--stone);
}

/* ============================================================
   SKILLS GRID — cards on the band
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.skill-block {
  background: rgba(247,243,236,.08);
  border: 1px solid rgba(247,243,236,.16);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  transition: background 0.2s, transform 0.2s;
}
.skill-block:hover {
  background: rgba(247,243,236,.15);
  transform: translateY(-3px);
}
.skill-block h3 { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--band-text); margin-bottom: 0.5rem; }
.skill-block ul { list-style: disc; margin-left: 1.2rem; color: var(--band-text-muted); font-size: 0.88rem; }
.skill-block li + li { margin-top: 0.15rem; }

@media (max-width: 768px) { .skills-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FIGMA PROJECTS
   ============================================================ */
.section-heading-centered { text-align: left; margin-bottom: 1.5rem; }
.figma-projects { display: flex; flex-direction: row; gap: 2rem; flex-wrap: wrap; }
.figma-image { flex: 1 1 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(0); transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
.figma-image:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(44,26,14,.18); }

/* ============================================================
   CONTACT (inline version for non-home pages)
   ============================================================ */
.contact-section { padding-bottom: 3.5rem; }
.contact-label   { font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.contact-email a { color: var(--stone); font-weight: 500; }
.contact-email a:hover { text-decoration: underline; color: var(--accent-hover); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-med);
  padding: 1.5rem 0 2.5rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
  background: var(--bg);
}
.bottom-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 0.5rem; }
.footer-copy { color: var(--ink-faint); font-size: 0.8rem; }

/* ============================================================
   TEXT LINK
   ============================================================ */
.text-link { color: var(--stone); font-weight: 500; font-size: 0.88rem; }
.text-link:hover { color: var(--accent-hover); text-decoration: underline; }

/* ============================================================
   UNDERGRAD CASE STUDY PAGES
   ============================================================ */
.case-hero { padding: 3rem 0 2rem; }
.case-hero h1 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 0.75rem; color: var(--ink); }
.case-hero p  { max-width: 40rem; color: var(--ink-body); }
.case-meta { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.25rem; font-size: 0.92rem; color: var(--ink-muted); }
.case-meta div strong { display: block; margin-bottom: 0.2rem; color: var(--ink); }
.case-body    { padding: 0 0 3rem; }
.case-section { margin-bottom: 2.2rem; }
.case-section h3 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--ink); }
.case-section p  { color: var(--ink-body); }
.case-image-wrapper { max-width: 900px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.case-download { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-body); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-lead { max-width: 40rem; color: var(--ink-body); }

.about-hero {
  background: var(--band);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 480px; height: 380px;
  background: radial-gradient(circle at top right, rgba(197,203,221,.22) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(44,26,14,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.about-hero .container { position: relative; z-index: 1; }

.about-main-grid {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 3rem;
  align-items: flex-start;
}
.about-main-text h1 { font-family: var(--font-head); font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--band-text); }
.about-main-text p  { color: var(--band-text-muted); font-size: 0.95rem; line-height: 1.75; }
.about-main-text p + p { margin-top: 0.85rem; }
.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(44,26,14,.22);
}

.about-pill-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.pill-card {
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  color: var(--ink-body);
  transition: transform .2s, box-shadow .2s;
}
.pill-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pill-card h3 { font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.pill-card .pill-icon { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 0.85rem; }

.more-about-rows { display: flex; flex-direction: column; gap: 3rem; margin-top: 1rem; }
.about-row { display: flex; align-items: flex-start; gap: 4rem; }
.about-row.reverse { flex-direction: row-reverse; }
.about-text { flex: 1 1 0; }
.about-text h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--ink); }
.about-text p  { color: var(--ink-body); line-height: 1.7; font-size: 0.92rem; }
.about-image-alt { flex: 0 0 280px; }
.about-image-alt img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.research-section { background: var(--surface-warm); }
.research-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.research-card {
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  transition: transform .2s, box-shadow .2s;
}
.research-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.research-card h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.research-card p  { color: var(--ink-body); margin-bottom: 0.65rem; line-height: 1.6; }
.research-ongoing {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-left: 3px solid var(--stone);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.research-ongoing h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--ink); }
.research-ongoing h4 { font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: var(--stone); letter-spacing: 0.06em; text-transform: uppercase; margin: 0.75rem 0 0.4rem; }
.research-ongoing p  { font-size: 0.88rem; color: var(--ink-body); line-height: 1.72; }

/* ============================================================
   RESUME PAGE
   ============================================================ */
.resume-hero { padding: 3rem 0 2rem; }
.resume-hero h1 { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.resume-hero p  { color: var(--ink-muted); font-size: 0.95rem; }
.resume-download-bar {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.75rem 0 2.5rem;
  padding: 1.1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.resume-download-bar p { flex: 1; font-size: 0.88rem; color: var(--ink-muted); min-width: 180px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 600;
  color: #FAF9F6; background: var(--cta);
  border: none; border-radius: var(--radius-sm);
  padding: 0.6rem 1.4rem; cursor: pointer; text-decoration: none;
  transition: background .18s; white-space: nowrap;
}
.btn-primary:hover { background: var(--cta-hover); color: #FAF9F6; text-decoration: none; }
.resume-card { background: var(--surface); border: 1px solid var(--border-med); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 2rem; }
.resume-block { padding: 2rem 2.5rem; border-bottom: 1px solid var(--border); }
.resume-block:last-child { border-bottom: none; }
.resume-block-label { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 1.25rem; }
.resume-row { display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.resume-row:last-child { margin-bottom: 0; }
.resume-date { font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-faint); padding-top: 0.15rem; line-height: 1.5; }
.resume-item-title { font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 0.15rem; }
.resume-item-sub   { font-family: var(--font-body); font-size: 0.82rem; color: var(--stone); font-weight: 500; margin-bottom: 0.45rem; }
.resume-item-body  { font-family: var(--font-body); font-size: 0.84rem; color: var(--ink-body); line-height: 1.65; }
.resume-item-body ul { padding-left: 1.1rem; list-style: disc; }
.resume-item-body li { margin-bottom: 0.2rem; }
.resume-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.resume-chip { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; padding: 0.25rem 0.75rem; border-radius: 20px; background: var(--stone-light); color: var(--ink-body); border: 1px solid var(--border-med); }
.resume-chip.accent { background: var(--accent-light); color: var(--accent); border-color: rgba(113,16,35,.22); }

/* ============================================================
   GRADUATE CASE STUDY PAGES
   ============================================================ */
.cs-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,246,.93);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-med);
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.cs-nav-back { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--ink-muted); display: flex; align-items: center; gap: 0.4rem; transition: color .18s; }
.cs-nav-back svg { width: 14px; height: 14px; }
.cs-nav-back:hover { color: var(--stone); }
.cs-nav-label { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.cs-nav-links { display: flex; gap: 1.5rem; }
.cs-nav-links a { font-family: var(--font-body); font-size: 0.73rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted); transition: color .18s; }
.cs-nav-links a:hover { color: var(--stone); }

.cs-hero {
  background: var(--band);
  padding: 110px 1.5rem 64px;
  border-bottom: 1px solid var(--band-border);
  position: relative;
  overflow: hidden;
}
.cs-hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,240,232,.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cs-hero-splash {
  position: absolute; top: -80px; right: -60px;
  width: 480px; height: 380px;
  background: radial-gradient(circle at top right, rgba(197,203,221,.2) 0%, rgba(197,203,221,.05) 55%, transparent 80%);
  pointer-events: none;
}
.cs-hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.cs-hero-meta {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--band-text-muted); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.cs-hero-meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--band-text-sub); flex-shrink: 0; }
.cs-hero-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.cs-hero-tag {
  font-family: var(--font-body); font-size: 0.65rem; font-weight: 500;
  padding: 0.2rem 0.65rem; border-radius: 20px;
  border: 1px solid rgba(245,240,232,.25);
  color: var(--band-text-muted);
  background: rgba(245,240,232,.12);
  letter-spacing: 0.04em;
}
.cs-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem,4vw,2.75rem);
  font-weight: 700; color: var(--band-text);
  line-height: 1.2; margin-bottom: 0.9rem; letter-spacing: -0.01em;
}
.cs-hero h1 span { color: var(--band-text); opacity: .82; font-style: normal; }
.cs-hero-sub {
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--band-text-muted); max-width: 580px; line-height: 1.75; margin-bottom: 2rem;
}

.cs-section { padding: 3.5rem 0; }
.cs-section + .cs-section { border-top: 1px solid var(--border); }
.cs-container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.cs-eyebrow { font-family: var(--font-body); font-size: 0.67rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 0.4rem; }
.cs-section-title { font-family: var(--font-head); font-size: clamp(1.2rem,2.5vw,1.65rem); font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.cs-section-body { font-family: var(--font-body); font-size: 0.93rem; color: var(--ink-body); max-width: 640px; line-height: 1.75; }

.cs-role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1rem; margin-top: 1.75rem; }
.cs-role-card { background: var(--surface); border: 1px solid var(--border-med); border-radius: var(--radius); padding: 1.35rem 1.25rem; box-shadow: var(--shadow-sm); transition: transform .22s, box-shadow .22s; }
.cs-role-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cs-role-card h3 { font-family: var(--font-head); font-size: 0.87rem; font-weight: 700; color: var(--ink); margin-bottom: 0.45rem; }
.cs-role-card p  { font-family: var(--font-body); font-size: 0.82rem; color: var(--ink-muted); line-height: 1.6; }
.cs-role-skills  { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.65rem; }
.cs-skill-pill { font-family: var(--font-body); font-size: 0.65rem; font-weight: 500; padding: 0.18rem 0.5rem; border-radius: 20px; background: var(--stone-light); color: var(--stone); border: 1px solid rgba(150,117,99,.28); }
.cs-skill-pill.green { background: #edf4f0; color: var(--pos);   border-color: rgba(45,106,79,.2); }
.cs-skill-pill.amber { background: #f8f2e6; color: var(--amber); border-color: rgba(138,99,24,.2); }
.cs-skill-pill.slate { background: var(--stone-light); color: var(--ink-muted); border-color: var(--border-med); }

.cs-timeline { margin-top: 2rem; position: relative; }
.cs-timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--accent-mid), rgba(150,117,99,.1)); }
.cs-tl-step { display: flex; gap: 1.75rem; cursor: pointer; }
.cs-tl-dot-col { flex-shrink: 0; width: 42px; display: flex; flex-direction: column; align-items: center; }
.cs-tl-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent-mid); z-index: 1; margin-top: 1rem; flex-shrink: 0; transition: background .18s, transform .18s; }
.cs-tl-step.active .cs-tl-dot,
.cs-tl-step:hover  .cs-tl-dot { background: var(--accent-mid); transform: scale(1.2); }
.cs-tl-line { flex: 1; width: 1px; }
.cs-tl-content { flex: 1; background: var(--surface); border: 1px solid var(--border-med); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 0.85rem; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.cs-tl-step:hover .cs-tl-content,
.cs-tl-step.active .cs-tl-content { border-color: rgba(150,117,99,.45); box-shadow: var(--shadow); }
.cs-tl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.cs-tl-num     { font-family: var(--font-body); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-top: 0.12rem; }
.cs-tl-title   { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; flex: 1; }
.cs-tl-chevron { color: var(--ink-faint); font-size: 13px; transition: transform .25s, color .18s; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.cs-tl-step.active .cs-tl-chevron { transform: rotate(180deg); color: var(--stone); }
.cs-tl-body { font-family: var(--font-body); font-size: 0.84rem; color: var(--ink-body); line-height: 1.7; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s ease, opacity .3s ease, padding-top .3s ease; }
.cs-tl-step.active .cs-tl-body { max-height: 600px; opacity: 1; padding-top: 0.7rem; }
.cs-tl-body ul { padding-left: 1.15rem; margin-top: 0.4rem; }
.cs-tl-body li { margin-bottom: 0.3rem; }
.cs-tl-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.6rem; }
.cs-tl-tag { font-family: var(--font-body); font-size: 0.65rem; padding: 0.15rem 0.5rem; border-radius: var(--radius-sm); background: var(--stone-light); color: var(--stone); border: 1px solid rgba(150,117,99,.25); }

.cs-tabs { margin-top: 1.75rem; }
.cs-tab-bar { display: flex; gap: 0.2rem; background: var(--surface-warm); border: 1px solid var(--border-med); border-radius: var(--radius); padding: 0.22rem; width: fit-content; margin-bottom: 1.5rem; }
.cs-tab-btn { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; padding: 0.45rem 1.1rem; border-radius: var(--radius-sm); border: none; background: transparent; color: var(--ink-muted); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.cs-tab-btn.active { background: var(--surface); color: var(--stone); box-shadow: var(--shadow-sm); }
.cs-tab-panel { display: none; }
.cs-tab-panel.active { display: block; }

.cs-finding-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px,1fr)); gap: 0.9rem; margin-bottom: 1.35rem; }
.cs-finding-card { background: var(--surface); border: 1px solid var(--border-med); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.cs-finding-num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; line-height: 1.1; margin-bottom: 0.25rem; }
.cs-finding-num.pos   { color: var(--pos);    }
.cs-finding-num.neg   { color: var(--neg);    }
.cs-finding-num.neu   { color: var(--neu);    }
.cs-finding-num.blue  { color: var(--accent); }
.cs-finding-num.amber { color: var(--amber);  }
.cs-finding-label { font-family: var(--font-body); font-size: 0.79rem; color: var(--ink-muted); line-height: 1.45; }
.cs-platform-desc { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-body); line-height: 1.75; margin-bottom: 1rem; }
.cs-insight-box { background: var(--stone-light); border-left: 3px solid var(--stone); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 0.95rem 1.2rem; margin-top: 1rem; }
.cs-insight-box p { font-family: var(--font-body); font-size: 0.86rem; color: var(--ink-body); line-height: 1.65; }
.cs-insight-box strong { font-weight: 600; color: var(--ink); }

.cs-skills-highlight { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px,1fr)); gap: 1.1rem; margin-top: 1.75rem; }
.cs-sh-card { background: var(--surface); border: 1px solid var(--border-med); border-radius: var(--radius); padding: 1.3rem 1.25rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.cs-sh-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.cs-sh-card.blue::before  { background: var(--accent-mid); }
.cs-sh-card.green::before { background: var(--pos);    }
.cs-sh-card.amber::before { background: var(--burro);  }
.cs-sh-card h3 { font-family: var(--font-head); font-size: 0.87rem; font-weight: 700; color: var(--ink); margin-bottom: 0.7rem; }
.cs-sh-card ul { list-style: none; padding: 0; }
.cs-sh-card ul li { font-family: var(--font-body); font-size: 0.83rem; color: var(--ink-muted); padding: 0.32rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }
.cs-sh-card ul li:last-child { border-bottom: none; }
.cs-li-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.cs-li-dot.blue  { background: var(--accent-mid); }
.cs-li-dot.green { background: var(--pos);    }
.cs-li-dot.amber { background: var(--burro);  }

.cs-takeaway-list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.cs-takeaway { display: flex; align-items: flex-start; gap: 1rem; background: var(--surface); border: 1px solid var(--border-med); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow-sm); }
.cs-takeaway-marker { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--stone); margin-top: 0.6rem; }
.cs-takeaway-text h4 { font-family: var(--font-head); font-size: 0.87rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.cs-takeaway-text p  { font-family: var(--font-body); font-size: 0.83rem; color: var(--ink-muted); line-height: 1.6; }

.cs-footer { background: var(--band); border-top: 1px solid var(--band-border); padding: 2.5rem 1.5rem; text-align: center; }
.cs-footer p { font-family: var(--font-body); font-size: 0.82rem; color: var(--band-text-muted); }
.cs-footer a { color: var(--accent); }
.cs-footer-back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-body); font-size: 0.84rem; font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(113,16,35,.3);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.3rem;
  margin-bottom: 1rem;
  transition: background .18s;
}
.cs-footer-back:hover { background: var(--accent-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-main-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image img  { aspect-ratio: auto; height: 280px; width: 100%; }
  .resume-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .resume-date { padding-top: 0; }
}
@media (max-width: 768px) {
  .intro-section { margin-top: 2.25rem; }
  .intro-section h1 { font-size: 1.3rem; }
  .top-nav, .bottom-nav { justify-content: center; }
  .case-meta { flex-direction: column; }
  .about-row, .about-row.reverse { flex-direction: column; align-items: flex-start; }
  .about-image-alt { width: 100%; flex: none; }
  .about-image-alt img { height: 200px; }
  .cs-nav-label  { display: none; }
  .cs-hero       { padding: 95px 1.25rem 50px; }
  .cs-timeline::before { left: 16px; }
  .cs-tl-dot-col { width: 34px; }
  .grad-card     { min-height: 155px; }
  .grad-card-bg  { padding: 1.35rem 1.5rem 1.2rem; }
  .resume-block  { padding: 1.5rem 1.25rem; }
}