/* Fusion Force: components specific to Pamela's website, in Topview's design language
   (Quicksand, pills, 22-30px radii, soft shadows, reveal motion) on Pamela's royal-blue palette. */

:root { --gold: #C9A86A; --gold-soft: #E2C995; --gold-ink: #6B4F1D; }
.site { --gold: #C9A86A; --gold-soft: #E2C995; }
.boot-mark { background-image: url('/assets/brand/mark.svg'); border-radius: 16px; }

/* Header: seven links need a little more room before the drawer takes over */
@media (max-width: 1180px) { .site-nav a { padding: 8px 9px; font-size: .83rem; } }
@media (max-width: 1080px) {
  .site-nav, .site-link { display: none; }
  .site-burger { display: inline-grid; }
  .site-actions { margin-left: auto; }
}
@media (max-width: 520px) { .site-appt { display: none; } }
.site-logo span { font-size: 1.22rem; letter-spacing: .01em; }
.site-logo b { margin-left: 3px; }
.site-logo img { border-radius: 11px; }

.eyebrow-gold { color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-gold .icon { width: 15px; height: 15px; }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; margin-top: 6px; }

/* Hero: Pamela's badge floating on the 3D figure */
.hero-person { position: absolute; z-index: 3; left: -2%; top: 6%; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--site-card); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(10, 31, 77, .55); animation: floatY 6s ease-in-out infinite; animation-delay: -2s; }
.hero-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid var(--gold); }
.hero-person b { display: block; font-size: .92rem; color: var(--site-ink); line-height: 1.2; }
.hero-person small { display: block; font-size: .7rem; font-weight: 700; color: var(--p); letter-spacing: .02em; }
:root[data-theme="dark"] .hero-person small { color: var(--gold); }
.float-tile.ft-1 { background: var(--gold); border-color: var(--gold); color: #0A1F4D; }
@media (max-width: 640px) { .hero-person { left: 0; top: 0; padding-right: 12px; } .hero-person img { width: 44px; height: 44px; } }

/* Quick cards */
.q-solid .pill-light { align-self: flex-start; }
.q-book { overflow: hidden; position: relative; }
.q-book .q-cover { position: absolute; right: -26px; bottom: -18px; width: 120px; transform: rotate(-8deg); filter: drop-shadow(0 18px 24px rgba(10, 31, 77, .35)); transition: transform .6s var(--ease-out); pointer-events: none; }
.q-book:hover .q-cover { transform: rotate(-2deg) translateY(-6px); }
.q-book p, .q-book .q-top { position: relative; z-index: 1; max-width: 72%; }
.q-book .pill { position: relative; z-index: 1; align-self: flex-start; }

/* About split with stacked photos */
.about-photos { position: relative; min-height: 460px; }
.about-photos img { position: absolute; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(10, 31, 77, .6); }
.ap-main { left: 0; top: 0; width: 70%; height: 88%; object-position: 50% 15%; }
.ap-second { right: 0; bottom: 0; width: 46%; height: 58%; border: 6px solid var(--site-bg); object-position: 50% 20%; }
.ap-badge { position: absolute; left: 52%; top: 10%; z-index: 2; display: grid; gap: 2px; padding: 14px 18px; border-radius: 20px; background: var(--p); color: #fff; box-shadow: 0 20px 40px -18px rgba(5, 62, 145, .8); max-width: 170px; animation: floatY 6s ease-in-out infinite; }
.ap-badge b { font-size: 1.8rem; line-height: 1; color: var(--gold-soft); }
.ap-badge small { font-size: .74rem; font-weight: 700; line-height: 1.35; }
.check-grid { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-grid li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--site-tint); font-weight: 700; font-size: .9rem; transition: transform .35s var(--ease-out); }
.check-grid li:hover { transform: translateX(5px); }
.check-grid .icon { color: var(--p); }
:root[data-theme="dark"] .check-grid .icon { color: var(--gold); }
.about-story { align-items: start; }
.prose h3 { font-size: 1.2rem; color: var(--p); margin: 26px 0 8px; }
:root[data-theme="dark"] .prose h3 { color: #9DB7F5; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--site-muted); line-height: 1.8; margin-bottom: 12px; }
.prose p.li, .article-body p.li { display: flex; gap: 10px; align-items: flex-start; }
.prose p.li .icon, .article-body p.li .icon { color: var(--p); margin-top: 5px; flex: none; }
@media (max-width: 960px) { .about-photos { min-height: 420px; max-width: 520px; margin: 0 auto; width: 100%; } }
@media (max-width: 640px) { .about-photos { min-height: 340px; } .check-grid { grid-template-columns: 1fr; } }

/* Media outreach band */
.media-band { padding: clamp(46px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.media-band::before { content: ''; position: absolute; left: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(30, 77, 177, .25); }
.media-band > * { position: relative; }
.media-copy { max-width: 820px; margin: 0 auto clamp(30px, 5vw, 46px); text-align: center; }
.media-copy p { font-size: clamp(1.05rem, 1.8vw, 1.32rem); line-height: 1.6; font-weight: 600; margin-top: 12px; }
.media-copy small { display: block; margin-top: 10px; color: var(--nav-ink-2); font-size: .92rem; }
.stat-ic { color: var(--gold); }

/* Press cards */
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.press-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--site-card); border: 1px solid var(--line-2); color: var(--site-ink); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.press-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--site-tint); transition: transform .6s var(--ease-out); }
.press-card > * { position: relative; z-index: 1; }
.press-card:hover { transform: translateY(-6px); border-color: var(--sky); box-shadow: 0 26px 44px -28px rgba(10, 31, 77, .5); color: var(--site-ink); text-decoration: none; }
.press-card:hover::after { transform: scale(1.6); }
.press-top { display: flex; align-items: center; justify-content: space-between; }
.press-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--p); color: #fff; transition: transform .45s var(--ease-out); }
.press-card:hover .press-ic { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: #0A1F4D; }
.press-card h3 { font-size: 1.12rem; font-weight: 700; margin-top: 4px; }
.press-country { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--site-muted); }
.press-country .icon { width: 13px; height: 13px; }
.press-card p { color: var(--site-muted); font-size: .88rem; line-height: 1.6; }
.press-card .ic-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--p); font-weight: 700; font-size: .82rem; }
.press-card .ic-more .icon { width: 14px; height: 14px; }

