/* ═══════════════════════════════════════════════════════════════
   Christine Jones — Portfolio
   Warm Precision · Soft Curves · Watercolour Botanicals
   A thoughtful strategist who loves plants.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@300;400;500&family=DM+Mono:wght@300;400&display=swap');

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Warm parchment grounds */
  --bg:           #f5f0e8;
  --bg2:          #ede7db;
  --bg3:          #e4dcd0;
  --surface:      #faf7f2;

  /* Borders — organic, not mechanical */
  --border:       rgba(90, 80, 60, 0.10);
  --border-mid:   rgba(90, 80, 60, 0.18);

  /* Text */
  --text:         #2a2620;
  --text2:        #5a5248;
  --text3:        #9a9080;

  /* Nature */
  --moss:         #3c4f2c;
  --fern:         #607048;

  /* Teal — Christine's accent, precise and confident */
  --teal:         #2a8f8f;
  --teal-mid:     #38a8a8;
  --teal-light:   #56c4c4;
  --teal-pale:    rgba(42,143,143,0.12);
  --teal-faint:   rgba(42,143,143,0.06);
  --teal-glow:    rgba(42,143,143,0.20);

  /* Watercolour wash pigments */
  --wash-sage:    rgba(106, 130, 80,  0.13);
  --wash-teal:    rgba(42,  143, 143, 0.10);
  --wash-clay:    rgba(192, 140, 90,  0.09);
  --wash-moss:    rgba(60,  79,  44,  0.08);

  --shadow:       rgba(42, 38, 32, 0.08);
  --shadow-md:    rgba(42, 38, 32, 0.14);

  /* Radius — everything curves gently */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  28px;
  --r-xl:  48px;
  --r-pill:9999px;
}

[data-theme="dark"] {
  --bg:           #18170f;
  --bg2:          #1e1d14;
  --bg3:          #24231a;
  --surface:      #2a2920;

  --border:       rgba(180, 168, 140, 0.10);
  --border-mid:   rgba(180, 168, 140, 0.18);

  --text:         #ede8de;
  --text2:        #b0a890;
  --text3:        #706858;

  --moss:         #b4cc8a;
  --fern:         #90a870;

  --teal:         #48bcbc;
  --teal-mid:     #60d0d0;
  --teal-light:   #80e0e0;
  --teal-pale:    rgba(72,188,188,0.14);
  --teal-faint:   rgba(72,188,188,0.07);
  --teal-glow:    rgba(72,188,188,0.22);

  --wash-sage:    rgba(106, 130, 80,  0.08);
  --wash-teal:    rgba(72,  188, 188, 0.07);
  --wash-clay:    rgba(192, 140, 90,  0.06);
  --wash-moss:    rgba(180, 204, 138, 0.06);

  --shadow:       rgba(0,0,0,0.20);
  --shadow-md:    rgba(0,0,0,0.35);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
  transition: background 0.5s, color 0.5s;
}

/* Subtle paper grain */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; color: var(--moss);
  line-height: 1.05; letter-spacing: -0.015em;
}
h1 { font-size: clamp(3.8rem, 8.5vw, 7.5rem); letter-spacing: -0.03em; line-height: 0.95; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 em { font-style: italic; color: var(--teal); }

/* ── LAYOUT ──────────────────────────────────────────────────── */
section { padding: 7rem 2.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--teal); display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: ''; width: 28px; height: 1px;
  background: var(--teal); flex-shrink: 0;
}

.section-desc {
  color: var(--text2); font-size: 1.05rem;
  max-width: 520px; margin-bottom: 3.5rem;
  line-height: 1.82; font-weight: 300;
}

