  :root {
    /* Jewish Zodiac brand palette — ink on vellum, illuminated by ochre */
    --bg: #f0e6d2;            /* vellum — aged parchment */
    --bg-2: #ebdfc6;          /* card surface, slightly darker vellum */
    --bg-3: #d9c9a8;          /* sand — stronger surfaces */
    --ink: #1a1612;           /* soferim ink */
    --text: #1a1612;          /* alias */
    --gold: #a8884a;          /* ochre — illumination */
    --gold-2: #8a6e34;        /* deep ochre — hover, borders */
    --gold-3: #c4a468;        /* light ochre — subtle highlights */
    --muted: #5a4226;         /* sepia — faded ink (darkened for AA on cream + bg-2) */
    --muted-2: #5d4d34;       /* lighter sepia, still ≥6:1 on cream (was #8a7351, 4.18:1) */
    --line: rgba(26,22,18,0.18);   /* subtle ink line */
    --line-strong: rgba(26,22,18,0.5); /* stronger divider */
    --accent: #6b4f2c;        /* sepia for italics/accents */
    --cream: #faf6ed;         /* lightest cream highlight */
    --sand: #d9c9a8;          /* sand — alias of bg-3, named for brand spec */
    --wax-red: #5e3a1f;       /* wax red — seal, accents, terminal touches */

    /* Typography stacks */
    --font-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
    --font-body:    'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
    --font-hebrew:  'Frank Ruhl Libre', 'David Libre', 'Times New Roman', serif;
    --font-ui:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.65; font-size: 19px; }
  /* Italic carries semantic weight here; bold is rare. Most "strong" uses become italic. */
  strong, b { font-weight: 500; font-style: italic; }
  body {
    /* Parchment paper texture — tiny ink specks over warm vellum */
    background-color: var(--bg);
    background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='10' cy='15' r='0.4' fill='%231a1612' fill-opacity='0.05'/><circle cx='35' cy='8' r='0.3' fill='%231a1612' fill-opacity='0.04'/><circle cx='50' cy='40' r='0.5' fill='%231a1612' fill-opacity='0.06'/><circle cx='22' cy='50' r='0.3' fill='%231a1612' fill-opacity='0.05'/><circle cx='5' cy='35' r='0.35' fill='%231a1612' fill-opacity='0.04'/><circle cx='42' cy='22' r='0.3' fill='%231a1612' fill-opacity='0.05'/></svg>"),
      radial-gradient(ellipse at 50% 0%, rgba(168,136,74,0.06), transparent 50%),
      radial-gradient(ellipse at 50% 100%, rgba(107,79,44,0.06), transparent 50%);
    background-repeat: repeat, no-repeat, no-repeat;
    background-size: 60px 60px, 100% 100%, 100% 100%;
    min-height: 100vh;
    position: relative;
  }
  /* Manuscript vignette — darkens the four edges so the page feels held */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
      linear-gradient(to bottom, rgba(26,22,18,0.10), transparent 28px),
      linear-gradient(to top,    rgba(26,22,18,0.10), transparent 28px),
      linear-gradient(to right,  rgba(26,22,18,0.06), transparent 24px),
      linear-gradient(to left,   rgba(26,22,18,0.06), transparent 24px);
  }
  .wrap { max-width: 980px; margin: 0 auto; padding: 48px 24px 80px; position: relative; z-index: 1; }

  /* === BRAND NAV STRIP (thin top bar, always visible) === */
  .nav-strip { position: relative; z-index: 5; border-bottom: 1px solid rgba(26,22,18,0.10); }
  .nav-strip-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 32px;
  }
  .nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .nav-brand .nav-mono { width: 32px; height: 32px; }
  .nav-brand .nav-mark { font-family: var(--font-display); font-size: 14px; letter-spacing: 7px; color: var(--ink); font-weight: 400; }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a {
    font-family: var(--font-display); font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--ink); text-decoration: none; opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
  }
  .nav-links a:hover { opacity: 1; color: var(--gold-2); }
  @media (max-width: 720px) {
    .nav-strip-inner { padding: 18px 22px; }
    .nav-links { display: none; }
    .nav-brand .nav-mark { font-size: 12px; letter-spacing: 5px; }
  }

  /* === HERO (the arrival moment) === */
  .hero { position: relative; min-height: 88vh; padding: 40px 32px 80px; overflow: hidden; }
  .hero-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: 60px; align-items: center;
    min-height: calc(88vh - 140px);
  }
  .hero-copy { padding-top: 0; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-display); font-size: 11px; letter-spacing: 5px;
    color: var(--gold-2); margin-bottom: 20px;
  }
  .hero-eyebrow::before {
    content: ''; display: inline-block; width: 36px; height: 0.5px; background: var(--gold-2);
  }
  .hero-headline {
    font-family: var(--font-body); font-weight: 500;
    font-size: clamp(26px, calc(3.1vw - 4px), 38px); line-height: 1.12;
    color: var(--ink); margin: 0; white-space: nowrap;
  }
  .hero-headline .ital { font-style: italic; font-weight: 400; display: inline; }
  .hero-hebrew {
    font-family: var(--font-hebrew); font-size: 24px; color: var(--gold);
    letter-spacing: 1px; margin-top: 16px;
  }
  .hero-lede {
    font-family: var(--font-body); font-style: italic; font-size: 21px; line-height: 1.6;
    color: var(--ink); margin: 18px 0 0; max-width: 540px;
  }
  .hero-source-ribbon {
    margin-top: 28px; padding-top: 18px; border-top: 0.5px solid rgba(26,22,18,0.22);
    font-family: var(--font-display); font-size: 10px; letter-spacing: 3.5px;
    color: var(--sepia, #6b4f2c); opacity: 0.78; text-transform: uppercase; max-width: 540px;
    line-height: 1.7;
  }
  .hero-cta-row { margin-top: 38px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
  .hero-cta {
    background: var(--ink); color: var(--cream);
    border: none; padding: 18px 32px;
    font-family: var(--font-display); font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s, transform 0.15s;
    text-decoration: none; display: inline-block;
  }
  .hero-cta:hover { background: var(--sepia, #6b4f2c); transform: translateY(-1px); }
  .hero-cta-secondary {
    font-family: var(--font-body); font-style: italic; font-size: 15px;
    color: var(--ink); text-decoration: none;
    border-bottom: 0.5px solid rgba(26,22,18,0.45);
    padding-bottom: 2px;
  }
  .hero-cta-secondary:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }

  /* The roundel column */
  .hero-mark {
    position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 540px;
    margin: 0 auto; display: flex; align-items: center; justify-content: center;
    transform-style: preserve-3d; will-change: transform;
  }
  .hero-mark svg { width: 100%; height: auto; display: block; }
  .hero-mark-float {
    position: absolute; font-family: var(--font-body); font-style: italic;
    font-size: 13px; color: var(--ink); opacity: 0.40; letter-spacing: 0.3px;
    pointer-events: none;
  }
  .hero-mark-float.tl { top: 4%;  left: -2%; }
  .hero-mark-float.tr { top: 4%;  right: -2%; text-align: right; }
  .hero-mark-float.ml { top: 48%; left: -6%; }
  .hero-mark-float.mr { top: 48%; right: -6%; text-align: right; }
  .hero-mark-float.bl { bottom: 4%; left: -2%; }
  .hero-mark-float.br { bottom: 4%; right: -2%; text-align: right; }
  @media (max-width: 920px) {
    .hero { padding: 44px 22px 60px; min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
    .hero-mark { order: -1; max-width: 320px; transform: none; align-self: center; }
    .hero-mark-float { display: none; }
    .hero-headline { font-size: clamp(34px, 9vw, 56px); white-space: normal; }
    .hero-headline .ital { display: block; }
    .hero-lede { font-size: 18px; }
    .hero-source-ribbon { font-size: 9px; }
  }

  /* Scroll-to-enter chevron at hero base */
  .scroll-to-enter {
    max-width: 1280px; margin: 50px auto 0; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display); font-size: 10px; letter-spacing: 4px;
    color: var(--ink); opacity: 0.55;
  }
  .scroll-to-enter .ste-quote { font-family: var(--font-body); font-style: italic; opacity: 1; letter-spacing: 0; font-size: 14px; max-width: 60%; }
  .scroll-to-enter .ste-quote .src { display: block; font-family: var(--font-display); font-size: 10px; letter-spacing: 3.5px; color: var(--sepia, #6b4f2c); margin-top: 4px; opacity: 0.85; }
  .scroll-to-enter .ste-arrow { display: inline-flex; align-items: center; gap: 8px; }
  .scroll-to-enter .ste-arrow svg { width: 28px; height: 10px; }
  @media (max-width: 720px) {
    .scroll-to-enter { flex-direction: column; gap: 16px; align-items: flex-start; padding: 0 22px; }
    .scroll-to-enter .ste-quote { max-width: 100%; font-size: 13px; }
  }

  /* Hebrew helper class — used throughout */
  .he { font-family: var(--font-hebrew); color: var(--gold); font-size: 22px; letter-spacing: 1px; }
  h1 { font-family: var(--font-display); margin: 0 0 6px; font-size: 32px; font-weight: 400; letter-spacing: 4px; color: var(--ink); }
  h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 3px; color: var(--ink); }
  h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.5px; color: var(--ink); }

  .card { background: var(--bg-2); border: 1px solid rgba(26,22,18,0.18); border-radius: 4px; padding: 28px 30px; margin-bottom: 26px; box-shadow: 0 1px 0 rgba(26,22,18,0.04), inset 0 0 0 1px rgba(168,136,74,0.18); position: relative; }
  .card h2 { margin: 0 0 18px; font-size: 18px; font-weight: 400; color: var(--ink); letter-spacing: 3px; text-transform: uppercase; font-family: var(--font-display); text-align: center; padding-bottom: 12px; border-bottom: 1px solid rgba(26,22,18,0.12); position: relative; }
  .card h2::after {
    content: '⸙';
    position: absolute;
    bottom: -10px; left: 50%; transform: translateX(-50%);
    background: var(--bg-2);
    color: var(--gold-2);
    font-size: 14px;
    padding: 0 10px;
    letter-spacing: 0;
  }

  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  @media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
  label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.5px; text-transform: uppercase; }
  input, select {
    width: 100%; background: #faf6ed; color: var(--ink); border: 1px solid rgba(26,22,18,0.35);
    border-radius: 4px; padding: 11px 12px; font-family: inherit; font-size: 16px;
    box-shadow: inset 0 1px 2px rgba(26,22,18,0.04);
  }
  input::placeholder, textarea::placeholder { color: var(--muted-2); font-style: italic; opacity: 0.7; }
  input:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: inset 0 1px 2px rgba(26,22,18,0.04), 0 0 0 2px rgba(168,136,74,0.15); }
  html { scroll-behavior: smooth; }
  ::selection { background: rgba(168,136,74,0.35); color: var(--ink); }

  .row-full { grid-column: 1 / -1; }
  .hint { font-size: 12px; color: var(--muted); margin-top: 4px; font-style: italic; }

  button {
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
    color: var(--cream); border: none; padding: 14px 28px; font-size: 15px;
    font-family: inherit; letter-spacing: 1px; text-transform: uppercase;
    border-radius: 4px; cursor: pointer; font-weight: 600; margin-top: 8px;
  }
  button:hover { filter: brightness(1.1); }

  .result { display: none; }
  .result.show { display: block; }

  .verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
  @media (max-width: 640px) { .verdict-grid { grid-template-columns: 1fr; } }
  .verdict-cell {
    background: #faf6ed; border: 1px solid var(--line); border-radius: 4px;
    padding: 20px; text-align: center;
  }
  .verdict-cell .label { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
  .verdict-cell .glyph { font-size: 44px; color: var(--gold); margin-bottom: 4px; line-height: 1; }
  .verdict-cell .name { font-size: 22px; color: var(--ink); margin-bottom: 4px; }
  .verdict-cell .name-he { font-family: 'David Libre', serif; color: var(--gold); font-size: 16px; letter-spacing: 1px; }

  .trait-block { margin-bottom: 22px; }
  .trait-block:last-child { margin-bottom: 0; }
  .trait-block h3 { color: var(--accent); font-size: 15px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; border-left: 2px solid var(--gold); padding-left: 10px; }
  .trait-block p { margin: 0; }
  .trait-block .gemara { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 6px; }
  /* .gemara as a top-level annotation class — like a scribal note in the margin */
  .gemara { font-size: 14px; color: var(--muted); font-style: italic; line-height: 1.7; }

  .synthesis { background: linear-gradient(135deg, rgba(168,136,74,0.08), rgba(168,136,74,0.02)); border: 1px solid var(--gold-2); padding: 22px 24px; border-radius: 6px; }
  .synthesis h3 { color: var(--gold); margin-top: 0; }
  .synthesis .archetype { font-size: 22px; color: var(--ink); font-style: italic; margin: 8px 0 12px; }

  .meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
  .meta span { color: var(--ink); }

  .closing { text-align: center; font-style: italic; color: var(--muted); margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
  .closing .he { font-size: 18px; margin-bottom: 4px; color: var(--gold); letter-spacing: 1px; }

  details { margin-top: 18px; }
  summary { cursor: pointer; color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
  .hour-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
  .hour-table th, .hour-table td { padding: 6px 8px; border: 1px solid var(--line); text-align: center; }
  .hour-table th { color: var(--gold); font-weight: 400; }
  .hour-table .you { background: rgba(168,136,74,0.18); color: var(--ink); }

  .error { color: #8c3a2c; background: rgba(140,58,44,0.08); border: 1px solid rgba(140,58,44,0.3); padding: 10px 14px; border-radius: 4px; margin-top: 12px; font-size: 14px; }

  /* === Headline Soul Reading === */
  .headline { background: linear-gradient(140deg, rgba(168,136,74,0.10), rgba(168,136,74,0.02)); border: 2px double var(--gold-2); padding: 36px 36px 32px; position: relative; }
  .headline::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 0.5px solid rgba(168,136,74,0.4);
    pointer-events: none;
  }
  .headline .who { font-family: var(--font-display); font-size: 13px; color: var(--gold-2); letter-spacing: 5px; text-transform: uppercase; margin-bottom: 10px; text-align: center; }
  .headline .identity { font-family: var(--font-body); font-size: 32px; line-height: 1.3; color: var(--ink); margin-bottom: 8px; text-align: center; font-style: italic; }
  .headline .identity .planet, .headline .identity .month { color: var(--gold-2); font-style: italic; font-weight: 500; }
  .headline .hebdate { font-family: var(--font-hebrew); color: var(--gold-2); font-size: 17px; margin-bottom: 24px; text-align: center; }
  .headline .tldr { font-size: 17px; line-height: 1.75; color: var(--ink); margin: 0; font-style: italic; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

  .reading-section { margin: 28px 0; position: relative; }
  .reading-section + .reading-section::before {
    content: '⸙';
    position: absolute;
    top: -22px; left: 50%; transform: translateX(-50%);
    color: var(--gold-2);
    font-size: 13px;
    opacity: 0.5;
    font-family: var(--font-body);
  }
  .rs-label {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--gold-2);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 400;
    text-align: center;
  }
  .rs-body { font-size: 17px; line-height: 1.78; color: var(--ink); margin: 0 auto; max-width: 65ch; }

  /* v13 — The Defining Sentence promoted to its own act (Act II opener) */
  .defining-stage {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    font-size: clamp(26px, 4.5vw, 40px);
    line-height: 1.32;
    letter-spacing: 0.2px;
    max-width: 820px;
    margin: 32px auto 36px;
    padding: 56px 24px 60px;
    border-top: 1px solid var(--gold-2);
    border-bottom: 1px solid var(--gold-2);
    background:
      radial-gradient(ellipse at center, rgba(168,136,74,0.06) 0%, transparent 70%);
    position: relative;
  }
  .defining-stage::before,
  .defining-stage::after {
    content: '⸙';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-2);
    font-size: 14px;
    opacity: 0.7;
  }
  .defining-stage::before { top: 22px; }
  .defining-stage::after  { bottom: 22px; }
  @media (max-width: 640px) {
    .defining-stage { padding: 44px 18px 48px; margin: 24px auto 28px; }
  }

  /* v13 — Pause beats: full-bleed breathing space between dense sections */
  .pause-beat {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.55;
    color: var(--sepia);
    max-width: 56ch;
    margin: 44px auto 44px;
    padding: 18px 20px;
    opacity: 0.92;
    letter-spacing: 0.1px;
  }
  .pause-beat::before {
    content: '·  ·  ·';
    display: block;
    color: var(--gold-2);
    letter-spacing: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    opacity: 0.8;
  }
  @media (max-width: 640px) {
    .pause-beat { margin: 32px auto 32px; }
  }

  /* v13 — Grouped sections: subtle internal dividers for multi-paragraph readings */
  #rs_the_cost .rs-body + .rs-body,
  #rs_the_edge .rs-body + .rs-body {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--gold-2);
    max-width: 65ch;
    opacity: 0.96;
  }

  /* v13 — The Line You Will Keep Thinking About — final echo card */
  #rs_the_line {
    margin-top: 36px;
    padding: 32px 28px;
    background: rgba(168,136,74,0.04);
    border: 1px solid var(--gold-2);
    border-radius: 6px;
    text-align: center;
  }
  #rs_the_line .rs-label { color: var(--gold); }
  #rs_the_line .rs-body {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.8vw, 26px);
    line-height: 1.45;
    color: var(--ink);
    max-width: 60ch;
  }

  /* v13 — Privacy reassurance under the form */
  .form-privacy {
    margin: 14px 0 0 0;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--muted);
    font-style: italic;
    text-align: center;
    letter-spacing: 0.2px;
  }

  /* v15b — "Restore your vault" UI (cross-device patron sync) */
  .vault-restore-block {
    margin: 22px 0 0 0;
    padding: 16px 18px 4px;
    border-top: 1px solid var(--line);
    text-align: center;
  }
  .vault-restore-toggle {
    background: none;
    border: none;
    color: var(--gold-2);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 10px;
    text-decoration: none;
    transition: color 0.2s;
  }
  .vault-restore-toggle:hover { color: var(--gold); }
  .vault-restore-form {
    display: none;
    margin-top: 14px;
    padding: 14px;
    background: rgba(168,136,74,0.04);
    border: 1px solid var(--gold-2);
    border-radius: 4px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .vault-restore-form.show { display: block; }
  .vault-restore-form input[type="email"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    box-sizing: border-box;
  }
  .vault-restore-form button {
    margin-top: 10px;
    padding: 9px 16px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
  }
  .vault-restore-form button:hover { background: var(--sepia); }
  .vault-restore-msg {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--accent);
    font-style: italic;
    min-height: 18px;
  }
  .vault-restore-msg.is-error { color: var(--wax-red); }
  .vault-restore-msg.is-success { color: var(--gold-2); }
  .vault-restore-help {
    margin: 6px 0 10px;
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    line-height: 1.5;
  }

  /* v14 — Hebrew letters scale 1.08× relative to inline Latin neighbors */
  .hero-hebrew, .he, .hebdate, [data-he-inline] { font-feature-settings: "kern" 1; }
  .hero-headline + .hero-hebrew { transform: none; }
  span[lang="he"], .he-inline { font-size: 1.08em; line-height: 1; vertical-align: -0.04em; }

  /* v14 — Landing Sanctuary: hide form + result + post-reading cards until reveal */
  body:not(.has-revealed-form) #birthForm,
  body:not(.has-revealed-form) #result,
  body:not(.has-revealed-form) #faqCard,
  body:not(.has-revealed-form) .card:not(.headline):not(#card_soul) {
    display: none !important;
  }
  body:not(.has-revealed-form) .hero {
    min-height: calc(100vh - 80px);
  }
  body.has-revealed-form #birthForm {
    animation: jzFadeSlideIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes jzFadeSlideIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  body.has-revealed-form .hero {
    transition: opacity 600ms ease, transform 600ms ease;
  }

  /* v14 — Calculated Deliberation Loop (computational theater overlay) */
  .deliberation-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(240,230,210,0.97);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center; justify-content: center;
    padding: 32px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms ease;
  }
  body.deliberating .deliberation-overlay {
    display: flex; opacity: 1; pointer-events: auto;
  }
  .deliberation-inner {
    max-width: 560px; width: 100%;
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
  }
  .deliberation-eyebrow {
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 22px;
    text-align: center;
    opacity: 0.85;
  }

  /* === The dial ceremony — spins, settles upright, ignites the birth month === */
  .deliberation-dial {
    width: min(76vw, 380px);
    margin: 0 auto;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
    will-change: transform, opacity;
  }
  .deliberation-dial svg { width: 100%; height: auto; display: block; }
  .deliberation-overlay.casting .deliberation-dial { opacity: 1; transform: scale(1); }
  /* The roundel pivots: three full turns, decelerating to rest upright (1080° ≡ 0°). */
  .deliberation-overlay.casting .deliberation-dial svg {
    transform-origin: 50% 50%;
    animation: delibSpin 5.2s cubic-bezier(0.10, 0.62, 0.20, 1) forwards;
  }
  @keyframes delibSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(1080deg); }
  }
  /* On settle: a warm bloom washes the wheel (on the wrapper, so the spin isn't reset),
     and the glow lingers. */
  .deliberation-dial.settled { animation: delibBloom 1.3s ease-out forwards; }
  @keyframes delibBloom {
    0%   { filter: drop-shadow(0 0 0 rgba(168, 136, 74, 0)) brightness(1); }
    40%  { filter: drop-shadow(0 0 40px rgba(168, 136, 74, 0.55)) brightness(1.22) saturate(1.1); }
    100% { filter: drop-shadow(0 0 30px rgba(168, 136, 74, 0.45)) brightness(1); }
  }
  .deliberation-overlay.casting .deliberation-dial.falling { transform: scale(1.08); opacity: 0; }

  /* The month name, revealed on settle */
  .deliberation-month {
    margin-top: 22px;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex; flex-direction: column; align-items: center; gap: 4px;
  }
  .deliberation-month.show { opacity: 1; transform: translateY(0) scale(1); }
  .deliberation-month-he {
    font-family: 'Frank Ruhl Libre', David, serif;
    font-size: clamp(34px, 9vw, 52px);
    font-weight: 500;
    color: var(--gold);
    line-height: 1.1;
    text-shadow: 0 0 18px rgba(168, 136, 74, 0.35);
  }
  .deliberation-month-en {
    font-family: var(--font-display);
    font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
    color: var(--ink); opacity: 0.6;
  }

  /* The evolving mystical phrase */
  .deliberation-phase {
    margin-top: 20px; min-height: 1.4em;
    font-family: var(--font-body); font-style: italic;
    font-size: 15px; color: var(--ink); opacity: 0;
    transition: opacity 0.6s ease;
  }
  .deliberation-phase.show { opacity: 0.7; }

  @media (prefers-reduced-motion: reduce) {
    .deliberation-overlay.casting .deliberation-dial svg,
    .deliberation-dial.settled svg { animation: none; transform: none; }
    .deliberation-dial, .deliberation-month, .deliberation-phase { transition: opacity 0.3s ease; }
  }
  .deliberation-cursor {
    display: inline-block;
    width: 9px; height: 18px;
    background: var(--gold);
    margin-left: 6px;
    vertical-align: -3px;
    animation: jzBlink 1.1s steps(2, end) infinite;
  }
  @keyframes jzBlink { 50% { opacity: 0; } }

  /* v14 — Returning Hero Protocol */
  .returning-hero {
    display: none;
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 80px);
    padding: 120px 32px 80px;
    text-align: center;
  }
  body.returning-mode .returning-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  body.returning-mode .hero,
  body.returning-mode .scroll-to-enter,
  body.returning-mode #birthForm,
  body.returning-mode #result {
    display: none !important;
  }
  .returning-eyebrow {
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 32px;
  }
  .returning-title {
    font-family: var(--font-body);
    font-weight: 400; font-style: italic;
    font-size: clamp(36px, 6vw, 54px);
    line-height: 1.18;
    color: var(--ink);
    margin: 0 0 18px;
    letter-spacing: 0.2px;
  }
  .returning-meta {
    font-family: var(--font-body);
    font-size: 17px; line-height: 1.65;
    color: var(--accent);
    font-style: italic;
    max-width: 540px;
    margin: 0 auto 48px;
  }
  .returning-actions {
    display: flex; flex-direction: column;
    gap: 18px; align-items: center;
  }

  /* v14 — Gematria Psychological Matrix layout */
  .psych-matrix {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px dashed var(--gold-2);
  }
  .psych-label {
    font-family: var(--font-display);
    font-size: 10.5px;
    letter-spacing: 5px;
    color: var(--gold);
    text-align: center;
    margin: 18px 0 8px;
    text-transform: uppercase;
  }
  .psych-diagnostic {
    font-style: italic;
    color: var(--accent);
  }

  /* v14 — Master Number typography override */
  .master-number-banner {
    text-align: center;
    padding: 12px 16px;
    margin: 6px 0 16px;
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    background: rgba(168,136,74,0.08);
  }
  .master-eyebrow {
    display: block;
    font-family: var(--font-display);
    letter-spacing: 6px;
    font-size: 12px;
    color: var(--gold);
  }
  .master-note {
    display: block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13.5px;
    color: var(--accent);
    margin-top: 6px;
  }
  #rs_number.is-master-number {
    border-left-color: var(--gold);
    border-left-width: 4px;
    background: rgba(168,136,74,0.09);
  }
  #rs_number.is-master-number .rs-label { color: var(--gold); }
  #rs_number.is-master-number #numberInline {
    font-size: 26px;
    color: var(--gold);
    font-style: italic;
  }

  /* v15 — Ink Drop Counter (lives in nav strip) */
  .nav-right { display: flex; align-items: center; gap: 18px; }
  .ink-counter {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 13px;
    border: 0.5px solid var(--gold-2);
    border-radius: 999px;
    background: rgba(168,136,74,0.05);
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }
  .ink-counter:hover { border-color: var(--gold); background: rgba(168,136,74,0.10); }
  .ink-counter .ink-glyph { color: var(--gold); font-size: 13px; line-height: 1; }
  .ink-counter .ink-count { color: var(--ink); font-weight: 500; }
  .ink-counter .ink-label { color: var(--muted); font-size: 9px; }
  .ink-counter.is-empty { border-color: var(--wax-red); }
  .ink-counter.is-empty .ink-glyph { color: var(--wax-red); }
  .ink-counter.is-buyer .ink-glyph { color: var(--gold); }
  .ink-counter.is-buyer::after {
    content: '◆';
    color: var(--gold);
    font-size: 8px;
    margin-left: 2px;
  }
  /* v15c — Scribe's Pass unlimited state */
  .ink-counter.is-unlimited {
    border-color: var(--gold);
    background: rgba(168,136,74,0.10);
  }
  .ink-counter.is-unlimited .ink-glyph { color: var(--gold); }
  .ink-counter.is-unlimited .ink-count {
    color: var(--gold);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }
  .ink-counter.is-unlimited .ink-label::before { content: 'scribe\'s pass'; }
  .ink-counter.is-unlimited .ink-label > * { display: none; }
  .ink-counter.is-unlimited .ink-label { letter-spacing: 2px; }
  @media (max-width: 720px) {
    .ink-counter { padding: 6px 11px; font-size: 9px; }
    .ink-counter .ink-label { display: none; }
  }

  /* v15 — Paywall Card ("Refill the ink") */
  .paywall-card {
    max-width: 720px;
    margin: 32px auto;
    padding: 40px 32px;
    background: rgba(168,136,74,0.04);
    border: 1px solid var(--gold-2);
    border-radius: 6px;
    text-align: center;
  }
  .paywall-card.paywall-blocking {
    border: 1px solid var(--gold);
    background: rgba(168,136,74,0.07);
  }
  .paywall-eyebrow {
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 18px;
  }
  .paywall-title {
    font-family: var(--font-body);
    font-style: italic; font-weight: 400;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 12px;
  }
  .paywall-lede {
    font-family: var(--font-body);
    font-size: 16px; line-height: 1.6;
    color: var(--accent);
    font-style: italic;
    max-width: 480px;
    margin: 0 auto 32px;
  }
  .paywall-bundles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 12px;
  }
  @media (max-width: 640px) {
    .paywall-bundles { grid-template-columns: 1fr; }
    .paywall-card { padding: 32px 22px; }
  }
  .bundle-card {
    position: relative;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 24px 16px 20px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    text-align: center;
  }
  .bundle-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168,136,74,0.12);
  }
  .bundle-card.popular { border-color: var(--gold); background: rgba(168,136,74,0.05); }
  .bundle-card.popular::before {
    content: 'MOST CHOSEN';
    position: absolute;
    top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: var(--cream);
    font-family: var(--font-display);
    font-size: 9px; letter-spacing: 3px;
    padding: 4px 10px;
    border-radius: 999px;
  }
  .bundle-name {
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 4px;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .bundle-price {
    font-family: var(--font-body);
    font-size: 32px;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
  }
  .bundle-drops {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 14px;
  }
  .bundle-rate {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.3px;
  }
  .paywall-foot {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    margin: 18px 0 0;
    line-height: 1.55;
  }
  .paywall-foot strong { font-weight: 400; color: var(--accent); }

  /* v15 — At 0 drops, action buttons stay visually identical to their normal CTA
     state — the only difference is the label changes (e.g. "Refill the ink · $14
     for 40 drops"). No greyed-out / locked look. The button still looks alive
     and inviting because clicking it now performs a different (paid) action. */

  /* v15 — Inline drop-cost badges on action buttons */
  .drop-cost {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 9px; letter-spacing: 2px;
    background: rgba(168,136,74,0.15);
    color: var(--gold-2);
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 10px;
    vertical-align: 1px;
  }
  .drop-cost.is-discounted {
    background: var(--gold);
    color: var(--cream);
  }

  /* v16 — Gated section (career / relational / cities). Visible to all readers but
     content is blurred + overlaid until unlocked. Personalized teaser sits on top. */
  .gate-wrap { position: relative; }
  .gate-wrap .gate-content {
    filter: blur(7px) saturate(0.85);
    pointer-events: none;
    user-select: none;
    opacity: 0.55;
    transition: filter 220ms ease, opacity 220ms ease;
    min-height: 220px;
  }
  .gate-wrap.is-unlocked .gate-content { filter: none; pointer-events: auto; user-select: auto; opacity: 1; }
  .gate-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(180deg, rgba(240,230,210,0.55) 0%, rgba(240,230,210,0.92) 35%, rgba(240,230,210,0.92) 65%, rgba(240,230,210,0.55) 100%);
    z-index: 2;
  }
  .gate-wrap.is-unlocked .gate-overlay { display: none; }
  .gate-card {
    max-width: 540px;
    width: 100%;
    text-align: center;
    background: var(--cream);
    border: 1px solid var(--gold-2);
    border-radius: 6px;
    padding: 32px 28px 26px;
    box-shadow: 0 12px 36px rgba(26,22,18,0.10), 0 1px 0 rgba(168,136,74,0.18);
  }
  .gate-eyebrow {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold-2); margin-bottom: 12px;
  }
  .gate-eyebrow .lockglyph { margin-right: 8px; color: var(--gold); }
  .gate-title {
    font-family: var(--font-body);
    font-style: italic; font-weight: 500;
    font-size: clamp(22px, 3.2vw, 28px); line-height: 1.25;
    color: var(--ink);
    margin: 0 0 14px;
  }
  .gate-teaser {
    font-family: var(--font-body);
    font-size: 17px; line-height: 1.62;
    color: var(--ink);
    margin: 0 0 8px;
  }
  .gate-teaser em { font-style: italic; color: var(--accent); }
  .gate-teaser .you-line {
    display: block;
    font-style: italic;
    color: var(--accent);
    margin-top: 10px;
    font-size: 16px;
  }
  .gate-dots {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--gold-3);
    letter-spacing: 6px;
    margin: 14px 0 18px;
  }
  .gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }
  .gate-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 22px;
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
    background: var(--ink); color: var(--cream);
    border: 0.5px solid var(--ink);
    cursor: pointer;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
    text-decoration: none;
  }
  .gate-btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
  .gate-btn.secondary {
    background: transparent;
    color: var(--ink);
    border: 0.5px solid var(--gold-2);
  }
  .gate-btn.secondary:hover { background: rgba(168,136,74,0.08); color: var(--ink); }
  .gate-btn .cost {
    font-size: 10px;
    color: var(--gold-3);
    letter-spacing: 2px;
  }
  .gate-btn.secondary .cost { color: var(--gold-2); }
  .gate-foot {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13px;
    color: var(--muted);
    margin-top: 14px;
  }
  .gate-foot a { color: var(--gold-2); text-decoration: none; border-bottom: 0.5px solid var(--gold-3); }
  .gate-foot a:hover { color: var(--ink); border-bottom-color: var(--ink); }
  @media (max-width: 640px) {
    .gate-overlay { padding: 18px; }
    .gate-card { padding: 26px 20px 22px; }
    .gate-title { font-size: 21px; }
    .gate-teaser { font-size: 16px; }
  }

  /* v16 — "Unlock everything" hero CTA shown above the locked stack */
  .full-unlock-strip {
    max-width: 780px;
    margin: 28px auto 8px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(168,136,74,0.10), rgba(168,136,74,0.04));
    border: 1px solid var(--gold-2);
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
  }
  .full-unlock-strip .copy { flex: 1 1 320px; }
  .full-unlock-strip .eyebrow {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 6px;
  }
  .full-unlock-strip h3 {
    font-family: var(--font-body);
    font-style: italic; font-weight: 500;
    font-size: 22px; line-height: 1.3;
    color: var(--ink);
    margin: 0 0 4px;
  }
  .full-unlock-strip p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--muted);
    margin: 0;
  }
  .full-unlock-strip .actions { flex: 0 1 auto; }
  .full-unlock-strip .gate-btn { padding: 14px 22px; }

  /* v17 — retire drop counter from the nav strip; legacy drops surface as credits in the seal break */
  .ink-counter { display: none !important; }

  /* ============================================================
     v17 — THE SOUL SUMMARY (free 1-page) & THE SEAL BREAK
     A single illuminated manuscript page. Centered. Breathing.
     Source-pinned. Replaces the multi-card free reading.
     ============================================================ */
  .soul-summary {
    max-width: 680px;
    margin: 24px auto 0;
    padding: 56px 32px 44px;
    position: relative;
    text-align: center;
  }
  .soul-summary::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 0.5px;
    background: var(--gold-2);
  }
  /* 0 — Today's Lens (v17.6) — italic ochre line above the illuminated name,
        regenerated at moment-of-access, varies by today's day-ruler × natal planet */
  .ss-todays-lens {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gold-2);
    letter-spacing: 0.4px;
    text-align: center;
    max-width: 540px;
    margin: 0 auto 36px;
    padding: 0 12px;
    opacity: 0.92;
  }
  .ss-todays-lens::before,
  .ss-todays-lens::after {
    content: '⊹';
    display: inline-block;
    margin: 0 10px;
    opacity: 0.55;
    font-style: normal;
  }
  @media (max-width: 600px) {
    .ss-todays-lens { font-size: 12px; margin-bottom: 14px; }
  }
  /* 1 — Illuminated Hebrew name */
  /* v18.15-16 — tight free reading: spacings reduced ~50%+ for one-page feel. */
  .ss-name-block { margin: 0 0 14px; }
  .ss-eyebrow {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 6px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 24px;
  }
  .ss-name-hebrew {
    font-family: var(--font-hebrew);
    font-size: clamp(40px, 7.5vw, 68px);
    line-height: 1.05; font-weight: 500;
    color: var(--ink);
    margin: 0 0 4px;
    letter-spacing: 1px;
  }
  .ss-name-trans {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 16px;
    color: var(--muted-2);
  }
  /* 2 — Birth date */
  .ss-birth { margin: 0 0 18px; }
  .ss-birth-compact { margin: 0 0 16px; }
  .ss-birth-hebrew {
    font-family: var(--font-hebrew);
    font-size: 18px; color: var(--gold-2); letter-spacing: 0.5px;
    display: inline-block;
    margin: 0 8px 0 0;
  }
  .ss-birth-civil {
    font-family: var(--font-body);
    font-size: 14px; color: var(--muted); font-style: italic;
    display: inline-block;
    margin: 0;
  }
  .ss-birth-src, .src-pin {
    font-family: var(--font-display);
    font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--muted-2);
    font-style: normal;
  }
  /* 3-4 — The Tribe / The Hour single-line elements */
  .ss-line {
    margin: 0 auto 18px;
    max-width: 540px;
  }
  .ss-line-glyph {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--gold-3);
    margin-bottom: 6px;
    letter-spacing: 4px;
  }
  .ss-line-eyebrow {
    font-family: var(--font-display);
    font-size: 9.5px; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 6px;
  }
  .ss-line-text {
    font-family: var(--font-body);
    font-size: 18px; line-height: 1.5;
    color: var(--ink);
    margin: 0 0 10px;
  }
  .ss-line-text .he {
    font-family: var(--font-hebrew);
    color: var(--gold-2);
    margin: 0 4px;
  }
  /* v17.1 — Sub-explanation under tribe/hour lines: "why" + meaning */
  .ss-line-sub {
    font-family: var(--font-body);
    font-size: 15px; line-height: 1.5;
    color: var(--muted);
    margin: 8px auto 6px;
    max-width: 520px;
  }
  .ss-line-sub em { color: var(--accent); font-style: italic; }
  .ss-line-sense {
    font-family: var(--font-body); font-style: italic;
    font-size: 15px; line-height: 1.5;
    color: var(--muted-2);
    margin: 6px auto 12px;
    max-width: 460px;
  }
  .ss-line-sense em { color: var(--accent); }
  /* Sefaria-link source pins */
  .src-pin a, .ss-birth-src a {
    color: var(--muted-2); text-decoration: none;
    border-bottom: 0.5px dotted var(--gold-3);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
  }
  .src-pin a:hover, .ss-birth-src a:hover {
    color: var(--gold-2);
    border-bottom-color: var(--gold-2);
  }
  /* 5 — The Defining Sentence */
  .ss-defining-block {
    margin: 0 0 18px;
    padding: 18px 20px;
    border-top: 0.5px solid var(--gold-3);
    border-bottom: 0.5px solid var(--gold-3);
  }
  .ss-defining-eyebrow {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 20px;
  }
  .ss-defining {
    font-family: var(--font-body); font-style: italic;
    font-size: clamp(19px, 3vw, 24px); line-height: 1.45;
    color: var(--ink);
    margin: 0 auto; max-width: 560px;
  }
  /* 6 — The emotionally devastating single line */
  .ss-shock-block {
    margin: 0 0 18px;
    padding: 14px 0 4px;
  }
  .ss-shock-line {
    font-family: var(--font-body); font-style: italic;
    font-size: clamp(19px, 3.2vw, 25px); line-height: 1.4;
    color: var(--ink);
    margin: 0 auto; max-width: 580px;
  }
  /* 7 — Soul-Root tight teaser */
  .ss-teaser {
    margin: 0 0 18px;
    padding: 16px 18px;
    background: rgba(168,136,74,0.04);
    border: 0.5px solid rgba(168,136,74,0.25);
    border-left: 2px solid var(--gold-2);
    text-align: left;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
  }
  /* v18.15 — compact Soul-Root: archetype + drive only, then cliff */
  .ss-teaser-tight {
    padding: 20px 20px 16px;
  }
  .ss-teaser-tight .ss-teaser-body {
    margin-bottom: 10px;
    font-size: 16px;
  }
  .ss-teaser-tight .ss-teaser-example-note {
    margin-top: 12px;
    padding-top: 10px;
  }
  .ss-teaser-eyebrow {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 4px;
  }
  .ss-teaser-src {
    font-family: var(--font-display);
    font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 14px;
  }
  .ss-teaser-title {
    font-family: var(--font-body); font-style: italic; font-weight: 500;
    font-size: 22px; line-height: 1.3;
    color: var(--ink);
    margin: 0 0 12px;
  }
  .ss-teaser-title .he {
    font-family: var(--font-hebrew);
    font-style: normal;
    color: var(--gold-2);
    margin-right: 6px;
    font-size: 22px;
  }
  .ss-teaser-body {
    font-family: var(--font-body);
    font-size: 17px; line-height: 1.68;
    color: var(--ink);
    margin: 0 0 14px;
  }
  .ss-teaser-cta {
    font-family: var(--font-body); font-style: italic;
    font-size: 14px; color: var(--accent);
    margin: 0;
  }
  /* v17.1 — Asymmetric teaser strategy */
  .ss-teaser-full {
    background: rgba(168,136,74,0.06);
    border-left: 2px solid var(--gold-2);
  }
  .ss-teaser-full .ss-teaser-eyebrow {
    color: var(--gold-2);
    font-weight: 500;
  }
  .ss-teaser-example-note {
    font-family: var(--font-body); font-style: italic;
    font-size: 13px; color: var(--muted-2);
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 0.5px dotted var(--gold-3);
  }
  .ss-teaser-short .ss-teaser-body {
    margin-bottom: 8px;
  }
  .ss-fade {
    color: var(--gold-2);
    font-size: 18px;
    letter-spacing: 3px;
    margin-left: 2px;
  }
  .ss-read-more {
    background: none;
    border: none;
    padding: 8px 0;
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--gold-2);
    cursor: pointer;
    border-bottom: 0.5px solid var(--gold-3);
    transition: color 0.2s, border-color 0.2s;
  }
  .ss-read-more:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
  }
  /* 8 — Wax seal preview */
  .ss-seal-preview {
    margin: 16px auto 12px;
    width: 88px; height: 88px;
    opacity: 0.85;
  }
  .ss-seal-preview svg { width: 100%; height: 100%; }
  /* 11 — Miniature library */
  .ss-mini-library {
    margin: 0 0 48px;
    padding: 32px 0 8px;
    border-top: 0.5px solid var(--line);
  }
  .ss-mini-eyebrow {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 22px;
  }
  .ss-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 18px;
  }
  .ss-mini-card {
    padding: 18px 12px;
    background: var(--cream);
    border: 0.5px solid var(--line);
    text-align: center;
  }
  .ss-mini-name {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--ink); margin-bottom: 6px;
  }
  .ss-mini-he {
    font-family: var(--font-hebrew);
    font-size: 12px; color: var(--gold-2);
    margin-bottom: 6px; line-height: 1.4;
  }
  .ss-mini-work {
    font-family: var(--font-body); font-style: italic;
    font-size: 12px; color: var(--muted-2);
  }
  .ss-mini-footer {
    font-family: var(--font-body); font-style: italic;
    font-size: 14px; color: var(--muted-2);
    margin: 0; max-width: 460px; margin-left: auto; margin-right: auto;
  }
  .ss-mini-footer a {
    color: var(--gold-2); text-decoration: none;
    border-bottom: 0.5px solid var(--gold-3);
  }
  .ss-mini-footer a:hover { color: var(--ink); border-bottom-color: var(--ink); }

  @media (max-width: 640px) {
    .soul-summary { padding: 40px 20px 28px; }
    .ss-name-block { margin-bottom: 10px; }
    .ss-birth { margin-bottom: 12px; }
    .ss-birth-compact { margin-bottom: 12px; }
    .ss-line { margin-bottom: 14px; }
    .ss-defining-block { margin-bottom: 14px; padding: 14px 12px; }
    .ss-shock-block { margin-bottom: 14px; padding: 10px 0 2px; }
    .ss-teaser { padding: 14px 12px; margin-bottom: 14px; }
    .ss-seal-preview { width: 72px; height: 72px; margin: 12px auto 8px; }
    .ss-mini-cards { grid-template-columns: 1fr; gap: 10px; }
  }

  /* ============================================================
     v17 — THE SEAL BREAK — the paywall as ceremonial threshold
     ============================================================ */
  .seal-break {
    max-width: 680px;
    margin: 24px auto 32px;
    padding: 56px 32px 48px;
    text-align: center;
    background: linear-gradient(180deg, rgba(168,136,74,0.06), rgba(168,136,74,0.02));
    border-top: 0.5px solid var(--gold-2);
    border-bottom: 0.5px solid var(--gold-2);
    position: relative;
  }
  .sb-rule {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 48px; height: 2px; background: var(--gold-2);
  }
  .sb-eyebrow {
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 20px;
  }
  .sb-title {
    font-family: var(--font-body); font-style: italic; font-weight: 500;
    font-size: clamp(28px, 4.4vw, 36px); line-height: 1.25;
    color: var(--ink);
    margin: 0 0 22px;
  }
  .sb-lede {
    font-family: var(--font-body);
    font-size: 17px; line-height: 1.68;
    color: var(--ink);
    max-width: 540px; margin: 0 auto 36px;
  }
  .sb-cta-row { margin: 0 0 18px; }
  .sb-cta {
    display: inline-block;
    padding: 18px 38px;
    font-family: var(--font-display);
    font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
    background: var(--ink); color: var(--cream);
    border: 0.5px solid var(--ink); cursor: pointer;
    transition: background 220ms ease, border-color 220ms ease;
  }
  .sb-cta:hover { background: var(--gold-2); border-color: var(--gold-2); }
  .sb-cta.secondary {
    background: transparent; color: var(--ink);
    border: 0.5px solid var(--gold-2);
    margin-left: 8px;
  }
  .sb-cta.secondary:hover { background: rgba(168,136,74,0.08); color: var(--ink); }
  .sb-cta-meta {
    font-family: var(--font-body); font-style: italic;
    font-size: 14px; color: var(--muted-2);
    margin-top: 12px;
  }
  .sb-credit-row {
    margin-top: 24px; padding-top: 22px;
    border-top: 0.5px solid var(--gold-3);
  }
  .sb-credit-row p {
    font-family: var(--font-body); font-style: italic;
    font-size: 15px; color: var(--muted);
    margin: 0 0 12px;
  }
  .sb-credit-row strong { color: var(--gold-2); font-weight: 500; }

  /* v17.2 — Friends & family coupon row */
  .sb-coupon-row {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 0.5px dotted var(--gold-3);
  }
  .sb-coupon-toggle {
    background: none; border: none; padding: 4px 0; cursor: pointer;
    font-family: var(--font-body); font-style: italic;
    font-size: 14px; color: var(--muted-2);
    border-bottom: 0.5px dotted var(--gold-3);
    transition: color 0.2s, border-color 0.2s;
  }
  .sb-coupon-toggle:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }
  .sb-coupon-form {
    margin-top: 16px;
    max-width: 420px;
    margin-left: auto; margin-right: auto;
  }
  .sb-coupon-form form {
    display: flex; gap: 8px; flex-wrap: wrap;
  }
  .sb-coupon-form input[type="text"] {
    flex: 1; min-width: 180px;
    padding: 12px 14px;
    background: var(--cream);
    border: 0.5px solid var(--gold-2);
    border-radius: 3px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  }
  .sb-coupon-form input[type="text"]:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--gold-2);
  }
  .sb-coupon-form button[type="submit"] {
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
    background: var(--ink); color: var(--cream);
    border: 0.5px solid var(--ink); cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }
  .sb-coupon-form button[type="submit"]:hover {
    background: var(--gold-2); border-color: var(--gold-2);
  }
  .sb-coupon-help {
    margin-top: 10px;
    font-family: var(--font-body); font-style: italic;
    font-size: 13px; color: var(--muted);
  }
  .sb-coupon-msg {
    margin-top: 10px;
    font-family: var(--font-body); font-style: italic;
    font-size: 14px; color: var(--muted);
    min-height: 18px;
  }
  .sb-coupon-msg.is-error { color: var(--wax-red); font-style: normal; }
  .sb-coupon-msg.is-success { color: var(--gold-2); font-style: italic; }

  /* "below the seal" — wraps all the existing reading cards as one big gate */
  .sealed-reading-content {
    transition: opacity 0.3s ease;
  }
  .sealed-reading-content[data-locked="true"] {
    display: none;
  }
  .sealed-reading-content[data-locked="false"] {
    display: block;
  }

  @media (max-width: 640px) {
    .seal-break { padding: 40px 20px 36px; margin: 0 auto 24px; }
    .sb-cta { padding: 16px 28px; font-size: 11px; letter-spacing: 3px; }
    .sb-cta.secondary { margin-left: 0; margin-top: 12px; display: inline-block; }
  }

  /* v15 — Success toast for completed purchase */
  .purchase-toast {
    position: fixed; left: 50%; top: 32px;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--cream);
    padding: 14px 28px;
    border-radius: 6px;
    z-index: 10000;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    opacity: 0;
    transition: opacity 360ms ease;
  }
  .purchase-toast.show { opacity: 1; }
  .purchase-toast .toast-drops {
    color: var(--gold-3);
    font-style: normal;
    font-family: var(--font-display);
    letter-spacing: 2px;
    font-size: 13px;
  }

  /* v15 — Buyer's Mark on wax seal (visible only when patron) */
  .seal-buyer-ring {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    border: 1px solid rgba(168,136,74,0.55);
    pointer-events: none;
    display: none;
  }
  .seal-image.is-patron .seal-buyer-ring { display: block; }
  .seal-image { position: relative; }
  .seal-patron-mark {
    display: none;
    font-family: var(--font-display);
    font-size: 9px; letter-spacing: 4px;
    color: var(--gold);
    text-align: center;
    margin-top: 8px;
    opacity: 0.85;
  }
  .seal-image.is-patron + .seal-letter-note .seal-patron-mark,
  .seal-card.is-patron .seal-patron-mark { display: inline-block; }

  /* v14 — Subtle Elemental UI Mutators (per dominant birth-month element) */
  body[data-element="fire"] .candle-flicker {
    filter: drop-shadow(0 0 32px rgba(190,118,70,0.45)) drop-shadow(0 0 12px rgba(168,136,74,0.4));
  }
  body[data-element="fire"] .seal-card {
    box-shadow: 0 2px 38px rgba(190,108,70,0.10);
  }
  body[data-element="water"] .reading-section { letter-spacing: 0.05px; }
  body[data-element="water"] .seal-card {
    box-shadow: 0 2px 38px rgba(60,82,118,0.10);
  }
  body[data-element="earth"] .reading-section { letter-spacing: 0.3px; }
  body[data-element="earth"] .rs-body { line-height: 1.72; }
  body[data-element="air"] .reading-section { letter-spacing: 0.1px; }
  body[data-element="air"] .rs-body { line-height: 1.82; }

  /* Drop cap on the Core Soul Story — the illuminated initial */
  #rs_core_story .rs-body::first-letter,
  #rs_core_story p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 0.85;
    float: left;
    padding: 6px 12px 0 0;
    color: var(--gold-2);
    font-weight: 500;
  }

  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 24px; }
  @media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
  .stat { background: #faf6ed; border: 1px solid var(--line); border-radius: 4px; padding: 14px 10px; text-align: center; }
  .stat .stat-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
  .stat .stat-glyph { font-size: 28px; color: var(--gold); line-height: 1; margin-bottom: 4px; }
  .stat .stat-value { font-size: 15px; color: var(--ink); }

  /* === Collapsible deep-dives === */
  details.deep { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; }
  details.deep > summary { padding: 18px 22px; cursor: pointer; font-size: 16px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; list-style: none; display: flex; align-items: center; justify-content: space-between; }
  details.deep > summary::-webkit-details-marker { display: none; }
  details.deep > summary::after { content: '+'; color: var(--gold-2); font-size: 24px; font-weight: 300; transition: transform 0.2s; }
  details.deep[open] > summary::after { content: '−'; }
  details.deep > summary:hover { background: rgba(168,136,74,0.05); }
  details.deep > .deep-body { padding: 0 26px 26px; }
  details.deep > .deep-body > .card { background: transparent; border: none; padding: 0; margin: 0; }
  details.deep > .deep-body > .card > h2 { display: none; }

  .section-label { font-family: var(--font-display); font-size: 12px; color: var(--gold-2); letter-spacing: 5px; text-transform: uppercase; margin: 40px 0 18px; text-align: center; position: relative; }
  .section-label::before, .section-label::after {
    content: '';
    display: inline-block;
    width: 40px; height: 0.5px;
    vertical-align: middle;
    background: var(--gold-2);
    opacity: 0.6;
    margin: 0 16px;
  }

  /* === Action buttons === */
  .actions { display: flex; gap: 12px; margin-top: 32px; justify-content: center; flex-wrap: wrap; }
  .btn-ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-2); padding: 12px 22px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; cursor: pointer; font-family: inherit; }
  .btn-ghost:hover { background: rgba(168,136,74,0.1); }

  .checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 6px; }
  .checkbox-row input { width: auto; }

  /* === Letter cards (Letters of Your Name) === */
  .letter-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 20px 0 26px; }
  .letter-card {
    background: linear-gradient(180deg, var(--cream) 0%, var(--bg-2) 100%);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 18px 14px 16px;
    text-align: center;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .letter-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(168,136,74,0.18); }
  .letter-card .lc-position { font-size: 10px; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
  .letter-card .lc-letter { font-family: 'David Libre', 'Frank Ruhl Libre', serif; color: var(--gold); font-size: 64px; line-height: 1; margin-bottom: 8px; }
  .letter-card .lc-name { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
  .letter-card .lc-cat { font-size: 11px; padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 10px; letter-spacing: 0.5px; }
  .letter-card .lc-cat.Mother { background: rgba(107,74,140,0.10); color: #6b4a8c; border: 1px solid rgba(107,74,140,0.35); }
  .letter-card .lc-cat.Double { background: rgba(168,136,74,0.12); color: var(--gold-2); border: 1px solid var(--gold-2); }
  .letter-card .lc-cat.Elemental { background: rgba(44,77,107,0.08); color: #2c4d6b; border: 1px solid rgba(44,77,107,0.30); }
  .letter-card .lc-keyword { font-size: 13px; color: var(--ink); font-style: italic; margin-bottom: 8px; opacity: 0.85; }
  .letter-card .lc-qualities { font-size: 12px; color: var(--muted); line-height: 1.5; }

  /* === Eight gematria values table === */
  .gematria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
  .g-cell { background: #faf6ed; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
  .g-cell .g-method { font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
  .g-cell .g-value { font-size: 20px; color: var(--gold); margin-top: 2px; }
  .g-cell .g-match { font-size: 11px; color: var(--accent); margin-top: 4px; font-style: italic; }
  .g-cell .g-near  { font-size: 11px; color: var(--muted); margin-top: 4px; font-style: italic; }
  .g-cell .g-desc  { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

  /* === Soul signature breakdown === */
  .sig-bar { display: flex; gap: 4px; margin: 10px 0 14px; height: 28px; border-radius: 4px; overflow: hidden; background: #faf6ed; border: 1px solid var(--line); }
  .sig-seg { display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 1px; color: var(--cream); font-weight: 600; }
  .sig-seg.Mother { background: #6b4a8c; }
  .sig-seg.Double { background: var(--gold); }
  .sig-seg.Elemental { background: #2c4d6b; }

  /* === Hebrew keyboard === */
  .hebkb { margin-top: 10px; padding: 12px; background: #faf6ed; border: 1px solid var(--line); border-radius: 4px; direction: rtl; }
  .hebkb-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 6px; }
  .hebkb-row:last-child { margin-bottom: 0; }
  .hebkb-key { background: var(--bg-2); color: var(--gold); border: 1px solid var(--line); border-radius: 4px; width: 38px; height: 40px; font-family: 'David Libre', 'Frank Ruhl Libre', serif; font-size: 22px; cursor: pointer; padding: 0; transition: all 0.12s; user-select: none; }
  .hebkb-key:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); transform: translateY(-1px); }
  .hebkb-key:active { transform: translateY(0); }
  .hebkb-key.final { background: rgba(168,136,74,0.06); }
  .hebkb-key.wide { width: auto; padding: 0 14px; font-family: inherit; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
  .hebkb-key.wide:hover { color: var(--bg); }
  .hebkb-toggle { background: transparent; color: var(--muted); border: 1px dashed var(--line); padding: 6px 12px; font-size: 12px; cursor: pointer; border-radius: 3px; margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; font-family: inherit; }
  .hebkb-toggle:hover { color: var(--gold); border-color: var(--gold-2); }

  /* The corner candle moved to /js/install.js (decorative + doubles as the Install-App button). */

  /* === SCRIBE ANIMATION — quill-on-parchment letter-by-letter reveal === */
  .scribe { white-space: pre-wrap; }
  .scribe .scribe-cursor {
    display: inline-block;
    width: 2px; height: 1em;
    margin-left: 2px;
    background: var(--ink);
    vertical-align: -2px;
    animation: scribe-blink 0.9s steps(2, end) infinite;
    opacity: 0.7;
  }
  @keyframes scribe-blink {
    0%, 50% { opacity: 0.7; }
    51%, 100% { opacity: 0; }
  }
  .scribe.done .scribe-cursor { display: none; }
  .scribe.done::after {
    content: ' ⋄';
    color: var(--gold-2);
    font-family: var(--font-body);
    opacity: 0.65;
  }

  /* === WAX SEAL CLIMAX — appears when the reading is finalized === */
  .seal-card {
    margin: 50px 0 32px;
    padding: 44px 32px 40px;
    background: var(--bg-2);
    border: 1px solid rgba(26,22,18,0.22);
    box-shadow: inset 0 0 0 1px rgba(168,136,74,0.18);
    text-align: center;
    position: relative;
  }
  .seal-card .seal-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--gold-2);
    margin-bottom: 14px;
  }
  .seal-card .seal-title {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 22px;
    color: var(--ink);
    margin: 0 0 30px;
    line-height: 1.5;
  }
  .seal-card .seal-image {
    width: 200px; height: 200px;
    margin: 0 auto 28px;
    position: relative;
    transform: scale(0.4) rotate(-12deg);
    opacity: 0;
    filter: blur(2px);
    transition: transform 0.9s cubic-bezier(0.18, 0.9, 0.3, 1.15), opacity 0.6s ease-out, filter 0.5s ease-out;
  }
  .seal-card .seal-image.pressed {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0);
  }
  .seal-card .seal-image svg { width: 100%; height: 100%; display: block; }
  .seal-card .seal-letter {
    font-family: var(--font-hebrew);
    font-size: 72px;
    fill: var(--cream);
    text-anchor: middle;
    dominant-baseline: central;
    font-weight: 500;
  }
  .seal-card .seal-caption {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 15px;
    color: var(--muted);
    margin: 0 auto 26px;
    max-width: 440px;
    line-height: 1.6;
  }
  .seal-card .seal-letter-note {
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--gold-2);
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  /* === LIBRARY PANEL — sources cited for this reading === */
  .library-panel {
    margin: 50px 0 32px;
    padding: 38px 36px;
    background: var(--bg-2);
    border: 1px solid rgba(26,22,18,0.22);
    box-shadow: inset 0 0 0 1px rgba(168,136,74,0.18);
    position: relative;
  }
  .library-eyebrow {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--gold-2);
    text-align: center;
    margin-bottom: 6px;
  }
  .library-title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--ink);
    text-align: center;
    margin: 0 0 8px;
    font-weight: 400;
  }
  .library-sub {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--muted);
    text-align: center;
    margin: 0 auto 30px;
    max-width: 560px;
    line-height: 1.6;
  }
  .library-list { list-style: none; padding: 0; margin: 0; }
  .library-list li {
    padding: 18px 0;
    border-top: 0.5px solid rgba(26,22,18,0.14);
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 28px;
    align-items: baseline;
  }
  .library-list li:last-child { border-bottom: 0.5px solid rgba(26,22,18,0.14); }
  .library-list .lib-name {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2.5px;
    color: var(--ink);
    text-transform: uppercase;
  }
  .library-list .lib-name .lib-he {
    display: block;
    font-family: var(--font-hebrew);
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--gold-2);
    margin-top: 4px;
    font-weight: 400;
    text-transform: none;
  }
  .library-list .lib-desc {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 16px;
    color: var(--ink);
    line-height: 1.6;
  }
  .library-list .lib-desc a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--gold-2);
    text-underline-offset: 3px;
    text-decoration-thickness: 0.5px;
  }
  .library-list .lib-desc a:hover { color: var(--gold-2); }

  /* v17a — Three-sage portrait cards inside the Library panel */
  .sage-portraits { list-style: none; padding: 0; margin: 24px 0 0; }
  .sage-portrait {
    margin: 0 0 40px;
    padding: 32px 0 36px;
    border-bottom: 0.5px solid rgba(26,22,18,0.14);
  }
  .sage-portrait:last-child { border-bottom: 0; padding-bottom: 12px; }
  .sage-head {
    display: flex; flex-wrap: wrap; gap: 14px 22px;
    align-items: baseline; margin-bottom: 18px;
  }
  .sage-name {
    font-family: var(--font-display);
    font-size: 14px; letter-spacing: 4.5px; text-transform: uppercase;
    color: var(--ink); font-weight: 500;
  }
  .sage-name-he {
    font-family: var(--font-hebrew);
    font-size: 22px; color: var(--gold-2); letter-spacing: 0.5px;
    margin-right: 4px;
  }
  .sage-honorific {
    font-family: var(--font-body); font-style: italic; font-size: 14px;
    color: var(--muted-2);
  }
  .sage-meta {
    font-family: var(--font-display); font-size: 10px; letter-spacing: 2.5px;
    color: var(--muted-2); margin-top: -6px; margin-bottom: 14px;
    display: flex; gap: 16px; flex-wrap: wrap;
  }
  .sage-meta .dot { color: var(--gold-3); }
  .sage-pull {
    margin: 18px 0 22px; padding: 18px 24px;
    border-left: 2px solid var(--gold-2);
    background: rgba(168,136,74,0.06);
    font-family: var(--font-body); font-style: italic;
    font-size: 19px; line-height: 1.6; color: var(--ink);
  }
  .sage-pull .attr {
    display: block; margin-top: 10px;
    font-family: var(--font-display); font-style: normal;
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--muted-2);
  }
  .sage-bio {
    font-family: var(--font-body); font-size: 17px; line-height: 1.72;
    color: var(--ink); margin: 0 0 18px;
  }
  .sage-why {
    font-family: var(--font-body); font-size: 16px; line-height: 1.65;
    color: var(--accent); font-style: italic;
    margin: 0 0 14px;
    padding: 14px 18px;
    background: rgba(232,220,196,0.45);
    border: 0.5px solid rgba(168,136,74,0.25);
  }
  .sage-why::before {
    content: 'WHY WE DRAW FROM HIM';
    display: block;
    font-family: var(--font-display); font-style: normal;
    font-size: 9px; letter-spacing: 3px;
    color: var(--gold-2);
    margin-bottom: 6px;
  }
  .sage-key-teaching {
    font-family: var(--font-body); font-style: italic;
    font-size: 17px; line-height: 1.5; color: var(--ink);
    margin: 14px 0 18px;
    padding-left: 14px; border-left: 0.5px solid var(--gold-3);
  }
  .sage-work {
    font-family: var(--font-body); font-size: 14px;
    color: var(--muted-2); margin: 0 0 12px;
  }
  .sage-work strong { font-style: italic; font-weight: 500; color: var(--ink); }
  .sage-work .sage-work-he {
    font-family: var(--font-hebrew); color: var(--gold-2);
    margin-left: 6px;
  }
  .sage-buried {
    font-family: var(--font-body); font-size: 14px; font-style: italic;
    color: var(--muted-2); margin: 6px 0 14px;
  }
  .sage-links {
    display: flex; flex-wrap: wrap; gap: 14px 22px;
    margin-top: 14px;
  }
  .sage-links a {
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold-2); text-decoration: none;
    border-bottom: 0.5px solid var(--gold-3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .sage-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
  .sage-thread {
    margin-top: 32px;
    padding: 24px 0 0;
    border-top: 0.5px solid var(--gold-3);
    text-align: center;
    font-family: var(--font-body); font-style: italic;
    font-size: 17px; line-height: 1.6; color: var(--ink);
  }
  .sage-thread .ornament {
    display: block; font-family: var(--font-display);
    font-size: 18px; color: var(--gold-2); margin-bottom: 14px;
  }
  .lib-secondary-eyebrow {
    margin-top: 44px;
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold-2);
    text-align: center;
  }
  .lib-secondary-sub {
    text-align: center;
    font-family: var(--font-body); font-style: italic;
    font-size: 15px; color: var(--muted-2);
    margin: 8px auto 18px; max-width: 540px;
  }

  @media (max-width: 640px) {
    .library-panel { padding: 28px 22px; }
    .library-list li { grid-template-columns: 1fr; gap: 8px; }
    .library-list .lib-name { font-size: 12px; letter-spacing: 2px; }
    .library-list .lib-desc { font-size: 15px; }
    .sage-portrait { margin-bottom: 32px; padding: 24px 0 28px; }
    .sage-pull { font-size: 17px; padding: 16px 18px; }
    .sage-bio { font-size: 16px; }
    .sage-head { gap: 8px 14px; }
  }

  /* === STRENGTH + GROWTH CARDS — psychological readings in the compass === */
  .strength-list, .growth-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 12px 0 0;
  }
  @media (min-width: 720px) {
    .strength-list, .growth-list { grid-template-columns: 1fr 1fr; gap: 20px; }
  }
  .insight-card {
    background: var(--cream);
    border: 0.5px solid rgba(26,22,18,0.15);
    border-left: 2px solid var(--gold);
    padding: 18px 20px 16px;
    border-radius: 2px;
    position: relative;
  }
  .insight-card .ic-name {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .insight-card .ic-behavioral,
  .insight-card .ic-framing {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 10px;
  }
  .insight-card .ic-cost {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--sepia);
    margin: 0;
    padding-top: 10px;
    border-top: 0.5px dashed rgba(26,22,18,0.15);
  }
  .insight-card .ic-practice {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
    padding: 10px 14px 0;
    border-top: 0.5px dashed rgba(26,22,18,0.15);
    margin-top: 10px;
  }
  .insight-card .ic-practice-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-right: 6px;
    vertical-align: 1px;
  }

  /* === SOURCE PIN — inline attribution next to reading sections === */
  .source-pin {
    display: inline-block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13px;
    color: var(--gold-2);
    opacity: 0.85;
    margin-top: 4px;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
  }
  .rs-label + .source-pin { display: block; text-align: center; margin-top: -8px; margin-bottom: 14px; }

  /* === Image export styling — applied during PNG render === */
  body.exporting #birthForm { display: none !important; }
  body.exporting details.deep { background: var(--bg-2) !important; }
  body.exporting details.deep > .deep-body { display: block !important; }
  body.exporting details.deep > summary::after { display: none; }
  body.exporting .actions { display: none !important; }

  /* === Print stylesheet === */
  @media print {
    body { background: #fff; color: #000; }
    .card, details.deep { background: #fff; border-color: #999; page-break-inside: avoid; }
    .headline { background: #fafafa; }
    .headline .identity, .headline .who, .headline .tldr, .stat .stat-value, .verdict-cell .name, .trait-block p, table td, table th { color: #000; }
    .headline .identity .planet, .headline .identity .month, .stat .stat-glyph, .stat .stat-label, .verdict-cell .label, .trait-block h3, summary { color: #555; }
    details.deep { open: true; }
    details.deep > summary::after { display: none; }
    details.deep > .deep-body { display: block !important; }
    .actions, .card button { display: none; }
    #birthForm { display: none; }
    .read-progress { display: none; }
    .chip-nav, .share-section, .share-stage { display: none !important; }
  }

  /* === READABILITY ENHANCEMENTS (added 2026-05-18) === */
  /* Anchor jumps land below the nav strip, not flush with viewport edge */
  html { scroll-padding-top: 24px; }

  /* Universal keyboard focus ring — gold halo, no layout shift */
  *:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
  }
  /* Don't double-ring inputs that already have their own focus style */
  input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

  /* Reading progress bar — thin gold sliver at top, fills as you scroll */
  .read-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px;
    background: transparent; z-index: 100; pointer-events: none;
  }
  .read-progress::after {
    content: ''; display: block; height: 100%; width: var(--rp, 0%);
    background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
    transition: width 0.08s linear;
  }
  @media (prefers-reduced-motion: reduce) {
    .read-progress::after { transition: none; }
  }

  /* === CHIP NAV (sticky section nav, revealed after reading loads) === */
  /* Escapes .wrap's max-width so the strip can span the full viewport on desktop
     and all 11 chips fit without horizontal scroll being required. */
  .chip-nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(240, 230, 210, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 0.5px solid rgba(26,22,18,0.18);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 28px;
    padding: 10px 0 11px;
    display: none; opacity: 0;
    transition: opacity 0.35s ease;
  }
  .chip-nav.visible { display: block; opacity: 1; }
  /* Edge fade overlays — gradient hints at horizontal scrollability when needed. */
  .chip-nav::before, .chip-nav::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 36px;
    pointer-events: none; z-index: 2; opacity: 0; transition: opacity 0.2s ease;
  }
  .chip-nav::before { left: 0;  background: linear-gradient(90deg, rgba(240,230,210,0.95), rgba(240,230,210,0)); }
  .chip-nav::after  { right: 0; background: linear-gradient(270deg, rgba(240,230,210,0.95), rgba(240,230,210,0)); }
  .chip-nav.can-scroll-left::before  { opacity: 1; }
  .chip-nav.can-scroll-right::after  { opacity: 1; }
  .chip-nav-inner {
    display: flex; gap: 8px; justify-content: center;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    max-width: 100%;
  }
  /* When chips overflow the viewport, switch from centered to left-aligned so
     scroll position is meaningful. JS toggles .overflow when needed. */
  .chip-nav.overflow .chip-nav-inner { justify-content: flex-start; }
  .chip-nav-inner::-webkit-scrollbar { display: none; }
  .chip-nav .chip {
    flex: 0 0 auto;
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase;
    color: var(--ink); background: transparent;
    border: 0.5px solid rgba(26,22,18,0.22);
    border-radius: 999px;
    padding: 8px 13px;
    cursor: pointer; white-space: nowrap;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  }
  .chip-nav .chip:hover { border-color: var(--gold-2); color: var(--gold-2); }
  .chip-nav .chip.active {
    background: var(--ink); color: var(--cream); border-color: var(--ink);
  }
  @media (max-width: 720px) {
    .chip-nav { margin-bottom: 22px; padding: 8px 0 9px; }
    .chip-nav .chip { font-size: 9px; letter-spacing: 1.6px; padding: 7px 11px; }
    .chip-nav-inner { gap: 6px; padding: 0 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .chip-nav, .chip-nav .chip, .chip-nav::before, .chip-nav::after { transition: none; }
    .chip-nav-inner { scroll-behavior: auto; }
  }

  /* === LANGUAGE SWITCHER (Google Translate-backed, custom UI) === */
  .nav-right { display: flex; align-items: center; gap: 22px; }
  .lang-switcher { position: relative; }
  .lang-toggle {
    background: transparent;
    border: 0.5px solid rgba(26,22,18,0.28);
    border-radius: 999px;
    padding: 7px 13px 7px 12px;
    font-family: var(--font-display);
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--ink); cursor: pointer;
    display: inline-flex; align-items: center; gap: 7px;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
  }
  .lang-toggle:hover { border-color: var(--gold-2); color: var(--gold-2); }
  .lang-toggle.open { border-color: var(--gold-2); color: var(--gold-2); }
  .lang-toggle .lang-globe { font-size: 13px; line-height: 1; }
  .lang-toggle .lang-caret { font-size: 8px; opacity: 0.7; margin-left: 2px; }

  .lang-menu {
    position: absolute; top: calc(100% + 10px); right: 0;
    background: var(--cream);
    border: 0.5px solid rgba(168,136,74,0.45);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(26,22,18,0.16), 0 2px 6px rgba(26,22,18,0.08);
    padding: 8px;
    min-width: 220px;
    z-index: 60;
    display: none;
    max-height: 68vh; overflow-y: auto;
  }
  .lang-menu.open { display: block; }
  .lang-menu button {
    width: 100%; background: transparent; border: none;
    padding: 10px 12px; cursor: pointer;
    font-family: var(--font-body); font-size: 14px;
    color: var(--ink); text-align: left;
    border-radius: 5px;
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px;
    transition: background 0.12s, color 0.12s;
  }
  .lang-menu button:hover { background: rgba(168,136,74,0.12); }
  .lang-menu button.active { background: var(--ink); color: var(--cream); }
  .lang-menu button.active .lang-native { color: var(--gold-3); }
  .lang-menu .lang-native { font-size: 13px; color: var(--muted); font-style: italic; }
  .lang-menu .lang-sep {
    margin: 6px 4px; height: 1px;
    background: rgba(26,22,18,0.12);
    border: 0;
  }

  /* Suppress Google Translate's default UI — we use our own */
  .goog-te-banner-frame.skiptranslate,
  .goog-te-gadget-icon,
  iframe.goog-te-banner-frame { display: none !important; visibility: hidden !important; }
  body { top: 0 !important; }
  .goog-te-gadget { font-size: 0 !important; height: 0 !important; overflow: hidden !important; }
  .goog-te-gadget .goog-te-combo { display: none !important; }
  .goog-tooltip, .goog-tooltip:hover, .goog-text-highlight {
    display: none !important; background: transparent !important; box-shadow: none !important;
    border-color: transparent !important;
  }
  #google_translate_element { position: absolute; left: -10000px; top: -10000px; width: 1px; height: 1px; overflow: hidden; }

  @media (max-width: 720px) {
    .nav-right { gap: 14px; }
    .lang-toggle { padding: 6px 10px; font-size: 9px; letter-spacing: 2px; }
    .lang-menu { right: -10px; min-width: 200px; }
  }

  /* === RTL OVERRIDES — auto-applied when Hebrew/Arabic/Persian active === */
  /* Drop cap flips to right edge. */
  [dir="rtl"] #rs_core_story .rs-body::first-letter,
  [dir="rtl"] #rs_core_story p:first-of-type::first-letter {
    float: right;
    padding: 6px 0 0 12px;
  }
  /* Trait-block headings — accent bar moves to right edge. */
  [dir="rtl"] .trait-block h3 {
    border-left: none;
    border-right: 2px solid var(--gold);
    padding-left: 0;
    padding-right: 10px;
  }
  /* Insight cards in career compass — accent bar on right. */
  [dir="rtl"] .insight-card {
    border-left: 0.5px solid rgba(26,22,18,0.15);
    border-right: 2px solid var(--gold);
  }
  /* Hero floating month-name corner labels — swap left/right corners. */
  [dir="rtl"] .hero-mark-float.tl { left: auto; right: -2%; text-align: right; }
  [dir="rtl"] .hero-mark-float.tr { right: auto; left: -2%; text-align: left; }
  [dir="rtl"] .hero-mark-float.ml { left: auto; right: -6%; }
  [dir="rtl"] .hero-mark-float.mr { right: auto; left: -6%; text-align: left; }
  [dir="rtl"] .hero-mark-float.bl { left: auto; right: -2%; text-align: right; }
  [dir="rtl"] .hero-mark-float.br { right: auto; left: -2%; text-align: left; }
  /* Inline-styled border-left sections — defeat inline style with !important. */
  [dir="rtl"] #rs_number,
  [dir="rtl"] #rs_need_now,
  [dir="rtl"] #pairReadingOutput,
  [dir="rtl"] #careerAuditResult {
    border-left-width: 0 !important;
    border-right-width: 3px !important;
    border-right-style: solid !important;
  }
  /* Lists with padding-left — flip to padding-right. */
  [dir="rtl"] #behavioralTells,
  [dir="rtl"] #needNow,
  [dir="rtl"] #careerList {
    padding-left: 0 !important;
    padding-right: 20px !important;
  }
  /* Seal caption + library list direction. */
  [dir="rtl"] .seal-card .seal-caption { text-align: right; }
  [dir="rtl"] .library-list li { direction: rtl; }
  /* Chip nav strip direction so active-chip auto-scroll works correctly. */
  [dir="rtl"] .chip-nav-inner { direction: rtl; }
  [dir="rtl"] .chip-nav::before { left: auto; right: 0;
    background: linear-gradient(270deg, rgba(240,230,210,0.95), rgba(240,230,210,0)); }
  [dir="rtl"] .chip-nav::after  { right: auto; left: 0;
    background: linear-gradient(90deg,  rgba(240,230,210,0.95), rgba(240,230,210,0)); }
  /* Lang menu drops on the opposite side in RTL. */
  [dir="rtl"] .lang-menu { right: auto; left: 0; }
  /* Hebrew/Arabic fallback fonts so translated body text renders in a proper script
     font instead of the browser default. Latin-only Cormorant still wins for any
     non-RTL glyphs that slip through. */
  html[dir="rtl"] body {
    font-family: 'Cormorant Garamond', 'Frank Ruhl Libre', 'David Libre', Georgia, 'Times New Roman', serif;
  }

  /* === SHARE SECTION (visible in-page panel) === */
  .share-section {
    background: linear-gradient(140deg, rgba(168,136,74,0.08), rgba(168,136,74,0.02));
    border: 1px solid var(--gold-2);
    border-radius: 6px;
    padding: 34px 30px 30px;
    margin: 40px 0 28px;
    text-align: center;
  }
  .share-section .share-eyebrow {
    font-family: var(--font-display); font-size: 11px; letter-spacing: 5px;
    color: var(--gold-2); text-transform: uppercase; margin-bottom: 8px;
  }
  .share-section h2 {
    font-family: var(--font-body); font-style: italic; font-weight: 500;
    font-size: 28px; color: var(--ink); margin: 0 0 10px;
  }
  .share-section .share-lede {
    font-family: var(--font-body); font-size: 16px; color: var(--ink);
    max-width: 480px; margin: 0 auto 22px; line-height: 1.55;
  }
  .share-section .share-tag {
    font-family: var(--font-body); font-style: italic; font-size: 13px;
    color: var(--gold-2); margin-bottom: 22px;
  }
  .share-format {
    display: inline-flex; gap: 6px; margin: 0 auto 22px;
    background: rgba(26,22,18,0.05); padding: 4px;
    border-radius: 999px; border: 0.5px solid rgba(168,136,74,0.35);
  }
  .format-toggle {
    background: transparent; border: none; cursor: pointer;
    font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--muted);
    padding: 8px 16px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.18s ease, color 0.18s ease;
  }
  .format-toggle .ft-icon { font-size: 14px; line-height: 1; opacity: 0.7; }
  .format-toggle .ft-sub { font-family: var(--font-body); font-style: italic; font-size: 11px; letter-spacing: 0; text-transform: none; opacity: 0.65; margin-left: 4px; }
  .format-toggle:hover { color: var(--ink); }
  .format-toggle.active {
    background: var(--ink); color: var(--cream);
  }
  .format-toggle.active .ft-sub { opacity: 0.75; color: var(--gold-3); }
  @media (max-width: 720px) {
    .share-format { flex-direction: column; border-radius: 14px; padding: 6px; }
    .format-toggle { justify-content: center; }
    .format-toggle .ft-sub { display: none; }
  }
  .share-btns {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px; max-width: 640px; margin: 0 auto;
  }
  .share-btn {
    background: var(--cream);
    border: 1px solid var(--gold-2);
    border-radius: 6px;
    padding: 16px 14px 14px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  }
  .share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,136,74,0.22); border-color: var(--gold); }
  .share-btn .sb-glyph { font-family: 'David Libre', serif; font-size: 32px; color: var(--gold); line-height: 1; margin-bottom: 8px; }
  .share-btn .sb-title { font-family: var(--font-display); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
  .share-btn .sb-sub { font-family: var(--font-body); font-style: italic; font-size: 12px; color: var(--muted); line-height: 1.4; }
  .share-btn:disabled, .share-btn.busy { opacity: 0.6; cursor: wait; }
  .share-status {
    margin-top: 18px; min-height: 18px;
    font-family: var(--font-body); font-style: italic; font-size: 13px;
    color: var(--gold-2);
  }
  .share-link-row { margin-top: 18px; text-align: center; }
  .share-link-btn {
    background: transparent;
    border: 0.5px dashed rgba(168,136,74,0.55);
    border-radius: 999px;
    padding: 12px 22px;
    cursor: pointer;
    font-family: inherit; color: var(--ink);
    display: inline-flex; align-items: center; gap: 10px;
    transition: border-color 0.18s, background 0.18s;
  }
  .share-link-btn:hover { border-color: var(--gold); background: rgba(168,136,74,0.06); }
  .share-link-btn .slb-icon { font-size: 16px; color: var(--gold-2); }
  .share-link-btn .slb-label { font-family: var(--font-display); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
  .share-link-btn .slb-sub { font-family: var(--font-body); font-style: italic; font-size: 12px; color: var(--muted); }
  @media (max-width: 720px) {
    .share-link-btn { flex-wrap: wrap; justify-content: center; padding: 12px 18px; }
    .share-link-btn .slb-sub { width: 100%; font-size: 11px; }
  }
  @media (max-width: 720px) {
    .share-section { padding: 28px 20px 24px; }
    .share-section h2 { font-size: 24px; }
    .share-btns { grid-template-columns: 1fr; }
  }

  /* === SHARE CARD TEMPLATES (1080×1080, rendered off-screen) === */
  .share-stage {
    position: fixed; left: -10000px; top: 0;
    width: 1080px; height: 1080px;
    pointer-events: none;
  }
  .share-card {
    width: 1080px; height: 1080px;
    box-sizing: border-box;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(168,136,74,0.10), transparent 60%),
      radial-gradient(ellipse at 50% 100%, rgba(107,79,44,0.10), transparent 55%),
      #f0e6d2;
    color: #1a1612;
    font-family: 'Cormorant Garamond', Georgia, serif;
    padding: 90px 80px 80px;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
  }
  .share-card::before {
    content: ''; position: absolute; inset: 28px;
    border: 1px solid rgba(168,136,74,0.45);
    pointer-events: none;
  }
  .share-card::after {
    content: ''; position: absolute; inset: 36px;
    border: 0.5px solid rgba(168,136,74,0.25);
    pointer-events: none;
  }
  .share-card .sc-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 16px; letter-spacing: 9px; text-transform: uppercase;
    color: #8a6e34; text-align: center; margin-bottom: 26px;
    position: relative; z-index: 2;
  }
  .share-card .sc-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-weight: 500;
    font-size: 64px; line-height: 1.15; color: #1a1612;
    text-align: center; margin: 0 0 32px;
    position: relative; z-index: 2;
  }
  .share-card .sc-hebrew {
    font-family: 'Frank Ruhl Libre', 'David Libre', serif;
    font-size: 220px; line-height: 1; color: #a8884a;
    text-align: center; margin: 20px 0;
    position: relative; z-index: 2;
  }
  .share-card .sc-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px; line-height: 1.5; color: #1a1612;
    text-align: center; margin: 0 auto;
    max-width: 820px; position: relative; z-index: 2;
  }
  .share-card .sc-body.italic { font-style: italic; }
  /* v17.7 — name-card divider + personal soul-reading line */
  .share-card .sc-rule {
    text-align: center;
    color: #a8884a;
    font-size: 26px;
    letter-spacing: 8px;
    margin: 22px auto 18px;
    opacity: 0.55;
    position: relative; z-index: 2;
  }
  .share-card .sc-soul {
    font-style: normal;
    font-size: 26px;
    line-height: 1.55;
    color: #2a2018;
    max-width: 800px;
  }
  .share-card .sc-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-size: 42px; line-height: 1.45; color: #1a1612;
    text-align: center; margin: 0 auto;
    max-width: 860px; position: relative; z-index: 2;
  }
  .share-card .sc-quote::before, .share-card .sc-quote::after {
    color: #a8884a; font-size: 64px; line-height: 0;
    position: relative; top: 18px;
  }
  .share-card .sc-quote::before { content: '“'; margin-right: 8px; }
  .share-card .sc-quote::after  { content: '”'; margin-left: 8px; }
  .share-card .sc-stats {
    display: flex; justify-content: center; gap: 40px;
    margin: 36px 0 28px; position: relative; z-index: 2;
  }
  .share-card .sc-stat { text-align: center; }
  .share-card .sc-stat .sc-stat-label {
    font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 3px;
    text-transform: uppercase; color: #6b4f2c; margin-bottom: 8px;
  }
  .share-card .sc-stat .sc-stat-value {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px; color: #1a1612;
  }
  .share-card .sc-spacer { flex: 1; }
  .share-card .sc-footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 0.5px solid rgba(26,22,18,0.22);
    text-align: center; position: relative; z-index: 2;
  }
  .share-card .sc-footer .sc-brand {
    font-family: 'Cinzel', serif;
    font-size: 18px; letter-spacing: 7px;
    color: #1a1612; margin-bottom: 6px;
  }
  .share-card .sc-footer .sc-url {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic; font-size: 20px; color: #8a6e34;
  }
  .share-card .sc-footer .sc-handle {
    font-family: 'Cinzel', serif;
    font-size: 12px; letter-spacing: 4px;
    color: #8a6e34; margin-top: 6px;
  }
  .share-card .sc-seal {
    position: absolute; bottom: 60px; right: 60px;
    width: 90px; height: 90px; opacity: 0.85; z-index: 1;
  }
  /* Quote-card variant uses a centered seal at top */
  .share-card.sc-variant-quote { justify-content: center; padding-top: 140px; }
  .share-card.sc-variant-quote .sc-eyebrow { margin-bottom: 60px; }

  /* === STORY FORMAT (1080×1920) — opt-in via .story on stage === */
  .share-stage.story { width: 1080px; height: 1920px; }
  .share-stage.story .share-card {
    width: 1080px; height: 1920px;
    padding: 200px 80px 200px; /* top + bottom safe zones for IG/WhatsApp Stories UI */
    justify-content: center;
  }
  .share-stage.story .share-card::before { inset: 60px 28px; }
  .share-stage.story .share-card::after  { inset: 70px 36px; }
  .share-stage.story .sc-eyebrow      { font-size: 22px; letter-spacing: 12px; margin-bottom: 50px; }
  .share-stage.story .sc-title        { font-size: 94px; line-height: 1.12; margin: 0 0 60px; }
  .share-stage.story .sc-hebrew       { font-size: 340px; margin: 40px 0; }
  .share-stage.story .sc-body         { font-size: 48px; line-height: 1.5; max-width: 880px; }
  .share-stage.story .sc-soul         { font-size: 38px; line-height: 1.55; max-width: 880px; }
  .share-stage.story .sc-rule         { font-size: 38px; margin: 32px auto 28px; }
  .share-stage.story .sc-quote        { font-size: 60px; line-height: 1.45; max-width: 900px; }
  .share-stage.story .sc-quote::before, .share-stage.story .sc-quote::after { font-size: 96px; top: 28px; }
  .share-stage.story .sc-stats        { gap: 60px; margin: 60px 0 50px; }
  .share-stage.story .sc-stat .sc-stat-label { font-size: 18px; letter-spacing: 5px; margin-bottom: 14px; }
  .share-stage.story .sc-stat .sc-stat-value { font-size: 42px; }
  .share-stage.story .sc-footer { padding-top: 50px; }
  .share-stage.story .sc-footer .sc-brand  { font-size: 28px; letter-spacing: 12px; margin-bottom: 12px; }
  .share-stage.story .sc-footer .sc-url    { font-size: 32px; }
  .share-stage.story .sc-footer .sc-handle { font-size: 18px; letter-spacing: 6px; margin-top: 12px; }

