/* ===========================================================
   Shared styles for /peptides/*, /sticks/*, /journal/*, /about
   Augments styles.css. Reuses brand tokens.
   =========================================================== */

.article-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(247,245,238,0.94);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--hair);
}
.article-nav-in{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; height:60px;
}
.article-nav .brand img{ height:22px; }
.article-nav-links{ display:flex; gap:22px; align-items:center; }
.article-nav-links a{
  font-family:var(--f-body); font-weight:500; font-size:13px; color:var(--ink-2);
}
.article-nav-links a:hover{ color:var(--yellow-dk); }
.article-nav .btn{ padding:9px 16px; font-size:13px; }
@media (max-width:760px){ .article-nav-links{ display:none; } }

.journal-nav{
  z-index:60;
  background:rgba(247,245,238,0.88);
  backdrop-filter:saturate(180%) blur(12px);
  -webkit-backdrop-filter:saturate(180%) blur(12px);
}
.journal-nav .article-nav-in{ position:relative; height:68px; }
.journal-nav .brand img{ width:126px; height:auto; display:block; }
.journal-nav .article-nav-links{ position:absolute; left:50%; transform:translateX(-50%); gap:clamp(14px,1.8vw,22px); }
.journal-nav .article-nav-links a{
  font-size:14px; color:var(--ink); white-space:nowrap;
  transition:color .15s;
}
.journal-nav .btn{ padding:13px 22px; font-size:14px; }
@media (max-width:480px){
  .journal-nav .article-nav-in{ height:64px; gap:10px; }
  .journal-nav .brand img{ width:94px; }
  .journal-nav .btn{ min-height:44px; padding:11px 17px; }
}
@media (max-width:980px){
  .journal-nav .article-nav-links{ display:none; }
}

.crumbs{
  padding:18px 0 6px; font-size:12px; color:var(--muted);
  font-family:var(--f-mono); letter-spacing:0.08em; text-transform:uppercase;
}
.crumbs a{ color:var(--muted); }
.crumbs a:hover{ color:var(--yellow-dk); }
.crumbs span[aria-current]{ color:var(--ink); }

.article{ padding:24px 0 80px; }

.article-hero{
  padding:36px 0 28px;
  border-bottom:1px solid var(--hair);
}
.article-eyebrow{
  display:inline-flex; gap:8px; align-items:center;
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--yellow-dk); margin-bottom:18px;
}
.article-eyebrow::before{
  content:''; width:6px; height:6px; border-radius:50%; background:var(--yellow);
}
.article-hero h1{
  font-family:var(--f-heading); font-weight:700;
  font-size:clamp(36px,6vw,68px); line-height:1.04; letter-spacing:-0.02em;
  max-width:18ch; margin-bottom:18px;
}
.article-hero h1 em{
  font-family:var(--f-serif); font-style:italic; font-weight:400;
}
.article-deck{
  font-size:clamp(17px,1.6vw,21px); line-height:1.5; color:var(--ink-2);
  max-width:62ch;
}
.article-meta{
  margin-top:22px; display:flex; flex-wrap:wrap; gap:14px 28px;
  font-size:13px; color:var(--muted);
}
.article-meta strong{ color:var(--ink); font-weight:600; }

.tldr{
  margin:42px 0 36px; padding:26px 28px;
  background:#FBFAF4; border:1px solid var(--hair);
  border-radius:18px;
}
.tldr h2{
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--yellow-dk); margin-bottom:14px;
}
.tldr ul{ list-style:none; display:grid; gap:10px; }
.tldr li{
  position:relative; padding-left:22px; font-size:15.5px; line-height:1.55;
}
.tldr li::before{
  content:''; position:absolute; left:0; top:9px; width:10px; height:2px;
  background:var(--yellow-dk);
}

