/* hl-talk.css — THE COMPANION's gold mark and its panel (3 Dec 2026). ONE AUTHORITY: ~/Bastion/Pipeline/kit/hl-talk.css; copies by
   hl-talk-sync. Ivory Season: gold a mark never a fill, cream never white, radius zero on the panel, shadow only as distance, no red.
   Self-contained (no house variables assumed), so it sits on any surface. Transform and opacity only; reduced motion holds still. */
.hl-talk-mark { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 2147483000;
  display: inline-flex; align-items: center; gap: 0; min-width: 48px; min-height: 48px; padding: 0 14px 0 14px; margin: 0;
  background: rgba(250, 248, 243, .94); color: #0C1E16; border: 1px solid rgba(197, 160, 89, .55); border-radius: 0; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-plate, 0 40px 90px -40px rgba(12, 30, 22, .45));
  font: 500 11px/1 Manrope, "Helvetica Neue", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translate3d(0, 8px, 0); transition: opacity .7s cubic-bezier(.165,.84,.44,1), transform .7s cubic-bezier(.165,.84,.44,1), border-color .2s cubic-bezier(.165,.84,.44,1); }
.hl-talk-mark.in { opacity: 1; transform: none; }
.hl-talk-mark:hover, .hl-talk-mark:focus-visible { border-color: #9A7A3A; }
.hl-talk-mark:focus-visible { outline: 2px solid #9A7A3A; outline-offset: 3px; }
.hl-talk-dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #c5a059; position: relative; flex: none; }
.hl-talk-dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(197, 160, 89, .5); animation: hl-talk-breathe 6s cubic-bezier(.165,.84,.44,1) infinite alternate; }
@keyframes hl-talk-breathe { from { transform: scale(.7); opacity: .2; } to { transform: scale(1.15); opacity: .8; } }
.hl-talk-word { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .4s cubic-bezier(.165,.84,.44,1), opacity .4s cubic-bezier(.165,.84,.44,1), margin .4s cubic-bezier(.165,.84,.44,1); }
.hl-talk-mark:hover .hl-talk-word, .hl-talk-mark:focus-visible .hl-talk-word, .hl-talk-mark[aria-expanded="true"] .hl-talk-word { max-width: 60px; opacity: 1; margin-left: 10px; }

.hl-talk-wrap { position: fixed; inset: 0; z-index: 2147483001; }
.hl-talk-wrap[hidden] { display: none; }
.hl-talk-scrim { position: absolute; inset: 0; background: rgba(12, 30, 22, .18); opacity: 0; transition: opacity .4s cubic-bezier(.165,.84,.44,1); }
.hl-talk-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px)); background: #faf8f3; border: 1px solid rgba(197, 160, 89, .35);
  box-shadow: var(--shadow-plate, 0 40px 90px -40px rgba(12, 30, 22, .45)); overflow: hidden; opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity .4s cubic-bezier(.165,.84,.44,1), transform .4s cubic-bezier(.165,.84,.44,1); }
.hl-talk-wrap.on .hl-talk-scrim { opacity: 1; }
.hl-talk-wrap.on .hl-talk-panel { opacity: 1; transform: none; }
.hl-talk-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #faf8f3; opacity: 0; transition: opacity .4s cubic-bezier(.165,.84,.44,1); }
.hl-talk-frame.in { opacity: 1; }
.hl-talk-x { position: absolute; top: 8px; right: 10px; z-index: 2; min-height: 40px; padding: 0 6px; background: none; border: 0; cursor: pointer; color: #5C7065;
  font: 500 10px/1 Manrope, "Helvetica Neue", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; opacity: 0; pointer-events: none; }
.hl-talk-wait { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 32px; z-index: 1; transition: opacity .4s cubic-bezier(.165,.84,.44,1); }
.hl-talk-wait.gone { opacity: 0; pointer-events: none; }
.hl-talk-wait.shown ~ .hl-talk-frame { opacity: 0; pointer-events: none; }
.hl-talk-panel:has(.hl-talk-wait.shown) .hl-talk-x, .hl-talk-panel:has(.hl-talk-wait:not(.gone)) .hl-talk-x { opacity: 1; pointer-events: auto; }
.hl-talk-line { margin: 0; font: 300 26px/1.2 "Cormorant Garamond", Garamond, Georgia, serif; color: #0C1E16; }
.hl-talk-care { margin: 0; font: italic 400 16px/1.45 "Cormorant Garamond", Garamond, Georgia, serif; color: #5C7065; max-width: 30em; }
.hl-talk-go { display: inline-flex; align-items: center; min-height: 44px; color: #0C1E16; text-decoration: none; border-bottom: 1px solid #c5a059;
  font: 600 11px/1 Manrope, "Helvetica Neue", system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 600px) {
  .hl-talk-panel { inset: 0; width: 100%; border: 0; transform: translate3d(0, 24px, 0); }
  .hl-talk-scrim { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-talk-mark, .hl-talk-panel, .hl-talk-scrim, .hl-talk-frame, .hl-talk-word { transition: none; }
  .hl-talk-dot::after { animation: none; }
}
@media print { .hl-talk-mark, .hl-talk-wrap { display: none !important; } }