/* ============================================================
   v18.9 — INLINE-PROSE HERO FORM
   The description sentence IS the form. Each .ip is an elegant
   inline placeholder; click opens a floating popover.
   States: whisper -> active -> filled -> all-filled (CTA solid).
============================================================ */
.hero-lede-prose {
  font-size: 17px;
  line-height: 1.6;
  max-width: 42em;
}
@media (max-width: 720px) {
  .hero-lede-prose { font-size: 17px; line-height: 1.7; }
}
.hero-lede-prose .ip {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 0 6px 2px 6px;
  margin: 0 1px;
  border-bottom: 0.5px solid rgba(168, 136, 74, 0.55);
  color: rgba(138, 110, 52, 0.85);
  font-style: italic;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.4s ease;
  white-space: nowrap;
  border-radius: 1px;
}
.hero-lede-prose .ip:hover {
  color: #8a6e34;
  border-bottom-color: #a8884a;
}
.hero-lede-prose .ip:focus {
  outline: none;
  color: #8a6e34;
  border-bottom-color: #a8884a;
}
.hero-lede-prose .ip.active {
  color: #8a6e34;
  border-bottom: 1px solid #a8884a;
  background: rgba(168, 136, 74, 0.06);
}
.hero-lede-prose .ip.filled {
  color: #1a1612;
  font-style: normal;
  border-bottom-color: transparent;
  background: transparent;
}
.hero-lede-prose .ip.flash {
  animation: ipFlash 0.95s ease-out;
}
@keyframes ipFlash {
  0%, 100% { background: transparent; }
  30%, 65% { background: rgba(168, 136, 74, 0.18); }
}
.hero-lede-prose .ip-label { display: inline-block; }

