


:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);
}


:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}


:root,
[data-theme="light"] {
  
  --color-bg: #f4f3f0;          
  --color-surface: #faf9f6;     
  --color-surface-2: #ffffff;
  --color-surface-offset: #ebe9e4;
  --color-surface-deep: #1a1a1a;
  --color-divider: #d8d6d0;
  --color-border: #c8c5be;

  
  --color-text: #1a1a1a;
  --color-text-muted: #6b6963;
  --color-text-faint: #a8a59f;
  --color-text-inverse: #faf9f6;

  
  --color-accent: #b8893d;
  --color-accent-hover: #9c721f;
  --color-accent-active: #7a5810;
  --color-accent-faint: #ebd9b3;
  --color-accent-glow: rgba(184, 137, 61, 0.2);

  
  --color-cosmic: #1a1820;
  --color-cosmic-text: #d6d2c8;

  
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  
  --transition: 240ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 0 1px rgba(184, 137, 61, 0.15), 0 4px 24px rgba(184, 137, 61, 0.08);

  
  --content-narrow: 640px;
  --content-default: 880px;
  --content-wide: 1200px;

  
  --font-display: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', monospace;
}


[data-theme="dark"] {
  --color-bg: #0e0d0c;            
  --color-surface: #161513;
  --color-surface-2: #1d1c19;
  --color-surface-offset: #232220;
  --color-surface-deep: #faf9f6;
  --color-divider: #2c2b28;
  --color-border: #3a3935;

  --color-text: #e8e5dd;
  --color-text-muted: #8a877f;
  --color-text-faint: #5a5853;
  --color-text-inverse: #1a1a1a;

  --color-accent: #d4a55c;
  --color-accent-hover: #e6ba70;
  --color-accent-active: #f0c98a;
  --color-accent-faint: #3a2e18;
  --color-accent-glow: rgba(212, 165, 92, 0.25);

  --color-cosmic: #050407;
  --color-cosmic-text: #e8e5dd;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 1px rgba(212, 165, 92, 0.2), 0 4px 24px rgba(212, 165, 92, 0.15);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-feature-settings: "ss01", "cv11";
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p, li, figcaption { text-wrap: pretty; max-width: 65ch; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--color-accent-glow); color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

button { cursor: pointer; background: none; border: none; }


.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container-narrow { max-width: var(--content-narrow); margin-inline: auto; padding-inline: var(--space-6); }
.container-default { max-width: var(--content-default); margin-inline: auto; padding-inline: var(--space-6); }

@media (min-width: 768px) {
  .container, .container-narrow, .container-default { padding-inline: var(--space-8); }
}

section { padding-block: clamp(var(--space-12), 8vw, var(--space-32)); }


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 94%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid color-mix(in oklab, var(--color-divider) 60%, transparent);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-name {
  font-style: italic;
}

.site-nav {
  display: none;
}

@media (min-width: 720px) {
  .site-nav {
    display: flex;
    gap: var(--space-6);
    align-items: center;
  }
}

.site-nav a {
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--transition);
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-nav a:hover { color: var(--color-text); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.is-current { color: var(--color-text); }
.site-nav a.is-current::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-text);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--transition);
}
.btn-link:hover { opacity: 0.7; }


.hero {
  padding-block: clamp(var(--space-16), 12vw, var(--space-32));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, var(--color-accent-glow), transparent 50%),
    radial-gradient(circle at 70% 80%, color-mix(in oklab, var(--color-accent) 15%, transparent), transparent 50%);
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.eyebrow::before, .eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-text-faint);
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto var(--space-4);
  line-height: 1.6;
}

.hero-offer {
  font-size: var(--text-base);
  color: var(--color-accent);
  max-width: 56ch;
  margin: 0 auto var(--space-10);
  font-weight: 500;
  letter-spacing: .01em;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}


.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.section-heading h2 {
  font-size: var(--text-2xl);
  font-weight: 400;
}

.section-heading h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.section-heading-centered {
  justify-content: center;
  text-align: center;
}

.section-heading-centered > div {
  max-width: 100%;
}


.author-byline__portrait {
  margin: 0;
  max-width: 380px;
  width: 100%;
}

.author-byline__portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .author-byline__portrait {
    max-width: 260px;
    margin: 0 auto;
  }
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-3);
}


.pillars {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .pillars { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
}

@media (min-width: 1080px) {
  .pillars { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.pillar:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar:hover::before { opacity: 1; }

.pillar-symbol {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-6);
  color: var(--color-accent);
}

.pillar h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  font-style: italic;
}
.pillar > .essay-meta-cat {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  display: block;
  font-style: normal;
  font-family: "Inter", system-ui, sans-serif;
}

.pillar p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  flex: 1;
}

.pillar-link {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
}


.essays-feature {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 880px) {
  .essays-feature { grid-template-columns: 1.4fr 1fr; gap: var(--space-12); }
}

.essay-card {
  display: block;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  transition: padding var(--transition);
}

.essay-card:hover { padding-left: var(--space-3); }
.essay-card:hover h3 { color: var(--color-accent); }

.essay-meta {
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.essay-meta-cat { color: var(--color-accent); }

.essay-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  transition: color var(--transition);
}

.essay-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.essay-feature {
  display: block;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all var(--transition);
}

.essay-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, var(--color-accent-glow), transparent 50%),
    linear-gradient(180deg, var(--color-cosmic) 0%, color-mix(in srgb, var(--color-cosmic) 70%, #0a0a0a) 100%);
  opacity: 0.95;
}

.essay-feature > * { position: relative; z-index: 1; color: var(--color-cosmic-text); }

.essay-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.essay-feature h3 {
  font-size: var(--text-2xl);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.essay-feature .essay-meta { color: rgba(214, 210, 200, 0.7); }
.essay-feature .essay-meta-cat { color: var(--color-accent); }

.essay-feature p { color: rgba(214, 210, 200, 0.85); margin-bottom: var(--space-6); }


.article-hero {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
}

.article-hero .essay-meta {
  justify-content: center;
  margin-bottom: var(--space-6);
}

.article-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 400;
  max-width: 22ch;
  margin: 0 auto var(--space-6);
  letter-spacing: -0.02em;
}

.article-hero h1 em {
  font-style: italic;
  color: var(--color-accent);
}

.article-deck {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.55;
  font-style: italic;
  font-family: var(--font-display);
}

.article-body {
  padding-block: var(--space-16);
}

.article-body > * + * { margin-top: var(--space-6); }
.article-body h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-12) !important;
  margin-bottom: var(--space-4);
  font-style: italic;
}
.article-body h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-10) !important;
  font-weight: 600;
  font-family: var(--font-body);
}

