/* Onyx Peptides — stone + foil luxury layer (distinct from other wholesale packs) */

:root {
  --opw-radius: 4px;
  --opw-radius-sm: 2px;
  --opw-radius-lg: 8px;
  --opw-radius-pill: 4px;
  --opw-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body {
  background: #0B0C0F;
  color: #E8E4DC;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--opw-font-heading);
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #F4F0E6;
}

a { color: var(--opw-accent); }
a:hover { color: var(--opw-accent-soft); }

.opw-container { width: min(1160px, calc(100vw - 3rem)); }

/* Gate */
.opw-gate {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,165,116,0.18), transparent 50%),
    #07080A;
}
.opw-gate__card {
  background: rgba(20, 22, 28, 0.92);
  color: #E8E4DC;
  border: 1px solid rgba(196,165,116,0.35);
  border-radius: var(--opw-radius-lg);
  box-shadow: var(--opw-shadow);
  backdrop-filter: blur(10px);
  max-width: 480px;
  padding: 2.5rem 2rem;
}
.opw-gate__card h1 { color: #F4F0E6; font-size: 1.85rem; }
.opw-gate__card p { color: rgba(232,228,220,0.7); }
.opw-gate__card label {
  color: #E8E4DC;
  border: 1px solid rgba(196,165,116,0.25);
  border-radius: var(--opw-radius);
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
}
.opw-gate__disclaimer { color: rgba(232,228,220,0.45) !important; }
.opw-gate__disclaimer a { color: var(--opw-accent); }

/* Announcement */
.opw-announcement {
  background: #050608;
  border-bottom: 1px solid rgba(196,165,116,0.22);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Header — dark glass, not cream sticky bar */
.opw-header {
  background: rgba(8, 9, 12, 0.88);
  border-bottom: 1px solid rgba(196,165,116,0.18);
  backdrop-filter: blur(16px);
}
.opw-logo img,
.opw-header__brand .custom-logo {
  height: 48px;
  max-width: 240px;
  filter: none;
}
.opw-nav__list a {
  color: rgba(244,240,230,0.82);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.opw-nav__list a:hover { color: var(--opw-accent); text-decoration: none; }
.opw-nav-toggle__bar { background: #F4F0E6; }

/* Buttons — cut corners, not candy pills */
.opw-btn {
  border-radius: var(--opw-radius);
  border-width: 1px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.opw-btn--primary {
  background: linear-gradient(180deg, #D4B483 0%, #C4A574 45%, #8F7344 100%);
  color: #0B0C0F !important;
  border-color: #C4A574;
}
.opw-btn--primary:hover {
  background: #E8D5B5;
  color: #0B0C0F !important;
  transform: translateY(-1px);
}
.opw-btn--ghost {
  border-color: rgba(196,165,116,0.45);
  color: #F4F0E6 !important;
  background: transparent;
}
.opw-btn--ghost:hover {
  border-color: var(--opw-accent);
  background: rgba(196,165,116,0.08);
}
.opw-header .opw-btn--ghost {
  border-color: rgba(196,165,116,0.4);
  color: #F4F0E6 !important;
}
.opw-btn--dark {
  background: transparent;
  color: var(--opw-accent) !important;
  border-color: var(--opw-accent);
}

/* Hero — full-bleed brand stage */
.opw-hero {
  position: relative;
  padding: 0;
  min-height: min(86vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #050608;
}
.opw-hero__grid {
  position: relative;
  z-index: 2;
  display: block;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 7vh, 4.5rem);
  max-width: min(720px, 100%);
}
.opw-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}
.opw-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,8,0.92) 0%, rgba(5,6,8,0.72) 42%, rgba(5,6,8,0.35) 70%, rgba(5,6,8,0.55) 100%),
    linear-gradient(180deg, rgba(5,6,8,0.25) 0%, rgba(5,6,8,0.75) 100%);
}
.opw-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #050608;
}
.opw-eyebrow {
  color: var(--opw-accent);
  font-family: var(--opw-font-body);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
}
.opw-hero h1 {
  font-family: var(--opw-font-heading);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  max-width: 14ch;
  color: #F7F3EA;
}
.opw-hero__subhead {
  color: rgba(244,240,230,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46ch;
}
.opw-micro-trust { color: rgba(244,240,230,0.5); letter-spacing: 0.04em; }
.opw-badge {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(196,165,116,0.35);
  color: var(--opw-accent-soft);
  border-radius: var(--opw-radius-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

/* Trust */
.opw-trust {
  background: #0E1014;
  border-color: rgba(196,165,116,0.18);
}
.opw-trust__item strong {
  color: var(--opw-accent);
  font-family: var(--opw-font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.opw-trust__item span { color: rgba(232,228,220,0.55); }

/* Sections */
.opw-section { padding: 5rem 0; background: #0B0C0F; color: #E8E4DC; }
.opw-compliance-strip { padding-top: 3.5rem; }
.opw-section--cream,
.opw-section--dark {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(196,165,116,0.08), transparent 40%),
    #10131A;
  color: #E8E4DC;
}
.opw-section--cream h2,
.opw-section--cream h3,
.opw-section--dark h2,
.opw-section--dark h3 { color: #F4F0E6; }
.opw-section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 600;
  color: #F4F0E6;
}
.opw-section__lead { color: rgba(232,228,220,0.62); font-size: 1.02rem; }
.opw-section--dark .opw-section__lead { color: rgba(232,228,220,0.62); }

/* Cards — dark stone panels */
.opw-card,
.opw-product-card,
.opw-faq-item,
.opw-steps li {
  box-shadow: none;
  border: 1px solid rgba(196,165,116,0.18);
  border-radius: var(--opw-radius);
  background: #14171E;
  color: #E8E4DC;
}
.opw-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196,165,116,0.55);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.opw-product-card__img {
  background: linear-gradient(180deg, #1A1E27 0%, #0E1014 100%);
  aspect-ratio: 1;
  padding: 1.1rem;
  border-bottom: 1px solid rgba(196,165,116,0.12);
}
.opw-product-card__img img {
  object-fit: contain;
}
.opw-product-card__body h3 {
  font-family: var(--opw-font-heading);
  font-size: 1.4rem;
  color: #F4F0E6;
}
.opw-product-card__meta { color: rgba(232,228,220,0.5); }
.opw-product-card__price {
  color: var(--opw-accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.opw-faq-item summary { color: #F4F0E6; }
.opw-faq-item p { color: rgba(232,228,220,0.65); }
.opw-steps li { background: #14171E; }
.opw-steps li::before {
  border-radius: 2px;
  background: var(--opw-accent);
  color: #0B0C0F;
}

/* Auth / portal shells stay premium dark */
.opw-auth-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #0B0C0F;
}
.opw-auth-shell__brand {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(196,165,116,0.18), transparent 42%),
    #07080A;
  color: #F4F0E6;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.opw-auth-shell__brand h1 {
  color: #F4F0E6;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  max-width: 12ch;
  margin-bottom: 0.75rem;
}
.opw-auth-shell__brand > p {
  color: rgba(244,240,230,0.65);
  max-width: 38ch;
  margin-bottom: 2rem;
}
.opw-auth-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}
.opw-auth-pillars li {
  border-top: 1px solid rgba(196,165,116,0.18);
  padding-top: 1rem;
}
.opw-auth-pillars strong {
  display: block;
  color: var(--opw-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.opw-auth-pillars span {
  color: rgba(244,240,230,0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}
.opw-auth-shell__form {
  display: grid;
  place-items: center;
  padding: 3rem 2rem;
  background: #10131A;
}
.opw-auth-card {
  width: min(420px, 100%);
  background: #14171E;
  border: 1px solid rgba(196,165,116,0.22);
  border-radius: var(--opw-radius-lg);
  padding: 2rem;
}
.opw-auth-card h2 { margin: 0 0 0.5rem; font-size: 1.75rem; color: #F4F0E6; }
.opw-auth-card > p { color: rgba(232,228,220,0.6); margin: 0 0 1.5rem; font-size: 0.92rem; }

.opw-portal {
  background: #0B0C0F;
  min-height: 70vh;
  padding: 2.5rem 0 4rem;
}

.opw-cta-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,165,116,0.16), transparent 50%),
    #07080A;
  border-top: 1px solid rgba(196,165,116,0.2);
}
.opw-cta-section h2 { color: #F7F3EA; }

.opw-footer {
  background: #050608;
  border-top: 1px solid rgba(196,165,116,0.18);
}
.opw-footer h3 { color: var(--opw-accent); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; font-family: var(--opw-font-body); }
.opw-page { background: #0B0C0F; color: #E8E4DC; }
.opw-page__content,
.opw-page .entry-content { color: rgba(232,228,220,0.85); }
.opw-page .entry-title { color: #F4F0E6; }

.opw-ruo-bar {
  background: #050608;
  border-bottom: 1px solid rgba(196,165,116,0.25);
  color: #E8E4DC;
}
.opw-ruo-bar strong { color: var(--opw-accent); }

@media (max-width: 900px) {
  .opw-hero { min-height: 70vh; }
  .opw-hero__grid { max-width: 100%; }
  .opw-auth-shell { grid-template-columns: 1fr; }
}
