/* ==========================================================================
   The Operating Manuals — main stylesheet
   Reference: /Users/juanmanuelmejia/Projects/theoperatingmanuals-assets/reference/home-page-4x.png
   Authoritative source for visual match: the reference PNG (not SPECS.md).
   ========================================================================== */

:root {
  --gold:         #c19444;
  --gold-dark:    #a07530;
  --gold-soft:    #ddb380;
  --ink:          #ffffff;
  --ink-body:     #d8d2c4;
  --muted:        #948f84;
  --bg-white:     #0a0a0a;
  --bg-cream:     #131210;
  --bg-black:     #111111;
  --footer-text:  #c8c2b3;
  --footer-rule:  #3a342a;

  --f-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --f-display:  'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --f-serif:    'Fraunces', Georgia, 'Times New Roman', serif;

  --container: 1240px;

  --t-fast: 120ms cubic-bezier(.4,.1,.3,1);
  --t-base: 260ms cubic-bezier(.4,.1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }

.sr-only, .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* ==========================================================================
   Small caps / section titles (black, tracked)
   ========================================================================== */
.eyebrow {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 18px;
}
.eyebrow--gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 16px 32px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  border-radius: 0;
}
.btn span { transition: transform var(--t-fast); }
.btn:hover span { transform: translateX(3px); }
.btn--solid          { background: var(--gold); color: #ffffff; border-color: var(--gold); }
.btn--solid:hover    { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--solid-gold     { background: var(--gold); color: #ffffff; border-color: var(--gold); }
.btn--solid-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--outline        { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn--outline:hover  { background: var(--gold); color: #ffffff; }

/* ==========================================================================
   Header (white bg)
   ========================================================================== */
.site-header {
  background: var(--bg-white);
  position: relative;
  z-index: 50;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 32px;
}
.brand, .brand__name {
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.brand:hover { color: var(--ink); }

.primary-nav__list {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.primary-nav__list a {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 8px;
  position: relative;
}
.primary-nav__list a.is-active {
  color: var(--gold);
}
.primary-nav__list a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.primary-nav__list a:not(.is-active):hover { color: var(--gold); }

.primary-nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.primary-nav__bars,
.primary-nav__bars::before,
.primary-nav__bars::after {
  position: absolute;
  content: "";
  left: 10px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--t-base), opacity var(--t-fast), top var(--t-base);
}
.primary-nav__bars { top: 50%; transform: translateY(-50%); }
.primary-nav__bars::before { top: -7px; left: 0; }
.primary-nav__bars::after  { top: 7px;  left: 0; }
.primary-nav__toggle[aria-expanded="true"] .primary-nav__bars { background: transparent; }
.primary-nav__toggle[aria-expanded="true"] .primary-nav__bars::before { top: 0; transform: rotate(45deg); }
.primary-nav__toggle[aria-expanded="true"] .primary-nav__bars::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   § 1 — Hero (white bg)
   ========================================================================== */
.hero {
  background: var(--bg-white);
  padding: 40px 0 96px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__kicker {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 28px;
}
.hero__title {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 32px;
}
.hero__lede {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 42ch;
  margin: 0 0 40px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual img {
  width: 100%;
  max-width: 700px;
  height: auto;
}

/* ==========================================================================
   § 2 — Manifesto (cream bg)
   ========================================================================== */
.manifesto {
  position: relative;
  background: var(--bg-cream);
  padding: 64px 0;
  overflow: hidden;
}
.manifesto__ornament {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: auto;
  opacity: 1;
  pointer-events: none;
}
.manifesto__ornament--left  { left:  max(32px, calc(50% - 540px)); }
.manifesto__ornament--right { right: max(32px, calc(50% - 540px)); transform: translateY(-50%) scaleX(-1); }

.manifesto__text {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 0;
}
.manifesto__line1 {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
}
.manifesto__line2 {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.55;
  color: var(--gold);
  margin: 0 0 8px;
}
.manifesto__line3 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 4px;
}
.manifesto__line4 {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* ==========================================================================
   § 3 — Books Series (white bg)
   ========================================================================== */
.series {
  background: var(--bg-white);
  padding: 88px 0 96px;
}
.series__title {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  margin: 0 auto 12px;
}
.series__rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 56px;
}
.series__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 36px);
}
.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
  transition: transform var(--t-base);
}
.book-card:hover { transform: translateY(-6px); color: var(--ink); }
.book-card__cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  margin-bottom: 28px;
  filter: drop-shadow(0 12px 24px rgba(255,255,255,0.18)) drop-shadow(0 4px 8px rgba(255,255,255,0.10));
  transition: filter var(--t-base);
}
.book-card:hover .book-card__cover {
  filter: drop-shadow(0 18px 36px rgba(255,255,255,0.24)) drop-shadow(0 6px 12px rgba(255,255,255,0.10));
}
.book-card__cover img { width: 100%; height: 100%; object-fit: contain; }

.book-card__num {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.book-card__title {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 18px;
}
.book-card__sub { display: inline; }
.book-card__link {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color var(--t-fast);
}
.book-card:hover .book-card__link { color: var(--gold-dark); }

/* ==========================================================================
   § 4 — Two-column: System flow + Questions (cream bg)
   ========================================================================== */
.twocol {
  background: var(--bg-cream);
  padding: 72px 0 80px;
}
.twocol__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.twocol__col { display: flex; flex-direction: column; }
.twocol__col--flow { align-items: center; text-align: center; }
.twocol__col--questions { align-items: stretch; }

.twocol__title {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
  text-align: center;
}
.twocol__col--questions .twocol__title { text-align: center; }

.twocol__divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 44px;
}

/* Flow row */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
  position: relative;
  margin: 0 0 36px;
}
.flow::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22px;
  border-top: 1px dotted var(--gold);
  z-index: 0;
}
.flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.flow__node {
  width: 44px; height: 44px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--gold);
}
.flow__node svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
.flow__label {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.flow__desc {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}
.twocol__italic {
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--gold);
  text-align: center;
  margin: 0 0 28px;
}

