/* Round 9 thumbnail rule — site rebrand (prepare only).
   Palette, type and VIRAL CONTENT → KNOWLEDGE GAINED line from
   /workspace/my-brand/thumbnails-magazine/round9/make_round9_all.py */

:root {
  --paper: #fbf8f2;
  --ink: #111111;
  --muted-ink: #4a463f;
  --mind: #2b3a67;
  --body-gold: #b88328;
  --soul: #b84a39;
  --background: #fbf8f2;
  --foreground: #111111;
  --card: #fbf8f2;
  --card-foreground: #111111;
  --popover: #fbf8f2;
  --popover-foreground: #111111;
  --primary: #111111;
  --primary-foreground: #fbf8f2;
  --secondary: #f3efe6;
  --secondary-foreground: #111111;
  --muted: #f3efe6;
  --muted-foreground: #4a463f;
  --accent: #b84a39;
  --accent-foreground: #ffffff;
  --border: #111111;
  --input: #111111;
  --ring: #b84a39;
  --panel: #f3efe6;
  --label: #b84a39;
  --sand: #efe6d4;
  --blush: #e8c4bc;
  --sage: #c3d0c2;
  --sage-deep: #2b3a67;
  --dust: #2b3a67;
  --dust-pale: #d9dde8;
  --gold: #b88328;
  --radius-card: 1.15rem;
  --font-display: "Archivo Black", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-grotesk: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Source Serif Pro", "Source Serif 4", Georgia, serif;
  --font-promise: "Archivo Black", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --shadow-soft: none;
  --shadow-lift: none;
}

html { scroll-padding-top: 8.25rem; }

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  background-image:
    radial-gradient(ellipse 80% 48% at 0% -8%, color-mix(in srgb, var(--mind) 11%, transparent), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in srgb, var(--soul) 8%, transparent), transparent 55%),
    radial-gradient(ellipse 65% 50% at 88% 100%, color-mix(in srgb, var(--body-gold) 10%, transparent), transparent 60%);
  background-attachment: fixed;
}

.font-display, h1, h2, h3 {
  font-family: var(--font-promise);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-optical-sizing: auto;
}

.kicker,
.chapter-kicker,
.masthead-dateline,
.channel-link,
.nav-link,
.section-tabs-list a,
.teach-strip-label,
.link-arrow,
.share-bar a,
.more-chapters a,
.section-jump a {
  font-family: var(--font-grotesk);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker,
.chapter-kicker { color: var(--soul); }

/* Header / chrome: paper, double ink rule, soul hairline — like the masthead */
.sticky-chrome {
  background: color-mix(in srgb, var(--paper) 92%, white);
  backdrop-filter: saturate(1.05) blur(10px);
  -webkit-backdrop-filter: saturate(1.05) blur(10px);
  border-bottom: 0;
  box-shadow:
    0 1px 0 var(--ink),
    0 3px 0 var(--paper),
    0 4px 0 var(--ink),
    0 6px 0 var(--soul);
}

.brand-mark img {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: none;
  object-fit: contain;
  padding: 0.12rem;
}
@media (min-width: 768px) {
  .brand-mark img { width: 3.4rem; height: 3.4rem; }
}

.brand-mark .font-display,
.brand-mark span.block {
  font-family: var(--font-promise);
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* Homepage hero */
.hero-fold {
  padding-top: 0.85rem;
  padding-bottom: 0.5rem;
}

.hero-rebrand {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.35rem 1.25rem 0;
}

.hero-rebrand .brand-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soul);
}

.hero-living,
h1.hero-living {
  font-family: var(--font-promise);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2rem, 7.2vw, 4.6rem);
  max-width: 18ch;
  color: var(--ink);
}

.hero-living-sub {
  margin-top: 0.7rem;
  max-width: 38rem;
  font-family: var(--font-sans);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  color: var(--muted-ink);
}

