/* ============================================================
   SRG STRATEGIC CONSULTING — Ghost theme
   Brand: Quietly formidable. Strategic foresight for a fragmented world.
   Palette and type derived from SRG Brand Guidelines v1.0 (June 2026).

   Color discipline:
     Wine  #5E2138  — identity (logo, primary CTA, hairlines, accents)
     Slate #34495E  — structure (eyebrows, labels, meta)
     Emerald #15533B — categorical ONLY (coalition / global-affairs tags)
     Brass #A8884E  — ceremonial; intentionally NOT used in screen UI.
   ============================================================ */

:root {
  /* Core surfaces */
  --cream:       #FDFBF7;   /* base canvas */
  --white:       #FFFFFF;   /* cards on cream */
  --tint:        #EAEEF2;   /* slate tint — background fills only */

  /* Identity + structure */
  --wine:        #5E2138;
  --wine-deep:   #4A1A2C;   /* hover / pressed */
  --slate:       #34495E;
  --emerald:     #15533B;   /* categorical only */

  /* Text */
  --charcoal:    #3C3839;   /* body */
  --gray:        #606060;   /* secondary / meta */
  --on-dark:     #FDFBF7;   /* text on wine/slate/emerald — cream, never charcoal */

  /* Hairlines (wine, low alpha — faithful to the original portal) */
  --line:        rgba(94, 33, 56, 0.14);
  --line-soft:   rgba(94, 33, 56, 0.09);
  --grid-bg:     rgba(94, 33, 56, 0.10);

  /* Type */
  --font-display: var(--gh-font-heading, 'Spectral'), Georgia, 'Times New Roman', serif;
  --font-body:    var(--gh-font-body, 'Raleway'), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Rhythm */
  --wrap:     1200px;
  --measure:  680px;
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle paper texture — "texture & depth," not decoration */
body.has-texture::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--wine-deep); }

::selection { background: rgba(94, 33, 56, 0.14); color: var(--wine-deep); }

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
.measure { max-width: var(--measure); }

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--wine-deep);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate);
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--wine);
  margin: 18px 0 32px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block;
  background: var(--wine);
  color: var(--on-dark);
  padding: 17px 44px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover { background: var(--wine-deep); color: var(--on-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--wine);
  background: transparent;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-outline:hover { border-color: var(--wine); background: rgba(94, 33, 56, 0.04); color: var(--wine-deep); }

/* ---------- Site header / nav ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: linear-gradient(to bottom, rgba(253, 251, 247, 0.97), rgba(253, 251, 247, 0.82));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-head.is-scrolled { border-bottom: 1px solid var(--line-soft); }

.site-logo img { height: 60px; width: auto; }
.site-logo.logo-sm img { height: 46px; }
.site-logo.logo-lg img { height: 78px; }
.site-logo.logo-xl img { height: 96px; }
.site-logo .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--wine);
}
.site-logo .wordmark small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.site-nav a.nav-link:hover { color: var(--wine); }

.nav-account { display: flex; align-items: center; gap: 18px; }
.nav-signin {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate);
}
.nav-signin:hover { color: var(--wine); }
.nav-cta {
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--on-dark);
  background: var(--wine); padding: 11px 22px;
  transition: background 0.3s var(--ease);
}
.nav-cta:hover { background: var(--wine-deep); color: var(--on-dark); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--wine); margin: 5px 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 48px 90px;
  position: relative;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 78% 60% at 22% 48%, rgba(94, 33, 56, 0.055) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 32%, rgba(52, 73, 94, 0.055) 0%, transparent 56%);
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 26px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--wine-deep);
  margin-bottom: 22px;
  max-width: 14ch;
}
.hero-title em { font-style: italic; color: var(--wine); }
.hero-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 56px;
}
.hero-divider {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--wine), transparent);
  margin-bottom: 56px;
}

/* ---------- The "doors" — index grid of destinations ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  max-width: var(--wrap);
  margin: 0 auto;
  background: var(--grid-bg);
  border: 1px solid var(--line);
}
.door {
  background: var(--white);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
  text-align: left;
  display: block;
  color: inherit;
  transition: background 0.3s var(--ease);
}
.door::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--wine);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.door:hover { background: rgba(94, 33, 56, 0.02); }
.door:hover::after { transform: scaleX(1); }
.door-num {
  display: block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em;
  color: var(--slate);
  margin-bottom: 20px;
}
.door-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  color: var(--wine-deep);
  margin-bottom: 12px;
}
.door-title .arrow { color: var(--wine); font-size: 0.8em; }
.door-desc { font-size: 13px; line-height: 1.65; color: var(--gray); }

/* ---------- Section separators ---------- */
.sep {
  width: 100%; height: 1px; max-width: var(--wrap); margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}

/* ---------- Content sections ---------- */
.section { padding: 100px 0; position: relative; }
.section .wrap { max-width: 960px; }
.section-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--slate);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--wine-deep);
  margin-bottom: 28px;
}
.section-body { font-size: 16px; line-height: 1.8; color: var(--charcoal); max-width: var(--measure); }
.section-body + .item-grid, .section-body + .split { margin-top: 48px; }

