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

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --ink: #0a0a0a;
  --paper: #f5f2ec;
  --cream: #faf8f4;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-dim: #8a6d2f;
  --rule: #d4cfc6;
  --muted: #6b6560;
  --accent: #1a3a5c;
  --accent-bright: #2456a4;
  --white: #ffffff;
  --col: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── MASTHEAD ───────────────────────────────────────────── */
.masthead {
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.masthead-inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.masthead-logo img { height: 68px; width: auto; display: block; }
.masthead-logo { text-decoration: none; display: flex; align-items: center; }
.masthead-nav { display: flex; align-items: center; gap: 1.25rem; }
.masthead-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.masthead-nav a:hover,
.masthead-nav a.current { color: var(--gold); }
.masthead-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 0.45rem 1.1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  transition: background 0.2s !important;
}
.masthead-cta:hover { background: var(--gold-light) !important; }

/* ── HERO ───────────────────────────────────────────────── */
.site-hero {
  background: var(--ink);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26,58,92,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.site-hero::after {
  content: 'II';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 22rem;
  font-weight: 700;
  color: rgba(201,168,76,0.04);
  line-height: 1;
  pointer-events: none;
}
.site-hero-inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--gold); }
.hero-deck {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-proof { display: flex; gap: 2.5rem; margin-bottom: 2.5rem; }
.hero-proof-item { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-proof-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-proof-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ── SIGNUP CARD ────────────────────────────────────────── */
.signup-card {
  background: var(--white);
  border-top: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.signup-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.75rem;
}
.signup-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.signup-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.signup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.signup-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--rule);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.signup-input:focus { border-color: var(--gold); }
.signup-input::placeholder { color: var(--muted); }
.signup-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--gold);
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.signup-btn:hover { background: var(--gold-dim); color: var(--white); }
.signup-trust { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }

/* ── DATELINE ───────────────────────────────────────────── */
.dateline {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0.4rem 0;
}
.dateline-inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.dateline-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  white-space: nowrap;
  flex-shrink: 0;
}
.dateline-item {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}
.dateline-item span { color: var(--ink); font-weight: 500; }