/* ----- floating popover ----- */
.prose-popover {
  position: absolute;
  z-index: 2000;
  display: none;
  background: #faf6ed;
  border: 1px solid var(--gold-2, #a8884a);
  box-shadow: 0 22px 56px rgba(26, 22, 18, 0.22);
  padding: 18px 20px 14px;
  min-width: 300px;
  max-width: 360px;
  border-radius: 4px;
}
.prose-popover.open { display: block; }
.prose-popover .pp-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted, #6b4f2c);
  margin-bottom: 14px;
  text-align: center;
}
.prose-popover .pp-body input[type="date"],
.prose-popover .pp-body input[type="time"],
.prose-popover .pp-body input[type="text"] {
  width: 100%;
  padding: 10px 4px;
  border: none;
  border-bottom: 1px solid var(--gold-2, #a8884a);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: #1a1612;
  outline: none;
  box-sizing: border-box;
}
.prose-popover .pp-body input:focus {
  border-bottom-color: var(--gold, #8a6e34);
}
.prose-popover .pp-body input:disabled {
  opacity: 0.45;
}
.prose-popover .pp-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted, #6b4f2c);
}
.prose-popover .pp-checkbox-row label { cursor: pointer; }
.prose-popover .pp-name-preview {
  margin-top: 10px;
  min-height: 24px;
  font-size: 18px;
  color: var(--gold, #8a6e34);
  letter-spacing: 1px;
}
.prose-popover .pp-name-preview .he {
  font-family: 'Frank Ruhl Libre', 'David Libre', serif;
  font-size: 22px;
}
.prose-popover .pp-hint {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted, #6b4f2c);
  font-style: italic;
  line-height: 1.5;
}
.prose-popover .pp-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 0.5px solid var(--line, rgba(26, 22, 18, 0.12));
}
.prose-popover .pp-btn {
  padding: 8px 18px;
  background: #1a1612;
  color: #f0e6d2;
  border: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  border-radius: 1px;
  transition: opacity 0.2s ease;
}
.prose-popover .pp-btn:hover { opacity: 0.85; }
.prose-popover .pp-btn.secondary {
  background: transparent;
  color: var(--muted, #6b4f2c);
}

/* ----- CTA: dim until all 4 placeholders are filled (State D) ----- */
.hero-cta.hero-cta-progressive {
  opacity: 0.55;
  transition: opacity 0.45s ease, background 0.45s ease, color 0.45s ease;
}
.hero-cta.hero-cta-progressive.hero-cta-ready {
  opacity: 1;
  background: var(--gold, #8a6e34);
  color: #faf6ed;
  box-shadow: 0 0 24px rgba(168, 136, 74, 0.4), 0 0 48px rgba(168, 136, 74, 0.18);
}

/* ============================================================
   v18.10 — MAGICAL HERO INTERACTIONS
   User input animates the dial: birth-month letter lights up,
   Hebrew name materializes as a faint watermark, the whole dial
   intensifies as more fields are filled, central א pulses when
   the reading is ready. Ambient golden dust drifts in the bg.
   All effects use the existing brand palette (gold #a8884a,
   warm ochre #f0d080, ink #1a1612, parchment #f0e6d2).
============================================================ */

/* --- Dial letters: lit by the user's Hebrew birth month --- */
.dial-letter {
  transition: fill 0.7s ease, filter 0.7s ease;
}
.dial-letter.lit {
  fill: #c89a3e !important;
  filter:
    drop-shadow(0 0 3px rgba(240, 198, 110, 0.95))
    drop-shadow(0 0 10px rgba(200, 154, 62, 0.7))
    drop-shadow(0 0 22px rgba(168, 136, 74, 0.5));
  animation: dialLetterLit 4s ease-in-out infinite;
}
@keyframes dialLetterLit {
  0%, 100% {
    filter:
      drop-shadow(0 0 3px rgba(240, 198, 110, 0.85))
      drop-shadow(0 0 10px rgba(200, 154, 62, 0.6))
      drop-shadow(0 0 22px rgba(168, 136, 74, 0.4));
  }
  50% {
    filter:
      drop-shadow(0 0 5px rgba(240, 198, 110, 1))
      drop-shadow(0 0 16px rgba(200, 154, 62, 0.8))
      drop-shadow(0 0 32px rgba(168, 136, 74, 0.6));
  }
}

/* --- Central א: gentle breath when all 4 fields filled --- */
.dial-center-alef {
  transition: fill 0.8s ease, filter 0.8s ease;
}
.dial-center-alef.ready {
  fill: #f5d790 !important;
  animation: alefBreath 3.6s ease-in-out infinite;
}
@keyframes alefBreath {
  0%, 100% {
    filter:
      drop-shadow(0 0 6px rgba(245, 215, 144, 0.85))
      drop-shadow(0 0 20px rgba(168, 136, 74, 0.6));
  }
  50% {
    filter:
      drop-shadow(0 0 14px rgba(245, 215, 144, 1))
      drop-shadow(0 0 36px rgba(168, 136, 74, 0.85))
      drop-shadow(0 0 64px rgba(168, 136, 74, 0.35));
  }
}

/* --- Hebrew name watermark: materializes as user types name --- */
.hero-name-watermark {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(-32%);
  font-family: 'Frank Ruhl Libre', 'David Libre', serif;
  font-size: 180px;
  line-height: 1;
  color: #a8884a;
  letter-spacing: 6px;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  text-shadow:
    0 0 24px rgba(168, 136, 74, 0.4),
    0 0 56px rgba(168, 136, 74, 0.2);
  filter: blur(0.4px);
  z-index: 1;
  transition: opacity 0.9s ease, transform 0.9s ease, font-size 0.6s ease;
  white-space: nowrap;
  direction: rtl;
}
.hero-name-watermark.visible {
  opacity: 0.16;
  transform: translateY(-50%) translateX(-32%) translateZ(0);
}
.hero-name-watermark.short { font-size: 220px; }     /* 1-3 chars */
.hero-name-watermark.medium { font-size: 170px; }    /* 4-5 chars */
.hero-name-watermark.long { font-size: 130px; letter-spacing: 3px; }    /* 6-8 chars */
.hero-name-watermark.xlong { font-size: 96px; letter-spacing: 2px; }    /* 9+ chars */
@media (max-width: 920px) {
  .hero-name-watermark { font-size: 120px; }
  .hero-name-watermark.short { font-size: 150px; }
  .hero-name-watermark.long { font-size: 90px; }
  .hero-name-watermark.xlong { font-size: 70px; }
}

/* --- Hero mark: progressively intensifies as more fields are filled --- */
.hero-mark {
  transition: filter 1.1s ease;
  position: relative;
  z-index: 2;
}
.hero-mark.mark-partial-1 { filter: brightness(1.05) saturate(1.06); }
.hero-mark.mark-partial-2 { filter: brightness(1.10) saturate(1.13); }
.hero-mark.mark-partial-3 { filter: brightness(1.15) saturate(1.18); }
.hero-mark.mark-ready {
  filter:
    brightness(1.20) saturate(1.22)
    drop-shadow(0 0 28px rgba(168, 136, 74, 0.28));
}

/* --- Ambient golden dust drifting across the hero --- */
.hero-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(240, 208, 128, 0.95) 0%, rgba(240, 208, 128, 0.45) 35%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: sparkleTwinkle 6s ease-in-out infinite;
  filter: blur(0.4px);
}
.sparkle.large {
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, rgba(245, 215, 144, 1) 0%, rgba(240, 208, 128, 0.5) 30%, transparent 70%);
}
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) translateY(0); }
  20%, 80% { opacity: 0.45; transform: scale(1) translateY(-3px); }
  50%      { opacity: 0.72; transform: scale(1.25) translateY(-6px); }
}

