/* ============================================================
   Peptide Curious — shared stylesheet
   Brand colors sourced from the finalized logo.
   ============================================================ */
:root{
  --ink:#2F024E;          /* deep purple */
  --ink-soft:#3D2560;
  --gold:#CD9423;         /* brand gold */
  --gold-ink:#9A7320;     /* gold, legible on white */
  --bg:#FFFFFF;
  --surface:#FAF8FC;
  --surface-warm:#FBF6E9;
  --line:#ECE4F5;
  --line-soft:#EEE8F5;
  --text:#4A3D5C;
  --text-soft:#5B4C6E;
  --text-mute:#6B5A7D;
  --text-faint:#8A7996;
  --maxw:1280px;
  --radius:16px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--bg); color:var(--ink);
  font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  overflow-x:clip; line-height:1.55;}
img{max-width:100%; display:block;}
a{color:var(--ink); text-decoration:none;}
a:hover{color:var(--gold);}
h1,h2,h3,h4,p{margin:0;}
button{font-family:inherit;}
[hidden]{display:none !important;}
::-webkit-scrollbar{height:8px; width:8px;}
::-webkit-scrollbar-thumb{background:#d9cde9; border-radius:8px;}

@keyframes fadeUp{from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:translateY(0);}}

.wrap{max-width:var(--maxw); margin:0 auto;}
.section{padding:56px 32px;}
.section.tight{padding:36px 32px;}
.section.surface{background:var(--surface);}
.section.dark{background:var(--ink); color:#fff;}
.section.dark h1,.section.dark h2,.section.dark h3{color:#fff;}
.center{text-align:center;}
.muted{color:var(--text-mute);}

/* placeholder marker — used everywhere Alex will drop assets */
.ph{display:inline-block; background:#FFF4D6; border:1px dashed var(--gold); color:var(--gold-ink);
  font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:8px; letter-spacing:.02em;}
.ph-block{background:#FFF9E9; border:1px dashed var(--gold); border-radius:14px; padding:20px;
  color:var(--gold-ink); font-size:13px; font-weight:600; text-align:center;}

/* ---------- Announcement bar ---------- */
.announce{background:var(--ink); color:#fff; font-size:12.5px; font-weight:600; text-align:center;
  padding:9px 40px 9px 14px; position:relative; line-height:1.4;}
.announce a{color:var(--gold); font-weight:700; margin-left:6px; white-space:nowrap;}
.announce button{position:absolute; right:14px; top:50%; transform:translateY(-50%); background:none;
  border:none; color:#fff; opacity:.7; font-size:16px; cursor:pointer; line-height:1;}
.announce button:hover{opacity:1;}

/* ---------- Header ---------- */
#pc-header{display:contents;} /* the sticky header's containing block must not be this shrink-wrapped injection div */
header.site{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.97);
  backdrop-filter:blur(6px); border-bottom:1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:space-between; padding:6px 16px; gap:12px;}
.site-logo{flex:0 0 auto; display:flex; justify-content:flex-start;}
.site-logo img{width:100%; max-width:288px; height:auto;}
nav.primary{display:flex; flex-wrap:wrap; align-items:center; gap:16px 22px; flex:1; justify-content:center;}
nav.primary a,.navbtn{font-size:16.5px; font-weight:600; color:var(--ink); background:none; border:none;
  cursor:pointer; padding:8px 0; display:flex; align-items:center; gap:4px; white-space:nowrap;}
nav.primary a:hover,.navbtn:hover{color:var(--gold);}
.navitem{position:relative;}
.navitem .menu{position:absolute; top:100%; left:50%; transform:translateX(-50%); background:#fff;
  border:1px solid var(--line-soft); border-radius:12px; box-shadow:0 16px 40px rgba(47,2,78,.14);
  min-width:210px; padding:8px; animation:fadeUp .15s ease; display:none;}
.navitem.open .menu{display:block;}
.navitem .menu a{display:block; padding:9px 14px; border-radius:8px; font-size:13px; font-weight:500;}
.navitem .menu a:hover{background:var(--surface);}
.navitem .chev{transition:transform .15s ease;}
.navitem.open .chev{transform:rotate(180deg);}
.header-actions{order:3; display:flex; align-items:center; gap:12px;}
.iconbtn{background:none; border:none; cursor:pointer; padding:6px; display:flex; color:var(--ink);}
.iconbtn:hover{color:var(--gold);}
.btn-subscribe{background:var(--gold); color:#fff; font-size:13px; font-weight:700; padding:10px 18px;
  border-radius:24px; white-space:nowrap;}
.btn-subscribe:hover{color:#fff; filter:brightness(1.06);}
.lock{width:12px; height:12px; margin-left:2px;}
.hamburger{display:none;}

.mobile-menu{background:#fff; border-bottom:1px solid var(--line-soft); padding:18px 24px 26px;
  display:none; flex-direction:column; gap:2px;}
.mobile-menu.open{display:flex;}
.mobile-menu a{padding:12px 4px; border-bottom:1px solid #F5F1FA; font-size:15px; font-weight:600;}
.mobile-menu .label{padding:14px 4px 4px; font-size:11.5px; font-weight:700; color:var(--text-faint);
  text-transform:uppercase; letter-spacing:.05em;}
.mobile-menu .sub{padding:10px 4px; font-size:14px; font-weight:500; border:none;}
.mobile-menu .btn-subscribe{margin-top:14px; text-align:center; padding:13px;}

/* ---------- Buttons ---------- */
.btn-primary{display:inline-block; background:var(--ink); color:#fff; font-size:14.5px; font-weight:700;
  padding:14px 26px; border-radius:28px; border:none; cursor:pointer;}
.btn-primary:hover{color:#fff; filter:brightness(1.18);}
.btn-ghost{display:inline-block; background:#fff; color:var(--ink); border:2px solid var(--ink);
  font-size:14.5px; font-weight:700; padding:12px 26px; border-radius:28px; cursor:pointer;}
.btn-ghost:hover{background:var(--ink); color:#fff;}
.btn-gold{display:inline-block; background:var(--gold); color:#fff; font-size:14px; font-weight:700;
  padding:13px 24px; border-radius:26px; border:none; cursor:pointer;}
.btn-gold:hover{color:#fff; filter:brightness(1.06);}
.btn-dark-sm{display:inline-block; background:var(--ink); color:#fff; font-size:13.5px; font-weight:700;
  padding:12px 24px; border-radius:24px;}
.btn-dark-sm:hover{color:#fff; filter:brightness(1.18);}

/* ---------- Hero ---------- */
.hero{padding:48px 32px; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.eyebrow{display:inline-block; background:var(--surface-warm); color:var(--gold-ink); font-size:12px;
  font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:7px 14px; border-radius:20px;
  margin-bottom:20px;}
.hero h1{font-size:clamp(32px,6vw,52px); line-height:1.08; font-weight:800; margin-bottom:20px;}
.hero h1 span{color:var(--gold);}
.hero p.lead{font-size:16px; line-height:1.6; color:var(--text); max-width:480px; margin-bottom:30px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}

/* page hero (interior pages) */
.page-hero{padding:52px 32px 30px; max-width:var(--maxw); margin:0 auto;}
.page-hero .eyebrow{margin-bottom:14px;}
.page-hero h1{font-size:clamp(28px,5vw,44px); font-weight:800; line-height:1.1; margin-bottom:14px;}
.page-hero p{font-size:15.5px; color:var(--text); max-width:640px; line-height:1.65;}
.breadcrumb{font-size:12px; color:var(--text-faint); margin-bottom:16px;}
.breadcrumb a{color:var(--text-faint);}
.breadcrumb a:hover{color:var(--gold);}

/* ---------- Media placeholders ---------- */
.media{position:relative; border-radius:20px; overflow:hidden; display:flex; align-items:center;
  justify-content:center;
  background:repeating-linear-gradient(135deg,#F0EAF8 0,#F0EAF8 14px,#E6DDF3 14px,#E6DDF3 28px);}
.media.ratio-16-10{aspect-ratio:16/10;}
.media.ratio-16-9{aspect-ratio:16/9;}
.media.ratio-3-2{aspect-ratio:3/2;}
.media.ratio-1-1{aspect-ratio:1/1;}
.media.ratio-9-16{aspect-ratio:9/16;}
.media .play{width:64px; height:64px; border-radius:50%; background:var(--ink); display:flex;
  align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(47,2,78,.3);}
.media .play svg{fill:#fff;}
.media .play.light{background:#fff;} .media .play.light svg{fill:var(--ink);}
.media .ph-note{position:absolute; bottom:14px; left:14px; font-size:11px; font-weight:600;
  color:var(--text); background:#fff; padding:6px 12px; border-radius:16px;}
.badge-dur{position:absolute; bottom:12px; right:12px; background:rgba(47,2,78,.85); color:#fff;
  font-size:11px; font-weight:600; padding:3px 8px; border-radius:4px;}

/* full-bleed landing video */
.hero-video{position:relative; width:100%; min-height:78vh; display:flex; align-items:center;
  justify-content:center; text-align:center; color:#fff; overflow:hidden;
  background:linear-gradient(160deg,#2F024E 0%,#3D2560 55%,#241C42 100%);}
.hero-video .inner{position:relative; z-index:2; max-width:720px; padding:40px 24px;}
.hero-video h1{font-size:clamp(34px,7vw,60px); font-weight:800; line-height:1.06; margin-bottom:18px; color:#fff;}
.hero-video p{font-size:17px; color:#E7DCF3; margin-bottom:28px;}
.hero-video .video-ph{position:absolute; inset:0; z-index:1; display:flex; align-items:flex-end;
  justify-content:center; padding-bottom:18px;
  background:repeating-linear-gradient(135deg,#3D2560 0,#3D2560 16px,#33205A 16px,#33205A 32px);}
.hero-video .video-ph span{background:rgba(0,0,0,.4); color:#EBDFF7; font-size:11.5px; font-weight:700;
  padding:6px 14px; border-radius:20px; border:1px dashed rgba(255,255,255,.35);}

/* ---------- Section headers ---------- */
.kicker{font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold); margin-bottom:22px;}
.sec-head{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:26px;
  flex-wrap:wrap; gap:10px;}
.sec-head h2,h2.sec-title{font-size:clamp(24px,4vw,30px); font-weight:800;}
.sec-note{font-size:13.5px; color:var(--text-mute);}
.sec-sub{font-size:14.5px; color:var(--text-mute); margin-bottom:26px; max-width:680px;}

/* ---------- Featured box ---------- */
.featured-box{display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center;
  background:var(--surface); border-radius:24px; padding:36px;}
.featured-box .media{aspect-ratio:16/9; border-radius:16px;
  background:repeating-linear-gradient(135deg,#E9E1F3 0,#E9E1F3 12px,#DFD4EE 12px,#DFD4EE 24px);}
.featured-box .media .play{width:56px; height:56px; background:#fff;}
.featured-box .media .play svg{fill:var(--ink);}
.tag-gold{font-size:11.5px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:.05em;}
.featured-box h3{font-size:clamp(19px,3vw,25px); font-weight:800; margin:10px 0 12px; line-height:1.25;}
.featured-box p{font-size:14.5px; line-height:1.65; color:var(--text); margin-bottom:16px;}
.meta-line{font-size:13px; color:var(--text-mute); margin-bottom:20px;}

/* ---------- Card grids ---------- */
.grid{display:grid; gap:22px;}
.grid.cols-2{grid-template-columns:repeat(2,1fr);}
.grid.cols-3{grid-template-columns:repeat(3,1fr);}
.grid.cols-4{grid-template-columns:repeat(4,1fr);}

.card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px;
  display:flex; flex-direction:column; gap:10px; color:var(--ink);}
.card:hover{color:var(--ink); border-color:#dcccec; box-shadow:0 10px 30px rgba(47,2,78,.07);}
.card h3{font-size:16px; font-weight:700;}
.card p{font-size:13px; line-height:1.5; color:var(--text-soft); flex:1;}
.card .go{font-size:13px; font-weight:700; color:var(--gold);}
.card .tags{font-size:11px; font-weight:600; color:var(--gold-ink); text-transform:uppercase; letter-spacing:.04em;}

/* topic card mascot avatar */
.avatar{width:56px; height:56px; border-radius:50%; background:var(--surface); border:2px solid var(--ink);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; color:var(--ink);
  overflow:hidden;}
.avatar img{width:100%; height:100%; object-fit:cover;}

/* video card */
.video-card{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff;}
.video-card .media{aspect-ratio:16/9; border-radius:0;
  background:repeating-linear-gradient(135deg,#F0EAF8 0,#F0EAF8 12px,#E6DDF3 12px,#E6DDF3 24px);}
.video-card .media .play{width:44px; height:44px; background:rgba(255,255,255,.9);}
.video-card .media .play svg{fill:var(--ink);}
.video-card .body{padding:16px;}
.video-card h3{font-size:15.5px; font-weight:700; margin:8px 0; line-height:1.3;}
.video-card p{font-size:12.5px; color:var(--text-soft); margin-bottom:10px; line-height:1.5;}
.row-meta{font-size:11.5px; color:var(--text-faint); display:flex; justify-content:space-between;}

/* shorts rail */
.shorts-rail{display:flex; gap:18px; overflow-x:auto; padding-bottom:8px;}
.short{flex:0 0 168px;}
.short .thumb{position:relative; aspect-ratio:9/16; border-radius:14px; overflow:hidden;
  background:repeating-linear-gradient(135deg,#3D2560 0,#3D2560 10px,#472C6E 10px,#472C6E 20px);
  display:flex; align-items:center; justify-content:center;}
.short .thumb .play{width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center;}
.short .thumb .play svg{fill:var(--ink);}
.short h3{font-size:13px; font-weight:700; margin:9px 0 4px; color:#fff; line-height:1.3;}
.short .topic{font-size:11px; color:var(--gold); font-weight:600;}
.dark .short h3{color:#fff;}

/* conversation card */
.convo-card{display:flex; gap:18px; border:1px solid var(--line); border-radius:var(--radius);
  padding:20px; align-items:flex-start; background:#fff;}
.convo-card .thumb{flex:0 0 88px; aspect-ratio:1/1; border-radius:12px;
  background:repeating-linear-gradient(135deg,#F0EAF8 0,#F0EAF8 10px,#E6DDF3 10px,#E6DDF3 20px);}
.pill{font-size:10.5px; font-weight:700; color:#fff; background:var(--gold); padding:3px 9px;
  border-radius:10px; text-transform:uppercase; letter-spacing:.04em; display:inline-block;}
.convo-card h3{font-size:16px; font-weight:700; margin:10px 0 6px; line-height:1.3;}
.convo-card p{font-size:12.5px; color:var(--text-soft); margin-bottom:8px; line-height:1.5;}

/* article card */
.article-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  display:block; color:var(--ink);}
.article-card:hover{color:var(--ink); box-shadow:0 10px 30px rgba(47,2,78,.07);}
.article-card .cover{aspect-ratio:16/10;
  background:repeating-linear-gradient(135deg,#F0EAF8 0,#F0EAF8 12px,#E6DDF3 12px,#E6DDF3 24px);}
.article-card .body{padding:18px;}
.article-card h3{font-size:17px; font-weight:700; margin:9px 0 8px; line-height:1.35;}
.article-card p{font-size:13px; color:var(--text-soft); margin-bottom:12px; line-height:1.55;}

/* ---------- FAQ / accordion ---------- */
.faq{max-width:820px; margin:0 auto;}
.faq details{border:1px solid var(--line); border-radius:14px; margin-bottom:12px; background:#fff; overflow:hidden;}
.faq summary{list-style:none; cursor:pointer; padding:18px 22px; font-size:15px; font-weight:700;
  display:flex; justify-content:space-between; align-items:center; gap:16px;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary .mk{flex:0 0 auto; transition:transform .2s ease; color:var(--gold); font-size:20px; line-height:1;}
.faq details[open] summary .mk{transform:rotate(45deg);}
.faq .ans{padding:0 22px 20px; font-size:13.5px; line-height:1.65; color:var(--text-soft);}

/* ---------- Newsletter ---------- */
.newsletter{padding:64px 32px; background:var(--ink); text-align:center;}
.newsletter .inner{max-width:560px; margin:0 auto;}
.newsletter h2{font-size:clamp(24px,4vw,30px); font-weight:800; color:#fff; margin-bottom:12px;}
.newsletter p{font-size:14.5px; color:#D8CBE8; margin-bottom:26px; line-height:1.6;}
.newsletter form{display:flex; gap:10px; flex-wrap:wrap; justify-content:center;}
.newsletter input{flex:1; min-width:220px; padding:13px 16px; border-radius:24px; border:none;
  font-family:inherit; font-size:14px;}
.newsletter button{background:var(--gold); color:#fff; border:none; font-size:14px; font-weight:700;
  padding:13px 26px; border-radius:24px; cursor:pointer;}
.newsletter .ok{background:rgba(205,148,35,.15); border:1px solid var(--gold); color:#F5E7C8;
  padding:16px; border-radius:12px; font-size:14px; font-weight:600;}
.newsletter .err{color:#F3B4B4; font-size:12.5px; margin-top:10px;}
.newsletter .fine{font-size:11.5px; color:#9885AC; margin-top:16px;}

/* ---------- Disclaimer strip ---------- */
.disclaimer{background:var(--surface-warm); border-top:1px solid #F0E2BC; border-bottom:1px solid #F0E2BC;
  padding:18px 20px; text-align:center;}
.disclaimer p{max-width:820px; margin:0 auto; font-size:12.5px; line-height:1.6; color:var(--text-soft);}

.callout{border:1px solid #F0E2BC; background:var(--surface-warm); border-radius:14px; padding:18px 20px;
  font-size:13px; line-height:1.6; color:var(--text-soft);}
.callout strong{color:var(--gold-ink);}
.callout.warn{border-color:#F0C9C9; background:#FFF4F4;}
.callout.warn strong{color:#B4453F;}

/* ---------- Floating share ---------- */
.float-share{position:fixed; right:24px; bottom:24px; z-index:60; width:56px; height:56px; border-radius:50%;
  background:var(--ink); border:none; cursor:pointer; box-shadow:0 10px 28px rgba(47,2,78,.35);
  display:flex; align-items:center; justify-content:center;}
.toast{position:fixed; right:24px; bottom:90px; z-index:60; background:var(--ink); color:#fff; font-size:13px;
  font-weight:600; padding:10px 16px; border-radius:10px; box-shadow:0 8px 20px rgba(47,2,78,.3); display:none;}
.toast.show{display:block;}

/* ---------- Entry intro splash ---------- */
#pc-intro{position:fixed; inset:0; z-index:99999; background:#fff; display:flex; align-items:center;
  justify-content:center; opacity:1; transition:opacity .6s ease;}
#pc-intro.fade{opacity:0; pointer-events:none;}
#pc-intro video{max-width:min(92vw,1100px); max-height:84vh; width:auto; height:auto; display:block;}
#pc-intro .ctl{position:fixed; top:18px; right:20px; display:flex; gap:10px; align-items:center; transition:opacity .25s;}
#pc-intro .ctl.gone{opacity:0; pointer-events:none;}
#pc-intro .ibtn{-webkit-appearance:none; appearance:none; border:1px solid rgba(47,2,78,.18);
  background:rgba(255,255,255,.85); color:var(--ink); border-radius:999px; cursor:pointer; padding:9px 15px;
  font:600 12px/1 'Montserrat',sans-serif; letter-spacing:.05em; text-transform:uppercase; transition:background .15s;}
#pc-intro .ibtn:hover,#pc-intro .ibtn:focus{background:#fff; outline:none;}
#pc-intro-fly{position:fixed; left:0; top:0; margin:0; z-index:100001; transform-origin:top left;
  will-change:transform; pointer-events:none;}
html.pc-lock,html.pc-lock body{overflow:hidden !important;}

/* ---------- Cookie consent ---------- */
.cookiebar{position:fixed; left:16px; right:16px; bottom:16px; z-index:9000; background:#fff; border:1px solid var(--line);
  border-radius:16px; box-shadow:0 16px 40px rgba(47,2,78,.18); padding:18px 20px; display:flex; gap:16px;
  align-items:center; flex-wrap:wrap; max-width:760px; margin:0 auto; transform:translateY(140%); transition:transform .4s ease;}
.cookiebar.show{transform:translateY(0);}
.cookiebar p{font-size:13px; line-height:1.55; color:var(--text-soft); flex:1; min-width:220px; margin:0;}
.cookiebar a{color:var(--ink); text-decoration:underline;}
.cookiebar .row{display:flex; gap:10px; flex-wrap:wrap;}
.cookiebar .cbtn{border-radius:22px; font-size:13px; font-weight:700; padding:10px 18px; cursor:pointer; white-space:nowrap;}
.cookiebar .cbtn.accept{background:var(--gold); color:#fff; border:none;}
.cookiebar .cbtn.accept:hover{filter:brightness(1.06);}
.cookiebar .cbtn.decline{background:#fff; color:var(--ink); border:1px solid var(--line);}
.cookiebar .cbtn.decline:hover{border-color:var(--ink);}
body.pc-cookiebar-visible .float-share{bottom:104px;}
@media (max-width:560px){
  .cookiebar{left:10px; right:10px; bottom:10px; padding:16px;}
}

/* ---------- Footer ---------- */
footer.site{padding:56px 32px 32px; max-width:var(--maxw); margin:0 auto;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; margin-bottom:40px;}
footer.site .brand img{height:50px; width:auto; margin-bottom:14px;}
footer.site .brand p{font-size:13px; color:var(--text-mute); line-height:1.6; max-width:280px;}
footer.site h4{font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  color:var(--text-faint); margin-bottom:14px;}
.footer-col{display:flex; flex-direction:column; gap:10px;}
.footer-col a{font-size:13.5px; color:var(--ink);}
.footer-bottom{border-top:1px solid var(--line-soft); padding-top:22px; font-size:12px; color:var(--text-faint);}

/* ============================================================
   Peptide explainer template
   ============================================================ */
.explainer-hero{display:grid; grid-template-columns:1.1fr 1fr; gap:44px; align-items:center;
  padding:44px 32px; max-width:var(--maxw); margin:0 auto;}
.explainer-hero .mascot{border-radius:22px; overflow:hidden; aspect-ratio:1/1; background:var(--surface);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;}
.explainer-hero h1{font-size:clamp(30px,5vw,46px); font-weight:800; line-height:1.08; margin-bottom:8px;}
.explainer-hero .sub{font-size:15px; color:var(--text); margin-bottom:20px;}
.chip{display:inline-block; background:var(--surface); border:1px solid var(--line); border-radius:20px;
  padding:5px 12px; font-size:11.5px; font-weight:700; color:var(--text-mute); margin:0 6px 6px 0;}
.explain-block{max-width:820px; margin:0 auto; padding:0 32px;}
.explain-block h2{font-size:22px; font-weight:800; margin:40px 0 12px;}
.explain-block h3{font-size:16px; font-weight:700; margin:24px 0 8px;}
.explain-block p{font-size:14.5px; line-height:1.75; color:var(--text); margin-bottom:14px;}
.explain-block ul{margin:0 0 16px; padding-left:20px;}
.explain-block li{font-size:14px; line-height:1.7; color:var(--text); margin-bottom:6px;}
.figure{border:1px solid var(--line); border-radius:16px; overflow:hidden; margin:22px 0; background:var(--surface);}
.figure .media{border-radius:0;}
.figure figcaption{padding:12px 16px; font-size:12px; color:var(--text-mute);}

/* ============================================================
   Calculator
   ============================================================ */
.calc-grid{display:grid; grid-template-columns:1fr 1fr; gap:32px; max-width:var(--maxw); margin:0 auto; padding:0 32px 24px;}
.calc-panel{background:#fff; border:1px solid var(--line); border-radius:20px; padding:26px;}
.calc-panel h2{font-size:18px; font-weight:800; margin-bottom:18px;}
.field{margin-bottom:16px;}
.field label{display:block; font-size:12.5px; font-weight:700; color:var(--text-mute); margin-bottom:6px;
  text-transform:uppercase; letter-spacing:.03em;}
.field .in{display:flex; gap:8px;}
.field input,.field select{width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:14px; color:var(--ink); background:#fff;}
.field input:focus,.field select:focus{outline:none; border-color:var(--gold);}
.field .unit{flex:0 0 96px;}
.result{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px; margin-top:6px;}
.result .big{font-size:30px; font-weight:800; color:var(--ink); line-height:1.1;}
.result .big span{font-size:15px; color:var(--text-mute); font-weight:700;}
.result .line{display:flex; justify-content:space-between; font-size:13px; color:var(--text-soft);
  padding:8px 0; border-bottom:1px dashed var(--line);}
.result .line:last-child{border-bottom:none;}
.syringe-scale{margin:14px 0 4px;}
.syringe-scale .track{position:relative; height:50px; border:2px solid var(--ink); border-radius:8px;
  background:#fff; overflow:hidden;}
.syringe-scale .fill-bg{position:absolute; left:0; top:0; bottom:0; background:rgba(205,148,35,.20);
  border-right:2px solid var(--gold-ink); transition:width .15s ease;}
.syringe-scale .fill-label{position:absolute; top:5px; right:9px; font-size:11.5px; font-weight:800;
  color:var(--ink); z-index:2;}
.syringe-scale .ticks{position:absolute; inset:0;}
.syringe-scale .ticks .tick{position:absolute; bottom:13px; width:1px; height:11px; background:rgba(20,20,19,.4);
  transform:translateX(-50%);}
.syringe-scale .ticks .tick.major{bottom:11px; height:17px; width:1.5px; background:var(--ink);}
.syringe-scale .ticks .tick-label{position:absolute; bottom:1px; transform:translateX(-50%); font-size:9px;
  font-weight:700; color:var(--text-mute); letter-spacing:.01em;}
.syringe-scale .ticks .tick-label.edge-start{transform:translateX(1px);}
.syringe-scale .ticks .tick-label.edge-end{transform:translateX(calc(-100% - 1px));}
.chipset{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px;}
.chipset .chip{cursor:pointer; font-family:inherit; -webkit-appearance:none; appearance:none;}
.chipset .chip.active{background:var(--gold); border-color:var(--gold); color:#fff;}
.result .sentence{font-size:15px; font-weight:600; color:var(--ink); line-height:1.5; margin-bottom:16px;
  padding-bottom:16px; border-bottom:1px solid var(--line);}
.protip{background:#fff8e8; border:1px solid var(--gold); border-radius:14px; padding:14px 16px; margin-top:14px;
  font-size:13px; color:var(--ink); line-height:1.6;}
.protip strong{color:var(--gold-ink);}
.warn-inline{background:#fdeeee; border:1px solid #d98; border-radius:14px; padding:12px 16px; margin-top:14px;
  font-size:13px; color:var(--ink); line-height:1.6;}

/* tool layout: single wide panel + result */
.tool-wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px 20px;}
.tool-panel{background:#fff; border:1px solid var(--line); border-radius:20px; padding:26px; margin-bottom:22px;}
.tool-panel h2{font-size:18px; font-weight:800; margin-bottom:16px;}
.seqbox{width:100%; padding:14px 16px; border:1px solid var(--line); border-radius:12px; font-family:'Montserrat',monospace;
  font-size:15px; letter-spacing:.06em; color:var(--ink); text-transform:uppercase;}
.seqbox:focus{outline:none; border-color:var(--gold);}
.examples{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
.examples .chip{cursor:pointer;}
.examples .chip:hover{border-color:var(--gold); color:var(--gold-ink);}
.opts{display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:14px;}
.opts .seg{display:inline-flex; border:1px solid var(--line); border-radius:10px; overflow:hidden;}
.opts .seg button{background:#fff; border:none; padding:8px 12px; font-size:12.5px; font-weight:700; color:var(--text-mute); cursor:pointer;}
.opts .seg button.on{background:var(--ink); color:#fff;}
.aagrid{display:grid; grid-template-columns:repeat(10,1fr); gap:6px; margin-top:16px;}
.aagrid button{border:1px solid var(--line); border-radius:9px; padding:8px 4px; background:#fff; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; gap:1px;}
.aagrid button:hover{border-color:var(--gold); background:var(--surface-warm);}
.aagrid .l{font-size:14px; font-weight:800; color:var(--ink);}
.aagrid .t{font-size:9.5px; color:var(--text-faint); text-transform:uppercase;}
.res-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.res-tile{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px;}
.res-tile .k{font-size:11px; font-weight:700; color:var(--text-faint); text-transform:uppercase; letter-spacing:.03em;}
.res-tile .v{font-size:20px; font-weight:800; color:var(--ink); margin-top:4px; word-break:break-word;}
.res-tile .v small{font-size:12px; color:var(--text-mute); font-weight:700;}
.plot-box{border:1px solid var(--line); border-radius:16px; overflow:hidden; margin-top:8px;}
.kd-scale,.aa-ref{display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:8px; margin-top:14px;}
.kd-scale div,.aa-ref div{border:1px solid var(--line); border-radius:10px; padding:8px 10px; font-size:12px; display:flex; justify-content:space-between;}
@media (max-width:700px){ .aagrid{grid-template-columns:repeat(5,1fr);} .res-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:480px){ .res-grid{grid-template-columns:1fr;} }

/* ============================================================
   Shop (WooCommerce-backed)
   ============================================================ */
.shop-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:var(--maxw);
  margin:0 auto; padding:0 32px;}
.product{border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; display:flex;
  flex-direction:column;}
.product .pimg{height:220px; flex-shrink:0; background:var(--surface); display:flex; align-items:center;
  justify-content:center;}
.product .pimg img{width:100%; height:100%; object-fit:contain; padding:14px;}
.product .price small{font-size:12px; font-weight:600; color:var(--text-mute); margin-left:6px; white-space:nowrap;}
.product .pbody{padding:18px; display:flex; flex-direction:column; gap:8px; flex:1;}
.product h3{font-size:16px; font-weight:700; min-height:2.5em;}
.product p{font-size:12.5px; color:var(--text-soft); line-height:1.55;}
.product .price{font-size:20px; font-weight:800; color:var(--ink); margin-top:auto; padding-top:8px; display:flex; align-items:baseline; flex-wrap:wrap;}
.product .btn-gold,.product .btn-ghost{text-align:center;}
.woo-note{max-width:var(--maxw); margin:26px auto 0; padding:0 32px;}

/* ============================================================
   Membership gate (Protocols)
   ============================================================ */
.gate{max-width:520px; margin:0 auto; text-align:center; padding:20px;}
.gate .lockicon{width:56px; height:56px; border-radius:50%; background:var(--surface); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;}
.gate h2{font-size:22px; font-weight:800; margin-bottom:10px;}
.gate p{font-size:14px; color:var(--text-mute); margin-bottom:20px; line-height:1.6;}
.gate form{display:flex; flex-direction:column; gap:10px; text-align:left;}
.gate input{padding:12px 14px; border:1px solid var(--line); border-radius:12px; font-family:inherit; font-size:14px;}

/* ============================================================
   AI Q&A widget
   ============================================================ */
.qa-box{max-width:720px; margin:0 auto; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:#fff;}
.qa-box .qa-head{background:var(--surface); padding:16px 20px; font-size:13px; font-weight:700; color:var(--text-mute);
  display:flex; align-items:center; gap:8px;}
.qa-box .qa-body{padding:20px; min-height:120px; font-size:13.5px; color:var(--text-soft); line-height:1.6;}
.qa-box .qa-input{display:flex; gap:8px; border-top:1px solid var(--line); padding:14px;}
.qa-box .qa-input input{flex:1; padding:12px 14px; border:1px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:14px;}

/* ============================================================
   YouTube embed slots (data-yt)
   ============================================================ */
.yt-slot{position:relative; border-radius:16px; overflow:hidden; background:#000;}
.yt-slot iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.yt-slot .yt-play{position:absolute; inset:0; width:100%; height:100%; border:none; cursor:pointer;
  background-size:cover; background-position:center; display:flex; align-items:center; justify-content:center;}
.yt-slot .yt-btn{width:60px; height:60px; border-radius:50%; background:rgba(47,2,78,.82); display:flex;
  align-items:center; justify-content:center; box-shadow:0 8px 22px rgba(0,0,0,.35);}
.yt-slot[data-yt-empty]{background:repeating-linear-gradient(135deg,#F0EAF8 0,#F0EAF8 12px,#E6DDF3 12px,#E6DDF3 24px);
  display:flex; align-items:center; justify-content:center;}
.yt-slot[data-yt-empty]::after{content:"▶  Add YouTube ID"; font-size:11.5px; font-weight:700;
  color:var(--gold-ink); background:#FFF4D6; border:1px dashed var(--gold); padding:5px 12px; border-radius:8px;}
.dark .yt-slot[data-yt-empty]{background:repeating-linear-gradient(135deg,#3D2560 0,#3D2560 12px,#33205A 12px,#33205A 24px);}
.dark .yt-slot[data-yt-empty]::after{color:#fff; background:rgba(0,0,0,.35); border-color:rgba(255,255,255,.4);}

.media-grid{display:grid; gap:22px;}
.media-grid.videos{grid-template-columns:repeat(3,1fr);}
.media-grid.clips{grid-template-columns:repeat(4,1fr);}
.media-row{display:flex; gap:16px; overflow-x:auto; padding-bottom:10px;}
.media-row .shorts-slot{flex:0 0 190px;}
.shorts-slot .yt-slot{aspect-ratio:9/16;}
.videos .yt-slot,.episode .yt-slot{aspect-ratio:16/9;}
.clips .yt-slot{aspect-ratio:16/9;}
.mtitle{font-size:13.5px; font-weight:700; margin:10px 0 3px; line-height:1.3;}
.mmeta{font-size:11.5px; color:var(--text-faint);}
.dark .mtitle{color:#fff;} .dark .mmeta{color:#B7A6C9;}

.episode{border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; margin-bottom:20px;
  display:grid; grid-template-columns:1.3fr 1fr; gap:0;}
.episode .yt-slot{border-radius:0; height:100%; min-height:220px;}
.episode .ebody{padding:24px;}
.episode .ebody h3{font-size:18px; font-weight:800; margin:8px 0 8px;}
.episode .ebody p{font-size:13.5px; color:var(--text-soft); line-height:1.6; margin-bottom:12px;}
.episode .plat{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px;}
.episode .plat a{font-size:11px; font-weight:700; border:1px solid var(--line); border-radius:20px;
  padding:5px 12px; color:var(--text-mute);}
@media (max-width:900px){
  .media-grid.videos,.media-grid.clips{grid-template-columns:repeat(2,1fr);}
  .episode{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .media-grid.videos,.media-grid.clips{grid-template-columns:1fr;}
}

/* Self-hosted shorts + "coming soon" episode preview (Watch page) */
.shorts-grid{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px;}
.short-card{scroll-margin-top:96px;}
a.short{display:block; text-decoration:none;}
.short .thumb img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;}
.short .thumb .play{position:relative; z-index:1;}
.vid-slot{position:relative; aspect-ratio:9/16; border-radius:16px; overflow:hidden; background:#000;}
.vid-slot video{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; background:#000;}
.short-card.hl .vid-slot{box-shadow:0 0 0 3px var(--gold);}
.mdesc{font-size:12.5px; color:var(--text-soft); line-height:1.5; margin:6px 0 8px;}
.mlink{font-size:12.5px; font-weight:700; color:var(--gold-ink, var(--gold));}
.soon-preview{display:flex; align-items:center; justify-content:space-between; gap:22px; padding:26px 30px;
  min-height:220px; background:linear-gradient(135deg,#FFFFFF 0%,#F0EAF8 100%);}
.soon-preview img{width:min(52%,300px); height:auto; display:block;}
.soon-text{font-size:clamp(24px,3.4vw,38px); font-weight:800; line-height:1.05; text-transform:uppercase;
  letter-spacing:.02em; color:var(--gold); text-align:right;}
@media (max-width:900px){
  .shorts-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:480px){
  .shorts-grid{gap:14px;}
  .soon-preview{gap:12px; min-height:150px; padding:20px 18px;}
  .soon-preview img{width:56%;}
}

/* Vertical (9:16) explainer player, e.g. "What is a Peptide" on /learn */
.vid-solo{width:min(100%,380px,calc(78vh * 9 / 16)); margin:0 auto;}

/* ---------- Mobile polish (applies on every page) ---------- */
html{-webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:110px;}
video,iframe{max-width:100%;}
@media (max-width:980px){
  .site-logo img{max-width:230px;}
  /* menu panel pinned under the sticky header (top is set by site.js), scrolls on its own */
  .mobile-menu{position:fixed; left:0; right:0; bottom:0; top:72px; z-index:49; overflow-y:auto;
    overscroll-behavior:contain; -webkit-overflow-scrolling:touch; box-shadow:0 18px 30px rgba(47,2,78,.12);}
  html.pc-menu-open{overflow:hidden;}   /* html only: overflow on body would stop the header sticking */
  html.pc-menu-open .float-share{display:none;}
}
@media (max-width:560px){
  html{scroll-padding-top:76px;}
  /* header: a 288px logo + two icons overflowed a 390px phone and ate 100px of every screen */
  header.site{padding:4px 12px; gap:8px;}
  .site-logo img{max-width:168px;}
  .header-actions{gap:0;}
  .iconbtn{padding:11px;}                       /* 44px touch target */
  .announce{font-size:12px; padding:8px 34px 8px 12px;}
  .mobile-menu{padding:10px 18px 22px;}
  .mobile-menu a{padding:14px 4px;}
  .mobile-menu .sub{padding:12px 4px;}
  .page-hero{padding-top:30px; padding-bottom:20px;}
  .section.tight{padding:26px 18px;}
  /* 16px inputs stop iOS Safari zooming the page on focus */
  input,select,textarea{font-size:16px;}
  .btn-primary,.btn-ghost,.btn-gold,.btn-dark-sm{min-height:44px; text-align:center;}
  .hero-ctas a,.hero-ctas button{display:block;}
  /* cookie bar: compact so it does not cover half the screen */
  .cookiebar{padding:12px 14px; gap:10px;}
  .cookiebar p{font-size:12px; min-width:0; flex:1 1 100%;}
  .cookiebar .row{width:100%;}
  .cookiebar .cbtn{flex:1 1 0; padding:11px 10px;}
  body.pc-cookiebar-visible .float-share{bottom:150px;}
  footer.site{padding:36px 18px 24px;}
  footer.site a{display:inline-block; padding:5px 0;}
  /* mascot cards (home "Meet the cast", Learn index): avatar beside the text so ten cards are not ten screens */
  .card:has(> .avatar){display:grid; grid-template-columns:56px minmax(0,1fr); column-gap:14px; row-gap:4px;
    align-items:start; padding:14px 16px;}
  .card:has(> .avatar) > .avatar{grid-row:1 / span 4;}
  .card:has(> .avatar) > :not(.avatar){grid-column:2;}
  .card:has(> .avatar) p{display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; flex:none;}
  .card:has(> .avatar) .pill{justify-self:start;}
}

/* ---------- Responsive ---------- */
@media (max-width:1040px){
  nav.primary{gap:16px;}
  nav.primary a,.navbtn{font-size:13px;}
}
@media (max-width:980px){
  nav.primary,.desktop-only{display:none !important;}
  .hamburger{display:flex;}
}
@media (max-width:900px){
  .hero,.explainer-hero{grid-template-columns:1fr; gap:32px;}
  .featured-box{grid-template-columns:1fr;}
  .grid.cols-4{grid-template-columns:repeat(2,1fr);}
  .grid.cols-3{grid-template-columns:repeat(2,1fr);}
  .grid.cols-2{grid-template-columns:1fr;}
  .calc-grid{grid-template-columns:1fr;}
  .shop-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:560px){
  .section{padding:40px 18px;}
  .hero{padding:34px 18px;}
  .page-hero,.explainer-hero,.explain-block,.calc-grid,.shop-grid{padding-left:18px; padding-right:18px;}
  .grid.cols-4,.grid.cols-3,.shop-grid{grid-template-columns:1fr;}
  .featured-box{padding:20px;}
  .convo-card{flex-direction:column;}
  .convo-card .thumb{width:100%; flex-basis:auto; aspect-ratio:16/9;}
  .newsletter form{flex-direction:column;}
  .newsletter input,.newsletter button{width:100%;}
  .float-share{width:46px; height:46px; right:16px; bottom:16px;}
  .footer-grid{grid-template-columns:1fr;}
  .hero-ctas a,.hero-ctas button{flex:1 1 100%; text-align:center;}
}