/* QA list */
.qa { width: 100%; margin-bottom: 32px; }
.qa__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.qa__item:last-child { border-bottom: 0; }
.qa__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.qa__text {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}
.qa__cta { align-self: center; margin-top: 16px; margin-inline: auto; }

/* ==========================================================================
   § 5 — About Richard (BLACK section, 3 columns)
   ========================================================================== */
.about {
  background: var(--bg-black);
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: clamp(36px, 4vw, 72px);
  align-items: stretch;
  min-height: 440px;
}
.about__media {
  position: relative;
  overflow: hidden;
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about__bio {
  align-self: center;
  max-width: 400px;
  padding: 56px 0;
}
.about__divider {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 18px;
}
.about__bio .eyebrow { color: var(--gold); margin-bottom: 22px; letter-spacing: 0.22em; font-size: 14px; }
.about__copy {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 28px;
}
.about__link {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold);
}
.about__link:hover { color: var(--gold-soft); }

.about__quote {
  position: relative;
  align-self: center;
  padding: 56px 28px 56px 44px;
  max-width: 460px;
}
.about__quote-mark {
  font-family: var(--f-serif);
  font-size: 96px;
  line-height: 1;
  color: var(--gold);
  display: inline-block;
  position: absolute;
  font-style: normal;
}
.about__quote-mark--open  { top: 48px; left: 0; }
.about__quote-mark--close { right: 10px; bottom: 40px; }
.about__quote-line {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 6px;
}
.about__quote-line--gold { color: var(--gold); }

/* ==========================================================================
   § 6 — CTA band (white bg)
   ========================================================================== */
