/* Shared motion, interaction, navigation and campaign system for KEEL. */
:root {
  --keel-chrome-height: 116px;
  --keel-motion: cubic-bezier(.22, 1, .36, 1);
  --keel-aqua: #c8dedb;
}

html {
  scrollbar-gutter: stable;
  scroll-padding-top: calc(var(--keel-chrome-height) + 24px);
}

body {
  min-height: 100vh;
  padding-top: var(--keel-chrome-height);
}

.sticky-site-chrome {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 400;
  height: var(--keel-chrome-height);
  isolation: isolate;
  transition: box-shadow 260ms ease;
}

.sticky-site-chrome::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(244, 242, 239, .08);
  box-shadow: 0 0 0 rgba(3, 18, 29, 0);
  transition: box-shadow 260ms ease;
}

.sticky-site-chrome.is-scrolled::after {
  box-shadow: 0 14px 30px rgba(3, 18, 29, .18);
}

.sticky-site-chrome .site-header {
  position: relative !important;
  top: auto !important;
  height: 86px;
}

.announcement-bar {
  height: 30px;
  overflow: hidden;
  background: var(--keel-navy-deep);
  color: var(--keel-sand);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 30px;
  text-transform: uppercase;
}

.announcement-track {
  display: flex;
  width: max-content;
  animation: keel-marquee 36s linear infinite;
}

.announcement-bar:hover .announcement-track,
.announcement-bar:focus-within .announcement-track {
  animation-play-state: paused;
}

.announcement-track > div {
  display: flex;
  flex: none;
  align-items: center;
  white-space: nowrap;
}

.announcement-track span {
  display: inline-block;
}

.announcement-promo {
  color: #fff;
  font-weight: 800;
}

.announcement-info {
  color: rgba(244, 242, 239, .78);
  font-weight: 500;
}

.announcement-divider {
  margin-inline: 24px;
  color: var(--keel-aqua);
  font-size: 8px;
}

@keyframes keel-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

.header-cart-button {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(11, 37, 58, .24);
  border-radius: 999px;
  background: transparent;
  color: var(--keel-navy);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color 240ms ease, background-color 240ms ease, border-color 240ms ease;
}

.header-cart-button:hover {
  border-color: var(--keel-navy);
  background: var(--keel-navy);
  color: var(--keel-sand);
}

.button,
.filter-row button,
.variant,
.cart-remove,
.header-cart-button {
  cursor: pointer;
  transition:
    transform 260ms var(--keel-motion),
    color 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    opacity 260ms ease !important;
}

.button:active,
.filter-row button:active,
.variant:active,
.header-cart-button:active {
  transform: translateY(1px) !important;
}

.button:disabled,
.filter-row button:disabled,
.variant:disabled {
  cursor: not-allowed;
  opacity: .48;
}

/* Full-bleed promotional video with a marine contrast gradient. */
.home-page .keel-video-hero {
  position: relative;
  isolation: isolate;
  display: flex !important;
  min-height: clamp(600px, 70vh, 820px) !important;
  margin-top: 28px;
  padding: clamp(48px, 7vw, 104px) !important;
  align-items: center;
  overflow: hidden !important;
  border: 1px solid rgba(11, 37, 58, .18);
  border-radius: var(--keel-radius);
  background: var(--keel-navy);
  clip-path: inset(0 round var(--keel-radius));
  contain: paint;
}

.keel-video-media,
.keel-video-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.keel-video-media {
  z-index: -2;
  clip-path: inset(0);
}

.keel-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 801px) {
  .keel-hero-video {
    transform: translate3d(11%, 0, 0) scale(1.22);
    transform-origin: center center;
  }
}

.keel-video-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 23, 37, .93) 0%, rgba(4, 28, 44, .83) 30%, rgba(5, 34, 53, .32) 58%, rgba(5, 34, 53, .04) 100%),
    linear-gradient(0deg, rgba(4, 22, 35, .2), transparent 42%);
}

.home-page .keel-video-hero .hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, 58%);
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.home-page .home-hero.keel-video-hero .hero-content .eyebrow,
body.home-page .home-hero.keel-video-hero .hero-content h1,
body.home-page .home-hero.keel-video-hero .hero-content h1 .hero-line,
body.home-page .home-hero.keel-video-hero .hero-content p {
  color: var(--keel-sand) !important;
}

.home-page .keel-video-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 7.2vw, 110px);
}

.home-page .keel-video-hero p {
  max-width: 590px;
  margin: 0 0 8px;
  color: rgba(244, 242, 239, .84) !important;
}

.home-page .keel-video-hero .button {
  margin-top: 24px;
  border-color: #1a4e70 !important;
  background: #174563 !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(3, 20, 34, .24);
}

.home-page .keel-video-hero .button:hover {
  border-color: #27678d !important;
  background: #215d82 !important;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(3, 20, 34, .3);
}

/* Purity feature: full-bleed supplied product image and matched CTAs. */
.home-page .bogo-placeholder img[src*="purity-vials"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
}

.home-page .bogo-copy .button-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
}

.home-page .bogo-copy .button-row .button {
  display: inline-flex !important;
  width: 172px !important;
  min-width: 172px !important;
  min-height: 54px !important;
  margin-top: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 16px !important;
}

.home-page .bogo-copy .button-row .button.primary:hover {
  border-color: #215d82 !important;
  background: #215d82 !important;
  color: #fff !important;
}