.article-body p {
  font-size: var(--text-base);
  line-height: 1.75;
  max-width: 65ch;
}

.article-body a {
  color: var(--color-accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity var(--transition);
}
.article-body a:hover { opacity: 0.7; }

.article-body blockquote {
  margin-block: var(--space-8) !important;
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.5;
  max-width: 56ch;
}

.article-body ul, .article-body ol {
  padding-left: var(--space-6);
  list-style: revert;
}
.article-body li {
  font-size: var(--text-base);
  line-height: 1.75;
  margin-block: var(--space-2);
  max-width: 65ch;
}

.article-body hr {
  margin-block: var(--space-12) !important;
  border: none;
  height: 1px;
  background: var(--color-divider);
  position: relative;
}

.article-body hr::before {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bg);
  padding: 0 var(--space-4);
  color: var(--color-accent);
  font-size: var(--text-sm);
}


.article-lead-figure {
  margin: 0 0 var(--space-8) 0;
  padding: 0;
}
.article-lead-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}
.article-lead-figure figcaption {
  margin-top: var(--space-3);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}


.disclosure-note {
  background: var(--color-surface);
  border-left: 2px solid var(--color-accent);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-12) !important;
  line-height: 1.6;
}
.disclosure-note strong { color: var(--color-text); font-style: normal; }


.books-grid {
  display: grid;
  gap: var(--space-12);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .books-grid { grid-template-columns: repeat(2, 1fr); } }

.book {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.book-cover {
  aspect-ratio: 2 / 3;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-align: center;
  padding: var(--space-3);
  position: relative;
  overflow: hidden;
}

.book-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-cosmic) 0%, var(--color-surface-offset) 100%);
  opacity: 0.6;
}

.book-cover span { position: relative; z-index: 1; }

.book h3 {
  font-size: var(--text-xl);
  font-style: italic;
  margin-bottom: var(--space-2);
}
.book-meta {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.book p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}


.tools-teaser {
  background: var(--color-cosmic);
  color: var(--color-cosmic-text);
  padding: clamp(var(--space-12), 10vw, var(--space-24));
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tools-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, var(--color-accent-glow), transparent 40%),
    radial-gradient(circle at 75% 70%, var(--color-accent-glow), transparent 40%);
  opacity: 0.6;
}

.tools-teaser > * { position: relative; z-index: 1; }

.tools-teaser .eyebrow { color: var(--color-accent); }
.tools-teaser .eyebrow::before, .tools-teaser .eyebrow::after { background: var(--color-accent); opacity: 0.4; }

.tools-teaser h2 {
  font-size: var(--text-3xl);
  font-style: italic;
  font-weight: 400;
  margin-bottom: var(--space-6);
  color: var(--color-cosmic-text);
}

.tools-teaser p {
  font-size: var(--text-lg);
  color: rgba(214, 210, 200, 0.75);
  max-width: 56ch;
  margin: 0 auto var(--space-8);
}

.tools-teaser-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-block: var(--space-10);
  max-width: 820px;
  margin-inline: auto;
}

.tools-teaser-item {
  padding: var(--space-4);
  border: 1px solid rgba(212, 165, 92, 0.25);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-style: italic;
  font-family: var(--font-display);
  color: rgba(214, 210, 200, 0.9);
  background: rgba(255, 255, 255, 0.02);
}


.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-10);
  margin-top: var(--space-24);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); }
}

.footer-brand-block .brand { margin-bottom: var(--space-4); font-size: var(--text-xl); }
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  font-family: var(--font-display);
  max-width: 36ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-mark {
  font-family: var(--font-display);
  font-style: italic;
}


.center { text-align: center; }
.muted { color: var(--color-text-muted); }
.italic { font-style: italic; }
.divider {
  height: 1px;
  background: var(--color-divider);
  margin-block: var(--space-12);
  position: relative;
}
.divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bg);
  color: var(--color-accent);
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}


.newsletter {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  padding: clamp(var(--space-10), 8vw, var(--space-16));
  border-radius: var(--radius-md);
  text-align: center;
}
.newsletter h2 {
  font-size: var(--text-2xl);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.newsletter p { color: var(--color-text-muted); max-width: 50ch; margin: 0 auto var(--space-6); }
.newsletter-form {
  display: flex;
  gap: var(--space-2);
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--color-accent); outline: none; }
.newsletter-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
  font-style: italic;
}
.newsletter-cta {
  display: inline-block;
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-7);
  letter-spacing: 0.04em;
}


.collections-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.collection-tile {
  display: block;
  padding: var(--space-7) var(--space-6);
  background: var(--color-surface-2, var(--color-surface));
  border: 1px solid var(--color-divider);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.collection-tile:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.collection-num {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  line-height: 1;
}
.collection-tile h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--text-xl);
  font-weight: 500;
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}
.collection-tile p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0 0 var(--space-4);
}
.collection-count {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
}

.library-collection {
  scroll-margin-top: 90px;
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.library-collection:first-of-type { border-top: none; }
.collection-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-7);
  align-items: start;
  margin-bottom: var(--space-10);
  max-width: var(--content-narrow);
}
.collection-roman {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.6;
}
.collection-header h2 {
  margin: var(--space-2) 0 var(--space-4);
}
.collection-deck {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 62ch;
}
@media (max-width: 640px) {
  .collection-header {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .collection-roman { font-size: 3rem; }
}


.book-entry {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: var(--space-12) 0 var(--space-10);
  border-top: 1px solid var(--color-divider);
  position: relative;
}
.book-entry-num {
  position: absolute;
  top: var(--space-12);
  right: 0;
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-style: italic;
  color: var(--color-accent);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.02em;
}
.book-entry-meta {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.book-entry-title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-2);
}
.book-entry-tagline {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}
.book-entry-body p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 65ch;
}
.book-entry-body p:first-child {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-muted);
}
.book-entry-quote {
  margin-top: var(--space-6);
  padding-left: var(--space-5);
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.book-entry-cta {
  margin-top: var(--space-7);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 200ms ease;
}
.book-entry-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}
.book-entry-cta::after {
  content: "\2192";
  margin-left: 2px;
  transition: transform 200ms ease;
}
.book-entry-cta:hover::after {
  transform: translateX(3px);
}


.meta-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
  display: grid;
  gap: var(--space-2);
}
.meta-list li {
  padding: var(--space-3) 0;
  border-bottom: 1px dashed var(--color-divider);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.meta-list li strong { color: var(--color-text); font-weight: 500; }


.reading-toc {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin: var(--space-8) 0;
}
.reading-toc h2 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--text-xl);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.reading-toc ol { padding-left: var(--space-6); margin: 0; }
.reading-toc li { padding: var(--space-2) 0; color: var(--color-text-muted); }
.reading-toc li a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.reading-toc li a:hover { border-color: var(--color-accent); }

