/* styles.css — Dr Peptide components */

/* ---------------- RUO ticker bar ---------------- */
.ruobar{
  display:flex;align-items:center;justify-content:center;gap:18px;
  background:var(--red-deep);color:#FFE9D6;
  font-family:var(--font-mono);font-size:11px;letter-spacing:.18em;
  padding:7px 16px;text-align:center;
}
.ruobar i{color:var(--gold);font-style:normal;font-size:9px}

/* ---------------- Nav ---------------- */
.nav{
  position:sticky;top:0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;
  gap:18px;padding:12px clamp(16px,4vw,40px);
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .2s, box-shadow .2s, background .2s;
}
.nav--scrolled{border-bottom-color:var(--line);box-shadow:0 6px 24px -18px rgba(0,0,0,.4)}
.nav__brand img{height:38px;width:auto;filter:drop-shadow(0 2px 6px rgba(158,15,28,.25))}
.nav__links{display:flex;gap:26px;font-weight:500;font-size:15px}
.nav__links a{position:relative;color:var(--ink-soft);transition:color .15s}
.nav__links a:hover{color:var(--red)}
.nav__links a::after{content:"";position:absolute;left:0;bottom:-5px;height:2px;width:0;background:var(--red);border-radius:2px;transition:width .2s}
.nav__links a:hover::after{width:100%}
@media (max-width:720px){.nav__links{display:none}}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--font-display);font-weight:600;font-size:16px;line-height:1;
  padding:14px 22px;border-radius:999px;border:2px solid transparent;
  cursor:pointer;transition:transform .12s, box-shadow .2s, background .2s, color .2s;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px) scale(.99)}