.home-page .bogo-copy .button-row .button.secondary:hover {
  border-color: var(--keel-navy) !important;
  background: var(--keel-navy) !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .home-page .bogo-copy .button-row {
    flex-direction: column !important;
  }

  .home-page .bogo-copy .button-row .button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Editorial Top Sellers cards with explicit, readable product specifications. */
.home-page .top-sellers .section-heading > p {
  color: rgba(11, 37, 58, .72) !important;
}

.home-page .top-seller-grid {
  gap: clamp(18px, 1.8vw, 26px) !important;
}

.home-page .top-seller-grid .mini-product-card {
  position: relative;
  display: grid !important;
  grid-template-rows: 272px 1fr !important;
  min-height: 650px !important;
  overflow: hidden !important;
  border: 1px solid rgba(11, 37, 58, .16) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(7, 32, 50, .08) !important;
  color: var(--keel-navy) !important;
}

.home-page .top-seller-grid .mini-product-card::before {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  color: rgba(11, 37, 58, .38);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.home-page .top-seller-grid .mini-product-card:nth-child(1)::before { content: "01"; }
.home-page .top-seller-grid .mini-product-card:nth-child(2)::before { content: "02"; }
.home-page .top-seller-grid .mini-product-card:nth-child(3)::before { content: "03"; }
.home-page .top-seller-grid .mini-product-card:nth-child(4)::before { content: "04"; }

.home-page .top-seller-grid .mini-product-card .product-card-media-link {
  position: relative;
  height: 272px !important;
  min-height: 272px !important;
  border-bottom: 1px solid rgba(11, 37, 58, .1);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .98) 0 20%, rgba(241, 238, 232, .96) 58%, #ded8cf 100%) !important;
}

.home-page .top-seller-grid .mini-product-card:nth-child(2) .product-card-media-link {
  background:
    radial-gradient(circle at 50% 38%, #f7fbfb 0 20%, #e5efef 58%, #cbdcdd 100%) !important;
}

.home-page .top-seller-grid .mini-product-card:nth-child(3) .product-card-media-link {
  background:
    radial-gradient(circle at 50% 38%, #fbfaf6 0 20%, #eeeee7 58%, #d9d9ce 100%) !important;
}

.home-page .top-seller-grid .mini-product-card:nth-child(4) .product-card-media-link {
  background:
    radial-gradient(circle at 50% 38%, #faf9f6 0 20%, #ece8e1 58%, #d5cec4 100%) !important;
}

.home-page .top-seller-grid .mini-product-card .product-card-media-link::after {
  content: "";
  position: absolute;
  right: 17%;
  bottom: 20px;
  left: 17%;
  height: 22px;
  border-radius: 50%;
  background: rgba(7, 32, 50, .13);
  filter: blur(14px);
}

.home-page .top-seller-grid .mini-product-card .product-card-media-link img {
  position: relative;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 28px 24px 22px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 16px 14px rgba(7, 32, 50, .16)) !important;
}

.home-page .top-seller-grid .mini-product-card > div {
  display: flex !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 24px !important;
  flex-direction: column !important;
}

.home-page .top-seller-grid .mini-product-card > div > span:first-child {
  color: #667b6f !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .13em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

.home-page .top-seller-grid .mini-product-card h3 {
  margin: 12px 0 0 !important;
  color: var(--keel-navy) !important;
  font-size: clamp(25px, 2vw, 31px) !important;
  line-height: 1.04 !important;
}

.home-page .top-seller-grid .mini-product-card p {
  min-height: 3.3em;
  margin: 14px 0 18px !important;
  color: #40566a !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  opacity: 1 !important;
}

.home-page .top-seller-grid .mini-product-card .product-dose {
  display: flex;
  min-height: 54px;
  margin: 18px 0 16px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(11, 37, 58, .14);
  border-radius: 10px;
  background: #f3f6f4;
  color: var(--keel-navy);
}

.home-page .top-seller-grid .mini-product-card .product-dose span {
  color: #667b6f !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-page .top-seller-grid .mini-product-card .product-dose strong {
  flex: 1 1 auto;
  margin: 0 !important;
  color: var(--keel-navy) !important;
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.home-page .top-seller-grid .mini-product-card > div > strong {
  margin-top: 0 !important;
  color: var(--keel-navy) !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.home-page .top-seller-grid .mini-product-card .product-promo-label {
  margin: 12px 0 14px !important;
  border-color: rgba(11, 37, 58, .16) !important;
  background: #e9f1f0 !important;
  color: var(--keel-navy) !important;
}

.home-page .top-seller-grid .mini-product-card .button {
  min-height: 50px;
  border-radius: 8px !important;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .top-seller-grid .mini-product-card:hover {
    border-color: rgba(11, 37, 58, .34) !important;
    box-shadow: 0 24px 50px rgba(7, 32, 50, .14) !important;
    transform: translate3d(0, -7px, 0);
  }

  .home-page .top-seller-grid .mini-product-card:hover .button {
    border-color: #215d82 !important;
    background: #215d82 !important;
  }
}

@media (max-width: 1100px) {
  .home-page .top-seller-grid .mini-product-card {
    min-height: 620px !important;
  }
}

@media (max-width: 800px) {
  .home-page .top-seller-grid .mini-product-card {
    grid-template-rows: 250px 1fr !important;
    min-height: 0 !important;
  }

  .home-page .top-seller-grid .mini-product-card .product-card-media-link {
    height: 250px !important;
    min-height: 250px !important;
  }
}

/* Open the Catalog: supplied yacht-deck image shown at its original color. */
.home-page .catalog-cta {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  border: 0 !important;
  background: url("../assets/keel/campaign/catalog-deck.jpeg") center 58% / cover no-repeat !important;
  color: #fff !important;
  box-shadow: 0 20px 48px rgba(7, 32, 50, .14) !important;
}

.home-page .catalog-cta .catalog-cta-card,
.home-page .catalog-cta .catalog-cta-card.texture-teal {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

.home-page .catalog-cta .catalog-cta-card h2,
.home-page .catalog-cta .catalog-cta-card p {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 2px 12px rgba(4, 23, 37, .58);
}

.home-page .catalog-cta .catalog-cta-card p {
  color: rgba(255, 255, 255, .88) !important;
}

.home-page .catalog-cta .catalog-cta-card .button,
.home-page .catalog-cta .catalog-cta-card .button.dark {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--keel-navy) !important;
  box-shadow: 0 10px 28px rgba(4, 23, 37, .22);
}

.home-page .catalog-cta .catalog-cta-card .button:hover,
.home-page .catalog-cta .catalog-cta-card .button.dark:hover {
  border-color: var(--keel-aqua) !important;
  background: var(--keel-aqua) !important;
  color: var(--keel-navy-deep) !important;
}

@media (max-width: 800px) {
  .home-page .catalog-cta {
    background: url("../assets/keel/campaign/catalog-deck.jpeg") center / cover no-repeat !important;
  }
}

/* Progressive reveal: content remains visible until JS enables the system. */
.reveal-enhanced .reveal-item {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 680ms var(--keel-motion) var(--reveal-delay, 0ms),
    filter 680ms var(--keel-motion) var(--reveal-delay, 0ms),
    transform 680ms var(--keel-motion) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-enhanced.reveal-preparing .reveal-item {
  transition: none !important;
}

.reveal-enhanced .reveal-item.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

.route-ready body {
  animation: keel-route-in 240ms ease-out both;
}

.route-ready .sticky-site-chrome {
  animation: keel-header-in 320ms var(--keel-motion) both;
}

.desktop-nav a,
.utility-nav a,
.mobile-menu a {
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 220ms var(--keel-motion) !important;
}

.desktop-nav a:hover,
.utility-nav a:hover,
.mobile-menu a:hover {
  transform: translate3d(0, -1px, 0);
}

.desktop-nav a.is-route-target,
.utility-nav a.is-route-target,
.mobile-menu a.is-route-target {
  color: var(--keel-aqua) !important;
  opacity: 1 !important;
  transform: translate3d(0, 1px, 0);
}

@keyframes keel-route-in {
  from { opacity: .94; }
  to { opacity: 1; }
}

@keyframes keel-header-in {
  from { opacity: .9; transform: translate3d(0, -5px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Shared card geometry and restrained image motion. */
.product-card,
.mini-product-card,
.featured-compact-card,
.strip-product-card,
.embedded-product-card,
.journal-card,
.collection-card,
.why-keel-card {
  transition:
    transform 430ms var(--keel-motion),
    border-color 430ms ease,
    background-color 430ms ease !important;
}

.product-card-link,
.mini-product-card,
.featured-compact-card,
.strip-product-card,
.embedded-product-card {
  height: 100%;
}

.product-card .product-copy,
.mini-product-card > div,
.featured-compact-card > div,
.strip-product-card > div,
.embedded-product-card > div {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.product-card .product-copy > small,
.mini-product-card .button,
.featured-compact-card .button,
.strip-product-card .button,
.embedded-product-card .button {
  margin-top: auto !important;
}

.catalog-page .product-card .product-copy > small {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--keel-navy);
  border-radius: 8px;
  background: var(--keel-navy);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--keel-motion);
}

.catalog-page .product-card-link:hover .product-copy > small,
.catalog-page .product-card-link:focus-visible .product-copy > small {
  border-color: var(--keel-aqua);
  background: var(--keel-aqua);
  color: var(--keel-navy-deep) !important;
  transform: translateY(-1px);
}

.product-card-media-link {
  display: block;
  width: 100%;
  min-height: 250px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--keel-seashell));
}

.mini-product-card > .product-card-media-link {
  height: 250px;
  grid-row: 1;
}

.product-card-media-link img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 18px;
  object-fit: contain;
  object-position: center;
}

.product-card-media-link img,
.product-card .product-image img,
.journal-card-image img {
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 460ms var(--keel-motion) !important;
}

.product-promo-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 12px 0;
  padding: 7px 10px;
  border: 1px solid rgba(11, 37, 58, .22);
  border-radius: 999px;
  background: rgba(200, 222, 219, .48);
  color: var(--keel-navy);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.detail-promo-label {
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  margin: 10px 0 20px;
  padding: 5px 9px;
  align-items: center;
  border-color: var(--keel-navy);
  border-radius: 999px;
  background: var(--keel-aqua);
  font-size: 6px;
  letter-spacing: .065em;
  line-height: 1.15;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .detail-promo-label {
    font-size: 5.5px;
    white-space: normal;
  }
}

.collection-card .collection-icon,
.collection-card .collection-number {
  transition: transform 380ms var(--keel-motion);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .mini-product-card:hover,
  .featured-compact-card:hover,
  .strip-product-card:hover,
  .embedded-product-card:hover,
  .journal-card:hover,
  .collection-card:hover,
  .why-keel-card:hover {
    border-color: rgba(11, 37, 58, .42) !important;
    transform: translate3d(0, -4px, 0);
  }

  .product-card:hover .product-image img,
  .mini-product-card:hover .product-card-media-link img,
  .featured-compact-card:hover .product-card-media-link img,
  .strip-product-card:hover .product-card-media-link img,
  .embedded-product-card:hover .product-card-media-link img {
    transform: translate3d(0, 0, 0) scale(1.075) !important;
  }

  .journal-card:hover .journal-card-image img {
    transform: translate3d(0, 0, 0) scale(1.07) !important;
  }

  .collection-card:hover .collection-icon,
  .collection-card:hover .collection-number {
    transform: translate3d(4px, -3px, 0);
  }
}

/* Why Choose KEEL */
.why-keel {
  padding-block: clamp(86px, 9vw, 138px) clamp(54px, 6vw, 84px);
}

.why-keel-header {
  display: grid;
  max-width: 800px;
  margin: 0 auto clamp(42px, 5vw, 68px);
  justify-items: center;
  text-align: center;
}

.why-keel-header h2 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .94;
}

.why-keel-header p {
  max-width: 690px;
  margin: 0;
}

.why-keel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2vw, 30px);
}

.why-keel-card {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 239, .28);
  border-radius: 20px;
  background: var(--keel-navy);
  color: var(--keel-sand);
}

.why-keel-card-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.why-keel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 500ms var(--keel-motion);
}

.why-keel-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 18, 29, .03) 18%, rgba(3, 22, 35, .88) 100%);
  content: "";
}

.why-keel-card-content {
  display: flex;
  min-height: 480px;
  padding: 34px;
  flex-direction: column;
  justify-content: flex-end;
}

.why-keel-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(244, 242, 239, .64);
  border-radius: 14px;
  background: rgba(11, 37, 58, .28);
  color: var(--keel-sand);
  font-size: 21px;
  transition: transform 380ms var(--keel-motion), background-color 320ms ease;
}

.why-keel-card h3 {
  margin: 0 0 16px;
  color: var(--keel-sand);
  font-size: clamp(28px, 2.4vw, 38px);
}

.why-keel-card p {
  min-height: 6.2em;
  margin: 0;
  color: rgba(244, 242, 239, .86);
  font-size: 15px;
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .why-keel-card:hover .why-keel-card-media img { transform: scale(1.065); }
  .why-keel-card:hover .why-keel-icon {
    background: rgba(200, 222, 219, .22);
    transform: translate3d(0, -3px, 0);
  }
}

.research-guesswork {
  padding-bottom: clamp(96px, 10vw, 150px);
}

.research-guesswork-panel {
  display: flex;
  min-height: 480px;
  padding: clamp(54px, 8vw, 112px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 58, .24);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(5, 28, 44, .88), rgba(5, 35, 55, .45) 55%, rgba(5, 35, 55, .18)),
    url("../assets/keel/campaign/research-without-guesswork.jpeg") center / cover no-repeat;
  color: var(--keel-sand);
  text-align: center;
  transition: transform 460ms var(--keel-motion), border-color 380ms ease;
}

.research-guesswork-panel .eyebrow,
.research-guesswork-panel h2,
.research-guesswork-panel p {
  color: var(--keel-sand) !important;
}

.research-guesswork-panel h2 {
  max-width: 980px;
  margin: 0 0 24px;
  font-size: clamp(50px, 6.5vw, 96px);
  line-height: .92;
}

.research-guesswork-panel p {
  max-width: 780px;
  margin: 0 0 34px;
  color: rgba(244, 242, 239, .82) !important;
}

.research-guesswork-panel .button {
  border-color: var(--keel-sand);
  background: var(--keel-sand);
  color: var(--keel-navy);
}

@media (hover: hover) and (pointer: fine) {
  .research-guesswork-panel:hover {
    border-color: var(--keel-aqua);
    transform: scale(1.007);
  }
}

