/* Lamplight (Dan, 2026-11-20: the orange buttons don't feel premium against
   the hand-painted world). From an art-direction review: the actions become
   little lanterns lit in the same warm gold as the clouds, with serif labels
   like the headlines; every action shares one shape; and the page's lemon
   gold warms to that same lamp gold so quotes, answers and buttons are one
   light. Loaded last. Tokens and color-mix only. */

:root {
  --lamp: color-mix(in oklab, color-mix(in oklab, var(--kind-reference) 58%, var(--pen)) 90%, var(--ink));
  --lamp-hi: color-mix(in oklab, color-mix(in oklab, var(--kind-reference) 66%, var(--pen)) 78%, var(--ink));
  --lamp-lo: color-mix(in oklab, var(--kind-reference) 46%, var(--pen));
  --act-r: var(--radius-xl);
}

/* ── primary: a lit lantern ── */
.hh .cta, .hero-foot .cta, .tm-price-row .cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px 17px;
  border-radius: var(--act-r);
  border: 1px solid color-mix(in oklab, var(--lamp-lo) 55%, var(--lamp));
  background: linear-gradient(180deg, color-mix(in oklab, var(--lamp) 86%, var(--lamp-hi)), color-mix(in oklab, var(--lamp) 90%, var(--lamp-lo)));
  color: var(--paper-sunk);
  font: 600 clamp(17px, calc(0.25vw + 13px), 20px)/1.15 var(--display);
  letter-spacing: 0.01em; text-decoration: none; text-shadow: none;
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, var(--ink) 50%, transparent),
    0 10px 28px -12px color-mix(in oklab, var(--lamp) 60%, transparent);
  filter: none;
  transition: transform 320ms var(--ease-calm), box-shadow 420ms var(--ease-calm);
}
.hh .cta .cta-arr, .hero-foot .cta .cta-arr, .tm-price-row .cta .cta-arr { display: inline-block; margin-left: 0.15em; font-family: var(--body); font-weight: 400; transform: translateY(-0.05em); transition: transform 320ms var(--ease-calm); }
.hh .cta:hover, .hero-foot .cta:hover, .tm-price-row .cta:hover {
  filter: brightness(1.03); transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, var(--ink) 60%, transparent),
    0 14px 36px -12px color-mix(in oklab, var(--lamp) 80%, transparent);
}
.hh .cta:hover .cta-arr, .hero-foot .cta:hover .cta-arr, .tm-price-row .cta:hover .cta-arr { transform: translate(4px, -0.05em); }
.hh .cta:active, .hero-foot .cta:active, .tm-price-row .cta:active { transform: none; transition-duration: 90ms; }
.hh .cta:focus-visible, .hero-foot .cta:focus-visible, .tm-price-row .cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* the hero's legibility halo is for words on the painting, never for a lit
   button: on the label it smeared like mascara (Dan, 2026-11-20) */
.hh .cta, .hh .cta *, .hero-foot .cta, .hero-foot .cta *, .tm-price-row .cta, .tm-price-row .cta * { text-shadow: none !important; }
.hh .cta, .hero-foot .cta, .tm-price-row .cta { -webkit-font-smoothing: antialiased; }

/* ── secondary: a line of lamplight under words ── */
.hh .act-quiet, .hero-foot .act-quiet {
  color: var(--ink); text-decoration: none;
  font: 500 clamp(16px, calc(0.25vw + 12px), 19px)/1.2 var(--body);
  padding: 0 0 5px;
  border-bottom: 1px solid color-mix(in oklab, var(--lamp) 45%, transparent);
  transition: color 260ms var(--ease-calm), border-color 260ms var(--ease-calm);
}
.hh .act-quiet:hover, .hero-foot .act-quiet:hover { color: color-mix(in oklab, var(--lamp) 55%, var(--ink)); border-bottom-color: var(--lamp); }

/* ── top bar Start: the same shape, an unlit lantern that lights on hover ── */
.frame-door {
  padding: 9px 18px 10px !important;
  border-radius: var(--act-r);
  border: 1px solid color-mix(in oklab, var(--lamp) 45%, transparent);
  background: color-mix(in oklab, var(--lamp) 9%, color-mix(in oklab, var(--paper) 60%, transparent));
  color: color-mix(in oklab, var(--lamp) 78%, var(--ink)) !important;
  font: 600 var(--text-sm)/1 var(--display); letter-spacing: 0;
  text-shadow: none;
  box-shadow: 0 0 24px -12px color-mix(in oklab, var(--lamp) 40%, transparent);
  transition: background-color 280ms var(--ease-calm), border-color 280ms var(--ease-calm), box-shadow 380ms var(--ease-calm), color 280ms var(--ease-calm);
}
.frame-door:hover {
  color: var(--lamp) !important;
  border-color: color-mix(in oklab, var(--lamp) 75%, transparent);
  background: color-mix(in oklab, var(--lamp) 16%, color-mix(in oklab, var(--paper) 60%, transparent));
  box-shadow: 0 0 32px -8px color-mix(in oklab, var(--lamp) 55%, transparent);
}
.frame-door:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

