/* Peptide Starter Guide — modern editorial blog. Image-forward, clean, magazine-style. */
:root{
  --ink:#15151c; --ink-soft:#3d3d4a; --ink-mute:#6c6c7a; --ink-faint:#9a9aa6;
  --bg:#fbfbf8; --surface:#ffffff; --rule:#ececea; --rule-soft:#f3f3f0;
  --accent:#0e7d8f; --accent-ink:#0a5d6b; --accent-wash:#e8f6f8;
  --chip:#0e7d8f;
  --maxwide:1300px; --maxread:720px;
  --display:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --shadow:0 1px 2px rgba(20,20,40,.04),0 12px 32px rgba(20,20,40,.07);
  --shadow-sm:0 1px 2px rgba(20,20,40,.05),0 6px 18px rgba(20,20,40,.06);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--bg);
  line-height:1.7;font-size:18px;-webkit-font-smoothing:antialiased;}
a{color:var(--accent-ink);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:30;background:rgba(251,251,248,.85);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--rule)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;
  max-width:var(--maxwide);margin:0 auto;padding:15px 26px}
.brand{display:flex;align-items:center;gap:11px;font-family:var(--display);
  font-weight:600;font-size:20px;color:var(--ink);letter-spacing:-.01em}
.brand:hover{text-decoration:none}
.brand .mark{display:inline-flex;width:34px;height:34px;border-radius:10px;
  background:linear-gradient(135deg,#0e7d8f,#13a3b8);color:#fff;align-items:center;
  justify-content:center;font-family:var(--sans);font-weight:800;font-size:17px}
.site-nav{display:flex;align-items:center;gap:24px}
.site-nav a{color:var(--ink-soft);font-size:15px;font-weight:600}
.site-nav a:hover{color:var(--accent-ink);text-decoration:none}
.nav-cta{background:var(--ink);color:#fff !important;padding:9px 18px;border-radius:999px;
  font-size:14px;font-weight:700}
.nav-cta:hover{background:#000;text-decoration:none}
@media(max-width:640px){.site-nav .nlink{display:none}}
@media(max-width:380px){.brand span.full{font-size:16px}.nav-cta{padding:8px 13px;font-size:13px}}

/* ---------- Layout ---------- */
.wide{max-width:var(--maxwide);margin:0 auto;padding:0 26px}
.read{max-width:var(--maxread);margin:0 auto;padding:0 26px}

/* ---------- Cover art (the "photos") ---------- */
.cover{position:relative;overflow:hidden;border-radius:16px;background:#0e7d8f;
  aspect-ratio:16/10}
.cover .pat{position:absolute;inset:0;width:100%;height:100%;opacity:.5}
.cover .vial{position:absolute;right:-6%;bottom:-12%;width:46%;opacity:.9;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.25))}
.cover .tag{position:absolute;left:16px;top:16px;background:rgba(255,255,255,.92);
  color:var(--accent-ink);font-size:11px;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;padding:6px 12px;border-radius:999px}