/* Hero content stays above the sparkles + watermark. */
.hero-inner { position: relative; z-index: 2; }
.hero-copy  { position: relative; z-index: 3; }

/* ============================================================
   v18.11 — Hebrew keyboard inside the name popover
============================================================ */
.pp-hebkb-toggle {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: transparent;
  border: 0.5px solid var(--gold-2, #a8884a);
  color: var(--gold, #8a6e34);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  border-radius: 2px;
  transition: background 0.18s ease;
}
.pp-hebkb-toggle:hover { background: rgba(168, 136, 74, 0.08); }
.pp-hebkb {
  margin-top: 12px;
  padding: 10px 6px;
  background: rgba(168, 136, 74, 0.05);
  border: 0.5px solid rgba(168, 136, 74, 0.18);
  border-radius: 4px;
}
.pp-hebkb-row {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.pp-hebkb-key {
  flex: 0 0 26px;
  height: 32px;
  padding: 0;
  background: #faf6ed;
  border: 0.5px solid rgba(168, 136, 74, 0.4);
  font-family: 'Frank Ruhl Libre', 'David Libre', serif;
  font-size: 18px;
  color: #1a1612;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.pp-hebkb-key:hover { background: rgba(168, 136, 74, 0.18); }
.pp-hebkb-key:active { transform: translateY(1px); }
.pp-hebkb-key.final {
  background: rgba(168, 136, 74, 0.14);
  color: var(--gold, #8a6e34);
}
.pp-hebkb-key.wide {
  flex: 1 1 44px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Cinzel', serif;
  min-width: 42px;
  height: 30px;
}
.pp-hebkb-util { margin-top: 8px; }

/* When the keyboard is shown, give the popover more horizontal room. */
.prose-popover:has(#pp-hebKeyboard[style*="display:block"]),
.prose-popover:has(#pp-hebKeyboard[style*="display: block"]) {
  max-width: 420px;
}

/* ============================================================
   v18.12 — SPARKLE TRAILS
   When a field fills, golden particles arc from the inline
   placeholder up to the dial. Each sparkle uses --tx/--ty CSS
   variables (set by JS from getBoundingClientRect deltas), and
   the curved arc comes from non-linear keyframe stops: y reaches
   only 20% of its translation when x is at 35%, producing a
   parabolic flight rather than a straight line.
============================================================ */
.sparkle-trail {
  position: absolute;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, rgba(245, 215, 144, 1) 0%, rgba(240, 198, 110, 0.55) 40%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 1500;
  animation: sparkleTrailFly 1.7s cubic-bezier(0.3, 0.05, 0.4, 1) forwards;
  filter: blur(0.4px);
  will-change: transform, opacity;
}
.sparkle-trail.lg {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(250, 230, 170, 1) 0%, rgba(245, 215, 144, 0.55) 35%, transparent 70%);
}
@keyframes sparkleTrailFly {
  0%   { opacity: 0;   transform: translate(0, 0) scale(0.4); }
  12%  { opacity: 1;   transform: translate(calc(var(--tx) * 0.10), calc(var(--ty) * 0.04)) scale(1); }
  38%  { opacity: 1;   transform: translate(calc(var(--tx) * 0.36), calc(var(--ty) * 0.22)) scale(1.15); }
  68%  { opacity: 0.95; transform: translate(calc(var(--tx) * 0.68), calc(var(--ty) * 0.68)) scale(1.2); }
  100% { opacity: 0;   transform: translate(var(--tx), var(--ty)) scale(0.55); }
}

/* ============ v18.17 — SOUL STORIES (full-screen phone experience) ============ */
.soul-stories {
  position: fixed; inset: 0; z-index: 9000;
  background:
    radial-gradient(ellipse 80% 60% at 50% 28%, rgba(168,136,74,0.10), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(168,136,74,0.08), transparent 60%),
    #1a1612;
  color: #f0e6d2;
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-body);
}
.soul-stories.open {
  display: flex;
  animation: ssStoriesIn 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes ssStoriesIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.stories-open { overflow: hidden; }

/* Ambient golden dust drifting across the stage */
.soul-stories::before, .soul-stories::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(245,215,144,0.55), transparent 60%),
    radial-gradient(1px 1px at 88% 32%, rgba(245,215,144,0.45), transparent 60%),
    radial-gradient(2px 2px at 32% 78%, rgba(245,215,144,0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 72% 62%, rgba(245,215,144,0.5), transparent 60%),
    radial-gradient(1px 1px at 22% 48%, rgba(245,215,144,0.4), transparent 60%),
    radial-gradient(1.4px 1.4px at 60% 88%, rgba(245,215,144,0.5), transparent 60%);
  opacity: 0.7;
  animation: ssDustDrift 20s linear infinite;
}
.soul-stories::after {
  animation-duration: 28s;
  animation-direction: reverse;
  opacity: 0.4;
  background-image:
    radial-gradient(1px 1px at 48% 22%, rgba(245,215,144,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 18% 72%, rgba(245,215,144,0.5), transparent 60%),
    radial-gradient(1px 1px at 82% 58%, rgba(245,215,144,0.5), transparent 60%);
}
@keyframes ssDustDrift {
  from { transform: translate(0,0); }
  to   { transform: translate(40px, -30px); }
}

.ss-stories-progress {
  display: flex;
  gap: 4px;
  padding: 14px 14px 0;
  position: relative;
  z-index: 3;
}
.ss-stories-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(168,136,74,0.22);
  border-radius: 1px;
  overflow: hidden;
}
.ss-stories-progress-bar > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(245,215,144,0.85), rgba(168,136,74,1));
  transition: width 0.3s ease;
}
.ss-stories-progress-bar.done > span { width: 100%; }
.ss-stories-progress-bar.active > span { width: 100%; }

.ss-stories-stage {
  flex: 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 16px 24px 80px;
  overflow: hidden;
}

.ss-story {
  position: absolute; inset: 16px 24px 80px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ss-story.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ss-story-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(245,215,144,0.75);
  margin-bottom: 24px;
}
.ss-story-eyebrow::before, .ss-story-eyebrow::after {
  content: '—';
  display: inline-block;
  margin: 0 10px;
  opacity: 0.6;
}

/* Story 1 — Today's Lens */
.ss-story-lens-body {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 5vw, 26px);
  line-height: 1.55;
  color: rgba(245,215,144,0.95);
  max-width: 32ch;
  letter-spacing: 0.3px;
}

/* Story 2 — Hebrew Name + Date */
.ss-story-name-hebrew {
  font-family: var(--font-hebrew);
  font-size: clamp(72px, 18vw, 128px);
  line-height: 1;
  letter-spacing: 2px;
  color: #f0e6d2;
  text-shadow:
    0 0 24px rgba(245,215,144,0.45),
    0 0 60px rgba(168,136,74,0.35);
  margin-bottom: 18px;
  display: inline-flex;
  gap: 4px;
}
.ss-story-name-hebrew .ssn-letter {
  opacity: 0;
  display: inline-block;
  transform: translateY(8px);
  animation: ssLetterIn 520ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes ssLetterIn {
  to { opacity: 1; transform: translateY(0); }
}
.ss-story-name-trans {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  color: rgba(240,230,210,0.75);
  margin-bottom: 24px;
  letter-spacing: 0.4px;
}
.ss-story-name-date {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(245,215,144,0.65);
}
.ss-story-name-date .ssn-hebrew {
  font-family: var(--font-hebrew);
  font-size: 18px;
}
.ss-story-name-date .ssn-civil {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
}

/* Story 3 — Defining */
.ss-story-defining {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1.4;
  color: #f0e6d2;
  max-width: 30ch;
  padding: 26px 0;
  border-top: 0.5px solid rgba(168,136,74,0.5);
  border-bottom: 0.5px solid rgba(168,136,74,0.5);
}

/* Story 4 — Shock */
.ss-story-shock {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1.4;
  color: #f0e6d2;
  max-width: 30ch;
}
.ss-story-shock-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(245,215,144,0.55);
  margin-bottom: 18px;
}

/* Story 5 — Name You Carry: giant Hebrew watermark fills the story panel */
.ss-story.ss-story-namecarried { position: relative; }
.ss-story-namecarried-watermark {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hebrew);
  /* sized to fit ~6 Hebrew chars across phone width with breathing room */
  font-size: clamp(80px, 24vw, 160px);
  color: rgba(168,136,74,0.18);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  letter-spacing: 4px;
  text-shadow: 0 0 50px rgba(245,215,144,0.25);
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
}
.ss-story-namecarried-inner {
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.ss-story-namecarried-meaning {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  color: rgba(245,215,144,0.85);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.ss-story-namecarried-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(240,230,210,0.92);
  max-width: 34ch;
}

/* Story 6 — Rare Insight */
.ss-story-rare-body {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(240,230,210,0.95);
  max-width: 34ch;
}

/* Story 7 — Soul-Root */
.ss-story-root-hebrew {
  font-family: var(--font-hebrew);
  font-size: clamp(40px, 11vw, 64px);
  color: #f0e6d2;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(245,215,144,0.35);
}
.ss-story-root-archetype {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(20px, 4.5vw, 26px);
  color: rgba(245,215,144,0.92);
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}
.ss-story-root-cliff {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240,230,210,0.65);
  max-width: 32ch;
  padding-top: 14px;
  border-top: 0.5px dotted rgba(168,136,74,0.4);
}