.article-body{ max-width:760px; margin:0 auto; }
.article-body > section{ padding:28px 0; border-top:1px solid var(--hair-2); }
.article-body > section:first-of-type{ border-top:none; padding-top:8px; }
.article-body h2{
  font-family:var(--f-heading); font-weight:700;
  font-size:clamp(24px,3vw,34px); line-height:1.15; letter-spacing:-0.015em;
  margin-bottom:16px;
}
.article-body h3{
  font-family:var(--f-heading); font-weight:600;
  font-size:clamp(18px,2vw,22px); line-height:1.25; margin:22px 0 10px;
}
.article-body p{
  font-size:16.5px; line-height:1.65; color:var(--ink); margin-bottom:14px;
}
.article-body p:last-child{ margin-bottom:0; }
.article-body a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--yellow); text-underline-offset:3px; }
.article-body a:hover{ text-decoration-color:var(--yellow-dk); }
.article-body strong{ font-weight:600; }
.article-body ul, .article-body ol{
  margin:8px 0 18px 22px; padding:0;
}
.article-body li{ margin:6px 0; line-height:1.6; }
.article-body blockquote{
  margin:24px 0; padding:18px 22px; border-left:3px solid var(--yellow);
  background:#FBFAF4; font-family:var(--f-serif); font-style:italic;
  font-size:18px; line-height:1.5;
}
.article-body blockquote cite{
  display:block; margin-top:10px; font-family:var(--f-body); font-style:normal;
  font-size:13px; color:var(--muted);
}

/* ---------- Legal pages ---------- */
.legal-page{ padding-bottom:96px; }
.legal-hero h1{ max-width:22ch; }
.legal-updated{
  margin-top:18px;
  font-family:var(--f-mono);
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.legal-body{
  margin-top:10px;
}
.legal-body > section{
  padding:28px 0;
  border-top:1px solid var(--hair-2);
}
.legal-body > section:first-child{ border-top:none; }
.legal-body h2{
  font-size:clamp(22px,2.4vw,30px);
}

.factbox{
  margin:22px 0; padding:22px 24px;
  background:var(--cream-2); border:1px solid var(--hair);
  border-radius:14px;
}
.factbox h3{ margin-top:0; }
.factbox dl{ display:grid; grid-template-columns:max-content 1fr; gap:8px 18px; font-size:14.5px; }
.factbox dt{ font-family:var(--f-mono); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); align-self:center; }
.factbox dd{ font-weight:500; color:var(--ink); }

.article-figure{
  margin:34px 0; border:1px solid var(--hair); background:var(--cream-2);
}
.article-figure img{
  display:block; width:100%; aspect-ratio:16/10; object-fit:cover;
}
.article-figure figcaption{
  padding:12px 14px;
  font-family:var(--f-mono); font-size:11px; line-height:1.45;
  letter-spacing:0.05em; color:var(--muted);
}