.chapter {
  max-width: var(--content-narrow);
  margin: 0 auto;
  padding: var(--space-10) 0;
  border-top: 1px solid var(--color-divider);
}
.chapter:first-of-type { border-top: 0; }
.chapter h2 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.chapter h3 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--text-xl);
  font-style: italic;
  margin: var(--space-8) 0 var(--space-4);
  color: var(--color-text);
}
.chapter p {
  font-size: var(--text-base);
  line-height: 1.85;
  margin-bottom: var(--space-4);
  color: var(--color-text);
  max-width: 65ch;
}
.chapter blockquote {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: var(--text-lg);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  color: var(--color-text-muted);
  max-width: 60ch;
}


.coming-soon {
  text-align: center;
  padding: clamp(var(--space-12), 12vw, var(--space-20)) var(--space-6);
  max-width: var(--content-narrow);
  margin: 0 auto;
}
.coming-soon .eyebrow { justify-content: center; display: inline-flex; align-items: center; gap: var(--space-3); }
.coming-soon h1 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: var(--space-4) 0 var(--space-6);
}
.coming-soon h1 em { color: var(--color-accent); }
.coming-soon p {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto var(--space-6);
}


.vibe-portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-8);
  overflow: hidden;
  position: relative;
}
.vibe-portrait::before {
  content: 'gs';
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 8rem;
  font-style: italic;
  color: var(--color-accent);
  opacity: 0.4;
}


.books-strip-section {
  padding-block: var(--space-16);
  background: var(--color-surface);
  border-block: 1px solid var(--color-divider);
}
.books-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
  margin-block: var(--space-10);
}
.book-tile {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  min-height: 220px;
}
.book-tile:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.book-tile-num {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}
.book-tile h3 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
}
.book-tile-sub {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin: 0 0 auto;
}
.book-tile-tag {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-family: var(--font-body, Inter, sans-serif);
}
.books-strip-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
}


.streams-section {
  padding-block: var(--space-16);
}
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.stream-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-7);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 240px;
}
.stream-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.stream-card h3 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: var(--text-2xl);
  font-weight: 500;
  margin: var(--space-3) 0 var(--space-3);
  line-height: 1.15;
}
.stream-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.55;
  margin: 0 0 var(--space-5);
  flex: 1;
}
.stream-status {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body, Inter, sans-serif);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm, 4px);
  align-self: flex-start;
}
.stream-status-live {
  background: var(--color-accent);
  color: var(--color-bg);
}
.stream-status-free {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}
.stream-status-soon {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-text-muted);
}
.stream-link {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  color: var(--color-accent);
  font-size: var(--text-base);
}


.book-entry {
  position: relative;
}
.book-entry-cover {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto var(--space-6);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.12);
}
.book-entry-cover-link {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto var(--space-6);
  text-decoration: none;
}
.book-entry-cover-link .book-entry-cover {
  max-width: 100%;
  margin: 0;
}

[data-theme="dark"] .book-entry-cover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.book-entry-cover-coming {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 2/3;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

@media (min-width: 820px) {
  .book-entry {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
    align-items: start;
  }
  .book-entry-cover,
  .book-entry-cover-coming,
  .book-entry-cover-link {
    margin: 0;
    position: sticky;
    top: var(--space-12);
  }
  .book-entry-num {
    grid-column: 2;
  }
  .book-entry-meta,
  .book-entry-title,
  .book-entry-body,
  .book-entry-quote,
  .book-entry-cta {
    grid-column: 2;
  }
}




.section-lede {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--color-text-soft);
  max-width: 60ch;
  margin: 0 0 var(--space-6);
  font-style: italic;
}


.tarot-feature-section {
  background: linear-gradient(180deg, transparent 0%, var(--color-accent-glow) 100%);
  position: relative;
}
.tarot-feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, var(--color-accent-glow), transparent 55%);
  pointer-events: none;
  opacity: 0.7;
}
.tarot-feature-section .container { position: relative; }

.tarot-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-5);
}


.newsletter-inline-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-soft, var(--color-bg));
}
.newsletter-inline-section .newsletter {
  text-align: center;
  padding-block: var(--space-8);
}
.newsletter-inline-section .newsletter h2 em {
  color: var(--color-accent);
  font-style: italic;
}


.books-sidedoor-section { padding-block: var(--space-8); }
.books-sidedoor {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--space-7) var(--space-6);
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.books-sidedoor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-glow) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0.6;
}
.books-sidedoor-content {
  position: relative;
  max-width: 60ch;
}
.books-sidedoor-content h2 {
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}
.books-sidedoor-content p {
  color: var(--color-text-soft);
  margin-bottom: var(--space-5);
}
.books-sidedoor-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}


.final-cta-section {
  border-top: 1px solid var(--color-border);
  background: linear-gradient(180deg, transparent 0%, var(--color-accent-glow) 120%);
}
.final-cta {
  text-align: center;
  padding-block: var(--space-8);
}
.final-cta h2 {
  margin-bottom: var(--space-3);
}
.final-cta p {
  color: var(--color-text-soft);
  font-size: var(--text-lg);
  margin: 0 auto var(--space-5);
  max-width: 50ch;
}
.final-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}


@media (max-width: 720px) {
  .section-lede { font-size: var(--text-base); }
  .books-sidedoor { padding: var(--space-5) var(--space-4); }
  .tarot-cta-row, .final-cta-row, .books-sidedoor-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .tarot-cta-row .btn,
  .final-cta-row .btn,
  .books-sidedoor-cta .btn {
    width: 100%;
    text-align: center;
  }
}


.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { color: var(--color-text); }

@media (min-width: 720px) {
  .nav-toggle { display: none; }
}

@media (max-width: 719px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-4) var(--space-6);
    flex-direction: column;
    gap: var(--space-1);
    z-index: 49;
  }
  .site-nav.is-open {
    display: flex;
    
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav a {
    padding: var(--space-3) 0;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-divider);
  }
  .site-nav a:last-child { border-bottom: none; }
}


