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

  :root {
    --cream: #F5F0E8;
    --ink: #0F0E0C;
    --rust: #8B3A1F;
    --ochre: #C97A2A;
    --plum: #3D1A3A;
    --mist: #8C8478;
    --border: rgba(15,14,12,0.15);
    --serif: 'EB Garamond', Georgia, serif;
    --mono: 'Space Mono', monospace;
    --ticker-h: 2rem;
  }

  html { background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; scroll-behavior: smooth; }

  body { overflow-x: hidden; }

  a { color: inherit; text-decoration: none; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 2.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
  }

  /* Home header: nav + ticker stacked in one fixed bar */
  .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
  .site-header nav { position: static; }

  .nav-brand {
    font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink);
  }

  .nav-brand span { color: var(--mist); }

  .nav-links {
    display: flex; gap: 2.5rem; list-style: none;
    font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  }

  .nav-links a { color: var(--mist); transition: color 0.2s; }
  .nav-links a:hover { color: var(--ink); }

  /* ── HERO ── */
  .hero {
    min-height: calc(100vh - 56px - var(--ticker-h));
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding-top: calc(56px + var(--ticker-h));
  }

  .hero-text {
    padding: 2.5rem 3rem 2.5rem 2.5rem;
    display: flex; flex-direction: column; justify-content: center;
    border-right: 1px solid var(--border);
  }

  .hero-eyebrow {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--mist);
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 400; line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
  }

  .hero-title em { font-style: italic; color: var(--mist); }

  .hero-sub {
    font-size: 1rem; color: var(--mist); max-width: 38ch;
    line-height: 1.8; margin-bottom: 3rem;
  }

  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

  .btn {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
    text-transform: uppercase; padding: 0.85rem 1.75rem;
    border: 1px solid var(--ink); cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
  }

  .btn-primary { background: var(--ink); color: var(--cream); }
  .btn-primary:hover { background: var(--plum); border-color: var(--plum); }
  .btn-ghost { background: transparent; color: var(--ink); }
  .btn-ghost:hover { background: var(--ink); color: var(--cream); }

  /* ── HERO VISUAL (2×2 square grid) ── */
  .hero-visual {
    align-self: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: 1px solid var(--border);
  }

  .color-block {
    position: relative; overflow: hidden;
    aspect-ratio: 1 / 1;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .color-block img {
    display: block;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
  }
  .color-block:hover img { transform: scale(1.04); }

  .block-label {
    position: absolute; bottom: 1rem; right: 1.5rem;
    font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(245,240,232,0.85);
    text-shadow: 0 1px 6px rgba(0,0,0,0.5); pointer-events: none;
  }

  /* ── SECTION WRAPPER ── */
  .section { padding: 6rem 2.5rem; border-top: 1px solid var(--border); }
  .section-inner { max-width: 1200px; margin: 0 auto; }

  .section-label {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--mist);
    margin-bottom: 3rem;
    display: flex; align-items: center; gap: 1rem;
  }
  .section-label::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
  }

  /* ── ABOUT ── */
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
  }

  .about-text { font-size: 1.15rem; line-height: 1.85; }
  .about-text p + p { margin-top: 1.5rem; }
  .about-text em { color: var(--rust); font-style: italic; }

  .about-numbers { display: flex; flex-direction: column; gap: 2.5rem; }

  .stat {
    border-top: 1px solid var(--border); padding-top: 1.5rem;
  }

  .stat-num {
    font-size: 3.5rem; font-weight: 400; line-height: 1; color: var(--ink);
    margin-bottom: 0.4rem;
  }

  .stat-label {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--mist);
  }

  /* ── HIGHLIGHTS — AUTO-SCROLLING CAROUSEL ── */
  .gallery-marquee {
    position: relative; overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .marquee-track {
    display: flex; width: max-content;
    animation: marquee 70s linear infinite;
    will-change: transform;
  }
  .gallery-marquee:hover .marquee-track { animation-play-state: paused; }
  /* soft fade on the edges */
  .gallery-marquee::before,
  .gallery-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 8%;
    z-index: 2; pointer-events: none;
  }
  .gallery-marquee::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
  .gallery-marquee::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }

  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
  }

  .gallery-tile {
    position: relative; overflow: hidden; cursor: pointer;
    flex: 0 0 auto;
    width: clamp(190px, 22vw, 300px);
    aspect-ratio: 1 / 1;
    border-right: 1px solid var(--border);
  }

  .gallery-tile img {
    display: block;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.94);
  }
  .gallery-tile:hover img { transform: scale(1.06); filter: brightness(1.05); }

  .tile-index {
    position: absolute; top: 0.75rem; left: 0.85rem;
    font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em;
    color: rgba(245,240,232,0.7);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    pointer-events: none;
  }

  /* ── FULL COLLECTION — GALLERY WALL ── */
  .works-full {
    background: var(--ink); color: var(--cream);
    padding: 5rem 2.5rem 6rem;
  }

  .works-head {
    max-width: 1320px; margin: 0 auto 3rem;
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }
  .works-head h2 {
    font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.1;
  }
  .works-head h2 em { font-style: italic; color: var(--ochre); }
  .works-head .count {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(245,240,232,0.45);
  }

  .works-grid {
    max-width: 1320px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: clamp(1rem, 2vw, 1.75rem);
  }

  .work-cell {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer;
    background: rgba(245,240,232,0.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .work-cell:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  }
  .work-cell img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
  }
  .work-cell:hover img { transform: scale(1.04); }
  .work-cell .tile-index {
    position: absolute; bottom: 0.7rem; left: 0.85rem;
    font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.06em;
    color: rgba(245,240,232,0.9); text-shadow: 0 1px 5px rgba(0,0,0,0.6);
    pointer-events: none; opacity: 0; transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .work-cell:hover .tile-index { opacity: 1; transform: translateY(0); }

  /* ── LIGHTBOX ── */
  .lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(12,11,9,0.96);
    display: none; align-items: center; justify-content: center;
    padding: clamp(1rem, 4vw, 4rem);
  }
  .lightbox.open { display: flex; }
  .lb-figure {
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    max-width: 100%; max-height: 100%;
  }
  .lb-figure img {
    max-width: min(90vw, 88vh); max-height: 82vh; width: auto; height: auto;
    object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }
  .lb-caption {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(245,240,232,0.6);
  }
  .lb-btn {
    position: absolute; background: transparent; border: 1px solid rgba(245,240,232,0.25);
    color: var(--cream); cursor: pointer;
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; line-height: 1; transition: background 0.2s, border-color 0.2s;
  }
  .lb-btn:hover { background: rgba(245,240,232,0.12); border-color: rgba(245,240,232,0.6); }
  .lb-close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
  .lb-prev { left: clamp(1rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
  .lb-next { right: clamp(1rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

  @media (max-width: 600px) {
    .lb-prev { left: 0.5rem; }
    .lb-next { right: 0.5rem; }
    .works-full { padding: 3.5rem 1.25rem 4rem; }
    .works-grid { gap: 0.85rem; }
  }

  /* ── MANIFESTO ── */
  .manifesto {
    background: var(--ink); color: var(--cream);
    padding: 6rem 2.5rem;
  }

  .manifesto-inner { max-width: 720px; margin: 0 auto; }

  .manifesto .section-label { color: rgba(245,240,232,0.4); }
  .manifesto .section-label::after { background: rgba(245,240,232,0.1); }

  .manifesto-quote {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    line-height: 1.4; font-weight: 400;
    margin-bottom: 3rem;
  }

  .manifesto-quote em { color: var(--ochre); font-style: italic; }

  .manifesto-body {
    font-size: 1rem; line-height: 1.85;
    color: rgba(245,240,232,0.65);
  }
  .manifesto-body p + p { margin-top: 1.25rem; }

  /* ── MINT CTA ── */
  .mint-section {
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
  }

  .mint-info { padding: 5rem 3rem 5rem 2.5rem; border-right: 1px solid var(--border); }

  .mint-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1; margin-bottom: 1.5rem;
  }

  .mint-desc {
    font-size: 1rem; color: var(--mist); line-height: 1.8;
    max-width: 40ch; margin-bottom: 2.5rem;
  }

  .mint-detail {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--mist);
    border-top: 1px solid var(--border); padding-top: 1.5rem;
    margin-top: 2rem;
  }

  .mint-visual {
    display: flex; flex-direction: column;
    background: var(--plum);
    padding: 5rem 3rem;
    justify-content: space-between;
  }

  .chain-info {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(245,240,232,0.4);
    margin-bottom: auto;
  }

  .chain-label {
    font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: rgba(245,240,232,0.3);
    margin-bottom: 0.5rem;
  }

  .chain-val {
    font-size: 1.2rem; color: rgba(245,240,232,0.8);
    margin-bottom: 2rem; word-break: break-all;
  }

  /* ── FOOTER ── */
  footer {
    padding: 3rem 2.5rem;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }

  .footer-brand {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--mist);
  }

  .footer-links {
    display: flex; gap: 2rem; list-style: none;
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .footer-links a { color: var(--mist); transition: color 0.2s; }
  .footer-links a:hover { color: var(--ink); }

  /* ── TICKER (band under the nav) ── */
  .ticker {
    height: var(--ticker-h);
    display: flex; align-items: center; overflow: hidden;
    background: var(--ink); color: var(--cream);
    border-bottom: 1px solid var(--border);
  }

  .ticker-track {
    display: flex; gap: 4rem; white-space: nowrap;
    animation: ticker 25s linear infinite;
  }

  .ticker-item {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(245,240,232,0.5);
    flex-shrink: 0;
  }
  .ticker-hot { color: var(--ochre); font-weight: 700; }

  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ── ENTRANCE ── */
  .fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }

  /* ── RESPONSIVE ── */

  @media (max-width: 900px) {
    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
    }
    .hero-text {
      border-right: none; border-bottom: 1px solid var(--border);
      order: 1;
    }
    .hero-visual {
      order: 2;
      border-left: none;
      border-top: 1px solid var(--border);
    }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mint-section { grid-template-columns: 1fr; }
    .mint-info { border-right: none; border-bottom: 1px solid var(--border); }
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
  }

  @media (max-width: 600px) {
    html { font-size: 16px; }
    .hero-text { padding: 1rem 1.25rem 2.5rem; }
    .section { padding: 4rem 1.25rem; }
    .manifesto { padding: 4rem 1.25rem; }
    .mint-info { padding: 3.5rem 1.25rem; }
    .mint-visual { padding: 3rem 1.25rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    footer { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 1rem 1.5rem; }
  }

  /* ══════════════════════════════════════
     CTA — ENTER THE ARCHIVE (home)
     ══════════════════════════════════════ */
  .cta-archive {
    position: relative;
    background: var(--ink); color: var(--cream);
    padding: clamp(5rem, 12vw, 9rem) 2.5rem;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--border);
  }
  /* faint tiled skulls behind the CTA */
  .cta-archive::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('static/IMG_5468-36.webp');
    background-size: 220px;
    opacity: 0.06;
    filter: grayscale(1) contrast(1.1);
    pointer-events: none;
  }
  .cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
  .cta-archive .section-label { color: rgba(245,240,232,0.45); justify-content: center; }
  .cta-archive .section-label::before,
  .cta-archive .section-label::after {
    content: ''; flex: 1; height: 1px; background: rgba(245,240,232,0.15);
  }
  .cta-archive h2 {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400; line-height: 1.08; letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
  }
  .cta-archive h2 em { font-style: italic; color: var(--ochre); }
  .cta-archive p {
    color: rgba(245,240,232,0.65); font-size: 1.05rem; line-height: 1.7;
    max-width: 46ch; margin: 0 auto 2.5rem;
  }
  .btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
  .btn-light:hover { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }

  .cta-preview {
    display: flex; justify-content: center; gap: 0.6rem;
    margin-bottom: 3rem; flex-wrap: wrap;
  }
  .cta-preview span {
    width: 64px; height: 64px; border-radius: 2px;
    background-size: cover; background-position: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  }

  /* ══════════════════════════════════════
     GALLERY PAGE
     ══════════════════════════════════════ */
  .page-head {
    padding: calc(72px + 4rem) 2.5rem 3rem;
    border-bottom: 1px solid var(--border);
  }
  .page-head .back {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--mist);
    display: inline-block; margin-bottom: 2rem; transition: color 0.2s;
  }
  .page-head .back:hover { color: var(--ink); }
  .page-head h1 {
    font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 400;
    line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 1rem;
  }
  .page-head h1 em { font-style: italic; color: var(--rust); }
  .page-head .lede {
    font-size: 1.05rem; color: var(--mist); max-width: 52ch; line-height: 1.7;
  }

  /* full-bleed gallery on its own page */
  .gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px; background: var(--border);
    border-bottom: 1px solid var(--border);
  }
  .gallery-page-grid .work-cell {
    background: var(--cream);
    box-shadow: none;
  }
  .gallery-page-grid .work-cell .tile-index { color: rgba(245,240,232,0.85); }
  .gallery-page-grid .work-cell:hover { transform: none; box-shadow: none; }

  @media (max-width: 600px) {
    .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
    .page-head { padding: calc(64px + 2.5rem) 1.25rem 2rem; }
    .cta-archive { padding: 4rem 1.25rem; }
  }

  /* ── 404 PAGE ── */
  .notfound { min-height: 100vh; display: flex; align-items: center; }
  .notfound .cta-inner { width: 100%; }
  .notfound-actions {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  }
  .btn-ghost-light {
    background: transparent; color: var(--cream);
    border-color: rgba(245,240,232,0.4);
  }
  .btn-ghost-light:hover { background: rgba(245,240,232,0.1); border-color: var(--cream); }

  /* ── LEGAL PAGES ── */
  .legal { max-width: 760px; margin: 0 auto; padding: 2.5rem 2.5rem 6rem; }
  .legal .updated {
    font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--mist); margin-bottom: 2.5rem;
  }
  .legal h2 { font-size: 1.4rem; font-weight: 400; margin: 2.5rem 0 0.75rem; }
  .legal h2:first-of-type { margin-top: 0; }
  .legal p { margin-bottom: 1rem; line-height: 1.8; }
  .legal ul { margin: 0 0 1rem 1.4rem; }
  .legal li { line-height: 1.8; margin-bottom: 0.35rem; }
  .legal a { text-decoration: underline; text-underline-offset: 3px; }
  .legal em { color: var(--rust); font-style: italic; }