.hero-banner-frame,
.hero-banner img,
.hero-banner-frame img {
  border: 4px solid var(--ink) !important;
  border-radius: 1.15rem;
  background: var(--paper);
  box-shadow: none;
  object-fit: contain !important;
  max-height: none !important;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.hero-banner-copy { padding: 0.15rem 0 0.4rem; }

.hero-banner.hero-banner--teach img,
.hero-banner--teach img {
  max-height: none !important;
  object-position: center center;
}

.teach-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  max-width: 72rem;
  margin: 0.9rem auto 0;
  padding: 0 1.25rem;
  list-style: none;
}
@media (min-width: 768px) {
  .teach-strip { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
}
.teach-strip li {
  border: 3px solid var(--ink);
  border-radius: 0.95rem;
  background: var(--paper);
  padding: 0.65rem 0.7rem 0.7rem;
}
.teach-strip a { display: block; color: inherit; text-decoration: none; }
.teach-strip-num {
  font-family: var(--font-promise);
  font-size: 1.15rem;
  color: var(--soul);
  letter-spacing: -0.03em;
}
.teach-strip-label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.edition-offer {
  max-width: 72rem;
  margin: 0.85rem auto 0;
  border: 3px solid var(--ink);
  border-radius: 1.15rem;
  background: var(--paper);
  padding: 1rem 1.15rem 1.15rem;
}
.edition-title {
  font-family: var(--font-promise);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
}
.edition-btn {
  font-family: var(--font-grotesk);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
}
.edition-btn:hover { background: var(--soul); border-color: var(--soul); color: #fff; }

.edition-connect { display: none; }

/* VIRAL CONTENT → line → KNOWLEDGE GAINED */
.vk-motif {
  display: grid;
  gap: 0.55rem 0.9rem;
  align-items: center;
  margin: 0.85rem 0 0.4rem;
  padding: 0.15rem 0;
}
@media (min-width: 700px) {
  .vk-motif {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }
}

.vk-side { min-width: 0; }
.vk-lab {
  display: block;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}
.vk-side--viral .vk-lab { color: var(--ink); }
.vk-side--know .vk-lab { color: var(--soul); }

.vk-text {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-promise);
  font-weight: 900;
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
.vk-side--know .vk-text { font-size: clamp(1.05rem, 2.8vw, 1.55rem); }

.vk-span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 4.5rem;
  color: var(--ink);
}
.vk-rule {
  flex: 1 1 auto;
  height: 0;
  border: 0;
  border-top: 4px solid var(--ink);
  border-radius: 2px;
  min-width: 1.25rem;
}
.vk-node {
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  object-fit: contain;
  padding: 0.12rem;
}

/* Compact mid-page repeat */
.vk-motif--compact {
  margin: 1.6rem 0 0.35rem;
  padding: 0.35rem 0 0.55rem;
  border: 0;
  gap: 0.35rem 0.7rem;
}
.vk-motif--compact .vk-text {
  font-size: clamp(0.88rem, 2vw, 1.15rem);
}
.vk-motif--compact .vk-node { width: 1.7rem; height: 1.7rem; }
.vk-motif--compact .vk-rule { border-top-width: 3px; }
.vk-motif--compact .vk-lab { font-size: 0.62rem; }

.vk-motif--hero {
  margin: 1rem 0 1.15rem;
}

.vk-motif--know .vk-side--know .vk-text,
.vk-motif--takeaway .vk-side--know .vk-text {
  font-size: clamp(1.1rem, 3vw, 1.7rem);
}

/* Pillar tags */
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.45rem 0 0.15rem;
  padding: 0;
}
.pillar-tag {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.18rem 0.55rem 0.16rem;
  line-height: 1.2;
  background: var(--paper);
  color: var(--ink);
}
.pillar-tag--mind { color: var(--mind); border-color: var(--mind); }
.pillar-tag--body { color: var(--body-gold); border-color: var(--body-gold); }
.pillar-tag--soul { color: var(--soul); border-color: var(--soul); }

/* Journal + film cards: ink-framed paper, like the thumb cards */
.journal-card {
  border: 3px solid var(--ink) !important;
  border-radius: 1.15rem;
  background: var(--paper);
  box-shadow: none;
  padding: 1.1rem 1.05rem 1.2rem !important;
}
.journal-card + .journal-card { margin-top: 1.15rem; }

.journal-card-art img {
  border: 3px solid var(--ink) !important;
  border-radius: 0.95rem;
  background: var(--paper);
  box-shadow: none;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  width: 100%;
  height: auto;
}