/* Product detail controls and lightbox. */
.product-detail-quantity {
  display: flex;
  margin: 20px 0;
  align-items: center;
  justify-content: space-between;
  color: var(--keel-navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.quantity-control {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(11, 37, 58, .22);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-control button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--keel-navy);
  cursor: pointer;
}

.quantity-control button:hover { background: var(--keel-aqua); }
.quantity-control span,
.quantity-control strong { min-width: 28px; text-align: center; }

.detail-image [data-product-image] {
  cursor: zoom-in;
  transition: transform 460ms var(--keel-motion);
}

.detail-image [data-product-image]:hover { transform: scale(1.035); }

.product-lightbox {
  position: fixed;
  z-index: 600;
  inset: 0;
  display: grid;
  padding: 32px;
  place-items: center;
  visibility: hidden;
  background: rgba(4, 20, 32, .88);
  opacity: 0;
  transition: opacity 240ms ease, visibility 240ms ease;
}

.product-lightbox.is-open { visibility: visible; opacity: 1; }
.product-lightbox img {
  max-width: min(880px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.product-lightbox button,
.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 26px;
}

.product-lightbox button {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--keel-sand);
}

/* Cart drawer and promotion state. */
.overlay-open { overflow: hidden; }

.cart-drawer {
  position: fixed;
  z-index: 500;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 29, .58);
  opacity: 0;
  transition: opacity 300ms ease;
}

.cart-drawer.is-open .cart-drawer-backdrop { opacity: 1; }

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(540px, 100%);
  height: 100%;
  background: var(--keel-sand);
  color: var(--keel-navy);
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  transition: transform 420ms var(--keel-motion);
}

.cart-drawer.is-open .cart-drawer-panel { transform: translate3d(0, 0, 0); }

.cart-drawer-panel > header,
.cart-drawer-panel > footer {
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 37, 58, .14);
}

.cart-drawer-panel > footer {
  display: block;
  margin-top: auto;
  background: #fff;
  border-top: 1px solid rgba(11, 37, 58, .14);
  border-bottom: 0;
}

.cart-drawer-panel h2 { margin: 0; font-size: 34px; }
.cart-drawer-panel .eyebrow { margin-bottom: 5px; }
.mini-cart-items {
  flex: 0 1 auto;
  max-height: 42vh;
  padding: 14px 24px 0;
  overflow: auto;
}

.cart-item {
  display: grid;
  padding: 14px;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(11, 37, 58, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 30px rgba(11, 37, 58, .06);
}

.cart-item-image {
  display: grid;
  width: 92px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 58, .08);
  border-radius: 10px;
  background: linear-gradient(145deg, #eef5f3, #dce9e6);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
}
.cart-item-copy h2 { margin: 3px 0; font-size: 18px; }
.cart-item-copy p,
.cart-item-copy span { margin: 0; font-size: 12px; }
.cart-item .quantity-control { grid-column: 2; justify-self: start; }
.cart-item > strong { grid-column: 3; grid-row: 1; }
.cart-item .cart-remove { grid-column: 3; grid-row: 2; justify-self: end; }

.cart-item.is-bogo-free {
  border-color: rgba(47, 103, 82, .42);
  box-shadow: 0 10px 30px rgba(47, 103, 82, .1);
}

.cart-free-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 8px !important;
  padding: 5px 8px;
  align-items: center;
  border: 1px solid rgba(47, 103, 82, .28);
  border-radius: 999px;
  background: #e4f0e8;
  color: #244c3d;
  font-family: var(--font-display);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.drawer-promo-block,
.cart-bogo-status {
  display: grid;
  flex: 0 0 auto;
  gap: 11px;
  margin: 14px 24px 0;
  padding: 18px;
  border: 1px solid rgba(11, 37, 58, .14);
  border-radius: 14px;
  background: linear-gradient(135deg, #d7ece8, var(--keel-aqua));
  color: var(--keel-navy);
}

.cart-summary > .cart-bogo-status {
  display: grid;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid rgba(11, 37, 58, .14);
}

.bogo-status-copy {
  display: grid;
  gap: 4px;
}

.bogo-status-copy strong { font-size: 16px; }

.bogo-status-copy span,
.drawer-promo-block small,
.cart-bogo-status small {
  font-size: 12px;
  line-height: 1.45;
}

.bogo-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bogo-progress-row strong { font-size: 11px; }

.bogo-progress {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 58, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
}

.bogo-progress > span {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: var(--keel-navy);
  transition: width 320ms var(--keel-motion);
}

.bogo-selector {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding-top: 13px;
  border-top: 1px solid rgba(11, 37, 58, .16);
}

.bogo-selector-heading {
  display: grid;
  gap: 3px;
}

.bogo-selector-heading strong {
  color: var(--keel-navy);
  font-size: 14px;
}

.bogo-selector-heading span {
  color: rgba(11, 37, 58, .68);
  font-size: 11px;
  line-height: 1.4;
}

.bogo-choice-field {
  display: grid;
  gap: 6px;
}

.bogo-choice-field > span {
  color: rgba(11, 37, 58, .72);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bogo-choice-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(11, 37, 58, .28);
  border-radius: 9px;
  background: #fff;
  color: var(--keel-navy);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
}

.bogo-choice-field select:hover {
  border-color: var(--keel-navy);
}

.bogo-choice-field select:focus-visible {
  outline: 3px solid rgba(11, 37, 58, .2);
  outline-offset: 2px;
}

.cart-drawer-subtotal {
  display: flex;
  margin-bottom: 16px;
  justify-content: space-between;
  font-size: 18px;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cart-drawer-actions .checkout-button {
  grid-column: 1 / -1;
  background: var(--keel-navy-deep);
  color: var(--keel-sand);
}

.cart-drawer-actions .button {
  min-height: 50px;
  border: 1px solid var(--keel-navy) !important;
  opacity: 1 !important;
}

.cart-drawer-actions .button.primary,
.cart-drawer-actions .checkout-button {
  background: var(--keel-navy) !important;
  color: #fff !important;
}

.cart-drawer-actions .button.secondary {
  background: #fff !important;
  color: var(--keel-navy) !important;
}

.cart-drawer-actions .button:hover {
  border-color: var(--keel-kelp) !important;
  background: var(--keel-kelp) !important;
  color: var(--keel-navy-deep) !important;
}

/* Checkout page: promotion-aware order review. */
.cart-page main {
  background:
    radial-gradient(circle at 82% 10%, rgba(200, 222, 219, .24), transparent 28%),
    var(--keel-seashell);
}

.cart-page .page-hero {
  width: var(--shell);
  min-height: 270px;
  margin-inline: auto;
  padding: 58px 0 30px !important;
}

.cart-page .page-hero > .eyebrow { display: none; }

.cart-page .page-hero h1 {
  margin: 0;
  font-size: clamp(58px, 6vw, 90px);
  line-height: .95;
}

.cart-page .cart-layout {
  width: var(--shell);
  margin-inline: auto;
  padding: 0 0 120px;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 28px;
  align-items: start;
}

.cart-page .cart-items {
  display: block;
  min-height: 330px;
  padding: 22px;
  border: 1px solid rgba(11, 37, 58, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 55px rgba(11, 37, 58, .05);
}

.cart-page main .cart-item {
  padding: 18px;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  border: 1px solid rgba(11, 37, 58, .11);
  background: #fff;
  box-shadow: none;
}

.cart-page main .cart-item-image {
  width: 104px;
}

.cart-page main .cart-item-copy h2 {
  font-size: 22px;
}

.cart-page .cart-summary {
  position: sticky;
  top: 128px;
  padding: 26px;
  border: 1px solid rgba(11, 37, 58, .13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(11, 37, 58, .08);
}

.checkout-summary-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(11, 37, 58, .12);
}

.checkout-summary-heading h2 {
  margin: 8px 0 0;
  font-size: 34px;
}

.cart-page .cart-summary > .cart-bogo-status {
  box-sizing: border-box;
  width: 100%;
  margin: 22px 0 12px;
  padding: 20px;
  border: 1px solid rgba(11, 37, 58, .14);
  border-radius: 14px;
}

.cart-page .cart-bogo-status > .bogo-progress,
.cart-page .cart-bogo-status > .free-vial-picker-button {
  width: 100%;
  box-sizing: border-box;
}

.button.secondary.bogo-add-button {
  width: 100%;
  min-height: 50px;
  border-color: var(--keel-navy) !important;
  background: var(--keel-navy) !important;
  color: #fff !important;
}

.bogo-add-button[hidden] { display: none !important; }

.button.secondary.bogo-add-button:hover {
  border-color: var(--keel-kelp) !important;
  background: var(--keel-kelp) !important;
  color: var(--keel-navy-deep) !important;
}

.cart-page .cart-summary > .bogo-applied-notice {
  display: flex;
  min-height: 50px;
  margin: 0;
  padding: 12px 16px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(55, 98, 82, .3);
  border-radius: 12px;
  background: #e4f0e8;
  color: #244c3d;
  font-size: 13px;
}

.cart-page .cart-summary > .bogo-applied-notice[hidden] { display: none; }

.bogo-applied-notice > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #2f6752;
  color: #fff;
}

.bogo-applied-notice > strong {
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
}

.cart-page .cart-summary > .checkout-totals {
  display: grid;
  width: 100%;
  gap: 0;
  margin-top: 22px;
  margin-bottom: 0;
  padding: 0;
  justify-content: stretch;
  border-top: 1px solid rgba(11, 37, 58, .13);
  border-bottom: 0;
}

.checkout-totals > div {
  display: flex;
  padding: 14px 0;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 37, 58, .1);
}

.checkout-totals span {
  color: rgba(11, 37, 58, .72);
  font-size: 14px;
}

.checkout-totals strong {
  color: var(--keel-navy);
  font-size: 16px;
}

.checkout-totals .checkout-discount strong {
  color: #2f6752;
}

.checkout-totals .checkout-total {
  padding-block: 18px;
  border-bottom: 0;
}

.checkout-totals .checkout-total span,
.checkout-totals .checkout-total strong {
  color: var(--keel-navy);
  font-size: 20px;
  font-weight: 700;
}

.checkout-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 4px !important;
  border-color: var(--keel-navy) !important;
  background: var(--keel-navy) !important;
  color: #fff !important;
}

.checkout-submit:hover {
  border-color: var(--keel-kelp) !important;
  background: var(--keel-kelp) !important;
  color: var(--keel-navy-deep) !important;
}

.checkout-note {
  margin: 14px 0 0 !important;
  color: rgba(11, 37, 58, .58);
  font-size: 11px !important;
  line-height: 1.55;
}

/* Unified page-leading rhythm. */
.catalog-hero,
.journal-hero,
.manifesto-hero,
.page-hero {
  padding-top: clamp(72px, 8vw, 118px) !important;
}

/* Shared editorial hero layout for Catalog, Manifesto and Journal. */
.catalog-hero,
.journal-hero,
.manifesto-hero {
  position: relative;
  display: grid !important;
  width: var(--shell) !important;
  min-height: 540px !important;
  margin-inline: auto !important;
  padding: clamp(92px, 8vw, 118px) 0 40px !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr) !important;
  grid-template-rows: 1fr auto !important;
  column-gap: clamp(56px, 7vw, 104px) !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  text-align: left !important;
}