/* ---------- Editorial article layout for /journal posts ---------- */
.editorial-post{ padding-top:10px; }
.editorial-post > .wrap{
  max-width:1120px;
  padding-left:clamp(18px,3vw,44px);
  padding-right:clamp(18px,3vw,44px);
}
.editorial-post .article-hero{
  max-width:980px; margin:0 auto; padding:44px 0 34px;
  border-bottom:none; text-align:center;
}
.editorial-post .article-eyebrow{
  display:block; margin-bottom:16px;
  font-size:12px; letter-spacing:0; text-transform:none;
  color:var(--muted);
}
.editorial-post .article-eyebrow::before{ display:none; }
.editorial-post .article-hero h1{
  font-family:var(--f-serif); font-weight:400;
  font-size:clamp(42px,7vw,72px); line-height:0.98; letter-spacing:-0.03em;
  max-width:980px; margin:0 auto 18px;
}
.editorial-post .article-hero h1 em{ font-family:inherit; font-style:italic; }
.editorial-post .article-deck{
  max-width:780px; margin:0 auto; font-size:clamp(19px,2vw,23px); line-height:1.45;
  color:var(--ink-2);
}
.editorial-post .article-meta{
  justify-content:center; margin-top:20px; font-size:14px; color:var(--muted);
}
.editorial-post .tldr{
  max-width:680px; margin:12px auto 42px; padding:0 0 0 18px;
  border:0; border-left:2px solid var(--ink);
  border-radius:0; background:transparent;
  font-family:Georgia,serif; font-size:18px; line-height:1.6; color:var(--ink-2);
}
.editorial-post .article-body{
  max-width:680px; font-family:Georgia,serif;
}
.editorial-post .article-body h2{
  margin-top:44px; margin-bottom:14px;
  font-family:var(--f-heading); font-size:clamp(24px,3vw,32px);
  line-height:1.18; letter-spacing:-0.025em;
}
.editorial-post .article-body h3{
  margin-top:28px; font-family:var(--f-heading); font-size:20px;
}
.editorial-post .article-body p{
  font-size:18px; line-height:1.72; margin-bottom:18px;
}
.editorial-post .article-body li{
  font-size:18px; line-height:1.65; margin:8px 0;
}
.editorial-post .factbox{
  margin:34px 0; padding:0 0 0 18px;
  border:0; border-left:2px solid var(--yellow-dk);
  border-radius:0; background:transparent;
}
.editorial-post .factbox h3{
  font-family:var(--f-heading); font-size:18px; margin-bottom:8px;
}
.editorial-post .article-figure{
  width:min(100%,760px); margin:44px auto;
  border:0; background:transparent;
}
.editorial-post .article-figure img{ aspect-ratio:16/9; }
.editorial-post .article-figure figcaption{
  padding:10px 0 0; font-family:var(--f-body);
  font-size:13px; letter-spacing:0; color:var(--muted);
}

.refs{ font-size:13.5px; color:var(--ink-2); }
.refs ol{ margin-left:20px; }
.refs li{ margin:8px 0; }
.refs a{ color:var(--ink-2); text-decoration-color:var(--hair); }

.cta-card{
  margin:44px auto 0; max-width:760px;
  padding:28px 28px 30px; background:var(--black); color:#fff;
  border-radius:22px; text-align:center;
}
.cta-card h2{
  font-family:var(--f-heading); font-size:clamp(22px,3vw,30px); font-weight:700;
  line-height:1.15; margin-bottom:8px; color:#fff;
}
.cta-card h2 em{ font-family:var(--f-serif); font-style:italic; font-weight:400; }
.cta-card p{ color:#D4D3CC; max-width:46ch; margin:0 auto 18px; font-size:15px; }
.cta-card .btn{ display:inline-flex; }

.related{
  max-width:1080px; margin:64px auto 0; padding:0 var(--pad);
}
.related h2{
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.16em;
  text-transform:uppercase; color:var(--muted); margin-bottom:18px;
}
.related-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:14px;
}
.related-card{
  display:block; padding:18px 18px 18px; background:var(--cream-2);
  border:1px solid var(--hair); border-radius:14px;
  transition:transform .15s ease, border-color .15s ease;
}
.related-card:hover{ transform:translateY(-2px); border-color:var(--ink); }
.related-card .rc-kicker{
  font-family:var(--f-mono); font-size:10.5px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--muted); margin-bottom:6px;
}
.related-card h3,
.related-card h4{
  font-family:var(--f-heading); font-weight:600; font-size:17px;
  line-height:1.25; margin-bottom:6px; color:var(--ink);
}
.related-card p{ font-size:13.5px; color:var(--muted); line-height:1.5; }

/* ---------- Hub pages: index for /peptides, /sticks, /journal ---------- */
.hub-hero{
  padding:64px 0 36px; border-bottom:1px solid var(--hair);
}
.hub-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px; padding:48px 0 0;
}
.hub-card{
  display:flex; flex-direction:column; padding:24px 24px 22px;
  background:var(--cream-2); border:1px solid var(--hair);
  border-radius:18px; transition:transform .18s ease, border-color .18s ease;
}
.hub-card:hover{ transform:translateY(-3px); border-color:var(--ink); }
.hub-card .hc-kicker{
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--yellow-dk); margin-bottom:10px;
}
.hub-card h3{
  font-family:var(--f-heading); font-weight:700; font-size:22px; line-height:1.18;
  letter-spacing:-0.01em; margin-bottom:8px;
}
.hub-card p{ font-size:14.5px; color:var(--ink-2); line-height:1.55; margin-bottom:auto; }
.hub-card .hc-foot{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:18px; padding-top:16px; border-top:1px solid var(--hair-2);
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--ink);
}