.btn--sm{font-size:14px;padding:10px 16px}
.btn--lg{font-size:19px;padding:17px 30px}
.btn--full{width:100%}
.btn--tg{
  background:linear-gradient(180deg, var(--red-bright), var(--red));
  color:#fff;box-shadow:0 8px 20px -8px var(--red), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--tg:hover{box-shadow:0 12px 26px -8px var(--red), inset 0 1px 0 rgba(255,255,255,.55);transform:translateY(-1px)}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--red);color:var(--red)}
.btn--cream{background:#FFF8EE;color:var(--red-deep);box-shadow:0 10px 24px -10px rgba(0,0,0,.45), inset 0 1px 0 #fff}
.btn--cream:hover{transform:translateY(-1px);background:#fff}
.btn--outline{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.55)}
.btn--outline:hover{background:rgba(255,255,255,.18)}

/* ---------------- Hero shared ---------------- */
.hero{position:relative;overflow:hidden}
.hero__kicker,.hero__eyebrow{font-family:var(--font-mono);font-size:13px;letter-spacing:.12em;color:var(--red);margin-bottom:18px}
.hero__title{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(40px,6.4vw,82px);line-height:.98;letter-spacing:-.02em;
  margin-bottom:20px;text-wrap:balance;
}
.hero__title em{font-style:normal;color:var(--red);position:relative;white-space:nowrap}
.hero__sub{font-size:clamp(16px,1.5vw,20px);line-height:1.5;color:var(--ink-soft);max-width:46ch;margin-bottom:28px}
.hero__sub strong{color:var(--ink)}
.hero__cta{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:26px}
.hero__chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px 22px}
.hero__chips li{display:flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:12.5px;letter-spacing:.04em;color:var(--ink-soft)}
.hero__chips .dot{width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 3px color-mix(in srgb,var(--red) 22%, transparent)}
.hero__logo{width:auto}

/* Spotlight */
.hero--spotlight{color:#fff;padding:clamp(48px,8vw,96px) 20px clamp(64px,9vw,110px);text-align:center}
.hero__spot{position:relative;z-index:2;max-width:880px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.hero__logo--xl{width:min(520px,82vw);filter:drop-shadow(0 18px 40px rgba(60,0,6,.5));margin-bottom:6px}
.hero__title--inv{color:#fff;font-size:clamp(34px,5vw,62px);margin-top:6px}
.hero__sub--inv{color:rgba(255,255,255,.9);max-width:54ch}
.hero__chips--inv li{color:rgba(255,255,255,.86)}
.hero__chips--inv .dot{background:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.25)}
.hero--spotlight .hero__chips{justify-content:center;margin-top:4px}

/* Split */
.hero--split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(40px,6vw,80px) clamp(16px,5vw,56px)}
.hero__panel{position:relative;border-radius:30px;min-height:440px;padding:36px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;overflow:hidden;box-shadow:0 30px 60px -30px var(--red-ink), inset 0 2px 0 rgba(255,255,255,.3)}
.hero__panel .hero__logo{width:min(360px,70%);position:relative;z-index:2;filter:drop-shadow(0 12px 26px rgba(60,0,6,.45))}
.hero__panelrow{display:flex;gap:22px;position:relative;z-index:2}
@media (max-width:860px){.hero--split{grid-template-columns:1fr}.hero__panel{min-height:380px}}

/* Stacked */
.hero--stacked{display:flex;flex-direction:column;align-items:center;text-align:center;padding:clamp(40px,6vw,72px) 20px 0}
.hero__logo--big{width:min(440px,80vw);filter:drop-shadow(0 14px 30px rgba(158,15,28,.3));margin-bottom:10px}
.hero__title--center{margin-inline:auto}
.hero--stacked .hero__sub{margin-inline:auto;text-align:center}
.hero--stacked .hero__cta,.hero--stacked .hero__chips{justify-content:center}
.hero__shelf{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:46px;padding:0 12px;perspective:900px}
.hero__shelf .bottle{transform:translateY(0)}

/* ---------------- Bottle ---------------- */
.bottle{position:relative;width:128px;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 14px 18px rgba(60,0,6,.28))}
.bottle--sm{width:96px}
.bottle__cap{width:46px;height:20px;border-radius:6px 6px 4px 4px;background:linear-gradient(180deg,#3a3a3e,#16161a);box-shadow:inset 0 2px 0 rgba(255,255,255,.35)}
.bottle--sm .bottle__cap{width:36px;height:16px}
.bottle__neck{width:54px;height:14px;background:linear-gradient(180deg,#d9d4cb,#b7b0a4);border-radius:3px;margin-top:-1px}
.bottle--sm .bottle__neck{width:42px;height:11px}
.bottle__body{position:relative;width:100%;height:188px;border-radius:14px 14px 18px 18px;overflow:hidden;box-shadow:inset 0 2px 0 rgba(255,255,255,.4), inset 0 -10px 22px rgba(60,0,6,.4)}
.bottle--sm .bottle__body{height:140px}
.bottle__gloss{position:absolute;top:0;left:10%;width:22%;height:100%;background:linear-gradient(90deg,rgba(255,255,255,.55),rgba(255,255,255,0));border-radius:50%;filter:blur(2px)}
.bottle__label{position:absolute;left:7%;right:7%;top:50%;transform:translateY(-50%);background:#FFF8EE;border-radius:8px;padding:11px 6px;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;box-shadow:0 4px 10px rgba(60,0,6,.25)}
.bottle__brand{font-family:var(--font-display);font-weight:700;font-size:9.5px;color:var(--red);line-height:1;white-space:nowrap}
.bottle__brand sup{font-size:6px}
.bottle__name{font-family:var(--font-display);font-weight:700;font-size:14px;color:#231;line-height:1.05;letter-spacing:-.01em;white-space:nowrap}
.bottle--sm .bottle__name{font-size:11.5px}
.bottle__mg{font-family:var(--font-mono);font-size:8px;color:#9a7d5e;letter-spacing:.02em;white-space:nowrap}
.bottle__bar{width:54%;height:2px;background:var(--red);border-radius:2px;margin:2px 0}
.bottle__ruo{font-family:var(--font-mono);font-size:5.5px;letter-spacing:.06em;color:#b54;white-space:nowrap}

/* ---------------- Marquee ---------------- */
.marquee{background:var(--ink);color:var(--bg);overflow:hidden;padding:13px 0;border-top:3px solid var(--red);border-bottom:3px solid var(--red)}
.marquee__track{display:flex;gap:0;white-space:nowrap;width:max-content;animation:scroll 26s linear infinite}
.marquee__item{display:inline-flex;align-items:center;gap:26px;padding:0 26px;font-family:var(--font-mono);font-weight:700;font-size:14px;letter-spacing:.14em}
.marquee__item b{color:var(--red)}
@keyframes scroll{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee__track{animation:none}}

/* ---------------- Sections ---------------- */
.section{max-width:1180px;margin:0 auto;padding:clamp(64px,9vw,120px) clamp(16px,4vw,40px)}
.section__head{max-width:640px;margin-bottom:40px}
.eyebrow{font-family:var(--font-mono);font-size:13px;letter-spacing:.12em;color:var(--red);margin-bottom:14px}
.section__title{font-family:var(--font-display);font-weight:700;font-size:clamp(32px,4.4vw,52px);line-height:1.02;letter-spacing:-.02em}
.section__lead{margin-top:16px;font-size:17px;line-height:1.55;color:var(--ink-soft)}

/* filters */
.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px}
.chipbtn{font-family:var(--font-display);font-weight:500;font-size:14px;padding:9px 16px;border-radius:999px;border:1.5px solid var(--line);background:transparent;color:var(--ink-soft);cursor:pointer;transition:all .15s}
.chipbtn:hover{border-color:var(--red);color:var(--red)}
.chipbtn--on{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 6px 16px -8px var(--red)}

/* product grid */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}
.card{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:24px 20px 20px;display:flex;flex-direction:column;align-items:center;transition:transform .18s, box-shadow .2s, border-color .2s;overflow:hidden;cursor:pointer}
.card:focus-visible{outline:3px solid var(--red);outline-offset:2px}
.card__view{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.04em;color:var(--red);margin-bottom:14px;display:inline-flex;gap:5px;align-self:flex-start;opacity:.85;transition:gap .15s, opacity .15s}
.card:hover .card__view{gap:9px;opacity:1}
.card:hover{transform:translateY(-4px);box-shadow:0 26px 50px -28px rgba(60,0,6,.5);border-color:color-mix(in srgb,var(--red) 35%,transparent)}
.card__purity{position:absolute;top:14px;right:14px;font-family:var(--font-mono);font-weight:700;font-size:11px;color:#fff;background:var(--red);padding:5px 9px;border-radius:999px;letter-spacing:.04em;box-shadow:0 4px 10px -3px var(--red)}
.card__shot{padding:8px 0 16px;display:flex;justify-content:center}
.card__shot .bottle:hover{transform:translateY(-3px) rotate(-1.5deg);transition:transform .25s}
.card__meta{width:100%;flex:1;display:flex;flex-direction:column}
.card__name{font-family:var(--font-display);font-weight:700;font-size:20px;letter-spacing:-.01em;line-height:1.1;text-wrap:balance}
.card__sub{font-family:var(--font-mono);font-size:11px;color:var(--red);letter-spacing:.02em;margin-top:4px;line-height:1.3}
.card__blurb{font-size:13.5px;line-height:1.45;color:var(--ink-soft);margin:10px 0 14px}
.prices{list-style:none;display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.prices li{display:flex;align-items:baseline;gap:8px;font-size:14px}
.prices__sz{font-family:var(--font-mono);font-size:12.5px;color:var(--ink-soft);white-space:nowrap}
.prices__dot{flex:1;border-bottom:1.5px dotted var(--line);transform:translateY(-3px)}
.prices__pr{font-family:var(--font-display);font-weight:700;font-size:16px;color:var(--ink)}
.prices--inquire{font-family:var(--font-mono);font-size:12.5px;letter-spacing:.03em;color:var(--red);margin-bottom:16px;display:block}
.card .btn--tg{margin-top:auto}
.tag{font-family:var(--font-mono);font-size:10.5px;font-weight:700;letter-spacing:.06em;padding:4px 8px;border-radius:6px;white-space:nowrap;text-transform:uppercase}
.tag--recovery{background:#FCE3D2;color:#B4531C}
.tag--gh{background:#E2ECDB;color:#3E6B33}
.tag--metabolic{background:#DCE6F4;color:#2F5894}
.tag--skin{background:#F6DEE6;color:#A23A66}
[data-bg="Midnight"] .tag--recovery{background:#3a2418;color:#F0B084}
[data-bg="Midnight"] .tag--gh{background:#22301c;color:#A7CE97}
[data-bg="Midnight"] .tag--metabolic{background:#1f2c40;color:#9CBEF0}
[data-bg="Midnight"] .tag--skin{background:#36202a;color:#EDA0BE}
.grid__note{text-align:center;margin-top:34px;font-family:var(--font-mono);font-size:13px;color:var(--ink-soft)}

/* supplies band */
.supplies{margin-top:40px;background:var(--cream-2);border:1px solid var(--line);border-radius:24px;padding:clamp(24px,3vw,36px)}
.supplies__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;margin-bottom:22px}
.supplies__head h3{font-family:var(--font-display);font-weight:700;font-size:24px;letter-spacing:-.01em}
.supplies__head p{font-size:14px;color:var(--ink-soft)}
.supplies__head strong{color:var(--red)}
.supplies__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.supply{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.supply__top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.supply__name{font-family:var(--font-display);font-weight:600;font-size:16px}
.supply__price{font-family:var(--font-display);font-weight:700;font-size:16px;color:var(--red)}
.supply__note{font-family:var(--font-mono);font-size:11.5px;color:var(--ink-soft);line-height:1.35}

/* ---------------- Product modal ---------------- */
.modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(40,8,10,.55);backdrop-filter:blur(6px);animation:fade .2s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
.modal__panel{position:relative;display:grid;grid-template-columns:280px 1fr;width:min(820px,100%);max-height:92vh;overflow:hidden;background:var(--paper);border-radius:26px;box-shadow:0 40px 90px -30px rgba(40,0,6,.7);animation:pop .25s cubic-bezier(.2,.9,.3,1.2)}
@keyframes pop{from{transform:translateY(16px) scale(.97);opacity:0}to{transform:none;opacity:1}}
.modal__close{position:absolute;top:14px;right:14px;z-index:5;width:36px;height:36px;border-radius:50%;border:none;background:rgba(255,255,255,.18);color:#fff;font-size:24px;line-height:1;cursor:pointer;transition:background .15s}
.modal__close:hover{background:rgba(255,255,255,.34)}
.modal__left{position:relative;display:flex;align-items:center;justify-content:center;padding:30px;overflow:hidden}
.modal__left .bottle{position:relative;z-index:2;transform:scale(1.08)}
.modal__body{padding:34px 34px 30px;overflow-y:auto}
.modal__purity{font-family:var(--font-mono);font-size:11px;letter-spacing:.06em;color:var(--red);text-transform:uppercase}
.modal__name{font-family:var(--font-display);font-weight:700;font-size:30px;letter-spacing:-.02em;line-height:1.05;margin-top:8px}
.modal__sub{font-family:var(--font-mono);font-size:12.5px;color:var(--ink-soft);margin-top:6px}
.modal__block{margin-top:22px}
.modal__label{display:block;font-family:var(--font-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:7px}
.modal__text{font-size:15.5px;line-height:1.55;color:var(--ink)}
.modal__block--dose{background:var(--cream-2);border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.modal__block--dose .modal__text{font-family:var(--font-display);font-weight:500;font-size:16px;color:var(--ink)}
.modal__fine{display:block;margin-top:8px;font-family:var(--font-mono);font-size:10.5px;line-height:1.5;color:var(--ink-soft)}
.prices--modal{margin:10px 0 0}
.modal__cta{margin-top:24px;width:100%}
.modal__ruo{margin-top:12px;text-align:center;font-family:var(--font-mono);font-size:10.5px;letter-spacing:.06em;color:var(--ink-soft)}
@media (max-width:640px){.modal{align-items:flex-start;overflow-y:auto;padding:12px}.modal__panel{grid-template-columns:1fr;max-height:none}.modal__left{padding:24px 24px 8px}.modal__left .bottle{transform:scale(.9)}.modal__body{padding:24px;overflow:visible}.modal__close{position:fixed;top:18px;right:18px;background:rgba(20,4,6,.5)}}

/* ---------------- Order ---------------- */
.section--order{position:relative}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media (max-width:820px){.steps{grid-template-columns:1fr}}
.step{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:30px 26px;position:relative;overflow:hidden}
.step::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--red)}
.step__n{font-family:var(--font-display);font-weight:700;font-size:46px;color:color-mix(in srgb,var(--red) 28%,transparent);line-height:1;display:block;margin-bottom:12px}
.step__t{font-family:var(--font-display);font-weight:600;font-size:22px;margin-bottom:10px}
.step__d{font-size:15px;line-height:1.55;color:var(--ink-soft)}
.order__cta{display:flex;justify-content:center;margin-top:40px}

/* ---------------- FAQ ---------------- */
.section--faq{max-width:860px}
.faq{display:flex;flex-direction:column;gap:12px}
.faq__item{background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:border-color .2s}
.faq__item--open{border-color:color-mix(in srgb,var(--red) 40%,transparent)}
.faq__q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;background:none;border:none;cursor:pointer;text-align:left;padding:20px 22px;font-family:var(--font-display);font-weight:600;font-size:18px;color:var(--ink)}
.faq__plus{font-family:var(--font-display);font-size:26px;color:var(--red);line-height:1;flex-shrink:0}
.faq__a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq__item--open .faq__a{max-height:260px}
.faq__a p{padding:0 22px 22px;font-size:15.5px;line-height:1.6;color:var(--ink-soft)}

/* ---------------- Footer ---------------- */
.footer{background:var(--ink);color:var(--bg);margin-top:40px}
.footer__top{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:30px;padding:clamp(48px,7vw,80px) clamp(16px,4vw,40px) 40px}
.footer__logo{height:64px;width:auto;background:#fff;padding:14px 20px;border-radius:18px}
.footer__cta{text-align:right}
.footer__pitch{font-family:var(--font-display);font-weight:600;font-size:clamp(24px,3vw,38px);margin-bottom:16px}
.footer__disclaimer{max-width:1180px;margin:0 auto;padding:30px clamp(16px,4vw,40px);border-top:1px solid rgba(255,255,255,.14)}
.footer__ruo{font-family:var(--font-mono);font-weight:700;font-size:13px;letter-spacing:.1em;color:var(--gold);margin-bottom:12px}
.footer__disclaimer p:last-child{font-size:13px;line-height:1.7;color:rgba(255,255,255,.62);max-width:90ch}
.footer__disclaimer strong{color:rgba(255,255,255,.9)}
.footer__bar{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;padding:20px clamp(16px,4vw,40px) 40px;font-family:var(--font-mono);font-size:12px;color:rgba(255,255,255,.5)}
.footer__bar a{color:var(--gold)}

/* ---------------- responsive ---------------- */
@media (max-width:600px){
  .footer__top{flex-direction:column;text-align:center}
  .footer__cta{text-align:center}
}
