/*
Theme Name: Greenlog — La Revue
Theme URI: https://greenlog.fr
Author: Greenlog
Description: Thème éditorial luxe — Magazine haute couture pour l'Atari ST
Version: 1.0.0
Text Domain: greenlog-luxe
Requires at least: 6.0
*/

/* ============================================
   VARIABLES
   ============================================ */
:root {
  /* Paper palette — ivory, not white */
  --paper:      #f4f0e6;
  --paper-warm: #ede8d8;
  --paper-deep: #e4dece;

  /* Ink */
  --ink:        #0a0a0a;
  --ink-soft:   #1c1814;
  --ink-mid:    #58524a;
  --ink-light:  #8a8278;
  --ink-faint:  #c0b8a8;

  /* Accents */
  --red:        #d4183a;
  --red-dark:   #a8102b;
  --gold:       #8c6d30;
  --gold-light: #b89a50;

  /* Borders */
  --border:     rgba(10, 10, 10, 0.1);
  --border-strong: rgba(10, 10, 10, 0.18);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-mono:    'Courier Prime', 'Courier New', monospace;

  /* Layout */
  --gutter:  40px;
  --max-w:   1440px;

  /* Motion */
  --tr-fast: 0.15s ease;
  --tr-mid:  0.35s ease;
  --tr-slow: 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* Restore cursor on touch / no-hover devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, opacity 0.2s, width 0.2s, height 0.2s;
  mix-blend-mode: multiply;
}

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0.45;
  mix-blend-mode: multiply;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--reading {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   ANNOUNCE BAND
   ============================================ */
.announce-band {
  background: var(--ink);
  height: 30px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.announce-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee-band 40s linear infinite;
  gap: 0;
}

.announce-inner span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.65);
  padding: 0 28px;
}

.announce-inner .sep {
  color: var(--red);
  padding: 0 4px;
  letter-spacing: 0;
  font-size: 14px;
}

@keyframes marquee-band {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */
#site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 0;
  position: relative;
}

.mobile-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 8px;
}

.site-logo {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-bottom: 14px;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
  display: block;
}

.logo-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.logo-rule-line {
  width: 56px;
  height: 1px;
  background: var(--ink-faint);
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav — centered, Courier Prime */
#site-nav { width: 100%; border-top: 1px solid var(--border); }

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-menu li { position: relative; }

.nav-menu li + li::before {
  content: '·';
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 46px;
  pointer-events: none;
}

.nav-menu li a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 14px 22px;
  display: block;
  transition: color var(--tr-fast);
  cursor: none;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-menu li a:hover,
.nav-menu .current-menu-item > a { color: var(--ink); }

.nav-menu li a:hover::after,
.nav-menu .current-menu-item > a::after { transform: scaleX(1); }

/* Mobile nav */
.mobile-nav { display: none; background: var(--paper-warm); border-bottom: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav-menu { padding: 24px var(--gutter); display: flex; flex-direction: column; }
.mobile-nav-menu li { border-bottom: 1px solid var(--border); }
.mobile-nav-menu li a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  padding: 12px 0;
  transition: color 0.2s, padding-left 0.2s;
  cursor: pointer;
}
.mobile-nav-menu li a:hover { color: var(--red); padding-left: 10px; }

/* ============================================
   HERO — SPLIT 55/45 WITH BLEED TITLE
   ============================================ */
.hero-section {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  overflow: hidden;
  background: var(--paper);
}

.hero-image-col {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 9s ease;
}

.hero-section:hover .hero-img img { transform: scale(1.05); }

/* Film grain on hero */
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.065'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  mix-blend-mode: multiply;
}

/* Right-to-paper gradient fade — creates the bleed zone */
.hero-image-col::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 220px;
  background: linear-gradient(to right, transparent, var(--paper));
  z-index: 3;
  pointer-events: none;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 100px 100px 0;
  position: relative;
  z-index: 4;
}

.hero-issue {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-issue::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

/* THE signature: title bleeds LEFT onto the image */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 100px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-left: -120px;
  margin-bottom: 36px;
  position: relative;
}

.hero-title a {
  color: inherit;
  cursor: none;
  transition: opacity 0.2s;
}
.hero-title a:hover { opacity: 0.65; }

.hero-excerpt {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.78;
  max-width: 400px;
  margin-bottom: 36px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-light);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
  cursor: none;
  width: fit-content;
}
.hero-cta:hover { color: var(--red); border-color: var(--red); }
.hero-cta::after { content: '→'; transition: transform 0.2s; }
.hero-cta:hover::after { transform: translateX(4px); }

