/* ============================================
   HB Mental Performance — global stylesheet
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-surface: #ffffff;
  --color-border: #e1e6ec;
  --color-text: #262b33;
  --color-text-muted: #66707f;
  --color-accent: #5b9bd5;      /* baby blue */
  --color-accent-hover: #4a87c0;
  --color-accent-dark: #262b33;
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --max-width: 1160px;
  --radius: 10px;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--color-text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--color-accent-hover); }

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #14161a;
  border-bottom: 1px solid #14161a;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-header .nav-logo { color: #ffffff; }
.nav-logo span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0 0 0 28px;
  padding: 0;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }
.nav-links a.active { font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.nav-cta .btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #14161a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(91, 155, 213, 0.14), transparent 55%),
    var(--color-bg);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 820px;
  margin: 0 auto 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}
.hero p.lead {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.hero-copy { text-align: left; }
.hero-copy h1 { margin: 0 0 20px; max-width: none; }
.hero-copy p.lead { margin: 0 0 34px; max-width: none; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-copy .hero-actions { justify-content: center; }
  .hero-photo { max-width: 480px; margin: 0 auto; }
}

.page-hero {
  padding: 70px 0 50px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p.lead { max-width: 620px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Cards / grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--color-accent); transform: translateY(-3px); }
a.card { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 780px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg-alt));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 20px;
}

.image-placeholder.has-photo {
  padding: 0;
  overflow: hidden;
}

.image-placeholder.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 780px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
.stat h3 {
  font-size: 2.4rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.stat p { margin: 0; font-size: 0.9rem; }

/* ---------- Quote ---------- */
.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.quote-block p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--color-text);
  font-weight: 500;
}
.quote-block span {
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}
.form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form textarea { resize: vertical; min-height: 120px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #eaf2f9, #f6f9fc);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 56px 0 30px;
  background: var(--color-bg-alt);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.social-links { display: flex; gap: 16px; }
.social-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.social-links a:hover { color: var(--color-accent); }

/* ---------- Athlete Hub gate ---------- */
.hub-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(91, 155, 213, 0.14), transparent 55%),
    var(--color-bg);
}
.hub-gate-box {
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}
.hub-gate-box h1 { font-size: 1.5rem; margin-bottom: 10px; }
.hub-gate-box p.lead { font-size: 0.95rem; margin-bottom: 26px; }
.hub-gate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hub-gate-form input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: center;
}
.hub-gate-form input:focus { outline: none; border-color: var(--color-accent); }
.hub-gate-error {
  min-height: 1.1em;
  font-size: 0.85rem;
  color: #c94f4f;
}
.hub-gate-note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.hub-gate-note a { color: var(--color-accent); }

.hub-content { display: none; }
.hub-content.unlocked { display: block; }

.coming-soon-card { position: relative; }
.coming-soon-card .tag.tag-soon {
  border-color: var(--color-text-muted);
  color: var(--color-text-muted);
}

/* ---------- Athlete Hub module accordion ---------- */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.module-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0 28px;
  transition: border-color var(--transition);
}
.module-card[open] { border-color: var(--color-accent); }
.module-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
}
.module-card summary::-webkit-details-marker { display: none; }
.module-card summary .module-num {
  display: block;
  color: var(--color-accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.module-card summary .chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}
.module-card[open] summary .chevron { transform: rotate(180deg); color: var(--color-accent); }
.module-body { padding: 0 0 28px; }
.module-body h4 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 22px 0 12px;
}
.module-body ul { margin: 0 0 18px; padding-left: 20px; }
.module-body li { margin-bottom: 8px; color: var(--color-text-muted); }
.module-action {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.module-action strong { color: var(--color-accent); }
.module-zones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 20px;
}
.module-zones-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .module-zones, .module-zones-4 { grid-template-columns: 1fr; } }
@media (max-width: 900px) and (min-width: 641px) { .module-zones-4 { grid-template-columns: repeat(2, 1fr); } }
.module-zone {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--color-bg-alt);
}
.module-zone.is-optimal { border-color: var(--color-accent); }
.module-zone h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--color-text);
}
.module-zone.is-optimal h5 { color: var(--color-accent); }
.module-zone ul { margin: 0; padding-left: 18px; }
.module-zone li { margin-bottom: 4px; font-size: 0.88rem; }
.module-source {
  margin-top: 16px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--color-text-muted);
}