.skip-to-main {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  color: var(--color-text-inverse, #fff);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-main:focus {
  top: 0;
}


.tip-kitchen-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--color-surface-deep);
  color: var(--color-cosmic-text);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 0;
}
[data-theme="light"] .tip-kitchen-banner {
  background: #1a1a1a;
  color: #d6d2c8;
}
.tip-kitchen-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.tip-kitchen-banner__msg {
  flex: 1;
  text-align: center;
}
.tip-kitchen-banner__cta {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tip-kitchen-banner__cta:hover {
  color: var(--color-accent-hover);
}
.tip-kitchen-banner__close {
  background: transparent;
  border: 0;
  color: #a8a294;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.tip-kitchen-banner__close:hover {
  color: #f5f0e6;
  background: rgba(255,255,255,0.06);
}
.tip-kitchen-banner.is-hidden {
  display: none;
}

body { padding-bottom: 50px; }
@media (max-width: 600px) {
  .tip-kitchen-banner__inner { flex-wrap: wrap; gap: 0.5rem; }
  .tip-kitchen-banner__msg { font-size: 0.82rem; }
}


.book-entry-cta.book-entry-cta-secondary{margin-top:var(--space-3);border-color:transparent;padding-left:0;padding-right:0;opacity:.72;letter-spacing:.08em}
.book-entry-cta.book-entry-cta-secondary:hover{background:transparent;color:var(--color-accent);opacity:1}




:root,
[data-theme="light"] {
  
  --depth-ink: 26, 20, 12;
  
  --depth-rest:
    0 1px 2px rgba(var(--depth-ink), 0.07),
    0 2px 6px rgba(var(--depth-ink), 0.05),
    0 10px 28px rgba(var(--depth-ink), 0.05);
  
  --depth-raised:
    0 1px 2px rgba(var(--depth-ink), 0.09),
    0 6px 14px rgba(var(--depth-ink), 0.08),
    0 22px 48px rgba(var(--depth-ink), 0.08);
  
  --depth-recess:
    inset 0 1px 3px rgba(var(--depth-ink), 0.10),
    inset 0 8px 22px rgba(var(--depth-ink), 0.05);
  
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  
  --light-wash: linear-gradient(135deg, rgba(184, 137, 61, 0.055), rgba(184, 137, 61, 0) 42%);
  --light-wash-strong: linear-gradient(135deg, rgba(184, 137, 61, 0.10), rgba(184, 137, 61, 0) 55%);
  
  --paper-under: #efede8;
  --paper-under-2: #e6e3dc;
}
[data-theme="dark"] {
  --depth-ink: 0, 0, 0;
  --depth-rest:
    0 1px 2px rgba(var(--depth-ink), 0.35),
    0 2px 6px rgba(var(--depth-ink), 0.28),
    0 10px 28px rgba(var(--depth-ink), 0.30);
  --depth-raised:
    0 1px 2px rgba(var(--depth-ink), 0.45),
    0 6px 14px rgba(var(--depth-ink), 0.38),
    0 22px 48px rgba(var(--depth-ink), 0.42);
  --depth-recess:
    inset 0 1px 3px rgba(var(--depth-ink), 0.50),
    inset 0 8px 22px rgba(var(--depth-ink), 0.30);
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  --light-wash: linear-gradient(135deg, rgba(212, 165, 92, 0.07), rgba(212, 165, 92, 0) 42%);
  --light-wash-strong: linear-gradient(135deg, rgba(212, 165, 92, 0.13), rgba(212, 165, 92, 0) 55%);
  --paper-under: #1b1a17;
  --paper-under-2: #21201c;
}


:root {
  --texture-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}



.surface-paper {
  background: var(--color-surface);
  background-image: var(--light-wash);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--depth-rest), var(--edge-light);
}

.surface-raised {
  background: var(--color-surface);
  background-image: var(--light-wash);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--depth-raised), var(--edge-light);
}

.surface-recessed {
  background: var(--color-surface-offset);
  border: 1px solid color-mix(in oklab, var(--color-border) 70%, transparent);
  border-radius: var(--radius-md);
  box-shadow: var(--depth-recess);
}

.surface-grained { position: relative; }
.surface-grained::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: var(--texture-grain);
  opacity: 0.035;
  pointer-events: none;
}
[data-theme="dark"] .surface-grained::after { opacity: 0.05; }