.hero-post-meta {
  position: absolute;
  bottom: 48px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--ink-light);
  text-transform: uppercase;
}

/* ============================================
   TABLE DES MATIÈRES
   ============================================ */
.toc-section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.toc-bg-num {
  position: absolute;
  top: -0.08em;
  right: calc(var(--gutter) - 0.04em);
  font-family: var(--font-display);
  font-size: 30vw;
  font-weight: 900;
  color: var(--ink);
  opacity: 0.027;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.toc-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.toc-head-rule { height: 1px; background: var(--border); }

.toc-head-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-align: center;
  white-space: nowrap;
}

.toc-list { display: flex; flex-direction: column; }

.toc-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 36px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--tr-fast);
}

.toc-item:hover { background: rgba(10, 10, 10, 0.02); margin: 0 -20px; padding: 22px 20px; }

.toc-n {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.1em;
  padding-top: 3px;
  line-height: 1.5;
}

.toc-body { display: flex; flex-direction: column; gap: 6px; }

.toc-row {
  display: flex;
  align-items: baseline;
}

.toc-article-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  transition: color 0.2s;
  cursor: none;
  letter-spacing: -0.015em;
}

.toc-item:hover .toc-article-title { color: var(--red); }

.toc-leader {
  flex: 1;
  border-bottom: 1px dotted var(--ink-faint);
  margin: 0 14px;
  min-width: 20px;
  margin-bottom: 3px;
}

.toc-d {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.toc-teaser {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-light);
  line-height: 1.55;
}

/* ============================================
   EDITORIAL GRID
   ============================================ */
.articles-section {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.articles-bg-num {
  position: absolute;
  top: -0.08em;
  left: calc(var(--gutter) - 0.04em);
  font-family: var(--font-display);
  font-size: 30vw;
  font-weight: 900;
  color: var(--ink);
  opacity: 0.027;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.sec-head-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  white-space: nowrap;
}

.sec-head-line { flex: 1; height: 1px; background: var(--border); }

.sec-head-more {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  transition: opacity 0.2s;
  cursor: none;
}
.sec-head-more:hover { opacity: 0.55; }

/* The editorial grid */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.1);
  position: relative;
  z-index: 1;
}

.article-card {
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Lead card: 4 cols wide, 2 rows tall */
.article-card--lead   { grid-column: span 4; grid-row: span 2; }
.article-card--sm     { grid-column: span 2; }
.article-card--bottom { grid-column: span 2; }

.card-image {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.article-card--lead   .card-image { aspect-ratio: 4 / 3; }
.article-card--sm     .card-image { aspect-ratio: 3 / 2; }
.article-card--bottom .card-image { aspect-ratio: 16 / 10; }

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow), filter 0.4s ease;
}

/* Red overlay on hover */
.card-overlay {
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.article-card:hover .card-image img { transform: scale(1.045); filter: grayscale(0.55); }
.article-card:hover .card-overlay   { opacity: 0.22; }

.card-no-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-no-img span {
  font-family: var(--font-display);
  font-size: 88px;
  color: var(--ink-faint);
  font-weight: 900;
  opacity: 0.45;
}

.card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card--lead .card-body { padding: 36px; }

.card-issue-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-issue-num::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.card-cat-link {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
  cursor: none;
  transition: opacity 0.2s;
}
.card-cat-link:hover { opacity: 0.65; }

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 14px;
}

.article-card--lead   .card-title { font-size: clamp(26px, 2.8vw, 44px); }
.article-card--sm     .card-title { font-size: 20px; }
.article-card--bottom .card-title { font-size: 19px; }

.card-title a { color: inherit; cursor: none; transition: opacity 0.2s; }
.card-title a:hover { opacity: 0.65; }

.card-excerpt {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-card--sm     .card-excerpt { -webkit-line-clamp: 2; }
.article-card--bottom .card-excerpt { -webkit-line-clamp: 2; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-d {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  text-transform: uppercase;
}

.card-read-link {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
  cursor: none;
}
.card-read-link:hover { color: var(--red); border-color: var(--red); }

/* ============================================
   VIDEOS — FILMSTRIP
   ============================================ */
.videos-section {
  padding: 88px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filmstrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.1);
}

.film-card { background: var(--paper-warm); overflow: hidden; cursor: none; }

.film-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: filter 0.45s ease, transform var(--tr-slow);
}

