/* A quieter interface around the original Peptides 4 Athletes artwork.
   Banner geometry and all bottle/character images intentionally inherit
   their existing rules. */
:root {
  --paper: #f3f4f0;
  --ink: #101617;
  --muted: #616b65;
  --line: #dce1d9;
  --lime: #b8f300;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
::selection { background: #d6f893; color: #101617; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { letter-spacing: .105em; font-size: 11px; }
.small { line-height: 1.65; }
.wrap { width: min(1260px, calc(100% - 72px)); }
.text-link { font-size: 13px; font-weight: 600; text-underline-offset: 5px; padding-bottom: 4px; }
.text-link:hover { color: #526e06; }

#navigation {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom-color: #2a3230;
  box-shadow: 0 2px 12px #10161706;
}
.nav { height: 78px; gap: 42px; }
.nav-logo, .nav-logo img { width: 100px; }
.nav-links { gap: 27px; }
.nav-links a, .cart-link {
  font-size: 13px;
  text-transform: none;
  letter-spacing: .01em;
  font-weight: 550;
}
.nav-links a { padding: 25px 0; color: #c6cdc9; position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.nav-links a[aria-current="page"] { color: #f9fbf7; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a:hover { color: #fff; }
.nav-actions { gap: 22px; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  border: 1px solid #566338;
  border-radius: 50%;
  font-size: 11px;
}
.menu-button { width: 40px; height: 40px; border-radius: 7px; padding: 0; }
.btn {
  border-radius: 7px;
  font-size: 13px;
  letter-spacing: .01em;
  text-transform: none;
  font-weight: 650;
  padding: 14px 23px;
  gap: 16px;
  min-height: 47px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); background: #c6fa28; }
.btn.dark:hover { background: #2e3832; }
.btn.outline:hover { background: #d9e1d615; }
.btn.small-btn { min-height: 39px; padding: 9px 16px; }
.btn:active { transform: translateY(0); }
.btn:disabled:hover { transform: none; }

.page-intro { margin: 42px 0 32px; }
.page-intro h1 { font-size: clamp(35px, 3.4vw, 47px); margin-bottom: 14px; }
.page-intro .eyebrow { display: block; margin-bottom: 13px; }
.page-intro p { max-width: 650px; font-size: 16px; }
.section { margin: 76px 0; }
.section-top { margin-bottom: 27px; }
.section-top h2 { font-size: clamp(28px, 3vw, 39px); margin-top: 11px; }
.rule-heading {
  margin: 30px 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #cbd2c7;
}
.rule-heading h1, .rule-heading h2 { font-size: 27px; }
.rule-heading span { font-size: 12px; letter-spacing: .02em; text-transform: none; }

.hero { min-height: 430px; border-radius: 18px; grid-template-columns: 1.14fr 1fr; }
.hero-copy { padding: 50px 48px; }
.hero h1 { font-size: clamp(44px, 4.3vw, 62px); line-height: 1.06; margin: 21px 0 23px; }
.hero p { font-size: 17px; line-height: 1.75; color: #bcc7bf; max-width: 450px; }
.hero-buttons { gap: 12px; margin-top: 29px; }
.hero .btn.outline { border-color: #647168; }
.hero-art .art-caption {
  left: 24px;
  bottom: 24px;
  font-size: 10px;
  letter-spacing: .09em;
  border-radius: 0 6px 6px 0;
  padding: 10px 15px;
  backdrop-filter: blur(12px);
}
.feature-strip { gap: 0; margin: 20px 0 64px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.feature { border: 0; border-radius: 0; padding: 28px 26px; background: transparent; gap: 18px; }
.feature + .feature { border-left: 1px solid #e4e8e1; }
.feature .num { font-size: 11px; font-weight: 600; color: #657c37; padding-top: 3px; }
.feature h3 { font-size: 17px; letter-spacing: -.025em; margin-bottom: 8px; }
.feature p { font-size: 13px; line-height: 1.65; }
.feature:hover h3 { color: #556c22; }

.library-intro, .library-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin: 8px 0 31px; }
.library-intro h1, .library-heading h1 { font-size: clamp(32px, 3vw, 43px); margin: 10px 0 9px; }
.library-intro p, .library-heading p { max-width: 620px; margin: 0; font-size: 15px; color: var(--muted); }
.library-heading > .text-link { flex-shrink: 0; margin-bottom: 5px; }
.library-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.library-context { font-size: 12px; line-height: 1.75; color: #5b6753; margin: 0; padding-bottom: 4px; }
.library-results { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 24px; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 12px; color: #5b6753; }
.library-results > :first-child { color: #485442; font-weight: 550; }
.search-field { max-width: 490px; }
.search-field label { font-size: 12px; font-weight: 600; letter-spacing: .01em; text-transform: none; color: #3f4942; margin-bottom: 7px; }
.search-input input { min-height: 49px; padding-left: 45px; }
.search-input span { color: #647061; top: 10px; }
.input, input[type="email"], input[type="text"], textarea, select {
  border-color: #ccd3c8;
  border-radius: 8px;
  font-size: 14px;
  padding-top: 13px;
  padding-bottom: 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input::placeholder, textarea::placeholder { color: #677160; }
.input:hover, input[type="email"]:hover, input[type="text"]:hover, textarea:hover, select:hover { border-color: #a6b09e; }
.filter-group { gap: 8px; margin-top: 17px; }
.filter { border-color: #d6ddcf; background: #ffffff60; font-size: 12px; padding: 8px 15px; line-height: 1.4; transition: background .18s ease, border-color .18s ease; }
.filter:hover { border-color: #9ca98c; background: #fff; }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid, .episode-grid { gap: 27px; }
.product-card {
  border: 1px solid #e0e5db;
  border-radius: 13px;
  box-shadow: 0 3px 9px #16271603;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: #becaae; box-shadow: 0 12px 30px #22351f0b; }
.product-photo { aspect-ratio: 1; }
.product-photo img { transition: transform .4s ease; }
.product-card:hover .product-photo img { transform: scale(1.018); }
.photo-link { position: absolute; bottom: 16px; right: 16px; border: 1px solid #ffffff3d; background: #101617b8; color: #f0f4ec; border-radius: 30px; padding: 7px 12px; font-size: 10px; line-height: 1.4; font-weight: 550; backdrop-filter: blur(10px); opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.product-card:hover .photo-link, .product-photo:focus-visible .photo-link { opacity: 1; transform: translateY(0); }
.product-body { padding: 23px 24px 24px; }
.card-meta, .product-meta-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.card-meta .eyebrow { font-size: 9px; line-height: 1.5; font-weight: 600; letter-spacing: .07em; color: #69765f; }
.badge { background: #edf2e5; color: #47573a; padding: 6px 12px; border-radius: 5px; font-size: 12px; font-weight: 550; }
.size-badge { flex-shrink: 0; white-space: nowrap; font-size: 11px; padding: 5px 9px; }
.product-body h3 { font-size: 26px; font-weight: 650; margin: 0 0 11px; letter-spacing: -.035em; }
.product-body h3 a:hover { color: #547320; }
.product-body .description { color: #66705f; font-size: 13px; line-height: 1.65; min-height: 65px; margin-bottom: 21px; }
.product-card .purchase { padding-top: 18px; border-top: 1px solid #e8ece3; }
.quantity-row { margin-bottom: 13px; gap: 12px; }
.quantity-label { letter-spacing: .025em; font-size: 10px; color: #626d5b; }
.quantity { border: 1px solid #d8dfd0; border-radius: 6px; overflow: hidden; height: 37px; background: #fafbf8; }
.quantity button { border: 0; background: transparent; width: 35px; height: 35px; font-size: 16px; color: #3c4836; transition: background .15s ease; }
.quantity button:hover:not(:disabled) { background: #e7efd9; }
.quantity button:focus-visible, .product-photo:focus-visible { outline-offset: -3px; }
.quantity output { font-size: 12px; width: 30px; line-height: 35px; }
.product-card .purchase .btn { background: var(--ink); color: #fff; justify-content: space-between; min-height: 44px; padding: 12px 16px; font-size: 12px; border-radius: 6px; }
.product-card .purchase .btn > span { color: var(--lime); font-size: 18px; line-height: 1; font-weight: 400; }
.product-card .purchase .btn:hover { background: #25312a; transform: none; }
.catalog-note { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 24px 27px; margin: 32px 0 0; border: 1px solid var(--line); border-radius: 10px; background: #edf0e8; color: #6b7763; font-size: 12px; }
.catalog-note strong { display: block; color: #43513b; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.catalog-note p { margin: 0; max-width: 770px; }
.catalog-note .text-link { flex-shrink: 0; font-size: 12px; }

.split { gap: 48px; }
.detail-image, .content-box, .episode-character { border-radius: 13px; }
.detail-copy { padding-top: 20px; }
.detail-copy h1 { font-size: clamp(40px, 4vw, 59px); }
.detail-copy > p { max-width: 550px; color: #566451; }
.detail-copy .purchase { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 27px; }
.detail-copy .quantity-label { font-size: 12px; }
.content-box { padding: 32px; }
.content-box .eyebrow { display: block; margin-bottom: 15px; }
.content-box h3 { letter-spacing: -.03em; }
.reading-grid { gap: 23px; }
.reading-grid p { line-height: 1.8; font-size: 14px; }
.notice { border-left-color: #91ab59; background: #eaf0df; border-radius: 0 8px 8px 0; }
.dark-band { padding: 45px; border-radius: 15px; }
.dark-band h2 { font-size: 34px; margin-top: 13px; }
.dark-band p { font-size: 15px; line-height: 1.8; }
.dark-band .btn { flex-shrink: 0; }
.episode-card { border-radius: 13px; transition: box-shadow .2s ease; }
.episode-card:hover { box-shadow: 0 10px 25px #1c36140a; }
.episode-card .content { padding: 25px; }
.episode-card h3 { margin-bottom: 12px; }
.episode-card .status { letter-spacing: .09em; font-size: 10px; }
.episode-card p { line-height: 1.7; }
.avatar-grid img { border: 1px solid #dfe6d7; border-radius: 12px; }
.faq-row { padding: 25px 0; border-bottom-color: #d5ddd0; }
.faq-row summary { font-size: 19px; letter-spacing: -.02em; font-weight: 600; line-height: 1.5; }
.faq-row summary::after { color: #728556; font-size: 23px; padding-top: 3px; }
.faq-row p { font-size: 15px; }
.form { gap: 23px; }
.form label { font-size: 12px; font-weight: 550; text-transform: none; letter-spacing: .015em; }
.cart-summary { top: 100px; border-radius: 13px; }
.cart-item .quantity { width: fit-content; }

.footer { margin-top: 92px; padding-top: 53px; color: #aebaae; }
.footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 65px; }
.footer strong { font-size: 11px; letter-spacing: .075em; color: #eff4eb; }
.footer-links { gap: 10px; margin-top: 20px; }
.footer p, .footer-links a, .footer-links button { font-size: 13px; }
.footer-bottom { border-top-color: #2b362d; color: #8d9c8d; padding-top: 23px; margin-top: 38px; }
.footer-tag { font-size: 10px; letter-spacing: .09em; }

.dialog { border-color: #4b5933; border-radius: 22px; }
.dialog-scroll { padding: 29px 40px 33px; }
.dialog-scroll h2 { text-transform: none; font-size: clamp(25px, 3vw, 37px); letter-spacing: -.03em; line-height: 1.2; }
.dialog .field-label { letter-spacing: .035em; text-transform: none; font-size: 13px; }
.dialog .btn { font-size: 13px; }
.steps { letter-spacing: .09em; font-size: 10px; }
.optional { background: #1c251e; }
.ack-box { border-color: #35402e; background: #19221a; }
.ack-box p { letter-spacing: .075em; }
.ack-box strong { font-size: 23px; letter-spacing: .01em; }
.checkline { font-size: 14px; }
.dialog-close { border-color: #75876a; }

@media (max-width: 1100px) {
  .nav { gap: 28px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 12px; }
  .hero-copy { padding: 38px; }
  .hero h1 { font-size: 49px; }
  .feature { padding: 24px 20px; gap: 14px; }
  .product-grid, .episode-grid { gap: 21px; }
  .product-body { padding: 21px; }
  .card-meta .eyebrow { font-size: 8px; }
  .split { gap: 32px; }
}

@media (max-width: 780px) {
  .wrap { width: calc(100% - 40px); }
  .nav { height: 72px; gap: 20px; }
  .nav-logo, .nav-logo img { width: 88px; }
  .nav-links { gap: 8px 24px; top: 72px; padding: 18px 24px; box-shadow: 0 12px 24px #09100b20; }
  .nav-links a { padding: 8px 0; min-width: 65px; font-size: 13px; }
  .nav-links a::after { bottom: 2px; }
  .nav-actions { gap: 17px; }
  .hero-copy { padding: 32px 28px; }
  .hero h1 { font-size: 39px; }
  .hero p { font-size: 15px; }
  .hero-buttons .btn { padding: 12px 16px; font-size: 12px; }
  .feature-strip { margin-bottom: 50px; }
  .feature { padding: 23px 19px; }
  .feature .num { margin-bottom: 12px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 12px; }
  .section { margin: 57px 0; }
  .library-toolbar { gap: 20px; }
  .library-context { font-size: 11px; flex: 0 0 160px; }
  .library-heading > .text-link { font-size: 12px; }
  .catalog-note { align-items: start; }
  .product-grid, .episode-grid { gap: 20px; }
  .product-body { padding: 22px; }
  .card-meta .eyebrow { font-size: 9px; }
  .product-body h3 { font-size: 25px; }
  .footer-top { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .footer { margin-top: 68px; }
  .dark-band { padding: 32px; }
  .dark-band h2 { font-size: 31px; }
  .dialog-scroll { padding: 25px; }
  .dialog { border-radius: 16px; }
  .cart-summary { position: static; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 26px; }
  .hero h1 { font-size: 44px; max-width: 340px; margin: 19px 0 21px; }
  .hero p { line-height: 1.75; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .btn { padding: 12px 15px; font-size: 12px; }
  .hero-art .art-caption { left: 18px; bottom: 18px; }
  .feature-strip { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
  .feature { padding: 22px; gap: 20px; }
  .feature + .feature { border-left: 0; border-top: 1px solid #e4e8e1; }
  .feature .num { margin-bottom: 0; }
  .feature h3 { font-size: 17px; }
  .feature p { font-size: 13px; }
  .page-intro { margin: 28px 0 25px; }
  .page-intro h1 { font-size: 33px; }
  .page-intro p { font-size: 14px; }
  .section { margin: 44px 0; }
  .section-top { gap: 14px; }
  .section-top h2 { font-size: 28px; }
  .section-top .text-link { font-size: 11px; margin-top: 15px; }
  .library-intro, .library-heading { display: block; margin-bottom: 25px; }
  .library-intro h1, .library-heading h1 { font-size: 33px; }
  .library-intro p, .library-heading p { font-size: 14px; }
  .library-heading > .text-link { display: inline-block; margin: 16px 0 0; }
  .library-toolbar { display: block; }
  .library-context { display: block; margin-top: 12px; padding-bottom: 0; font-size: 11px; }
  .library-results { font-size: 11px; margin: 25px 0 21px; }
  .search-field { max-width: none; }
  .filter-group { gap: 7px; margin-top: 20px; }
  .filter { padding: 8px 12px; font-size: 11px; }
  .rule-heading { margin-top: 28px; margin-bottom: 20px; padding-bottom: 14px; }
  .rule-heading h1, .rule-heading h2 { font-size: 25px; }
  .rule-heading span { font-size: 11px; }
  .product-grid, .episode-grid { grid-template-columns: 1fr; gap: 23px; }
  .product-body { padding: 23px; }
  .product-body .description { min-height: 0; font-size: 14px; margin-bottom: 22px; }
  .product-body h3 { font-size: 27px; }
  .card-meta { margin-bottom: 13px; }
  .card-meta .eyebrow { font-size: 10px; }
  .product-card .purchase .btn { min-height: 47px; font-size: 13px; }
  .quantity { height: 39px; }
  .quantity button { height: 37px; width: 37px; }
  .quantity output { line-height: 37px; }
  .catalog-note { display: block; line-height: 1.8; padding: 22px; }
  .catalog-note .text-link { display: inline-block; margin-top: 14px; }
  .split { gap: 25px; }
  .detail-copy { padding-top: 0; }
  .detail-copy h1 { font-size: 43px; }
  .content-box { padding: 25px; }
  .dark-band { padding: 30px 25px; }
  .dark-band h2 { font-size: 29px; }
  .dark-band p { font-size: 14px; }
  .faq-row summary { font-size: 18px; }
  .faq-row p { margin-right: 12px; font-size: 14px; }
  .footer { padding-top: 35px; margin-top: 58px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { margin-top: 30px; }
  .dialog-scroll { padding: 22px 20px 25px; }
  .dialog-scroll h2 { font-size: 24px; }
  .dialog .btn { font-size: 12px; }
  .checkline { font-size: 13px; }
  .ack-box strong { font-size: 18px; }
  .steps { font-size: 8px; letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover, .product-card:hover .product-photo img, .btn:hover { transform: none; }
}

@media (hover: none) {
  .photo-link { opacity: 1; transform: none; }
}

/* Compact catalog controls keep the bottles in view on smaller screens. */
.library-context { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.library-context a { font-size: 12px; }
.hero-copy { min-width: 0; }
@media(max-width:760px) { .hero { grid-template-columns: 1fr; } .hero-art { min-height: 330px; } }
@media(max-width:520px) {
  .library-heading { margin-bottom: 23px; }
  .library-context { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 11px; }
  .library-context a { font-size: 11px; flex-shrink: 0; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 9px; scrollbar-width: thin; scrollbar-color: #acb7a4 transparent; }
  .filter { flex-shrink: 0; }
  .library-results { margin-top: 15px; }
  .hero h1 { font-size: clamp(31px,9.2vw,42px); }
}