.catalog-hero > div,
.journal-hero > div,
.manifesto-hero > div {
  min-width: 0;
  align-self: center !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.catalog-hero > p,
.journal-hero > p,
.manifesto-hero > p {
  max-width: 520px !important;
  margin: 0 !important;
  align-self: center !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  color: rgba(11, 37, 58, .72) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.catalog-hero h1,
.journal-hero h1,
.manifesto-hero h1 {
  max-width: 900px !important;
  margin: 30px 0 0 !important;
  color: var(--keel-navy) !important;
  font-size: clamp(60px, 6vw, 94px) !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.catalog-hero::after,
.journal-hero::after,
.manifesto-hero::after {
  content: "For research use only";
  align-self: end;
  grid-column: 1 !important;
  grid-row: 2 !important;
  color: rgba(11, 37, 58, .72);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .catalog-hero,
  .journal-hero,
  .manifesto-hero {
    min-height: 500px !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr) !important;
    column-gap: 44px !important;
  }
}

@media (max-width: 800px) {
  .catalog-hero,
  .journal-hero,
  .manifesto-hero {
    min-height: 0 !important;
    padding: 64px 0 38px !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    row-gap: 28px !important;
  }

  .catalog-hero > div,
  .journal-hero > div,
  .manifesto-hero > div,
  .catalog-hero > p,
  .journal-hero > p,
  .manifesto-hero > p,
  .catalog-hero::after,
  .journal-hero::after,
  .manifesto-hero::after {
    grid-column: 1 !important;
  }

  .catalog-hero > div,
  .journal-hero > div,
  .manifesto-hero > div { grid-row: 1 !important; }

  .catalog-hero > p,
  .journal-hero > p,
  .manifesto-hero > p { grid-row: 2 !important; }

  .catalog-hero::after,
  .journal-hero::after,
  .manifesto-hero::after { grid-row: 3 !important; }

  .catalog-hero h1,
  .journal-hero h1,
  .manifesto-hero h1 {
    font-size: clamp(44px, 13vw, 64px) !important;
  }
}

.site-footer a {
  transition: color 240ms ease, transform 240ms var(--keel-motion);
}

.site-footer a:hover {
  color: var(--keel-aqua);
  transform: translate3d(3px, 0, 0);
}

@media (max-width: 900px) {
  :root { --keel-chrome-height: 108px; }
  .sticky-site-chrome .site-header { height: 78px; }
  .why-keel-grid { grid-template-columns: 1fr; }
  .why-keel-card,
  .why-keel-card-content { min-height: 410px; }
  .why-keel-card p { min-height: 0; }
}

@media (max-width: 800px) {
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    gap: 8px !important;
  }
  .header-shell .brand img { width: 110px !important; }
  .utility-nav { display: none !important; }
  .header-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-color: rgba(244, 242, 239, .4);
    color: var(--keel-sand);
  }
  .menu-toggle { grid-column: auto !important; grid-row: 1 !important; }
  .home-page .keel-video-hero {
    min-height: 680px !important;
    padding: 48px 26px !important;
    align-items: flex-end;
  }
  .home-page .keel-video-hero .hero-content { width: 100%; }
  .home-page .keel-video-hero h1 { font-size: clamp(48px, 15vw, 76px); }
  .keel-video-overlay {
    background:
      linear-gradient(0deg, rgba(4, 23, 37, .97) 0%, rgba(4, 26, 42, .82) 45%, rgba(5, 34, 53, .14) 100%);
  }
  .why-keel-header { justify-items: start; text-align: left; }
  .why-keel-header h2 { font-size: clamp(48px, 14vw, 68px); }
  .research-guesswork-panel {
    min-height: 500px;
    padding: 52px 26px;
    align-items: flex-start;
    background:
      linear-gradient(0deg, rgba(4, 24, 38, .94), rgba(4, 30, 47, .45)),
      url("../assets/keel/campaign/research-without-guesswork.jpeg") center / cover no-repeat;
    text-align: left;
  }
  .research-guesswork-panel h2 { font-size: clamp(46px, 13vw, 66px); }
  .research-guesswork-panel .button { width: 100%; }
  .cart-drawer-actions { grid-template-columns: 1fr; }
  .cart-drawer-actions .checkout-button { grid-column: auto; }
  .cart-page .page-hero {
    min-height: 250px;
    padding: 54px 0 36px !important;
  }
  .cart-page .cart-layout {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }
  .cart-page .cart-summary {
    position: static;
  }
}

@media (max-width: 520px) {
  :root { --shell: min(100% - 28px, 1440px); }
  .announcement-bar { font-size: 10px; }
  .announcement-divider { margin-inline: 16px; }
  .why-keel { padding-block: 72px 42px; }
  .why-keel-card,
  .why-keel-card-content { min-height: 390px; }
  .why-keel-card-content { padding: 26px; }
  .research-guesswork { padding-bottom: 86px; }
  .mini-cart-items {
    max-height: 38vh;
    padding-inline: 14px;
  }
  .cart-item {
    padding: 12px;
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .cart-item-image { width: 76px; }
  .cart-item > strong,
  .cart-item .cart-remove { grid-column: 2; grid-row: auto; justify-self: start; }
  .drawer-promo-block,
  .cart-bogo-status {
    margin-inline: 14px;
  }
  .cart-drawer-panel > header,
  .cart-drawer-panel > footer {
    padding: 18px 14px;
  }
  .cart-page .page-hero h1 {
    font-size: clamp(48px, 15vw, 64px);
  }
  .cart-page .cart-items {
    min-height: 0;
    padding: 12px;
  }
  .cart-page main .cart-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .cart-page main .cart-item-image {
    width: 76px;
  }
  .cart-page .cart-summary {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .announcement-track { animation: none; transform: none; }
  .announcement-track > div:nth-child(2) { display: none; }
  .reveal-enhanced .reveal-item { opacity: 1; filter: none; transform: none; }
}

/* =========================================================
   Editorial depth — Contact, Account, Journal and Manifesto
   ========================================================= */

.contact-page main,
.account-page main,
.journal-page main,
.manifesto-page main {
  background:
    radial-gradient(circle at 88% 14%, rgba(187, 219, 217, .2), transparent 24%),
    linear-gradient(180deg, #fbfaf7 0%, var(--keel-seashell) 100%);
}

.contact-page .page-hero,
.account-page .page-hero,
.journal-page .journal-hero,
.manifesto-page .manifesto-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.contact-page .page-hero::before,
.account-page .page-hero::before,
.journal-page .journal-hero::before,
.manifesto-page .manifesto-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(360px, 36vw, 590px);
  aspect-ratio: 1;
  border: 1px solid rgba(11, 37, 58, .12);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 24%, rgba(11, 37, 58, .09) 24.2% 24.5%, transparent 24.7% 44%, rgba(11, 37, 58, .07) 44.2% 44.5%, transparent 44.7% 64%, rgba(11, 37, 58, .05) 64.2% 64.5%, transparent 64.7%);
  pointer-events: none;
}

.contact-page .page-hero::after,
.account-page .page-hero::after {
  position: absolute;
  right: clamp(34px, 6vw, 86px);
  bottom: 34px;
  color: rgba(11, 37, 58, .56);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Contact */

.contact-page .page-hero {
  width: var(--shell);
  min-height: 440px !important;
  margin: 32px auto 0;
  padding: 82px clamp(30px, 6vw, 88px) !important;
  align-content: center;
  border: 1px solid rgba(11, 37, 58, .12);
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .98) 0 55%, rgba(187, 219, 217, .45) 100%),
    var(--keel-seashell) !important;
  box-shadow: 0 24px 60px rgba(11, 37, 58, .08);
}

.contact-page .page-hero::before {
  right: -7%;
  top: -42%;
}

.contact-page .page-hero::after {
  content: "Response window · one business day";
}

.contact-page .page-hero .eyebrow {
  color: var(--keel-kelp);
}

.contact-page .page-hero h1 {
  max-width: 760px;
  margin: 20px 0 26px !important;
  color: var(--keel-navy) !important;
  font-size: clamp(66px, 7vw, 112px) !important;
  line-height: .86 !important;
  letter-spacing: -.045em !important;
}

.contact-page .page-hero .hero-copy {
  max-width: 560px;
  color: rgba(11, 37, 58, .72);
  font-size: 17px;
  line-height: 1.65;
}

.contact-page .contact-grid {
  display: grid !important;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr) !important;
  gap: 18px !important;
  padding: 22px 0 112px !important;
}

.contact-page .contact-details,
.contact-page .form-panel {
  min-height: 620px;
  border-radius: 22px !important;
}

.contact-page .contact-details {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 68px) !important;
  border: 1px solid rgba(187, 219, 217, .24) !important;
  background:
    radial-gradient(circle at 105% -5%, rgba(187, 219, 217, .26), transparent 42%),
    linear-gradient(145deg, var(--keel-navy) 0%, #061d2d 100%) !important;
  color: var(--keel-sand) !important;
  box-shadow: 0 24px 54px rgba(6, 29, 45, .16);
}