.lift {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
@media (hover: hover) {
  .lift:hover {
    transform: translateY(-3px);
    box-shadow: var(--depth-raised), var(--edge-light);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lift:hover { transform: none; }
}


:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


.site-header { box-shadow: 0 4px 18px rgba(var(--depth-ink), 0.05); }

.pillar {
  background-image: var(--light-wash);
  box-shadow: var(--depth-rest), var(--edge-light);
}
.pillar:hover { box-shadow: var(--depth-raised), var(--edge-light); }

.essay-feature {
  box-shadow: var(--depth-raised);
}
@media (hover: hover) {
  .essay-feature { transition: transform var(--transition), box-shadow var(--transition); }
  .essay-feature:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .essay-feature:hover { transform: none; } }


.newsletter {
  background: var(--color-surface-offset);
  border-color: color-mix(in oklab, var(--color-border) 70%, transparent);
  box-shadow: var(--depth-recess);
}

.site-footer { box-shadow: inset 0 10px 24px -18px rgba(var(--depth-ink), 0.35); }


[data-realm="notes"] .essay-card {
  position: relative;
  z-index: 0;
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  background: var(--color-surface);
  background-image: var(--light-wash);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  box-shadow: var(--depth-rest), var(--edge-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

[data-realm="notes"] .essay-card::before,
[data-realm="notes"] .essay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper-under);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  transform: translate(3px, 4px);
}
[data-realm="notes"] .essay-card::after {
  background: var(--paper-under-2);
  transform: translate(6px, 8px);
}
@media (hover: hover) {
  [data-realm="notes"] .essay-card:hover {
    padding-left: var(--space-6); 
    transform: translateY(-2px);
    box-shadow: var(--depth-raised), var(--edge-light);
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-realm="notes"] .essay-card:hover { transform: none; }
}

[data-realm="notes"] .essay-meta-cat {
  display: inline-block;
  padding: 2px 9px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  border-radius: 2px;
  box-shadow: var(--edge-light);
}

[data-realm="notes"] .article-image img {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  box-shadow: var(--depth-rest);
}
[data-realm="notes"] .article-image figcaption {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  text-align: center;
  font-style: italic;
}


[data-realm="soup"] .essay-card {
  position: relative;
  z-index: 0;
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
  margin-bottom: var(--space-6);
  background: var(--color-surface);
  background-image: var(--light-wash-strong);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm) var(--radius-md) var(--radius-md) var(--radius-sm);
  box-shadow: var(--depth-raised), var(--edge-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

[data-realm="soup"] .essay-card::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -3.5px;
  width: 3.5px;
  background: repeating-linear-gradient(
    180deg,
    var(--color-divider) 0 1px,
    var(--color-surface-2) 1px 3px
  );
  border-radius: 0 2px 2px 0;
}
@media (hover: hover) {
  [data-realm="soup"] .essay-card:hover {
    padding-left: var(--space-8);
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-realm="soup"] .essay-card:hover { transform: none; }
}

[data-realm="soup"] .article-hero {
  background: var(--color-surface-offset);
  box-shadow: var(--depth-recess);
}



.tip-kitchen-banner { font-size: 0.8rem; }
.tip-kitchen-banner__inner { padding: 0.45rem 1.1rem; gap: 0.75rem; }
.tip-kitchen-banner__cta {
  font-weight: 600;
}
.tip-kitchen-banner__alt {
  color: inherit;
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.tip-kitchen-banner__alt:hover { opacity: 0.85; }


.membership-invite {
  background: var(--color-surface);
  background-image: var(--light-wash);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  box-shadow: var(--depth-rest), var(--edge-light);
  padding: clamp(var(--space-8), 6vw, var(--space-12));
  text-align: center;
  margin-bottom: var(--space-10);
}
.membership-invite h2 { margin-bottom: var(--space-3); }
.membership-invite p {
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto var(--space-6);
}



.collection-tile {
  background-image: var(--light-wash);
  box-shadow: var(--depth-rest), var(--edge-light);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
@media (hover: hover) {
  .collection-tile:hover { transform: translateY(-3px); box-shadow: var(--depth-raised), var(--edge-light); }
}


.book-entry-cover { background-image: var(--light-wash); }


.stream-card { box-shadow: var(--depth-rest); }
@media (hover: hover) {
  .stream-card:hover { box-shadow: var(--depth-raised); }
}


.reading-toc { box-shadow: var(--depth-recess); background: var(--color-surface-offset); }

@media (prefers-reduced-motion: reduce) {
  .collection-tile:hover, .stream-card:hover { transform: none; }
}


@media (max-width: 680px) {
  .tip-kitchen-banner__msg { display: none; }
  .tip-kitchen-banner__inner { padding: 0.5rem 2.4rem 0.5rem 1rem; gap: 0.9rem; flex-wrap: nowrap; }
  .tip-kitchen-banner__cta, .tip-kitchen-banner__alt { white-space: nowrap; }
}


:root {
  --geo-mandala: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 700' fill='none' stroke='%23b8893d'%3E%3Ccircle cx='350' cy='350' r='340' stroke-width='1.2'/%3E%3Ccircle cx='350' cy='350' r='333' stroke-width='8' stroke-dasharray='1.1 7.6'/%3E%3Ccircle cx='350' cy='350' r='321' stroke-width='14' stroke-dasharray='2.4 81.7'/%3E%3Ccircle cx='350' cy='350' r='300' stroke-width='1'/%3E%3Ccircle cx='350' cy='350' r='262' stroke-width='1' stroke-dasharray='4 9'/%3E%3Ccircle cx='350' cy='350' r='218' stroke-width='1'/%3E%3Ccircle cx='350' cy='350' r='174' stroke-width='1'/%3E%3Ccircle cx='350' cy='350' r='120' stroke-width='1'/%3E%3Ccircle cx='350' cy='350' r='66' stroke-width='1'/%3E%3Ccircle cx='350' cy='350' r='7' stroke-width='1.4'/%3E%3Crect x='138' y='138' width='424' height='424' stroke-width='1'/%3E%3Cpath stroke-width='1' d='M350 50 650 350 350 650 50 350Z'/%3E%3Cpath stroke-width='1' d='M350 50 610 500H90Z'/%3E%3Cpath stroke-width='1' opacity='.55' d='M350 650 610 200H90Z'/%3E%3Ccircle cx='350' cy='88' r='11' stroke-width='1.2'/%3E%3Ccircle cx='518' cy='149' r='8' stroke-width='1.2'/%3E%3Ccircle cx='239' cy='587' r='8' stroke-width='1.2'/%3E%3Cpath stroke-width='1' d='M350 4v46M350 650v46M4 350h46M650 350h46M105 105l30 30M565 565l30 30M595 105l-30 30M135 565l-30 30'/%3E%3C/svg%3E");
  --geo-rings: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none' stroke='%23b8893d' stroke-width='1'%3E%3Ccircle cx='200' cy='200' r='190'/%3E%3Ccircle cx='200' cy='200' r='150'/%3E%3Ccircle cx='200' cy='200' r='110'/%3E%3Ccircle cx='200' cy='200' r='70'/%3E%3Ccircle cx='200' cy='200' r='30'/%3E%3Ccircle cx='200' cy='200' r='3'/%3E%3C/svg%3E");
  --geo-rise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 200' fill='none' stroke='%23b8893d' stroke-width='1'%3E%3Cpath d='M30 150H370'/%3E%3Ccircle cx='200' cy='92' r='46'/%3E%3Ccircle cx='200' cy='92' r='3'/%3E%3Cpath d='M90 150v8M145 150v8M255 150v8M310 150v8M200 26v-14M200 150v20'/%3E%3C/svg%3E");
  --geo-vesica: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24' fill='none' stroke='%23b8893d' stroke-width='1.2'%3E%3Ccircle cx='14' cy='12' r='10'/%3E%3Ccircle cx='26' cy='12' r='10'/%3E%3C/svg%3E");
  --geo-opacity: 0.26;
  --geo-opacity-soft: 0.14;
}
[data-theme="dark"] { --geo-opacity: 0.34; --geo-opacity-soft: 0.20; }


.hero { z-index: 0; }
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(105vw, 900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: var(--geo-mandala) center / contain no-repeat;
  opacity: var(--geo-opacity);
  pointer-events: none;
}


[data-realm="notes"] .article-hero { position: relative; overflow: hidden; }
[data-realm="notes"] .article-hero::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: min(60vw, 520px);
  height: 260px;
  background: var(--geo-rise) center / contain no-repeat;
  opacity: var(--geo-opacity);
  pointer-events: none;
}
[data-realm="soup"] .article-hero { position: relative; overflow: hidden; }
[data-realm="soup"] .article-hero::after {
  content: "";
  position: absolute;
  left: -80px;
  top: 50%;
  width: min(55vw, 480px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: var(--geo-rings) center / contain no-repeat;
  opacity: var(--geo-opacity);
  pointer-events: none;
}


.footer-mark::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--geo-vesica) center / contain no-repeat;
  opacity: 0.75;
}


@media (hover: hover) {
  .pillar:hover,
  .collection-tile:hover {
    transform: perspective(900px) rotateX(1deg) translateY(-4px);
  }
  .essay-feature:hover {
    transform: perspective(1100px) rotateX(0.8deg) translateY(-3px);
  }
  [data-realm="notes"] .essay-card:hover {
    transform: perspective(800px) rotateX(0.6deg) translateY(-2px);
  }
  [data-realm="soup"] .essay-card:hover {
    transform: perspective(900px) rotateX(0.6deg) translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pillar:hover, .collection-tile:hover, .essay-feature:hover,
  [data-realm="notes"] .essay-card:hover,
  [data-realm="soup"] .essay-card:hover { transform: none; }
}



.pillar::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8893d' stroke-width='1.4'%3E%3Cpath d='M12 2v7M12 15v7M2 12h7M15 12h7'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}


.essay-feature::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d4a55c' d='M12 1l2 9 9 2-9 2-2 9-2-9-9-2 9-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.7;
  pointer-events: none;
}


.newsletter { position: relative; overflow: hidden; }
.newsletter::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 50%;
  width: min(50vw, 380px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: var(--geo-rings) center / contain no-repeat;
  opacity: var(--geo-opacity-soft);
  pointer-events: none;
}
.membership-invite { position: relative; overflow: hidden; }
.membership-invite::after {
  content: "";
  position: absolute;
  left: -60px;
  top: 50%;
  width: 300px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: var(--geo-mandala) center / contain no-repeat;
  opacity: var(--geo-opacity-soft);
  pointer-events: none;
}


.site-footer {
  position: relative;
  border-top: 1px solid color-mix(in oklab, var(--color-accent) 35%, var(--color-divider));
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 38px,
    color-mix(in oklab, var(--color-accent) 55%, transparent) 38px 39px
  );
  opacity: 0.5;
  pointer-events: none;
}


.section-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: "";
  width: 34px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 9' fill='none' stroke='%23b8893d' stroke-width='1'%3E%3Cpath d='M0 4.5h12M22 4.5h12'/%3E%3Ccircle cx='17' cy='4.5' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.9;
}


