/* ============================================================
   DESIGN TOKENS — White & Black
   Clean editorial palette. White base, pure black accents.
   ============================================================ */
:root {
  --bg:           #ffffff;
  --bg-off:       #f9f9f9;
  --bg-dark:      #0f0f0f;
  --bg-dark-card: #1c1c1c;

  --ink:          #0f0f0f;
  --ink-soft:     #525252;
  --ink-muted:    #a3a3a3;

  --border:       #e5e5e5;
  --border-dark:  rgba(255,255,255,0.08);

  --allow:        #16a34a;
  --allow-bg:     #f0fdf4;
  --deny:         #dc2626;
  --deny-bg:      #fef2f2;

  --focus:        #0f0f0f;
  --radius:       10px;
  --radius-sm:    6px;
  --space-section: clamp(72px, 10vw, 120px);

  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 68px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: opacity 0.15s; }
a:hover { opacity: 0.6; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 40px); }
.narrow > :not(h2):not(.subhead) { max-width: 780px; }

/* ============================================================
   ICONS — Lucide
   ============================================================ */
svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.label-icon   { width: 13px; height: 13px; stroke-width: 2.2; }
.btn-icon     { width: 15px; height: 15px; stroke-width: 2.2; }
.inline-icon  { width: 14px; height: 14px; stroke-width: 2; }
.demo-icon    { width: 15px; height: 15px; stroke-width: 2; }
.project-icon { width: 18px; height: 18px; stroke-width: 1.8; color: var(--ink-muted); }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute; left: 16px; top: -56px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
  gap: 12px;
  min-width: 0;
}
.brand {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { opacity: 1; }

/* Desktop nav */
.nav-desktop { display: flex; }
.nav-list { display: flex; gap: 2px; }
.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-list a:hover { color: var(--ink); background: var(--bg-off); opacity: 1; }

/* Hamburger button */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--bg-off); }

/* Always hide close, always show menu by default */
.nav-toggle .icon-menu  { display: block; width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none;  width: 18px; height: 18px; }

/* When open: swap icons */
.nav-toggle[aria-expanded="true"] .icon-menu  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 8px 0 12px;
}
.mobile-menu.open { display: block; }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-list a {
  display: block;
  padding: 13px clamp(16px, 5vw, 40px);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.mobile-nav-list a:last-child { border-bottom: none; }
.mobile-nav-list a:hover { background: var(--bg-off); color: var(--ink); opacity: 1; }

/* ============================================================
   SECTION LABEL
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: clamp(64px, 11vw, 120px) clamp(72px, 12vw, 130px);
  border-bottom: 1px solid var(--border);
}
.hero-single {
  max-width: 760px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 20ch;
  color: var(--ink);
}
.keep { white-space: nowrap; }
.hero-copy .lead {
  margin-top: 24px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.72;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.15s, transform 0.15s;
}
.button:hover { opacity: 0.78; transform: translateY(-1px); color: #fff; }

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.button-ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--bg-off); opacity: 1; }

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: #c8c8c8;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ============================================================
   DEMO PANEL
   ============================================================ */
.demo { padding: clamp(20px, 3vw, 32px); }
.demo-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-intro { margin-top: 6px; color: var(--ink-soft); font-size: 0.875rem; }

.demo-controls { display: none; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.js .demo-controls { display: flex; }
.demo-controls button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 0.825rem;
  font-weight: 500;
  cursor: pointer;
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  transition: all 0.15s;
}
.demo-controls button:hover { border-color: var(--ink); color: var(--ink); }
.demo-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.code {
  margin: 14px 0 0;
  padding: 14px 16px;
  overflow-x: auto;
  background: #0f0f0f;
  border-radius: var(--radius-sm);
  border: 1px solid #262626;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d4d4d8;
}
.code code { font-family: inherit; }

.scenario { margin-top: 18px; }
.caller { color: var(--ink-muted); font-size: 0.825rem; }
.status {
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-weight: 600;
  font-size: 0.875rem;
}
.status-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
}
.status.allow .status-code { background: var(--allow-bg); color: var(--allow); }
.status.deny  .status-code { background: var(--deny-bg);  color: var(--deny);  }
.status.allow { color: var(--allow); }
.status.deny  { color: var(--deny); }
.scenario .code { margin-top: 10px; }
.demo-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding-block: var(--space-section);
  border-bottom: 1px solid var(--border);
}
.section-dark {
  background: var(--bg-dark);
  border-bottom: none;
}
.section-dark .section-label { color: rgba(255,255,255,0.35); }
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p   { color: rgba(255,255,255,0.55); }

.section > .wrap > h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: clamp(32px, 5vw, 56px);
  color: var(--ink);
}
.section-dark > .wrap > h2 { color: #fff; }

/* ============================================================
   JOB / EXPERIENCE
   ============================================================ */
.job-card { padding: clamp(20px, 3vw, 32px); margin-bottom: 0; }
.job-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 24px;
}
.job h3 { font-size: 1.1rem; color: var(--ink); }
.job-company {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.job-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-muted);
  font-size: 0.775rem;
  font-weight: 500;
  font-family: var(--font-mono);
  background: var(--bg-off);
  padding: 4px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.bullets { margin-top: 20px; padding-left: 1.25em; }
