body[data-research-gate]:not(.research-admitted) > :is(.announcement, .skip-link, header, main, footer) { visibility: hidden; }
body[data-research-gate]:not(.research-admitted) { background: #0d0e10; }
html:has(.research-gate[open], .cart-dialog[open]) { overflow: hidden; }
.research-gate {
  position: fixed; inset: 0; margin: auto; padding: 0; border: 1px solid #d8d8d5;
  width: min(850px, calc(100% - 36px)); max-width: none; max-height: calc(100dvh - 36px);
  color: #161716; background: #f8f8f6; border-radius: 20px; overflow: auto;
  box-shadow: 0 32px 100px #0006;
}
.research-gate[open] { display: grid; grid-template-columns: minmax(190px, .78fr) minmax(0, 1fr); }
.research-gate::backdrop { background: #0d0e10; }
.gate-identity {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 24px;
  border-right: 1px solid #353638;
  background: radial-gradient(ellipse at 18% 16%, #2e3237, #151719 75%);
  color: #f6f6f3;
}
.gate-content { padding: clamp(28px, 4.5vw, 64px); }
.gate-wordmark { display: grid; gap: 9px; }
.gate-wordmark-name { font: 700 clamp(42px, 6vw, 67px)/.9 var(--display); letter-spacing: -.066em; }
.gate-wordmark-field { font: 700 11px/1.1 var(--display); letter-spacing: .27em; text-transform: uppercase; }
.gate-content h1 { margin: 0; font: 500 clamp(36px, 4vw, 54px)/1 var(--display); letter-spacing: -.065em; }
.gate-content h1:focus { outline: none; }
.gate-content > p { margin: 14px 0 26px; color: #555651; font-size: 14px; line-height: 1.6; }
.gate-confirm {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  background: #efefec; border: 1px solid #dededa; border-radius: 12px; padding: 14px;
  font-size: 13px; line-height: 1.6; cursor: pointer; transition: border-color .24s, background .24s;
}
.gate-confirm:has(:checked) { border-color: #8e9188; background: #e9ebe5; }
.gate-confirm:has(:focus-visible) { outline: 2px solid #37607d; outline-offset: 2px; }
.gate-confirm input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #202120; }
.gate-actions { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.gate-actions .button { min-height: 46px; padding-inline: 17px; gap: 14px; font-size: 13px; }
.gate-actions .button:disabled { opacity: .43; cursor: default; }
.gate-actions a, .gate-policies a { color: #52544f; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.gate-policies { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 26px; }
.gate-fallback { color: white; margin: 3rem; line-height: 1.7; }
.gate-fallback a { text-decoration: underline; }
.desktop-nav a[aria-current], .mobile-menu a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
.footer-grid.storefront-footer { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer-grid.storefront-footer > div:last-child { grid-column: auto; }
.storefront-main { padding: clamp(56px, 8vw, 116px) 0 clamp(70px, 9vw, 128px); }
.storefront-heading { max-width: 750px; margin: 0 0 clamp(28px, 5vw, 62px); }
.storefront-heading h1 { font: 500 clamp(46px, 8vw, 100px)/.98 var(--display); letter-spacing: -.073em; margin: 0; }
.storefront-heading p, .record-intro { color: #565852; max-width: 52ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; margin: 18px 0 0; }
.collection-page .catalog { padding-top: clamp(55px, 8vw, 104px); }
.collection-page .section-center h1 { margin: 0; font: 500 clamp(48px, 7vw, 90px)/.98 var(--display); letter-spacing: -.065em; }
.product-image-trigger, .catalog-title { text-decoration: none; }

.header-main > .wordmark {
  grid-column: 2;
  text-align: center;
}
.header-main > .header-tools { grid-column: 3; }
:is(.wordmark, .footer-wordmark) > .site-brand-name {
  display: block;
  font: 700 clamp(23px, 2.2vw, 30px)/.92 var(--display);
  letter-spacing: -.045em;
}
.header-main > .wordmark > .site-brand-name { margin-inline: 0; }
:is(.wordmark, .footer-wordmark) > .site-brand-field {
  display: block;
  margin: 4px 0 0;
  font: 700 9px/1.1 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.header-main > .wordmark > .site-brand-field {
  letter-spacing: .34em;
  text-indent: .68em;
}
.product-identity { margin: 0; color: #52544f; font-size: 13px; line-height: 1.4; }

.vial-render.vial-photo { aspect-ratio: 1; }
.collection-page .product-card .product-visual {
  height: auto;
  aspect-ratio: 6 / 5;
  background: #e1dfe1;
}
.collection-page .product-card .product-visual::before,
.collection-page .product-card .product-visual::after { content: none; }
.collection-page .product-card .product-image-trigger .vial-photo {
  width: 100%;
  height: 100%;
  transform: none;
}
.collection-page .product-image-trigger .vial-photo img { object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .collection-page .product-image-trigger .vial-photo img { transition: transform .45s ease; }
  .collection-page .product-image-trigger:is(:hover, :focus-visible) .vial-photo img { transform: scale(1.025); }
}
.collection-page .product-card .product-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  align-content: start;
  align-items: stretch;
  gap: 10px;
}
.collection-page .product-card h3 { margin: 0; overflow-wrap: anywhere; }
.collection-page .product-card .product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 44px;
  min-height: 44px;
  padding: 0 11px;
  border-color: #cfd3cd;
  border-radius: 6px;
  background: transparent;
  color: #252624;
  font-size: 12px;
  font-weight: 700;
}
.collection-page .product-card .product-action span { font-size: 16px; font-weight: 400; }
.collection-page .product-card .product-action:hover { border-color: #929b93; background: #e8ebe6; }
.collection-page .product-card .product-action:focus-visible { outline: 2px solid #355e76; outline-offset: 2px; }
.cart-product-options { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 5px 8px; }
.cart-size-picker { display: grid; gap: 4px; font: 600 11px var(--body); color: #535b54; }
.cart-size-picker select {
  min-height: 44px;
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid #cbd1ca;
  border-radius: 6px;
  background: #fcfcfa;
  color: #202723;
  font: 600 13px var(--body);
}
.cart-single-size { color: #222b25; font-size: 13px; font-weight: 600; }
.cart-price { padding-bottom: 2px; color: #505a52; font-size: 12px; }
.cart-size-picker select:focus-visible { outline: 2px solid #355e76; outline-offset: 2px; }
@media (max-width: 600px) {
  .collection-page .product-card .product-visual { aspect-ratio: 1; }
  .collection-page .product-card .product-info { padding: 8px 7px 12px; gap: 7px; }
}
.record-back { display: inline-block; margin: 0 0 23px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.record-panel { border: 1px solid #dfdfda; border-radius: 17px; overflow: hidden; background: #fff; }
.record-panel .product-detail-art { min-height: 380px; }
.record-panel .product-detail-copy { padding: clamp(25px, 5vw, 68px); }
.record-panel h1 { font: 500 clamp(34px, 5vw, 69px)/1 var(--display); letter-spacing: -.06em; margin: 10px 0 0; overflow-wrap: anywhere; }
.record-panel .record-intro { color: #575951; font-size: 15px; }
.record-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.record-actions .button { min-height: 45px; }
.record-actions .button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.record-points { display: grid; grid-template-columns: minmax(0, 1fr); margin: 24px 0 0; }
.record-points div { padding: 12px 0; border-top: 1px solid #e3e3de; }
.record-points dt { color: #52544f; font-size: 12px; }
.record-points dd { color: #161716; margin: 3px 0 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.record-points a { text-decoration: underline; text-underline-offset: 3px; }
.lot-panel { padding: clamp(22px, 4vw, 46px); background: #efefeb; border: 1px solid #e0e0db; border-radius: 16px; }
.lot-panel h2, .storefront-block h2, .lot-record h3 { font: 500 clamp(26px, 4vw, 42px)/1.1 var(--display); letter-spacing: -.045em; margin: 0; }
.lot-form { margin-top: 22px; }
.lot-form label { display: block; margin-bottom: 7px; font-size: 13px; }
.lot-field { display: flex; gap: 9px; max-width: 540px; }
.lot-field input { min-width: 0; flex: 1 1 210px; min-height: 46px; padding: 0 13px; border: 1px solid #a8a9a1; border-radius: 8px; font: inherit; font-size: 16px; background: white; color: #171815; }
.lot-field button { min-height: 46px; white-space: nowrap; }
.lot-result, .storefront-block { margin-top: 22px; font-size: 15px; line-height: 1.65; color: #51544e; }
.storefront-block { margin-top: clamp(40px, 6vw, 78px); border-top: 1px solid #dfdfda; padding-top: clamp(25px, 4vw, 46px); scroll-margin-top: 110px; }
.storefront-block h2 { color: #171815; }
.storefront-block > p { max-width: 65ch; }
.storefront-block a, .lot-result a { text-decoration: underline; text-underline-offset: 3px; }
.storefront-block .button, .lot-result .button { text-decoration: none; }
.lot-record { margin-top: 24px; padding: clamp(18px, 4vw, 38px); background: #fafaf8; border: 1px solid #deded8; border-radius: 12px; }
.lot-record h4 { margin: 22px 0 6px; color: #181a17; font-size: 17px; }
.lot-measurements { margin: 0 0 20px; padding-left: 20px; }
.lot-measurements li { padding: 4px 0; overflow-wrap: anywhere; }
.storefront-main .standard-grid { margin-top: 20px; }
.storefront-main .faq-list { margin-top: 14px; max-width: 760px; }
.storefront-main .faq-list summary { font-size: 15px; }
.storefront-main .faq-list details p { font-size: 14px; }
.cart-dialog { border-left: 1px solid #d9ded7; background: #f8f9f6; }
.cart-dialog .cart-head { flex: none; padding-bottom: 16px; }
.cart-dialog .dialog-close { border-radius: 6px; }
.cart-dialog .cart-head h2 { margin: 0; font-weight: 500; letter-spacing: -.06em; }
.cart-head h2 [data-cart-title-count] {
  display: inline-grid;
  min-width: 27px;
  min-height: 27px;
  place-items: center;
  margin-left: 3px;
  padding-inline: 5px;
  border-radius: 6px;
  background: #e5e8e2;
  color: #364038;
  font: 700 12px var(--body);
  vertical-align: middle;
}
.bag-trigger .bag-count { width: auto; min-width: 15px; padding-inline: 3px; font-variant-numeric: tabular-nums; }
.bag-trigger .bag-count[hidden] { display: none; }
.cart-message { flex: none; margin: 10px 0 0; color: #48544a; font-size: 13px; }
.cart-message:empty { margin: 0; }
.cart-dialog .cart-items { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.cart-line {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #dde0d9;
}
.cart-line-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 7px;
  background: #e1dfe1;
}
.cart-line-image .vial-photo { width: 100%; height: 100%; }
.cart-line-name { font: 700 17px/1.14 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.cart-line-name:hover, .cart-remove { text-decoration: underline; text-underline-offset: 3px; }
.cart-line-copy p { margin: 3px 0 0; color: #555e56; font-size: 12px; }
.cart-line-copy .cart-line-size { display: flex; gap: 8px; color: #242e27; font-weight: 700; }
.cart-line-size span { color: #59645b; font-weight: 500; }
.cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin-top: 8px; }
.cart-remove { min-height: 44px; padding: 0 3px; border: 0; background: transparent; color: #505a51; font: 500 12px var(--body); cursor: pointer; }
.commerce-quantity { display: grid; grid-template-columns: 44px minmax(46px, 56px) 44px; border: 1px solid #c8ccc7; border-radius: 6px; background: #fff; }
.commerce-quantity :is(button, input, span) {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #272d29;
  font: 600 15px var(--body);
  text-align: center;
}
.commerce-quantity span { display: grid; place-items: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.commerce-quantity button:not(:disabled):hover { background: #eaece8; }
.commerce-quantity button:disabled { color: #737973; cursor: default; }
.commerce-quantity input { width: 100%; padding-inline: 2px; appearance: textfield; }
.commerce-quantity input::-webkit-inner-spin-button, .commerce-quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.cart-dialog :is(a, button):focus-visible { outline: 2px solid #37607d; outline-offset: 2px; }
.cart-dialog .cart-footer { flex: none; padding-top: 14px; border-top: 1px solid #dde0d9; }
.cart-subtotal { display: flex; justify-content: space-between; margin: 0 0 12px; color: #323b34; font-size: 14px; }
.cart-footer .button { width: 100%; }
.cart-footer .button + .button { margin-top: 6px; }
.cart-empty .button { min-height: 44px; }
.storefront-main :is([id], details) { scroll-margin-top: 110px; }
@media (max-width: 700px) {
  .research-gate[open] { grid-template-columns: minmax(0, 1fr); }
  .gate-identity { justify-items: start; min-height: 102px; border-right: 0; }
  .gate-wordmark { gap: 7px; }
  .gate-wordmark-name { font-size: 40px; }
  .gate-wordmark-field { font-size: 9px; }
  .gate-content > p { margin-bottom: 15px; }
  .gate-policies { margin-top: 17px; }
  .footer-grid.storefront-footer { grid-template-columns: 1fr 1fr; }
  .record-panel .product-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .record-panel .product-detail-art { min-height: 290px; }
}
@media (max-width: 360px) {
  .gate-content { padding: 20px; }
  .lot-field { flex-wrap: wrap; }
}