/* ── NAVIGATION ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s, box-shadow 0.3s;
}
[data-theme="dark"] nav { background: rgba(24, 23, 15, 0.90); }
nav.scrolled { box-shadow: 0 4px 40px var(--shadow); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--moss); text-decoration: none;
  letter-spacing: 0.02em; display: flex; align-items: center; gap: 0.55rem;
  transition: color 0.25s;
}
.nav-logo:hover { color: var(--teal); }

/* Tiny watercolour blob behind logo leaf */
.nav-logo-mark {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  background: radial-gradient(circle at 40% 40%, var(--wash-sage), transparent 70%);
  transition: transform 0.4s ease;
}
.nav-logo:hover .nav-logo-mark { transform: rotate(20deg) scale(1.1); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--text2); text-decoration: none;
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--teal); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }

.theme-toggle {
  background: none; border: 1px solid var(--border-mid);
  color: var(--text3); cursor: pointer;
  width: 36px; height: 36px; border-radius: var(--r-pill);
  font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.theme-toggle:hover {
  border-color: var(--teal); color: var(--teal);
  background: var(--teal-faint); transform: rotate(20deg);
}

/* ── HERO ─────────────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 10rem 2.5rem 8rem;
  position: relative;
  overflow: visible;
  z-index: 2;
}

/* ── WATERCOLOUR BOTANICAL BACKGROUND ───────────────────────── */
/*
  Approach: SVG radial gradients and overlapping ellipses simulate
  the translucent, blooming quality of watercolour washes.
  Leaves are loose, gestural outlines — NOT precise botanical diagrams.
  Multiple layers of semi-transparent colour build depth organically.
*/
.wc-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: visible;
}

/* ── HERO CONTENT ─────────────────────────────────────────────── */
.hero-content {
  position: relative; z-index: 1; max-width: 820px;
  animation: fade-up 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 0.64rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem;
  animation: fade-up 0.8s ease 0.25s both;
}
.hero-eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--teal); flex-shrink: 0;
}

/* Name — stacked, large, breathing */
.hero-name {
  position: relative; margin-bottom: 2.2rem;
  animation: fade-up 0.85s ease 0.15s both;
}
/* Soft teal wash behind the name */
.hero-name::before {
  content: '';
  position: absolute; top: -0.5em; left: -1.5rem;
  width: 420px; height: 2.2em;
  background: radial-gradient(ellipse at 30% 50%, var(--wash-teal), transparent 70%);
  border-radius: var(--r-xl); pointer-events: none;
  animation: wash-breathe 8s ease-in-out infinite alternate;
}
@keyframes wash-breathe {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.04) translateX(8px); }
}

.name-given { display: block; color: var(--moss); font-weight: 300; }
.name-family {
  display: block; font-style: italic; color: var(--teal);
  line-height: 0.92; margin-top: -0.05em; font-weight: 400;
}

.hero-tagline {
  font-size: 1.12rem; color: var(--text2); max-width: 460px;
  margin-bottom: 2.75rem; line-height: 1.82; font-weight: 300;
  animation: fade-up 0.8s ease 0.35s both;
}

.cta-row {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  animation: fade-up 0.8s ease 0.45s both;
}

/* ── BUTTONS — pill-shaped, soft ─────────────────────────────── */
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--teal); color: #fff;
  border: none; cursor: pointer;
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem;
  border-radius: var(--r-pill);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: var(--teal-mid); transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--teal-glow);
}

.btn-ghost {
  padding: 0.9rem 2.2rem; background: transparent;
  color: var(--text2); border: 1px solid var(--border-mid);
  cursor: pointer; font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem;
  border-radius: var(--r-pill);
  transition: border-color 0.25s, color 0.25s, transform 0.2s, background 0.25s;
}
.btn-ghost:hover {
  border-color: var(--teal); color: var(--teal);
  background: var(--teal-faint); transform: translateY(-2px);
}

/* ── HERO STATS ───────────────────────────────────────────────── */
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fade-up 0.8s ease 0.55s both;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 400; color: var(--teal);
  line-height: 1; margin-bottom: 0.2rem;
}
.stat-label {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text3);
}

/* ── ABOUT ────────────────────────────────────────────────────── */
#about {
  background: var(--bg2);
  position: relative; overflow: hidden;
}