/* Story 8 — Seal Break */
.ss-story-seal-svg {
  width: 130px;
  height: 130px;
  margin-bottom: 22px;
  opacity: 0.95;
  animation: ssSealStamp 800ms cubic-bezier(0.34, 1.56, 0.64, 1) 200ms both;
  filter: drop-shadow(0 0 18px rgba(245,215,144,0.35));
}
.ss-story-seal-svg svg { width: 100%; height: 100%; }
@keyframes ssSealStamp {
  0%   { opacity: 0; transform: scale(2.2) rotate(-12deg); }
  60%  { opacity: 1; transform: scale(0.92) rotate(-2deg); }
  100% { opacity: 0.95; transform: scale(1) rotate(0deg); }
}
.ss-story-seal-line {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(18px, 4.4vw, 22px);
  color: rgba(245,215,144,0.95);
  margin-bottom: 28px;
  max-width: 26ch;
  line-height: 1.4;
}
.ss-story-seal-cta {
  background: linear-gradient(135deg, #d4a84a 0%, #a8884a 100%);
  color: #1a1612;
  border: none;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  box-shadow: 0 0 30px rgba(245,215,144,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ss-story-seal-cta:hover, .ss-story-seal-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(245,215,144,0.5);
}
.ss-story-seal-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: rgba(240,230,210,0.55);
  margin-top: 18px;
  max-width: 28ch;
  line-height: 1.5;
}

/* Skip button + tap zones */
.ss-stories-skip {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 0.5px solid rgba(168,136,74,0.35);
  color: rgba(245,215,144,0.55);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 3;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.ss-stories-skip:hover {
  color: rgba(245,215,144,0.9);
  border-color: rgba(168,136,74,0.7);
}
.ss-stories-taps {
  position: absolute;
  inset: 56px 0 80px;
  display: flex;
  z-index: 2;
  pointer-events: none;
}
.ss-stories-tap {
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ss-stories-tap-prev { flex: 28; }
.ss-stories-tap-next { flex: 72; }
.ss-stories-hint {
  position: absolute;
  bottom: 68px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,215,144,0.4);
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
  animation: ssHintPulse 2.6s ease-in-out infinite;
}
@keyframes ssHintPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.85; }
}
.soul-stories.no-hint .ss-stories-hint { display: none; }