.journal-card-copy .font-display,
.journal-card-copy h2,
.journal-card-copy h3 {
  font-family: var(--font-promise);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.film-grid > li {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 1.15rem;
  box-shadow: none;
  padding: 0.55rem 0.55rem 1rem;
  overflow: hidden;
}
.film-grid img {
  border: 0 !important;
  border-radius: 0.85rem;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--paper);
  box-shadow: none;
}
.film-grid h3 {
  font-family: var(--font-promise);
  letter-spacing: -0.03em;
}

/* Chapter pages */
.chapter-header-plate img,
.chapter-figure img {
  border: 4px solid var(--ink) !important;
  border-radius: 1.05rem;
  background: var(--paper);
  box-shadow: none;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-copy h1 {
  font-family: var(--font-promise);
  font-size: clamp(1.85rem, 6.2vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 18ch;
}
.article-copy h2 {
  font-family: var(--font-promise);
  letter-spacing: -0.03em;
  border-top: 0;
  box-shadow: 0 -3px 0 var(--ink);
  padding-top: 1.15rem;
}
.chapter-dek {
  font-family: var(--font-sans);
  font-style: italic;
  color: var(--muted-ink);
}

.brand-intro {
  margin: 1.25rem 0 0.35rem;
  padding: 0.95rem 1rem 1.05rem;
  border: 3px solid var(--ink);
  border-radius: 1.05rem;
  background: var(--paper);
}
.brand-intro-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soul);
}
.brand-intro p:last-child {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 42rem;
}

