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

      /* ── TOKENS ──────────────────────────────────────────── */
      :root {
        --paper: #f5f0e8;
        --paper2: #ede8df;
        --ink: #1a1714;
        --ink2: #3d3830;
        --ink3: #7a7469;
        --ink4: #b8b0a4;
        --rule: rgba(26, 23, 20, 0.1);
        --rule-h: rgba(26, 23, 20, 0.22);
        --red: #c0392b;
        --red-dim: rgba(192, 57, 43, 0.08);
        --serif: "Fraunces", serif;
        --mono: "DM Mono", monospace;
        --ease: cubic-bezier(0.16, 1, 0.3, 1);
      }

      /* ── BASE ────────────────────────────────────────────── */
      body {
        font-family: var(--mono);
        background: var(--paper);
        color: var(--ink);
        font-size: 13px;
        line-height: 1.7;
        overflow-x: hidden;
      }

      /* subtle paper texture */
      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background-image: repeating-linear-gradient(
          0deg,
          transparent,
          transparent 27px,
          rgba(26, 23, 20, 0.025) 27px,
          rgba(26, 23, 20, 0.025) 28px
        );
        pointer-events: none;
        z-index: 0;
      }

      /* ── NAV ─────────────────────────────────────────────── */
      .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        height: 56px;
        border-bottom: 1px solid var(--rule);
        background: rgba(245, 240, 232, 0.92);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        padding: 0 3rem;
      }
      .nav-inner {
        position: relative;
        max-width: 1080px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
      }
      .nav-logo {
        font-family: var(--serif);
        font-size: 17px;
        font-weight: 300;
        font-style: italic;
        color: var(--ink);
        text-decoration: none;
        letter-spacing: -0.01em;
      }
      .nav-links a {
        font-size: 11px;
        color: var(--ink3);
        text-decoration: none;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        transition: color 0.2s;
        position: relative;
      }
      .nav-links a::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.25s var(--ease);
      }
      .nav-links a:hover {
        color: var(--ink);
      }
      .nav-links a:hover::after {
        transform: scaleX(1);
      }

     /* ── UNIVERSAL NAVIGATION ─────────────────────────────── */
     
     /* Hamburger button */
     .nav-toggle {
       display: flex;
       flex-direction: column;
       justify-content: center;
       gap: 5px;
       width: 36px;
       height: 36px;
       padding: 6px;
       margin-left: auto;
       border: none;
       background: transparent;
       cursor: pointer;
     }
     
     .nav-toggle span {
       display: block;
       width: 22px;
       height: 1px;
       background: var(--ink);
       transition: transform 0.2s ease, opacity 0.2s ease;
     }
     
     /* Dropdown menu */
     .nav-links {
       display: none;
       position: absolute;
       top: calc(100% + 12px);
       right: 0;
       z-index: 1000;
     
       flex-direction: column;
       gap: 0;
     
       min-width: 180px;
       padding: 0.5rem 0;
     
       background: var(--paper);
       border: 1px solid var(--rule);
       box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
     
       list-style: none;
     }
     
     .nav-links.open {
       display: flex;
     }
     
     .nav-links li {
       width: 100%;
     }
     
     .nav-links a {
       display: block;
       width: 100%;
       padding: 0.7rem 1rem;
     
       text-decoration: none;
       color: var(--ink3);
     
       font-size: 11px;
       letter-spacing: 0.08em;
       text-transform: uppercase;
     }
     
     .nav-links a:hover {
       color: var(--ink);
       background: rgba(0, 0, 0, 0.03);
     }
     
     /* Hamburger → X when open */
     .nav-toggle.open span:nth-child(1) {
       transform: translateY(6px) rotate(45deg);
     }
     
     .nav-toggle.open span:nth-child(2) {
       opacity: 0;
     }
     
     .nav-toggle.open span:nth-child(3) {
       transform: translateY(-6px) rotate(-45deg);
     }

      /* ── LAYOUT ──────────────────────────────────────────── */
      .container {
        max-width: 1080px;
        margin: 0 auto;
      }
      section {
        padding: 6rem 3rem;
        position: relative;
        z-index: 2;
      }

      /* ── HOME ────────────────────────────────────────────── */
      #home {
        min-height: 100vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding-top: 56px;
        gap: 4rem;
        max-width: 1080px;
        margin: 0 auto;
        padding-left: 3rem;
        padding-right: 3rem;
      }

      .home-left {
        padding: 3rem 0;
      }
      .home-eyebrow {
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--ink3);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0;
      }
      .home-eyebrow-line {
        width: 32px;
        height: 1px;
        background: var(--ink4);
      }
      .hero-title {
        font-family: var(--serif);
        font-size: clamp(3.2rem, 5.5vw, 5rem);
        font-weight: 300;
        line-height: 1.05;
        color: var(--ink);
        margin-bottom: 2rem;
        letter-spacing: -0.02em;
        opacity: 0;
      }
      .hero-title strong {
        font-weight: 300;
        font-style: italic;
        color: var(--red);
      }
      .hero-desc {
        font-size: 13px;
        color: var(--ink3);
        max-width: 380px;
        line-height: 1.9;
        margin-bottom: 2.5rem;
        opacity: 0;
      }
      .hero-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        opacity: 0;
      }

      .btn-primary {
        background: var(--ink);
        color: var(--paper);
        border: none;
        border-radius: 2px;
        font-family: var(--mono);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 10px 22px;
        cursor: pointer;
        transition:
          background 0.2s,
          transform 0.1s;
      }
      .btn-primary:hover {
        background: var(--ink2);
      }
      .btn-primary:active {
        transform: scale(0.97);
      }
      .btn-outline {
        background: transparent;
        color: var(--ink2);
        border: 1px solid var(--rule-h);
        border-radius: 2px;
        font-family: var(--mono);
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 10px 22px;
        cursor: pointer;
        transition:
          border-color 0.2s,
          color 0.2s;
      }
      .btn-outline:hover {
        border-color: var(--ink3);
        color: var(--ink);
      }

      /* right side — status card */
      .home-right {
        opacity: 0;
      }
      .status-card {
        border: 1px solid var(--rule);
        border-radius: 4px;
        background: var(--paper2);
        overflow: hidden;
      }
      .status-card-header {
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid var(--rule);
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .status-card-title {
        font-size: 10px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ink3);
      }
      .status-avail {
        font-size: 10px;
        color: var(--red);
        display: flex;
        align-items: center;
        gap: 5px;
      }
      .avail-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--red);
        animation: pulse-red 2s ease-in-out infinite;
      }
      @keyframes pulse-red {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.3;
        }
      }
      .status-card-body {
        padding: 1.5rem 1.25rem;
      }
      .status-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 7px 0;
        border-bottom: 1px solid var(--rule);
        font-size: 12px;
      }
      .status-row:last-child {
        border-bottom: none;
      }
      .status-key {
        color: var(--ink3);
        font-style: italic;
      }
      .status-val {
        color: var(--ink);
      }

      /* ── WORK ────────────────────────────────────────────── */
      #work {
        border-top: 1px solid var(--rule);
        padding: 6rem 3rem;
      }
      #work .container {
      }

      .section-header {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        margin-bottom: 3rem;
      }
      .section-title {
        font-family: var(--serif);
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        font-weight: 300;
        font-style: italic;
        color: var(--ink);
        letter-spacing: -0.02em;
      }
      .section-count {
        font-size: 11px;
        color: var(--ink4);
        letter-spacing: 0.06em;
      }

      /* project grid */
      .work-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: var(--rule);
        border: 1px solid var(--rule);
        border-radius: 4px;
        overflow: hidden;
      }
      .work-card {
        background: var(--paper);
        padding: 2rem;
        text-decoration: none;
        color: var(--ink);
        display: flex;
        flex-direction: column;
        gap: 0;
        min-height: 200px;
        transition: background 0.2s;
        opacity: 0;
        transform: translateY(16px);
        position: relative;
        overflow: hidden;
      }
      .work-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s var(--ease);
      }
      .work-card:hover {
        background: var(--paper2);
      }
      .work-card:hover::before {
        transform: scaleX(1);
      }
      .work-card:hover .work-card-arrow {
        opacity: 1;
        transform: translate(0, 0);
      }
      .work-card-num {
        font-size: 10px;
        color: var(--ink4);
        letter-spacing: 0.1em;
        margin-bottom: 1.25rem;
      }
      .work-card-title {
        font-family: var(--serif);
        font-size: 1.45rem;
        font-weight: 300;
        line-height: 1.2;
        color: var(--ink);
        flex: 1;
        letter-spacing: -0.01em;
      }
      .work-card-title em {
        font-style: italic;
        color: var(--ink3);
      }
      .work-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 1.5rem;
      }
      .work-card-stack {
        font-size: 11px;
        color: var(--ink3);
        font-style: italic;
      }
      .work-card-meta {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .work-card-year {
        font-size: 11px;
        color: var(--ink4);
      }
      .work-card-badge {
        font-size: 10px;
        letter-spacing: 0.06em;
        padding: 2px 8px;
        border-radius: 100px;
        border: 1px solid var(--rule-h);
        color: var(--ink3);
      }
      .work-card-badge.live {
        color: var(--red);
        border-color: rgba(192, 57, 43, 0.3);
        background: var(--red-dim);
      }
      .work-card-badge.wip {
        color: #a07020;
        border-color: rgba(160, 112, 32, 0.25);
        background: rgba(160, 112, 32, 0.07);
      }
      .work-card-arrow {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 18px;
        color: var(--ink3);
        opacity: 0;
        transform: translate(-4px, 4px);
        transition:
          opacity 0.2s,
          transform 0.2s;
      }

      /* ── ABOUT ───────────────────────────────────────────── */
      #about {
        border-top: 1px solid var(--rule);
        padding: 6rem 3rem;
      }

      .about-body {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 5rem;
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(16px);
      }
      .about-text {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
      }
      .about-p {
        font-size: 14px;
        color: var(--ink2);
        line-height: 1.9;
        font-family: var(--serif);
        font-weight: 300;
      }
      .about-p em {
        font-style: italic;
        color: var(--red);
      }
      .about-aside {
      }
      .aside-block {
        border-left: 2px solid var(--rule-h);
        padding-left: 1.25rem;
        margin-bottom: 2rem;
      }
      .aside-block:last-child {
        margin-bottom: 0;
      }
      .aside-title {
        font-size: 10px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--ink4);
        margin-bottom: 0.75rem;
      }
      .aside-items {
        display: flex;
        flex-direction: column;
        gap: 5px;
      }
      .aside-item {
        font-size: 12px;
        color: var(--ink2);
        font-style: italic;
      }

      /* ── CONTACT ─────────────────────────────────────────── */
      #contact {
        border-top: 1px solid var(--rule);
        padding: 7rem 3rem;
      }

      .contact-body {
        opacity: 0;
        transform: translateY(16px);
      }
      .contact-big {
        font-family: var(--serif);
        font-size: clamp(2.5rem, 6vw, 5.5rem);
        font-weight: 300;
        line-height: 1.05;
        color: var(--ink);
        letter-spacing: -0.03em;
        margin-bottom: 2.5rem;
        max-width: 700px;
      }
      .contact-big em {
        font-style: italic;
        color: var(--red);
      }
      .contact-row {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 2rem;
      }
      .contact-email-wrap {
      }
      .contact-label {
        font-size: 10px;
        color: var(--ink4);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 4px;
      }
      .contact-email {
        font-family: var(--serif);
        font-size: clamp(1rem, 2vw, 1.5rem);
        font-weight: 300;
        font-style: italic;
        color: var(--ink);
        text-decoration: none;
        border-bottom: 1px solid var(--rule-h);
        padding-bottom: 2px;
        transition:
          color 0.2s,
          border-color 0.2s;
      }
      .contact-email:hover {
        color: var(--red);
        border-color: rgba(192, 57, 43, 0.4);
      }
      .social-stack {
        display: flex;
        gap: 1.5rem;
      }
      .social-link {
        font-size: 11px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ink3);
        text-decoration: none;
        transition: color 0.15s;
        position: relative;
      }
      .social-link::after {
        content: "↗";
        font-size: 9px;
        margin-left: 3px;
        opacity: 0;
        transition: opacity 0.15s;
      }
      .social-link:hover {
        color: var(--ink);
      }
      .social-link:hover::after {
        opacity: 1;
      }

      /* ── FOOTER ──────────────────────────────────────────── */
      footer {
        border-top: 1px solid var(--rule);
        padding: 1.25rem 3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 2;
        background: var(--paper2);
      }
      .footer-inner {
        max-width: 1080px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
      .footer-l {
        font-size: 11px;
        color: var(--ink4);
      }
      .footer-l a {
        color: var(--ink3);
      }
      .footer-l a:hover {
        color: var(--ink);
      }
      .footer-r {
        font-size: 11px;
        color: var(--ink3);
      }
      .footer-r a:hover {
        color: var(--ink);
      }
     html, body {
       min-height: 100vh;
     }

     body {
       display: flex;
       flex-direction: column;
     }

     footer {
       margin-top: auto;
       padding-bottom: 3rem;
     }

      /* ── RESPONSIVE ──────────────────────────────────────── */
      @media (max-width: 768px) {
        section,
        .nav {
          padding-left: 1.5rem;
          padding-right: 1.5rem;
        }
        #home {
          grid-template-columns: 1fr;
          padding-left: 1.5rem;
          padding-right: 1.5rem;
          min-height: auto;
          padding-top: calc(56px + 3rem);
          padding-bottom: 4rem;
        }
        .home-right {
          display: none;
        }
        .work-grid {
          grid-template-columns: 1fr;
        }
        .about-body {
          grid-template-columns: 1fr;
          gap: 2.5rem;
        }
        .contact-row {
          flex-direction: column;
          align-items: flex-start;
        }
        footer {
          padding: 1rem 1.5rem;
        }
      }

     /* ── RESEARCH / PHOTO / VIDEO CARDS ──────────────────────────────────────── */
     .research-page-content {
       width: 100%;
       max-width: 1080px;
       margin: 0 auto;
       padding: calc(56px + 4rem) 3rem 6rem;
       min-height: calc(100vh - 56px);
     }

     #research-cards {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 2rem;
     }

     .research-card {
       display: flex;
       flex-direction: column;
       text-decoration: none;
       color: var(--ink);
       border: 1px solid var(--rule);
       border-radius: 6px;
       overflow: hidden;
       background: var(--paper);
       transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
     }

     .research-card:hover {
       transform: translateY(-4px);
       border-color: var(--ink3);
       background: var(--paper2);
     }

     .research-card img {
       width: 100%;
       height: 180px;
       object-fit: cover;
       display: block;
     }

     .research-card .research-card-date {
       font-size: 0.75rem;
       letter-spacing: 0.05em;
       text-transform: uppercase;
       color: var(--ink4);
       margin: 1rem 1.25rem 0;
     }

     .research-card h3 {
       font-family: var(--serif);
       font-weight: 300;
       font-size: 1.2rem;
       margin: 0.4rem 1.25rem 0.5rem;
     }

     .research-card p {
       font-size: 0.85rem;
       color: var(--ink3);
       margin: 0 1.25rem 1.25rem;
       line-height: 1.6;
     }

