/* ═══════════════════════════════════════════
   YASH GUPTA — PORTFOLIO  |  style.css
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:           #090909;
  --bg2:          #111111;
  --bg3:          #181818;
  --panel:        rgba(255,255,255,0.025);
  --line:         rgba(232,226,217,0.1);
  --line-gold:    rgba(180,140,80,0.35);
  --text:         #e8e2d9;
  --muted:        rgba(232,226,217,0.65);
  --soft:         rgba(232,226,217,0.4);
  --gold:         #b48c50;
  --gold-soft:    rgba(180,140,80,0.14);
  --gold-dim:     rgba(180,140,80,0.55);
  --accent:       #7ca7a0;
  --serif:        "Cormorant Garamond", Georgia, serif;
  --mono:         "DM Mono", Consolas, monospace;
  --sans:         "DM Sans", Arial, sans-serif;
  --radius:       2px;
  --nav-h:        68px;
  --transition:   0.3s ease;
}

[data-theme="light"] {
  --bg:           #f5f2ed;
  --bg2:          #eeeae3;
  --bg3:          #e6e1d8;
  --panel:        rgba(0,0,0,0.03);
  --line:         rgba(50,40,20,0.12);
  --line-gold:    rgba(140,100,40,0.4);
  --text:         #1a1610;
  --muted:        rgba(30,22,8,0.65);
  --soft:         rgba(30,22,8,0.4);
  --gold:         #8a6428;
  --gold-soft:    rgba(140,100,40,0.12);
  --gold-dim:     rgba(140,100,40,0.55);
  --accent:       #4a8078;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

/* Subtle grid texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg,  rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

/* Noise overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.032'/%3E%3C/svg%3E");
  z-index: 20;
  opacity: 0.4;
}

main { position: relative; z-index: 1; }
a { color: inherit; }
h1,h2,h3,h4,p { margin-top: 0; }

/* ─── CURSOR GLOW ─── */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,140,80,0.09) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  z-index: 15;
  mix-blend-mode: screen;
}

/* ─── NAV ─── */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(180,140,80,0.14);
  background: rgba(9,9,9,0.88);
  backdrop-filter: blur(16px);
  transition: background var(--transition);
}

[data-theme="light"] .site-nav {
  background: rgba(245,242,237,0.9);
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--text);
}
.brand em { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 30px);
  list-style: none;
  padding: 0;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.theme-toggle:hover { background: var(--gold-soft); }

.resume-btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  padding: 9px 16px;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}
.resume-btn:hover { background: var(--gold-soft); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - var(--nav-h));
  background: var(--bg2);
  border-left: 1px solid var(--line-gold);
  z-index: 99;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s;
}
.mobile-menu a:hover { color: var(--gold); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 24px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line-gold);
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, color 0.18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #090909; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dim); }
.btn-ghost { color: var(--gold); }
.btn-ghost:hover { background: var(--gold-soft); }

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(300px,0.95fr);
  align-items: end;
  gap: clamp(32px,6vw,96px);
  padding: calc(var(--nav-h) + 60px) clamp(20px,4vw,56px) 64px;
  border-bottom: 1px solid rgba(180,140,80,0.12);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(180,140,80,0.72);
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(64px,11vw,148px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  min-height: 2.8em;
}
.hero-name em { color: var(--gold); font-style: italic; }

/* Typewriter cursor */
.typewriter::after {
  content: "|";
  color: var(--gold);
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.tagline {
  font-family: var(--mono);
  font-size: clamp(11px,1.2vw,14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
  line-height: 1.8;
}

.hero-copy {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.82;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero aside */
.hero-right { align-self: stretch; display: grid; align-content: end; gap: 16px; }

.spotlight-card {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(180,140,80,0.1), rgba(124,167,160,0.07)), var(--panel);
  padding: clamp(22px,4vw,34px);
}

.spotlight-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.spotlight-card h2 {
  font-family: var(--serif);
  font-size: clamp(28px,3.8vw,52px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
}
.spotlight-card p { color: var(--muted); line-height: 1.76; }

.focus-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.focus-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14.5px;
}
.focus-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}
.quick-item {
  border: 1px solid var(--line);
  padding: 16px 14px;
  background: var(--panel);
}
.quick-item strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
}
.quick-item span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1.5;
}

