@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Instrument+Sans:wght@400;500;600;700&family=DM+Mono:wght@300;400&display=swap');

:root {
    --earth-deep: #0C0E08;
    --earth-dark: #1A1E12;
    --earth-mid: #2A3018;
    --soil: #3D3520;
    --gold: #C5A55A;
    --gold-light: #E2D1A0;
    --gold-pale: #F5EDD8;
    --sage: #7A8B5C;
    --sage-light: #A4B482;
    --clay: #8B6B4A;
    --chalk: #EDE8DF;
    --chalk-dim: #C8C1B4;
    --mycelium: rgba(197, 165, 90, 0.08);
  }

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

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    background: var(--earth-deep);
    color: var(--chalk);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── GRAIN OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    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)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
  }

  /* ── TOP NAV ── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(12, 14, 8, 0.7);
    border-bottom: 1px solid rgba(197, 165, 90, 0.1);
    transition: all 0.4s ease;
  }

  nav.scrolled {
    padding: 1rem 3rem;
    background: rgba(12, 14, 8, 0.92);
  }

  .nav-mark {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--chalk-dim);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }

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

  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }

  /* ── HERO ── */
  .hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14rem 2rem 5rem;
  }

  .hero-pre {
    font-family: 'DM Mono', monospace;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
  }

  .hero-sub {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    color: var(--chalk-dim);
    max-width: 600px;
    margin: 1.5rem auto 0;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
  }

  .hero-labyrinth {
    width: clamp(180px, 24vw, 260px);
    margin: 2.5rem auto 0;
    opacity: 0;
    animation: fadeUp 1.8s ease 1s forwards;
  }

  .hero-labyrinth img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    filter: drop-shadow(0 0 40px rgba(197, 165, 90, 0.3));
  }

  .hero-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    margin: 3rem auto 0;
    opacity: 0;
    animation: fadeUp 1s ease 1.6s forwards;
  }

  /* ── HERO CTA ── */
  .hero-cta {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-cta a {
    text-decoration: none;
    display: block;
  }

  .hero-cta-label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    font-weight: 300;
    letter-spacing: 0.15em;
  }

  .hero-cta-thumb {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
  }

  .hero-cta-thumb:hover {
    transform: translateY(-4px);
  }

  .hero-cta-thumb img {
    width: 300px;
    display: block;
    border-radius: 16px;
  }

  /* ── GALLERY HEADER & FOOTER P ── */
  .gallery header p {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--gold);
    max-width: 600px;
    margin: 0.5rem auto 4rem;
  }

  .gallery footer p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--gold);
    font-style: italic;
    text-align: center;
    margin: 0 auto;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* ── SECTIONS ── */
  section {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem;
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 3rem;
    padding-left: 2rem;
    position: relative;
  }

  .section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--sage);
  }

  /* ── MANIFESTO ── */
  .manifesto {
    background: linear-gradient(180deg, transparent 0%, var(--mycelium) 30%, var(--mycelium) 70%, transparent 100%);
    border-top: 1px solid rgba(197, 165, 90, 0.06);
    border-bottom: 1px solid rgba(197, 165, 90, 0.06);
  }

  .manifesto-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--gold-pale);
    max-width: 900px;
  }

  .manifesto-text em {
    font-style: italic;
    color: var(--gold);
  }

  .manifesto-text .break {
    display: block;
    height: 1.5em;
  }

  /* ── PILLARS GRID ── */
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(197, 165, 90, 0.08);
    border: 1px solid rgba(197, 165, 90, 0.08);
    margin-top: 3rem;
  }

  .pillar {
    background: var(--earth-deep);
    padding: 3rem 2.5rem;
    transition: background 0.5s ease;
    position: relative;
  }

  .pillar:hover {
    background: var(--earth-dark);
  }

  .pillar-number {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--sage);
    margin-bottom: 1.5rem;
  }

  .pillar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  .pillar-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--chalk-dim);
  }

  /* ── HOLONIC STRUCTURE ── */
  .holonic {
    background: var(--earth-dark);
    border-top: 1px solid rgba(197, 165, 90, 0.06);
    border-bottom: 1px solid rgba(197, 165, 90, 0.06);
  }

  .holonic-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--gold-pale);
    margin-bottom: 4rem;
    max-width: 700px;
  }

  .holon-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
  }

  .holon-level {
    flex: 1;
    padding: 2.5rem 2rem;
    position: relative;
    border: 1px solid rgba(197, 165, 90, 0.1);
    border-right: none;
    transition: all 0.5s ease;
  }

  .holon-level:last-child {
    border-right: 1px solid rgba(197, 165, 90, 0.1);
  }

  .holon-level:hover {
    background: rgba(197, 165, 90, 0.04);
  }

  .holon-level::after {
    content: '→';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 1.2rem;
    z-index: 2;
  }

  .holon-level:last-child::after {
    display: none;
  }

  .holon-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
  }

  .holon-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }

  .holon-role {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
  }

  .holon-desc {
    font-size: 0.85rem;
    color: var(--chalk-dim);
    line-height: 1.6;
  }

  .holon-pop {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    color: var(--sage);
    margin-top: 0.5rem;
  }

  /* ── QUOTE SECTION ── */
  .quote-section {
    padding: 10rem 2rem;
    text-align: center;
  }

  .quote-section blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--chalk-dim);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
  }

  .quote-section blockquote::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 2.5rem;
  }

  .quote-response {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.9vw, 2.8rem);
    font-weight: 700;
    font-style: italic;
    color: var(--gold);
    max-width: 800px;
    margin: 2.5rem auto 0;
    line-height: 1.4;
  }

  .quote-attr {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sage);
    margin-top: 2rem;
    font-style: normal;
    display: block;
  }

  /* ── ESSAY CHAPTERS ── */
  .chapter {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(197, 165, 90, 0.06);
  }

  .chapter:nth-child(even) {
    background: linear-gradient(180deg, transparent 0%, var(--mycelium) 20%, var(--mycelium) 80%, transparent 100%);
  }

  .chapter-inner {
    max-width: 800px;
    margin: 0 auto;
  }

  .chapter-number {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
  }

  .chapter-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 3rem;
    line-height: 1.15;
  }

  .chapter-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.85;
    color: var(--chalk);
  }

  .chapter-body p {
    margin-bottom: 1.5em;
    text-indent: 1.5em;
  }

  .chapter-body p:first-of-type {
    text-indent: 0;
  }

  /* Drop caps */
  .chapter-body p:first-of-type::first-letter {
    float: left;
    font-size: 4.2em;
    line-height: 0.75;
    padding-right: 0.08em;
    padding-top: 0.1em;
    color: var(--gold);
    font-weight: 600;
  }

  .chapter-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    color: var(--gold);
    margin: 3rem 0 1.5rem;
    text-indent: 0;
  }

  .chapter-body em {
    color: var(--chalk-dim);
  }

  .chapter-body strong {
    color: var(--gold-pale);
    font-weight: 600;
  }

  /* Blockquotes within chapters */
  .chapter-body blockquote {
    margin: 2.5rem 0 2.5rem 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--gold);
    font-style: italic;
    color: var(--chalk-dim);
  }

  .chapter-body blockquote p {
    text-indent: 0 !important;
    margin-bottom: 0.75em;
  }

  .chapter-body blockquote p:first-of-type::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    padding: 0;
    color: inherit;
    font-weight: inherit;
  }

  .chapter-body blockquote cite {
    display: block;
    margin-top: 0.75rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    font-style: normal;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
  }

  /* Float image for text wrap */
  .float-right {
    float: right;
    width: 45%;
    margin: 0.5rem 0 1.5rem 2rem;
    border-radius: 8px;
  }

  @media (max-width: 768px) {
    .float-right {
      float: none;
      width: 100%;
      margin: 1rem 0;
    }
  }

  /* Pullquotes */
  .pullquote {
    margin: 3.5rem 0;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(197, 165, 90, 0.2);
    border-bottom: 1px solid rgba(197, 165, 90, 0.2);
    text-align: center;
  }

  .pullquote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem) !important;
    font-weight: 500;
    line-height: 1.45;
    color: var(--gold) !important;
    text-indent: 0 !important;
    max-width: 620px;
    margin: 0 auto !important;
  }

  .pullquote p::first-letter {
    float: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    color: inherit !important;
    font-weight: inherit !important;
  }

  /* Section breaks */
  .section-break {
    text-align: center;
    margin: 3rem 0;
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 0.5em;
  }

  /* Infoboxes */
  .infobox {
    background: rgba(197, 165, 90, 0.04);
    border: 1px solid rgba(197, 165, 90, 0.12);
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
  }

  .infobox-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
  }

  .infobox p {
    text-indent: 0 !important;
    margin-bottom: 0.75em !important;
    font-size: 0.95rem !important;
    line-height: 1.7;
    color: var(--chalk-dim);
  }

  .infobox p:last-child { margin-bottom: 0 !important; }
  .infobox strong { color: var(--gold); font-weight: 600; }

  .infobox p::first-letter {
    float: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
    padding: 0 !important;
    color: inherit !important;
    font-weight: inherit !important;
  }

  /* Holon diagram (dark version) */
  .holon-diagram {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 2.5rem 0;
    border: 1px solid rgba(197, 165, 90, 0.15);
  }

  .holon-step {
    flex: 1;
    padding: 1.5rem 1.2rem;
    border-right: 1px solid rgba(197, 165, 90, 0.1);
    text-align: center;
    transition: background 0.4s;
  }

  .holon-step:last-child { border-right: none; }
  .holon-step:hover { background: rgba(197, 165, 90, 0.04); }

  .holon-step .icon { font-size: 1.8rem; margin-bottom: 0.5rem; }

  .holon-step .label {
    font-family: 'DM Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.3rem;
  }

  .holon-step .name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--gold);
  }

  .holon-step .pop {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    color: var(--sage);
    margin-top: 0.3rem;
  }

  /* ── IT IS / DECLARATION ── */
  .itis {
    border-top: 1px solid rgba(197, 165, 90, 0.06);
  }

  .itis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 4rem;
    margin-top: 3rem;
  }

  .itis-item {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--chalk-dim);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(197, 165, 90, 0.06);
    transition: color 0.3s;
  }

  .itis-item:hover {
    color: var(--chalk-dim);
  }

  .itis-item strong {
    color: var(--gold);
    font-weight: 400;
  }

  /* ── CTA ── */
  .panorama-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .panorama-banner img {
    width: 100%;
    height: auto;
    display: block;
  }

  .panorama-banner::before,
  .panorama-banner::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 30%;
    z-index: 1;
    pointer-events: none;
  }

  .panorama-banner::before {
    top: 0;
    background: linear-gradient(to bottom, var(--fade-color, var(--earth-dark)), transparent);
  }

  .panorama-banner::after {
    bottom: 0;
    background: linear-gradient(to top, var(--fade-color, var(--earth-dark)), transparent);
  }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(197, 165, 90, 0.08);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-left {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--chalk-dim);
    opacity: 0.5;
  }

  .footer-right {
    display: flex;
    gap: 2rem;
  }

  .footer-right a {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--chalk-dim);
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.3s;
  }

  .footer-right a:hover {
    color: var(--gold);
    opacity: 1;
  }

  /* ── SCROLL ANIMATIONS ── */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* ── HAMBURGER MENU ── */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .pillars-grid {
      grid-template-columns: 1fr;
    }

    .holon-flow {
      flex-direction: column;
    }

    .holon-level {
      border-right: 1px solid rgba(197, 165, 90, 0.1);
      border-bottom: none;
    }

    .holon-level:last-child {
      border-bottom: 1px solid rgba(197, 165, 90, 0.1);
    }

    .holon-level::after {
      content: '↓';
      right: 50%;
      top: auto;
      bottom: -0.75rem;
      transform: translateX(50%);
    }

    .itis-grid {
      grid-template-columns: 1fr;
    }

    nav { padding: 1rem 1.5rem; }

    .nav-toggle { display: block; }

    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(12, 14, 8, 0.97);
      padding: 1.5rem 2rem;
      gap: 1rem;
      border-bottom: 1px solid rgba(197, 165, 90, 0.1);
    }
    .nav-links.open { display: flex; }

    .hero { padding: 8rem 1.5rem 3rem; }
    .hero-pre {
      font-size: 1rem;
      letter-spacing: 0.2em;
    }

    .hero-cta-label { font-size: 1.3rem; }
    .hero-cta-thumb,
    .hero-cta-thumb img {
      width: clamp(200px, 70vw, 300px);
    }

    .holon-diagram { flex-direction: column; }
    .holon-step { border-right: none; border-bottom: 1px solid rgba(197, 165, 90, 0.1); }
    .holon-step:last-child { border-bottom: none; }

    footer {
      flex-direction: column;
      gap: 1.5rem;
      text-align: center;
    }
    .footer-right { justify-content: center; }
  }

  @media (max-width: 600px) {
    section { padding: 5rem 1.5rem; }
    .chapter { padding: 4rem 1.5rem; }
    .pillar { padding: 2rem 1.5rem; }
    .holon-level { padding: 2rem 1.5rem; }
    .hero-pre {
      font-size: 0.85rem;
      letter-spacing: 0.15em;
    }
    .hero-sub { font-size: 1rem; }
  }

  /* ── GALLERY ── */
  .gallery header { text-align: center; padding: 120px 20px 20px; }
  .divider { text-align: center; padding: 40px 0; color: rgba(197,165,90,0.2); font-size: 1.5rem; letter-spacing: 1em; }

  .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; padding: 20px 30px; max-width: 1700px; margin: 0 auto; }

  .card { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform 0.4s ease, box-shadow 0.4s ease; }
  .card:hover { transform: scale(1.02); box-shadow: 0 8px 40px rgba(197, 165, 90, 0.35); }
  .card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; filter: brightness(0.85); transition: filter 0.4s; }
  .card:hover img { filter: brightness(1); }
  .card .overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(transparent 40%, rgba(12,14,8,0.92)); }
  .card .overlay h3 { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 400; color: var(--gold-pale); letter-spacing: 0.05em; }
  .card .overlay .welcome { font-size: 0.95rem; color: var(--gold); margin-top: 6px; font-style: italic; }
  .card .overlay .tag { display: inline-block; margin-top: 8px; padding: 3px 14px; border-radius: 20px; font-size: 0.75rem; background: rgba(197,165,90,0.08); color: var(--chalk-dim); border: 1px solid rgba(197,165,90,0.15); letter-spacing: 0.05em; font-family: "DM Mono", monospace; }
  .card.fav .overlay h3::before { content: "♥ "; color: var(--gold); }

  /* ── LIGHTBOX ── */
  .lb { display: none; position: fixed; inset: 0; background: rgba(12,14,8,0.97); z-index: 1000; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
  .lb.open { display: flex; }
  .lb img { max-width: 95vw; max-height: 72vh; border-radius: 6px; box-shadow: 0 0 60px rgba(197,165,90,0.15); }
  .lb .meta { text-align: center; margin-top: 24px; max-width: 700px; }
  .lb .meta h3 { font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--gold); font-weight: 300; }
  .lb .meta .welcome { font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--gold-light); margin: 12px 0; font-style: italic; }
  .lb .meta .desc { color: var(--chalk-dim); line-height: 1.8; font-size: 1.05rem; }
  .lb .close { position: absolute; top: 24px; right: 32px; font-size: 2.5rem; color: rgba(197,165,90,0.3); cursor: pointer; transition: color 0.3s; }
  .lb .close:hover { color: var(--gold); }
  .lb .nav { position: absolute; top: 50%; font-size: 3rem; color: rgba(197,165,90,0.3); cursor: pointer; transition: color 0.3s; user-select: none; }
  .lb .nav:hover { color: var(--gold); }
  .lb .nav.prev { left: 20px; }
  .lb .nav.next { right: 20px; }

  /* ── FULL-WIDTH IMAGE WITH FADING EDGES ── */
  .full-image {
    position: relative;
    width: 100%;
    line-height: 0;
  }
  .full-image img {
    width: 100%;
    display: block;
  }
  .full-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 30%;
    background: linear-gradient(to bottom, var(--earth-deep) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }
  .full-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    background: linear-gradient(to top, var(--earth-deep) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
  }

  /* ── GALLERY FOOTER ── */
  .gallery footer { text-align: center; padding: 80px 20px; display: block; }

  @media (max-width: 600px) {
    .grid { grid-template-columns: 1fr; padding: 10px 15px; }
    .gallery header { padding: 100px 15px 15px; }
  }