/* ── SHARED: SUB-PAGE NAV STATE ─────────────────────────── */
.nav-links a.active {
  color: var(--ink);
}

/* ── SHARED: PAGE HEADER (used on /research, /photos, /videos) ── */
.page-header {
  padding-top: calc(56px + 4rem);
  padding-bottom: 2rem;
}
.page-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--ink4);
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-desc {
  font-size: 13px;
  color: var(--ink3);
  max-width: 480px;
  line-height: 1.9;
}
.type-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}
.type-tab {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  text-decoration: none;
  border: 1px solid var(--rule-h);
  border-radius: 100px;
  padding: 7px 16px;
  transition: all 0.2s;
}
.type-tab:hover {
  color: var(--ink);
  border-color: var(--ink3);
}
.type-tab.active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

/* ── CARD GRID (listing pages + featured) ───────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.content-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s;
  opacity: 0;
  transform: translateY(16px);
}
.content-card:hover {
  border-color: var(--rule-h);
  transform: translateY(-3px);
}
.content-card-media {
  aspect-ratio: 16 / 10;
  background: var(--paper2);
  overflow: hidden;
  position: relative;
}
.content-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.content-card:hover .content-card-media img {
  transform: scale(1.04);
}
.content-card-kind {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(26, 23, 20, 0.72);
  padding: 3px 9px;
  border-radius: 100px;
}
.content-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-card-play span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 15px;
}
.content-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.content-card-meta {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4);
  display: flex;
  gap: 10px;
}
.content-card-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.content-card-desc {
  font-size: 12px;
  color: var(--ink3);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ── DETAIL PAGE: SHARED HEADER ─────────────────────────── */