.cv-recon{background:linear-gradient(135deg,#0b6f81 0%,#13a3b8 55%,#37c6cf 100%)}
.cv-bac{background:linear-gradient(135deg,#0f7a5e 0%,#15a37a 55%,#43c79a 100%)}
.cv-coa{background:linear-gradient(135deg,#3b3b8f 0%,#5b54c8 55%,#7e74e0 100%)}
.cv-hero{background:linear-gradient(135deg,#0a5d6b 0%,#0e7d8f 45%,#16b0bd 100%)}
.cv-reta{background:linear-gradient(135deg,#9a4d10 0%,#c9701b 55%,#e89a3c 100%)}
.cv-tirz{background:linear-gradient(135deg,#8a2c66 0%,#b8417f 55%,#d96aa0 100%)}
.cv-sema{background:linear-gradient(135deg,#2b4a8f 0%,#3f63c0 55%,#5f86e0 100%)}
.cv-bpc{background:linear-gradient(135deg,#8f2d3f 0%,#bd4a54 55%,#e07a6a 100%)}
.cv-tb{background:linear-gradient(135deg,#33415c 0%,#4a6390 55%,#6d8cc0 100%)}

/* ---------- Hero / featured ---------- */
.hero{padding:48px 0 16px}
.hero-card{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center;
  background:var(--surface);border:1px solid var(--rule);border-radius:24px;
  padding:22px;box-shadow:var(--shadow)}
.hero-card .cover{aspect-ratio:4/3}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--accent-ink);
  font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px}
.hero-card h1{font-family:var(--display);font-weight:600;font-size:44px;line-height:1.08;
  letter-spacing:-.02em;margin:0 0 16px}
.hero-card h1 a{color:var(--ink)}
.hero-card h1 a:hover{color:var(--accent-ink);text-decoration:none}
.hero-card p{color:var(--ink-soft);font-size:17px;margin:0 0 20px}
.hero-pad{padding:14px 16px 14px 8px}
@media(max-width:780px){.hero-card{grid-template-columns:1fr;gap:8px}.hero-card h1{font-size:30px}.hero-pad{padding:6px 10px 14px}}

/* ---------- Section heading ---------- */
.sec-head{display:flex;align-items:baseline;justify-content:space-between;
  margin:54px 0 22px;border-bottom:2px solid var(--ink);padding-bottom:12px}
.sec-head h2{font-family:var(--display);font-weight:600;font-size:26px;margin:0;letter-spacing:-.01em}
.sec-head .all{font-size:14px;font-weight:700;color:var(--ink-mute)}

/* ---------- Post grid ---------- */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid{grid-template-columns:1fr}}
.post{display:flex;flex-direction:column}
.post .cover{margin-bottom:16px;transition:transform .25s ease,box-shadow .25s ease}
.post:hover .cover{transform:translateY(-4px);box-shadow:var(--shadow)}
.chip{display:inline-block;color:var(--accent-ink);background:var(--accent-wash);
  font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  padding:5px 11px;border-radius:999px;margin-bottom:11px;align-self:flex-start}
.post h3{font-family:var(--display);font-weight:600;font-size:21px;line-height:1.25;
  margin:0 0 9px;letter-spacing:-.01em}
.post h3 a{color:var(--ink)}
.post h3 a:hover{color:var(--accent-ink);text-decoration:none}
.post .ex{color:var(--ink-mute);font-size:15px;margin:0 0 14px;flex:1}
.byline{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--ink-faint)}
.avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#0e7d8f,#13a3b8);
  color:#fff;display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;flex-shrink:0}
.byline .dot{width:3px;height:3px;border-radius:50%;background:var(--ink-faint)}

/* ---------- Article page ---------- */
.article{padding:34px 0 0}
.crumb{font-size:13px;color:var(--ink-faint);margin:0 0 18px}
.crumb a{color:var(--ink-faint)}
.art-head{max-width:760px;margin:0 auto;text-align:center;padding:0 26px}
.art-head .chip{margin:0 auto 18px;align-self:auto}
.art-head h1{font-family:var(--display);font-weight:600;font-size:44px;line-height:1.08;
  letter-spacing:-.02em;margin:0 0 18px}
.art-head .standfirst{font-size:20px;color:var(--ink-soft);line-height:1.55;margin:0 auto 24px;max-width:620px}
.art-byline{display:flex;align-items:center;justify-content:center;gap:11px;
  font-size:14px;color:var(--ink-mute);margin-bottom:30px}
.art-byline .avatar{width:36px;height:36px;font-size:14px}
.art-byline b{color:var(--ink);font-weight:700}
.art-hero{max-width:980px;margin:0 auto 14px;padding:0 26px}
.art-hero .cover{aspect-ratio:21/9;border-radius:20px}
.art-hero .cover .vial{width:30%}

.body{max-width:var(--maxread);margin:0 auto;padding:28px 26px 0}
.body p{margin:0 0 22px;font-size:18.5px;line-height:1.78}
.body h2{font-family:var(--display);font-weight:600;font-size:29px;line-height:1.2;
  margin:50px 0 14px;letter-spacing:-.01em;scroll-margin-top:90px}
.body h3{font-weight:700;font-size:20px;margin:32px 0 8px}
.body ul,.body ol{margin:0 0 22px;padding-left:24px}
.body li{margin:0 0 10px;font-size:18px}
.body strong{color:var(--ink);font-weight:700}
.body a{text-decoration:underline;text-underline-offset:2px}

.body .note{background:var(--accent-wash);border:1px solid #cfeaee;border-left:4px solid var(--accent);
  border-radius:12px;padding:18px 20px;margin:0 0 24px;font-size:16px;color:var(--accent-ink)}
.body .formula{background:#101822;color:#eafcff;border-radius:14px;padding:22px 22px;
  margin:6px 0 26px;font-size:20px;text-align:center;font-weight:600;font-family:var(--display);
  letter-spacing:.01em;box-shadow:var(--shadow-sm)}
.body .checklist{list-style:none;padding-left:0}
.body .checklist li{padding-left:30px;position:relative}
.body .checklist li:before{content:"";position:absolute;left:0;top:9px;width:16px;height:16px;
  border-radius:50%;background:var(--accent);box-shadow:inset 0 0 0 3px #fff,0 0 0 1px var(--accent)}

/* tables */
.tbl-wrap{overflow-x:auto;margin:0 0 26px;border:1px solid var(--rule);border-radius:14px}
table{border-collapse:collapse;width:100%;font-size:16px}
th,td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--rule)}
thead th{background:var(--rule-soft);font-size:12px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--ink-mute);font-weight:800}
tbody tr:last-child td{border-bottom:none}
tbody tr:nth-child(even){background:#fcfcfb}

/* pull quote */
.body blockquote{margin:30px 0;padding:6px 0 6px 26px;border-left:3px solid var(--accent);
  font-family:var(--display);font-size:23px;line-height:1.4;color:var(--ink);font-weight:500}

/* ---------- In-article shop callout ---------- */
.shopcard{background:linear-gradient(150deg,#0d2530,#103a47);border-radius:20px;
  padding:30px 30px;margin:42px 0;color:#dcebef;box-shadow:var(--shadow)}
.shopcard .k{font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#6fd6e6;margin-bottom:10px}
.shopcard h3{font-family:var(--display);color:#fff;margin:0 0 8px;font-size:24px;font-weight:600}
.shopcard p{color:#a9c6cf;font-size:16px;margin:0 0 18px}
.shopcard .feats{list-style:none;padding:0;margin:0 0 22px;font-size:15px}
.shopcard .feats li{padding-left:26px;position:relative;color:#cfe6ec;margin-bottom:8px}
.shopcard .feats li:before{content:"✓";position:absolute;left:0;color:#5ec4e8;font-weight:800}
.btn{display:inline-block;background:#5ec4e8;color:#06212b !important;font-weight:800;
  font-size:15px;letter-spacing:.01em;padding:14px 30px;border-radius:999px}
.btn:hover{background:#7fd2ef;text-decoration:none}

/* ---------- FAQ ---------- */
.faq{margin:8px 0 0}
.faq h2{font-family:var(--display);font-weight:600;font-size:29px;margin:48px 0 8px}
.faq details{border-bottom:1px solid var(--rule);padding:4px 0}
.faq summary{cursor:pointer;font-weight:700;font-size:18px;padding:16px 0;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";color:var(--accent);font-weight:700;font-size:24px;flex-shrink:0;line-height:1}
.faq details[open] summary:after{content:"–"}
.faq details .a{padding:0 0 18px;color:var(--ink-soft);font-size:16.5px}

/* ---------- Author box / related ---------- */
.author-box{display:flex;gap:16px;align-items:flex-start;background:var(--surface);
  border:1px solid var(--rule);border-radius:18px;padding:22px 24px;margin:44px 0 0}
.author-box .avatar{width:52px;height:52px;font-size:20px}
.author-box h4{margin:0 0 4px;font-size:16px}
.author-box p{margin:0;font-size:14.5px;color:var(--ink-mute);line-height:1.6}

.related{background:var(--surface);border-top:1px solid var(--rule);margin-top:60px;padding:50px 0}

/* ---------- Newsletter ---------- */
.news{background:linear-gradient(135deg,#0a5d6b,#0e7d8f);border-radius:24px;
  padding:46px 40px;text-align:center;color:#eafbfd;margin:64px 0 0}
.news h2{font-family:var(--display);color:#fff;font-weight:600;font-size:30px;margin:0 0 10px}
.news p{color:#bfe7ee;font-size:17px;margin:0 0 22px;max-width:480px;margin-left:auto;margin-right:auto}

/* ---------- Footer ---------- */
.site-footer{margin-top:70px;border-top:1px solid var(--rule);background:#15151c;color:#a6a6b4}
.site-footer .wrap{max-width:var(--maxwide);margin:0 auto;padding:46px 26px 40px}
.foot-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:28px;margin-bottom:32px}
.site-footer .brand{color:#fff}
.site-footer .brand .mark{box-shadow:none}
.foot-links{display:flex;gap:28px;flex-wrap:wrap}
.foot-links a{color:#c4c4d0;font-size:15px;font-weight:500}
.foot-links a:hover{color:#fff}
.disclaimer{font-size:13px;color:#6c6c7a;line-height:1.65;border-top:1px solid #26262f;padding-top:22px}

/* ---------- Ultra-wide monitors: fill more of the screen ---------- */
@media(min-width:1700px){
  .wide{max-width:1480px}
  .hero-card h1{font-size:56px}
  .grid{gap:42px}
}

/* ---------- Large desktop: command the width ---------- */
@media(min-width:1100px){
  .hero{padding:58px 0 20px}
  .hero-card{gap:58px;padding:26px}
  .hero-card h1{font-size:52px}
  .hero-card p{font-size:18.5px;margin-bottom:24px}
  .hero-eyebrow{font-size:13px}
  .sec-head{margin:64px 0 28px}
  .sec-head h2{font-size:31px}
  .grid{gap:38px}
  .post h3{font-size:22px}
  .post .ex{font-size:15.5px}
  .art-head h1{font-size:52px}
  .art-head .standfirst{font-size:21px;max-width:680px}
  .art-hero{max-width:1080px}
  .body p{font-size:19px}
}

/* ---------- Tablet ---------- */
@media(max-width:820px){
  .wide,.read{padding:0 22px}
  .hero-card h1{font-size:32px}
}

/* ---------- Phone: a distinctly mobile layout ---------- */
@media(max-width:640px){
  body{font-size:16.5px}
  .wide,.read,.art-head,.body{padding-left:18px;padding-right:18px}
  .art-hero{padding-left:18px;padding-right:18px}
  .site-header .wrap{padding:12px 18px}

  /* Hero: stack, taller cover (not a thin strip), tighter copy */
  .hero{padding:22px 0 4px}
  .hero-card{padding:12px;border-radius:18px;gap:6px}
  .hero-card .cover{aspect-ratio:16/10}
  .hero-card h1{font-size:28px;margin-bottom:10px}
  .hero-card h1 br{display:none}
  .hero-card p{font-size:16px;margin-bottom:16px}
  .hero-pad{padding:6px 8px 14px}

  /* Section headings + single-column cards with mobile cover ratio */
  .sec-head{margin:36px 0 18px;padding-bottom:10px}
  .sec-head h2{font-size:22px}
  .grid{gap:26px}
  .post .cover{aspect-ratio:16/10;margin-bottom:14px}
  .post h3{font-size:20px}
  .post .ex{font-size:15px}

  /* Article header + hero */
  .art-head h1{font-size:29px}
  .art-head .standfirst{font-size:17px}
  .art-byline{font-size:13px;margin-bottom:22px}
  .art-byline .avatar{width:32px;height:32px;font-size:13px}
  .art-hero{margin-bottom:8px}
  .art-hero .cover{aspect-ratio:16/10;border-radius:16px}
  .art-hero .cover .vial{width:42%}

  /* Article body */
  .body{padding-top:22px}
  .body p,.body li{font-size:16.5px;line-height:1.72}
  .body h2,.faq h2{font-size:23px;margin-top:38px}
  .body .formula{font-size:16.5px;padding:18px 14px}
  .body blockquote{font-size:20px;padding-left:18px;margin:24px 0}
  th,td{padding:11px 12px;font-size:15px}

  /* Blocks */
  .shopcard{padding:24px 20px;border-radius:16px;margin:34px 0}
  .shopcard h3{font-size:21px}
  .news{padding:32px 22px;border-radius:18px;margin-top:48px}
  .news h2{font-size:25px}
  .author-box{flex-direction:column;gap:12px;padding:20px}
  .related{margin-top:46px;padding:38px 0}
  .foot-top{flex-direction:column;gap:18px}
}