/* ── SECTION COMMONS ────────────────────────────────────── */
section { padding: 4rem 0; }
.section-inner { max-width: var(--col); margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-sub { font-size: 0.95rem; color: var(--muted); max-width: 540px; line-height: 1.6; }

/* ── POST GRID ──────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.post-card {
  padding: 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-card:nth-child(2n) { border-right: none; }
.post-card:hover { background: var(--white); }
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s;
}
.post-card:hover::before { background: var(--gold); }
.post-card.featured { grid-column: span 2; background: var(--white); }
.post-card.featured .post-card-title { font-size: 1.4rem; }
.post-card-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.6rem;
}
.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.post-card-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.post-card-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ── PILLARS ────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--rule);
}
.pillar-card {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--rule);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.pillar-card:last-child { border-right: none; }
.pillar-card:hover { background: var(--paper); }
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rule);
  transition: background 0.2s;
}
.pillar-card:hover::before { background: var(--gold); }
.pillar-number {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.pillar-icon { font-size: 1.4rem; margin-bottom: 0.75rem; display: block; }
.pillar-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.pillar-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.pillar-count {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  margin-top: 1rem;
}

/* ── WHY SECTION ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border-left: 1px solid var(--rule);
}
.why-item {
  padding: 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.why-item-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}
.why-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.why-item-text { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ── NEWSLETTER STRIP ───────────────────────────────────── */
.newsletter-strip {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3rem 0;
}
.newsletter-strip-inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.newsletter-strip-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}
.newsletter-strip-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.newsletter-strip-sub { font-size: 0.85rem; color: var(--muted); }
.newsletter-strip-form { display: flex; min-width: 380px; }
.newsletter-strip-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--rule);
  border-right: none;
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
}
.newsletter-strip-input:focus { border-color: var(--gold); }
.newsletter-strip-btn {
  padding: 0.8rem 1.5rem;
  background: var(--ink);
  border: 1.5px solid var(--ink);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-strip-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ── SINGLE ARTICLE ─────────────────────────────────────── */
.article-header {
  background: var(--ink);
  padding: 4rem 0 3rem;
}
.article-header-inner { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.article-pillar-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.article-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.article-deck {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.article-byline img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.article-byline-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.article-byline-meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-top: 0.1rem;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  align-items: start;
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  font-size: 1rem;
  color: #2a2a2a;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--paper);
}
.article-body blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
}
.article-body li {
  font-size: 1rem;
  color: #2a2a2a;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

/* ── SIDEBAR ────────────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-card { border: 1px solid var(--rule); padding: 1.5rem; }
.sidebar-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.75rem;
}
.sidebar-nl-input {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1.5px solid var(--rule);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--ink);
  outline: none;
  margin-bottom: 0.6rem;
}
.sidebar-nl-btn {
  width: 100%;
  padding: 0.7rem;
  background: var(--gold);
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: 3rem 0 2rem; }
.footer-inner { max-width: var(--col); margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-brand-desc { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin-top: 0.5rem; }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--gold); }

/* ── TAG / PILLAR PAGES ─────────────────────────────────── */
.tag-hero {
  background: var(--ink);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.tag-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
}
.tag-hero-inner { max-width: var(--col); margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.tag-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tag-eyebrow::before { content: ''; display: inline-block; width: 2rem; height: 1px; background: var(--gold); }
.tag-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.tag-title em { font-style: italic; color: var(--gold); }
.tag-desc { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 640px; font-weight: 300; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.6s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }

/* ── STICKY SUBSCRIBE ───────────────────────────────────── */
.sticky-sub {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  border-top: 2px solid var(--gold);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.sticky-sub.visible { transform: translateY(0); }
.sticky-sub-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.sticky-sub-input {
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  outline: none;
  width: 200px;
}
.sticky-sub-btn {
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.sticky-sub-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  font-size: 1rem;
}

/* ── GHOST REQUIRED CLASSES ─────────────────────────────── */
/* kg-width-wide and kg-width-full are required by Ghost */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: auto calc(50% - 50vw) * 0.15;
}
.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.kg-image { max-width: 100%; height: auto; display: block; margin: 1.5rem auto; }
.kg-image-card { margin: 2rem 0; }
.kg-image-card img { max-width: 100%; height: auto; display: block; }
.kg-image-card figcaption { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.08em; color: var(--muted); text-align: center; margin-top: 0.5rem; }
.kg-gallery-container { display: flex; flex-direction: column; margin: 1.5rem 0; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-card { border: 1px solid var(--rule); padding: 1.5rem; margin: 1.5rem 0; text-decoration: none; display: block; color: inherit; }
.kg-bookmark-title { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.kg-bookmark-description { font-size: 0.82rem; color: var(--muted); }
.kg-callout-card { display: flex; gap: 1rem; padding: 1.5rem; background: var(--paper); border-left: 4px solid var(--gold); margin: 1.5rem 0; }
.kg-callout-text { font-size: 0.95rem; color: var(--ink); line-height: 1.7; }
.kg-toggle-card { border: 1px solid var(--rule); margin: 1.5rem 0; }
.kg-toggle-heading { padding: 1rem 1.5rem; font-family: 'Playfair Display', serif; font-weight: 700; cursor: pointer; }
.kg-toggle-content { padding: 0 1.5rem 1rem; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.kg-video-card { margin: 1.5rem 0; }
.kg-video-card video { max-width: 100%; display: block; }
.kg-audio-card { border: 1px solid var(--rule); padding: 1rem 1.5rem; margin: 1.5rem 0; display: flex; align-items: center; gap: 1rem; }
.kg-product-card { border: 1px solid var(--rule); padding: 2rem; margin: 1.5rem 0; }
.kg-product-card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.kg-header-card { background: var(--ink); padding: 4rem 2rem; text-align: center; margin: 2rem 0; }
.kg-header-card h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--white); }
.kg-button-card { text-align: center; margin: 1.5rem 0; }
.kg-button-card a { display: inline-block; padding: 0.85rem 2rem; background: var(--gold); font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-decoration: none; font-weight: 500; }
.kg-divider-card { border: none; border-top: 1px solid var(--rule); margin: 2rem 0; }
.kg-file-card { border: 1px solid var(--rule); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; text-decoration: none; color: inherit; }
.kg-file-card-title { font-weight: 500; color: var(--ink); }
.kg-file-card-caption { font-size: 0.78rem; color: var(--muted); }

/* ── CLUSTER GRID ── */
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 2rem;
  border: 1px solid var(--rule);
}
.cluster-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background .15s;
  cursor: default;
}
.cluster-item:hover { background: var(--white); }
.cluster-item-label {
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  letter-spacing: .08em;
  color: var(--muted);
  line-height: 1.5;
}

/* ── TAG HERO ── */
.tag-hero {
  background: var(--ink);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.tag-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,.07) 0%, transparent 70%);
}
.tag-hero-inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}
.tag-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.tag-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.tag-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.tag-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 640px;
  font-weight: 300;
}