.substack-link {
  margin: 1rem 0 1.35rem;
}
.substack-link a {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  display: inline-block;
  padding: 0.6rem 1rem 0.55rem;
  text-decoration: none;
}
.substack-link a:hover {
  background: var(--soul);
  border-color: var(--soul);
  color: #fff;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--paper) 70%, #efe6d4));
  border-top: 0;
  box-shadow:
    0 -1px 0 var(--ink),
    0 -3px 0 var(--paper),
    0 -4px 0 var(--ink),
    0 -6px 0 var(--soul);
  padding-top: 2.4rem;
}
.footer-meander {
  opacity: 0.9;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' viewBox='0 0 120 16' fill='none'%3E%3Cpath d='M0 8 C20 8, 30 3, 50 8 C70 13, 80 8, 100 8 C110 8, 115 8, 120 8' stroke='%23111111' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='60' cy='8' r='4' fill='%23FBF8F2' stroke='%23111111' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 120px 16px;
}
.hanko { background: var(--soul); box-shadow: 0 2px 0 color-mix(in srgb, var(--soul) 70%, #111); }

/* Section tabs + misc chrome */
.section-tabs-list a:hover,
.section-tabs-list a[aria-current="true"],
.section-tabs-list a.is-active {
  color: var(--soul);
  border-bottom-color: var(--soul);
}

.syllabus > li,
.tool-chapter,
.author-card img {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}
.syllabus > li,
.tool-chapter {
  border: 3px solid var(--ink);
  border-radius: 1.05rem;
}

/* Phone readability */
@media (max-width: 699px) {
  .vk-span { min-width: 0; }
  .vk-motif { gap: 0.4rem; }
  .hero-living, h1.hero-living { font-size: clamp(1.7rem, 9.2vw, 2.35rem); max-width: none; }
  .article-copy h1 { max-width: none; }
  .journal-card { padding: 0.85rem 0.8rem 1rem !important; }
  .brand-intro { padding: 0.8rem 0.85rem 0.9rem; }
  .substack-link a {
    font-size: 0.72rem;
    padding: 0.65rem 0.9rem;
    max-width: 100%;
    text-align: center;
  }
  .teach-strip-label { font-size: 0.66rem; letter-spacing: 0.08em; }
  .sticky-chrome header nav { padding-top: 0.4rem; padding-bottom: 0.4rem; }
}

@media (min-width: 768px) {
  .journal-card--with-art {
    grid-template-columns: minmax(17.5rem, 42%) 1fr;
    gap: 1.15rem 1.35rem;
  }
  .hero-banner-frame,
  .hero-banner-frame img { border-width: 4px !important; }
}

/* Keep in-article video frames ink-lined */
.article-copy iframe,
.article-copy .aspect-video {
  border-color: var(--ink);
  border-radius: 1rem;
}

/* Header mark: tight-cropped eye, not a padded square forced into a circle */
.brand-mark img,
.sticky-chrome .brand-mark img {
  width: 3.7rem !important;
  height: 2.4rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  .brand-mark img,
  .sticky-chrome .brand-mark img {
    width: 4.2rem !important;
    height: 2.7rem !important;
  }
}

/* Teach-strip: paper cards, not the old vermilion bar */
.teach-strip {
  background: transparent !important;
  color: var(--ink) !important;
  border: 0 !important;
  border-top: 0 !important;
}
.teach-strip li:not(:last-child)::after { content: none !important; display: none !important; }
.teach-strip li {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 3px solid var(--ink) !important;
  border-radius: 0.95rem !important;
}
.teach-strip-num { color: var(--soul) !important; }
.teach-strip-label { color: var(--ink) !important; letter-spacing: 0.1em; }

/* Don't drop-cap the chapter kicker (the C in Chapter) */
.article-copy > p.kicker::first-letter,
.article-copy .chapter-kicker::first-letter,
.chapter-kicker::first-letter,
p.kicker::first-letter {
  all: unset;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  float: none !important;
  line-height: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
}

/* Tight eye in the motif node */
.vk-node {
  width: 2.55rem;
  height: 2.55rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  object-fit: contain;
  padding: 0.28rem 0.12rem;
}
.vk-motif--compact .vk-node { width: 2.1rem; height: 2.1rem; padding: 0.2rem 0.08rem; }

/* Header tagline: keep it from wrapping mid-word so tightly */
.brand-mark .text-muted-foreground,
.brand-mark span.mt-1 {
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  line-height: 1.35;
}

/* Offer / ways-in cards on the homepage hero */
.hero-living.hero-living--offer {
  max-width: 22ch;
  font-size: clamp(1.55rem, 5.4vw, 3.15rem);
  line-height: 1.06;
}
.winter-steps {
  margin: 0.85rem 0 1.15rem;
  max-width: 42rem;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  line-height: 1.45;
  color: var(--ink);
}
.winter-steps strong {
  font-family: var(--font-promise);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.ways-grid {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0;
  max-width: 72rem;
}
@media (min-width: 700px) {
  .ways-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
}
@media (max-width: 699px) {
  .ways-grid { grid-template-columns: 1fr 1fr; }
  .hero-living.hero-living--offer { max-width: none; font-size: clamp(1.4rem, 7.6vw, 2rem); }
}
.ways-grid a {
  display: block;
  border: 3px solid var(--ink);
  border-radius: 1.05rem;
  background: var(--paper);
  padding: 0.8rem 0.85rem 0.9rem;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}
.ways-grid a:hover { border-color: var(--soul); }
.ways-kicker {
  display: block;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soul);
}
.ways-title {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-promise);
  font-weight: 900;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ways-cta {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Channels section — same ink-and-paper cards */
.channel-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.channel-grid > li {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink) !important;
  border-radius: 1.15rem !important;
  background: var(--paper) !important;
  box-shadow: none !important;
  padding: 1.35rem 1.2rem 1.45rem !important;
}
.channel-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: none !important;
  margin-bottom: 0.85rem;
}
.channel-new { outline: none !important; }
.channel-new::after {
  content: "New";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--soul);
  color: #fff;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .channel-grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.flow-hero {
  margin-top: 1.5rem;
  border: 3px solid var(--ink);
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--paper);
  box-shadow: none !important;
}
.flow-hero img { display: block; width: 100%; height: auto; }
.channel-placeholder {
  margin-top: 0.85rem;
  padding: 0.45rem 0.55rem;
  border: 2px dashed var(--ink);
  border-radius: 0.6rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-ink);
}
.footer-placeholder {
  border: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted-ink);
}



/* —— Branded header: paper, navy, gold; clear about what we give —— */
.masthead-row, .section-tabs { display: none !important; }