:root {
  --geo-page-op: 0.06;
  --geo-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900' fill='none' stroke='%23b8893d'%3E%3Cpath stroke-width='1' d='M450 0q170 225 0 450Q280 675 450 900M0 450q225 170 450 0 225-170 450 0M450 0Q280 225 450 450q170 225 0 450M0 450q225-170 450 0 225 170 450 0' opacity='.5'/%3E%3Ccircle cx='450' cy='450' r='118' stroke-width='1' stroke-dasharray='3 10' opacity='.7'/%3E%3Cg fill='%23b8893d' stroke='none'%3E%3Cpath d='M140 130l4 12 12 4-12 4-4 12-4-12-12-4 12-4zM760 210l3 9 9 3-9 3-3 9-3-9-9-3 9-3zM640 700l4 11 11 4-11 4-4 11-4-11-11-4 11-4zM210 760l3 8 8 3-8 3-3 8-3-8-8-3 8-3zM820 500l2 7 7 2-7 2-2 7-2-7-7-2 7-2zM90 560l2 7 7 2-7 2-2 7-2-7-7-2 7-2z'/%3E%3Ccircle cx='320' cy='240' r='2.4'/%3E%3Ccircle cx='585' cy='120' r='1.8'/%3E%3Ccircle cx='700' cy='420' r='2'/%3E%3Ccircle cx='170' cy='420' r='1.7'/%3E%3Ccircle cx='500' cy='640' r='2.2'/%3E%3Ccircle cx='370' cy='800' r='1.8'/%3E%3Ccircle cx='80' cy='90' r='1.6'/%3E%3Ccircle cx='840' cy='840' r='2'/%3E%3C/g%3E%3Cpath stroke-width='1' d='M320 240h-26M320 240v-30M700 420l24 18M500 640l-30 12' opacity='.55'/%3E%3C/svg%3E");
  --geo-bracket-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8893d' stroke-opacity='.6' stroke-width='1.3'%3E%3Cpath d='M1 23V6q0-5 5-5h17'/%3E%3C/svg%3E");
  --geo-bracket-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8893d' stroke-opacity='.6' stroke-width='1.3'%3E%3Cpath d='M23 1v17q0 5-5 5H1'/%3E%3C/svg%3E");
  --geo-rule-node: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 9' fill='none' stroke='%23b8893d' stroke-opacity='.85' stroke-width='1'%3E%3Cpath d='M0 4.5h22M42 4.5h64'/%3E%3Cpath d='M32 0l4.5 4.5L32 9l-4.5-4.5z'/%3E%3C/svg%3E");
  --geo-ornate-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 9' fill='none' stroke='%23b8893d' stroke-opacity='.7' stroke-width='1'%3E%3Cpath d='M0 4.5h96M184 4.5h96'/%3E%3Cpath d='M104 4.5l4-4 4 4-4 4zM168 4.5l4-4 4 4-4 4z'/%3E%3Ccircle cx='125' cy='4.5' r='1.6'/%3E%3Ccircle cx='155' cy='4.5' r='1.6'/%3E%3C/svg%3E");
  --geo-moons: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 28' fill='none' stroke='%23b8893d' stroke-width='1.1'%3E%3Ccircle cx='30' cy='14' r='10'/%3E%3Ccircle cx='90' cy='14' r='10'/%3E%3Cpath fill='%23b8893d' fill-opacity='.75' stroke='none' d='M90 4a10 10 0 010 20z'/%3E%3Ccircle cx='150' cy='14' r='10' fill='%23b8893d' fill-opacity='.75'/%3E%3Ccircle cx='210' cy='14' r='10'/%3E%3Cpath fill='%23b8893d' fill-opacity='.75' stroke='none' d='M210 4a10 10 0 000 20z'/%3E%3Ccircle cx='270' cy='14' r='10'/%3E%3C/svg%3E");
  --geo-tick-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b8893d' stroke-opacity='.55' stroke-width='1.2'%3E%3Cpath d='M10 1v6M10 13v6M1 10h6M13 10h6'/%3E%3C/svg%3E");
  --geo-rings-sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23b8893d' stroke-opacity='.5' stroke-width='1'%3E%3Ccircle cx='24' cy='24' r='21'/%3E%3Ccircle cx='24' cy='24' r='13'/%3E%3Ccircle cx='24' cy='24' r='5'/%3E%3C/svg%3E");
  --geo-crosstick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8893d' stroke-width='1.4'%3E%3Cpath d='M12 2v7M12 15v7M2 12h7M15 12h7'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
  --geo-star4: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d4a55c' d='M12 1l2 9 9 2-9 2-2 9-2-9-9-2 9-2z'/%3E%3C/svg%3E");
}
[data-theme="dark"] { --geo-page-op: 0.09; }


body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--geo-star) center / 760px repeat;
  opacity: var(--geo-page-op);
  pointer-events: none;
}


.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 5px;
  background: repeating-linear-gradient(90deg,
    transparent 0 46px,
    color-mix(in oklab, var(--color-accent) 50%, transparent) 46px 47px);
  opacity: 0.35;
  pointer-events: none;
}
.site-header { position: sticky; }