/* ---------- Journal hub ---------- */
.journal-hub{ padding-top:12px; }
.journal-hero{
  display:grid; grid-template-columns:minmax(0,0.9fr) minmax(320px,1.1fr);
  gap:42px; align-items:end;
  padding:44px 0 52px; border-bottom:1px solid var(--hair);
}
.journal-hero-copy h1{
  font-family:var(--f-heading); font-weight:700;
  font-size:clamp(42px,6.4vw,82px); line-height:0.98; letter-spacing:-0.045em;
  max-width:11ch; margin-bottom:18px;
}
.journal-hero-copy h1 em{
  font-family:var(--f-serif); font-style:italic; font-weight:400; letter-spacing:-0.02em;
}
.journal-hero-art{
  margin:0; background:#F1EFE6; border:1px solid var(--hair);
  min-height:430px; display:flex; flex-direction:column; justify-content:center;
  padding:26px; overflow:hidden;
}
.journal-hero-art img{
  width:100%; height:auto; display:block; object-fit:contain;
}
.journal-hero-art figcaption{
  max-width:38ch; margin:16px 0 0 auto;
  font-family:var(--f-mono); font-size:11px; line-height:1.45;
  letter-spacing:0.06em; color:var(--muted); text-align:right;
}
.journal-feature{ padding:28px 0 18px; }
.journal-lead-card{
  display:grid; grid-template-columns:minmax(280px,0.88fr) minmax(0,1fr);
  min-height:440px; background:var(--black); color:#fff;
  border:1px solid var(--black);
}
.journal-lead-image{
  background:var(--yellow); display:flex; align-items:center; justify-content:center;
  padding:34px; overflow:hidden;
}
.journal-lead-image img{
  width:min(76%,360px); max-height:390px; object-fit:contain; display:block;
}
.journal-lead-copy{
  padding:clamp(28px,5vw,58px); display:flex; flex-direction:column; justify-content:center;
}
.journal-label{
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--yellow-dk);
}
.journal-lead-card .journal-label{ color:var(--yellow); }
.journal-lead-copy h2{
  font-family:var(--f-heading); font-weight:700;
  font-size:clamp(34px,4.2vw,56px); line-height:1; letter-spacing:-0.035em;
  color:#fff; margin:18px 0 14px;
}
.journal-lead-copy p{
  max-width:44ch; color:#E7E4D8; font-size:18px; line-height:1.55;
}
.journal-link{
  margin-top:30px; font-family:var(--f-body); font-weight:700; color:#fff;
}
.journal-story-grid{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; padding:0 0 18px;
}
.journal-story-card{
  display:grid; grid-template-columns:0.72fr 1fr;
  background:var(--cream-2); border:1px solid var(--hair);
  min-height:260px; color:var(--ink);
}
.journal-story-card:hover,
.journal-lead-card:hover,
.journal-edit-links a:hover{
  border-color:var(--ink);
}
.journal-story-image{
  background:#F0EEE5; display:flex; align-items:center; justify-content:center;
  padding:24px; overflow:hidden;
}
.journal-story-image img{
  max-width:82%; max-height:230px; object-fit:contain; display:block;
}
.journal-story-image.routine-story{
  gap:0; justify-content:center;
}
.journal-story-image.routine-story img{
  max-width:56%; margin:0 -12%;
}
.journal-story-copy{
  padding:28px; display:flex; flex-direction:column; justify-content:center;
}
.journal-story-copy h3{
  font-family:var(--f-heading); font-size:clamp(24px,3vw,34px);
  line-height:1.05; letter-spacing:-0.03em; margin:12px 0 10px;
}
.journal-story-copy p{
  color:var(--ink-2); font-size:15px; line-height:1.55;
}
.journal-edit{
  margin:18px 0 0; padding:24px 0;
  display:grid; grid-template-columns:minmax(0,0.75fr) minmax(0,1.25fr);
  gap:32px; align-items:start; border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
}
.journal-edit h2{
  font-family:var(--f-heading); font-size:clamp(24px,3vw,34px);
  line-height:1.1; letter-spacing:-0.025em; margin-bottom:8px;
}
.journal-edit p{ color:var(--muted); line-height:1.5; }
.journal-edit-links{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;
}
.journal-edit-links a{
  display:flex; align-items:center; justify-content:space-between;
  min-height:88px; padding:18px; background:#fff; border:1px solid var(--hair);
  color:var(--ink); font-weight:700; line-height:1.2;
}
.journal-edit-links a::after{
  content:'→'; color:var(--muted); font-weight:500; margin-left:16px;
}
.journal-cta{ border-radius:12px; }

