/* Safer Spaces Advisory
   Navy, white and restrained yellow from the approved logo, with the logo's sage green as support.
   Signature element: the logo's yellow sun reused as the play button on every video. */

:root {
  --navy: #0b2b50;
  --navy-deep: #071d37;
  --ink: #14243a;
  --muted: #4a5a6b;
  --white: #ffffff;
  --mist: #f2f5f1;
  --sage: #5e8a63;
  --sage-dark: #46694b;
  --sage-mist: #e3ebe4;
  --sun: #f2b630;
  --sun-soft: #fdf3d8;
  --line: #d5dde3;
  --err: #b3261e;
  --ok: #2f6b3a;

  --font-head: "Lexend", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --s-1: 0.9rem;
  --s0: 1.125rem;
  --s1: 1.3rem;
  --s2: 1.7rem;
  --s3: clamp(1.9rem, 3.4vw, 2.4rem);
  --s4: clamp(2.3rem, 5vw, 3.4rem);

  --wrap: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: var(--s0); line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy); border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 0.55em; letter-spacing: -0.01em; font-weight: 600; }
h1 { font-size: var(--s4); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--s3); }
h3 { font-size: var(--s1); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.narrow { max-width: 780px; }
.small { font-size: var(--s-1); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 0.85rem 1.35rem; border-radius: var(--r); border: 2px solid var(--navy);
  background: var(--navy); color: var(--white); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--navy-deep); }
.btn-sun:hover { background: #e0a51f; border-color: #e0a51f; color: var(--navy-deep); }
.btn-small { padding: 0.55rem 1rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Preview bar ---------- */
.preview-bar { background: var(--sun); color: var(--navy-deep); text-align: center; font-weight: 700; padding: 0.4rem 1rem; font-size: 0.95rem; }
.draft-note { background: var(--sun-soft); border-left: 4px solid var(--sun); padding: 0.7rem 1rem; font-size: 0.95rem; }
.draft-tag { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--sun); color: var(--navy-deep); font-weight: 700; font-size: 0.8rem; padding: 0.15rem 0.55rem; border-radius: 3px; }

/* ---------- Header ---------- */
.site-head { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand img { width: 210px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.1rem; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 0.3rem 0; border-bottom: 3px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--sage); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--sun); color: var(--navy); }
.nav-toggle { display: none; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-block; font: inherit; font-weight: 700; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: var(--r); padding: 0.4rem 0.9rem; cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 0.5rem var(--gap) 1rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--mist); }
  .site-nav .btn { margin-top: 0.8rem; }
  .brand img { width: 170px; }
}