.film-dark {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.film-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.film-play-circle {
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(244, 240, 230, 0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-size: 17px;
}

.film-card:hover .film-thumb img { transform: scale(1.05); filter: grayscale(0.75) sepia(0.2); }
.film-card:hover .film-dark       { opacity: 0.38; }
.film-card:hover .film-play-btn   { opacity: 1; }

.film-info { padding: 18px 20px; }

.film-n {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.film-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.film-title a { color: inherit; cursor: none; transition: color 0.2s; }
.film-title a:hover { color: var(--red); }

.film-d {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-header {
  position: relative;
  height: 72vh;
  min-height: 520px;
  max-height: 840px;
  overflow: hidden;
  background: var(--paper-deep);
}

.single-header-img {
  position: absolute;
  inset: 0;
}

.single-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) sepia(0.12);
}

.single-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.single-header-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--paper) 0%,
    rgba(244, 240, 230, 0.35) 45%,
    transparent 80%
  );
  z-index: 3;
}

.single-header-content {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 4;
  text-align: center;
}

.single-cat-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
  cursor: none;
  transition: opacity 0.2s;
}
.single-cat-link:hover { opacity: 0.65; }

.single-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto 26px;
  padding: 0 var(--gutter);
}

.single-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-mid);
  text-transform: uppercase;
}

.single-meta-sep { color: var(--ink-faint); }

/* Article body */
.single-body { padding: 88px 0 112px; }

.article-content {
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* THE drop cap */
.article-content > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 5.8rem;
  font-weight: 900;
  float: left;
  line-height: 0.72;
  margin-right: 0.08em;
  margin-top: 0.1em;
  color: var(--red);
}

.article-content p { margin-bottom: 1.6em; }

.article-content h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  margin: 2.5em 0 0.8em;
  letter-spacing: -0.025em;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 2em 0 0.6em;
  letter-spacing: -0.015em;
}

.article-content img { width: 100%; margin: 2.5em 0; }

/* ROTATED blockquote — the signature editorial touch */
.article-content blockquote {
  position: relative;
  margin: 3.5em -56px;
  padding: 36px 48px;
  transform: rotate(-1.5deg);
  border-left: 3px solid var(--red);
  background: var(--paper-warm);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
}

.article-content blockquote p { margin-bottom: 0; }

.article-content a {
  color: var(--red);
  border-bottom: 1px solid rgba(212, 24, 58, 0.25);
  padding-bottom: 1px;
  cursor: none;
  transition: border-color 0.2s;
}
.article-content a:hover { border-color: var(--red); }

.article-content ul { list-style: none; padding: 0; margin: 0 0 1.6em; }
.article-content ul li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 0.55em;
}
.article-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
}

.article-content ol { list-style: decimal; padding-left: 26px; margin-bottom: 1.6em; }
.article-content ol li { margin-bottom: 0.55em; }

/* Post nav */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 80px;
}

.post-nav-link {
  background: var(--paper);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--tr-fast);
  cursor: none;
}

.post-nav-link:hover { background: var(--paper-warm); }
.post-nav-link--next { text-align: right; }

.post-nav-dir {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.post-nav-t {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

.post-nav-link:hover .post-nav-t { color: var(--red); }

/* ============================================
   ARCHIVE
   ============================================ */
.archive-header {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

/* Giant watermark */
.archive-title-bg {
  position: absolute;
  bottom: -0.12em;
  left: calc(var(--gutter) - 0.04em);
  font-family: var(--font-display);
  font-size: 42vw;
  font-weight: 900;
  color: var(--ink);
  opacity: 0.028;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.archive-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.archive-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--red);
}

.archive-main-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 148px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.archive-desc {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--ink-mid);
  margin-top: 22px;
  max-width: 580px;
  line-height: 1.78;
  position: relative;
  z-index: 1;
}

/* Editorial list view */
.archive-list { padding: 0 0 88px; }

.archive-list-head {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0 36px;
  padding: 14px 0;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.archive-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: 0 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  cursor: none;
  transition: background var(--tr-fast);
  position: relative;
}

.archive-item::before {
  content: '';
  position: absolute;
  left: -var(--gutter);
  right: -var(--gutter);
  top: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.02);
  opacity: 0;
  transition: opacity 0.2s;
}

.archive-item:hover::before { opacity: 1; }

.archive-n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--red);
  letter-spacing: 0.06em;
  padding-top: 5px;
}

.archive-main { display: flex; flex-direction: column; gap: 6px; }

.archive-item-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