.sticky-chrome {
  background: color-mix(in srgb, var(--paper) 94%, white);
  backdrop-filter: saturate(1.04) blur(8px);
  -webkit-backdrop-filter: saturate(1.04) blur(8px);
  box-shadow:
    0 1px 0 var(--ink),
    0 3px 0 var(--paper),
    0 4px 0 var(--ink),
    0 6px 0 var(--soul);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0.45rem !important;
}
.site-nav .brand-mark img,
.sticky-chrome .brand-mark img {
  width: 3.9rem !important;
  height: auto !important;
  max-height: 2.65rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  object-fit: contain !important;
}
.brand-tagline {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mind);
  line-height: 1.3;
}

.site-nav-links {
  display: none;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.55rem;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.15rem;
  z-index: 0;
}
.site-nav-links::before {
  content: "";
  position: absolute;
  left: 1.5%;
  right: 1.5%;
  top: 1.15rem;
  height: 22px;
  background: url("/images/nav-axon.svg") center / 100% 22px no-repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}
@media (min-width: 1024px) {
  .site-nav { flex-direction: column; align-items: stretch; }
  .site-nav .brand-mark { align-self: flex-start; }
  .site-nav-links { display: flex; }
  .menu-button { display: none !important; }
}

.site-nav .nav-link,
.sticky-chrome .site-nav .nav-link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.38rem;
  min-width: 6.4rem;
  max-width: 8.2rem;
  padding: 0.1rem 0.35rem 0.2rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.nav-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--mind);
  color: var(--mind);
  box-shadow: 0 0 0 3px var(--paper);
}
.nav-glyph { display: block; }
.nav-label { display: block; }
.site-nav .nav-link:hover .nav-icon,
.site-nav .nav-link:focus-visible .nav-icon {
  border-color: var(--soul);
  color: var(--soul);
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible { color: var(--mind); }
.nav-link-support .nav-icon {
  border-color: var(--soul);
  color: var(--soul);
}
.nav-link-support:hover .nav-icon,
.nav-link-support:focus-visible .nav-icon {
  background: var(--soul);
  color: var(--paper);
  border-color: var(--soul);
}

.menu-button,
.sticky-chrome [data-menu-button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  min-height: 2.9rem;
  padding: 0.45rem 0.9rem;
  border: 2px solid var(--mind);
  border-radius: 0.2rem;
  background: var(--paper);
  color: var(--mind);
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-button:hover,
.menu-button:focus-visible { background: var(--mind); color: var(--paper); }

#mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 1.15rem 1.1rem;
  background: var(--paper);
  border-top: 2px solid var(--mind);
}
#mobile-menu[hidden] { display: none !important; }
#mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.05rem;
  padding: 0.45rem 0.55rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  border-radius: 0.2rem;
}
#mobile-menu a .nav-icon {
  flex: 0 0 auto;
  box-shadow: none;
}
#mobile-menu a:hover,
#mobile-menu a:focus-visible {
  background: color-mix(in srgb, var(--mind) 6%, var(--paper));
  color: var(--mind);
}
@media (min-width: 1024px) {
  #mobile-menu, #mobile-menu:not([hidden]) { display: none !important; }
}

html { scroll-padding-top: 8.5rem; }

/* Hanko-style red seal */
.hanko {
  background: var(--soul);
  color: var(--paper);
  border: 2px solid color-mix(in srgb, var(--soul) 70%, #4a1410);
  box-shadow: 1px 1px 0 color-mix(in srgb, var(--soul) 50%, #111);
  transform: rotate(-8deg);
}
@media (min-width: 1280px) {
  .kanji-margin {
    color: var(--soul);
    font-weight: 700;
    opacity: 0.85;
    letter-spacing: 0.15em;
  }
}

/* —— Paper ground, 6% pillar tint, 14% neurons —— */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 80% 48% at 0% -8%, color-mix(in srgb, var(--mind) 6%, transparent), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in srgb, var(--soul) 6%, transparent), transparent 55%),
    radial-gradient(ellipse 65% 50% at 88% 100%, color-mix(in srgb, var(--body-gold) 6%, transparent), transparent 60%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-color: var(--mind);
  -webkit-mask: url("/images/neuron-field-ink.svg") repeat;
  mask: url("/images/neuron-field-ink.svg") repeat;
  -webkit-mask-size: 1100px 708px;
  mask-size: 1100px 708px;
  opacity: 0.14;
}
body.page-body {
  background-image: linear-gradient(color-mix(in srgb, var(--body-gold) 6%, var(--paper)), color-mix(in srgb, var(--body-gold) 6%, var(--paper)));
  background-attachment: scroll;
}
body.page-body::before { background-color: var(--body-gold); opacity: 0.15; }
body.page-mind {
  background-image: linear-gradient(color-mix(in srgb, var(--mind) 6%, var(--paper)), color-mix(in srgb, var(--mind) 6%, var(--paper)));
  background-attachment: scroll;
}
body.page-mind::before { background-color: var(--mind); opacity: 0.15; }
body.page-mixed {
  background-image:
    linear-gradient(color-mix(in srgb, var(--mind) 4%, transparent), transparent 55%),
    linear-gradient(color-mix(in srgb, var(--body-gold) 4%, transparent), transparent);
}
body.page-mixed::before { background-color: var(--mind); opacity: 0.12; }