/* Flowing top edge — SVG wave divider */
#about::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.about-grid {
  display: grid; grid-template-columns: 1fr 400px; gap: 6rem; align-items: start;
}
.about-text p {
  color: var(--text2); font-size: 1rem; line-height: 1.9;
  margin-bottom: 1.4rem; font-weight: 300;
}
.about-text p strong { color: var(--moss); font-weight: 500; }

/* Personal plant note — soft rounded pull-quote style */
.about-personal {
  margin-top: 2rem; padding: 1.5rem 1.8rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  position: relative;
  box-shadow: 0 4px 24px var(--shadow);
}
/* Little watercolour blob behind the leaf emoji */
.about-personal::before {
  content: '🌿';
  position: absolute; top: -1rem; left: 1.4rem;
  font-size: 1.3rem; line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(60,79,44,0.2));
}
.about-personal p {
  font-size: 0.96rem !important; color: var(--text2) !important;
  margin-bottom: 0 !important; font-style: italic; line-height: 1.78 !important;
}
.about-personal strong { color: var(--teal) !important; }

/* Skills panel — card with soft radius, no hard top border */
.skills-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  box-shadow: 0 8px 40px var(--shadow);
  position: sticky; top: 5rem;
}

/* Tiny teal wash blob inside skills panel */
.skills-panel::before {
  content: '';
  position: absolute; top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--wash-teal), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.skills-panel { position: sticky; top: 5rem; /* overflow: hidden needed for ::before */ }

.skills-title {
  font-family: 'DM Mono', monospace; font-size: 0.60rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 2rem;
}
.skill-group { margin-bottom: 1.6rem; }
.skill-group:last-of-type { margin-bottom: 0; }

.skill-group-label {
  font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  font-family: 'DM Mono', monospace; font-size: 0.64rem;
  padding: 0.32rem 0.85rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-pill);
  color: var(--text2); letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s, background 0.2s; cursor: default;
}
.tag:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-faint); }
.tag.accent { border-color: var(--teal); color: var(--teal); background: var(--teal-faint); }

.resume-btn {
  margin-top: 1.75rem; width: 100%; padding: 0.9rem;
  background: transparent; border: 1px solid var(--border-mid);
  border-radius: var(--r-pill);
  color: var(--text2); font-family: 'DM Mono', monospace; font-size: 0.64rem;
  letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  text-align: center; transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none; display: block;
}
.resume-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-faint); }

/* ── PROJECTS ─────────────────────────────────────────────────── */
#projects { background: var(--bg); position: relative; overflow: hidden; }

/* Flowing top edge into projects */
#projects::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg2);
  clip-path: ellipse(60% 100% at 50% 0%);
}

/* Card grid — no rigid dividing lines */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.2rem 2.4rem;
  position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-md);
}

/* Soft teal wash bloom in corner on hover */
.project-card::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--wash-teal), transparent 65%);
  border-radius: 50%; opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.project-card:hover::before { opacity: 1; }

/* Sage wash bloom bottom-left */
.project-card::after {
  content: '';
  position: absolute; bottom: -30px; left: -30px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, var(--wash-sage), transparent 65%);
  border-radius: 50%; opacity: 0;
  transition: opacity 0.4s ease 0.05s;
  pointer-events: none;
}
.project-card:hover::after { opacity: 1; }

.project-type {
  font-family: 'DM Mono', monospace; font-size: 0.57rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 0.85rem;
}
.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 400; color: var(--moss);
  margin-bottom: 0.8rem; line-height: 1.2;
}
.project-desc {
  font-size: 0.87rem; color: var(--text2); line-height: 1.7;
  margin-bottom: 1.35rem; font-weight: 300;
}
.project-meta { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 1.35rem; }

.project-expand {
  font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text3);
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer; background: none; border: none; padding: 0;
  transition: color 0.2s;
}
.project-expand:hover { color: var(--teal); }

