/*
Theme Name: FOUAE
Theme URI: https://foundersofuae.com
Author: FOUAE Editorial
Author URI: https://foundersofuae.com
Description: A black-first editorial WordPress theme for FOUAE — Founders of UAE. Built for publications that feature one founder cover per month (FOUAE Originals) and five news stories per morning (FOUAE Daily). Includes custom post types, meta boxes, and a homepage layout that auto-arranges the latest cover, the day's headlines, and the archive of past covers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fouae
Tags: editorial, magazine, dark, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, post-formats, threaded-comments, translation-ready
*/

/* ════════════════════════════════════════════════════════════════════
   ROOT TOKENS
   ════════════════════════════════════════════════════════════════════ */
:root {
  --black: #0b0b0b;
  --black-raised: #131313;
  --green: #00843d;
  --green-deep: #006830;
  --green-soft: rgba(0, 132, 61, 0.12);
  --offwhite: #faf9f6;
  --offwhite-warm: #f3f1ea;

  --paper-80: rgba(250, 249, 246, 0.82);
  --paper-60: rgba(250, 249, 246, 0.58);
  --paper-40: rgba(250, 249, 246, 0.38);
  --paper-15: rgba(250, 249, 246, 0.14);
  --paper-08: rgba(250, 249, 246, 0.08);

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --script: 'Caveat', cursive;

  --max-width: 1320px;
  --gutter: 48px;
}

/* ════════════════════════════════════════════════════════════════════
   BASE
   ════════════════════════════════════════════════════════════════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--offwhite);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--green); color: var(--offwhite); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* WordPress core classes — minimal defaults */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--paper-60); font-style: italic; margin-top: 8px; }
.screen-reader-text {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ════════════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════════════ */
.nav {
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--offwhite);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--paper-08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav.scrolled::after { transform: scaleX(1); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-decoration: none;
  color: var(--offwhite);
}
.nav-brand .dash { width: 22px; height: 1px; background: var(--green); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--offwhite);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--green); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-handle {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--offwhite);
}
.nav-handle .at { color: var(--green); }

/* ════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════ */
.hero {
  background: var(--black);
  color: var(--offwhite);
  padding: 64px var(--gutter) 100px;
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  top: 22%;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  opacity: 0.22;
  pointer-events: none;
}
.hero::after {
  content: 'FOUAE';
  position: absolute;
  bottom: -56px;
  right: -28px;
  font-family: var(--serif);
  font-size: 240px;
  font-weight: 900;
  color: var(--paper-08);
  letter-spacing: -0.045em;
  pointer-events: none;
  line-height: 0.9;
  font-variation-settings: "opsz" 144;
}

.hero-issue-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--paper-15);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-60);
  position: relative;
  z-index: 2;
}
.hero-issue-bar .right { display: flex; gap: 28px; align-items: center; }
.hero-issue-bar .live-dot {
  color: var(--green);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-issue-bar .live-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 132, 61, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 132, 61, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 132, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 132, 61, 0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 36px;
}
.hero-tag .dash { width: 32px; height: 1px; background: var(--green); }
.hero-tag .label { color: var(--green); }
.hero-tag .originals {
  font-family: var(--script);
  text-transform: none;
  letter-spacing: normal;
  font-size: 24px;
  color: var(--offwhite);
  margin-left: 2px;
  transform: translateY(2px);
}

.hero-quote {
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  font-variation-settings: "opsz" 144;
}
.hero-quote em {
  color: var(--green);
  font-style: italic;
  font-variation-settings: "opsz" 144;
}

.hero-byline {
  margin-bottom: 36px;
  font-size: 15px;
  color: var(--paper-60);
  letter-spacing: 0.01em;
  line-height: 1.6;
  max-width: 540px;
}

.hero-featuring {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--paper-60);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-featuring::before { content: '—'; color: var(--green); }
.hero-name {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}
.hero-role {
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--green);
  color: var(--offwhite);
  padding: 16px 32px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--green);
}
.hero-cta:hover { background: transparent; color: var(--green); }
.hero-cta .arrow { transition: transform 0.3s; font-size: 18px; }
.hero-cta:hover .arrow { transform: translateX(6px); }