/* ---------- Item grids (work / resources) ---------- */
.item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grid-bg);
  border: 1px solid var(--line);
}
.item {
  background: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.3s var(--ease);
}
.item:hover { background: rgba(94, 33, 56, 0.02); }
.tag {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 600; letter-spacing: 0.36em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 14px;
}
.tag.is-categorical { color: var(--emerald); }  /* coalition / global affairs */
.item-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 20px; line-height: 1.25;
  color: var(--wine-deep); margin-bottom: 12px;
}
.item-desc { font-size: 13px; line-height: 1.7; color: var(--gray); margin-bottom: 24px; flex-grow: 1; }
.item .btn-outline { margin-top: auto; }

/* ---------- Split (book / two-option) ---------- */
.split { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 64px; align-items: start; }
.split .divider { background: var(--line); height: 100%; }
.split-label {
  font-size: 9px; font-weight: 600; letter-spacing: 0.38em;
  text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 16px;
}
.split-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--wine-deep); margin-bottom: 12px; }
.split-desc { font-size: 13px; line-height: 1.75; color: var(--gray); margin-bottom: 24px; }

/* ---------- Terms of Engagement — subscription ---------- */
.toe { background: var(--wine); color: var(--on-dark); padding: 110px 0; position: relative; }
.toe .section-label { color: rgba(253, 251, 247, 0.62); }
.toe .toe-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--on-dark); margin: 16px 0 24px;
}
.toe .toe-intro { font-size: 17px; line-height: 1.75; color: rgba(253, 251, 247, 0.82); max-width: var(--measure); }
.toe-rule { width: 48px; height: 1px; background: rgba(253, 251, 247, 0.4); margin: 18px 0 0; }

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 56px; background: rgba(253, 251, 247, 0.16); border: 1px solid rgba(253, 251, 247, 0.16); }
.tier { background: var(--wine); padding: 40px 36px; display: flex; flex-direction: column; }
.tier-name { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(253, 251, 247, 0.7); margin-bottom: 18px; }
.tier-price { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; color: var(--on-dark); }
.tier-price span { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: rgba(253, 251, 247, 0.7); }
.tier-alt { font-size: 12px; color: rgba(253, 251, 247, 0.62); margin-top: 8px; }
.tier-benefits { list-style: none; margin: 24px 0 28px; }
.tier-benefits li { font-size: 13px; line-height: 1.6; color: rgba(253, 251, 247, 0.86); padding-left: 18px; position: relative; margin-bottom: 8px; }
.tier-benefits li::before { content: '—'; position: absolute; left: 0; color: rgba(253, 251, 247, 0.5); }
.tier .btn-cream {
  display: inline-block; margin-top: auto; text-align: center;
  background: var(--cream); color: var(--wine);
  padding: 15px 32px; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tier .btn-cream:hover { background: var(--white); color: var(--wine-deep); }

/* ---------- Recent briefs (post cards) ---------- */
.brief-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 1px; background: var(--grid-bg); border: 1px solid var(--line); margin-top: 48px; }
.card { background: var(--white); display: flex; flex-direction: column; transition: background 0.3s var(--ease); }
.card:hover { background: rgba(94, 33, 56, 0.02); }
.card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 32px 32px 36px; display: flex; flex-direction: column; flex-grow: 1; }
.card-tag { font-size: 9px; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.card-tag.is-categorical { color: var(--emerald); }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--wine-deep); margin-bottom: 12px; }
.card-excerpt { font-size: 13px; line-height: 1.7; color: var(--gray); margin-bottom: 20px; flex-grow: 1; }
.card-meta { font-size: 11px; letter-spacing: 0.08em; color: var(--gray); display: flex; gap: 12px; align-items: center; }
.card-meta .members-only { color: var(--wine); font-weight: 600; }

.section-head-actions { margin-top: 40px; }

/* ---------- Single post / page (editorial brief) ---------- */
.article { padding: 140px 0 90px; }
.article .wrap { max-width: 760px; }
.article-head { text-align: left; margin-bottom: 48px; }
.article-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--slate); margin-bottom: 18px; }
.article-eyebrow.is-categorical { color: var(--emerald); }
.article-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -0.015em; color: var(--wine-deep); margin-bottom: 22px; }
.article-excerpt { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 21px; line-height: 1.5; color: var(--slate); margin-bottom: 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 12px; letter-spacing: 0.06em; color: var(--gray); padding-top: 22px; border-top: 1px solid var(--line); }
.article-meta strong { color: var(--charcoal); font-weight: 600; }
.article-feature { margin: 0 0 48px; border: 1px solid var(--line); }