.contact-page .contact-details::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -130px;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(187, 219, 217, .2);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(187, 219, 217, .035),
    0 0 0 96px rgba(187, 219, 217, .025);
}

.contact-page .contact-details .eyebrow {
  color: var(--keel-aqua) !important;
}

.contact-page .contact-details > a {
  display: block;
  max-width: 100%;
  margin: 28px 0 auto;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(244, 242, 239, .2);
  color: var(--keel-sand) !important;
  font-family: var(--font-body);
  font-size: clamp(21px, 2.2vw, 34px) !important;
  line-height: 1.1;
  overflow-wrap: anywhere;
  transition: color 220ms ease, transform 220ms var(--keel-motion);
}

.contact-page .contact-details > a:hover {
  color: var(--keel-aqua) !important;
  transform: translate3d(4px, 0, 0);
}

.contact-page .contact-details dl {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
}

.contact-page .contact-details dl > div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid rgba(244, 242, 239, .16);
}

.contact-page .contact-details dl > div:first-child {
  border-top: 0;
}

.contact-page .contact-details dt {
  color: var(--keel-aqua) !important;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact-page .contact-details dd {
  margin: 0;
  color: rgba(244, 242, 239, .82) !important;
  line-height: 1.55;
}

.contact-page .form-panel {
  display: grid;
  align-content: center;
  gap: 18px !important;
  padding: clamp(34px, 5vw, 68px) !important;
  border: 1px solid rgba(11, 37, 58, .12) !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 24px 54px rgba(11, 37, 58, .08);
  backdrop-filter: blur(14px);
}

.contact-page .form-panel label {
  color: var(--keel-navy) !important;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-page .form-panel input,
.contact-page .form-panel select,
.contact-page .form-panel textarea {
  width: 100%;
  margin-top: 9px;
  border: 1px solid rgba(11, 37, 58, .14) !important;
  border-radius: 12px !important;
  background: var(--keel-seashell) !important;
  color: var(--keel-navy) !important;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.contact-page .form-panel input:focus,
.contact-page .form-panel select:focus,
.contact-page .form-panel textarea:focus {
  outline: 0;
  border-color: var(--keel-kelp) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(86, 111, 67, .12);
}

.contact-page .form-panel .button {
  min-height: 54px;
  margin-top: 6px;
  border-radius: 10px !important;
  background: var(--keel-navy) !important;
  color: var(--keel-sand) !important;
}

.contact-page .form-panel .button:hover {
  background: var(--keel-kelp) !important;
  color: #fff !important;
}

/* Account */

.account-page .page-hero {
  width: var(--shell);
  min-height: 450px !important;
  margin: 32px auto 0;
  padding: 76px clamp(30px, 6vw, 88px) !important;
  align-content: center;
  border: 1px solid rgba(187, 219, 217, .26);
  border-radius: 22px;
  background:
    linear-gradient(115deg, rgba(5, 31, 48, .98) 0 58%, rgba(16, 66, 85, .92) 100%),
    url("../assets/keel/campaign/catalog-deck.jpeg") center / cover no-repeat !important;
  box-shadow: 0 26px 70px rgba(5, 31, 48, .18);
}

.account-page .page-hero::before {
  right: -5%;
  top: -44%;
  border-color: rgba(187, 219, 217, .22);
  background:
    radial-gradient(circle, transparent 0 24%, rgba(187, 219, 217, .17) 24.2% 24.5%, transparent 24.7% 44%, rgba(187, 219, 217, .12) 44.2% 44.5%, transparent 44.7% 64%, rgba(187, 219, 217, .09) 64.2% 64.5%, transparent 64.7%);
}

.account-page .page-hero::after {
  content: "Verified researchers · secure archive";
  color: rgba(244, 242, 239, .58);
}

.account-page .page-hero .eyebrow {
  color: var(--keel-aqua) !important;
}

.account-page .page-hero h1 {
  max-width: 900px;
  margin: 20px 0 34px !important;
  color: var(--keel-sand) !important;
  font-size: clamp(62px, 6.8vw, 106px) !important;
  line-height: .9 !important;
  letter-spacing: -.045em !important;
}

.account-page .page-hero .button-row {
  gap: 10px;
}

.account-page .page-hero .button {
  min-width: 168px;
  min-height: 52px;
  border-radius: 10px !important;
  border-color: var(--keel-sand) !important;
  background: var(--keel-sand) !important;
  color: var(--keel-navy) !important;
}

.account-page .page-hero .button-outline {
  border-color: rgba(244, 242, 239, .45) !important;
  background: transparent !important;
  color: var(--keel-sand) !important;
}

.account-page .page-hero .button:hover {
  border-color: var(--keel-aqua) !important;
  background: var(--keel-aqua) !important;
  color: var(--keel-navy) !important;
}

.account-page .dashboard {
  padding: 22px 0 112px !important;
}

.account-page .dashboard-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
}

.account-page .dashboard-stats article {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  padding: 28px !important;
  border: 1px solid rgba(11, 37, 58, .12) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 18px 42px rgba(11, 37, 58, .07);
}

.account-page .dashboard-stats article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--keel-kelp);
}

.account-page .dashboard-stats article:nth-child(2)::before {
  background: var(--keel-aqua);
}

.account-page .dashboard-stats article:nth-child(3)::before {
  background: var(--keel-navy);
}

.account-page .dashboard-stats article::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -54px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 37, 58, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(11, 37, 58, .025);
}

.account-page .dashboard-stats span {
  color: rgba(11, 37, 58, .62) !important;
  font-family: var(--font-display);
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.account-page .dashboard-stats strong {
  display: block;
  margin-top: 22px;
  color: var(--keel-navy) !important;
  font-family: var(--font-body);
  font-size: 64px !important;
  font-weight: 500;
  line-height: 1;
}

.account-page .empty-state {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  margin: 14px 0 0 !important;
  padding: clamp(30px, 4vw, 54px) !important;
  border: 1px solid rgba(11, 37, 58, .12) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .88) !important;
  text-align: left !important;
  box-shadow: 0 18px 42px rgba(11, 37, 58, .06);
}

.account-page .empty-state h2 {
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--keel-navy) !important;
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 58px) !important;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.account-page .empty-state p {
  max-width: 610px;
  color: rgba(11, 37, 58, .68) !important;
  font-size: 16px;
  line-height: 1.6;
}

.account-page .empty-state p:nth-of-type(1) {
  color: var(--keel-kelp) !important;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.account-page .empty-state .button {
  margin-top: 22px;
  border-radius: 10px !important;
}

.account-page .empty-state:last-child {
  min-height: 300px;
  padding-right: min(42%, 520px) !important;
  border-color: rgba(187, 219, 217, .22) !important;
  background:
    radial-gradient(circle at 92% 34%, rgba(187, 219, 217, .3), transparent 25%),
    linear-gradient(135deg, var(--keel-navy), #061d2d) !important;
}

.account-page .empty-state:last-child::after {
  content: "COA";
  position: absolute;
  right: clamp(30px, 7vw, 106px);
  top: 50%;
  color: rgba(187, 219, 217, .24);
  font-family: var(--font-body);
  font-size: clamp(82px, 12vw, 190px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.08em;
  transform: translateY(-50%);
}

.account-page .empty-state:last-child h2 {
  color: var(--keel-sand) !important;
}

.account-page .empty-state:last-child p {
  color: rgba(244, 242, 239, .72) !important;
}

/* Journal */

.journal-page .journal-hero {
  border-bottom: 1px solid rgba(11, 37, 58, .12);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, .96), rgba(251, 250, 247, .7)),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(11, 37, 58, .055) 118px 119px) !important;
}

.journal-page .journal-hero::before {
  right: -10%;
  top: -35%;
}

.journal-page .featured-story {
  overflow: hidden;
  margin-top: 46px !important;
  margin-bottom: 22px !important;
  border: 1px solid rgba(187, 219, 217, .25) !important;
  border-radius: 22px;
  background: var(--keel-navy) !important;
  box-shadow: 0 26px 70px rgba(5, 31, 48, .16);
}

.journal-page .featured-image {
  position: relative;
  overflow: hidden;
  min-height: 640px !important;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, .84), transparent 23%),
    linear-gradient(145deg, #cfe5e2, #86b9b5) !important;
}

.journal-page .featured-image::before {
  content: "01";
  position: absolute;
  left: 28px;
  top: 20px;
  color: rgba(11, 37, 58, .18);
  font-family: var(--font-body);
  font-size: clamp(80px, 10vw, 154px);
  line-height: 1;
}

.journal-page .featured-image img {
  position: relative;
  z-index: 1;
  width: min(70%, 430px) !important;
  filter: drop-shadow(0 30px 28px rgba(11, 37, 58, .22));
  transform: translateY(8%);
}

.journal-page .featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 640px !important;
  padding: clamp(38px, 5.3vw, 82px) !important;
}

.journal-page .featured-copy .eyebrow {
  color: var(--keel-aqua) !important;
}

.journal-page .featured-copy h2 {
  margin: 26px 0 28px !important;
  color: var(--keel-sand) !important;
  font-family: var(--font-body);
  font-size: clamp(38px, 4.2vw, 68px) !important;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

.journal-page .featured-copy p {
  max-width: 700px;
  color: rgba(244, 242, 239, .72) !important;
  font-size: 15px;
  line-height: 1.7;
}

.journal-page .featured-copy > a {
  align-self: flex-start;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--keel-aqua);
  color: var(--keel-aqua) !important;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.journal-page .journal-grid {
  gap: 18px !important;
  padding: 0 0 110px !important;
}

.journal-page .journal-card,
.journal-page .subscribe-card {
  position: relative;
  overflow: hidden;
  min-height: 520px !important;
  border: 1px solid rgba(11, 37, 58, .12) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 42px rgba(11, 37, 58, .07);
  transition: transform 300ms var(--keel-motion), box-shadow 300ms ease, border-color 300ms ease;
}

.journal-page .journal-card {
  display: grid !important;
  grid-template-columns: minmax(190px, .82fr) minmax(0, 1.18fr) !important;
  grid-template-rows: 1fr !important;
  background: rgba(255, 255, 255, .92) !important;
}

.journal-page .journal-card:hover,
.journal-page .subscribe-card:hover {
  border-color: rgba(86, 111, 67, .42) !important;
  box-shadow: 0 28px 64px rgba(11, 37, 58, .13);
  transform: translate3d(0, -7px, 0);
}

.journal-page .journal-card-image {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 0 !important;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .92), transparent 28%),
    linear-gradient(145deg, #e6e1da 0%, #cfc7bc 100%) !important;
}

