/* ============================================================
   SCARS OF ART — screen.css
   Ghost 5 | Luxury editorial identity
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:          #F7F4EF;
  --text:        #161616;
  --gold:        #B58A54;
  --gold-dk:     #9A7040;
  --accent:      #3B3054;
  --dark:        #0B0B0B;
  --dark-warm:   #14100A;
  --dark-purple: #1A1628;
  --muted:       #7A7066;
  --subtle:      #B0A89A;
  --border:      #DED7CB;
  --border-lt:   #EDE8E0;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --display: 'Cinzel', serif;
  --sans:    'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img  { width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; padding: 0; margin: 0; }

/* ============================================================
   HEADER — always dark, logo centered, nav split
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  padding: 0 5vw;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.45); }

/* Primary nav (left) */
.nav-primary { justify-self: start; }
.nav-primary ul { display: flex; align-items: center; gap: 26px; }
.nav-primary a {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  transition: color .2s;
  white-space: nowrap;
}
.nav-primary a:hover,
.nav-primary .nav-current > a { color: rgba(255,255,255,.95); }

/* Brand / logo (center) */
.brand {
  justify-self: center;
  display: flex;
  align-items: center;
}
.brand img { max-height: 46px; width: auto; }
.brand-text {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.3;
  white-space: nowrap;
}

/* Secondary nav + search (right) */
.nav-secondary-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-secondary ul { display: flex; align-items: center; gap: 26px; }
.nav-secondary a {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  transition: color .2s;
  white-space: nowrap;
}
.nav-secondary a:hover,
.nav-secondary .nav-current > a { color: rgba(255,255,255,.95); }

.header-search {
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  transition: color .2s;
  flex-shrink: 0;
}
.header-search:hover { color: rgba(255,255,255,.95); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.75);
  transition: transform .3s, opacity .2s;
}
.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 6vw 60px;
  text-align: center;
}
.mobile-overlay.is-open { display: flex; }
.mobile-close {
  position: absolute;
  top: 20px;
  right: 5vw;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.6);
  padding: 8px;
  display: flex;
  transition: color .2s;
}
.mobile-close:hover { color: #fff; }
.mobile-brand {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 44px;
  display: block;
}
.mobile-nav ul { display: flex; flex-direction: column; width: 100%; gap: 0; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-cta {
  margin-top: 36px;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.section-label {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.post-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.post-tag:hover { color: var(--gold-dk); }
.reading-time {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap .25s;
}
.arrow-link:hover { gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); }
.btn-ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   HERO — 2-column: text left | portrait right
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 5fr 6fr;
  min-height: 78vh;
  background: var(--dark);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw 5vw 7vw 6vw;
  background: var(--dark);
  color: #fff;
}

.hero-image {
  overflow: hidden;
  position: relative;
}
.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
  color: #fff;
}

.hero-rule {
  border: none;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 28px 0;
}

.hero-desc {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,.62);
  max-width: 380px;
  margin-bottom: 38px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   EDITOR'S SELECTION + 3 CARDS
   ============================================================ */
.selection-section {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding: 72px 6vw;
  background: var(--bg);
  align-items: start;
  max-width: 100%;
}

.selection-left {
  padding-right: 52px;
  padding-top: 4px;
}
.selection-left .section-label { margin-bottom: 18px; }

.selection-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 14px;
}
.selection-title a:hover { color: var(--gold); }

.selection-excerpt {
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 22px;
}

.selection-readlink {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .2s, gap .2s;
}
.selection-readlink:hover { color: var(--gold); gap: 16px; }

/* 3-card row */
.selection-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  border-left: 1px solid var(--border-lt);
  padding-left: 52px;
}

.sel-card { display: flex; flex-direction: column; }

.sel-card-img {
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
}
.sel-card-img img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease;
}
.sel-card:hover .sel-card-img img { transform: scale(1.04); }

.sel-card-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 8px;
}
.sel-card-title a:hover { color: var(--gold); }

/* ============================================================
   LETTER WALL
   ============================================================ */