.bullets li {
  list-style: disc;
  margin-top: 10px;
  padding-left: 4px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.bullets li::marker { color: var(--ink-muted); }
.job-note {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 0.875rem;
  padding: 12px 14px;
  background: var(--bg-off);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* Tech projects */
.tech-projects { margin-top: 8px; display: grid; gap: 12px; }
.tech-project-card { padding: clamp(18px, 2.5vw, 26px); }
.project-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tech-projects h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.tech-projects p { color: var(--ink-soft); font-size: 0.9rem; margin-top: 4px; }

/* ============================================================
   CHIPS
   ============================================================ */
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-off);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}
/* Intentionally all the same — no rainbow */
.chip.purple, .chip.green { background: var(--bg-off); border-color: var(--border); color: var(--ink-soft); }

/* ============================================================
   FEATURED PROJECT
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}
.feature-card { padding: clamp(24px, 3vw, 36px); }
.feature h3 {
  font-size: 1.4rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-intro p { margin-top: 14px; color: var(--ink-soft); max-width: 52ch; font-size: 0.95rem; }
.feature-intro .links { margin-top: 24px; }

.facts-card { padding: clamp(20px, 3vw, 30px); }
.facts > div {
  padding-block: 16px;
  border-top: 1px solid var(--border);
}
.facts > div:first-child { padding-top: 0; border-top: none; }
.facts dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}
.facts dd { margin-top: 5px; color: var(--ink-soft); font-size: 0.875rem; line-height: 1.6; }

.subhead {
  margin-top: clamp(48px, 7vw, 80px);
  font-size: 1.2rem;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Small project cards */
.project-list { margin-top: 16px; display: grid; gap: 10px; }
.project-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.project-card:hover { transform: translateX(3px); }
.project-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--ink-soft);
}
.project-card-icon svg { width: 16px; height: 16px; }
.project-card a { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); text-decoration: none; }
.project-card a:hover { opacity: 0.6; }
.project-card span { display: block; color: var(--ink-muted); font-size: 0.825rem; margin-top: 2px; }

/* ============================================================
   APPROACH — dark section
   ============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.approach-card { padding: clamp(22px, 3vw, 32px); background: var(--bg-dark-card); border-color: rgba(255,255,255,0.07); }
.approach-card:hover { border-color: rgba(255,255,255,0.14); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.approach-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}
.approach-icon-wrap svg { width: 18px; height: 18px; }
.approach-card h3 { font-size: 1rem; color: #fff; }
.approach-card p  { margin-top: 10px; color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.skill-card { padding: clamp(18px, 2.5vw, 26px); }
.skill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.skill-icon svg { width: 16px; height: 16px; }
.skill-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.skill-card-items { color: var(--ink-soft); font-size: 0.875rem; line-height: 1.65; }

/* Education */
.edu-card {
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
}
.edu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.edu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--ink-soft);
}
.edu-icon svg { width: 18px; height: 18px; }
.edu-card h4 { font-size: 1rem; color: var(--ink); }
.edu-note { color: var(--ink-muted); font-size: 0.85rem; margin-top: 3px; }

/* ============================================================
   CONTACT — dark section
   ============================================================ */
.contact-wrap {
  text-align: center;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 60px);
  max-width: 600px;
  margin: 0 auto;
}
.contact-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}
.contact-icon-wrap svg { width: 20px; height: 20px; }
.contact-wrap .section-label { color: rgba(255,255,255,0.3); }
.contact-wrap h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.contact-lead { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 42ch; margin: 0 auto; }
.contact-email {
  margin-top: 28px;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.contact-email a { color: #fff; text-decoration: none; }
.contact-email a:hover { opacity: 0.65; }
.contact-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.875rem;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.contact-links a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  opacity: 1;
}
.contact-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.3);
  font-size: 0.875rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-block: 28px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.25);
  font-size: 0.825rem;
  text-align: center;
}
.site-footer .wrap { display: flex; justify-content: center; }

/* ============================================================
   PROJECT MODALS
   ============================================================ */
.project-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 13px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.project-modal-btn:hover { color: var(--ink); border-color: var(--ink); background: var(--bg-off); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.project-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  z-index: 201;
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.project-modal[open] {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  display: block;
}
.project-modal::backdrop { display: none; }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}
.modal-title-row { display: flex; align-items: center; gap: 10px; }
.modal-icon { width: 20px; height: 20px; color: var(--ink-muted); }
.modal-header h3 { font-size: 1.1rem; color: var(--ink); }
.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--bg-off); color: var(--ink); }
.modal-close svg { width: 15px; height: 15px; }

.modal-body { padding: 22px 24px 28px; }
.modal-subtitle { font-size: 0.825rem; color: var(--ink-muted); margin-bottom: 20px; font-family: var(--font-mono); }
.modal-section { margin-bottom: 20px; }
.modal-section h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 7px;
}
.modal-section p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; }
.modal-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 11px 14px;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger .reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger .reveal-child:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger .reveal-child:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger .reveal-child:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger .reveal-child:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger .reveal-child:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger .reveal-child:nth-child(7) { transition-delay: 0.47s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .hero-copy h1 { max-width: 20ch; }
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .approach-grid { grid-template-columns: minmax(0, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
}