.project-details {
  display: none; margin-top: 1.35rem; padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  animation: reveal-down 0.3s ease;
}
.project-details.open { display: block; }
.project-details p {
  font-size: 0.84rem; color: var(--text2); line-height: 1.74;
  margin-bottom: 0.75rem; font-weight: 300;
}

.ai-insight {
  margin-top: 1.1rem; padding: 1.1rem 1.3rem;
  background: var(--teal-faint);
  border-radius: var(--r-md);
  border: 1px solid var(--teal-pale);
  font-size: 0.82rem; color: var(--text2); line-height: 1.65; font-style: italic;
}
.ai-insight-label {
  font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal); font-style: normal; margin-bottom: 0.5rem;
}

/* ── BLOG ─────────────────────────────────────────────────────── */
#blog {
  background: var(--bg2); position: relative; overflow: hidden;
}
#blog::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: ellipse(52% 100% at 50% 0%);
}

.blog-list { display: flex; flex-direction: column; gap: 0.5rem; }

.blog-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 2rem;
  align-items: baseline; padding: 1.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: padding-left 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s;
  position: relative;
}
.blog-item:nth-child(odd) { background: var(--surface); }
.blog-item:hover { padding-left: 1.95rem; box-shadow: 0 8px 28px var(--shadow); z-index: 1; }
.blog-item:hover .blog-title { color: var(--teal); }

.blog-date {
  font-family: 'DM Mono', monospace; font-size: 0.60rem;
  letter-spacing: 0.08em; color: var(--text3); white-space: nowrap;
}
.blog-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.12rem;
  color: var(--text); transition: color 0.2s; line-height: 1.35;
}
.blog-tag-sm {
  font-family: 'DM Mono', monospace; font-size: 0.57rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); white-space: nowrap;
}

.blog-empty {
  margin-top: 0.5rem;
  padding: 2.2rem 2rem;
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 4px 24px var(--shadow);
}
.blog-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--teal);
  margin-bottom: 0.55rem;
}
.blog-empty-text {
  color: var(--text2);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 560px;
}

/* ── CONTACT ──────────────────────────────────────────────────── */
#contact {
  background: var(--bg); position: relative; overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute; top: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg2);
  clip-path: ellipse(58% 100% at 50% 0%);
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start; position: relative; z-index: 1;
}
.contact-grid.contact-links-only {
  grid-template-columns: minmax(0, 680px);
}

.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none; color: var(--text2);
  background: var(--surface);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s, border-color 0.25s, color 0.25s, background 0.25s;
}
.contact-link:hover {
  transform: translateX(6px) translateY(-1px);
  box-shadow: 0 8px 28px var(--shadow);
  border-color: var(--teal);
  color: var(--teal); background: var(--teal-faint);
}
.contact-link-icon { font-size: 1rem; width: 32px; text-align: center; color: var(--teal); }
.contact-link-label {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3);
}
.contact-link-value { font-size: 0.87rem; color: var(--text); margin-top: 0.12rem; }
.contact-link:hover .contact-link-value { color: var(--teal); }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  padding: 2.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; background: var(--bg2);
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  color: var(--moss); font-size: 1.05rem; font-weight: 400;
  display: flex; align-items: center; gap: 0.45rem;
}
.footer-leaf { opacity: 0.55; }
.footer-copy {
  font-family: 'DM Mono', monospace; font-size: 0.60rem;
  letter-spacing: 0.06em; color: var(--text3);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-family: 'DM Mono', monospace; font-size: 0.60rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text3); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.visible > * { opacity: 1; transform: none; }

@keyframes reveal-down {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .skills-panel { position: static; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .theme-toggle { flex-shrink: 0; }
  section { padding: 5rem 1.25rem; }
  #home { padding: 8rem 1.25rem 4rem; overflow: hidden; }
  #about::before, #projects::before, #blog::before, #contact::before { display: none; }
  .hero-stats { gap: 2.5rem; margin-top: 4rem; }
  .blog-item { grid-template-columns: 1fr; gap: 0.3rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