.hero-cover-wrap {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 480px;
  margin: 0 auto;
}
.hero-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 132, 61, 0.18);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-cover-wrap:hover .hero-cover { transform: translateY(-6px); }
.hero-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #0b0b0b);
  border: 1px solid var(--paper-15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--paper-40);
  padding: 40px;
  text-align: center;
}
.hero-cover-placeholder .pl-mark {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--paper-60);
  margin-bottom: 12px;
}
.hero-cover-placeholder .pl-mark span { color: var(--green); font-style: italic; }
.hero-cover-placeholder .pl-text {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.6;
}
.hero-cover-badge {
  position: absolute;
  top: 24px;
  left: -16px;
  background: var(--green);
  color: var(--offwhite);
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 3;
}

/* ════════════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════════════ */
.section {
  padding: 110px var(--gutter);
  background: var(--black);
  position: relative;
}
.section-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }
.section + .section { border-top: 1px solid var(--paper-08); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--paper-15);
  gap: 32px;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 18px;
}
.section-eyebrow .dash { width: 28px; height: 1px; background: var(--green); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  color: var(--offwhite);
}
.section-title em { font-style: italic; color: var(--green); }

.section-meta {
  text-align: right;
  font-size: 12px;
  color: var(--paper-60);
  letter-spacing: 0.04em;
  min-width: 220px;
}
.section-meta .date {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--offwhite);
  margin-bottom: 4px;
  font-style: italic;
}
.section-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--green);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--green);
  margin-top: 18px;
}
.section-read-more:hover {
  background: var(--green);
  color: var(--offwhite);
}
.section-read-more .arrow {
  transition: transform 0.3s;
}
.section-read-more:hover .arrow {
  transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════════════
   FOUAE DAILY
   ════════════════════════════════════════════════════════════════════ */
.daily-list { display: flex; flex-direction: column; }
.daily-item {
  display: grid;
  grid-template-columns: 100px 220px 1fr 140px;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--paper-15);
  align-items: start;
  cursor: pointer;
  transition: padding 0.4s, background 0.4s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.daily-item:hover {
  padding-left: 24px;
  padding-right: 24px;
  background: var(--black-raised);
}
.daily-item:hover .daily-headline { color: var(--green); }
.daily-item:hover .daily-number { color: var(--green); transform: translateX(-4px); }
.daily-number {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  line-height: 0.9;
  color: var(--offwhite);
  font-variation-settings: "opsz" 144;
  font-style: italic;
  transition: color 0.3s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.daily-category-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
}
.daily-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--green);
  width: fit-content;
}
.daily-source {
  font-size: 12px;
  color: var(--paper-60);
  font-style: italic;
}
.daily-content { padding-top: 8px; }
.daily-headline {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color 0.3s;
  font-variation-settings: "opsz" 32;
  color: var(--offwhite);
}
.daily-excerpt {
  font-size: 14px;
  color: var(--paper-60);
  line-height: 1.6;
  max-width: 560px;
}
.daily-time {
  padding-top: 18px;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-40);
  font-weight: 500;
}
.daily-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--paper-40);
  font-style: italic;
  border-top: 1px solid var(--paper-15);
  border-bottom: 1px solid var(--paper-15);
}

/* ════════════════════════════════════════════════════════════════════
   ARCHIVE — Past Originals
   ════════════════════════════════════════════════════════════════════ */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 40px;
}
.archive-card {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.archive-card:hover { transform: translateY(-8px); }
.archive-card:hover .archive-cover { transform: scale(1.03); }
.archive-card:hover .archive-name { color: var(--green); }

.archive-cover-wrap {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--black-raised);
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 4px 14px rgba(0, 132, 61, 0.1);
}
.archive-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.archive-cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0b0b0b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--paper-40);
  text-align: center;
  padding: 32px;
  border: 1px solid var(--paper-08);
  position: relative;
}
.archive-cover-placeholder::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -40%;
  width: 80%;
  height: 80%;
  border: 1px solid var(--green);
  border-radius: 50%;
  opacity: 0.18;
}
.archive-cover-placeholder .pl-mark {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--paper-60);
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.archive-cover-placeholder .pl-mark span { color: var(--green); font-style: italic; }
.archive-cover-placeholder .pl-text {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-40);
  position: relative;
  z-index: 1;
}

.archive-issue-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--black);
  color: var(--offwhite);
  padding: 6px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid var(--paper-15);
}
.archive-issue-badge .num { color: var(--green); }