/* ─── SECTION SHELL ─── */
.section {
  padding: clamp(72px,9vw,116px) clamp(20px,4vw,56px);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.section-header {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: end;
  gap: 16px 24px;
  margin-bottom: 52px;
}
.section-num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(38px,6vw,74px);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.45;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(260px,0.9fr);
  gap: clamp(32px,7vw,92px);
  align-items: start;
}
.lead {
  font-size: clamp(16px,1.9vw,22px);
  line-height: 1.72;
  color: var(--muted);
}
.lead strong { color: var(--text); font-weight: 500; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border: 1px solid var(--line);
}
.stat {
  min-height: 130px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat-number {
  font-family: var(--serif);
  font-size: clamp(36px,5vw,54px);
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: 10px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  line-height: 1.5;
}

/* ─── PROJECTS ─── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.project-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.project-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
}
.project-card.featured {
  grid-column: span 2;
  min-height: 340px;
  background:
    radial-gradient(circle at 88% 18%, rgba(124,167,160,0.18), transparent 30%),
    linear-gradient(140deg, rgba(180,140,80,0.12), var(--panel));
}
.project-card-inner { flex: 1; }
.project-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.project-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px,3vw,34px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 14px;
}
.project-card p { color: var(--muted); font-size: 14.5px; line-height: 1.74; }
.project-badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--line-gold);
  padding: 6px 12px;
  display: inline-block;
  margin-top: 18px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
  transition: border-color 0.18s, color 0.18s;
}
.tag:hover { border-color: var(--line-gold); color: var(--gold); }

/* ─── GALLERY ─── */
.gallery-intro {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.76;
  color: var(--muted);
  margin: -24px 0 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.gallery-card {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.gallery-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
}
.art-tile {
  height: 200px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* CSS art tiles */
.art-one {
  background:
    radial-gradient(circle at 28% 28%, rgba(180,140,80,0.95) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(124,167,160,0.34), transparent 34%),
    repeating-linear-gradient(90deg, rgba(232,226,217,0.14) 0 1px, transparent 1px 20px),
    #121212;
}
.art-two {
  background:
    radial-gradient(circle at 70% 30%, rgba(232,226,217,0.2), transparent 22%),
    linear-gradient(160deg, transparent 0 42%, rgba(180,140,80,0.86) 43% 50%, transparent 51%),
    linear-gradient(32deg, rgba(124,167,160,0.42), transparent 62%),
    #101010;
}
.art-three {
  background:
    repeating-linear-gradient(135deg, rgba(232,226,217,0.11) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 52% 54%, rgba(180,140,80,0.55), transparent 24%),
    #0d0d0d;
}
.art-four {
  background:
    linear-gradient(90deg, rgba(180,140,80,0.75) 0 18%, transparent 18% 100%),
    radial-gradient(circle at 72% 70%, rgba(124,167,160,0.62), transparent 28%),
    repeating-linear-gradient(0deg, rgba(232,226,217,0.1) 0 1px, transparent 1px 14px),
    #111111;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  height: 200px;
  background: rgba(180,140,80,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-overlay span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 8px 18px;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-body { padding: 18px 20px 22px; }
.gallery-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.gallery-body p { font-size: 13.5px; color: var(--muted); line-height: 1.64; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9,9,9,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-size: 18px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.lightbox-close:hover { background: var(--gold-soft); }

.lightbox-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  width: 100%;
}
.lightbox-art {
  aspect-ratio: 4/3;
  border: 1px solid var(--line-gold);
  min-height: 300px;
}
.lightbox-info { max-width: 260px; }
.lightbox-info h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
}
.lightbox-info p { color: var(--muted); font-size: 15px; line-height: 1.76; }

/* ─── AWARDS ─── */
.award-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.award-row {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr) 60px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.award-row:hover { background: var(--panel); }
.award-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.award-body h3 {
  font-family: var(--serif);
  font-size: clamp(17px,2.2vw,24px);
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.2;
}
.award-body p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.award-pos { font-size: 18px; text-align: right; }

/* ─── SPEAKING ─── */
.speaking-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}
.speaking-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--panel);
  transition: border-color 0.2s, transform 0.2s;
}
.speaking-card:hover { border-color: var(--line-gold); transform: translateY(-3px); }
.speaking-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-bottom: 14px;
}
.speaking-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}
.speaking-card p { color: var(--muted); font-size: 14px; line-height: 1.72; }

/* ─── LEADERSHIP / CLUBS ─── */
.club-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.club-row {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s;
}
.club-row:hover { background: var(--panel); }
.club-row h3 {
  font-family: var(--serif);
  font-size: clamp(17px,2.2vw,23px);
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}
.club-row p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ─── COMMUNITY ─── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.impact-card {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--panel);
  transition: border-color 0.2s;
}
.impact-card:hover { border-color: var(--line-gold); }
.impact-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 12px;
}
.impact-card p { color: var(--muted); font-size: 14.5px; line-height: 1.74; }

/* ─── SKILLS ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
.skill-block {
  border: 1px solid var(--line);
  padding: 28px 24px;
  background: var(--panel);
}
.skill-block h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.skill-bar-list { display: flex; flex-direction: column; gap: 16px; }
.skill-bar-item span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.skill-bar {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), rgba(124,167,160,0.8));
  border-radius: 2px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(300px,1.1fr);
  gap: clamp(32px,7vw,86px);
  align-items: start;
}
.contact-title {
  font-family: var(--serif);
  font-size: clamp(52px,8vw,100px);
  font-weight: 400;
  line-height: 0.9;
  margin-bottom: 26px;
}
.contact-title em { color: var(--gold); font-style: italic; }
.contact-note {
  border-left: 1px solid var(--line-gold);
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-links a,
.contact-links span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.18s;
}
.contact-links a:hover { color: var(--gold); }
.contact-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-dim);
  flex-shrink: 0;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.18s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold-dim); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--soft); }

.form-success {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: none;
}
.form-success.show { display: block; }

/* ─── FOOTER ─── */
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px,4vw,56px);
  color: var(--soft);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer-left, .footer-right {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── FADE UP ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* ─── PAGE TRANSITION (section highlight) ─── */
.section {
  transition: opacity 0.4s ease;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .speaking-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .impact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .speaking-grid { grid-template-columns: 1fr; }
  .award-row { grid-template-columns: 70px 1fr; }
  .award-pos { display: none; }
  .club-row { grid-template-columns: 1fr; gap: 6px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat,
  .stat:nth-child(2n),
  .stat:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child { border-bottom: 0; }
  .quick-grid { grid-template-columns: 1fr; }
  .lightbox-content { grid-template-columns: 1fr; }
  .lightbox-info { max-width: 100%; }
  footer { flex-direction: column; gap: 8px; }
}