.pillar::after {
  inset: 0;
  width: auto;
  height: auto;
  background:
    var(--geo-crosstick) calc(100% - 14px) 14px / 22px no-repeat,
    var(--geo-bracket-tl) 10px 10px / 22px no-repeat,
    var(--geo-bracket-br) calc(100% - 10px) calc(100% - 10px) / 22px no-repeat;
  opacity: 0.65;
}
.essay-feature::after {
  inset: 0;
  width: auto;
  height: auto;
  background:
    var(--geo-star4) calc(100% - 16px) 16px / 24px no-repeat,
    var(--geo-bracket-tl) 12px 12px / 24px no-repeat,
    var(--geo-bracket-br) calc(100% - 12px) calc(100% - 12px) / 24px no-repeat;
  opacity: 0.8;
}


[data-realm="notes"] .essay-card {
  background-image: var(--light-wash), var(--geo-tick-corner);
  background-position: 0 0, calc(100% - 12px) 12px;
  background-size: auto, 17px;
  background-repeat: no-repeat;
}
[data-realm="soup"] .essay-card {
  background-image: var(--light-wash-strong), var(--geo-rings-sm);
  background-position: 0 0, calc(100% - 12px) calc(100% - 10px);
  background-size: auto, 34px;
  background-repeat: no-repeat;
}


[data-realm="soup"] .article-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: min(60vw, 300px);
  height: 28px;
  transform: translateX(-50%);
  background: var(--geo-moons) center / contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}


.article-body h2 {
  position: relative;
  padding-bottom: 14px;
}
.article-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 9px;
  background: var(--geo-rule-node) left center / contain no-repeat;
}


.article-body .article-image img {
  outline: 1px solid color-mix(in oklab, var(--color-accent) 30%, transparent);
  outline-offset: 7px;
}
.article-body .article-image { padding: 8px; }


.article-body blockquote { position: relative; }
.article-body blockquote::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -10px;
  width: 44px;
  height: 44px;
  background: var(--geo-rings-sm) center / contain no-repeat;
  pointer-events: none;
}


.divider {
  height: 9px;
  background: var(--geo-ornate-rule) center / 280px 9px no-repeat;
}


.collection-tile, .stream-card { position: relative; }
.collection-tile::after, .stream-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--geo-bracket-tl) 9px 9px / 18px no-repeat,
    var(--geo-bracket-br) calc(100% - 9px) calc(100% - 9px) / 18px no-repeat;
  opacity: 0.6;
  pointer-events: none;
}


:root {
  --geo-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23b8893d'%3E%3Ccircle cx='50' cy='50' r='46' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='40' stroke-width='5' stroke-dasharray='1 9.4'/%3E%3Cpath stroke-width='1' fill='%23b8893d' fill-opacity='.25' d='M50 8l6 36-6 48-6-48zM8 50l36-6 48 6-48 6z'/%3E%3Cpath stroke-width='1' d='M26 26l10 10M74 74l-10-10M74 26l-10 10M26 74l10-10'/%3E%3Ccircle cx='50' cy='50' r='4' stroke-width='1.2'/%3E%3C/svg%3E");
  --geo-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' fill='none' stroke='%23b8893d' stroke-width='1'%3E%3Cpath d='M6 24Q100 -10 194 24' opacity='.8'/%3E%3Cpath d='M100 3l3.5 5-3.5 5-3.5-5z' fill='%23b8893d' fill-opacity='.5'/%3E%3Ccircle cx='30' cy='16.5' r='1.5' fill='%23b8893d' stroke='none'/%3E%3Ccircle cx='170' cy='16.5' r='1.5' fill='%23b8893d' stroke='none'/%3E%3C/svg%3E");
  --geo-pip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='none' stroke='%23b8893d' stroke-opacity='.75' stroke-width='1' d='M4 .8L7.2 4 4 7.2.8 4z'/%3E%3C/svg%3E");
}


body::after {
  content: "";
  position: fixed;
  right: 18px;
  bottom: 16px;
  width: 74px;
  height: 74px;
  z-index: 0;
  background: var(--geo-compass) center / contain no-repeat;
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 680px) { body::after { display: none; } }


.site-nav a + a {
  position: relative;
}
.site-nav a + a::before {
  content: "";
  position: absolute;
  left: calc(-0.5 * var(--space-6, 1.5rem) - 4px);
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--geo-pip) center / contain no-repeat;
  opacity: 0.8;
  pointer-events: none;
}
@media (max-width: 719px) { .site-nav a + a::before { display: none; } }


.brand-mark {
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 55%, transparent);
  border-radius: 50%;
  pointer-events: none;
}


.article-hero h1 {
  position: relative;
  padding-top: 34px;
}
.article-hero h1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(46vw, 220px);
  height: 26px;
  background: var(--geo-arc) left center / contain no-repeat;
  opacity: 0.85;
  pointer-events: none;
}


.essay-meta span + span {
  position: relative;
  padding-left: 14px;
}
.essay-meta span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  background: var(--geo-pip) center / contain no-repeat;
}


.section-heading {
  position: relative;
  padding-bottom: 16px;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background:
    var(--geo-rule-node) center / 64px 9px no-repeat,
    linear-gradient(90deg, transparent, color-mix(in oklab, var(--color-accent) 30%, transparent) 18% 82%, transparent) center / 100% 1px no-repeat;
  pointer-events: none;
}


.article-body blockquote::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: -4px;
  width: 9px;
  height: 9px;
  background: var(--geo-pip) center / contain no-repeat;
}


.book-entry-cover { position: relative; }
.book-entry-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--geo-bracket-tl) 8px 8px / 20px no-repeat,
    var(--geo-bracket-br) calc(100% - 8px) calc(100% - 8px) / 20px no-repeat;
  opacity: 0.75;
  pointer-events: none;
}

.reading-toc { position: relative; overflow: hidden; }
.reading-toc::after {
  content: "";
  position: absolute;
  right: -110px;
  top: 50%;
  width: 340px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: var(--geo-mandala) center / contain no-repeat;
  opacity: var(--geo-opacity-soft);
  pointer-events: none;
}


@keyframes geo-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero::after { animation: geo-spin 240s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}




:root,
[data-theme="light"] {
  --font-serif: var(--font-display);
  --color-text-soft: #4a4843;
  
  --color-accent-text: #8a6418;
}
[data-theme="dark"] {
  --color-text-soft: #b4b0a6;
  --color-accent-text: var(--color-accent);
}


.hero-offer,
.zone-facts b,
.spread-item--free span {
  color: var(--color-accent-text);
}


.hero h1.hero-h1--long {
  font-size: clamp(2.25rem, 0.5rem + 5vw, 5.25rem);
  line-height: 1.06;
}


.spread-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-block: var(--space-8) var(--space-6);
  max-width: 880px;
  padding: 0;
  list-style: none;
}