/* ---------- Athlete Hub worksheets ---------- */
.ws-divider {
  height: 1px;
  background: var(--color-border);
  margin: 26px 0 22px;
}
.ws-heading {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 6px;
}
.ws-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0 0 22px;
}
.ws-part { margin-bottom: 30px; }
.ws-part:last-of-type { margin-bottom: 0; }
.ws-part-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 14px;
}
.ws-field { margin-bottom: 16px; }
.ws-field:last-child { margin-bottom: 0; }
.ws-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.ws-field input[type="text"],
.ws-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.ws-field textarea { min-height: 64px; resize: vertical; }
.ws-field input[type="text"]:focus,
.ws-field textarea:focus { outline: none; border-color: var(--color-accent); }

.ws-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-chip { cursor: pointer; }
.ws-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.ws-chip span {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.ws-chip:hover span { border-color: var(--color-accent); }
.ws-chip:has(input:checked) span {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}

.ws-scale { display: flex; align-items: center; gap: 14px; max-width: 360px; }
.ws-scale input[type="range"] { flex: 1; accent-color: var(--color-accent); }
.ws-scale .ws-range-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-accent);
  min-width: 22px;
  text-align: center;
}

.ws-clear {
  margin-top: 26px;
  font-size: 0.85rem;
  padding: 10px 22px;
}

