  /* ─── PAGE HEADER ─── */
  #page-header {
    position: relative; padding: 10rem 4rem 5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
  }
    .header-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
  .header-eyebrow {
    font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
  }
  .header-eyebrow::before {
    content: ''; display: block; width: 32px; height: 1px;
    background: var(--gold); opacity: 0.5;
  }
  .header-title {
    font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
    margin-bottom: 1.2rem;
  }
  .header-title em {
    font-style: italic; color: var(--gold);
  }
  .header-desc {
    font-size: 1.05rem; font-weight: 300; color: var(--section-desc);
    max-width: 580px; line-height: 1.75;
  }
  .header-stats {
    display: flex; gap: 3rem; margin-top: 2.5rem;
  }
  .header-stat-num {
    font-family: var(--font-display); font-size: 2rem; font-weight: 700;
    color: var(--text); letter-spacing: -0.02em; line-height: 1;
  }
  .header-stat-num span { color: var(--gold); }
  .header-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.2rem; }

  /* ─── FILTERS ─── */
  #filters {
    position: sticky; top: 64px; z-index: 50;
    background: var(--nav-bg); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 4rem;
  }
  .filter-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; gap: 0; overflow-x: auto;
    scrollbar-width: none;
  }
  .filter-inner::-webkit-scrollbar { display: none; }
  .filter-btn {
    padding: 1.1rem 1.4rem;
    font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); background: none; border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
  }
  .filter-btn:hover { color: var(--text); }
  .filter-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

  /* ─── PROJECT GRID ─── */
  #projects-container {
    max-width: 1200px; margin: 0 auto; padding: 4rem;
  }

  .category-section { margin-bottom: 4rem; }
  .category-section.hidden { display: none; }

  .category-label {
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 1.5rem; padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }
  .category-count {
    font-size: 0.7rem; color: var(--muted); font-weight: 400;
    letter-spacing: 0.05em;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
  }

  .project-item {
    background: var(--surface);
    padding: 1.2rem 1.4rem;
    font-size: 0.88rem;
    color: var(--origin-body);
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
    cursor: default;
    display: flex; align-items: flex-start; gap: 0.75rem;
  }
  .project-item:hover {
    background: var(--surface2);
    color: var(--text);
  }
  .project-item::before {
    content: '';
    display: block; width: 4px; height: 4px; border-radius: 50%;
    background: var(--gold); opacity: 0.5; flex-shrink: 0;
    margin-top: 0.45rem; transition: opacity 0.2s;
  }
  .project-item:hover::before { opacity: 1; }

  /* Search */
  .search-bar {
    display: flex; gap: 1rem; align-items: center;
    max-width: 1200px; margin: 0 auto;
    padding: 2rem 4rem 0;
  }
  .search-input {
    flex: 1; max-width: 400px;
    padding: 0.75rem 1rem;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 2px; color: var(--text);
    font-family: var(--font-body); font-size: 0.9rem;
    outline: none; transition: border-color 0.2s;
  }
  .search-input::placeholder { color: var(--muted); }
  .search-input:focus { border-color: rgba(233,196,106,0.4); }
  .search-count {
    font-size: 0.8rem; color: var(--muted);
  }

  /* No results */
  #no-results {
    display: none; text-align: center;
    padding: 4rem 2rem; color: var(--muted); font-size: 0.95rem;
  }

  /* ─── FOOTER ─── */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 4rem 2rem;
  }
  .footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  .footer-logo {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
    letter-spacing: -0.02em; color: var(--text); margin-bottom: 1rem;
  }
  .footer-logo span { color: var(--gold); }
  .footer-tagline {
    font-size: 0.88rem; color: var(--muted); line-height: 1.6;
    max-width: 260px; margin-bottom: 1.5rem;
  }
  .social-links { display: flex; gap: 0.8rem; }
  .social-link {
    width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: var(--muted); text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
  }
  .social-link:hover { border-color: var(--gold); color: var(--gold); }
  .footer-col h4 {
    font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
    margin-bottom: 1.2rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .footer-col a {
    font-size: 0.88rem; color: var(--footer-link);
    text-decoration: none; transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--text); }
  .footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.8rem; color: var(--muted);
  }

  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #page-header { padding: 8rem 1.5rem 3rem; }
    #filters { padding: 0 1.5rem; }
    #projects-container { padding: 2rem 1.5rem; }
    .search-bar { padding: 1.5rem 1.5rem 0; }
    .header-stats { gap: 1.5rem; flex-wrap: wrap; }
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    .project-grid { grid-template-columns: 1fr; }
    .mosaic-bg { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
  }

  .theme-toggle {
    width: 40px; height: 22px;
    background: var(--surface2); border: 1px solid var(--border);
    border-radius: 999px; cursor: pointer; position: relative;
    transition: background 0.3s, border-color 0.3s; flex-shrink: 0;
  }
  .theme-toggle::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--gold); transition: transform 0.3s;
  }
  [data-theme="light"] .theme-toggle { background: rgba(184,134,11,0.15); border-color: rgba(184,134,11,0.3); }
  [data-theme="light"] .theme-toggle::after { transform: translateX(18px); }
  .theme-toggle-wrap { display: flex; align-items: center; gap: 0.5rem; }
  .theme-icon {
    display: flex; align-items: center;
    color: var(--muted);
    transition: color 0.3s, opacity 0.3s; user-select: none;
    line-height: 1;
  }
  .theme-icon svg {
    width: 15px; height: 15px;
    stroke: currentColor; fill: none;
    stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
    transition: stroke 0.3s;
  }
  #themeIconDark { opacity: 1; color: var(--gold); }
  [data-theme="light"] #themeIconDark { opacity: 0.35; color: var(--muted); }
  #themeIconLight { opacity: 0.35; }
  [data-theme="light"] #themeIconLight { opacity: 1; color: var(--gold); }


  .logo-light { display: none; }
  .logo-dark  { display: block; }
  [data-theme="light"] .logo-dark  { display: none; }
  [data-theme="light"] .logo-light { display: block; }