@media (max-width:900px){
  .journal-hero,
  .journal-lead-card,
  .journal-story-grid,
  .journal-edit{
    grid-template-columns:1fr;
  }
  .journal-hero{ align-items:start; gap:28px; padding-top:30px; }
  .journal-hero-copy h1{ max-width:12ch; }
  .journal-hero-art{ min-height:0; }
  .journal-lead-card{ min-height:0; }
  .journal-story-card{ grid-template-columns:0.82fr 1fr; }
  .journal-edit-links{ grid-template-columns:1fr; }
}
@media (max-width:620px){
  .journal-hero{ padding-bottom:34px; }
  .journal-hero-art{ padding:18px; }
  .journal-hero-art figcaption{ margin-left:0; text-align:left; }
  .journal-lead-card,
  .journal-story-card{ grid-template-columns:1fr; }
  .journal-lead-image{ min-height:300px; }
  .journal-story-image{ min-height:220px; }
  .journal-lead-copy,
  .journal-story-copy{ padding:24px; }
}

/* ---------- Product page ---------- */
.product-hero{
  padding:24px 0 48px;
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
@media (max-width:860px){ .product-hero{ grid-template-columns:1fr; gap:24px; padding:12px 0 32px; } }
.product-photo{
  background:var(--cream-photo); border-radius:24px;
  padding:36px; display:flex; align-items:center; justify-content:center;
  min-height:380px;
}
.product-photo img{ max-height:420px; width:auto; }
.product-info .article-eyebrow{ margin-bottom:14px; }
.product-info h1{
  font-family:var(--f-heading); font-weight:700;
  font-size:clamp(34px,5vw,54px); line-height:1.05; letter-spacing:-0.02em;
  margin-bottom:10px;
}
.product-info .product-deck{
  font-family:var(--f-serif); font-style:italic; font-weight:400;
  font-size:clamp(19px,2vw,24px); line-height:1.3; color:var(--ink-2); margin-bottom:18px;
}
.product-info .product-lead{
  font-size:16.5px; line-height:1.6; margin-bottom:22px; color:var(--ink-2);
}
.product-info .product-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
.product-info .product-fine{ margin-top:14px; font-size:13px; color:var(--muted); }
.product-info .product-actives{
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px;
}
.product-info .pa-chip,
.pa-chip{
  display:inline-flex; padding:6px 12px;
  border:1px solid var(--hair); border-radius:999px;
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--ink);
}
.pa-chip-row{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 22px;
}
.product-info .micro,
.micro{
  margin-top:14px; font-size:12.5px; color:var(--muted);
  font-family:var(--f-mono); letter-spacing:0.04em;
}
.product-info .btn-yellow{ display:inline-flex; }

/* Article body lists in tldr aside */
.tldr p{ font-size:15.5px; line-height:1.6; color:var(--ink); margin:0; }
.tldr p + p{ margin-top:10px; }
.tldr strong{ font-weight:700; color:var(--ink); }