.archive-quote {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--paper-80);
  line-height: 1.4;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 32;
  min-height: 48px;
}
.archive-quote::before { content: '"'; color: var(--green); margin-right: 2px; }
.archive-quote::after { content: '"'; color: var(--green); }

.archive-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 144;
  transition: color 0.3s;
  color: var(--offwhite);
}
.archive-role {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 18px;
}
.archive-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--paper-15);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-40);
  font-weight: 500;
}
.archive-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: var(--paper-40);
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════
   SUBSCRIBE
   ════════════════════════════════════════════════════════════════════ */
.newsletter {
  background: var(--black);
  color: var(--offwhite);
  padding: 120px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--paper-08);
}
.newsletter::before,
.newsletter::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.newsletter::before { width: 680px; height: 680px; border: 1px solid var(--paper-08); }
.newsletter::after { width: 440px; height: 440px; border: 1px solid var(--green); opacity: 0.18; }
.newsletter-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.newsletter-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 144;
}
.newsletter-title em { font-style: italic; color: var(--green); }
.newsletter-desc {
  color: var(--paper-60);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--paper-15);
  transition: border-color 0.3s;
}
.newsletter-form:focus-within { border-color: var(--green); }
.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--offwhite);
  padding: 18px 22px;
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
}
.newsletter-input::placeholder { color: var(--paper-40); }
.newsletter-btn {
  background: var(--green);
  color: var(--offwhite);
  border: none;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-btn:hover { background: var(--green-deep); }

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
.footer-strip {
  background: var(--green);
  color: var(--offwhite);
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer-strip .handle { letter-spacing: 0.04em; text-transform: none; font-weight: 600; }

.footer-logo-section {
  background: var(--black);
  padding: 80px var(--gutter) 60px;
}
.footer-logo-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper-60);
  margin-bottom: 24px;
}
.footer-eyebrow .dash { width: 28px; height: 1px; background: var(--green); }
.footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144;
  color: var(--offwhite);
}
.footer-wordmark em { font-style: italic; color: var(--green); }

.footer-tagline-section {
  background: var(--green);
  color: var(--offwhite);
  padding: 70px var(--gutter) 56px;
}
.footer-tagline-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
  max-width: none;
}
.footer-latest-lists { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-list { display: flex; flex-direction: column; gap: 12px; }
.footer-visit-line { width: 80px; height: 1px; background: rgba(255, 255, 255, 0.45); }
.footer-list-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: 8px;
}
.footer-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-list a {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--offwhite);
  text-decoration: none;
  transition: opacity 0.3s;
  line-height: 1.3;
}
.footer-list a:hover { opacity: 0.75; }
.footer-view-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: opacity 0.3s;
}
.footer-view-all:hover { opacity: 0.75; }

.footer-fine {
  background: var(--black);
  padding: 28px var(--gutter);
  border-top: 1px solid var(--paper-08);
}
.footer-fine-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--paper-40);
}
.footer-fine-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-fine-nav a {
  color: var(--paper-60);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-fine-nav a:hover { color: var(--green); }
.footer-fine .at { color: var(--green); }

/* ════════════════════════════════════════════════════════════════════
   SINGLE ORIGINAL — article reading page
   ════════════════════════════════════════════════════════════════════ */
.article-hero {
  background: var(--black);
  padding: 64px var(--gutter) 80px;
  position: relative;
  overflow: hidden;
}
.article-hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.article-issue {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 24px;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144;
  color: var(--offwhite);
  margin-bottom: 18px;
}
.article-subtitle {
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 36px;
}
.article-pull-quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-style: italic;
  line-height: 1.4;
  color: var(--paper-80);
  max-width: 720px;
  margin: 0 auto 40px;
  font-variation-settings: "opsz" 32;
}
.article-pull-quote em { color: var(--green); font-style: italic; }
.article-meta-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-60);
  font-weight: 500;
  padding-top: 24px;
  border-top: 1px solid var(--paper-15);
}
.article-meta-bar .sep { color: var(--paper-40); }

