/* =====================================================================
   Hollow Finch — public website (light theme, mobile-first)
   ===================================================================== */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --pink: #BB5098;
  --pink-dark: #9C3F7E;
  --purple: #7A5197;
  --purple-dark: #5E3D76;
  --orange: #E28144;

  --text: #111111;
  --muted: #5d5864;
  --line: #ece6ee;
  --soft: #faf5f9;          /* soft pink-tinted section bg */
  --soft-purple: #f4eff8;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(122, 81, 151, .10);
  --shadow-lg: 0 18px 50px rgba(122, 81, 151, .18);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--purple); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--black); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--pink); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500; line-height: 1.2;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px rgba(187, 80, 152, .3); }
.btn-primary:hover { background: var(--purple); color: #fff; }
.btn-secondary { background: var(--purple); color: #fff; }
.btn-secondary:hover { background: var(--purple-dark); color: #fff; }
.btn-outline { border-color: var(--pink); color: var(--pink); background: transparent; }
.btn-outline:hover { background: var(--pink); color: #fff; }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: var(--soft); color: var(--pink); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-block { display: flex; width: 100%; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .03em;
}
.badge-soft { background: rgba(226, 129, 68, .12); color: #b85a1f; }

/* ---------- Announcement bar (news ticker above the header) ----------
   Two identical tracks side by side; the rail moves by exactly one track (-50%)
   so the loop is seamless. Speed: --ticker-duration (time for one full loop). */
.news-ticker {
  --ticker-duration: 40s;
  --ticker-height: 38px;
  position: relative; z-index: 101;
  display: flex; align-items: stretch;
  height: var(--ticker-height); overflow: hidden;
  background: linear-gradient(90deg, #BB5098, #7A5197);
  color: #fff; font-size: .85rem; line-height: 1;
}
.news-ticker__badge {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; background: #E28144; color: #fff;
  font-weight: 600; font-size: .75rem; letter-spacing: .08em;
  box-shadow: 6px 0 12px rgba(40, 10, 50, .25);
  position: relative; z-index: 1;
}
.news-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.news-ticker__rail {
  display: flex; width: max-content;
  animation: news-ticker-scroll var(--ticker-duration) linear infinite;
  will-change: transform;
}
.news-ticker:hover .news-ticker__rail { animation-play-state: paused; }
.news-ticker__track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.news-ticker__track li { display: flex; align-items: center; white-space: nowrap; }
.news-ticker__track li::after {
  content: ''; width: 5px; height: 5px; margin: 0 22px; border-radius: 50%;
  background: #fff; opacity: .7;
}
@keyframes news-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .news-ticker { --ticker-height: 32px; font-size: .75rem; }
  .news-ticker__badge { padding: 0 10px; font-size: .68rem; }
  .news-ticker__track li::after { margin: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-ticker__rail { animation: none; }
  .news-ticker__track[aria-hidden="true"] { display: none; }
  /* static line; swipe/scroll inside the bar only, never the page */
  .news-ticker__viewport { overflow-x: auto; scrollbar-width: none; padding-left: 16px; }
  .news-ticker__viewport::-webkit-scrollbar { display: none; }
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* solid bg: backdrop-filter would trap the fixed mobile menu inside the header */
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--black); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu (default) */
.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; padding: 12px 16px 32px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.nav-open .site-nav { transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { border-bottom: 1px solid var(--line); }
.site-nav > ul a, .dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; color: var(--black); font-weight: 500; font-size: 1rem;
  background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left;
}
.site-nav > ul a.active, .dropdown-toggle.active, .site-nav > ul a:hover, .dropdown-toggle:hover { color: var(--pink); }
.dropdown { display: none; padding: 0 0 10px 14px !important; }
.has-dropdown.open .dropdown { display: block; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown a { padding: 9px 4px; font-weight: 400; font-size: .95rem; color: var(--muted); }
.nav-cta { display: flex; gap: 10px; margin-top: 22px; }
.nav-cta .btn { flex: 1; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; transform: none; visibility: visible; padding: 0; overflow: visible;
    display: flex; align-items: center; gap: 28px; background: none;
  }
  .site-nav > ul { display: flex; align-items: center; gap: 4px; }
  .site-nav > ul > li { border: 0; position: relative; }
  .site-nav > ul a, .dropdown-toggle { padding: 8px 12px; font-size: .93rem; width: auto; gap: 4px; }
  .site-nav > ul > li > a.active::after {
    content: ''; display: block; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--pink); border-radius: 2px;
  }
  .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 8px !important;
  }
  .has-dropdown:hover .dropdown, .has-dropdown.open .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
  .dropdown a { padding: 9px 12px; border-radius: 6px; color: var(--black); }
  .dropdown a:hover { background: var(--soft); color: var(--pink); }
  .nav-cta { margin: 0; }
  .nav-cta .btn { flex: none; }
}

.flash-wrap { padding-top: 16px; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; font-size: .95rem; border: 1px solid; }
.alert-success { background: #eefaf2; border-color: #b9e6c8; color: #1d6b3a; }
.alert-error   { background: #fdf0f0; border-color: #f1c0c0; color: #9b2323; }
.alert-info    { background: var(--soft-purple); border-color: #dccdea; color: var(--purple-dark); }
.alert-warning { background: #fff6ee; border-color: #f4d2b6; color: #9a4d17; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--soft); }
.hero picture, .hero img { width: 100%; }
.hero img { object-fit: cover; aspect-ratio: 9 / 16; }
@media (min-width: 768px) { .hero img { aspect-ratio: 16 / 9; max-height: calc(100vh - var(--header-h)); } }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fade .6s ease; }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--pink); width: 26px; border-radius: 6px; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section-soft { background: var(--soft); }
.section-purple { background: var(--soft-purple); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px;
}
.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--pink), var(--purple)); border: 0; margin: 14px auto 0; border-radius: 3px; }

/* page banner (inner pages) */
.page-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff; padding: 56px 0 48px; text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { margin: 0; opacity: .92; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; margin-bottom: 12px; opacity: .9; }
.breadcrumb a { color: #fff; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--soft); }
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.02rem; margin-bottom: 6px; }
.card-body h3 a { color: var(--black); }
.card-body h3 a:hover { color: var(--pink); }
.card-meta { font-size: .8rem; color: var(--purple); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.card-price { font-weight: 600; color: var(--pink); margin-top: auto; padding-top: 8px; }
@media (max-width: 479px) {
  .card-body { padding: 12px; }
  .card-body h3 { font-size: .92rem; }
}

/* ---------- Content (CMS pages) ---------- */
.prose { max-width: 820px; margin: 0 auto; font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; color: var(--purple); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.check-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (min-width: 640px) { .check-list.cols { grid-template-columns: repeat(2, 1fr); } }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--pink); font-weight: 600; }
.flow span { background: var(--soft); color: var(--purple-dark); border: 1px solid #ead9e6; padding: 6px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem; }
.lead-out { font-family: var(--font-head); font-style: italic; font-size: 1.2rem; color: var(--purple); }
.values-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value { background: var(--soft); border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--pink); }
.value:nth-child(even) { border-top-color: var(--purple); }
.value h3 { color: var(--purple-dark); margin-bottom: 8px; }
.value p { margin: 0; color: var(--muted); }
.placeholder-note { background: #fff6ee; border: 1px dashed var(--orange); border-radius: var(--radius); padding: 20px; color: #9a4d17; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { background: var(--purple); color: #fff; font-weight: 500; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: var(--soft); }

/* ---------- Accordion ---------- */
.accordion { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--black);
}
.acc-btn::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--pink); transition: transform .2s; flex-shrink: 0; }
.acc-item.open .acc-btn { color: var(--pink); }
.acc-item.open .acc-btn::after { transform: rotate(45deg); }
.acc-panel { display: none; padding: 0 20px 18px; color: var(--muted); }
.acc-item.open .acc-panel { display: block; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd3e0; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(187, 80, 152, .15); }
textarea.form-control { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Disclaimer ---------- */
.disclaimer { font-size: .85rem; color: var(--muted); background: var(--soft); border-left: 4px solid var(--orange); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff; text-align: center; padding: 72px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 720px; margin-left: auto; margin-right: auto; opacity: .95; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #140f18; color: #cfc6d4; font-size: .93rem; }
.footer-grid { display: grid; gap: 32px; padding: 56px 16px 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 170px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #cfc6d4; }
.site-footer a:hover { color: var(--pink); }
.footer-email { color: #fff !important; font-weight: 500; word-break: break-all; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: .85rem; color: #998fa0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* =====================================================================
   Page sections (Phase 3)
   ===================================================================== */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--purple); }
.lead { font-size: 1.08rem; color: var(--muted); }
.prose-wide { max-width: 1000px; }

/* about preview */
.about-preview { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-preview { grid-template-columns: 1.3fr 1fr; } }
.about-text p { color: var(--muted); }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.about-stats .stat { background: var(--soft); border-radius: var(--radius); padding: 22px 18px; text-align: center; border-bottom: 3px solid var(--pink); }
.about-stats .stat:nth-child(even) { border-bottom-color: var(--purple); }
.about-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--purple); line-height: 1.2; }
.about-stats .stat > span { font-size: .88rem; color: var(--muted); }