/* Mosaic gallery + lightbox */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 14px; }
.mosaic-item { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--site-tint); cursor: zoom-in; box-shadow: 0 18px 36px -26px rgba(10, 31, 77, .6); }
.mosaic-item[hidden] { display: none; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .8s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.07); }
/* Every 6 photos tile a full 4 × 3 block: big, single, tall / single / wide, wide. */
.mosaic { grid-auto-flow: dense; }
.mosaic-item.m0 { grid-column: span 2; grid-row: span 2; }
.mosaic-item.m2 { grid-row: span 2; }
.mosaic-item.m4, .mosaic-item.m5 { grid-column: span 2; }
.mosaic-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 34px 16px 14px; text-align: left; color: #fff; background: linear-gradient(to top, rgba(5, 25, 70, .88), transparent); transform: translateY(8px); opacity: .92; transition: transform .45s var(--ease-out), opacity .3s; }
.mosaic-item:hover .mosaic-cap { transform: none; opacity: 1; }
.mosaic-cap b { font-size: .95rem; } .mosaic-cap small { font-size: .74rem; opacity: .85; font-weight: 600; }
.mosaic-zoom { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--p); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease-out); }
.mosaic-item:hover .mosaic-zoom, .ev-flyer:hover .mosaic-zoom { opacity: 1; transform: none; }
.mosaic-all { grid-auto-rows: 210px; }
@media (max-width: 900px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; } .mosaic-item.m2 { grid-row: span 1; } .mosaic-item.m4 { grid-column: span 1; } }
@media (max-width: 480px) { .mosaic { grid-auto-rows: 140px; gap: 10px; } .mosaic-item { border-radius: 16px; } }

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 60px 70px; background: rgba(5, 10, 30, .92); animation: fade .25s both; }
.lightbox.closing { animation: fade .2s reverse both; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; animation: pop .35s var(--ease-out) both; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 170px); border-radius: 16px; object-fit: contain; box-shadow: 0 40px 80px -30px #000; }
.lightbox figcaption { display: grid; gap: 2px; text-align: center; color: #fff; }
.lightbox figcaption span { opacity: .8; font-size: .88rem; } .lightbox figcaption small { opacity: .55; font-size: .74rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s, transform .3s var(--ease-out); }
.lb-btn:hover { background: var(--gold); color: #0A1F4D; transform: scale(1.08); }
.lb-x { right: 18px; top: 18px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
@media (max-width: 640px) { .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 16px; } }

/* Book showcase */
.book-show { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.book-show.flip > :first-child { order: 2; }
.book-art { position: relative; display: grid; place-items: center; padding: 30px; }
.book-glow { position: absolute; inset: 8% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 106, .45), transparent 70%); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
.book-art img { position: relative; width: min(100%, 420px); filter: drop-shadow(0 40px 50px rgba(10, 31, 77, .45)); transition: transform .8s var(--ease-out); }
.book-art:hover img { transform: translateY(-8px) rotate(-1.5deg) scale(1.02); }
.book-badge { position: absolute; left: 4%; bottom: 10%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--site-card); border: 1px solid var(--line-2); box-shadow: 0 18px 36px -18px rgba(10, 31, 77, .55); animation: floatY 5.5s ease-in-out infinite; }
.book-badge > .icon { box-sizing: content-box; padding: 9px; border-radius: 50%; background: var(--gold); color: #0A1F4D; }
.book-badge b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--site-ink); } .book-badge small { font-size: .74rem; color: var(--site-muted); font-weight: 600; }
.book-sub { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 1.25rem; color: var(--gold); margin-top: 4px; }
.book-by { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .9rem; color: var(--site-muted); }
.book-by .icon { color: var(--p); }
.book-feats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.book-feats div { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--site-tint); font-size: .84rem; }
.book-feats .icon { color: var(--p); } .book-feats span { color: var(--site-muted); font-weight: 600; }
@media (max-width: 960px) { .book-show { grid-template-columns: 1fr; } .book-show.flip > :first-child { order: 0; } .book-art img { width: min(100%, 340px); } }