/* ============================================================
   2026-06-01 — HERO BIRTH-INFO FORM BOX
   Clear, tappable replacement for the inline-prose fields.
   Each .hf-row IS the original .ip element (popover flow + magic
   preserved); these styles give it an obvious boxed-form look.
============================================================ */
.hero-form-box {
  max-width: 460px;
  margin: 16px 0 0;
  background: rgba(255, 252, 245, 0.55);
  border: 1px solid rgba(168, 136, 74, 0.40);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(60, 44, 16, 0.08);
  padding: 6px 10px 16px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.hf-header {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(138, 110, 52, 0.85);
  padding: 14px 12px 8px;
}
.hero-form-box .ip.hf-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 12px;
  margin: 0;
  border: none;
  border-top: 1px solid rgba(168, 136, 74, 0.18);
  border-radius: 8px;
  cursor: pointer;
  color: inherit;
  font-style: normal;
  white-space: normal;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-form-box .ip.hf-row:hover { background: rgba(168, 136, 74, 0.07); }
.hero-form-box .ip.hf-row:focus { outline: none; background: rgba(168, 136, 74, 0.10); box-shadow: inset 0 0 0 2px rgba(168, 136, 74, 0.45); }
.hero-form-box .ip.hf-row.active { background: rgba(168, 136, 74, 0.12); }
.hf-icon { width: 26px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: #a8884a; opacity: 0.9; }
.hf-ico-svg { width: 19px; height: 19px; display: block; }
.hero-form-box .ip.filled .hf-icon { color: #8a6e34; opacity: 1; }
.hf-field { font-size: 15px; color: #6b5a3a; flex: 0 0 96px; }
.hero-form-box .ip-label.hf-value {
  flex: 1 1 auto;
  font-style: italic;
  color: rgba(120, 104, 78, 0.75);
  text-align: left;
}
.hero-form-box .ip.filled .hf-value { color: #1a1612; font-style: normal; font-weight: 600; }
.hf-chev { flex: 0 0 auto; color: #a8884a; font-size: 20px; line-height: 1; }
.hf-chev::before { content: '\203A'; }
.hero-form-box .ip.filled .hf-chev::before { content: '\2713'; }
.hero-form-box .ip.hf-row.flash { animation: ipFlash 0.95s ease-out; }
.hero-form-box #heroReveal { display: block; width: calc(100% - 24px); margin: 16px auto 4px; }
@media (max-width: 720px) {
  .hero-form-box { max-width: 100%; }
  .hf-field { flex-basis: 84px; font-size: 14px; }
}
html[dir="rtl"] .hero-form-box .ip-label.hf-value { text-align: right; }


/* ============================================================
   2026-06-01 — SHARE AS CLIMAX (hero share beat)
============================================================ */
.share-section .share-hero { text-align: center; margin: 8px 0 22px; }
.share-hero-title { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; line-height: 1.2; color: #3a2c10; margin: 0 0 8px; }
.share-hero-lede { font-size: 17px; color: #6b5a3a; margin: 0 0 22px; font-style: italic; }
.share-hero-cta {
  display: inline-block; cursor: pointer;
  font-family: inherit; font-size: 17px; letter-spacing: 0.3px;
  color: #faf6ed; background: linear-gradient(180deg, #b2904f, #8a6e34);
  border: none; border-radius: 999px; padding: 16px 38px;
  box-shadow: 0 10px 28px rgba(138, 110, 52, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.share-hero-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(138, 110, 52, 0.45); }
.share-more { margin-top: 6px; border-top: 1px solid rgba(168, 136, 74, 0.18); padding-top: 8px; }
.share-more > summary {
  list-style: none; cursor: pointer; text-align: center;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(138, 110, 52, 0.8); padding: 10px 0;
}
.share-more > summary::-webkit-details-marker { display: none; }
.share-more > summary::after { content: ' ▾'; }
.share-more[open] > summary::after { content: ' ▴'; }
@media (max-width: 720px) { .share-hero-title { font-size: 25px; } }

/* mobile Soul Stories — share card (climax) */
.ss-story-share-line { font-family: Georgia, serif; font-size: 26px; line-height: 1.35; color: #f0e6d2; text-align: center; margin: 18px 0 30px; }
.ss-story-share-cta {
  display: inline-block; cursor: pointer; font-family: inherit; font-size: 18px;
  color: #1a1612; background: linear-gradient(180deg, #d8b86a, #b2904f);
  border: none; border-radius: 999px; padding: 16px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); letter-spacing: 0.3px;
}

/* ── My Jewish Zodiac share card (self-contained inline SVG) ───────────── */
.share-card.sc-variant-zodiac { padding: 0; background: var(--bg); overflow: hidden; }
.share-card.sc-variant-zodiac::before,
.share-card.sc-variant-zodiac::after { display: none !important; content: none !important; }
.share-card.sc-variant-zodiac svg { display: block; width: 1080px; height: 1080px; }

/* ===== Free monthly Soul Forecast opt-in (lead capture) ===== */
.forecast-optin {
  position: relative;
  max-width: 560px;
  margin: 28px auto 8px;
  padding: 26px 28px 24px;
  background: rgba(40, 30, 18, 0.55);
  border: 1px solid rgba(168, 136, 74, 0.35);
  border-radius: 12px;
  text-align: center;
}
.forecast-optin[hidden] { display: none; }
.forecast-optin-x {
  position: absolute; top: 8px; right: 12px;
  background: none; border: none; color: #a8884a;
  font-size: 22px; line-height: 1; cursor: pointer; opacity: 0.7;
}
.forecast-optin-x:hover { opacity: 1; }
.forecast-optin-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: #e9d9b0; font-size: 1.25rem; margin: 0 0 6px;
}
.forecast-optin-lede { color: #c9b58a; font-size: 0.92rem; margin: 0 0 16px; }
.forecast-optin-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.forecast-optin-form input[type="email"] {
  flex: 1 1 240px; min-width: 200px;
  padding: 11px 14px; border-radius: 8px;
  border: 1px solid rgba(168, 136, 74, 0.45);
  background: rgba(20, 15, 9, 0.6); color: #f0e6d2; font-size: 0.95rem;
}
.forecast-optin-form button {
  padding: 11px 20px; border-radius: 8px; border: none; cursor: pointer;
  background: #a8884a; color: #1a1208; font-weight: 600; font-size: 0.95rem;
}
.forecast-optin-form button:hover { background: #bd9a55; }
.forecast-optin-form button:disabled { opacity: 0.6; cursor: default; }
.forecast-optin-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 0.9rem; color: #c9b58a; }
.forecast-optin-msg.is-ok { color: #9ccf8f; }
.forecast-optin-msg.is-error { color: #d99; }