/* bundles */
.bundle-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bundle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bundle-grid { grid-template-columns: repeat(3, 1fr); } }
.bundle-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.bundle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bundle-card.featured { border-color: rgba(187, 80, 152, .45); }
.bundle-img { position: relative; background: var(--soft); }
.bundle-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bundle-bp { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-weight: 600; font-size: .8rem; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.bundle-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bundle-body h3 { margin: 0; font-size: 1.3rem; }
.bundle-price { font-size: 1.5rem; font-weight: 600; color: var(--pink); line-height: 1.2; }
.bundle-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .75rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--soft-purple); color: var(--purple-dark); }
.bundle-items { border-top: 1px solid var(--line); padding-top: 10px; font-size: .9rem; }
.bundle-items summary { cursor: pointer; color: var(--purple); font-weight: 500; list-style: none; }
.bundle-items summary::-webkit-details-marker { display: none; }
.bundle-items summary::after { content: " +"; color: var(--pink); }
.bundle-items[open] summary::after { content: " \2212"; }
.bundle-items ul { list-style: none; padding: 8px 0 0; margin: 0; display: grid; gap: 4px; }
.bundle-items li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.bundle-items li span:last-child { white-space: nowrap; color: var(--text); }
.bundle-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }

/* why */
.why-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.why-icon { display: inline-flex; width: 54px; height: 54px; border-radius: 16px; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--pink), var(--purple)); margin-bottom: 14px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* reviews */
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
@media (min-width: 640px) { .reviews-track { grid-auto-columns: 40%; } }
@media (min-width: 1024px) { .reviews-track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.review-shot { display: block; scroll-snap-align: start; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: #fff; transition: transform .25s; }
.review-shot:hover { transform: translateY(-4px); }
.review-shot img { width: 100%; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10, 6, 14, .92); display: flex; align-items: center; justify-content: center; padding: 50px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--pink); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* CTA extras */
.cta-sub { font-family: var(--font-head); font-size: 1.15rem; }
.cta-sign { margin-top: 26px; font-family: var(--font-head); font-style: italic; opacity: .9; }
.cta-band.cta-slim { padding: 48px 0; }
.cta-band.cta-slim h2 { margin-bottom: 0; }

/* product list */
.product-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: .9rem; background: #fff; }
.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.search-form { width: 100%; }
@media (min-width: 768px) { .search-form { width: 280px; } }
.search-form .form-control { border-radius: 999px; padding: 10px 18px; }

/* product detail */
.breadcrumb-dark { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb-dark a { color: var(--muted); }
.breadcrumb-dark a:hover { color: var(--pink); }
.product-detail { padding-top: 32px; }
.product-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.product-main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--soft); }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; width: 80px; }
.product-thumbs button.active { border-color: var(--pink); }
.product-info h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 6px 0 10px; }
.product-price { font-size: 1.8rem; font-weight: 600; color: var(--pink); margin-bottom: 14px; }
.in-bundles { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.product-sections { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .product-sections { grid-template-columns: repeat(2, 1fr); } }
.p-block { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.p-block-wide { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); }
.p-block h2 { font-size: 1.3rem; color: var(--purple); }
.p-block p:last-child { margin-bottom: 0; }
.p-safety { border-left: 4px solid var(--orange); }
.p-safety ul, .plain-list { padding-left: 1.2em; margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; font-size: .82rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* member area */
.member-landing { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .member-landing { grid-template-columns: 1.2fr 1fr; } }
.member-landing p { color: var(--muted); }
.portal-preview { background: linear-gradient(160deg, #1c1522, #2a1d33); color: #eee; border-radius: var(--radius); padding: 28px; border: 1px solid rgba(187,80,152,.5); }
.portal-preview h3 { color: #fff; }
.business-structure h2 { text-align: center; }
.business-structure h3 { color: var(--purple); margin-top: 1.4em; }

/* media */
.empty-media { text-align: center; padding: 40px 16px; background: var(--soft); border-radius: var(--radius); }
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--soft); }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 10px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.video-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
.video-item { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item figcaption { margin-top: 8px; font-weight: 500; }
.video-link { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--soft-purple); border-radius: var(--radius); font-weight: 600; }

/* contact */
.contact-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.contact-info p { color: var(--muted); }
.contact-email { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--soft); border-radius: var(--radius); color: var(--black); margin-top: 20px; word-break: break-all; }
.contact-email svg { color: #fff; background: var(--pink); padding: 12px; width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; }
.contact-email small { display: block; color: var(--muted); font-size: .8rem; }
.contact-email span { font-weight: 600; }
.contact-form.card:hover { transform: none; box-shadow: none; }
.contact-form .card-body { padding: 24px; }

/* bundle detail + rich text */
.bundle-body h3 a { color: var(--black); }
.bundle-body h3 a:hover { color: var(--pink); }
.bundle-excerpt { font-size: .9rem; color: var(--muted); margin: 0; }
.bundle-main { aspect-ratio: 4 / 3; }
.p-block h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; color: var(--purple-dark); margin: 1.4em 0 .5em; }
.rt-list { padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.rt-list strong { color: var(--text); font-weight: 600; }
.p-block .table-wrap { background: #fff; }

/* =====================================================================
   Scroll badge — rotating circular text (includes/scroll-badge.php)
   Only the text ring rotates (transform); the disc and arrow stay still.
   ===================================================================== */
:root {
  --sb-size: 140px;          /* badge diameter */
  --sb-x: 50%;               /* horizontal position along the edge line */
  --sb-bg: var(--pink);      /* disc colour  (e.g. var(--orange)) */
  --sb-fg: var(--white);     /* text + arrow colour */
  --sb-speed: 14s;           /* one full clockwise turn */
}
@media (max-width: 767px) { :root { --sb-size: 100px; } }

.scroll-badge {
  position: absolute; left: var(--sb-x); z-index: 30;
  width: var(--sb-size); height: var(--sb-size); border-radius: 50%;
  display: block; color: var(--sb-fg); -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 10px 24px rgba(122, 81, 151, .28));
}
.scroll-badge--edge-bottom { bottom: 0; transform: translate(-50%, 50%); }   /* half over the hero, half below */
.scroll-badge--edge-top    { top: 0;    transform: translate(-50%, -50%); }  /* half above the footer, half on it */
.scroll-badge::after {     /* soft glow (opacity-only on hover) */
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 6px rgba(187, 80, 152, .18), 0 0 36px 6px rgba(187, 80, 152, .45);
  opacity: 0; transition: opacity .35s ease;
}
.scroll-badge:hover::after, .scroll-badge:focus-visible::after { opacity: 1; }
.scroll-badge:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }

.sb-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sb-disc { fill: var(--sb-bg); }
.sb-text {
  fill: var(--sb-fg); font-family: var(--font-body); font-size: 17px; font-weight: 600;
  letter-spacing: 0; text-transform: uppercase; dominant-baseline: middle;
}
.sb-ring {
  transform-box: view-box; transform-origin: 50% 50%;
  animation: sb-spin var(--sb-speed) linear infinite;   /* JS eases playbackRate on hover */
  will-change: transform;
}
.sb-arrow path {
  fill: none; stroke: var(--sb-fg); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
}
.sb-arrow { transform-box: view-box; transform-origin: 50% 50%; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.scroll-badge--down:hover .sb-arrow, .scroll-badge--down:focus-visible .sb-arrow { transform: translateY(7px); }
.scroll-badge--up:hover .sb-arrow,   .scroll-badge--up:focus-visible .sb-arrow   { transform: translateY(-7px); }

@keyframes sb-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Parents + spacing so the badge never covers real content */
.site-footer { position: relative; }
.footer-grid { padding-top: calc(var(--sb-size) / 2 + 40px); }
.section-after-badge { padding-top: calc(var(--sb-size) / 2 + 48px); }
#main > :last-child { padding-bottom: calc(var(--sb-size) / 2 + 40px); }

@media (prefers-reduced-motion: reduce) {
  .sb-ring { animation: none; }
  .sb-arrow, .scroll-badge::after { transition: none; }
}

/* =====================================================================
   Count-up numbers (home page) — only .count-num changes; prefix/suffix
   (.count-affix) are static. Width is reserved inline (min-width in ch)
   and digits are tabular, so counting never shifts the layout.
   ===================================================================== */
.count-num { display: inline-block; font-variant-numeric: tabular-nums lining-nums; text-align: right; }
.count-affix { display: inline-block; }

.why-count {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.why-count strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1.1; color: var(--purple); }
.why-count > span { font-size: .88rem; color: var(--muted); }

.reviews-counter { text-align: center; margin: -12px auto 32px; }
.reviews-counter strong { display: block; font-family: var(--font-head); font-size: clamp(3.2rem, 8vw, 4.4rem); line-height: 1.1; color: var(--pink); }
.reviews-counter > span { font-size: .95rem; color: var(--muted); }

/* =====================================================================
   Lattice dome — rotating perforated 3D dome behind a section
   (assets/js/lattice-sphere.js, WebGL via Three.js). Turn on with
   data-lattice-sphere on the section (data-speed, data-tilt, data-color).
   ===================================================================== */
[data-lattice-sphere] {
  position: relative; overflow: hidden; isolation: isolate;
  /* size + position (quick tuning) */
  --dome-width: .45;              /* desktop: diameter = 45% of section width … */
  --dome-min-width: 520px;        /* … clamped between min … */
  --dome-max-width: 820px;        /* … and max */
  --dome-width-mobile: .9;        /* ≤ 640px: diameter = 90% of section width */
  --dome-top: 50px;               /* gap between the section top and the top of the dome */
  --dome-fade-start: 40%;         /* section height where the lower edge starts fading … */
  --dome-fade-length: 18%;        /* … fully transparent at start + length (≈ 58%) */
  --dome-opacity: .85;
  --dome-dpr: 1.25;               /* max pixel ratio for the dome canvas (lower = faster, softer) */
  /* look */
  --dome-color: #4a3d55;          /* rib colour (plum metal); data-color overrides */
  --dome-rim: #BB5098;            /* pink rim light */
  --dome-accent: #E28144;         /* faint orange accent highlight */
  --dome-cells: 3.6;              /* hole density (lower = fewer, bigger holes) */
  --dome-hole: .62;               /* hole size 0–0.95 (higher = bigger holes, thinner ribs) */
  --dome-glass-1: #BB5098;        /* glass bubbles inside the holes: pink … */
  --dome-glass-2: #7A5197;        /* … purple … */
  --dome-glass-3: #E28144;        /* … and a few orange ones */
}
.lattice-canvas {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; display: block;   /* size + left set by lattice-sphere.js (canvas = dome box only); fade is done in the shader */
  opacity: var(--dome-opacity);
}
[data-lattice-sphere] > :not(.lattice-canvas) { position: relative; z-index: 1; }
[data-lattice-sphere] h2,
[data-lattice-sphere] p { text-shadow: 0 2px 14px rgba(26, 8, 34, .35), 0 1px 2px rgba(26, 8, 34, .25); }
