  /* ═══════════════════════════════════════════════════════════════
     FAT MENU — in-place header expansion (v3)
     The .site-header element itself grows in height; the expansion
     inherits the header's adaptive blur (dark over hero, light past
     it) and the adaptive ink color via CSS variables.
     ═══════════════════════════════════════════════════════════════ */

  /* Adaptive ink — fat menu reads these.
     Default (over hero, dark surface) */
  .site-header {
    --fm-ink:        var(--sepia-100);
    --fm-ink-muted:  rgba(242,235,217,.72);
    --fm-ink-dim:    rgba(242,235,217,.55);
    --fm-rule:       rgba(242,235,217,.18);
    --fm-rule-soft:  rgba(242,235,217,.10);
    --fm-hover:      rgba(242,235,217,.10);
    --fm-eyebrow:    var(--blue-400);
  }
  /* Past-hero (light surface) — flips to deep navy ink */
  .site-header.is-past-hero,
  .site-header.is-fat-open {
    --fm-ink:        var(--ink-900);
    --fm-ink-muted:  var(--ink-700);
    --fm-ink-dim:    var(--ink-500);
    --fm-rule:       var(--sepia-300);
    --fm-rule-soft:  var(--sepia-200);
    --fm-hover:      rgba(26,45,92,.06);
    --fm-eyebrow:    var(--blue-500);
  }

  /* ── Header chrome (transparent over hero, solid past it) ── */
  /* Override shared.css for the home page */
  body { padding-top: 0; }
  .site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(242,235,217,.10);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid rgba(242,235,217,.18);
    transition: background 260ms ease, border-color 260ms ease, padding 200ms ease, box-shadow 200ms ease;
    box-shadow: none;
  }
  .site-header .brand__name { color: var(--sepia-100); transition: color 260ms ease; }
  .site-header .brand__sub  { color: rgba(242,235,217,.75); transition: color 260ms ease; }
  .site-header .icon-btn    { color: var(--sepia-100); transition: color 260ms ease, background 160ms ease; }
  .site-header .icon-btn:hover { background: rgba(242,235,217,.16); color: var(--sepia-100); }
  /* Header on home: transparent over hero (dark surface = negative logo).
     Past hero → solid sepia (light surface = positive logo, handled by
     .is-solid in shared.css). */
  .site-header.is-past-hero { /* mark as solid for the logo CSS swap */ }
  .site-header.is-past-hero { /* see below for visual state */ }

  /* Override the global .is-scrolled state on the home page —
     header stays full height, subline never hides, no sepia line.
     Only .is-past-hero (solid state past the hero) controls the
     look beyond that. */
  .site-header.is-scrolled { box-shadow: none; }
  .site-header.is-scrolled .site-header__inner { padding: 22px 32px; }
  .site-header.is-scrolled .brand__sub { display: block; }
  .site-header.is-past-hero.is-scrolled,
  .site-header.is-fat-open.is-scrolled { box-shadow: 0 6px 22px -18px rgba(26,45,92,.12); }

  /* Solid state — past the hero OR menu open (forces light mode) */
  .site-header.is-past-hero,
  .site-header.is-fat-open {
    background: rgba(246,242,234,.95);
    backdrop-filter: blur(16px) saturate(135%);
    border-bottom-color: var(--sepia-300);
    box-shadow: 0 6px 22px -18px rgba(26,45,92,.12);
  }
  .site-header.is-past-hero.is-scrolled,
  .site-header.is-fat-open.is-scrolled {
    box-shadow: 0 6px 22px -18px rgba(26,45,92,.12);
  }
  .site-header.is-past-hero .brand__name,
  .site-header.is-fat-open  .brand__name { color: var(--navy-900); }
  .site-header.is-past-hero .brand__sub,
  .site-header.is-fat-open  .brand__sub  { color: var(--ink-500); }
  .site-header.is-past-hero .icon-btn,
  .site-header.is-fat-open  .icon-btn    { color: var(--ink-900); }
  .site-header.is-past-hero .icon-btn:hover,
  .site-header.is-fat-open  .icon-btn:hover { background: var(--sepia-200); color: var(--navy-800); }
  /* Logo: when menu is open, force positive (navy) variant — same as past-hero */
  .site-header.is-fat-open .brand__mark img {
    content: url("../img/hts-logo-positive.svg");
  }
  /* (no brand__mark override for past-hero — handled in shared.css via .is-solid) */
  .site-header.is-past-hero { /* placeholder so the rule above remains valid */ }

  /* ═══ HERO — full viewport, 3-slide carousel ═══ */
  .home-hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: var(--navy-900);
  }
  @media (max-width: 720px) { .home-hero { height: 100svh; min-height: 560px; } }

  .hero-slides { position: absolute; inset: 0; overflow: hidden; }

  /* Single-pass linear zoom-out: 1.06 → 1.0 over the full 10s cycle.
     No easing, no infinite loop, no zoom-in phase. */
  @keyframes heroKenBurnsZoomOut {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0);  }
  }
  /* Linear opacity fade-in for the incoming slide (first 2s of its cycle). */
  @keyframes heroFadeInLinear {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Article = stacking + pointer-events. Opacity is animation-driven on the
     active slide; the previous slide is pinned at opacity 1 underneath. */
  .hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
  }
  .hero-slide.is-active {
    z-index: 2;
    pointer-events: auto;
    animation: heroFadeInLinear 2s linear forwards;
  }
  .hero-slide.is-previous {
    opacity: 1;
    z-index: 1;
  }

  .hero-slide__bg {
    position: absolute; inset: 0;
    overflow: hidden;
  }
  .hero-slide__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
    will-change: transform;
  }
  /* Same animation declaration on both states — the keyframes & timing match,
     so the zoom-out runs uninterrupted as the slide transitions from
     is-active to is-previous within its single 10s cycle. */
  .hero-slide.is-active   .hero-slide__bg img,
  .hero-slide.is-previous .hero-slide__bg img {
    animation: heroKenBurnsZoomOut 10s linear forwards;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active { animation: none; opacity: 1; }
    .hero-slide__bg img,
    .hero-slide.is-active   .hero-slide__bg img,
    .hero-slide.is-previous .hero-slide__bg img { animation: none; transform: none; }
  }

  /* Veil — darker baseline + softer top/bottom gradient */
  .hero-slide__veil {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(15,31,60,.30) 0%, rgba(15,31,60,0) 40%, rgba(15,31,60,0) 55%, rgba(15,31,60,.65) 100%),
      rgba(0,0,0,.22);
    pointer-events: none;
  }

  /* Slide content — vertically centered, anchored toward middle.
     Sequential text transition: opacity only, NO translateY / NO transform.
     1s linear fade — JS removes .is-on from the outgoing slide immediately
     (1s fade-out), then adds it on the incoming slide after 1s (1s fade-in)
     for a total 2s text changeover that fits inside the 2s image overlap. */
  .hero-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: var(--w-page);
    margin: 0 auto;
    padding: 0 32px 104px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--sepia-100);
    opacity: 0;
    transition: opacity 1s linear;
  }
  .hero-slide__content.is-on {
    opacity: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-slide__content { transition: opacity 200ms linear; }
  }
  @media (max-width: 720px) { .hero-slide__content { padding: 0 20px 120px; } }

  .hero-slide__type {
    display: inline-flex;
    align-self: flex-start;
    align-items: center; gap: 10px;
    padding: 7px 14px;
    background: rgba(242,235,217,.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(242,235,217,.28);
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sepia-100);
    margin: 0 0 28px;
    text-shadow: 0 1px 1px rgba(15,31,60,.18), 0 3px 12px rgba(15,31,60,.22);
  }
  .hero-slide__type .pip { width: 5px; height: 5px; background: var(--blue-400); border-radius: 50%; }

  .hero-slide__title {
    font-family: var(--font-serif);
    font-size: 92px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.018em;
    margin: 0 0 24px;
    color: var(--sepia-100);
    max-width: 920px;
    font-variation-settings: "opsz" 144;
    text-wrap: balance;
    text-shadow: 0 1px 1px rgba(15,31,60,.18), 0 6px 28px rgba(15,31,60,.20);
  }
  @media (max-width: 1100px) { .hero-slide__title { font-size: 72px; } }
  @media (max-width: 820px)  { .hero-slide__title { font-size: 54px; } }
  @media (max-width: 540px)  { .hero-slide__title { font-size: 38px; margin-bottom: 18px; } }

  .hero-slide__teaser {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 26px;
    line-height: 1.4;
    color: rgba(242,235,217,.95);
    margin: 0 0 32px;
    max-width: 720px;
    font-variation-settings: "opsz" 36;
    text-wrap: pretty;
    text-shadow: 0 1px 1px rgba(15,31,60,.15), 0 4px 22px rgba(15,31,60,.18);
  }
  @media (max-width: 720px) { .hero-slide__teaser { font-size: 19px; margin-bottom: 24px; } }

  .hero-slide__meta {
    display: flex; align-items: center; gap: 18px;
    margin: 0 0 36px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    color: rgba(242,235,217,.92);
    letter-spacing: 0.02em;
    flex-wrap: wrap;
    text-shadow: 0 1px 1px rgba(15,31,60,.18), 0 3px 18px rgba(15,31,60,.22);
  }
  .hero-slide__meta .dot { width: 4px; height: 4px; background: rgba(255, 255, 255, 0.75); border-radius: 50%; }

  .hero-slide__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  @media (max-width: 540px) {
    .hero-slide__cta { flex-direction: column; align-items: stretch; }
    .hero-slide__cta .btn { width: 100%; }
  }
  .hero-slide__cta .btn--primary { background: var(--sepia-100); color: var(--navy-900); }
  .hero-slide__cta .btn--primary:hover { background: var(--sepia-200); color: var(--navy-900); }
  .hero-slide__cta .btn--ghost {
    color: var(--sepia-100);
    border-bottom-color: var(--sepia-100);
  }
  .hero-slide__cta .btn--ghost:hover { color: var(--gold-500); border-color: var(--gold-500); }

  /* ═══ HERO controls (dots + scroll cue) ═══ */
  .hero-controls {
    position: absolute;
    left: 0; right: 0; bottom: 28px;
    z-index: 3;
    pointer-events: none;
  }
  .hero-controls__inner {
    max-width: var(--w-page);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  @media (max-width: 720px) { .hero-controls__inner { padding: 0 20px; } }

  .hero-dots {
    display: flex;
    gap: 8px;
    pointer-events: auto;
  }
  .hero-dot {
    width: 8px; height: 8px;
    background: rgba(242,235,217,.45);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: background 200ms ease, width 280ms ease, border-radius 200ms ease;
  }
  .hero-dot:hover { background: rgba(242,235,217,.75); }
  .hero-dot.is-active {
    background: var(--sepia-100);
    width: 28px;
    border-radius: 100px;
  }

  .hero-scroll-cue {
    pointer-events: auto;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px 14px;
    color: rgba(242,235,217,.7);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 200ms ease;
    text-decoration: none;
  }
  .hero-scroll-cue:hover { color: var(--sepia-100); }
  .hero-scroll-cue__arrow {
    width: 24px; height: 24px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(242,235,217,.5);
    border-radius: 50%;
    animation: bob 2.6s ease-in-out infinite;
  }
  .hero-scroll-cue:hover .hero-scroll-cue__arrow { border-color: var(--sepia-100); }
  .hero-scroll-cue__arrow svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  @keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
  }
  @media (max-width: 540px) {
    .hero-scroll-cue span:not(.hero-scroll-cue__arrow) { display: none; }
  }

  /* ═══ LESSON COLLECTIONS (Pearls + Studies) ═══ */
  .collection { padding: 96px 0; border-bottom: 1px solid var(--sepia-300); }
  /* Hridaya home cards sit in an equal-height grid; the image is a grid
     item that would otherwise stretch with the tallest card and shove the
     eyebrow row out of line. Pin it to 4/3 + align-self:start so every
     image is identical and the eyebrow/title align across the row; the
     body stretches instead, anchoring "min read" to the bottom edge —
     same rhythm as the Udana (Daily Pearls) cards. */
  /* Deterministic rows: image = its 4/3 height, body = all the leftover.
     Without this the equal-height grid stretches BOTH auto rows, so the
     gap between image and eyebrow varied card to card. */
  .collection .hridaya-card { grid-template-rows: auto 1fr; }
  .collection .hridaya-card__image { align-self: start; aspect-ratio: 4/3; min-height: 0; }
  /* Take the <img> out of flow so it can't drive the container height
     (Safari won't resolve height:100% against an aspect-ratio box, so the
     img's intrinsic ratio would leak in and each card grew differently).
     Absolute + inset:0 = container height is pure 4/3 everywhere. */
  .collection .hridaya-card__image > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .collection .hridaya-card__title { margin-bottom: 16px; }
  #after-hero .pmh-card__image { position: relative; }
  .collection__head {
    display: flex; align-items: end; justify-content: space-between; gap: 32px;
    margin-bottom: 48px; flex-wrap: wrap;
  }
  .collection__head-left { max-width: 640px; }
  .collection__head h2 { font-size: 48px; margin: 0 0 8px; letter-spacing: -0.012em; line-height: 1.05; }
  @media (max-width: 720px) { .collection__head h2 { font-size: 34px; } .collection { padding: 64px 0; } }
  .collection__head .subtitle {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .collection__head .subtitle::before {
    content: "";
    width: 32px; height: 1px;
    background: var(--blue-500);
  }
  .collection__head .desc {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-700);
    margin: 14px 0 0;
  }
  .collection__head .all-link {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--navy-800);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    padding-bottom: 12px;
  }
  .collection__head .all-link .arrow { font-family: var(--font-serif); font-size: 18px; transition: transform 220ms ease; }
  .collection__head .all-link:hover .arrow { transform: translateX(4px); }

  .collection__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  @media (max-width: 900px) { .collection__grid { grid-template-columns: 1fr; } }

  /* ═══ FIVE DIVISIONS — 5-column grid ═══ */
  /* Ostatnia sekcja strony — bez separatora (dakszina, która była pod spodem,
     została usunięta) i z mniejszym odstępem do stopki. */
  .divisions { padding: 96px 0 32px; border-bottom: 0; }
  .divisions__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
  .divisions__head-left { max-width: 760px; }
  .divisions__head h2 { font-size: 56px; margin: 12px 0 16px; line-height: 1.05; letter-spacing: -0.015em; }
  @media (max-width: 720px) { .divisions__head h2 { font-size: 36px; } .divisions { padding: 64px 0; } }
  .divisions__head p { font-family: var(--font-serif); font-size: 20px; line-height: 1.55; color: var(--ink-700); margin: 0; }
  .division-more {
    display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap;
    font-family: var(--font-sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.1em; color: var(--navy-800); text-decoration: none;
  }
  .division-more .arrow { font-family: var(--font-serif); font-size: 18px; transition: transform 220ms ease; }
  .division-more:hover .arrow { transform: translateX(4px); }

  .divisions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--sepia-400);
    border-left: 1px solid var(--sepia-400);
  }
  @media (max-width: 980px) { .divisions-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px) { .divisions-grid { grid-template-columns: 1fr; } }

  .division-card {
    display: flex;
    flex-direction: column;
    padding: 32px 26px 28px;
    text-decoration: none;
    color: inherit;
    background: var(--sepia-100);
    border-right: 1px solid var(--sepia-400);
    border-bottom: 1px solid var(--sepia-400);
    transition: background 200ms ease;
    min-height: 340px;
  }
  .division-card:hover { background: var(--sepia-200); }
  .division-card__roman {
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--blue-500);
    margin: 0 0 16px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .division-card__icon {
    width: auto;
    height: 96px;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    align-self: flex-start;
    margin: -4px 0 18px -8px;
    position: static;
    object-fit: contain;
  }
  .division-card__name {
    font-family: var(--font-serif);
    font-size: 22px; font-weight: 500;
    line-height: 1.18; margin: 0 0 4px;
    color: var(--ink-900);
    text-wrap: pretty;
    letter-spacing: -0.005em;
  }
  .division-card:hover .division-card__name { color: var(--navy-800); }
  .division-card__sanskrit {
    font-family: var(--font-serif); font-style: italic;
    font-size: 14px; color: var(--ink-500);
    margin: 0 0 14px;
  }
  .division-card__desc {
    font-family: var(--font-serif);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-700);
    margin: 0 0 24px;
    flex: 1;
  }
  .division-card__cta {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--navy-800);
    display: inline-flex; align-items: center; gap: 6px;
    text-transform: uppercase;
  }
  .division-card__cta .arrow { font-family: var(--font-serif); font-size: 15px; transition: transform 220ms ease; }
  .division-card:hover .division-card__cta .arrow { transform: translateX(4px); }

  /* ═══ DAKSINA HOME ═══ */
  .daksina-home {
    padding: 112px 0;
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
  }
  @media (max-width: 720px) { .daksina-home { padding: 80px 0; } }
  .daksina-home__om {
    font-family: var(--font-serif);
    font-size: 38px;
    color: var(--gold-500);
    margin-bottom: 12px;
  }
  .daksina-home .subtitle {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-500);
    margin: 0 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
  }
  .daksina-home .subtitle::before,
  .daksina-home .subtitle::after {
    content: "";
    width: 28px; height: 1px;
    background: var(--blue-500);
  }
  .daksina-home h2 { font-size: 56px; margin: 0 0 32px; letter-spacing: -0.012em; line-height: 1.05; }
  @media (max-width: 720px) { .daksina-home h2 { font-size: 36px; } }
  .daksina-home p {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink-700);
    margin: 0 0 40px;
    text-wrap: pretty;
  }

  /* ═══════════════════════════════════════════════════════════════
     FAT MENU EXPANSION (sits inside .site-header, below the bar)
     ═══════════════════════════════════════════════════════════════ */

  /* Header transitions: smoother grow */
  .site-header {
    transition:
      background 260ms ease,
      border-color 260ms ease,
      padding 200ms ease,
      box-shadow 200ms ease;
  }
  .site-header.is-fat-open {
    border-bottom-color: var(--fm-rule);
  }

  /* The expansion wrapper — animates max-height + opacity */
  .fat-expansion {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      max-height 380ms cubic-bezier(.2,.7,.2,1),
      opacity 220ms ease;
    will-change: max-height, opacity;
  }
  .site-header.is-fat-open .fat-expansion {
    max-height: calc(80vh);
    opacity: 1;
  }
  /* When fully open we let the inner scroll if content exceeds the cap */
  .site-header.is-fat-open .fat-expansion {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* sheen line that separates the bar from the expansion */
  .fat-expansion__rule {
    height: 1px;
    background: var(--fm-rule);
    margin: 0 32px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 420ms cubic-bezier(.2,.7,.2,1) 60ms;
  }
  .site-header.is-fat-open .fat-expansion__rule { transform: scaleX(1); }
  @media (max-width: 720px) { .fat-expansion__rule { margin: 0 20px; } }

  .fat-expansion__inner {
    max-width: var(--w-page);
    margin: 0 auto;
    padding: 28px 32px 40px;
    transform: translateY(-6px);
    opacity: 0;
    transition:
      transform 320ms cubic-bezier(.2,.7,.2,1) 80ms,
      opacity 260ms ease 80ms;
  }
  .site-header.is-fat-open .fat-expansion__inner {
    transform: translateY(0);
    opacity: 1;
  }
  @media (max-width: 720px) {
    .fat-expansion__inner { padding: 20px 20px 32px; }
  }

  /* ── Search bar — most styles come from shared.css.
        Only home-specific dark-mode overrides remain here. */
  .fat-search { position: relative; margin: 0 0 32px; }

  .fat-search__icon,
  .fat-search__submit {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--fm-ink-muted);
    pointer-events: none;
  }
  .fat-search__icon {
    left: 18px;
    width: 22px; height: 22px;
  }
  .fat-search__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.7; }
  .fat-search__submit {
    right: 6px;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    pointer-events: auto;
    color: var(--fm-ink-muted);
    transition: color 160ms ease, background 160ms ease;
  }
  .fat-search__submit:hover { color: var(--fm-ink); background: var(--fm-hover); }
  .fat-search__submit svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }

  /* ── Three columns ─────────────────────────────────────────── */
  .fat-cols {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.9fr;
    gap: 56px;
  }
  @media (max-width: 980px) {
    .fat-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
    .fat-cols .fat-col:nth-child(3) { grid-column: 1 / -1; }
  }
  @media (max-width: 720px) {
    .fat-cols { grid-template-columns: 1fr; gap: 36px; }
    .fat-cols .fat-col:nth-child(3) { grid-column: auto; }
  }

  .fat-col__head {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fm-eyebrow);
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--fm-rule);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .fat-col__head::before {
    content: "";
    width: 4px; height: 4px;
    background: var(--fm-eyebrow);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ── Col 1: teachings (cards w/ thumbnails) ─────────────────── */
  .fat-teach {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .fat-teach__row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px 14px;
    margin: 0 -14px;
    text-decoration: none;
    color: var(--fm-ink);
    border-radius: 2px;
    transition: background 200ms ease, transform 200ms ease;
  }
  .fat-teach__row:hover {
    background: var(--fm-hover);
    transform: translateX(2px);
  }
  .fat-teach__thumb {
    width: 72px; height: 72px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    /* thumbnails keep their own colors regardless of header mode */
    background: var(--sepia-200);
    position: relative;
  }
  .fat-teach__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .fat-teach__title {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.2;
    color: var(--fm-ink);
    letter-spacing: -0.003em;
    font-variation-settings: "opsz" 24;
  }
  .fat-teach__desc {
    font-family: var(--font-serif);
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--fm-ink-muted);
    margin: 0;
    text-wrap: pretty;
  }
  .fat-teach__arrow {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--fm-ink-dim);
    transition: transform 220ms ease, color 200ms ease;
    align-self: center;
  }
  .fat-teach__row:hover .fat-teach__arrow { transform: translateX(4px); color: var(--fm-ink); }

  /* ── Col 2: divisions (icon + name + sanskrit) ──────────────── */
  .fat-divs {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .fat-divs__row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    margin: 0 -14px;
    text-decoration: none;
    color: var(--fm-ink);
    border-radius: 2px;
    transition: background 200ms ease;
  }
  .fat-divs__row:hover { background: var(--fm-hover); }
  .fat-divs__icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* lapis jewel icons keep their own colors */
  }
  .fat-divs__icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
  }
  .fat-divs__name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1px;
    color: var(--fm-ink);
    letter-spacing: -0.002em;
  }
  .fat-divs__sanskrit {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 12.5px;
    color: var(--fm-ink-dim);
    margin: 0;
    letter-spacing: 0.01em;
  }
  .fat-divs__arrow {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--fm-ink-dim);
    transition: transform 220ms ease, color 200ms ease;
    align-self: center;
  }
  .fat-divs__row:hover .fat-divs__arrow { color: var(--fm-ink); transform: translateX(3px); }

  /* ── Col 3: more ────────────────────────────────────────────── */
  .fat-more {
    display: flex;
    flex-direction: column;
  }
  .fat-more__block {
    padding: 4px 0 22px;
    border-bottom: 1px solid var(--fm-rule-soft);
  }
  .fat-more__block:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
  }
  .fat-more__block + .fat-more__block { padding-top: 22px; }

  .fat-more__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    margin: 0 -14px;
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--fm-ink);
    text-decoration: none;
    border-radius: 2px;
    transition: background 200ms ease, transform 200ms ease;
    letter-spacing: -0.002em;
  }
  .fat-more__link:hover { background: var(--fm-hover); transform: translateX(2px); }
  .fat-more__link .arrow {
    font-family: var(--font-serif);
    color: var(--fm-ink-dim);
    transition: transform 220ms ease, color 200ms ease;
    font-size: 17px;
  }
  .fat-more__link:hover .arrow { color: var(--fm-ink); transform: translateX(3px); }

  /* "New here?" mini-orientation */
  .fat-more__begin {
    padding: 4px 0 0;
  }
  .fat-more__begin h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fm-ink-muted);
    margin: 0 0 12px;
    font-variation-settings: normal;
  }
  .fat-more__begin p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 15px;
    line-height: 1.55;
    color: var(--fm-ink-muted);
    margin: 0 0 14px;
    text-wrap: pretty;
  }
  .fat-more__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .fat-more__cta {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fm-ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--fm-ink);
    transition: color 160ms ease, border-color 160ms ease;
  }
  .fat-more__cta:hover { color: var(--blue-400); border-color: var(--blue-400); }
  .site-header.is-past-hero .fat-more__cta:hover,
  .site-header.is-fat-open  .fat-more__cta:hover { color: var(--blue-500); border-color: var(--blue-500); }
  .fat-more__cta .arrow { font-family: var(--font-serif); font-size: 14px; letter-spacing: 0; }

  /* Daksina row */
  .fat-more__daksina {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fm-ink);
    font-family: var(--font-serif);
    font-size: 15px;
    padding: 8px 14px;
    margin: 0 -14px;
    border-radius: 2px;
    transition: background 200ms ease;
  }
  .fat-more__daksina:hover { background: var(--fm-hover); }
  .fat-more__daksina .om {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--gold-500); /* gold reads in both modes */
    line-height: 1;
  }

  /* ── Hamburger / X morph ───────────────────────────────────── */
  .ham {
    width: 20px;
    height: 14px;
    position: relative;
    display: inline-block;
  }
  .ham__line {
    position: absolute;
    left: 0; right: 0;
    height: 1.7px;
    background: currentColor;
    border-radius: 1px;
    transition:
      top 220ms cubic-bezier(.4,0,.2,1),
      transform 240ms cubic-bezier(.4,0,.2,1);
  }
  .ham__line:nth-child(1) { top: 3px; }
  .ham__line:nth-child(2) { top: 11px; }
  [data-fat-toggle][aria-expanded="true"] .ham__line:nth-child(1) {
    top: 6px; transform: rotate(45deg);
  }
  [data-fat-toggle][aria-expanded="true"] .ham__line:nth-child(2) {
    top: 6px; transform: rotate(-45deg);
  }

  /* When the menu is open, the search bar inside is primary —
     hide the header magnifier so only the X remains. */
  .site-header.is-fat-open .icon-btn[data-fat-search="true"] {
    opacity: 0;
    pointer-events: none;
    transform: scale(.85);
    transition: opacity 160ms ease, transform 200ms ease;
  }

  /* No body scroll lock — header sits over content; menu closes on scroll. */