/* Prose */
.prose { font-size: 17px; line-height: 1.8; color: var(--charcoal); }
.prose > * + * { margin-top: 1.5em; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--wine-deep); margin-top: 2em; letter-spacing: -0.01em; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.25; color: var(--wine-deep); margin-top: 1.8em; }
.prose h4 { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-top: 1.8em; }
.prose a { color: var(--wine); border-bottom: 1px solid var(--line); }
.prose a:hover { border-color: var(--wine); }
.prose strong { color: var(--wine-deep); font-weight: 600; }
.prose blockquote { border-left: 2px solid var(--wine); padding-left: 28px; margin-left: 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--slate); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-top: 0.5em; }
.prose li::marker { color: var(--wine); }
.prose img { border: 1px solid var(--line); margin-left: auto; margin-right: auto; }
.prose figcaption { font-size: 12px; color: var(--gray); text-align: center; margin-top: 10px; letter-spacing: 0.04em; }
.prose hr { border: none; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--tint); padding: 2px 6px; border-radius: 2px; color: var(--wine-deep); }
.prose pre { background: var(--charcoal); color: var(--cream); padding: 24px; overflow-x: auto; border-radius: 2px; font-size: 14px; }
.prose pre code { background: none; color: inherit; padding: 0; }

.kg-bookmark-card, .kg-bookmark-container { border: 1px solid var(--line); }
.kg-callout-card { border-radius: 2px; }

/* ---------- Paywall / member CTA ---------- */
.gate {
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 56px 48px;
  text-align: center;
  position: relative;
}
.gate::before {
  content: ''; position: absolute; left: 0; right: 0; top: -120px; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
}
.gate-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.gate-title { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--wine-deep); margin-bottom: 14px; }
.gate-desc { font-size: 15px; line-height: 1.7; color: var(--gray); max-width: 460px; margin: 0 auto 28px; }
.gate-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.gate-signin { font-size: 12px; color: var(--gray); margin-top: 22px; }

/* ---------- Archive header ---------- */
.archive-head { padding: 150px 0 60px; }
.archive-head .wrap { max-width: 960px; }
.archive-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--slate); margin-bottom: 16px; }
.archive-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.015em; color: var(--wine-deep); margin-bottom: 20px; }
.archive-desc { font-size: 16px; line-height: 1.75; color: var(--charcoal); max-width: var(--measure); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: space-between; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 60px 48px 100px; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.pagination a { color: var(--wine); }
.pagination .page-number { color: var(--gray); letter-spacing: 0.14em; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 0; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.foot-left { display: flex; align-items: center; gap: 16px; }
.foot-mark { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0.12em; color: var(--wine); }
.foot-note { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--slate); }
.foot-meta { font-size: 11px; letter-spacing: 0.12em; color: var(--gray); }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--charcoal); }
.foot-nav a:hover { color: var(--wine); }