.letter-wall {
  position: relative;
  padding: 110px 6vw;
  background-color: var(--dark-warm);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.letter-wall::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12,8,3,.72);
  pointer-events: none;
}
.letter-wall-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.letter-wall .section-label { color: rgba(181,138,84,.82); }
.letter-wall h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 300;
  line-height: 1.18;
  color: rgba(255,255,255,.9);
  margin-bottom: 44px;
}
.letter-list {
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.letter-list li a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.letter-list li a:hover { color: rgba(181,138,84,.9); }
.letter-wall .arrow-link { color: rgba(181,138,84,.82); }
.letter-wall .arrow-link:hover { color: var(--gold); }

/* ============================================================
   POETRY SECTION
   ============================================================ */
.poetry-section {
  position: relative;
  padding: 120px 6vw;
  background-color: var(--dark-purple);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.poetry-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18,12,28,.76);
  pointer-events: none;
}
.poetry-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.poetry-section .section-label { color: rgba(181,138,84,.82); }
.poetry-section h2 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: rgba(255,255,255,.92);
  margin-bottom: 44px;
}
.poetry-section .arrow-link { color: rgba(181,138,84,.82); }
.poetry-section .arrow-link:hover { color: var(--gold); }

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.membership-section {
  padding: 110px 6vw;
  background: var(--dark);
  color: #fff;
}
.membership-inner { max-width: 1280px; margin: 0 auto; }
.membership-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.membership-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.01em;
}
.membership-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.membership-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.tier {
  padding: 48px 36px 48px 0;
  border-right: 1px solid rgba(255,255,255,.07);
}
.tier:last-child { border-right: none; padding-right: 0; }

.tier-name {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.tier-price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.tier-period {
  font-size: .95rem;
  color: rgba(255,255,255,.32);
  font-family: var(--sans);
  font-weight: 300;
}
.tier-desc {
  font-family: var(--sans);
  font-size: .8rem;
  color: rgba(255,255,255,.44);
  line-height: 1.75;
  margin: 18px 0 28px;
}
.tier-cta {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .25s, color .2s;
}
.tier-cta:hover { gap: 14px; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 72px 6vw 48px;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 28px;
}
.footer-brand { flex-shrink: 0; }
.footer-logo { max-height: 48px; width: auto; margin-bottom: 12px; opacity: .75; }
.footer-brand-name {
  display: block;
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: .92rem;
  color: rgba(255,255,255,.34);
  max-width: 240px;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-content: flex-start;
  max-width: 460px;
}
.footer-links a {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.88); }
.footer-copy {
  font-family: var(--sans);
  font-size: .62rem;
  color: rgba(255,255,255,.2);
  letter-spacing: .05em;
}

/* ============================================================
   ARCHIVE / TAG PAGE
   ============================================================ */
.archive-header {
  padding: 80px 6vw 56px;
  border-bottom: 1px solid var(--border-lt);
  max-width: 1280px;
  margin: 0 auto;
}
.archive-cover {
  height: 260px;
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}
.archive-title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.archive-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 10px;
}
.archive-count {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--subtle);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.archive-posts {
  padding: 64px 6vw 90px;
  max-width: 1280px;
  margin: 0 auto;
}
.post-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 36px;
}
.tag-template { width: 100%; }

.archive-card {
  display: flex;
  flex-direction: column;
}
.archive-card-img {
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}
.archive-card-img img {
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}
.archive-card:hover .archive-card-img img { transform: scale(1.04); }
.archive-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 10px;
}
.archive-card h3 a:hover { color: var(--gold); }
.archive-card-excerpt {
  font-family: var(--sans);
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-card-body {
  padding-top: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.archive-card-meta {
  font-family: var(--sans);
  font-size: .66rem;
  color: var(--subtle);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: auto;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-lt);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pagination .older-posts,
.pagination .newer-posts { color: var(--gold); transition: color .2s; }
.pagination .older-posts:hover,
.pagination .newer-posts:hover { color: var(--gold-dk); }
.pagination .page-number { color: var(--muted); font-weight: 400; }

/* ============================================================
   AUTHOR PAGE
   ============================================================ */
.author-template { width: 100%; }

.author-header {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 80px 6vw 56px;
  border-bottom: 1px solid var(--border-lt);
  max-width: 1280px;
  margin: 0 auto;
}
.author-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-name {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.0;
  margin-bottom: 14px;
}
.author-bio {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.author-info {
  flex: 1;
  min-width: 0;
}
.author-links a,
.author-links span {
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   ARTICLE / POST
   ============================================================ */
.post-template { width: 100%; }

.article-header {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px 52px;
  text-align: center;
  border-bottom: 1px solid var(--border-lt);
}
.article-header .post-tag { margin-bottom: 18px; }

.article-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.015em;
  color: var(--text);
  margin-bottom: 20px;
}
.article-excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 22px;
  line-height: 1.55;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-meta a { color: var(--gold); }
.sep { color: var(--subtle); }

.article-feature-image {
  max-width: 1100px;
  margin: 56px auto 72px;
  padding: 0 24px;
}
.article-feature-image figcaption {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--subtle);
  text-align: center;
  margin-top: 10px;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 56px;
}

/* Ghost content styles */
.gh-content {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--text);
}
.gh-content > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 5.2rem;
  font-weight: 600;
  float: left;
  line-height: .76;
  padding-right: 12px;
  padding-top: 7px;
  color: var(--gold);
}
.gh-content p { margin-bottom: 1.7em; }
.gh-content h2 {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 2.4em 0 .7em;
}
.gh-content h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 2em 0 .6em;
}
.gh-content blockquote {
  position: relative;
  margin: 2.5em 0;
  padding: 4px 0 4px 32px;
  border: none;
}
.gh-content blockquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}
.gh-content blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1.38;
  margin: 0;
}
.gh-content figure { margin: 2.5em 0; }
.gh-content figcaption {
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--subtle);
  text-align: center;
  margin-top: 10px;
}
.gh-content hr {
  border: none;
  width: 72px;
  height: 1px;
  background: var(--border);
  margin: 3em auto;
}
.gh-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.gh-content a:hover { color: var(--gold-dk); }