.cta-band {
  background: var(--bg-white);
  padding: 56px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band__text { flex: 1 1 auto; max-width: 640px; }
.cta-band__title {
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
}
.cta-band__sub {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
  margin: 0;
}

/* ==========================================================================
   § 7 — Footer (BLACK)
   ========================================================================== */
.site-footer {
  background: var(--bg-black);
  color: var(--footer-text);
  padding: 28px 0;
}
.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.site-footer__rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.site-footer__nav {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
  flex: 1;
  justify-content: center;
}
.site-footer__nav a {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--footer-text);
}
.site-footer__nav a:hover { color: #ffffff; }
.site-footer__social {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.site-footer__social a {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  color: var(--footer-text);
  transition: color var(--t-fast);
}
.site-footer__social a:hover { color: var(--gold); }
.site-footer__social svg { stroke: currentColor; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: none; }
  .hero__visual img { max-width: 520px; margin-inline: auto; }

  .series__grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
  .twocol__grid { grid-template-columns: 1fr; gap: 64px; }

  .about__grid { grid-template-columns: 1fr 1fr; min-height: auto; }
  .about__media { grid-row: 1 / 3; }
  .about__bio { padding: 56px 0 28px; }
  .about__quote { padding: 28px 24px 56px 44px; }
}

@media (max-width: 640px) {
  .primary-nav__toggle { display: inline-flex; }
  .primary-nav__list {
    position: fixed;
    inset: 72px 0 0;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    padding: 24px 32px 48px;
    transform: translateX(100%);
    transition: transform var(--t-base);
    align-items: flex-start;
    overflow-y: auto;
    z-index: 100;
  }
  .primary-nav__list.is-open { transform: translateX(0); }
  .primary-nav__list li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .primary-nav__list a { display: block; padding: 18px 0; font-size: 14px; }
  .primary-nav__list a.is-active::after { left: 0; transform: none; bottom: 6px; }

  .manifesto__ornament { display: none; }

  .series__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .series__grid .book-card:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin-inline: auto; }

  .flow { gap: 4px; }
  .flow__node { width: 36px; height: 36px; }
  .flow__node svg { width: 16px; height: 16px; }
  .flow::before { top: 18px; }
  .flow__label { font-size: 10px; letter-spacing: 0.12em; }
  .flow__desc  { font-size: 11px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 320px; grid-row: auto; }
  .about__bio { padding: 48px 24px 24px; max-width: none; }
  .about__quote { padding: 24px 24px 56px 56px; max-width: none; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }

  .site-footer__row { justify-content: center; text-align: center; }
  .site-footer__nav { justify-content: center; margin-left: 0; flex: 1 1 100%; }
  .site-footer__social { margin-left: 0; flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 44px; }
  .hero__cta .btn { flex: 1; font-size: 11px; padding: 14px 16px; letter-spacing: 0.14em; }
  .series__grid { grid-template-columns: 1fr; }
  .series__grid .book-card:nth-child(5) { max-width: 100%; }
}


/* Book page template */
.book-hero { padding: 64px 0 80px; }
.book-hero__grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.book-hero__cover img { width: 100%; height: auto; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.book-hero__num { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.book-hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 4vw, 56px); line-height: 1.08; color: #fff; margin: 0 0 18px; }
.book-hero__sub { font-size: 0.7em; font-weight: 400; color: var(--gold); }
.book-hero__desc { font-size: 17px; line-height: 1.55; color: var(--ink-body); margin: 0 0 32px; max-width: 520px; }
.book-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.book-hero__note { font-size: 13px; color: var(--muted); margin: 0; }
.book-content { padding: 32px 0 64px; color: var(--ink-body); }
.book-player { margin-top: 32px; padding: 32px; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; }
.book-player__label { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.continue-journey { padding: 72px 0 80px; border-top: 1px solid rgba(255,255,255,0.08); }
.continue-journey__title { font-size: 14px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: #fff; text-align: center; margin: 0 0 12px; }
.continue-journey__rule { display: block; width: 48px; height: 2px; background: var(--gold); margin: 0 auto 48px; }
.continue-journey__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.brand__name-gold { color: var(--gold); }
.site-footer__copy { font-size: 12px; color: var(--footer-text); margin: 0; letter-spacing: 0.04em; }
@media (max-width: 900px) { .book-hero__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; } .book-hero__cover { max-width: 240px; margin: 0 auto; } .continue-journey__grid { grid-template-columns: repeat(2, 1fr); } }


/* Kicker mobile fix */
.hero__kicker { text-wrap: balance; line-height: 1.35; }
@media (max-width: 640px) {
  .hero__kicker { font-size: 11px; letter-spacing: 0.14em; }
}


/* Hero mandala on mobile - scaled down but visible */
@media (max-width: 1023px) {
  .hero__visual { display: flex; justify-content: center; margin: 32px auto 0; opacity: 0.7; }
  .hero__visual svg { max-width: 260px !important; width: 100%; }
  .hero__grid { grid-template-columns: 1fr; }
}


/* AudioIgniter player — make book covers fit nicely without cropping. */
/* Default container is 130x130 square, but book covers are 2:3 portrait. */
.audioigniter-root .ai-wrap .ai-control-wrap-thumb {
  width: 140px;
  height: auto;
  aspect-ratio: 2 / 3;
  background: transparent;
  align-self: flex-start;
}
.audioigniter-root .ai-wrap .ai-control-wrap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.audioigniter-root .ai-narrow .ai-control-wrap-thumb {
  width: 60%;
  max-width: 240px;
  margin: 0 auto 20px;
  aspect-ratio: 2 / 3;
}