/* ---------- Quiz: "What's Your Next Move?" ---------- */
.quiz-box {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
@media (max-width: 640px) {
  .quiz-box { padding: 32px 22px; }
}

.quiz-progress {
  height: 4px;
  background: var(--color-bg-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 30px;
}
.quiz-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--color-accent);
  border-radius: 999px;
  transition: width var(--transition);
}

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: quiz-fade-in 0.25s ease; }
@keyframes quiz-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.quiz-question {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  text-align: left;
  width: 100%;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.quiz-option:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.quiz-option.is-selected {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
}

.quiz-back {
  margin-top: 26px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}
.quiz-back:hover { color: var(--color-accent); }

.quiz-result { text-align: center; }
.quiz-result h3#quiz-result-title { font-size: 1.5rem; }
.quiz-reflection {
  max-width: 460px;
  margin: 14px auto 0;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.quiz-result-card {
  text-align: left;
  max-width: 420px;
  margin: 24px auto 0;
}
.quiz-result-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.quiz-result-secondary {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}
.quiz-result-secondary p {
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.quiz-bridge {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-radius: 8px;
  padding: 14px 18px;
}
.quiz-bridge a { color: var(--color-accent); font-weight: 600; }
.quiz-restart {
  margin-top: 22px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.quiz-restart:hover { color: var(--color-accent); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-soon {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* ============================================
   Athlete Hub — extra bolder pass
   (the whole site now uses this white / grey /
   baby-blue theme by default, matching the live
   hbmentalperformance.netlify.app site — these
   remaining overrides just add a bit more heft
   specifically to the Hub's cards/borders).
   ============================================ */
body.hub-page .card,
body.hub-page .module-card,
body.hub-page .hub-gate-box {
  box-shadow: 0 1px 3px rgba(38, 43, 51, 0.06);
}

/* ---- Bolder pass: keep the soft palette, add more weight/heft ---- */
body.hub-page h1,
body.hub-page h2,
body.hub-page h3,
body.hub-page h4 {
  font-weight: 800;
}
body.hub-page .nav-logo { font-weight: 800; }
body.hub-page .eyebrow,
body.hub-page .module-body h4,
body.hub-page .module-card summary .module-num,
body.hub-page .ws-part-title,
body.hub-page .ws-heading {
  font-weight: 700;
}
body.hub-page .nav-links a.active { font-weight: 700; }
body.hub-page .nav-links a.active::after { height: 3px; }

body.hub-page .card,
body.hub-page .module-card,
body.hub-page .hub-gate-box {
  border-width: 2px;
}
body.hub-page .module-zone {
  border-width: 2px;
}
body.hub-page .module-zone.is-optimal { border-width: 2px; }
body.hub-page .btn-primary,
body.hub-page .btn-outline {
  border-width: 2px;
  font-weight: 700;
}
body.hub-page .ws-chip span {
  border-width: 2px;
  font-weight: 600;
}
body.hub-page .ws-divider { height: 2px; }
body.hub-page .card .tag,
body.hub-page .coming-soon-card .tag.tag-soon {
  border-width: 2px;
  font-weight: 700;
}
body.hub-page .page-hero,
body.hub-page .site-header {
  border-bottom-width: 2px;
}

/* ============================================
   Homepage v2 — calmer hero, quiet offer list
   ============================================ */

.script-word {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.22em;
  line-height: 1;
  display: inline-block;
  padding: 0 0.02em;
}

/* Nav logo with icon mark — opt-in via .has-icon so pages without it are unaffected */
.nav-logo.has-icon { flex-direction: row; align-items: center; gap: 10px; }
.nav-logo.has-icon .nav-logo-icon { width: 30px; height: 30px; flex-shrink: 0; }
.nav-logo.has-icon .nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo.has-icon .nav-logo-text span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

/* Hero, stacked: copy on top, full-width photo below instead of a tight split */
.hero.hero-stack { text-align: left; padding: 72px 0 0; }
.hero-stack .hero-grid { display: block; }
.hero-stack .hero-copy { max-width: 640px; margin: 0 auto 40px; }
.hero-stack .hero-copy h1 { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.3; }
.hero-stack .hero-copy p.lead { font-size: 1rem; max-width: 480px; }
.hero-stack .hero-photo {
  aspect-ratio: 1179 / 620;
  border-radius: 22px;
  border: none;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .hero-stack .hero-photo { aspect-ratio: 4 / 3; }
}

.btn-outline-dark { border-color: var(--color-text); border-width: 1.5px; }
.btn-outline-dark:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* Quiet offer list — replaces the boxed 3-card grid on the homepage */
.offer-list { max-width: 900px; margin: 0 auto; }
.offer-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.offer-row:first-child { border-top: 1px solid var(--color-border); }
.offer-row .offer-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-accent-hover);
}
.offer-row .offer-copy .offer-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.offer-row .offer-copy h3 { font-size: 1.15rem; margin: 0 0 4px; }
.offer-row .offer-copy p { font-size: 0.92rem; margin: 0; }
.offer-row .offer-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent-hover);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .offer-row { grid-template-columns: 30px 1fr; }
  .offer-row .offer-link { grid-column: 2; margin-top: 10px; }
}

/* Quote block, calm variant — left-aligned, a border instead of a centered slab */
.quote-block.is-calm {
  text-align: left;
  max-width: 640px;
  margin: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
}
.quote-block.is-calm p { font-size: clamp(1.1rem, 2vw, 1.3rem); }

/* ============================================
   Editorial pass — bold nav/buttons + a clean
   icon row, borrowing the crisp, high-contrast
   structure Hanna's original Elementor template
   used, while keeping our blue + logo as-is.
   ============================================ */

.stats.stats-editorial {
  padding-top: 8px;
}
.stat-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 16px;
  color: var(--color-accent);
}
.stat-icon svg { width: 100%; height: 100%; display: block; }
.stats-editorial .stat h3 { font-size: 1.7rem; margin-bottom: 6px; }
.stats-editorial .stat p { font-size: 0.85rem; }

/* About Hanna photo, homepage — sharper edge than the default soft image tile */
.two-col.is-editorial .image-placeholder {
  border-radius: 4px;
}

/* Full-bleed split section — image runs to the true edge of the browser,
   copy sits inset on the other half. Borrows the alternating full-bleed
   photography blocks from Hanna's original Elementor template. */
.split-bleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
}
.split-bleed-media { width: 100%; height: 100%; overflow: hidden; }
.split-bleed-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-bleed-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  max-width: 620px;
}
.split-bleed-copy .eyebrow { margin-bottom: 14px; }
.split-bleed-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.split-bleed.is-reverse { grid-template-columns: 1fr 1fr; }
.split-bleed.is-reverse .split-bleed-media { order: 2; }
.split-bleed.is-reverse .split-bleed-copy { order: 1; margin-left: auto; }
/* Taller crop window for a portrait-orientation photo (e.g. the You vs You
   hoodie shot) so object-fit: cover doesn't zoom in past the point of
   showing the garment/print clearly. Scoped so it doesn't affect the other
   split-bleed sections on the page. */