/* Ghost Koenig card widths — required by GScan */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin: 2em calc(50% - 50vw);
  transform: translate(calc(50vw - 50%), 0);
}
.kg-width-full {
  position: relative;
  width: 100vw;
  margin: 2em calc(50% - 50vw);
}

/* Koenig image / gallery cards */
.kg-image-card img { margin: 0 auto; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; flex-direction: row; justify-content: center; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }

/* Koenig bookmark card */
.kg-bookmark-card { width: 100%; }
.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s;
}
.kg-bookmark-container:hover { border-color: var(--gold); }
.kg-bookmark-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.kg-bookmark-title {
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.kg-bookmark-description {
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--subtle);
}
.kg-bookmark-icon { width: 16px; height: 16px; }
.kg-bookmark-thumbnail { width: 160px; min-height: 100%; object-fit: cover; flex-shrink: 0; }

/* Koenig video / embed cards */
.kg-video-card video { width: 100%; }
.kg-embed-card { display: flex; flex-direction: column; align-items: center; }

/* Koenig callout card */
.kg-callout-card {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--border-lt);
  border-radius: 2px;
}
.kg-callout-emoji { font-size: 1.4rem; line-height: 1.4; }
.kg-callout-text { font-size: .95rem; line-height: 1.7; }

.article-tags {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  border-top: 1px solid var(--border-lt);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-pill {
  padding: 6px 16px;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color .2s, color .2s;
}
.tag-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   PAGE TEMPLATE
   ============================================================ */
.page-template { width: 100%; }
.page-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}
.page-feature-image {
  max-width: 1100px;
  margin: 0 auto 56px;
  padding: 0 24px;
}
.page-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-lt);
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.page-excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--muted);
}
.page-body { /* extends .gh-content — no additional rules needed */ }

/* ============================================================
   ERROR PAGE
   ============================================================ */
.error-template {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 6vw;
  text-align: center;
}
.error-inner {
  max-width: 560px;
  width: 100%;
}
.error-code {
  font-family: var(--serif);
  font-size: 9rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(181,138,84,.16);
  margin-bottom: 8px;
}
.error-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 14px;
}
.error-desc {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 34px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav-primary ul { gap: 18px; }
  .nav-secondary ul { gap: 18px; }
  .nav-secondary-wrap { gap: 18px; }
}

@media (max-width: 960px) {
  .nav-primary,
  .nav-secondary { display: none; }
  .mobile-toggle { display: flex; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .nav-secondary-wrap { gap: 14px; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 64px 6vw; }
  .hero-image { min-height: 50vw; }

  .selection-section { grid-template-columns: 200px 1fr; gap: 0; }
  .selection-left { padding-right: 40px; }
  .selection-cards { padding-left: 40px; gap: 24px; }

  .membership-tiers { grid-template-columns: repeat(2, 1fr); }
  .membership-header { grid-template-columns: 1fr; gap: 24px; }
  .tier { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 40px 0; }
  .tier:last-child { border-bottom: none; }
}

@media (max-width: 720px) {
  .selection-section { grid-template-columns: 1fr; gap: 48px; }
  .selection-left { padding-right: 0; }
  .selection-cards { border-left: none; padding-left: 0; grid-template-columns: 1fr; gap: 36px; }

  .post-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .author-header { flex-direction: column; gap: 24px; }

  .footer-top { flex-direction: column; gap: 36px; }
}

@media (max-width: 580px) {
  .hero-text { padding: 56px 5vw 48px; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.8rem); }

  .selection-cards { grid-template-columns: 1fr; }
  .membership-tiers { grid-template-columns: 1fr; }
  .post-grid-3 { grid-template-columns: 1fr; }

  .article-feature-image,
  .page-feature-image { padding: 0; }
  .article-body,
  .article-tags,
  .page-article { padding-left: 20px; padding-right: 20px; }
  .article-header { padding-left: 20px; padding-right: 20px; }
}