/* ── one gold: the lemon highlights warm to lamplight ── */
.hh .hh-quote, .ud .ud-cap em, .ud-less b, .cq-a, .ob-eyebrow, .org-offer, .tm-price,
.tm-row.tm-hdr .tm-ours, .org-world-label { color: var(--lamp); }
.cq-answer::before, .tm-row:not(.tm-hdr) .tm-ours::before { background: var(--lamp); box-shadow: none; }
.ob-tab[aria-selected="true"] { border-bottom-color: var(--lamp); }
.ob-tab[aria-selected="true"] .ob-num { color: var(--lamp); }
.ob-tab:focus-visible, .ob-arrow:focus-visible { outline-color: var(--lamp); }

@media (prefers-reduced-motion: reduce) {
  .hh .cta, .hero-foot .cta, .tm-price-row .cta, .frame-door { transition: none; }
  .hh .cta:hover, .hero-foot .cta:hover, .tm-price-row .cta:hover { transform: none; }
}

/* ── one colour system for the words (design pass, 2026-11-21) ──────────
   Gold is the visitor's voice and our promises: every section's question
   above its headline, the short promise lines, and the answers. White is
   for headlines only; supporting copy is the quiet ink. The secondary blue
   steps out of the type entirely (it stays only in drawings, where it is a
   colour of the art, not a voice), so the page reads in two tones, not
   three. */
:is(.et-ask, .fb-ask, .bd-ask, .org-ask, .ap-ask, .tm-ask) { color: var(--lamp); font-style: italic; }
.call-lines { color: var(--lamp); }
.yours-sub, .store-deck, .breath-line, .how-after { color: var(--ink-2); }
.more .room-line, .fine.fine-blue, .ef-name { color: var(--ink-3); }

/* the page is dark by design: phone browsers with automatic dark mode leave
   it as drawn, so the lantern labels stay dark on gold (Dan, 2026-11-21) */
:root { color-scheme: dark; }
@media (max-width: 760px) { .hh .cta, .hero-foot .cta { font-weight: 700; letter-spacing: 0.005em; } }

/* Talk to us about your organization: a larger label set together with its
   arrow, so the gold button reads full instead of large and empty (Dan, 2026-11-21) */
.tm-price-row .cta { box-sizing: border-box; justify-content: center; text-align: center; gap: 0.45em; padding: 14px 28px; font-size: clamp(19px, calc(0.4vw + 14px), 22px); }
.tm-price-row .cta .cta-arr { margin-left: 0; }
@media (max-width: 760px) {
  .tm-price-row { justify-content: center; text-align: center; }
  .tm-price-row .cta { display: block; width: 100%; max-width: 360px; padding: 16px 18px; font-size: 19px; line-height: 1.25; margin-inline: auto; }
  .tm-price-row .cta .cta-arr { margin-left: 0.3em; }
}

/* the price line and its button close the panel the way its heading opens it:
   centered under the table, the gold promise first and the button directly
   below, so the eye ends on the one action instead of hunting the left edge
   (design pass, 2026-11-21) */
@media (min-width: 761px) {
  .tm-price-row { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 0.9em; margin-top: clamp(28px, 2.6vw, 40px); }
  .tm-price { max-width: 46ch; text-wrap: balance; }
}

/* the action first, the pricing under it as a quiet reassurance (Dan,
   2026-11-21: "maybe the text works better below the button"), every width */
.tm-price-row { flex-direction: column; align-items: center; text-align: center; gap: 0.8em; }
.tm-price-row .cta { order: 1; }
.tm-price-row .tm-price { order: 2; max-width: 46ch; font-size: var(--text-md); text-wrap: balance; }
@media (max-width: 760px) { .tm-price-row .tm-price { font-size: 17px; line-height: 1.45; max-width: 30ch; } }

/* the arrow travels with the last word, never alone on a line */
.cta-keep { white-space: nowrap; }

/* the setup line under the hero actions: what a visitor is about to do (2026-11-21) */
.hh .hh-setup { margin: 0.9em 0 0; font: var(--text-sm)/1.45 var(--body); color: var(--ink-2); }
@media (max-width: 760px) { .hh .hh-setup { order: 3; text-align: center; margin: 12px auto 0; font-size: 14px; } }
.hh .hh-setup { text-wrap: balance; }