.archive-item:hover .archive-item-title { color: var(--red); }

.archive-item-excerpt {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-light);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-top: 5px;
}

.archive-item-d {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  text-transform: uppercase;
  white-space: nowrap;
}

.archive-item-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: none;
}

/* ============================================
   FOOTER
   ============================================ */
#site-footer { background: var(--ink); color: var(--paper-warm); }

.footer-top {
  padding: 88px 0;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 64px;
  align-items: start;
  border-bottom: 1px solid rgba(244, 240, 230, 0.07);
}

.footer-brand { text-align: center; }

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: var(--paper);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.footer-logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 24px;
}

.footer-desc {
  font-family: var(--font-serif);
  font-size: 13.5px;
  font-style: italic;
  color: rgba(244, 240, 230, 0.48);
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.35);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.07);
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 22px; height: 1px;
  background: var(--red);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.footer-links li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.05);
}

.footer-links li a {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(244, 240, 230, 0.55);
  transition: color 0.2s;
  cursor: none;
}
.footer-links li a:hover { color: var(--paper); }

.footer-social { display: flex; flex-direction: column; gap: 2px; }

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.45);
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 240, 230, 0.05);
  transition: color 0.2s;
  cursor: none;
}
.footer-social-link:hover { color: var(--paper); }
.footer-social-link::before { content: '↗'; color: var(--red); }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy, .footer-edition {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 230, 0.22);
  text-transform: uppercase;
}

.footer-edition .hl { color: var(--gold-light); }

/* ============================================
   ANIMATIONS
   ============================================ */

/* Clip-path wipe reveal */
.gl-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: clip-path;
}
.gl-reveal.in { clip-path: inset(0 0 0% 0); }

/* Fade + rise */
.gl-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.gl-fade.in { opacity: 1; transform: translateY(0); }

.gl-fade:nth-child(2) { transition-delay: 0.08s; }
.gl-fade:nth-child(3) { transition-delay: 0.16s; }
.gl-fade:nth-child(4) { transition-delay: 0.24s; }
.gl-fade:nth-child(5) { transition-delay: 0.32s; }
.gl-fade:nth-child(6) { transition-delay: 0.40s; }

/* ============================================
   WP CORE
   ============================================ */
.wp-caption { max-width: 100%; margin: 2.5em 0; }
.wp-caption-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-light);
  text-align: center;
  padding: 8px;
  letter-spacing: 0.07em;
  font-style: italic;
}
.aligncenter { display: block; margin: 0 auto; }
.alignleft   { float: left;   margin: 0 24px 16px 0; }
.alignright  { float: right;  margin: 0 0 16px 24px; }

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 64px 0;
}

.page-numbers {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid var(--border-strong);
  color: var(--ink-mid);
  transition: all 0.2s;
  cursor: none;
}
.page-numbers:hover,
.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .hero-title { margin-left: -60px; }
  .hero-text-col { padding: 80px 60px 80px 0; }
}

@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-col { min-height: 380px; }
  .hero-image-col::after { display: none; }
  .hero-text-col { padding: 52px var(--gutter); }
  .hero-title { margin-left: 0; }

  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card--lead   { grid-column: span 2; grid-row: span 1; }
  .article-card--sm     { grid-column: span 1; }
  .article-card--bottom { grid-column: span 1; }

  .filmstrip { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; gap: 52px; text-align: center; }
  .footer-brand { order: -1; }
  .footer-logo-name { font-size: 40px; }
  .footer-desc { max-width: 100%; }
  .footer-col-title::after { left: 50%; transform: translateX(-50%); }
  .footer-social { align-items: center; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }

  .header-inner { position: relative; }
  .logo-name { font-size: clamp(28px, 8vw, 48px); }
  #site-nav { display: none; }
  .mobile-toggle { display: block; }

  .hero-image-col { min-height: 260px; }

  .editorial-grid { grid-template-columns: 1fr; }
  .article-card--lead,
  .article-card--sm,
  .article-card--bottom { grid-column: span 1; }
  .article-card--lead .card-no-img { aspect-ratio: 16/9; }

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

  .toc-item { grid-template-columns: 36px 1fr; }

  .archive-item { grid-template-columns: 40px 1fr; }
  .archive-right { display: none; }

  .article-content blockquote { margin: 2.5em 0; transform: rotate(-0.6deg); }
  .article-content > p:first-of-type::first-letter { font-size: 4.2rem; }

  .post-nav { grid-template-columns: 1fr; }
}
