/* BYOM — Science page specific styles */

.byom-spectrum-section { padding: 60px 0; background: var(--ivory); }
.byom-spectrum-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px 36px; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
.bss-dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 14px; }
.bss-dot { width: 6px; height: 6px; border-radius: 50%; background: #E0DDD4; transition: all .4s; }
.bss-dot.active { background: #FACB01; width: 20px; border-radius: 3px; }
.bss-stage { border-radius: 16px; border: 0.5px solid rgba(26,26,26,0.08); background: #fff; padding: 28px 28px 22px; margin-bottom: 12px; transition: background .6s ease; position: relative; text-align: center; }
.bss-tag { font-size: 10px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; transition: color .4s; }
.bss-value { font-size: 52px; font-weight: 300; line-height: 1; letter-spacing: -1.5px; margin-bottom: 3px; transition: color .5s; font-family: 'Inter', sans-serif; }
.bss-unit { font-size: 18px; font-weight: 300; margin-left: 4px; letter-spacing: 0; }
.bss-name { font-size: 14px; font-weight: 500; margin-bottom: 6px; transition: color .4s; }
.bss-desc { font-size: 12px; line-height: 1.7; color: #7A7A6A; max-width: 480px; margin: 0 auto; }
.bss-bar-wrap { margin: 22px 0 0; text-align: left; }
.bss-bar-lbl { font-size: 9.5px; letter-spacing: .5px; color: #7A7A6A; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; }
.bss-bar-track { width: 100%; height: 40px; background: #F0EDE4; border-radius: 8px; overflow: hidden; }
.bss-bar-fill { height: 100%; border-radius: 8px; display: flex; align-items: center; padding-left: 14px; transition: width 1s cubic-bezier(.4,0,.2,1), background .6s; }
.bss-bar-fill-label { font-size: 10.5px; font-weight: 500; color: rgba(0,0,0,.38); white-space: nowrap; }
.bss-feel-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; text-align: left; }
.bss-feel-lbl { font-size: 9.5px; color: #7A7A6A; letter-spacing: .4px; white-space: nowrap; text-transform: uppercase; font-weight: 500; }
.bss-feel-track { flex: 1; height: 3px; background: #F0EDE4; border-radius: 2px; }
.bss-feel-fill { height: 3px; border-radius: 2px; transition: width 1s cubic-bezier(.4,0,.2,1), background .6s; }
.bss-feel-text { font-size: 10px; font-weight: 500; min-width: 130px; text-align: right; transition: color .4s; }
.bss-zones { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; }
.bss-zone { padding: 11px 10px; border-radius: 10px; background: #F5F2EA; border: 0.5px solid rgba(26,26,26,0.08); cursor: pointer; transition: all .25s; text-align: center; user-select: none; }
.bss-zone:hover { border-color: rgba(201,160,0,.35); }
.bss-zone.active { border-width: 1.5px; }
.bss-zone-name { font-size: 9.5px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
.bss-zone-val { font-size: 10.5px; color: #7A7A6A; }
.bss-fact-bar { background: #F5F2EA; border-radius: 10px; padding: 13px 18px; border: 0.5px solid rgba(26,26,26,0.08); font-size: 11px; color: #7A7A6A; line-height: 1.6; text-align: center; }
.bss-fact-bar b { color: #C9A000; font-weight: 500; }

/* ── RESPONSIVE ─────────────────────────────────── */

/* 768px: tablet */
@media (max-width: 768px) {
  .byom-spectrum-section { padding: 48px 0; }
  .byom-spectrum-wrap    { padding: 0 20px 28px; }
  .bss-zones             { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bss-value             { font-size: 42px; }
  .bss-feel-text         { min-width: 100px; font-size: 9px; }
}

/* 480px: small phones */
@media (max-width: 480px) {
  .byom-spectrum-section { padding: 36px 0; }
  .byom-spectrum-wrap    { padding: 0 14px 20px; }
  .bss-zones             { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .bss-stage             { padding: 20px 16px 16px; border-radius: 12px; }
  .bss-value             { font-size: 36px; letter-spacing: -1px; }
  .bss-unit              { font-size: 15px; }
  .bss-name              { font-size: 13px; }
  .bss-desc              { font-size: 11px; }
  .bss-bar-track         { height: 32px; }
  .bss-feel-text         { min-width: 80px; font-size: 8.5px; }
  .bss-zone              { padding: 9px 6px; }
  .bss-zone-name         { font-size: 8.5px; letter-spacing: 0.5px; }
  .bss-zone-val          { font-size: 9.5px; }
}

/* ═══════════════════════════════════════════════════
   SCIENCE PAGE — SECTION-SPECIFIC STYLES
   (Electric, Disruptors, Framework, Stats, Safety, CTA)
   ═══════════════════════════════════════════════════ */

/* ── The Body is Electric ─────────────────────────── */
.electric-section { padding: 100px 24px; background: var(--cream); }
.electric-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.electric-inner .section-label {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #F2CE18;
  margin-bottom: 12px;
  line-height: 1.1;
}
.electric-inner h2 {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.electric-inner h2 em { color: #F2CE18; font-style: italic; }
.electric-body { font-size: 17px; line-height: 1.85; color: var(--mid); }
.electric-body p + p { margin-top: 18px; }

/* ── What Disrupts Bioelectrical Signals ─────────── */
.disruptors-section { padding: 100px 24px; background: var(--cream); }
.disruptors-inner { max-width: 920px; margin: 0 auto; }
.disruptors-inner .section-label {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #F2CE18;
  margin-bottom: 12px;
  line-height: 1.1;
}
.disruptors-inner h2 {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 32px;
}
.disruptors-inner h2 em { color: #F2CE18; font-style: italic; }
.disruptors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.disruptor-item { background: var(--white); border-radius: 18px; padding: 28px 28px; border-left: 3px solid var(--yellow); }
.disruptor-item p { font-size: 15px; font-weight: 400; color: var(--mid); line-height: 1.6; }

/* ── The Framework (3-phase cards) ───────────────── */
.phases-science { padding: 100px 24px; background: #F8F8E8; border-top: 1px solid rgba(200,197,0,.15); }
.phases-science-inner { max-width: 1040px; margin: 0 auto; }
.phases-science-inner .section-label {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #F2CE18;
  margin-bottom: 12px;
  line-height: 1.1;
}
.phases-science-inner h2 {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 32px;
}
.phases-science-inner h2 em { color: #F2CE18; font-style: italic; }
.phases-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.phase-sci-card { border-radius: 22px; padding: 36px 32px; border: 1px solid rgba(200,197,0,.18); background: var(--white); }
.phase-sci-num { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #F2CE18; margin-bottom: 14px; }
.phase-sci-card h3 { font-size: 19px; font-weight: 500; color: var(--text); margin-bottom: 14px; }
.phase-sci-card ul { list-style: none; padding: 0; }
.phase-sci-card ul li { font-size: 14px; color: var(--mid); line-height: 1.65; padding: 6px 0; border-bottom: 1px solid rgba(26,26,20,.07); }
.phase-sci-card ul li:last-child { border-bottom: none; }
.phase-sci-card ul li::before { content: '— '; color: #F2CE18; }

/* ── Observed Responses (stat cards) ─────────────── */
.stats-section { padding: 100px 24px; background: var(--cream); }
.stats-inner { max-width: 1040px; margin: 0 auto; }
.stats-inner .section-label {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #F2CE18;
  margin-bottom: 12px;
  line-height: 1.1;
}
.stats-inner h2 {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 32px;
}
.stats-inner h2 em { color: #F2CE18; font-style: italic; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.stat-card { background: var(--white); border-radius: 22px; padding: 40px 36px; border: 1px solid rgba(200,197,0,.15); }
.stat-card .stat-num { font-size: clamp(42px, 5vw, 64px); font-weight: 300; color: var(--text); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-card .stat-num span { color: #F2CE18; }
.stat-card h4 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.stat-card p { font-size: 14px; line-height: 1.7; color: var(--mid); }
.stats-note { margin-top: 32px; padding: 20px 24px; background: var(--ivory); border-radius: 12px; }
.stats-note p { font-size: 12px; color: var(--light); line-height: 1.7; }

/* ── Current Intensity Comparison (sc-* cards) ───── */
.sc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 56px; }
.sc-card { background: var(--white); border: .5px solid rgba(201,160,0,.2); border-radius: 18px; padding: 28px 26px 22px; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; text-align: center; }
.sc-card.in { opacity: 1; transform: translateY(0); }
.sc-card-top { display: flex; align-items: flex-end; justify-content: center; gap: 4px; margin-bottom: 8px; }
.sc-num { font-size: clamp(42px, 5vw, 64px); font-weight: 300; line-height: 1; color: #F2CE18; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.sc-suffix { font-size: 20px; font-weight: 300; color: #F2CE18; margin-bottom: 8px; }
.sc-range { font-size: 10px; color: rgba(201,160,0,.6); font-weight: 400; margin-bottom: 10px; letter-spacing: .3px; }
.sc-rule { height: .5px; background: rgba(201,160,0,.2); margin-bottom: 12px; }
.sc-title { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 5px; }
.sc-desc { font-size: 12px; color: var(--mid); line-height: 1.65; }

/* ── Safety & Application ─────────────────────────── */
.safety-section { padding: 80px 24px; background: var(--ivory); }
.safety-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.safety-inner .section-label {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #F2CE18;
  margin-bottom: 12px;
  line-height: 1.1;
}
.safety-inner h2 {
  font-family: 'Canela', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 32px;
}
.safety-inner h2 em { color: #F2CE18; font-style: italic; }
.safety-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.safety-pill { font-size: 13px; font-weight: 400; padding: 10px 22px; border-radius: 100px; border: 1px solid rgba(200,197,0,.3); background: rgba(245,242,51,.1); color: var(--mid); }

/* ── CTA (dark/yellow-pale band) ─────────────────── */
.cta-dark { padding: 100px 24px; background: var(--yellow-pale); text-align: center; border-top: 1px solid rgba(200,197,0,.2); }
.cta-dark h2 { color: var(--text); font-size: clamp(32px, 4vw, 50px); max-width: 600px; margin: 0 auto 16px; }
.cta-dark h2 em { color: #F2CE18; font-style: italic; }
.cta-dark p { color: var(--mid); max-width: 440px; margin: 0 auto 36px; font-size: 16px; line-height: 1.7; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .electric-section { padding: 60px 20px; }
  .disruptors-section { padding: 60px 20px; }
  .phases-science { padding: 60px 20px; }
  .stats-section { padding: 60px 20px; }
  .safety-section { padding: 56px 20px; }
  .cta-dark { padding: 60px 20px; }
  .disruptors-grid,
  .phases-cards,
  .stats-grid,
  .sc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .electric-section { padding: 48px 16px; }
  .disruptors-section { padding: 48px 16px; }
  .phases-science { padding: 48px 16px; }
  .stats-section { padding: 48px 16px; }
  .safety-section { padding: 40px 16px; }
  .cta-dark { padding: 48px 16px; }
  .phase-sci-card { padding: 24px 20px; }
  .stat-card { padding: 28px 24px; }
  .sc-card { padding: 20px 18px 16px; }
}

/* Science page: show hero video on mobile (original design shows video, no display:none)
   opacity:1 bypasses the JS-triggered fade-in — video shows immediately like the original
   bottom:-6px pushes video 6px below the section boundary; overflow:hidden on .page-hero
   clips that edge, removing the grey bottom-frame artefact from the video content */
@media (max-width: 768px) {
  #page-hero-video { display: block !important; opacity: 1 !important; transition: none !important; bottom: -6px; }
}