.article-cover-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: 80px;
}
.article-cover-img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 8px 24px rgba(0, 132, 61, 0.18);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 120px;
  color: var(--paper-80);
  font-size: 18px;
  line-height: 1.75;
}
.article-body p { margin-bottom: 28px; }
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--offwhite);
  margin: 56px 0 20px;
  font-variation-settings: "opsz" 144;
}
.article-body h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--offwhite);
  margin: 40px 0 16px;
}
.article-body blockquote {
  border-left: 2px solid var(--green);
  padding: 8px 0 8px 28px;
  margin: 36px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--offwhite);
  line-height: 1.5;
}
.article-body a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  transition: opacity 0.2s;
}
.article-body a:hover { opacity: 0.75; }
.article-body strong { color: var(--offwhite); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol { margin: 0 0 28px 28px; }
.article-body li { margin-bottom: 10px; }
.article-body img { margin: 36px 0; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.article-body hr { border: 0; border-top: 1px solid var(--paper-15); margin: 56px 0; }

/* ════════════════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════════════════ */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px var(--gutter);
  text-align: center;
}
.error-code {
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--paper-15);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.error-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--offwhite);
  margin-bottom: 16px;
  font-style: italic;
}
.error-text {
  color: var(--paper-60);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ════════════════════════════════════════════════════════════════════
   EDITION BADGE (Hero)
   ════════════════════════════════════════════════════════════════════ */
.edition-badge {
  display: inline-block;
  background: var(--green);
  color: var(--offwhite);
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: 16px;
}

/* ════════════════════════════════════════════════════════════════════
   MONTH GROUP HEADINGS (Past Originals)
   ════════════════════════════════════════════════════════════════════ */
.month-group {
  margin-bottom: 72px;
}
.month-group:last-child {
  margin-bottom: 0;
}
.month-group-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
  color: var(--offwhite);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-15);
  font-variation-settings: "opsz" 32;
}
.month-group-heading .edition-tag {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  padding: 5px 12px;
}

/* ════════════════════════════════════════════════════════════════════
   ARTICLES SECTION
   ════════════════════════════════════════════════════════════════════ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 36px;
}
.article-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.article-card:hover { transform: translateY(-6px); }
.article-card:hover .article-card-title { color: var(--green); }

.article-card-image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--black-raised);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.article-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.article-card:hover .article-card-image { transform: scale(1.04); }
.article-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--paper-08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-40);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.article-card-date {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}
.article-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--offwhite);
  margin-bottom: 10px;
  font-variation-settings: "opsz" 32;
  transition: color 0.3s;
}
.article-card-excerpt {
  font-size: 14px;
  color: var(--paper-60);
  line-height: 1.6;
}
.articles-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
  text-align: center;
  color: var(--paper-40);
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  :root { --gutter: 24px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 40px 24px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-issue-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .hero::before { width: 280px; height: 280px; left: -100px; }
  .section { padding: 72px 24px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-meta { text-align: left; }
  .daily-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px 18px;
    padding: 28px 0;
  }
  .daily-number { font-size: 44px; }
  .daily-category-wrap { grid-column: 2; grid-row: 1; padding-top: 8px; }
  .daily-content { grid-column: 2; grid-row: 2; padding-top: 0; }
  .daily-headline { font-size: 19px; }
  .daily-time { grid-column: 2; grid-row: 3; text-align: left; padding-top: 4px; }
  .archive-grid { grid-template-columns: 1fr; gap: 56px; }
  .articles-grid { grid-template-columns: 1fr; gap: 40px; }
  .month-group-heading { font-size: 20px; }
  .newsletter { padding: 80px 24px; }
  .newsletter::before { width: 380px; height: 380px; }
  .newsletter::after { width: 260px; height: 260px; }
  .newsletter-form { flex-direction: column; border: none; gap: 8px; }
  .newsletter-input { border: 1px solid var(--paper-15); }
  .footer-strip { padding: 18px 24px; font-size: 12px; letter-spacing: 0.22em; }
  .footer-logo-section { padding: 56px 24px 40px; }
  .footer-tagline-section { padding: 48px 24px; }
  .footer-tagline-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .footer-fine-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .article-hero { padding: 40px 24px 56px; }
  .article-cover-wrap { padding: 0 24px; margin-bottom: 56px; }
  .article-body { padding: 0 24px 72px; font-size: 17px; }
}

@media (max-width: 560px) {
  .archive-grid { grid-template-columns: 1fr; }
  .hero-quote { font-size: 38px; }
  .hero::after { font-size: 140px; bottom: -20px; }
  .footer-strip { letter-spacing: 0.14em; }
  .article-meta-bar { flex-wrap: wrap; gap: 12px; }
}

/* ════════════════════════════════════════════════════════════════════
   REVEAL ON SCROLL
   ════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
