/* ==========================================================================
   Vials — bulk wholesale
   Matched to the supplied mockup: warm paper, beige cards, tight grotesque
   display type, black pill CTAs, heavy rounded corners.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&family=Inter:wght@400;450;500;600&display=swap");

:root {
  --bg: #f8f8f7;
  --blue: #255ef6;
  --card: #e6e5dc;
  --card-2: #ecebe3;
  --ink: #0e0d0c;
  --ink-2: #2f2f2d;
  --muted: #6f6d66;
  --line: #deddd4;
  --line-2: #cfcec5;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --line-2: #c9c8c0;
  --white: #ffffff;

  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: 24px;
  --r-lg: 32px;
  --r-md: 28px;
  --r-sm: 20px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

::selection { background: var(--ink); color: var(--bg); }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.wrap-narrow { width: min(820px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ nav */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 18px 0 0;
  background: linear-gradient(var(--bg) 70%, rgba(248, 248, 247, 0));
}
.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
  padding: 0 12px 0 26px;
  border: 1px solid #e7e6df;
  border-radius: var(--pill);
  background: rgba(248, 248, 247, 0.88);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 1;
}
.brand-logo { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.28s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { margin-left: 8px; }

.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 4px 0; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--pill);
  padding: 14px 26px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark { background: var(--ink-2); color: var(--bg); }