/* Testimonials marquee */
.tm-marquee { overflow: hidden; padding: 10px 0 20px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tm-track { display: flex; gap: 20px; width: max-content; animation: ticker calc(var(--n, 3) * 12s) linear infinite; }
.tm-marquee:hover .tm-track { animation-play-state: paused; }
.tm-card { flex: 0 0 auto; width: min(380px, 82vw); margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border-radius: 24px; background: var(--site-card); border: 1px solid var(--line-2); box-shadow: 0 22px 44px -32px rgba(10, 31, 77, .6); }
.tm-quote { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--p); color: var(--gold-soft); }
.tm-card blockquote { margin: 0; flex: 1; font-size: 1rem; line-height: 1.65; color: var(--site-ink); font-weight: 600; }
.tm-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.tm-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ice); color: var(--p); }
.tm-card figcaption b { display: block; font-size: .9rem; } .tm-card figcaption small { font-size: .78rem; color: var(--site-muted); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .tm-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 16px; } .tm-card[aria-hidden] { display: none; } }

/* Newsletter + free eBook */
.news-block { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 54px); align-items: center; padding: clamp(26px, 4vw, 48px); border-radius: 32px; background: var(--nav-bg); color: #fff; position: relative; overflow: hidden; }
.news-block::before { content: ''; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: rgba(30, 77, 177, .35); }
.news-block::after { content: ''; position: absolute; left: 30%; bottom: -170px; width: 300px; height: 300px; border-radius: 50%; background: rgba(201, 168, 106, .12); }
.news-block > * { position: relative; z-index: 1; }
.nb-art { position: relative; justify-self: center; }
.nb-art img { width: min(100%, 260px); border-radius: 12px; transform: rotate(-5deg); box-shadow: 0 40px 60px -26px rgba(0, 0, 0, .7); transition: transform .7s var(--ease-out); }
.news-block:hover .nb-art img { transform: rotate(-1deg) translateY(-6px); }
.nb-gift { position: absolute; right: -14px; top: -10px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: #0A1F4D; font-weight: 700; font-size: .82rem; animation: ctaPulse 2.6s ease-in-out infinite; }
.nb-gift .icon { width: 15px; height: 15px; }
.nb-copy { display: flex; flex-direction: column; gap: 12px; }
.nb-copy h2 { color: #fff !important; font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.2; }
.nb-copy h2 span { color: var(--gold-soft); }
.nb-copy > p { color: var(--nav-ink-2); line-height: 1.7; }
.nb-list { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.nb-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.nb-list .icon { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 860px) { .news-block { grid-template-columns: 1fr; text-align: left; } .nb-art img { width: 200px; } }

.sub-form { display: grid; gap: 8px; }
.sub-row { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-row[hidden] { display: none; }
.sub-row .input { flex: 1 1 180px; min-height: 48px; border-radius: 999px; padding: 0 20px; background: rgba(255, 255, 255, .96); border-color: transparent; color: #181D38; }
.sub-row .input.bad { box-shadow: 0 0 0 3px rgba(255, 142, 142, .7); }
.sub-row .pill { height: 48px; }
.sub-note { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: var(--nav-ink-3); }
.sub-note .icon { width: 13px; height: 13px; }
.sub-ok, .sub-err { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .1); animation: loadUp .5s var(--ease-out); }
.sub-ok > .icon { color: #8EE6C1; width: 26px; height: 26px; } .sub-err > .icon { color: #FF8E8E; }
.sub-ok div { display: grid; gap: 10px; justify-items: start; } .sub-ok span { color: var(--nav-ink-2); font-size: .88rem; }
.sub-form.compact .sub-row .input { min-height: 42px; flex-basis: 150px; }
.sub-form.compact .sub-row .pill { height: 42px; }
.form-card .sub-row .input, .site-sec:not(.media-band) .nb-copy .input { border: 1px solid var(--line); }
.news-block .sub-row .input:focus, .site-foot .sub-row .input:focus { outline: none; box-shadow: 0 0 0 3px rgba(201, 168, 106, .6); }

/* Footer extras */
.foot-news p { font-size: .86rem; line-height: 1.6; margin-bottom: 10px; }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.site-foot .socials a.social, .socials a.social { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid rgba(197, 212, 239, .25); color: #fff; transition: background .25s, border-color .25s, transform .35s var(--ease-out); }
.socials a.social:hover { background: var(--gold); border-color: var(--gold); color: #0A1F4D !important; padding-left: 0 !important; transform: translateY(-3px); }
.socials .icon { width: 16px !important; height: 16px !important; color: inherit !important; }
.foot-links > span { display: inline-flex; align-items: center; gap: 6px; }
.foot-links > span .icon { color: var(--gold) !important; width: 14px !important; height: 14px !important; }
.foot-grid { grid-template-columns: 1.6fr .9fr 1fr 1.5fr; }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }
.hours-mini .socials { margin-top: 12px; }
.hours-mini p span .icon { width: 14px; height: 14px; }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.event-card { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--site-card); border: 1px solid var(--line-2); color: var(--site-ink); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(10, 31, 77, .55); color: var(--site-ink); text-decoration: none; }
.ev-cover { position: relative; aspect-ratio: 16 / 9; background: var(--p); display: grid; place-items: center; color: #fff; overflow: hidden; }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.event-card:hover .ev-cover img { transform: scale(1.06); }
.ev-date { position: absolute; left: 16px; top: 16px; display: grid; justify-items: center; min-width: 62px; padding: 8px 10px; border-radius: 16px; background: var(--site-card); color: var(--p); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); line-height: 1; }
.ev-date b { font-size: 1.6rem; } .ev-date small { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; color: var(--site-ink); }
.ev-date.past { opacity: .85; } .ev-date.series b .icon { width: 22px; height: 22px; }
.ev-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.ev-body h3 { font-size: 1.2rem; }
.ev-sub { color: var(--gold) !important; font-weight: 700; font-size: .88rem !important; }
.ev-body p { color: var(--site-muted); font-size: .9rem; line-height: 1.6; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--site-ink); }
.ev-meta .icon { width: 14px; height: 14px; color: var(--p); }
.event-card .svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--p); font-weight: 700; font-size: .84rem; }
.event-card .svc-more .icon { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.event-card:hover .svc-more .icon { transform: translateX(4px); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.countdown div { display: grid; justify-items: center; padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, .16); }
.countdown b { font-size: 1.35rem; line-height: 1.1; font-variant-numeric: tabular-nums; } .countdown small { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; font-weight: 700; }
.ev-flyer { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: none; }
.ev-flyer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .7s var(--ease-out); }
.ev-flyer:hover img { transform: scale(1.05); }
.pull { display: flex; gap: 12px; margin: 18px 0; padding: 18px 20px; border-radius: 18px; background: var(--site-tint); border-left: 4px solid var(--gold); font-style: italic; font-size: 1.02rem; line-height: 1.65; color: var(--site-ink); }
.pull .icon { flex: none; color: var(--p); margin-top: 3px; }
.detail-main > p { margin-bottom: 14px; }

/* Speaking cards */
.svc-card .q-tags { margin-top: -2px; }
.side-card .svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--p); color: #fff; }

/* Contact */
.connect-card { padding: 24px; border-radius: 24px; background: var(--p); color: #fff; display: grid; gap: 12px; box-shadow: 0 30px 60px -36px rgba(5, 62, 145, .9); position: relative; overflow: hidden; }
.connect-card::before { content: ''; position: absolute; right: -70px; top: -90px; width: 220px; height: 220px; border-radius: 50%; background: var(--c); opacity: .55; }
.connect-card > * { position: relative; }
.connect-card h3 { color: #fff !important; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.connect-card h3 .icon { color: var(--gold-soft); }
.cc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); transition: background .3s, transform .35s var(--ease-out); }
.cc-row:hover { background: rgba(255, 255, 255, .18); transform: translateX(5px); }
.cc-row > .icon { flex: none; width: 22px; height: 22px; color: var(--gold-soft); margin-top: 2px; }
.cc-row b { display: block; } .cc-row span { font-size: .84rem; opacity: .88; line-height: 1.5; }
.form-card .form-grid { margin-top: 4px; }
.ref-code { margin-top: 6px; }

/* Signature slider: gold accent */
.spec::before { background: #123A86; opacity: .8; }
.spec-icon { color: var(--p); }
.spec-art span { color: var(--gold); }

/* Speciality / CTA: gold pill on navy */
.pill-gold { color: #0A1F4D; }
.cta-band .pill-gold:hover { color: #0A1F4D; }

/* Dark theme polish */
:root[data-theme="dark"] .press-ic, :root[data-theme="dark"] .tm-quote { background: #1E4DB1; }
:root[data-theme="dark"] .ev-date { color: #9DB7F5; }
:root[data-theme="dark"] .connect-card { background: #0E275C; }
:root[data-theme="dark"] .connect-card::before { background: #1E4DB1; opacity: .35; }
:root[data-theme="dark"] .ap-badge { background: #1E4DB1; }
:root[data-theme="dark"] .site-logo, :root[data-theme="dark"] .site-logo:hover { color: #9DB7F5; }
:root[data-theme="dark"] .hero-copy h1 span, :root[data-theme="dark"] .eyebrow:not(.eyebrow-gold) { color: #9DB7F5; }
:root[data-theme="dark"] .q-icon, :root[data-theme="dark"] .svc-card .svc-ic, :root[data-theme="dark"] .plat-icon { color: #9DB7F5; }
:root[data-theme="dark"] .q-solid .q-icon { color: #fff; }
:root[data-theme="dark"] .svc-card .svc-more, :root[data-theme="dark"] .event-card .svc-more, :root[data-theme="dark"] .press-card .ic-more { color: #9DB7F5; }

:root[data-theme="dark"] .pill-outline { color: #C9D7FA; border-color: #3B63C4; }
:root[data-theme="dark"] .pill-outline:hover { color: #fff; background: #1E4DB1; border-color: #1E4DB1; }
:root[data-theme="dark"] .site-nav a.on, :root[data-theme="dark"] .site-nav a:hover, :root[data-theme="dark"] .site-drawer > a.on { color: #9DB7F5; }
:root[data-theme="dark"] .site-nav a::after { background: #9DB7F5; }
:root[data-theme="dark"] .crumbs b, :root[data-theme="dark"] .page-hero h1 span { color: #9DB7F5; }
:root[data-theme="dark"] .cat-chip.on { background: #1E4DB1; border-color: #1E4DB1; }

@media (prefers-reduced-motion: reduce) { .hero-person, .ap-badge, .book-badge, .book-glow, .nb-gift { animation: none !important; } }

/* ══ Round 2: Expressions, programmes, partners, newsletter archive, portal & admin inbox ══ */

/* Partners / sponsors strip */
.partners-head { text-align: center; margin-bottom: 22px; }
.partners-head h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; margin-top: 6px; color: var(--site-ink); }
.partners-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); padding: 6px 0 14px; }
.partners-track { display: flex; gap: 16px; width: max-content; animation: ticker calc(var(--n, 6) * 6s) linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partner { flex: none; display: flex; align-items: center; gap: 12px; min-width: 250px; padding: 12px 18px 12px 12px; border-radius: 18px; background: var(--site-card); border: 1px solid var(--line-2); color: var(--site-ink); box-shadow: 0 14px 30px -24px rgba(10, 31, 77, .5); transition: transform .4s var(--ease-out), border-color .3s; }
a.partner:hover { transform: translateY(-4px); border-color: var(--p); text-decoration: none; color: var(--site-ink); }
.partner img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; }
.partner-mono { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--p); color: var(--gold-soft); font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; flex: none; }
.partner-text b { display: block; font-size: .9rem; line-height: 1.25; }
.partner-text small { font-size: .74rem; color: var(--site-muted); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Programme cards */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.prog-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: 24px; background: var(--site-card); border: 1px solid var(--line-2); color: var(--site-ink); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.prog-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 26px 44px -28px rgba(10, 31, 77, .55); text-decoration: none; color: var(--site-ink); }
.prog-num { position: absolute; right: 18px; top: 12px; font-family: Georgia, serif; font-size: 2.6rem; font-weight: 700; color: var(--site-tint); line-height: 1; transition: color .4s; }
.prog-card:hover .prog-num { color: color-mix(in srgb, var(--gold) 35%, transparent); }
.prog-ic { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--p); color: var(--gold-soft); transition: transform .45s var(--ease-out); }
.prog-card:hover .prog-ic { transform: rotate(-8deg) scale(1.08); }
.prog-card h3 { position: relative; font-size: 1.08rem; font-weight: 700; }
.prog-card p { color: var(--site-muted); font-size: .88rem; line-height: 1.6; flex: 1; }
.prog-card .svc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--p); font-weight: 700; font-size: .84rem; }
.prog-card .svc-more .icon { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.prog-card:hover .svc-more .icon { transform: translateX(4px); }

/* Photo slider (Expressions) */
.slider { position: relative; }
.slider-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 16px; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 min(560px, 84vw); aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 26px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: var(--site-tint); box-shadow: 0 24px 44px -30px rgba(10, 31, 77, .7); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.slide:hover img { transform: scale(1.05); }
.slide:hover .mosaic-zoom { opacity: 1; transform: none; }
.slider-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.slider-nav .lb-btn { position: static; background: var(--p); color: #fff; }
.slider-nav .lb-btn:hover { background: var(--gold); color: #0A1F4D; }
.ex-feature { position: relative; }
.ex-feature img { width: 100%; border-radius: 30px; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: 0 34px 60px -34px rgba(10, 31, 77, .7); }
.ex-quote { position: absolute; left: -18px; bottom: -22px; max-width: 78%; display: flex; gap: 10px; padding: 16px 18px; border-radius: 20px; background: var(--site-card); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px rgba(10, 31, 77, .55); font-size: .92rem; line-height: 1.45; color: var(--site-ink); animation: floatY 6s ease-in-out infinite; }
.ex-quote .icon { flex: none; color: var(--gold); }
@media (max-width: 640px) { .ex-quote { position: static; max-width: none; margin-top: 12px; animation: none; } }
.club-card { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); border-radius: 34px; background: linear-gradient(135deg, #0A1F4D, #053E91 60%, #123A86); color: #fff; text-align: center; }
.club-card::before { content: ''; position: absolute; left: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(201, 168, 106, .16); }
.club-card::after { content: ''; position: absolute; right: -80px; bottom: -140px; width: 300px; height: 300px; border-radius: 50%; background: rgba(30, 77, 177, .5); }
.club-card > * { position: relative; z-index: 1; }
.club-card h2 { color: #fff !important; font-family: Georgia, serif; font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 700; margin: 10px 0 14px; }
.club-card p { max-width: 72ch; margin: 0 auto; color: var(--nav-ink-2); line-height: 1.8; font-size: 1.02rem; }
.club-card .row { justify-content: center; }
.ex-video { width: 100%; border-radius: 26px; background: #000; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7); }

/* Newsletter archive */
.issue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.issue { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px; border-radius: 24px; background: var(--site-card); border: 1px solid var(--line-2); transition: transform .45s var(--ease-out), box-shadow .45s; }
.issue:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -30px rgba(10, 31, 77, .55); }
.issue-cover { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1.41; background: var(--site-tint); cursor: zoom-in; box-shadow: 0 16px 30px -18px rgba(10, 31, 77, .6); }
.issue-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.issue-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.issue-body h3 { font-size: 1rem; line-height: 1.35; }
.issue-body p { color: var(--site-muted); font-size: .84rem; line-height: 1.55; flex: 1; }
@media (max-width: 420px) { .issue { grid-template-columns: 1fr; } .issue-cover { max-width: 180px; } }

/* Testimonials page */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.tm-grid .tm-card { width: auto; }

/* Footer credit */
.foot-credit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 14px; margin-top: 14px; border-top: 1px solid rgba(197, 212, 239, .1); font-size: .78rem; color: var(--nav-ink-3); }
.foot-credit > span { display: inline-flex; align-items: center; gap: 6px; }
.foot-credit .icon { width: 14px !important; height: 14px !important; color: var(--gold) !important; }
.foot-credit .powered b, .foot-credit .powered a { color: var(--gold-soft) !important; font-weight: 700; padding: 0 !important; display: inline !important; }
.foot-credit .powered a:hover { color: #fff !important; }

/* Portal & admin: inbox and conversations */
.inbox { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 14px; align-items: start; }
.inbox-list { max-height: calc(100vh - 230px); overflow-y: auto; }
.inbox-view { min-height: 420px; }
.dot-new { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); margin-right: 7px; vertical-align: 1px; }
.thread { display: flex; flex-direction: column; height: min(72vh, 680px); }
.thread-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.thread-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--pale); }
.msg { max-width: 78%; align-self: flex-start; display: grid; gap: 4px; animation: rise .25s var(--ease) both; }
.msg.mine { align-self: flex-end; justify-items: end; }
.msg-bubble { padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--surface); border: 1px solid var(--line-2); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; font-size: .9rem; }
.msg.mine .msg-bubble { background: var(--p); color: #fff; border-color: var(--p); border-radius: 16px 4px 16px 16px; }
.msg-meta { font-size: .7rem; color: var(--ink-3); font-weight: 600; }
.thread-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); align-items: flex-end; }
.thread-form .textarea { min-height: 46px; flex: 1; }
.thread-closed { display: flex; gap: 8px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: .86rem; }
@media (max-width: 900px) { .inbox { grid-template-columns: 1fr; } .inbox-list { max-height: 300px; } }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.res-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: inherit; }
.res-card:hover { text-decoration: none; color: inherit; }

/* Analytics */
.device-split { display: flex; height: 14px; border-radius: 8px; overflow: hidden; background: var(--ice); }
.dv-m { background: var(--p); } .dv-d { background: var(--sky); }
.chart.dense { gap: 1px; } .chart.dense .chart-bar { max-width: 8px; border-radius: 3px 3px 1px 1px; }

/* Signature quick links / misc */
.see-all { gap: 10px; flex-wrap: wrap; }

/* ══ Round 3: eBook download button, assistant launcher ══ */
.sub-download { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; color: #0A1F4D !important; border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); text-decoration: none; }
.sub-download:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgba(0, 0, 0, .55); text-decoration: none; color: #0A1F4D !important; }
.sub-download .sd-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #053E91; color: #fff; flex: none; transition: transform .35s var(--ease-out); }
.sub-download:hover .sd-ic { transform: translateY(2px); }
.sub-download .sd-ic .icon { width: 18px; height: 18px; color: #fff !important; }
.sub-download b { display: block; font-size: .9rem; line-height: 1.2; color: #0A1F4D; }
.sub-download small { display: block; font-size: .74rem; font-weight: 600; color: #5B6485; }
.sub-download .sd-go { width: 16px !important; height: 16px !important; color: #053E91 !important; transition: transform .3s var(--ease-out); }
.sub-download:hover .sd-go { transform: translateX(3px); }
.site-foot .sub-download { padding: 6px 14px 6px 6px !important; display: inline-flex !important; }
.site-foot .sub-download:hover { padding-left: 6px !important; }
.sub-ok div { gap: 12px; }

/* Assistant: launcher with a small "hide" button; works on every page width */
.bot-launch { position: relative; display: inline-flex; }
.bot-hide { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 2px solid var(--site-card, #fff); background: #181D38; color: #fff; cursor: pointer; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s var(--ease-out), background .2s; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.bot-hide .icon { width: 12px; height: 12px; }
.bot-launch:hover .bot-hide, .bot-hide:focus-visible { opacity: 1; transform: none; }
.bot-hide:hover { background: #B42F2F; }
@media (hover: none) { .bot-hide { opacity: 1; transform: none; } }
.bot.open .bot-hide { display: none; }
.bot-head .icon-btn .icon { width: 17px; height: 17px; }
.bot-msg.typing .bb-dots { display: inline-flex; gap: 4px; }
.bot-msg.typing .bb-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--p); animation: bubbleFill 1.05s ease-in-out infinite; }
.bot-msg.typing .bb-dots i:nth-child(2) { animation-delay: .15s; } .bot-msg.typing .bb-dots i:nth-child(3) { animation-delay: .3s; }
.bot-text p { margin: 0 0 6px; } .bot-text p:last-child { margin-bottom: 0; }
.bot-text a { color: var(--p); font-weight: 700; text-decoration: underline; }
.bot-msg.me > p { margin: 0; }
.bot-fab { background: var(--p); }
.bot-fab-ic { background: rgba(255, 255, 255, .18); }
.foot-chat { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--gold-soft); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.foot-chat:hover { color: #fff; }
.foot-chat .icon { width: 14px !important; height: 14px !important; color: inherit !important; }
.to-top { right: calc(20px + env(safe-area-inset-right)); }

/* ══ Site security page ══ */
.sec-banner.warn { background: #9A3B12; }
.sec-banner.warn::before { background: #C2561F; }
.sec-score { display: grid; justify-items: center; gap: 2px; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; }
.sec-score .icon { width: 26px; height: 26px; }
.sec-score b { font-size: 1.3rem; line-height: 1; } .sec-score small { font-size: .7rem; opacity: .85; font-weight: 700; }
.sec-switch .page-icon { flex: none; }
.sec-switch h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .86rem; }
.sec-list li { display: flex; gap: 10px; align-items: flex-start; }
.sec-list .icon { flex: none; color: var(--c); margin-top: 2px; }
.gate-form p.gate-switch { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; line-height: 1.5; }
.gate-form p.gate-switch .icon { flex: none; width: 16px; height: 16px; color: var(--p); margin-top: 2px; }
@media (max-width: 640px) { .sec-switch .card-body { flex-wrap: wrap; } .sec-switch .btn { width: 100%; } }

/* Card icon badges (Design/ mark-ups): round icons set in the card's corner, only their rim crossing the edge.
   Quick cards (under the hero): top-right corner. Media & press and speaking cards: top-left corner.
   Cards no longer clip their content, so the corner tint is drawn inside the card instead. */
.q-card, .press-card, .svc-card { position: relative; overflow: visible; }
.q-card .q-icon, .press-ic, .svc-card .svc-ic {
  position: absolute; z-index: 3; width: 58px; height: 58px; border-radius: 50%;
  border: 4px solid var(--site-card); box-shadow: 0 14px 26px -12px rgba(5, 62, 145, .55);
  transition: transform .5s var(--ease-out), background .3s, color .3s;
}
.q-card .q-icon .icon, .press-ic .icon, .svc-card .svc-ic .icon { width: 22px; height: 22px; }

/* Quick cards */
.quick-grid { gap: 22px; padding-top: 6px; }
.q-card .q-icon { top: -8px; right: -8px; background: var(--p); color: #fff; }
.q-card.q-solid .q-icon { background: var(--gold); color: #0A1F4D; border-color: var(--site-card); }
.q-card:hover .q-icon { transform: rotate(-10deg) scale(1.08); }
.q-top { padding-right: 46px; }
.q-book { overflow: visible; }
.q-cover-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.q-book .q-top { position: static; max-width: none; }

/* Media & press cards */
.press-grid { gap: 26px 22px; padding-top: 6px; }
.press-card { padding-top: 30px; }
.press-card::after { right: 0; top: 0; width: 96px; height: 96px; border-radius: 0 22px 0 100%; transform-origin: top right; }
.press-ic { top: -8px; left: -8px; }
.press-card .press-top { position: static; justify-content: flex-end; min-height: 26px; }
.press-top .tag { position: relative; z-index: 1; }
.press-card:hover .press-ic { transform: rotate(-10deg) scale(1.08); }

/* Speaking & training cards */
.svc-grid { gap: 26px 22px; padding-top: 6px; }
.svc-card { padding-top: 66px; }
.svc-card::after { right: 0; top: 0; width: 110px; height: 110px; border-radius: 0 22px 0 100%; transform-origin: top right; }
.svc-card .svc-ic { top: -8px; left: -8px; background: var(--p); color: #fff; }
.svc-card:hover .svc-ic { transform: rotate(-10deg) scale(1.08); }

:root[data-theme="dark"] .q-card .q-icon, :root[data-theme="dark"] .svc-card .svc-ic { background: #1E4DB1; color: #fff; }
:root[data-theme="dark"] .q-card.q-solid .q-icon { background: var(--gold); color: #0A1F4D; }
@media (max-width: 640px) {
  .q-card .q-icon, .press-ic, .svc-card .svc-ic { width: 50px; height: 50px; }
  .q-card .q-icon { top: -6px; right: -6px; }
  .press-ic, .svc-card .svc-ic { top: -6px; left: -6px; }
}

/* "Continue with Google" (client sign-in and registration) */
.btn-google { background: #fff; color: #1F1F1F; border: 1px solid #DADCE0; font-weight: 600; gap: 12px; }
.btn-google:hover { background: #F8FAFF; border-color: #C5CCDA; color: #1F1F1F; box-shadow: 0 10px 22px -16px rgba(10, 31, 77, .5); }
.btn-google .g-logo { flex: none; }
:root[data-theme="dark"] .btn-google { background: #131D38; color: #E9EDF8; border-color: #2A3760; }
:root[data-theme="dark"] .btn-google:hover { background: #18244A; color: #fff; }
.or-line { display: flex; align-items: center; gap: 12px; margin: 18px 0 2px; color: var(--muted, #5B6485); font-size: .8rem; font-weight: 600; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line-2, #E3E8F2); }