main, .sticky-chrome, .site-footer, .kanji-margin {
  position: relative;
  z-index: 1;
}
.sticky-chrome { z-index: 50; }

/* Vertical water/flow line at the margin (desktop) */
@media (min-width: 1280px) {
  body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 2.1rem;
    width: 28px;
    pointer-events: none;
    z-index: 0;
    background: url("/images/page-flow.svg") top center / 28px 1600px repeat-y;
    opacity: 0.28;
  }
}

/* Fine drawn line linking sections; colour follows the step it points to */
main > section + section::before {
  content: "";
  display: block;
  height: 28px;
  margin: 0 auto 0.4rem;
  max-width: 72rem;
  background: url("/images/neuron-connect.svg") center / min(100%, 56rem) 28px no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.journal-card + .journal-card::before,
.journal-card--line-mind + .journal-card--line-mind::before,
.journal-card--line-body + .journal-card--line-body::before {
  content: "";
  display: block;
  height: 20px;
  margin: -0.25rem auto 0.85rem;
  background: url("/images/neuron-connect.svg") center / min(100%, 22rem) 20px no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
.journal-card--line-mind::before { background-image: url("/images/neuron-connect-mind.svg") !important; }
.journal-card--line-body::before { background-image: url("/images/neuron-connect-body.svg") !important; }
.journal-card--line-soul::before { background-image: url("/images/neuron-connect-soul.svg") !important; }

.film-grid, .ways-grid, .channel-grid, .pillar-grid {
  background-image: url("/images/neuron-connect.svg");
  background-repeat: no-repeat;
  background-position: center 0.15rem;
  background-size: min(100%, 48rem) 22px;
  padding-top: 1.35rem;
}

/* 6% pillar tints on mind / body / soul sections and cards */
#pillars .pillar-mind,
.syllabus-pillar-mind,
.tint-mind {
  background: color-mix(in srgb, var(--mind) 6%, var(--paper)) !important;
}
#pillars .pillar-body,
.syllabus-pillar-body,
.tint-body {
  background: color-mix(in srgb, var(--body-gold) 6%, var(--paper)) !important;
}
#pillars .pillar-soul,
.syllabus-pillar-soul,
.tint-soul {
  background: color-mix(in srgb, var(--soul) 6%, var(--paper)) !important;
}
.journal-card--line-mind { background-color: color-mix(in srgb, var(--mind) 6%, var(--paper)); }
.journal-card--line-body { background-color: color-mix(in srgb, var(--body-gold) 6%, var(--paper)); }
.journal-card--line-soul { background-color: color-mix(in srgb, var(--soul) 6%, var(--paper)); }

/* Element line icons (air, earth, fire, water) on tags, kickers, keys */
.kicker-el {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
}
.kicker-el::before,
.pillar-tag::before,
#pillars .pillar-mind .kicker::before,
#pillars .pillar-body .kicker::before,
#pillars .pillar-soul .kicker::before,
.syllabus-pillar-mind .kicker::before,
.syllabus-pillar-body .kicker::before,
.syllabus-pillar-soul .kicker::before {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -0.15em;
  background-color: currentColor;
  -webkit-mask: var(--el-icon) center / contain no-repeat;
  mask: var(--el-icon) center / contain no-repeat;
}
.kicker-el--mind,
.pillar-tag--mind,
#pillars .pillar-mind .kicker,
.syllabus-pillar-mind .kicker {
  --el-icon: url("/images/el-air.svg");
  color: var(--mind);
}
.kicker-el--body,
.pillar-tag--body,
#pillars .pillar-body .kicker,
.syllabus-pillar-body .kicker {
  --el-icon: url("/images/el-earth.svg");
  color: var(--body-gold);
}
.kicker-el--soul,
.pillar-tag--soul,
#pillars .pillar-soul .kicker,
.syllabus-pillar-soul .kicker {
  --el-icon: url("/images/el-fire.svg");
  color: var(--soul);
}
.kicker-el--water {
  --el-icon: url("/images/el-water.svg");
  color: var(--mind);
}
.kicker-el--mind-body {
  --el-icon: url("/images/el-earth.svg");
  color: var(--body-gold);
}
.kicker-el--mind-body::after {
  content: "";
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  background-color: var(--mind);
  -webkit-mask: url("/images/el-air.svg") center / contain no-repeat;
  mask: url("/images/el-air.svg") center / contain no-repeat;
}
.kicker-el--mixed {
  --el-icon: url("/images/el-water.svg");
  color: var(--mind);
}
.pillar-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.35rem 0 0.8rem; padding: 0; list-style: none; }
.pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  padding: 0.2rem 0.6rem 0.2rem 0.45rem;
  background: var(--paper);
}