.detail-header {
  padding-top: calc(56px + 3.5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  text-decoration: none;
  margin-bottom: 2rem;
}
.detail-back:hover {
  color: var(--ink);
}
.detail-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink4);
  display: flex;
  gap: 14px;
  margin-bottom: 1.25rem;
}
.detail-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 1.25rem;
}
.detail-title em {
  font-style: italic;
  color: var(--red);
}
.detail-desc {
  font-size: 14px;
  color: var(--ink3);
  max-width: 640px;
  line-height: 1.8;
  font-family: var(--serif);
  font-style: italic;
}

/* ── RESEARCH ARTICLE BODY ──────────────────────────────── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 3rem;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink2);
  margin-bottom: 1.25rem;
}
.article-body a {
  color: var(--red);
}
.article-body img {
  width: 100%;
  border-radius: 4px;
  margin: 1.5rem 0;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.9;
}
.article-body blockquote {
  border-left: 2px solid var(--red);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink2);
  font-size: 15px;
}
.article-body code {
  font-family: var(--mono);
  background: var(--paper2);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
}

/* ── PHOTO ALBUM GRID + LIGHTBOX ─────────────────────────── */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 3rem;
  max-width: 1080px;
  margin: 0 auto;
}
.album-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
  background: var(--paper2);
}
.album-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.album-photo:hover img {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.5rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 4vh 4vw;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 3px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 22px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}
.lightbox-close {
  top: 24px;
  right: 32px;
  font-size: 26px;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink4);
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ── VIDEO EMBED ─────────────────────────────────────────── */
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 3rem 4rem;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-caption {
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.8;
  font-family: var(--serif);
  font-style: italic;
  max-width: 680px;
}

/* ── FEATURED SECTION (home page) ───────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .research-page-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 4rem;
  }

  #research-cards {
    grid-template-columns: 1fr;
  }
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
  padding: 4rem 0;
  color: var(--ink4);
  font-size: 13px;
  font-style: italic;
  font-family: var(--serif);
}