.split-bleed.is-tall { min-height: 760px; }
@media (max-width: 860px) {
  .split-bleed { grid-template-columns: 1fr; min-height: 0; }
  /* .split-bleed.is-reverse sets its own 2-column rule outside this media
     query with higher specificity than the bare .split-bleed rule above, so
     it silently wins and squeezes is-reverse sections into two narrow
     columns on mobile. Match its specificity here to force single-column. */
  .split-bleed.is-reverse { grid-template-columns: 1fr; }
  .split-bleed-media { aspect-ratio: 4 / 3; order: 0 !important; }
  .split-bleed-copy { order: 1 !important; margin-left: 0; padding: 44px 24px; max-width: none; }
  .split-bleed.is-tall .split-bleed-media { aspect-ratio: 3 / 4; }
}

/* Full-bleed photo with the copy laid directly over it (same overlay
   treatment as .page-hero.is-bleed) instead of a two-column split — for a
   section that should read as a title/intro band rather than a photo+text
   pairing. */
.split-bleed.is-overlay {
  display: block;
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.split-bleed.is-overlay .split-bleed-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.split-bleed.is-overlay .split-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split-bleed.is-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,10,14,.82) 12%, rgba(8,10,14,.35) 55%, rgba(8,10,14,.05) 88%);
}
.split-bleed.is-overlay .split-bleed-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 600px;
  padding: 64px 72px;
  margin: 0;
  color: #ffffff;
}
.split-bleed.is-overlay .split-bleed-copy .eyebrow { color: #cfe0ff; }
.split-bleed.is-overlay .split-bleed-copy h2 { color: #ffffff; }
.split-bleed.is-overlay .split-bleed-copy p { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 860px) {
  .split-bleed.is-overlay {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .split-bleed.is-overlay::after {
    background: linear-gradient(180deg, rgba(8,10,14,.35) 0%, rgba(8,10,14,.2) 35%, rgba(8,10,14,.85) 100%);
  }
  .split-bleed.is-overlay .split-bleed-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: none;
    padding: 0 24px 36px;
  }
}

/* Big, bold uppercase section labels — the large-type treatment from the
   original template, used where the heading is short enough to carry it. */
h2.is-bold {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Dark band — a repeating graphic beat (like the template's black nav)
   used sparingly for contrast rhythm between the white sections. */
.cta-band.is-dark {
  background: #14161a;
  border-top: none;
  border-bottom: none;
}
.cta-band.is-dark h2 { color: #ffffff; }
.cta-band.is-dark p { color: rgba(255, 255, 255, 0.68); }
.cta-band.is-dark .badge-soon { background: var(--color-accent); }

/* Homepage type system — a bolder, less-common display face than the
   Poppins/Inter pairing used elsewhere on the site, scoped so the rest
   of the site (still mid-rebuild) is unaffected. */
.home-v2 {
  --font-heading: 'Archivo', 'Poppins', 'Segoe UI', system-ui, sans-serif;
}
.home-v2 h1,
.home-v2 h2,
.home-v2 h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
}
.home-v2 .section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
}
.home-v2 .eyebrow {
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* Menu-style grid — three photo-led offers, echoing the template's
   photo grid (image, name, short line, price/link) instead of a plain
   text list. */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.menu-item-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 20px;
}
.menu-item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin: 0 0 8px;
}
.menu-item h3 { font-size: 1.25rem; margin: 0 0 10px; }
.menu-item p:not(.menu-item-label) { font-size: 0.92rem; margin: 0 0 14px; }
.menu-item-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
@media (max-width: 780px) {
  .menu-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Coming Soon band, with the actual book cover alongside the copy */
.cta-band-split {
  display: flex;
  align-items: center;
  gap: 64px;
  text-align: left;
}
.cta-band-cover {
  flex-shrink: 0;
  width: 220px;
}
.cta-band-cover img {
  width: 100%;
  display: block;
  border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.cta-band-copy { max-width: 520px; }
.cta-band-copy p:not(.badge-soon) { margin: 0 0 28px; }
@media (max-width: 700px) {
  .cta-band-split { flex-direction: column; text-align: center; gap: 32px; }
  .cta-band-cover { width: 180px; }
}

/* ============================================
   Blend direction — approved
   Light nav with a dark logo, original photo
   treatment left untouched, pill-shaped blue
   buttons, bold uppercase headlines. Keeps the
   dark full-bleed split section, menu-grid, and
   dark "coming soon" band from the Favola pass.
   ============================================ */

/* Buttons — rounded pill, normal case */
.btn {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  padding: 14px 30px;
}

/* Nav — light background, dark logo/text, no hard seam beneath it */
.site-header {
  background: #ffffff;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(20, 22, 26, 0.05);
}
.site-header .nav-logo { color: var(--color-text); }
.nav-links a {
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-accent); }
.nav-links a.active::after { background: var(--color-accent); }
.nav-cta .btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.nav-cta .btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }
.nav-toggle span { background: var(--color-text); }
@media (max-width: 860px) {
  .nav-links {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links a { border-bottom: 1px solid var(--color-border); }
}

/* Headlines — bold uppercase, matching the live site's type treatment */
.home-v2 h1,
.home-v2 h2,
.home-v2 h3 {
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

/* Hero CTAs — filled blue instead of outline */
.hero-actions .btn {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.hero-actions .btn:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Offer photos — a touch of rounding */
.menu-item-photo { border-radius: 10px; overflow: hidden; }

/* Hero — full-bleed photo with the dark gradient shade (restored, liked this) */
.hero.hero-stack { padding: 0; }
.hero.hero-stack .container { max-width: none; padding: 0; margin: 0; }
.hero-stack .hero-grid { display: block; position: relative; }
.hero-stack .hero-photo {
  position: relative;
  max-width: none;
  margin: 0;
  border-radius: 0;
  aspect-ratio: 20 / 9;
}
.hero-stack .hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,10,14,.85) 8%, rgba(8,10,14,.35) 55%, rgba(8,10,14,.05) 85%);
}
.hero-stack .hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  margin: 0;
  padding: 0 7vw;
}
.hero-stack .hero-copy .eyebrow { color: #cfe0ff; }
.hero-stack .hero-copy h1 { color: #ffffff; }
.hero-stack .hero-copy p.lead { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 780px) {
  .hero-stack .hero-photo { aspect-ratio: 3 / 4; }
  .hero-stack .hero-photo::after {
    background: linear-gradient(180deg, rgba(8,10,14,.5) 0%, rgba(8,10,14,.3) 38%, rgba(8,10,14,.82) 100%);
  }
  .hero-stack .hero-copy {
    max-width: none;
    padding: 0 24px 36px;
    justify-content: flex-end;
  }
}

/* ============================================
   Interior page hero + photo-led sections
   Same Blend treatment as the homepage hero,
   applied to inside pages (starting with
   You vs You): full-bleed photo hero, photo-led
   program cards, event-style photo grid.
   ============================================ */

.page-hero.is-bleed {
  position: relative;
  padding: 0;
  border-bottom: none;
  background: none;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.page-hero.is-bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero.is-bleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,10,14,.88) 12%, rgba(8,10,14,.72) 55%, rgba(8,10,14,.45) 100%);
}
.page-hero.is-bleed .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
}
.page-hero.is-bleed .eyebrow { color: #cfe0ff; }
.page-hero.is-bleed h1 { color: #ffffff; max-width: 640px; font-size: clamp(2rem, 4.2vw, 3.2rem); text-transform: uppercase; letter-spacing: -0.01em; }
.page-hero.is-bleed h1 em {
  font-style: normal;
  font-weight: 900;
  color: var(--color-accent);
}
.page-hero.is-bleed p.lead { color: rgba(255,255,255,.85); max-width: 560px; }
@media (max-width: 780px) {
  .page-hero.is-bleed { aspect-ratio: 3/4; }
}

/* Photo-led "menu" cards for a two-program grid */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.program-card-photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 22px;
}
.program-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.program-card h3 { font-size: 1.5rem; margin: 4px 0 6px; }
.program-price { font-size: 1.6rem; font-weight: 800; color: var(--color-text); margin: 0 0 12px; font-family: var(--font-heading); }
@media (max-width: 780px) {
  .program-grid { grid-template-columns: 1fr; }
}

/* Three-column variant — same photo-led program cards, for a wider tier
   lineup (e.g. Academy & Agency Packages). */
.program-grid.is-three-col { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.program-grid.is-three-col .program-card-photo { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .program-grid.is-three-col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .program-grid.is-three-col { grid-template-columns: 1fr; }
}

/* Events/webinar grid — photo, date badge, title, blurb */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.event-card { position: relative; }
.event-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 16px;
}
.event-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.event-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.event-card p { font-size: 0.86rem; margin: 0; }
.events-grid.events-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.events-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 1100px) {
  .events-grid.events-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .events-grid, .events-grid.events-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .events-grid, .events-grid.events-grid-5 { grid-template-columns: 1fr; }
}