/* ---------- Sections ---------- */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band-mist { background: var(--mist); }
.band-navy { background: var(--navy); color: #dbe5f0; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy a { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.8rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 40em; flex-basis: 100%; }
.page-top { padding: clamp(2rem, 5vw, 3.5rem) 0 1rem; }
.page-top h1 { font-size: var(--s3); }
.lead { font-size: var(--s1); color: var(--muted); max-width: 38em; }

/* ---------- Home hero ---------- */
.banner { margin: 0; background: #fbfbfa; border-bottom: 1px solid var(--line); }
.banner img { width: 100%; max-width: 1600px; margin: 0 auto; aspect-ratio: 4.2 / 1; object-fit: cover; object-position: center 48%; }
@media (max-width: 700px) { .banner img { aspect-ratio: 3 / 1; } }
.intro { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.intro h1 { max-width: 14ch; }
.paths { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.paths li { border-bottom: 1px solid var(--line); }
.paths a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0.2rem; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.paths a::after { content: ""; width: 0.65rem; height: 0.65rem; border-top: 3px solid var(--sage); border-right: 3px solid var(--sage); transform: rotate(45deg); flex: none; }
.paths a:hover { background: var(--mist); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Featured vlog ---------- */
.featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.featured .vthumb { border-radius: var(--r); }
.featured h2 { font-size: var(--s3); }
.featured .kicker { color: var(--sun); font-weight: 700; margin-bottom: 0.4rem; }
.featured ul { padding-left: 1.2rem; }
.featured li { margin-bottom: 0.3rem; }
.featured li::marker { color: var(--sun); }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }

/* ---------- Video cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; }
@media (max-width: 960px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vgrid { grid-template-columns: 1fr; } }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); border-radius: var(--r); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 29, 55, 0) 50%, rgba(7, 29, 55, 0.35)); }
.sun {
  position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 2;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--sun);
  display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.85);
}
.sun svg { width: 1.5rem; height: 1.5rem; fill: var(--navy-deep); margin-left: 3px; }
.vthumb:hover .sun, .vthumb:focus-visible .sun { transform: scale(1.08); }
.vcard.large .sun { width: 5rem; height: 5rem; right: auto; bottom: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.vcard.large .vthumb:hover .sun { transform: translate(-50%, -50%) scale(1.06); }
.vcard.large .sun svg { width: 2.2rem; height: 2.2rem; }
.vcard.large .vbody { display: none; }
.vbody { padding-top: 0.9rem; }
.vbody h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.vbody h3 a { text-decoration: none; color: var(--navy); }
.vbody h3 a:hover { text-decoration: underline; }
.vbody p { margin-bottom: 0.5rem; color: var(--muted); font-size: 1rem; }
.vmeta { display: flex; gap: 1rem; font-size: 0.92rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0.4rem 0 0; }
.tags li { font-size: 0.85rem; background: var(--sage-mist); color: var(--sage-dark); padding: 0.1rem 0.6rem; border-radius: 99px; }

/* ---------- Library filters ---------- */
.filters { display: grid; gap: 1rem; margin-bottom: 2rem; padding: 1.2rem; background: var(--mist); border-radius: var(--r); }
.search-row { display: flex; gap: 0.6rem; }
.search-row input { flex: 1; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.topic-chips a { display: inline-block; text-decoration: none; padding: 0.35rem 0.9rem; border-radius: 99px; border: 1.5px solid var(--navy); color: var(--navy); font-size: 0.95rem; background: #fff; }
.topic-chips a:hover { background: var(--sage-mist); }
.topic-chips a[aria-current="true"] { background: var(--navy); color: #fff; }
.result-count { color: var(--muted); margin-bottom: 1.2rem; }

/* ---------- Video page ---------- */
.player { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--r); overflow: hidden; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .play-btn { position: absolute; inset: 0; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #fff; font: inherit; }
.player .play-btn .sun { position: static; width: 5.5rem; height: 5.5rem; }
.player .play-btn .sun svg { width: 2.4rem; height: 2.4rem; }
.player .play-label { margin-top: 0.8rem; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.player .soon { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; padding: 1rem; }
.player .soon > * { background: rgba(7, 29, 55, 0.88); padding: 0.3rem 1rem; }
.player .soon strong { padding-top: 0.8rem; border-radius: 6px 6px 0 0; }
.player .soon span { padding-bottom: 0.8rem; border-radius: 0 0 6px 6px; }
.player .soon strong { font-family: var(--font-head); font-size: 1.4rem; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 960px) { .video-layout { grid-template-columns: 1fr; } }
.takeaways { background: var(--sun-soft); border-left: 5px solid var(--sun); padding: 1.2rem 1.4rem; border-radius: 0 var(--r) var(--r) 0; }
.takeaways h2 { font-size: 1.2rem; }
.takeaways ul { margin: 0; padding-left: 1.2rem; }
.transcript summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 0.8rem 0; }
.transcript div { white-space: pre-line; background: var(--mist); padding: 1rem 1.2rem; border-radius: var(--r); }
.aside-block { border-top: 3px solid var(--navy); padding-top: 1rem; margin-bottom: 2rem; }
.aside-block h2 { font-size: 1.1rem; }
.aside-block ul { padding-left: 1.1rem; margin: 0; }
.aside-block li { margin-bottom: 0.4rem; }
.mini-thumb { display: grid; grid-template-columns: 96px 1fr; gap: 0.8rem; align-items: center; text-decoration: none; margin-bottom: 0.8rem; color: var(--ink); }
.mini-thumb img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* ---------- Gallery ---------- */
.ggrid { columns: 3 320px; column-gap: 1.6rem; }
.gitem { break-inside: avoid; margin: 0 0 2rem; }
.gitem button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gitem img { width: 100%; border-radius: var(--r); }
.gitem figcaption { padding-top: 0.8rem; }
.gitem h2 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.gitem p { font-size: 1rem; margin-bottom: 0.4rem; }
.kind { display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--sage-dark); }
.principle-tag { display: inline-block; font-size: 0.85rem; background: var(--navy); color: #fff; padding: 0.1rem 0.6rem; border-radius: 99px; margin-right: 0.4rem; }
.context { font-size: 0.92rem !important; color: var(--muted); font-style: italic; }
.lightbox { border: 0; padding: 0; max-width: min(1200px, 96vw); max-height: 94vh; background: #fff; border-radius: var(--r); }
.lightbox::backdrop { background: rgba(7, 29, 55, 0.85); }
.lightbox img { max-height: 72vh; width: auto; margin: 0 auto; }
.lightbox .lb-body { padding: 1rem 1.4rem 1.4rem; max-width: 70ch; }
.lightbox .lb-close { position: absolute; top: 0.5rem; right: 0.5rem; background: var(--navy); color: #fff; border: 0; border-radius: 50%; width: 2.4rem; height: 2.4rem; font-size: 1.5rem; cursor: pointer; }

/* ---------- Tips strip (home) ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tip img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.tip h3 { font-size: 1.1rem; margin: 0.8rem 0 0.3rem; }
.tip p { font-size: 1rem; color: var(--muted); }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc-list { border-top: 2px solid var(--navy); }
.svc-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 1.6rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.svc-row img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.svc-row h2, .svc-row h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.svc-row h2 a, .svc-row h3 a { text-decoration: none; }
.svc-row p { margin: 0; color: var(--muted); }
.svc-price { font-weight: 700; color: var(--sage-dark); white-space: nowrap; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 960px) { .svc-detail { grid-template-columns: 1fr; } }
.svc-detail h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.steps { padding-left: 1.4rem; }
.steps li { margin-bottom: 0.5rem; }
.steps li::marker { font-family: var(--font-head); font-weight: 700; color: var(--sage-dark); }
.book-box { background: var(--navy); color: #dbe5f0; padding: 1.5rem; border-radius: var(--r); position: sticky; top: 100px; }
.book-box h2 { color: #fff; font-size: 1.2rem; margin-top: 0; }
.book-box .btn { width: 100%; margin-top: 0.6rem; }
.limits { background: var(--mist); padding: 1rem 1.2rem; border-radius: var(--r); font-size: 1rem; }

/* ---------- Simple lists: links, FAQ ---------- */
.link-group { margin-bottom: 2.6rem; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.link-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.link-list .logo-slot { width: 64px; height: 64px; display: grid; place-items: center; background: var(--mist); border-radius: var(--r); overflow: hidden; }
.link-list .logo-slot img { max-width: 56px; max-height: 56px; }
.link-list h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.link-list p { margin: 0 0 0.2rem; }
.relationship { font-size: 0.92rem; color: var(--muted); }
.faq-group { margin-bottom: 2.4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--navy); }
.faq summary { cursor: pointer; padding: 1rem 2.2rem 1rem 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.8rem; font-size: 1.5rem; color: var(--sage-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; max-width: 70ch; }

/* ---------- Book page ---------- */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--navy); border-radius: var(--r); overflow: hidden; }
.option { padding: 1.4rem; border-right: 1px solid var(--line); background: #fff; }
.option:last-child { border-right: 0; }
.option h3 { font-size: 1.15rem; }
.option .status { display: inline-block; font-size: 0.85rem; font-weight: 700; padding: 0.1rem 0.6rem; border-radius: 99px; margin-bottom: 0.6rem; }
.status-ok { background: #e2f0e4; color: var(--ok); }
.status-wait { background: var(--sun-soft); color: #7a5600; }
@media (max-width: 860px) { .options { grid-template-columns: 1fr; } .option { border-right: 0; border-bottom: 1px solid var(--line); } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); padding: 0.7rem 0.8rem; background: #fff; border: 2px solid #b9c5cf; border-radius: var(--r);
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.radio-row label, .check label { font-weight: 400; display: flex; gap: 0.5rem; align-items: center; margin: 0; }
.radio-row input, .check input { width: 1.2rem; height: 1.2rem; accent-color: var(--navy); }
.check { display: grid; gap: 0.3rem; }
.field-err { color: var(--err); font-size: 0.95rem; margin: 0.3rem 0 0; }
.field-err:empty { display: none; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok { background: #e2f0e4; border-left: 4px solid var(--ok); padding: 1rem 1.2rem; border-radius: 0 var(--r) var(--r) 0; }
.err { background: #fbe9e7; border-left: 4px solid var(--err); padding: 1rem 1.2rem; border-radius: 0 var(--r) var(--r) 0; }
.form .btn { justify-self: start; }

/* ---------- Tracker ---------- */
.status-pill { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 99px; font-weight: 700; font-size: 0.92rem; background: var(--mist); }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.3rem 1.3rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); }
.timeline time { display: block; font-size: 0.92rem; color: var(--muted); }

.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li { max-width: 70ch; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy-deep); color: #c9d5e2; padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-logo { width: 220px; margin-bottom: 1rem; }
.foot-h { font-size: 1rem; color: #fff; margin-bottom: 0.7rem; }
.foot-links, .foot-legal { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.foot-base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #23406a; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.foot-base p { margin: 0; max-width: 60ch; }
.foot-legal { display: flex; gap: 1.2rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Assistant ---------- */
.chat { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; }
.chat-open { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; padding: 0.55rem 1.2rem 0.55rem 0.7rem; border-radius: 99px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; box-shadow: 0 6px 22px rgba(11, 43, 80, 0.28); }
.chat-open img { width: 26px; height: auto; }
.chat-open:hover { background: var(--sun-soft); }
.chat.is-open .chat-open { display: none; }
.chat-panel { width: min(410px, calc(100vw - 2rem)); height: min(640px, calc(100vh - 2.4rem)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 50px rgba(7, 29, 55, 0.3); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; gap: 0.8rem; align-items: flex-start; justify-content: space-between; padding: 1rem 1.1rem; background: var(--navy); color: #dbe5f0; border-bottom: 4px solid var(--sun); }
.chat-head h2 { font-size: 1.05rem; margin: 0 0 0.2rem; color: #fff; }
.chat-head p { font-size: 0.85rem; margin: 0; line-height: 1.4; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--mist); }
.msg { max-width: 88%; padding: 0.65rem 0.9rem; border-radius: 12px; font-size: 1rem; line-height: 1.5; }
.msg p { margin: 0 0 0.4em; } .msg p:last-child { margin: 0; }
.msg ul { margin: 0.2em 0 0.4em; padding-left: 1.2rem; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.bot a { color: var(--navy); font-weight: 600; }
.typing p { display: flex; gap: 4px; padding: 0.3rem 0; }
.typing span:not(.sr-only) { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: 0.4; }
@media (prefers-reduced-motion: no-preference) {
  .typing span:not(.sr-only) { animation: blink 1s infinite; }
  .typing span:nth-child(2) { animation-delay: 0.15s; } .typing span:nth-child(3) { animation-delay: 0.3s; }
}
@keyframes blink { 50% { opacity: 1; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { font: inherit; font-size: 0.95rem; padding: 0.4rem 0.85rem; border-radius: 99px; cursor: pointer; background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.chip:hover { background: var(--navy); color: #fff; }
.slots .chip { border-color: var(--sage); color: var(--sage-dark); }
.slots .chip:hover { background: var(--sage); color: #fff; }
.chat-form { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; resize: none; font-size: 1rem; padding: 0.55rem 0.7rem; max-height: 120px; }
.chat-send { font: inherit; font-weight: 700; padding: 0 1rem; border: 0; border-radius: var(--r); background: var(--navy); color: #fff; cursor: pointer; }
.chat-send[disabled] { opacity: 0.5; }
.chat-foot { margin: 0; padding: 0 0.9rem 0.7rem; font-size: 0.8rem; color: var(--muted); background: #fff; }
@media (max-width: 520px) {
  .chat { right: 0.8rem; bottom: 0.8rem; }
  .chat.is-open { inset: 0; }
  .chat.is-open .chat-panel { width: 100vw; height: 100dvh; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.band-mist .logo-slot { background: #fff; }