/* ---------- Error ---------- */
.error { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 160px 48px 80px; }
.error-code { font-family: var(--font-display); font-weight: 500; font-size: clamp(72px, 12vw, 140px); color: var(--wine); line-height: 1; }
.error-msg { font-family: var(--font-display); font-size: 24px; color: var(--wine-deep); margin: 12px 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .site-head { padding: 14px 24px; }
  .site-logo img,
  .site-logo.logo-lg img,
  .site-logo.logo-xl img { height: 52px; }
  .site-nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 24px; transform: translateY(-130%); transition: transform 0.35s var(--ease); }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a.nav-link, .nav-account { padding: 14px 0; }
  .nav-account { gap: 14px; }
  .nav-toggle { display: block; }
  .doors { grid-template-columns: 1fr; }
  .item-grid, .tiers, .split { grid-template-columns: 1fr; }
  .split .divider { display: none; }
  .section { padding: 70px 0; }
  .toe { padding: 80px 0; }
  .article { padding: 120px 0 70px; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
  .pagination { padding: 40px 24px 80px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Koenig editor: wide & full-width cards ---------- */
.prose .kg-width-wide {
  position: relative;
  width: 88vw;
  max-width: 1080px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.prose .kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.prose .kg-width-full img { width: 100%; }
.kg-image-card img,
.kg-gallery-card img { margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  .prose .kg-width-wide { width: 100%; margin-left: 0; transform: none; }
}

/* ---------- Terms of Engagement — pre-launch (interest capture) ---------- */
.toe-prelaunch {
  display: flex;
  flex-direction: column;
  gap: 44px;
  margin-top: 48px;
}
.toe-list { list-style: none; }
.toe-list li {
  font-size: 15px; line-height: 1.6;
  color: rgba(253, 251, 247, 0.88);
  padding-left: 20px; position: relative; margin-bottom: 14px;
}
.toe-list li::before { content: '—'; position: absolute; left: 0; color: rgba(253, 251, 247, 0.5); }
.toe-signal {
  font-family: var(--font-display); font-style: italic; font-size: 18px;
  color: rgba(253, 251, 247, 0.92); margin-top: 24px;
}
.toe-status {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(253, 251, 247, 0.7); margin-bottom: 16px;
}
.toe-signup-label {
  font-size: 14px; line-height: 1.6;
  color: rgba(253, 251, 247, 0.82); margin-bottom: 22px; max-width: 42ch;
}
.signup-form { max-width: 520px; }
.signup-fields { display: flex; gap: 10px; }
.signup-btn { white-space: nowrap; border: none; cursor: pointer; padding-left: 28px; padding-right: 28px; }
.signup-input {
  flex: 1; min-width: 0;
  background: var(--cream); border: none; color: var(--charcoal);
  font-family: var(--font-body); font-size: 14px; padding: 16px 18px;
}
.signup-input::placeholder { color: var(--gray); }
.signup-input:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.signup-success {
  display: none;
  font-family: var(--font-display); font-style: italic; font-size: 17px;
  color: var(--cream); margin-top: 2px;
}
.signup-form.success .signup-success { display: block; }
.signup-form.success .signup-fields { display: none; }
.signup-error { color: #F1C6CC; font-size: 13px; margin-top: 10px; min-height: 1em; }

@media (max-width: 760px) {
  .signup-fields { flex-direction: column; }
  .signup-btn { width: 100%; }
}

/* ---------- Engage — general intake form ---------- */
.srg-intake { max-width: 640px; margin-top: 64px; }
.srg-intake .intake-eyebrow {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--slate);
}
.srg-intake .intake-title {
  font-family: var(--font-display); font-weight: 600; font-size: 28px;
  line-height: 1.2; color: var(--wine-deep); margin: 10px 0 12px;
}
.srg-intake .intake-lead {
  font-size: 14px; line-height: 1.7; color: var(--gray);
  max-width: 52ch; margin-bottom: 30px;
}
.srg-intake .intake-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.srg-intake .intake-field { margin-bottom: 20px; }
.srg-intake label {
  display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}
.srg-intake .intake-opt { letter-spacing: 0.12em; color: var(--gray); font-weight: 500; }
.srg-intake input,
.srg-intake select,
.srg-intake textarea {
  width: 100%; background: var(--white); border: 1px solid var(--line);
  color: var(--charcoal); font-family: var(--font-body); font-size: 15px;
  line-height: 1.6; padding: 14px 16px; border-radius: 0;
  -webkit-appearance: none; appearance: none; transition: border-color 0.25s var(--ease);
}
.srg-intake select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E2138' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.srg-intake textarea { resize: vertical; min-height: 130px; }
.srg-intake input:focus,
.srg-intake select:focus,
.srg-intake textarea:focus {
  outline: 2px solid var(--slate); outline-offset: 2px; border-color: var(--wine);
}
.srg-intake button {
  display: inline-block; margin-top: 6px; background: var(--wine); color: var(--on-dark);
  border: none; cursor: pointer; padding: 16px 40px; font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.srg-intake button:hover { background: var(--wine-deep); transform: translateY(-1px); }
.srg-intake button[disabled] { opacity: 0.6; cursor: default; transform: none; }
.srg-intake .intake-hp { position: absolute !important; left: -9999px !important; }
.srg-intake .intake-error { color: #9B2C3A; font-size: 13px; margin-top: 12px; min-height: 1em; }
.srg-intake .intake-success {
  display: none; font-family: var(--font-display); font-style: italic;
  font-size: 19px; color: var(--wine);
}
.srg-intake.is-sent form { display: none; }
.srg-intake.is-sent .intake-success { display: block; }
@media (max-width: 600px) {
  .srg-intake .intake-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Terms of Engagement — Founding Circle (pre-launch tier) ---------- */
.founding-tier {
  max-width: 560px;
  border: 1px solid rgba(253, 251, 247, 0.18);
}
.founding-flag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream);
  background: rgba(253, 251, 247, 0.12);
  padding: 7px 14px;
  margin-bottom: 20px;
}
.founding-offer {
  font-size: 14px; line-height: 1.6;
  color: rgba(253, 251, 247, 0.86);
  max-width: 48ch; margin-bottom: 26px;
}
.founding-offer strong { color: var(--cream); font-weight: 600; }

.toe-launchlist {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(253, 251, 247, 0.16);
}
.toe-launchlist .toe-signal { margin-top: 18px; }

@media (max-width: 760px) {
  .toe-launchlist { grid-template-columns: 1fr; gap: 28px; }
}