/* ---------- Pre-payment modal (quick intro before checkout) ---------- */
/* Verified against the live site on 2026-09-17 — real CSS, not a reconstruction. */
.pre-payment-modal[hidden] { display: none; }
.pre-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pre-payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,10,14,.6);
}
.pre-payment-dialog {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
}
.pre-payment-dialog .quiz-box { margin: 0; }
.pre-payment-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.pre-payment-close:hover { color: var(--color-accent); }
@media (max-width: 640px) {
  .pre-payment-close { top: 10px; right: 10px; }
}
.quiz-text-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
}
.quiz-text-input:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ============================================
   Program Details pages (Foundation/Elevate) —
   audience-toggle video card + testimonial slots.
   New with the 2026-09-17 build, not part of the
   live-site mirror above.
   ============================================ */
.audience-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 18px;
}
.audience-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 4px;
}
.aud-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.aud-btn[aria-selected="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.aud-btn:hover { border-color: var(--color-accent); }

.video-card {
  position: relative;
  scroll-margin-top: 100px;
  max-width: 360px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #000;
}
/* Reserve the video's real (9:16) footprint up front so the layout doesn't jump once
   the browser learns the video's dimensions on load/play. */
.video-card video { width: 100%; height: auto; aspect-ratio: 9 / 16; display: block; object-fit: cover; transition: opacity 0.32s ease; }
.video-card video.is-switching { opacity: 0; }
/* Fade the whole card in as it scrolls into view; also covers the video's own start/end fade-to-black baked into the clip */
.js-fade-video {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.js-fade-video.is-visible { opacity: 1; transform: none; }
/* Caption styling to match brand, where the browser supports ::cue */
.video-card video::cue {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-family: var(--font-body, inherit);
  font-size: 0.95em;
  padding: 0.1em 0.3em;
}
.video-card .logo-bug {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.video-card .logo-bug img { width: 100%; height: 100%; object-fit: contain; }
.video-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.page-hero:not(.is-bleed) .video-note,
.page-hero:not(.is-bleed) .audience-label {
  color: var(--color-text-muted);
}
.page-hero:not(.is-bleed) .aud-btn {
  border-color: var(--color-border);
  color: var(--color-text);
}
.page-hero:not(.is-bleed) .aud-btn[aria-selected="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-slot {
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.9rem;
  background: var(--color-bg-alt);
}
@media (max-width: 780px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================
   2026-10-02 audit fix: two-column grid children could stretch
   wider than a phone screen (contact form + long email button).
   ============================================ */
.two-col > * { min-width: 0; }
.form input, .form textarea, .form select { box-sizing: border-box; max-width: 100%; }
.btn { overflow-wrap: anywhere; }
.two-col .btn { white-space: normal; max-width: 100%; text-align: center; }

/* 2026-10-02 audit fix: the video toggle was styled for a dark background,
   so "Watching as" and the unselected button were white-on-white. */
.audience-label, .video-note { color: var(--color-text-muted); }
.aud-btn { color: var(--color-text); border-color: var(--color-border); }
.aud-btn[aria-selected="true"] { color: #ffffff; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 24px; }

[hidden] { display: none !important; }