/* Brain + element key */
.elements-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 1.15rem;
}
.brain-mark {
  display: block;
  width: min(11.5rem, 42vw);
  height: auto;
  flex: 0 0 auto;
}
.element-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

/* clear form privacy line */
.form-privacy {
  margin: 0 0 0.75rem;
  font-family: var(--font-grotesk);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-ink);
  max-width: 36rem;
}
.form-privacy a {
  color: var(--mind);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.privacy-copy { max-width: 38rem; }

/* Hide leftover developer notes if any remain */
.channel-placeholder,
.footer-placeholder { display: none !important; }

/* —— Homepage hero: thirds (brain left, steps right) —— */
h1.hero-living.hero-living--offer,
.hero-living--offer {
  color: var(--mind) !important;
}
.word-soul { color: var(--soul); }

.hero-thirds {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  align-items: center;
  margin: 1.5rem 0 0.35rem;
}
.hero-brain-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-brain {
  display: block;
  width: min(100%, 18rem);
  height: auto;
}
@media (min-width: 860px) {
  .hero-thirds {
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem 2.5rem;
    align-items: center;
  }
  .hero-brain { width: 100%; max-width: 22rem; }
}

.hero-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-steps::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 12px;
  background: url("/images/page-flow.svg") center / 12px 100% no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.hero-step a {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.85rem 1rem;
  align-items: baseline;
  padding: 0.55rem 0.35rem 0.55rem 0;
  text-decoration: none;
  color: inherit;
  border-radius: 0.15rem;
}
.hero-step a:hover .hero-step-title,
.hero-step a:focus-visible .hero-step-title { color: var(--soul); }
.hero-step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: var(--paper);
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: 0 0 0 3px var(--paper);
}
.hero-step--mind { color: var(--mind); }
.hero-step--body { color: var(--body-gold); }
.hero-step-copy { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.hero-step-title {
  font-family: var(--font-promise);
  font-weight: 900;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--mind);
}
.hero-step-title .word-soul { color: var(--soul); }
.hero-step-el {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* CSS-only staggered reveal, off when the visitor prefers reduced motion */
.hero-step {
  opacity: 0;
  transform: translateY(0.55rem);
  animation: hero-step-in 0.65s ease forwards;
  animation-delay: calc(var(--i, 1) * 0.11s);
}
@keyframes hero-step-in {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-step {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Phone header: keep the Menu button on the same row as the mark */
@media (max-width: 1023px) {
  .site-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-nav .brand-mark { flex: 1 1 auto; min-width: 0; }
  .menu-button { flex: 0 0 auto; margin-left: 0.75rem; }
}