.spread-item {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.25;
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition);
}

.spread-item:hover { border-color: var(--color-accent); }

.spread-item span {
  display: block;
  margin-top: var(--space-2);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.spread-item--free { border-color: var(--color-accent); background: var(--color-surface-2); }


.zone-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-10);
  margin-block: var(--space-8) var(--space-6);
  padding: 0;
  list-style: none;
}

.zone-facts li {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.15;
  color: var(--color-text);
}

.zone-facts b {
  display: block;
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


.vibe-creed {
  margin-block: var(--space-10);
  padding: var(--space-8) var(--space-6);
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.35;
  color: var(--color-text);
}

.vibe-creed em {
  font-style: italic;
  color: var(--color-accent);
}



.essay-credit {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #888888;
  max-width: 56ch;
  margin: var(--space-4) auto 0;
  text-align: center;
}
.essay-credit a { color: inherit; text-decoration: underline; }
.essay-credit a:hover { color: var(--color-accent); }
.article-cta {
  margin-block: var(--space-10);
  text-align: center;
}
.article-cta p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
}
.article-cta-end { margin-block: 0; padding-block: var(--space-12); }


.freq-bundle-crosslink {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  opacity: 0.82;
}



.site-nav .nav-group {
  position: relative;
  display: inline-block;
}

.nav-group-label {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-group-label:hover,
.nav-group:focus-within .nav-group-label {
  border-bottom-color: currentColor;
}


.nav-group[data-current='true'] .nav-group-label {
  font-weight: 600;
  border-bottom-color: currentColor;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 20rem;
  max-width: 24rem;
  padding: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px;
  background: var(--color-bg, #fff);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms;
}

.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel a {
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: rgba(127, 127, 127, 0.13);
}

.nav-name {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.nav-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0.72;
}

.nav-panel a[aria-current='page'] .nav-name::after {
  content: ' ·';
  opacity: 0.6;
}


@media (max-width: 860px) {
  .site-nav .nav-group {
    display: block;
  }

  .nav-group-label {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 600;
    opacity: 0.72;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: default;
  }

  .nav-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    max-width: none;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0 0 0.5rem;
  }
}



@media print {
  
  :root,
  body {
    background: #fff !important;
    color: #111 !important;
  }

  
  .site-nav,
  .nav-toggle,
  .site-header,
  .site-footer,
  footer,
  nav,
  aside,
  .rv2-gate,
  #rv2-pull-btn,
  #rv2-pull-again-btn,
  #rv2-paid,
  #rv2-modal,
  #rv2-redeem-modal,
  #rv2-loading,
  #rv2-error,
  #rv2-redeem-link,
  .rv2-paid-buy,
  .rv2-save-btn,
  .freq-subscriber-access,
  .btn {
    display: none !important;
  }

  .rv2-reading,
  #rv2-reading {
    display: block !important;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  
  .rv2-section {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1.2em;
  }

  .rv2-section-title {
    break-after: avoid;
    page-break-after: avoid;
    color: #111 !important;
    font-size: 12pt;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .rv2-section-body,
  .rv2-section-body p {
    color: #111 !important;
    font-size: 11.5pt;
    line-height: 1.55;
    orphans: 3;
    widows: 3;
  }

  
  .rv2-cards,
  .rv2-paid-reading-cards {
    display: flex !important;
    gap: 0.5cm;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .rv2-cards img,
  .rv2-paid-reading-cards img {
    max-width: 4.5cm !important;
    height: auto !important;
  }

  
  .rv2-print-mark {
    display: block !important;
    margin-bottom: 0.8cm;
    padding-bottom: 0.3cm;
    border-bottom: 1px solid #999;
    font-size: 9pt;
    letter-spacing: 0.06em;
    color: #444 !important;
  }

  .rv2-print-foot {
    display: block !important;
    margin-top: 1cm;
    padding-top: 0.3cm;
    border-top: 1px solid #999;
    font-size: 9pt;
    color: #444 !important;
  }

  @page {
    margin: 1.6cm;
  }
}


.rv2-print-mark,
.rv2-print-foot {
  display: none;
}


.rv2-save-btn {
  margin-top: 1.25rem;
}


@media print {
  body.rv2-printing-free #rv2-paid-reading { display: none !important; }
  body.rv2-printing-paid #rv2-reading { display: none !important; }
}



.pub-list { display: block; }

.pub-card {
  display: block;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.pub-card:last-child { border-bottom: none; }

.pub-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}
.pub-card__num { color: var(--color-accent); }

.pub-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.pub-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
.pub-card__title a:hover,
.pub-card__title a:focus-visible { color: var(--color-accent); }

.pub-card__deck {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}


.pub-card__actions { margin: var(--space-2) 0 0; }

.pub-link {
  display: inline-block;
  padding-block: var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color var(--transition);
}
.pub-link:hover,
.pub-link:focus-visible {
  color: var(--color-accent-hover);
  text-decoration: underline;
}



.ep-listen { padding-block: var(--space-8) 0; }

.gz-player {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}
.gz-player__art {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.gz-player__body { flex: 1 1 auto; min-width: 0; }

.gz-player__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin: 0 0 var(--space-2);
}
.gz-player__note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: var(--space-2) 0 0;
}
.gz-player__note a { color: var(--color-accent); }

.gz-player__audio {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 40px;
}

[data-theme="dark"] .gz-player__audio { color-scheme: dark; }
[data-theme="light"] .gz-player__audio { color-scheme: light; }


.gz-player--card {
  display: block;
  padding: var(--space-3);
  margin-top: var(--space-2);
}

@media (max-width: 32rem) {
  .gz-player { flex-direction: column; align-items: stretch; }
  .gz-player__art { width: 72px; height: 72px; }
}



.ep-chapters { list-style: none; padding: 0; margin: 0 0 var(--space-8); }
.ep-chapters__hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0 0 var(--space-4);
}
.ep-chapter {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  margin: 0 0 var(--space-3);
  line-height: 1.5;
}
.ep-chapters--plain .ep-chapter { display: list-item; list-style: none; }


.ep-chapter__time {
  flex: 0 0 auto;
  min-width: 3.6rem;
  font: inherit;
  font-variant-numeric: tabular-nums;
  color: var(--color-text-faint);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
}
button.ep-chapter__time {
  cursor: pointer;
  color: var(--color-accent);
  transition: color var(--transition);
}
button.ep-chapter__time:hover { color: var(--color-accent-hover); }
.ep-chapter__label { flex: 1 1 auto; }

.ep-refs { list-style: none; padding: 0; margin: 0; }
.ep-refs li { margin: 0 0 var(--space-3); line-height: 1.5; }

.ep-credit {
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
}



.pub-next {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: var(--space-4);
}