.journal-page .journal-card:nth-child(2) .journal-card-image,
.journal-page .journal-card:nth-child(5) .journal-card-image {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .62), transparent 27%),
    linear-gradient(145deg, #bbdbd9, #6da7a3) !important;
}

.journal-page .journal-card:nth-child(3) .journal-card-image {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .82), transparent 27%),
    linear-gradient(145deg, #d2c7b5, #a18d73) !important;
}

.journal-page .journal-card-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(11, 37, 58, .1);
  border-radius: 12px;
  pointer-events: none;
}

.journal-page .journal-card-image img {
  position: relative;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  padding: 42px 20px 32px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 20px 18px rgba(11, 37, 58, .18));
  transition: transform 360ms var(--keel-motion);
}

.journal-page .journal-card:hover .journal-card-image img {
  transform: translate3d(0, -6px, 0) scale(1.035);
}

.journal-page .journal-card > div:last-child {
  display: flex;
  flex-direction: column;
  padding: 30px !important;
}

.journal-page .journal-card span {
  color: var(--keel-kelp) !important;
  font-family: var(--font-display);
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: .13em !important;
  text-transform: uppercase;
}

.journal-page .journal-card h3 {
  margin: 18px 0 20px !important;
  color: var(--keel-navy) !important;
  font-family: var(--font-body);
  font-size: clamp(25px, 2.2vw, 34px) !important;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.journal-page .journal-card p {
  margin-top: auto;
  color: rgba(11, 37, 58, .67) !important;
  font-size: 14px;
  line-height: 1.62;
}

.journal-page .subscribe-card {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 4vw, 54px) !important;
  background:
    linear-gradient(135deg, rgba(5, 31, 48, .92), rgba(5, 31, 48, .7)),
    url("../assets/keel/textures/ocean.jpeg") center / cover no-repeat !important;
}

.journal-page .subscribe-card::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 36px;
  width: 76px;
  aspect-ratio: 1;
  border: 1px solid rgba(187, 219, 217, .38);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px rgba(187, 219, 217, .05),
    0 0 0 36px rgba(187, 219, 217, .035);
}

.journal-page .subscribe-card .eyebrow {
  color: var(--keel-aqua) !important;
}

.journal-page .subscribe-card h3 {
  max-width: 520px;
  margin: 22px 0 !important;
  color: var(--keel-sand) !important;
  font-family: var(--font-body);
  font-size: clamp(36px, 4vw, 58px) !important;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

.journal-page .subscribe-card p {
  max-width: 500px;
  color: rgba(244, 242, 239, .72) !important;
  line-height: 1.65;
}

.journal-page .subscribe-card .button {
  align-self: flex-start;
  margin-top: 26px;
  border-radius: 10px !important;
  background: var(--keel-aqua) !important;
  color: var(--keel-navy) !important;
}

.journal-page .subscribe-card .button:hover {
  background: var(--keel-sand) !important;
}

.journal-page .legal-panel {
  margin-bottom: 100px !important;
  padding: 24px 28px !important;
  border: 1px solid rgba(11, 37, 58, .1) !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, .62) !important;
}

.journal-page .legal-panel p {
  max-width: 1080px;
  color: rgba(11, 37, 58, .56) !important;
  font-size: 12px;
  line-height: 1.65;
}

/* Manifesto */

.manifesto-page .manifesto-hero {
  border-bottom: 1px solid rgba(11, 37, 58, .12);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, .98), rgba(251, 250, 247, .72)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(11, 37, 58, .045) 38px 39px) !important;
}

.manifesto-page .manifesto-hero::before {
  right: -9%;
  top: -36%;
}

.manifesto-page .manifesto-body {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  padding: 54px 0 110px !important;
}

.manifesto-page .manifesto-body::before {
  content: "DOCUMENTED STANDARD · KEEL RESEARCH · USA";
  grid-column: 1 / -1;
  padding: 0 0 18px;
  color: var(--keel-kelp);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
}

.manifesto-page .manifesto-body article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px !important;
  padding: clamp(30px, 4vw, 54px) !important;
  border: 1px solid rgba(11, 37, 58, .12) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .9) !important;
  box-shadow: 0 18px 42px rgba(11, 37, 58, .07);
}

.manifesto-page .manifesto-body article::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -82px;
  top: -82px;
  width: 250px;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 37, 58, .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(11, 37, 58, .025),
    0 0 0 68px rgba(11, 37, 58, .018);
}

.manifesto-page .manifesto-body article:nth-of-type(2),
.manifesto-page .manifesto-body article:nth-of-type(4) {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .42), transparent 38%),
    var(--keel-aqua) !important;
}

.manifesto-page .manifesto-body article:nth-of-type(5) {
  grid-column: 1 / -1;
  min-height: 320px !important;
  padding-right: min(42%, 580px) !important;
  border-color: rgba(187, 219, 217, .24) !important;
  background:
    radial-gradient(circle at 90% 50%, rgba(187, 219, 217, .26), transparent 24%),
    linear-gradient(135deg, var(--keel-navy), #061d2d) !important;
}

.manifesto-page .manifesto-body article > span {
  color: rgba(11, 37, 58, .2) !important;
  font-family: var(--font-body);
  font-size: clamp(72px, 8vw, 120px) !important;
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.08em;
}

.manifesto-page .manifesto-body article p {
  position: relative;
  max-width: 620px;
  margin: 72px 0 0 !important;
  padding-top: 22px;
  border-top: 1px solid rgba(11, 37, 58, .16);
  color: rgba(11, 37, 58, .78) !important;
  font-size: 16px;
  line-height: 1.68;
}

.manifesto-page .manifesto-body article:nth-of-type(5) > span {
  color: rgba(187, 219, 217, .22) !important;
}

.manifesto-page .manifesto-body article:nth-of-type(5) p {
  border-top-color: rgba(244, 242, 239, .2);
  color: rgba(244, 242, 239, .8) !important;
}

.manifesto-page .principles {
  margin-bottom: 22px !important;
  padding: clamp(34px, 5vw, 70px) !important;
  border: 1px solid rgba(11, 37, 58, .14);
  border-radius: 22px;
  background: url("../assets/keel/campaign/manifesto-metal.jpeg") center / cover no-repeat !important;
  box-shadow: 0 26px 70px rgba(5, 31, 48, .12);
}

.manifesto-page .principles .section-heading {
  display: grid !important;
  grid-template-columns: 1fr 1.2fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 46px !important;
}

.manifesto-page .principles .eyebrow {
  color: var(--keel-navy) !important;
}

.manifesto-page .principles h2 {
  margin: 0 !important;
  color: var(--keel-navy) !important;
  font-family: var(--font-body);
  font-size: clamp(48px, 5.4vw, 82px) !important;
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.045em;
}

.manifesto-page .principle-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 !important;
}

.manifesto-page .principle-grid article {
  position: relative;
  overflow: hidden;
  min-height: 236px !important;
  padding: 28px !important;
  border: 1px solid rgba(11, 37, 58, .14) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .78) !important;
  color: var(--keel-navy) !important;
  box-shadow: 0 10px 28px rgba(5, 31, 48, .06);
  backdrop-filter: blur(5px);
  transition: border-color 260ms ease, background-color 260ms ease, transform 260ms var(--keel-motion);
}

.manifesto-page .principle-grid article:hover {
  border-color: rgba(11, 37, 58, .32) !important;
  background: rgba(255, 255, 255, .94) !important;
  transform: translate3d(0, -5px, 0);
}

.manifesto-page .principle-grid article span {
  color: rgba(11, 37, 58, .5) !important;
  font-family: var(--font-display);
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .13em;
}

.manifesto-page .principle-grid article h3 {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  margin: 0 !important;
  color: var(--keel-navy) !important;
  font-family: var(--font-body);
  font-size: clamp(24px, 2.2vw, 34px) !important;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.manifesto-page .manifesto-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 540px !important;
  margin-bottom: 110px !important;
  padding: clamp(42px, 6vw, 86px) !important;
  border: 1px solid rgba(11, 37, 58, .12);
  border-radius: 22px;
  background: url("../assets/keel/campaign/manifesto-water.jpeg") center / cover no-repeat !important;
  box-shadow: 0 26px 70px rgba(5, 31, 48, .16);
}

.manifesto-page .manifesto-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -180px;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(187, 219, 217, .23);
  border-radius: 50%;
  box-shadow:
    0 0 0 56px rgba(187, 219, 217, .04),
    0 0 0 112px rgba(187, 219, 217, .025);
}

.manifesto-page .manifesto-cta > div {
  width: min(100%, 850px);
  padding: 0 !important;
  background: transparent !important;
}

.manifesto-page .manifesto-cta h2 {
  margin: 0 0 42px !important;
  text-shadow: 0 2px 16px rgba(4, 23, 37, .42);
}

.manifesto-page .manifesto-cta h2 span {
  display: block;
  color: var(--keel-sand) !important;
  font-family: var(--font-body);
  font-size: clamp(46px, 5.5vw, 84px) !important;
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.045em;
}

.manifesto-page .manifesto-cta h2 span:nth-child(2) {
  color: var(--keel-aqua) !important;
}

.manifesto-page .manifesto-cta .button {
  min-width: 210px;
  min-height: 54px;
  border-radius: 10px !important;
  background: var(--keel-sand) !important;
  color: var(--keel-navy) !important;
}

.manifesto-page .manifesto-cta .button:hover {
  background: var(--keel-aqua) !important;
}