/* ── POST GRID ── */
.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}
.post-card {
  padding: 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-card:nth-child(2n) { border-right: none; }
.post-card:hover { background: var(--white); }
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background .2s;
}
.post-card:hover::before { background: var(--gold); }
.post-card.featured {
  grid-column: span 2;
  background: var(--white);
}
.post-card.featured .post-card-title { font-size: 1.4rem; }
.post-card-tag {
  font-family: 'DM Mono', monospace;
  font-size: .52rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: .6rem;
}
.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: .6rem;
}
.post-card-excerpt {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.post-card-meta {
  font-family: 'DM Mono', monospace;
  font-size: .55rem;
  letter-spacing: .08em;
  color: var(--muted);
}

/* 6-column cluster grid for Economy pillar */
.cluster-item.cluster-6 {
  grid-column: span 1;
}
.cluster-grid:has(.cluster-6) {
  grid-template-columns: repeat(6, 1fr);
}

/* 6-column cluster grid for Economy pillar */
.cluster-grid-6 {
  grid-template-columns: repeat(6, 1fr) !important;
}

/* ── MOBILE RESPONSIVE BREAKPOINTS ── */
@media (max-width: 768px) {

  /* Navigation */
  .masthead-inner {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  .masthead-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
  }
  .masthead-logo img { height: 50px; }

  /* Hero */
  .site-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 2rem 1rem !important;
    gap: 2rem !important;
  }
  .hero-headline { font-size: 2rem !important; }
  .hero-proof { flex-wrap: wrap; gap: 1rem !important; }

  /* Signup card */
  .signup-card { margin: 0 !important; }

  /* Section inner */
  .section-inner {
    padding: 0 1rem !important;
  }

  /* Post grid */
  .post-grid {
    grid-template-columns: 1fr !important;
  }
  .post-card.featured { grid-column: span 1 !important; }

  /* Pillars grid */
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }

  /* Why grid */
  .why-grid {
    grid-template-columns: 1fr !important;
  }

  /* Newsletter strip */
  .newsletter-strip-inner {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }
  .newsletter-strip-form {
    flex-direction: column !important;
  }
  .newsletter-strip-input {
    border-right: 1.5px solid var(--rule) !important;
    border-bottom: none !important;
  }

  /* Article layout */
  .article-layout {
    grid-template-columns: 1fr !important;
  }
  .article-sidebar { display: none !important; }
  .article-header-inner { padding: 2rem 1rem !important; }
  .article-main-title { font-size: 1.8rem !important; }

  /* Tag pages */
  .tag-hero-inner { padding: 0 1rem !important; }
  .tag-title { font-size: 1.8rem !important; }

  /* Cluster grid */
  .cluster-grid {
    grid-template-columns: 1fr !important;
  }

  /* Dateline */
  .dateline-inner {
    flex-direction: column !important;
    gap: .25rem !important;
    padding: .5rem 1rem !important;
  }

  /* Sticky sub */
  .sticky-sub {
    flex-direction: column !important;
    gap: .75rem !important;
    padding: 1rem !important;
  }
  .sticky-sub form {
    width: 100% !important;
  }
  .sticky-sub-input {
    width: 100% !important;
  }

  /* General inline grid fixes */
  div[style*="grid-template-columns:repeat"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.6rem !important; }
  .masthead-cta { font-size: .55rem !important; padding: .5rem .75rem !important; }
  .article-main-title { font-size: 1.5rem !important; }
}

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}
* { box-sizing: border-box; }

/* ── HAMBURGER MENU ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all .3s ease;
}
.nav-toggle-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .masthead-inner {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
  }
  .masthead-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--ink);
    padding: 1rem 0;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .masthead-nav.nav-open {
    display: flex;
  }
  .masthead-nav a {
    padding: .85rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .65rem;
  }
  .masthead-cta {
    margin: .5rem 1.5rem !important;
    text-align: center;
  }
}

/* ── FOOTER MOBILE ── */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }
  .footer-brand {
    grid-column: span 2 !important;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-brand {
    grid-column: span 1 !important;
  }
}