.btn-dark:hover { background: var(--ink); }
.btn-light { background: #ebeae3; color: var(--ink); }
.btn-light:hover { background: #e2e1d8; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn-block { width: 100%; }

.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--pill);
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.pill-link:hover { background: var(--ink); color: var(--bg); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.arrow-link .arw { transition: transform 0.25s var(--ease); }
.arrow-link:hover .arw { transform: translateX(3px); }

/* ------------------------------------------------------------------ hero */

.hero { padding: 64px 0 0; text-align: center; }
.hero h1 {
  font-size: clamp(54px, 8.6vw, 118px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 0.9;
  margin-inline: auto;
  max-width: 26ch;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-art {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  align-items: end;
  gap: 28px;
  margin-top: 44px;
  padding: 0 4px;
}
.feature {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 28px 28px 24px;
  aspect-ratio: 1.28;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(36px, 4.4vw, 58px);
}
.feature-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.feature-value {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-top: 6px;
}
.feature-icon { color: var(--ink); opacity: 0.9; }
.feature-icon svg { width: 26px; height: 26px; }

.vial-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}
.vial-stage img {
  width: auto;
  height: clamp(340px, 37vw, 545px);
  margin-bottom: -4px;
}

/* ------------------------------------------------------------------ price frame */

.priceframe {
  position: relative;
  z-index: 2;
  border-radius: var(--r-lg);
  padding: 13px;
  margin-top: -2px;
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.priceframe.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.priceframe.four .pricecard { min-height: 0; padding: 22px 14px; }
.priceframe.four .price-big b { font-size: clamp(36px, 4.2vw, 66px); }
.priceframe.four .price-label { font-size: clamp(16px, 1.4vw, 20px); }
.priceframe.four .pill-link { font-size: 11px; padding: 8px 12px; }
.pricecard {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  aspect-ratio: 0.86;
}
.price-label {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.price-big {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  flex: 1;
  align-items: center;
}
.price-big b {
  font-family: var(--display);
  font-size: clamp(64px, 8.4vw, 118px);
  font-weight: 700;
  letter-spacing: -0.06em;
}
.price-big span { font-size: 15px; color: var(--ink-2); }

.media-band {
  margin-top: 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  height: clamp(210px, 23vw, 318px);
  background: #d9d4c8;
}
.media-band img { width: 100%; height: 100%; object-fit: cover; }

.signup {
  margin-top: 14px;
  background: #232220;
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.signup form { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; width: 100%; }
.signup-msg { color: var(--bg); font-size: 14.5px; padding: 12px 0; }
.signup input {
  width: min(300px, 100%);
  background: transparent;
  border: 1px solid #5a5851;
  border-radius: var(--pill);
  padding: 14px 20px;
  color: var(--bg);
  font-family: var(--body);
  font-size: 14px;
  outline: none;
}
.signup input::placeholder { color: #a09d94; }
.signup input:focus { border-color: #8f8c82; }
.signup .btn-light { padding: 13px 24px; }

/* ------------------------------------------------------------------ sections */

.section { padding: 84px 0 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.section-head p { max-width: 38ch; color: var(--muted); font-size: 15px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.step {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 30px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step .n {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.step h3 { font-size: 24px; letter-spacing: -0.03em; font-weight: 600; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin-top: 6px; }

/* ------------------------------------------------------------------ product grid */

.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pcard {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease), background 0.2s;
  position: relative;
}
.pcard:hover { transform: translateY(-2px); background: #e2e1d7; }
.pcard-art {
  background: #f8f8f7;
  border-radius: var(--r-sm);
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-top: 18px;
}
.pcard-art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.pcard-cat {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pcard h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 4px;
}
.pcard .size { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pcard-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.pcard-price { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.035em; }
.pcard-price small { display: block; font-family: var(--body); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

/* ------------------------------------------------------------------ page header */

.page-head { padding: 56px 0 36px; }
.page-head .crumbs { font-size: 12px; color: var(--muted); display: flex; gap: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.page-head h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin-top: 18px;
  max-width: 18ch;
}
.page-head p { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); max-width: 60ch; }

/* ------------------------------------------------------------------ catalog */

.catalog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0 26px;
  flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: var(--pill);
  padding: 9px 16px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.catalog-count { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.search-input {
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 9px 16px;
  font-family: var(--body);
  font-size: 13.5px;
  background: transparent;
  outline: none;
  min-width: 220px;
}
.search-input:focus { border-color: var(--ink); }

/* ------------------------------------------------------------------ product page */

.pdp {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
  padding: 10px 0 0;
}
.pdp-art {
  background: #f8f8f7;
  border-radius: var(--r-lg);
  aspect-ratio: 1 / 1.06;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px 30px 0;
  position: sticky;
  top: 106px;
}
.pdp-art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.pdp-cat { font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.pdp h1 { font-size: clamp(38px, 4.6vw, 62px); margin-top: 10px; }
.pdp .size { font-size: 18px; color: var(--muted); margin-top: 4px; }
.pdp-desc { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 50ch; }

.ladder { margin-top: 28px; border-top: 1px solid var(--ink); }
.ladder-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}
.ladder-row .q { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.ladder-row .d { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.ladder-row .p { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.04em; }
.ladder-row .p span { font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 400; }
.ladder-row .save { font-size: 11px; color: var(--muted); text-align: right; }

.buybox { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.buybox .note { font-size: 12px; color: var(--muted); }

.specs { margin-top: 34px; border-top: 1px solid var(--line); }
.specs .row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.specs .k { color: var(--muted); }
.specs .v { color: var(--ink); }

/* ------------------------------------------------------------------ tables */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.table td { padding: 15px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #f1f0ea; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .strong { font-weight: 600; }
.table-wrap { border-radius: var(--r-md); overflow: hidden; max-width: 1080px; }

/* ------------------------------------------------------------------ forms */

.form-card {
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 34px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  max-width: 100%;
  background: #f4f3ec;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 15px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  background: #fbfaf5;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--muted); }

/* ------------------------------------------------------------------ misc */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.split h2 { font-size: clamp(30px, 4vw, 50px); }
.checklist { display: grid; gap: 12px; margin-top: 22px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(-45deg);
}

.coa-card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 26px;
}
.coa-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.coa-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 13.5px;
}
.coa-row:last-child { border-bottom: 0; }
.coa-row span { color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  padding: 6px 12px;
  font-size: 11.5px;
  color: var(--ink-2);
}
.badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #4f7f63;
}

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 60px 24px 0; font-size: 14.5px; color: var(--ink-2); max-width: 74ch; }

/* ------------------------------------------------------------------ footer */

.site-footer { margin-top: 84px; border-top: 1px solid var(--line); padding: 54px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 46px;
}
.footer-logo { height: 46px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 34ch; margin-top: 14px; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ruo {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a887f;
}

/* ------------------------------------------------------------------ facility + stats */

.h1-vial { white-space: nowrap; }
.h1-logo {
  height: 0.64em;
  width: auto;
  display: inline-block;
  vertical-align: -0.03em;
  margin: 0 0.03em;
}

.facility-split { align-items: center; }
.facility-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--card);
}
.facility-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { background: var(--card); border-radius: var(--r-md); padding: 26px 24px; }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.fac-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.fac-item { border-radius: var(--r-md); overflow: hidden; background: var(--card); }
.fac-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fac-a { grid-column: span 7; aspect-ratio: 4 / 3; }
.fac-b { grid-column: span 5; aspect-ratio: 4 / 3; }
.fac-c { grid-column: span 4; aspect-ratio: 3 / 3.6; }
.fac-d { grid-column: span 8; aspect-ratio: 16 / 9; }
.fac-e { grid-column: span 6; aspect-ratio: 16 / 10; }
.fac-f { grid-column: span 6; aspect-ratio: 16 / 10; }

.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
.vid { position: relative; margin: 0; }
.vid-wide { grid-column: span 2; }
.vid video {
  width: 100%;
  display: block;
  border-radius: var(--r-md);
  background: #0e0d0c;
  object-fit: cover;
}
.vid-wide video { aspect-ratio: 16 / 9; }
.vid:not(.vid-wide) video { aspect-ratio: 4 / 3; }
.vid figcaption {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 30px; }
  .pdp-art { position: static; aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .nav-links { display: none; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px 22px;
    box-shadow: 0 18px 40px rgba(14, 13, 12, 0.08);
  }
  .nav-open .nav-links a { font-size: 17px; padding: 8px 0; }
  .navbar { position: relative; }
  .menu-btn { display: block; order: 3; }
  .navbar { height: 56px; padding: 0 8px 0 18px; gap: 10px; }
  .brand-logo { height: 26px; }
  .nav-cta { margin-left: auto; padding: 10px 16px; font-size: 12px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .hero-art { grid-template-columns: 1fr; margin-top: 28px; }
  .vial-stage { display: flex; order: 3; margin-top: 4px; }
  .vial-stage img { height: 230px; }
  .feature { aspect-ratio: auto; min-height: 0; margin-bottom: 10px; }
  .priceframe { margin-top: 10px; }
  .priceframe, .priceframe.four { grid-template-columns: 1fr; border-radius: 26px; padding: 10px; gap: 10px; }
  .pricecard { aspect-ratio: auto; padding: 24px 18px; }
  .pricecard { min-height: 0; padding: 22px 18px; gap: 16px; }
  .price-big b { font-size: 62px; }
  .media-band { height: 150px; }
  .signup { padding: 18px; }
  .signup input { width: 100%; }
  .signup .btn-light { width: 100%; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pcard-art { aspect-ratio: 1 / 0.95; }
  .section { padding-top: 56px; }
  .page-head { padding-top: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specs .row { grid-template-columns: 120px 1fr; gap: 12px; }
  .ladder-row { grid-template-columns: 1fr auto; }
  .ladder-row .save { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .fac-a, .fac-b, .fac-c, .fac-d, .fac-e, .fac-f { grid-column: span 12; aspect-ratio: 4 / 3; }
  .vid-grid { grid-template-columns: 1fr; }
  .vid-wide { grid-column: span 1; }
  .h1-logo { height: 0.6em; }
}

@media (max-width: 460px) {
  .price-big b { font-size: 54px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pcard { padding: 10px; gap: 8px; border-radius: 20px; }
  .pcard-art { aspect-ratio: 1 / 1; }
  .pcard h3 { font-size: 17px; }
  .pcard .size { font-size: 11px; }
  .pcard-price { font-size: 17px; }
  .pcard-foot .pill-link { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- cart */
.cart-link {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}
.cart-link:hover { color: var(--blue); }
.cart-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.cart-count[data-empty="true"] { background: var(--line-2); color: var(--muted); }

.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .btn { flex: 1; }
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  overflow: hidden;
  background: transparent;
}
.qty-btn {
  border: 0;
  background: transparent;
  width: 40px;
  height: 100%;
  min-height: 46px;
  font-size: 17px;
  cursor: pointer;
  color: var(--ink);
}
.qty-btn:hover { background: var(--card); }
.qty-input {
  width: 62px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-price { font-size: 13px; color: var(--muted); margin: 8px 0 10px; }

.cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.cart-empty {
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.cart-empty a { color: var(--ink); }
.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line-art {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--card);
  overflow: hidden;
}
.cart-line-art img { width: 100%; height: 100%; object-fit: contain; }
.cart-line h3 { font-size: 15px; margin: 0; }
.cart-line .size { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-line .unit { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cart-line .line-total { font-size: 15px; font-weight: 600; min-width: 74px; text-align: right; }
.cart-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 6px;
}
.cart-summary {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.cart-summary h2 { font-size: 20px; margin: 0 0 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 7px 0; }
.sum-row span { color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 12px; font-size: 16px; font-weight: 600; }
.sum-row.total span { color: var(--ink); }
.cart-summary .note { font-size: 12px; color: var(--muted); margin: 12px 0 14px; line-height: 1.6; }
.cart-summary .btn { width: 100%; }

.form-section {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-error {
  border: 1px solid #e2c4bb;
  background: #f7eae6;
  color: #8a3a1f;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  margin: 14px 0;
}
.form-error ul { margin: 6px 0 0; padding-left: 18px; }

.confirm-card {
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  padding: 30px;
  max-width: 640px;
}
.confirm-ok {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 5px 11px;
}
.confirm-card h2 { font-size: 34px; margin: 14px 0 6px; letter-spacing: -.03em; }
.confirm-card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.pay-box { background: var(--card); border-radius: 18px; padding: 18px; margin: 18px 0; }
.pay-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding: 6px 0; }
.pay-row span { color: var(--muted); }
.pay-row b { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; text-align: right; }
.copy-btn {
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  cursor: pointer;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-line { grid-template-columns: 56px minmax(0, 1fr); row-gap: 8px; }
  .cart-line-art { width: 56px; height: 56px; }
  .cart-line .line-total { grid-column: 2; text-align: left; }
  .cart-line .cart-qty { grid-column: 2; }
  .buy-row { flex-direction: column; }
  .cart-link { display: none; }
}

/* ---------------------------------------------------------- stock status */
.stock-flag {
  display: inline-block;
  margin-left: 8px;
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2c6e57;
  background: #eaf2ed;
  border: 1px solid #bcd2c6;
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: 1px;
}
.stock-flag.mto {
  color: #8a6320;
  background: #f6efe2;
  border-color: #e0c9a8;
}
.stock-line {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .02em;
  color: #2c6e57;
  background: #eaf2ed;
  border: 1px solid #bcd2c6;
  border-radius: 999px;
  padding: 5px 12px;
}
.stock-line.mto {
  color: #8a6320;
  background: #f6efe2;
  border-color: #e0c9a8;
}
.stock-toggle {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: var(--body);
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}
.stock-toggle.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
@media (max-width: 720px) {
  .stock-toggle { display: none; }
}