@media (max-width: 1050px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-details,
  .contact-page .form-panel {
    min-height: 0;
  }

  .contact-page .contact-details {
    min-height: 480px;
  }

  .journal-page .featured-story {
    grid-template-columns: 1fr !important;
  }

  .journal-page .featured-image,
  .journal-page .featured-copy {
    min-height: 500px !important;
  }
}

@media (max-width: 800px) {
  .contact-page .page-hero,
  .account-page .page-hero {
    min-height: 420px;
    margin-top: 16px;
    padding: 52px 26px 74px !important;
    border-radius: 16px;
  }

  .contact-page .page-hero::after,
  .account-page .page-hero::after {
    right: 26px;
    bottom: 24px;
    left: 26px;
  }

  .contact-page .page-hero h1,
  .account-page .page-hero h1 {
    font-size: clamp(54px, 16vw, 78px) !important;
  }

  .contact-page .contact-details dl > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .account-page .dashboard-stats {
    grid-template-columns: 1fr !important;
  }

  .account-page .dashboard-stats article {
    min-height: 142px;
  }

  .account-page .empty-state:last-child {
    padding-right: 30px !important;
    padding-bottom: 180px !important;
  }

  .account-page .empty-state:last-child::after {
    right: 26px;
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .journal-page .journal-hero,
  .manifesto-page .manifesto-hero {
    padding-inline: 24px !important;
  }

  .journal-page .featured-story {
    margin-top: 24px !important;
    border-radius: 16px;
  }

  .journal-page .featured-image,
  .journal-page .featured-copy {
    min-height: 420px !important;
  }

  .journal-page .featured-copy {
    padding: 34px 26px 42px !important;
  }

  .journal-page .journal-grid {
    grid-template-columns: 1fr !important;
  }

  .journal-page .journal-card,
  .journal-page .subscribe-card {
    min-height: 500px !important;
  }

  .manifesto-page .manifesto-body {
    grid-template-columns: 1fr !important;
  }

  .manifesto-page .manifesto-body article:nth-of-type(5) {
    grid-column: 1;
    padding-right: 30px !important;
  }

  .manifesto-page .principles {
    padding: 34px 22px !important;
    border-radius: 16px;
  }

  .manifesto-page .principles .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .manifesto-page .principle-grid {
    grid-template-columns: 1fr !important;
  }

  .manifesto-page .principle-grid article {
    min-height: 190px !important;
  }

  .manifesto-page .manifesto-cta {
    min-height: 580px !important;
    margin-bottom: 80px !important;
    padding: 38px 26px !important;
    align-items: flex-end;
    border-radius: 16px;
    background: url("../assets/keel/campaign/manifesto-water.jpeg") center / cover no-repeat !important;
  }
}

@media (max-width: 520px) {
  .contact-page .contact-grid,
  .account-page .dashboard {
    padding-bottom: 84px !important;
  }

  .contact-page .contact-details,
  .contact-page .form-panel,
  .account-page .empty-state {
    padding: 28px 22px !important;
    border-radius: 16px !important;
  }

  .contact-page .contact-details {
    min-height: 430px;
  }

  .account-page .page-hero .button-row,
  .account-page .page-hero .button {
    width: 100%;
  }

  .journal-page .featured-image {
    min-height: 350px !important;
  }

  .journal-page .featured-copy {
    min-height: 0 !important;
  }

  .journal-page .journal-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: 215px 1fr !important;
  }

  .journal-page .journal-card-image img {
    padding: 20px 24px 14px !important;
  }

  .manifesto-page .manifesto-body article {
    min-height: 320px !important;
    padding: 28px 22px !important;
  }

  .manifesto-page .manifesto-body article p {
    margin-top: 48px !important;
  }
}

/* Footer close: the legal floor must always remain crisp and fully visible. */
.site-footer {
  padding-bottom: max(44px, env(safe-area-inset-bottom)) !important;
}

.site-footer .footer-floor {
  min-height: 46px;
  align-items: center;
  overflow: visible;
  line-height: 1.45;
}

.reveal-enhanced .site-footer .footer-floor.reveal-item,
.reveal-enhanced .site-footer .footer-floor.reveal-item.is-revealed {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
}

/* Visual free-vial selector: a product-led reward flow instead of a dropdown. */
.free-vial-picker-button {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  border: 1px solid var(--keel-navy) !important;
  background: var(--keel-navy) !important;
  color: #fff !important;
}

.free-vial-picker-button:hover:not(:disabled) {
  border-color: #1c5674 !important;
  background: #1c5674 !important;
  color: #fff !important;
}

.free-vial-picker-button:disabled,
.free-vial-picker-button.is-complete {
  border-color: rgba(11, 37, 58, .16) !important;
  background: rgba(11, 37, 58, .08) !important;
  color: rgba(11, 37, 58, .54) !important;
  cursor: default;
  opacity: 1;
}

.cart-free-quantity {
  grid-column: 2;
  justify-self: start;
  padding: 7px 11px;
  border: 1px solid rgba(47, 103, 82, .24);
  border-radius: 999px;
  background: #eef6f1;
  color: #315c4b;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cart-free-quantity strong {
  margin-left: 5px;
  color: var(--keel-navy);
}

.cart-item > .cart-line-free {
  color: #2f6752;
  font-family: var(--font-display);
  letter-spacing: .06em;
}

/* Keep free-vial cards as compact as the product image: one free label, one quantity marker. */
.cart-item.is-bogo-free {
  padding-block: 10px;
}

.cart-item.is-bogo-free > .cart-line-free {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}

.cart-item.is-bogo-free .cart-remove {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
}

.free-vial-picker {
  position: fixed;
  z-index: 650;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  pointer-events: none;
}

.free-vial-picker.is-open {
  visibility: visible;
  pointer-events: auto;
}

.free-vial-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 29, .72);
  backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.free-vial-picker.is-open .free-vial-picker-backdrop {
  opacity: 1;
}

.free-vial-picker-panel {
  position: relative;
  display: flex;
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 58, .14);
  border-radius: 24px;
  background: #f4f1ea;
  color: var(--keel-navy);
  box-shadow: 0 34px 100px rgba(3, 18, 29, .32);
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(.985);
  transition:
    opacity 280ms ease,
    transform 440ms var(--keel-motion);
}

.free-vial-picker.is-open .free-vial-picker-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.free-vial-picker-header {
  display: flex;
  padding: 34px 38px 26px;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 37, 58, .12);
  background: #f4f1ea;
}

.free-vial-picker-header > div {
  max-width: 850px;
}

.free-vial-picker-header .eyebrow {
  color: var(--keel-kelp);
}

.free-vial-picker-header h2 {
  margin: 8px 0 10px;
  color: var(--keel-ink);
  font-size: clamp(42px, 5vw, 72px);
  line-height: .93;
  letter-spacing: -.055em;
}

.free-vial-picker-header p {
  margin: 0;
  color: rgba(11, 37, 58, .72);
  font-size: 15px;
  line-height: 1.5;
}

.free-vial-picker-header .icon-button {
  flex: 0 0 auto;
  border: 1px solid var(--keel-kelp);
  color: var(--keel-kelp);
}

.free-vial-picker-grid {
  display: grid;
  min-height: 0;
  padding: 28px 38px 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  overflow: auto;
  overscroll-behavior: contain;
  background: #eee9e1;
  scrollbar-gutter: stable;
}

.free-vial-card {
  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 58, .13);
  border-radius: 18px;
  background: #fbfaf7;
  box-shadow: 0 14px 38px rgba(11, 37, 58, .07);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 320ms var(--keel-motion);
}

.free-vial-card:hover {
  border-color: rgba(47, 103, 82, .48);
  box-shadow: 0 20px 48px rgba(11, 37, 58, .13);
  transform: translateY(-4px);
}

.free-vial-card.is-selected {
  border-color: rgba(47, 103, 82, .54);
}

.free-vial-card-media {
  position: relative;
  display: grid;
  height: 210px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #eee9e2 0%, #ded7cf 100%);
}

.free-vial-card-media::after {
  display: none;
}

.free-vial-card-media img {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(11, 37, 58, .17));
  transition: transform 360ms var(--keel-motion);
}

.free-vial-card:hover .free-vial-card-media img {
  transform: scale(1.055);
}

.free-vial-card-media > span {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--keel-kelp);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.free-vial-card-copy {
  display: flex;
  min-height: 260px;
  padding: 20px 20px 24px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
}

.free-vial-card-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--keel-kelp);
  font-size: 8px;
}

.free-vial-card-copy h3 {
  margin: 0;
  color: var(--keel-ink);
  font-size: 25px;
  line-height: 1.05;
}

.free-vial-card-copy p {
  min-height: 40px;
  margin: 8px 0 14px;
  color: rgba(11, 37, 58, .68);
  font-size: 12px;
  line-height: 1.45;
}

.free-vial-card-value {
  display: flex;
  margin-top: auto;
  padding-top: 13px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(11, 37, 58, .1);
  color: rgba(11, 37, 58, .62);
  font-size: 11px;
}

.free-vial-card-value strong {
  color: var(--keel-navy);
  font-size: 14px;
}

.free-vial-card-copy .button {
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin-top: 14px;
  flex: 0 0 46px;
  border-color: var(--keel-kelp) !important;
  background: var(--keel-kelp) !important;
  color: #fff !important;
}

