  :root {
    /* ── Nocturne theme ──
       Names kept stable so every rule reskins from here.
       --cream  = page ground · --linen = raised surface
       --clay   = ember accent · text runs ink > charcoal > stone > mist */
    --linen: #1E1E26;
    --cream: #16161C;
    --parchment: rgba(233, 228, 217, 0.16);
    --clay: #D08A4E;
    --clay-light: #E0A268;
    --clay-faint: rgba(208, 138, 78, 0.12);
    --clay-glow: rgba(208, 138, 78, 0.07);
    --charcoal: #D7D1C5;
    --ink: #ECE6DA;
    --stone: #A39C91;
    --mist: #8C857B;
    --serif: 'EB Garamond', 'Georgia', serif;
    --sans: 'Source Sans 3', 'Helvetica Neue', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    font-size: 18px;
  }

  body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
  }

  /* ═══ NAVIGATION ═══ */

  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 26, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(208, 138, 78, 0.16);
    transition: all 0.4s ease;
  }

  nav.scrolled {
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 24px rgba(0,0,0,0.45);
  }

  .nav-name {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
  }

  .nav-links a {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--clay);
    transition: width 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active { color: var(--clay); }

  .nav-links a:hover::after,
  .nav-links a.active::after { width: 100%; }

  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--charcoal);
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  /* ═══ SECTIONS ═══ */

  .section-content {
    padding: 0 2rem;
    max-width: 780px;
    margin: 0 auto;
  }

  /* ═══ HERO ═══ */

  #home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 4rem;
    position: relative;
  }

  #home::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--clay-faint) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }

  .hero-name {
    font-family: var(--serif);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 1.2rem;
  }

  .hero-descriptor {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 3rem;
  }

  .hero-line {
    width: 40px;
    height: 1px;
    background: var(--clay);
    margin-bottom: 2.5rem;
  }

  .hero-highlight {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--stone);
    max-width: 500px;
    line-height: 1.9;
  }

  .hero-highlight em {
    font-style: normal;
    color: var(--clay);
  }

  .home-subscribe {
    margin-top: 3.5rem;
    text-align: center;
  }

  .home-subscribe a {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    padding: 0.7rem 1.8rem;
    border: 1px solid var(--parchment);
    transition: all 0.4s ease;
    display: inline-block;
  }

  .home-subscribe a:hover {
    color: var(--clay);
    border-color: var(--clay-light);
    background: var(--clay-glow);
  }

  .scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: gentleBounce 3s ease-in-out 2s infinite;
  }

  .scroll-indicator svg {
    width: 20px;
    height: 20px;
    stroke: var(--mist);
    stroke-width: 1.5;
    fill: none;
  }

  /* ═══ SECTION DIVIDERS ═══ */

  .section-divider {
    width: 40px;
    height: 1px;
    background: var(--clay);
    margin: 0 auto;
  }

  /* ═══ WORK ═══ */

  #work {
    padding-top: 8rem;
    padding-bottom: 2rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }

  .section-title {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.03em;
    margin-bottom: 0.8rem;
  }

  .section-subtitle {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mist);
  }

  .work-category { margin-bottom: 3rem; }

  .work-category-title {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--parchment);
  }

  .publication-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(233, 228, 217, 0.09);
    transition: all 0.3s ease;
  }

  .publication-item:hover {
    padding-left: 0.8rem;
    border-bottom-color: var(--clay-light);
  }

  .pub-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
  }

  .pub-title a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .pub-title a:hover { color: var(--clay); }

  .pub-venue {
    font-family: var(--serif);
    font-style: italic;
    color: var(--clay);
    font-size: 1rem;
  }

  .pub-year {
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--mist);
    letter-spacing: 0.05em;
  }

  .pub-note {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--stone);
    margin-top: 0.3rem;
    line-height: 1.6;
  }

  .pub-link {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 0.5rem;
  }

  .pub-link:hover { color: var(--clay); }

  .pub-status-label {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
    margin: 1.4rem 0 0.2rem;
    opacity: 0.85;
  }

  .pub-status-label:first-of-type { margin-top: 0.3rem; }

  .hero-highlight a.hero-venue-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(208, 138, 78, 0.4);
    transition: border-color 0.3s ease;
  }

  .hero-highlight a.hero-venue-link:hover { border-color: var(--clay); }

  /* ═══ PROJECTS ═══ */

  #projects {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }

  .projects-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .projects-title {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.03em;
  }

  .projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-card {
    background: var(--linen);
    padding: 2.2rem 2.5rem;
    border-left: 3px solid var(--clay);
    transition: all 0.3s ease;
  }

  .project-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.4);
  }

  .project-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.3rem;
  }

  .project-genre {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 1rem;
  }

  .project-description {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.8;
    font-style: italic;
  }

  /* ═══ ABOUT ═══ */

  #about {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .about-photo {
    max-width: 380px;
    margin: 0 auto 3rem;
    display: block;
  }

  .about-photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.9) contrast(1.02);
  }

  .about-content p {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--charcoal);
    line-height: 1.9;
    margin-bottom: 1.5rem;
  }

  .about-content p:first-of-type::first-letter {
    font-size: 3.2rem;
    float: left;
    line-height: 1;
    padding-right: 0.6rem;
    padding-top: 0.15rem;
    color: var(--clay);
    font-weight: 500;
  }

  .about-epigraph {
    margin: 3rem 0;
    padding: 2rem 2.5rem;
    border-left: 2px solid var(--clay-light);
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--stone);
    line-height: 1.8;
  }

  .about-epigraph .attribution {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    font-style: normal;
    color: var(--mist);
  }

  /* ═══ CONTACT ═══ */

  #contact {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-intro {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--stone);
    line-height: 1.8;
    max-width: 460px;
    margin-bottom: 2.5rem;
  }

  .contact-email {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--clay);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    padding-bottom: 2px;
  }

  .contact-email:hover { border-bottom-color: var(--clay); }

  .contact-divider-line {
    width: 40px;
    height: 1px;
    background: var(--parchment);
    margin: 3rem 0;
  }

  .contact-subscribe { max-width: 400px; }

  .contact-subscribe h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.6rem;
  }

  .contact-subscribe p {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .subscribe-btn {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
    text-decoration: none;
    padding: 0.7rem 2rem;
    border: 1px solid var(--clay-light);
    background: transparent;
    transition: all 0.4s ease;
    display: inline-block;
    cursor: pointer;
  }

  .subscribe-btn:hover {
    background: var(--clay);
    color: var(--cream);
    border-color: var(--clay);
  }

  .contact-social {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .contact-social a {
    font-family: var(--sans);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .contact-social a:hover { color: var(--clay); }

  .contact-social-divider {
    width: 1px;
    height: 16px;
    background: var(--parchment);
  }

  /* ═══ FOOTER ═══ */

  footer {
    padding: 2rem;
    text-align: center;
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--mist);
    border-top: 1px solid var(--parchment);
  }

  /* ═══ ANIMATIONS ═══ */

  @keyframes gentleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
  }

  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ═══ RESPONSIVE ═══ */

  @media (max-width: 768px) {
    html { font-size: 16px; }
    .hero-name { font-size: 2.8rem; }
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(20, 20, 26, 0.97);
      backdrop-filter: blur(12px);
      padding: 1.5rem 2rem;
      gap: 1.2rem;
      border-bottom: 1px solid var(--parchment);
    }
    .nav-toggle { display: block; }
    .section-content { padding: 0 1.5rem; }
    .section-title { font-size: 2.2rem; }
    .project-card { padding: 1.8rem; }
    .about-epigraph { padding: 1.5rem 1.8rem; }
    .about-photo { max-width: 300px; }
    .contact-email { font-size: 1.3rem; }
  }
  /* ═══ PRINT ═══ */

  @media print {
    :root {
      --cream: #ffffff; --linen: #ffffff;
      --parchment: #dddddd;
      --ink: #1A1A1A; --charcoal: #2C2C2C; --stone: #555555; --mist: #777777;
      --clay: #A0522D; --clay-light: #A0522D;
    }
    body { background: white; color: var(--charcoal); font-size: 12pt; }
    body::before { display: none; }
    nav, .scroll-indicator, .home-subscribe, .hero-line,
    .section-divider, .contact-social, .subscribe-btn,
    .contact-subscribe, .contact-divider-line, footer { display: none; }
    #home { min-height: auto; padding: 2rem 0; }
    .hero-name { font-size: 24pt; }
    .hero-descriptor { font-size: 10pt; margin-bottom: 1rem; }
    .hero-highlight { font-size: 11pt; }
    #work, #projects, #about, #contact { padding-top: 2rem; padding-bottom: 1rem; }
    .section-title { font-size: 18pt; }
    .publication-item { padding: 0.4rem 0; }
    .publication-item:hover { padding-left: 0; }
    .pub-link { display: none; }
    .project-card { border-left: 2px solid #A0522D; break-inside: avoid; }
    .about-photo { max-width: 240px; }
    .about-photo img { filter: none; }
    .about-content p { font-size: 11pt; line-height: 1.6; }
    .about-epigraph { border-left: 1px solid #A0522D; }
    .contact-email { font-size: 12pt; color: black; }
    .reveal { opacity: 1; transform: none; }
    a { color: inherit; text-decoration: none; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #6B6560; }
    .pub-title a[href]::after { display: none; }
  }

  /* ═══ TWO-PAGE ADDITIONS ═══ */

  .work-intro-sub { /* reuse section-subtitle look */ }

  .view-all-wrap { text-align: center; margin-top: 2.8rem; }

  .view-all-link {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
    text-decoration: none;
    border: 1px solid var(--clay-light);
    padding: 0.8rem 2rem;
    display: inline-block;
    transition: all 0.4s ease;
  }

  .view-all-link:hover { background: var(--clay-glow); border-color: var(--clay); }

  /* Publications page */
  .pubpage-main { padding-top: 9rem; padding-bottom: 6rem; }
  .pubpage-header { text-align: center; margin-bottom: 3.5rem; }
  .back-home {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.8rem;
    transition: color 0.3s ease;
  }
  .back-home:hover { color: var(--clay); }
  .pubpage-count {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--mist);
    letter-spacing: 0.05em;
    margin-top: 0.6rem;
  }