.free-vial-picker-footer {
  display: flex;
  padding: 15px 38px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(11, 37, 58, .12);
  background: #f4f1ea;
  color: rgba(11, 37, 58, .6);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.free-vial-picker-empty {
  grid-column: 1 / -1;
  padding: 72px 24px;
  text-align: center;
}

.free-vial-picker-empty h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.free-vial-picker-empty p {
  margin: 0;
}

@media (max-width: 980px) {
  .free-vial-picker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .free-vial-picker {
    padding: 12px;
  }

  .free-vial-picker-panel {
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }

  .free-vial-picker-header {
    padding: 26px 22px 20px;
  }

  .free-vial-picker-header h2 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .free-vial-picker-grid {
    padding: 20px 22px 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .free-vial-picker-footer {
    padding-inline: 22px;
  }
}

@media (max-width: 520px) {
  .free-vial-picker-header h2 {
    padding-right: 18px;
    font-size: 42px;
  }

  .free-vial-picker-header p {
    font-size: 13px;
  }

  .free-vial-picker-grid {
    grid-template-columns: 1fr;
  }

  .free-vial-card {
    min-height: 440px;
  }

  .free-vial-card-media {
    height: 190px;
  }

  .free-vial-picker-footer {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Sitewide button feedback: every actionable button changes color on hover. */
button:not(:disabled),
.button:not([aria-disabled="true"]),
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled) {
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--keel-motion) !important;
}

button:not(:disabled):hover,
.button:not([aria-disabled="true"]):hover,
input[type="button"]:not(:disabled):hover,
input[type="submit"]:not(:disabled):hover {
  border-color: var(--keel-aqua) !important;
  background: var(--keel-aqua) !important;
  color: var(--keel-navy-deep) !important;
  box-shadow: 0 10px 24px rgba(5, 31, 48, .14);
  transform: translateY(-1px);
}

.community-cta .button.secondary:hover,
.account-page .page-hero .button.button-outline:hover,
.account-page .empty-state .button.button-outline:hover {
  border-color: var(--keel-aqua) !important;
  background: var(--keel-aqua) !important;
  color: var(--keel-navy-deep) !important;
}

/* Home rhythm: keep the final campaign panel close to Featured Compounds. */
.home-page .research-guesswork {
  padding-bottom: clamp(28px, 3.5vw, 48px) !important;
}

.home-page main + .product-strip {
  margin-top: clamp(28px, 3.5vw, 48px) !important;
}

@media (max-width: 720px) {
  .home-page .research-guesswork {
    padding-bottom: 24px !important;
  }

  .home-page main + .product-strip {
    margin-top: 24px !important;
  }
}

/* Auth parity: both Sign in and New Researcher use one clean form surface. */
.login-page .auth-panel .form-panel,
.create-account-page .auth-panel .form-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.login-page .auth-panel,
.create-account-page .auth-panel {
  padding-left: clamp(34px, 5vw, 72px) !important;
  padding-right: clamp(34px, 5vw, 72px) !important;
}

.login-page .auth-art,
.create-account-page .auth-art {
  background:
    linear-gradient(rgba(5, 31, 48, .78), rgba(5, 31, 48, .88)),
    url('../assets/brand/black-marble.webp') center/cover !important;
}

.login-page .auth-art img,
.create-account-page .auth-art img {
  filter: brightness(0) invert(1) !important;
  opacity: .9;
}

.login-page .auth-art p,
.create-account-page .auth-art p {
  color: #fff !important;
}

/* Checkout promotion: keep every state aligned to the full inner width. */
.cart-page .cart-summary > .cart-bogo-status,
.cart-page .cart-summary > .cart-bogo-status > *,
.cart-page .cart-summary > .cart-bogo-status .bogo-status-copy,
.cart-page .cart-summary > .cart-bogo-status .bogo-progress-row,
.cart-page .cart-summary > .cart-bogo-status .bogo-progress,
.cart-page .cart-summary > .cart-bogo-status .bogo-add-button,
.cart-page .cart-summary > .cart-bogo-status > small {
  box-sizing: border-box !important;
  max-width: none !important;
}

.cart-page .cart-summary > .cart-bogo-status .bogo-status-copy,
.cart-page .cart-summary > .cart-bogo-status .bogo-progress-row,
.cart-page .cart-summary > .cart-bogo-status .bogo-progress,
.cart-page .cart-summary > .cart-bogo-status .bogo-add-button,
.cart-page .cart-summary > .cart-bogo-status > small {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Keep the checkout promotion content in one full-width column. */
.cart-page .cart-summary > .cart-bogo-status {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}

.cart-page .cart-summary > .cart-bogo-status > * {
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  min-width: 0 !important;
}

.cart-page .cart-summary > .cart-bogo-status .bogo-progress,
.cart-page .cart-summary > .cart-bogo-status .bogo-add-button {
  display: block !important;
}

/* QA: align the outer card imagery with the center card and lower all copy slightly. */
@media (min-width: 901px) {
  .home-page .why-keel-card:nth-child(1) .why-keel-card-media img,
  .home-page .why-keel-card:nth-child(3) .why-keel-card-media img {
    transform: translate3d(0, -3%, 0) scale(1.07);
    transform-origin: center center;
  }

  .home-page .why-keel-card-content {
    transform: translateY(8px);
  }

  .home-page .why-keel-card:nth-child(1):hover .why-keel-card-media img,
  .home-page .why-keel-card:nth-child(3):hover .why-keel-card-media img {
    transform: translate3d(0, -3%, 0) scale(1.11);
  }
}

/* QA pass: keep campaign imagery and primary objects clear of editorial copy. */
.home-page .keel-video-hero {
  overflow: visible !important;
  clip-path: none;
  contain: none;
}

.home-page .keel-video-media,
.home-page .keel-video-overlay {
  overflow: visible;
}

.home-page .keel-video-hero .hero-content {
  width: min(570px, 43%);
}

.home-page .keel-video-hero .hero-content h1 {
  width: 100% !important;
  max-width: 540px !important;
  font-size: clamp(44px, 4.25vw, 68px) !important;
  line-height: .98 !important;
}

.home-page .keel-video-hero .hero-content > p {
  max-width: 500px !important;
}

.research-guesswork-panel h2 {
  max-width: 820px;
  font-size: clamp(48px, 5.4vw, 80px);
  text-wrap: balance;
}

.cart-drawer-panel {
  height: 100dvh;
  max-height: 100dvh;
}

.cart-drawer-totals {
  display: grid;
  margin-bottom: 16px;
  gap: 7px;
}

.cart-drawer-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.cart-drawer-totals .cart-drawer-savings {
  color: #2f6752;
}

.cart-drawer-totals .cart-drawer-subtotal {
  margin: 4px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(11, 37, 58, .14);
  color: var(--keel-navy);
  font-size: 18px;
}

.free-vial-picker-panel {
  max-height: calc(100dvh - 48px);
}

@media (max-width: 1100px) and (min-width: 801px) {
  .home-page .keel-video-hero {
    padding-inline: clamp(52px, 7vw, 76px) !important;
  }

  .home-page .keel-video-hero .hero-content {
    width: 41%;
  }

  .home-page .keel-video-hero .hero-content h1 {
    font-size: clamp(38px, 4.4vw, 48px) !important;
  }

  .home-page .keel-video-hero .hero-content > p {
    max-width: 390px !important;
  }

  .keel-hero-video {
    transform: translate3d(15%, 0, 0) scale(1.16);
  }
}

@media (max-width: 800px) {
  .home-page .keel-video-hero {
    display: grid !important;
    min-height: 0 !important;
    padding: 0 !important;
    grid-template-rows: clamp(430px, 72vw, 540px) auto;
    align-items: stretch;
    overflow: hidden !important;
  }

  .home-page .keel-video-media {
    position: relative;
    z-index: 0;
    grid-column: 1 !important;
    grid-row: 1 !important;
    overflow: hidden;
    border-radius: var(--keel-radius) var(--keel-radius) 0 0;
  }

  .home-page .keel-video-overlay {
    z-index: 1;
    grid-column: 1 !important;
    grid-row: 1 !important;
    bottom: auto;
    height: clamp(430px, 72vw, 540px);
    border-radius: var(--keel-radius) var(--keel-radius) 0 0;
    background: linear-gradient(180deg, rgba(4, 23, 37, .06), rgba(4, 23, 37, .22));
    pointer-events: none;
  }

  .home-page .keel-video-hero .hero-content {
    z-index: 2;
    width: 100%;
    padding: 34px clamp(26px, 5vw, 42px) 40px !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    background: var(--keel-navy) !important;
  }

  .home-page .keel-video-hero .hero-content h1 {
    max-width: 680px !important;
    margin-block: 15px 20px !important;
    font-size: clamp(38px, 8vw, 58px) !important;
  }

  .home-page .keel-video-hero .hero-content > p {
    max-width: 620px !important;
  }

  .home-page .keel-video-hero .hero-content .button-row {
    max-width: 360px;
  }

  .keel-hero-video {
    transform: none;
    object-position: 63% center;
  }

  .research-guesswork-panel h2 {
    max-width: 620px;
    font-size: clamp(40px, 10vw, 62px);
  }
}

@media (max-width: 520px) {
  .home-page .keel-video-hero {
    grid-template-rows: 455px auto;
  }

  .home-page .keel-video-overlay {
    height: 455px;
  }

  .home-page .keel-video-hero .hero-content {
    padding: 30px 24px 34px !important;
  }

  .home-page .keel-video-hero .hero-content h1 {
    font-size: clamp(34px, 10.2vw, 42px) !important;
  }

  .home-page .keel-video-hero .hero-content .hero-line,
  .home-page .keel-video-hero .hero-content .hero-line-nowrap {
    white-space: normal !important;
  }

  .home-page .keel-video-hero .hero-content .button-row,
  .home-page .keel-video-hero .hero-content .button {
    width: 100%;
    max-width: none;
  }

  .research-guesswork-panel {
    min-height: 540px;
  }

  .research-guesswork-panel h2 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .cart-drawer-panel > header,
  .cart-drawer-panel > footer {
    flex: 0 0 auto;
  }

  .mini-cart-items {
    max-height: none;
    min-height: 0;
    flex: 1 1 auto;
  }

  .drawer-promo-block {
    max-height: 235px;
    overflow-y: auto;
  }

  .cart-drawer-actions .button {
    min-height: 46px;
  }

  .free-vial-picker {
    padding: 8px;
  }

  .free-vial-picker-panel {
    max-height: calc(100dvh - 16px);
  }

  .free-vial-picker-header {
    padding: 20px 18px 16px;
  }

  .free-vial-picker-header h2 {
    padding-right: 4px;
    font-size: clamp(34px, 10vw, 40px);
  }

  .free-vial-picker-grid {
    padding: 16px 18px 20px;
  }

  .free-vial-picker-footer {
    padding: 12px 18px;
  }
}
