:root {
  --page-width: 1240px;
  --page-gutter: clamp(20px, 4vw, 56px);
  --ink: #142237;
  --muted: #62758a;
  --line: #d9e8f6;
  --paper: #f8fbff;
  --mint: #d8efff;
  --teal: #2d8fca;
  --forest: #185a9d;
  --coral: #6b8df0;
  --amber: #f0bd6b;
  --violet: #7b83d8;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-soft: rgba(248, 252, 255, 0.56);
  --glass-border: rgba(194, 222, 246, 0.72);
  --glass-front: rgba(255, 255, 255, 0.34);
  --glass-front-strong: rgba(255, 255, 255, 0.52);
  --glass-back-blue: rgba(45, 143, 202, 0.22);
  --glass-back-violet: rgba(123, 131, 216, 0.18);
  --glass-rim: rgba(255, 255, 255, 0.58);
  --glass-rim-soft: rgba(173, 215, 245, 0.46);
  --glass-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  --glass-depth: 0 22px 60px rgba(22, 76, 127, 0.14), 0 7px 18px rgba(22, 76, 127, 0.08);
  --glass-depth-hover: 0 30px 76px rgba(22, 76, 127, 0.18), 0 10px 24px rgba(22, 76, 127, 0.1);
  --shadow: var(--glass-depth);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #f6fbff;
  letter-spacing: 0;
}

.aurora-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(124, 255, 103, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(180, 151, 207, 0.24), transparent 34%),
    radial-gradient(circle at 50% 98%, rgba(82, 39, 255, 0.2), transparent 42%),
    linear-gradient(180deg, #f7fcff 0%, #eef8ff 48%, #ffffff 100%);
}

.aurora-background::before,
.aurora-background::after {
  position: absolute;
  inset: -24% -12%;
  content: "";
  opacity: 0.82;
  filter: blur(34px) saturate(1.24);
  transform-origin: center;
  will-change: transform;
}

.aurora-background::before {
  background:
    linear-gradient(
      105deg,
      transparent 5%,
      rgba(82, 39, 255, 0.08) 20%,
      rgba(45, 143, 202, 0.26) 38%,
      rgba(124, 255, 103, 0.16) 52%,
      rgba(180, 151, 207, 0.24) 70%,
      transparent 92%
    );
  clip-path: polygon(0 34%, 14% 28%, 32% 40%, 50% 30%, 68% 42%, 86% 31%, 100% 38%, 100% 74%, 80% 66%, 62% 78%, 42% 66%, 24% 76%, 0 64%);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.aurora-background::after {
  background:
    linear-gradient(
      80deg,
      transparent 0%,
      rgba(216, 239, 255, 0.12) 18%,
      rgba(82, 39, 255, 0.16) 36%,
      rgba(124, 255, 103, 0.14) 58%,
      rgba(180, 151, 207, 0.22) 78%,
      transparent 100%
    );
  clip-path: polygon(0 58%, 12% 50%, 29% 61%, 48% 46%, 68% 58%, 86% 44%, 100% 51%, 100% 100%, 0 100%);
  animation: auroraWave 24s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  display: grid;
  gap: 0;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  margin: 0;
  padding: 10px max(16px, calc((100vw - var(--page-width)) / 2));
  border: 0;
  border-bottom: 1px solid var(--glass-rim-soft);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.12)),
    rgba(255, 255, 255, 0.36);
  box-shadow:
    var(--glass-inset),
    0 16px 50px rgba(35, 99, 158, 0.1);
  -webkit-backdrop-filter: blur(26px) saturate(1.28);
  backdrop-filter: blur(26px) saturate(1.28);
  transition:
    padding 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.site-header.is-compact {
  gap: 0.8rem;
  padding-top: 5px;
  padding-bottom: 5px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 32px rgba(35, 99, 158, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  transition: gap 260ms ease;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  line-height: 0;
}

.brand-logo {
  width: clamp(156px, 15vw, 218px);
  height: 64px;
  object-fit: contain;
  object-position: left center;
  transition:
    width 260ms ease,
    height 260ms ease,
    opacity 260ms ease;
}

.brand-tm {
  position: absolute;
  top: 8px;
  right: 1.3em;
  color: var(--forest);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
}

.brand small {
  max-width: 11.5em;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  transition:
    max-width 260ms ease,
    opacity 220ms ease,
    transform 260ms ease;
}

.site-header.is-compact .brand {
  gap: 0;
}

.site-header.is-compact .brand-logo {
  width: 96px;
  height: 38px;
}

.site-header.is-compact .brand small {
  display: none;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-8px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  color: #31475f;
  font-size: 0.94rem;
  text-align: center;
  transition:
    gap 260ms ease,
    font-size 260ms ease;
}

.nav-links a {
  position: relative;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    padding 260ms ease;
}

.site-header.is-compact .nav-links {
  gap: clamp(0.35rem, 1.4vw, 1rem);
  font-size: 0.9rem;
}

.site-header.is-compact .nav-links a {
  padding: 7px 9px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--forest);
  background: rgba(216, 239, 255, 0.62);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.lang-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-width: 112px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f8ff;
  transition:
    min-width 260ms ease,
    opacity 260ms ease,
    transform 260ms ease;
}

.site-header.is-compact .lang-switch {
  min-width: 88px;
}

.lang-switch button {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition:
    padding 260ms ease,
    font-size 260ms ease;
}

.site-header.is-compact .lang-switch button {
  padding: 6px 8px;
  font-size: 0.78rem;
}

.lang-switch button.active {
  color: var(--white);
  background: var(--teal);
}

.hero,
.section {
  position: relative;
  width: 100%;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform 520ms ease;
}

.hero > *,
.section > * {
  position: relative;
  z-index: 1;
}

.section > * {
  width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
}

.section {
  scroll-margin-top: 110px;
}

.hero::before,
.section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: var(--section-bg);
  background-position: var(--section-bg-position, center);
  background-size: cover;
  opacity: 0.28;
  filter: saturate(1.02) contrast(0.96);
  transform: scale(1.02);
  transition:
    opacity 700ms ease,
    transform 900ms ease,
    filter 900ms ease;
}

.hero::after,
.section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.18) 100%),
    rgba(232, 246, 255, 0.08);
  -webkit-backdrop-filter: blur(2px) saturate(1.04);
  backdrop-filter: blur(2px) saturate(1.04);
}

.hero.is-section-active,
.section.is-section-active {
  transform: translate3d(0, 0, 0);
}

.hero.is-section-active::before,
.section.is-section-active::before {
  filter: saturate(1.14) contrast(1.02);
  opacity: 0.34;
  transform: scale(1.035);
}

.hero.is-section-active.is-entering::before,
.section.is-section-active.is-entering::before {
  animation: bgBreathIn 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero.is-section-active.is-entering > *,
.section.is-section-active.is-entering > * {
  animation: sectionLiftIn 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero.is-section-active.is-entering > :nth-child(2),
.company-section.is-section-active.is-entering .company-carousel,
.products.is-section-active.is-entering .product-grid,
.stories.is-section-active.is-entering .story-grid,
.partnership.is-section-active.is-entering .partner-layout,
.cases.is-section-active.is-entering .scenario-grid,
.contact.is-section-active.is-entering .contact-card {
  animation-delay: 110ms;
}

.hero {
  --section-bg: url("assets/hero-background.jpg");
  --section-bg-position: center;
}

.company-section {
  --section-bg: url("assets/company-office.jpg");
  --section-bg-position: center;
}

.products {
  --section-bg: url("assets/product-family-boxes.png");
  --section-bg-position: center 34%;
}

.stories {
  --section-bg: url("assets/nancy-kittens-1-optimized.jpg");
  --section-bg-position: center 38%;
}

.partnership {
  --section-bg: url("assets/partnership-background.jpg");
  --section-bg-position: center;
}

.cases {
  --section-bg: url("assets/hero-background.jpg");
  --section-bg-position: center;
}

.contact {
  --section-bg: url("assets/contact-background.jpg");
  --section-bg-position: center;
}

.contact::before {
  opacity: 0.38;
  filter: saturate(1.18) contrast(1.04);
  transform: scale(1);
}

.contact::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.42) 44%, rgba(255, 255, 255, 0.12) 100%),
    rgba(232, 246, 255, 0.04);
  -webkit-backdrop-filter: blur(1px) saturate(1.03);
  backdrop-filter: blur(1px) saturate(1.03);
}

.contact.is-section-active::before {
  filter: saturate(1.24) contrast(1.06);
  transform: scale(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.9fr);
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding:
    clamp(3rem, 7vw, 5.5rem)
    max(var(--page-gutter), calc((100vw - var(--page-width)) / 2))
    clamp(3rem, 6vw, 4.75rem);
}

.hero-copy,
.section-heading,
.section-body,
.company-copy,
.centered {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 34px rgba(255, 255, 255, 0.4);
}

.company-copy,
.centered {
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 5.2vw, 5.25rem);
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.64);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.64);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.hero-text,
.section-body > p {
  max-width: 660px;
  color: #465d73;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.85;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  padding: 0 20px;
  color: var(--forest);
  font-weight: 800;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(224, 243, 255, 0.16)),
    linear-gradient(315deg, var(--glass-back-blue), transparent 58%),
    var(--glass-front);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
  backdrop-filter: blur(22px) saturate(1.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.split-title {
  display: block;
  overflow: hidden;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

.split-space {
  white-space: pre-wrap;
}

.split-char {
  display: inline-block;
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(0, 0.8em, 0) scale(0.96);
  transform-origin: center bottom;
  transition:
    opacity 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 620ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--split-index) * 24ms);
  will-change: transform, opacity, filter;
}

.split-title-visible .split-char {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.button:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(216, 239, 255, 0.22)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.28), transparent 58%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth-hover);
  transform: translateY(-2px);
}

.button.primary {
  color: #0e5f9e;
  border-color: rgba(45, 143, 202, 0.46);
  background:
    linear-gradient(145deg, rgba(106, 187, 232, 0.34), rgba(255, 255, 255, 0.36)),
    linear-gradient(315deg, rgba(107, 141, 240, 0.24), transparent 58%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    0 24px 56px rgba(45, 143, 202, 0.2);
}

.button.ghost {
  color: var(--forest);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(232, 246, 255, 0.14)),
    linear-gradient(315deg, rgba(123, 131, 216, 0.14), transparent 58%),
    var(--glass-front);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 42px 0 0;
}

.hero-metrics div {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(224, 243, 255, 0.12)),
    linear-gradient(315deg, var(--glass-back-blue), transparent 62%),
    var(--glass-front);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
}

.hero-metrics dt {
  color: var(--forest);
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  font-weight: 900;
}

.hero-metrics dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: clamp(540px, 46vw, 640px);
}

.visual-card {
  display: grid;
  height: clamp(500px, 58vw, 640px);
  min-height: 500px;
  place-items: center;
  border: 1px solid var(--glass-rim);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.18)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.22), transparent 58%),
    linear-gradient(55deg, rgba(123, 131, 216, 0.16), transparent 62%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(28px) saturate(1.32);
  backdrop-filter: blur(28px) saturate(1.32);
  overflow: hidden;
}

.visual-card > img {
  width: min(88%, 440px);
  animation: hoverFloat 6s ease-in-out infinite;
}

.hero-sample-carousel {
  position: relative;
  padding: 44px 78px 58px;
}

.main-product-badge {
  position: absolute;
  top: clamp(18px, 2vw, 28px);
  left: clamp(18px, 2vw, 28px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 999px;
  padding: 0 18px;
  color: #0f5fa8;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.14)),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    0 14px 28px rgba(36, 110, 176, 0.13);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
  backdrop-filter: blur(22px) saturate(1.28);
  cursor: default;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.main-product-badge:hover,
.main-product-badge:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 34px rgba(36, 110, 176, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.main-product-tip {
  position: absolute;
  top: calc(clamp(18px, 2vw, 28px) + 48px);
  left: clamp(18px, 2vw, 28px);
  z-index: 6;
  width: min(310px, calc(100% - 48px));
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  padding: 14px 16px;
  color: #173755;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.55;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(224, 243, 255, 0.16)),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    0 18px 40px rgba(26, 87, 145, 0.16);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  backdrop-filter: blur(24px) saturate(1.24);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 8px, 0) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.main-product-badge:hover + .main-product-tip,
.main-product-badge:focus-visible + .main-product-tip {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-carousel-stage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
}

.hero-sample-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 16px, 0) scale(0.94);
  transition:
    opacity 380ms ease,
    transform 420ms ease;
}

.hero-sample-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.sample-test-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(24, 90, 157, 0.18));
  transform-origin: center;
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.sample-test-image.tall {
  width: auto;
  height: clamp(330px, 42vw, 520px);
  max-width: min(48%, 300px);
  max-height: calc(100% - 2px);
}

.sample-test-image.compact {
  width: min(70%, 400px);
  height: auto;
  max-height: min(100%, 520px);
}

.sample-test-image.hero-retail-kit {
  width: min(86%, 560px);
  height: auto;
  max-height: min(88%, 560px);
  object-fit: contain;
}

.sample-test-image.hero-blood-kit {
  width: min(88%, 600px);
}

.sample-test-image.hero-urine-kit {
  width: min(84%, 560px);
}

.hero-sample-slide.active:hover .sample-test-image,
.sample-test-image:hover {
  filter: drop-shadow(0 32px 44px rgba(24, 90, 157, 0.28));
  transform: scale(1.04);
}

.hero-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 999px;
  color: var(--forest);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.14)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.2), transparent 58%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    0 10px 24px rgba(35, 99, 158, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
  backdrop-filter: blur(22px) saturate(1.28);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.hero-carousel-button:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(224, 243, 255, 0.32)),
    rgba(255, 255, 255, 0.36);
  transform: translateY(-50%) scale(1.06);
}

.hero-carousel-button.prev {
  left: 24px;
}

.hero-carousel-button.next {
  right: 24px;
}

.hero-carousel-dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(24, 90, 157, 0.24);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    width 180ms ease;
}

.hero-carousel-dots button.active {
  width: 24px;
  background: var(--teal);
}

.floating-note {
  position: absolute;
  display: grid;
  min-width: 126px;
  min-height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 35px rgba(35, 99, 158, 0.16);
  animation: drift 5.8s ease-in-out infinite;
}

.note-one {
  top: 13%;
  right: 0;
  background: var(--coral);
}

.note-two {
  bottom: 18%;
  left: 0;
  background: var(--violet);
  animation-delay: -2s;
}

.section {
  min-height: min(900px, calc(100vh - 85px));
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.centered {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-body > p {
  margin-top: 0;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.company-copy {
  display: grid;
  gap: 22px;
}

.company-copy .section-heading {
  max-width: 620px;
}

.company-copy > p {
  max-width: 640px;
  margin: 0;
  color: #465d73;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  line-height: 1.78;
}

.company-carousel {
  position: relative;
  position: sticky;
  top: 112px;
  margin: 0;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(229, 246, 255, 0.16)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.18), transparent 62%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
  overflow: hidden;
}

.company-stage {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  min-height: clamp(430px, 42vw, 560px);
  max-height: calc(100vh - 170px);
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(237, 247, 255, 0.5);
}

.company-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition:
    opacity 420ms ease,
    transform 520ms ease;
}

.company-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.company-slide img,
.company-slide video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    filter 220ms ease,
    transform 260ms ease;
}

.company-slide video {
  display: block;
}

.company-slide-packaging img {
  object-position: center 42%;
  transform: scale(1.08);
}

.company-slide.active:hover img,
.company-slide.active:hover video {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.company-slide-packaging.active:hover img {
  transform: scale(1.1);
}

.company-profile {
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(224, 243, 255, 0.12)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.18), transparent 62%),
    var(--glass-front);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
}

.company-profile::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 36%),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.38), transparent 26%);
}

.company-profile > * {
  position: relative;
  z-index: 1;
}

.company-profile h3 {
  color: var(--forest);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.22;
}

.company-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.value-grid article,
.product-card,
.story-card,
.partner-panel,
.case-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(224, 243, 255, 0.12)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.2), transparent 62%),
    linear-gradient(55deg, rgba(123, 131, 216, 0.12), transparent 66%),
    var(--glass-front);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
}

.hero-metrics div::before,
.value-grid article::before,
.product-card::before,
.story-card::before,
.partner-panel::before,
.case-grid article::before,
.scenario-card::before,
.contact-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 34%),
    linear-gradient(205deg, transparent 62%, rgba(45, 143, 202, 0.08)),
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.46), transparent 28%);
}

.hero-metrics div > *,
.value-grid article > *,
.product-card > *,
.story-card > *,
.partner-panel > *,
.case-grid article > *,
.scenario-card > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.value-grid article {
  padding: 20px;
}

.value-grid p,
.product-card p,
.story-card p,
.case-grid p,
.partner-panel li {
  color: var(--muted);
  line-height: 1.7;
}

.icon-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
}

.icon-dot.amber {
  background: var(--amber);
}

.icon-dot.green {
  background: var(--forest);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.product-card {
  padding: 26px;
}

.product-card.featured {
  grid-row: span 3;
  display: grid;
  align-content: space-between;
  gap: 28px;
  min-height: 720px;
}

.product-media {
  display: grid;
  min-height: 280px;
  place-items: center;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(216, 239, 255, 0.1)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-inset);
  -webkit-backdrop-filter: blur(26px) saturate(1.28);
  backdrop-filter: blur(26px) saturate(1.28);
}

.product-carousel {
  position: relative;
  min-height: 540px;
  padding: 30px 58px 52px;
  perspective: 1000px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center 72%, rgba(45, 143, 202, 0.12), transparent 44%),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.78), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(231, 245, 255, 0.44));
}

.carousel-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 452px;
  place-items: center;
}

.product-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 18px, -80px) rotateY(-12deg) scale(0.9);
  transition:
    opacity 420ms ease,
    transform 520ms ease;
}

.product-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) rotateY(-6deg) rotateX(3deg) scale(1);
}

.product-photo-slide.active {
  transform: translate3d(0, 0, 0) scale(1);
}

.product-slide.active:hover {
  transform: translate3d(0, -2px, 0) rotateY(-4deg) rotateX(2deg) scale(1.045);
}

.product-photo-slide.active:hover {
  transform: translate3d(0, -2px, 0) scale(1.025);
}

.product-box-cutout {
  position: relative;
  z-index: 1;
  max-width: none;
  object-fit: contain;
  transform: translateZ(34px);
  filter: drop-shadow(0 24px 30px rgba(24, 90, 157, 0.2));
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.product-slide.active:hover .product-box-cutout {
  filter: drop-shadow(0 32px 42px rgba(24, 90, 157, 0.28));
  transform: translateZ(46px);
}

.product-slide.active .product-box-cutout:hover {
  filter: drop-shadow(0 34px 44px rgba(24, 90, 157, 0.3));
  transform: translateZ(48px) scale(1.025);
}

.vertical-box {
  width: min(86%, 430px);
  max-height: 360px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.horizontal-box {
  width: min(98%, 560px);
  max-height: 430px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

.family-boxes {
  width: min(100%, 560px);
  max-height: 420px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

.retail-urine-kit,
.retail-blood-kit {
  width: min(94%, 560px);
  max-height: 430px;
  object-fit: contain;
  background: transparent;
}

.retail-blood-kit {
  width: min(96%, 600px);
}

.product-shadow {
  position: absolute;
  bottom: 24px;
  width: min(62%, 360px);
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30, 91, 154, 0.2), transparent 68%);
  filter: blur(4px);
  transform: rotateX(72deg);
}

.product-amazon-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 820px;
  margin: 22px auto 0;
  padding: 20px 24px;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(228, 245, 255, 0.46)),
    rgba(255, 255, 255, 0.22);
  box-shadow: var(--glass-inset);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
  backdrop-filter: blur(24px) saturate(1.18);
}

.product-amazon-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 999px;
  color: var(--forest);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.14)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.2), transparent 58%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    0 10px 24px rgba(35, 99, 158, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
  backdrop-filter: blur(22px) saturate(1.28);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.carousel-button:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(224, 243, 255, 0.32)),
    rgba(255, 255, 255, 0.36);
  transform: translateY(-50%) scale(1.06);
}

.carousel-button.prev {
  left: 14px;
}

.carousel-button.next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(24, 90, 157, 0.24);
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease,
    width 180ms ease;
}

.carousel-dots button.active {
  width: 24px;
  background: var(--teal);
}

.status {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #5f5140;
  background: rgba(242, 187, 95, 0.24);
  font-size: 0.76rem;
  font-weight: 900;
}

.status.live {
  color: var(--forest);
  background: rgba(216, 239, 255, 0.88);
}

.stories {
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.story-card {
  display: grid;
  align-content: start;
  min-height: 390px;
  padding: 18px;
}

.story-card > img,
.story-photo-duo,
.story-photo-gallery {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: rgba(237, 247, 255, 0.52);
}

.story-card > img {
  object-fit: cover;
}

.story-photo-duo,
.story-photo-gallery {
  display: grid;
  gap: 10px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(216, 239, 255, 0.14)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.16), transparent 62%),
    var(--glass-front);
  box-shadow: var(--glass-inset);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
}

.story-photo-duo {
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16 / 10;
}

.story-photo-gallery {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  aspect-ratio: 16 / 11;
}

.story-photo-gallery figure:nth-child(-n + 2) {
  grid-column: span 3;
}

.story-photo-gallery figure:nth-child(n + 3) {
  grid-column: span 2;
}

.story-photo-duo figure,
.story-photo-gallery figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  margin: 0;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.story-photo-duo img,
.story-photo-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.story-card h3 {
  margin-top: 18px;
}

.story-card.kittens {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(216, 239, 255, 0.36), rgba(255, 255, 255, 0.68)),
    var(--glass);
}

.partner-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
}

.partner-panel {
  padding: 30px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(216, 239, 255, 0.44)),
    var(--glass);
}

.partner-panel h3,
.partner-panel li {
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  content: "";
  background: var(--amber);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.case-grid article {
  padding: 26px;
}

.case-grid span {
  display: inline-flex;
  margin-bottom: 60px;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scenario-card {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(224, 243, 255, 0.12)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.18), transparent 62%),
    linear-gradient(55deg, rgba(123, 131, 216, 0.12), transparent 66%),
    var(--glass-front);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.scenario-card:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.18)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.24), transparent 62%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth-hover);
  transform: translateY(-4px);
}

.scenario-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center 35%;
  background: rgba(255, 255, 255, 0.36);
}

.scenario-card:nth-child(2) img {
  object-position: center 28%;
}

.scenario-card div {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.scenario-card span {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--forest);
  background: rgba(216, 239, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.scenario-card p {
  margin: 0;
  color: #465d73;
  line-height: 1.72;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(216, 239, 255, 0.1)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.18), transparent 62%),
    linear-gradient(55deg, rgba(123, 131, 216, 0.12), transparent 66%),
    rgba(255, 255, 255, 0.18);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  -webkit-backdrop-filter: blur(26px) saturate(1.28);
  backdrop-filter: blur(26px) saturate(1.28);
}

.contact-card .eyebrow,
.contact-card h2 {
  color: var(--ink);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.44), rgba(224, 243, 255, 0.1)),
    rgba(255, 255, 255, 0.2);
  box-shadow:
    var(--glass-inset),
    0 12px 28px rgba(35, 99, 158, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.contact-list a:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(224, 243, 255, 0.16)),
    var(--glass-front-strong);
  transform: translateY(-2px);
}

.contact-list a > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.contact-list small {
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  padding: 10px;
  color: var(--forest);
  background: rgba(216, 239, 255, 0.28);
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  color: var(--text);
  font-weight: 800;
}

.footer-brand sup {
  position: relative;
  top: -0.25em;
  color: var(--forest);
  font-size: 0.56em;
  font-weight: 900;
  line-height: 1;
}

.error-page {
  min-height: 100vh;
}

.error-main {
  min-height: calc(100vh - 176px);
  padding: clamp(42px, 8vw, 92px) var(--page-gutter);
  place-items: center;
}

.error-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  width: min(var(--page-width), 100%);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(224, 243, 255, 0.18)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.14), transparent 62%),
    rgba(255, 255, 255, 0.38);
  box-shadow: var(--glass-inset), var(--glass-depth);
  -webkit-backdrop-filter: blur(28px) saturate(1.25);
  backdrop-filter: blur(28px) saturate(1.25);
}

.error-copy {
  max-width: 640px;
}

.error-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
}

.error-copy p:not(.eyebrow) {
  max-width: 36rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.8;
}

.error-visual {
  display: grid;
  min-height: 320px;
  place-items: center;
}

.error-visual img {
  width: min(100%, 480px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(24, 90, 157, 0.22));
}

.expo-invite {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  width: min(var(--page-width), calc(100% - (var(--page-gutter) * 2)));
  margin: clamp(42px, 7vw, 86px) auto 0;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(232, 246, 255, 0.18)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.2), transparent 62%),
    linear-gradient(55deg, rgba(123, 131, 216, 0.14), transparent 66%),
    var(--glass-front-strong);
  box-shadow:
    var(--glass-inset),
    var(--glass-depth);
  text-align: center;
  -webkit-backdrop-filter: blur(26px) saturate(1.28);
  backdrop-filter: blur(26px) saturate(1.28);
}

.expo-copy {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.expo-copy h2 {
  max-width: 760px;
}

.expo-copy p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.8;
}

.expo-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  text-align: left;
}

.expo-news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--glass-rim-soft);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(224, 243, 255, 0.12)),
    linear-gradient(315deg, rgba(45, 143, 202, 0.18), transparent 62%),
    var(--glass-front);
  box-shadow:
    var(--glass-inset),
    0 14px 34px rgba(35, 99, 158, 0.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.24);
  backdrop-filter: blur(24px) saturate(1.24);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.expo-news-card:hover {
  box-shadow: 0 20px 44px rgba(35, 99, 158, 0.14);
  transform: translateY(-3px) scale(1.015);
}

.expo-news-logo {
  display: grid;
  min-height: 118px;
  padding: clamp(18px, 2vw, 24px);
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.26);
}

.expo-news-logo img {
  width: 100%;
  max-width: 210px;
  height: 76px;
  object-fit: contain;
}

.expo-news-logo img.expo-news-logo-vet-expo {
  max-width: 260px;
}

.expo-news-logo img.expo-news-logo-wsava {
  max-width: 190px;
}

.expo-news-logo img.expo-news-logo-london {
  max-width: 260px;
  height: 92px;
}

.expo-news-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(20px, 2.4vw, 26px);
}

.expo-news-date {
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expo-news-body h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.45;
}

.expo-news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.expo-news-meta {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
}

.expo-news-meta div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid rgba(99, 161, 205, 0.18);
}

.expo-news-meta dt,
.expo-news-meta dd {
  margin: 0;
}

.expo-news-meta dt {
  color: rgba(42, 68, 92, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.expo-news-meta dd {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

[data-reveal] {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 46px, 0) scale(0.96);
  transform-origin: center bottom;
  transition:
    opacity 780ms ease,
    filter 780ms ease,
    transform 820ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, filter, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.product-grid [data-reveal]:nth-child(2),
.story-grid [data-reveal]:nth-child(2),
.case-grid [data-reveal]:nth-child(2),
.scenario-grid [data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

.product-grid [data-reveal]:nth-child(3),
.story-grid [data-reveal]:nth-child(3),
.case-grid [data-reveal]:nth-child(3),
.scenario-grid [data-reveal]:nth-child(3) {
  transition-delay: 180ms;
}

.product-grid [data-reveal]:nth-child(4),
.story-grid [data-reveal]:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes sectionLiftIn {
  0% {
    opacity: 0.82;
    transform: translate3d(0, 34px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes bgBreathIn {
  0% {
    filter: saturate(1.02) contrast(0.96);
    transform: scale(1.075);
  }
  100% {
    filter: saturate(1.14) contrast(1.02);
    transform: scale(1.035);
  }
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(-3deg) scale(1.02);
  }
  50% {
    transform: translate3d(3%, 4%, 0) rotate(2deg) scale(1.08);
  }
  100% {
    transform: translate3d(6%, -1%, 0) rotate(-1deg) scale(1.04);
  }
}

@keyframes auroraWave {
  0% {
    transform: translate3d(5%, 4%, 0) rotate(2deg) scale(1.08);
  }
  50% {
    transform: translate3d(-3%, -2%, 0) rotate(-2deg) scale(1.02);
  }
  100% {
    transform: translate3d(-6%, 3%, 0) rotate(1deg) scale(1.06);
  }
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@media (min-width: 1440px) {
  :root {
    --page-width: 1320px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.82fr);
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-text,
  .section-body > p {
    max-width: 700px;
  }

  .product-grid {
    grid-template-columns: minmax(640px, 1.15fr) minmax(320px, 0.85fr);
  }

  .story-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .story-card.kittens {
    grid-column: span 2;
  }
}

@media (max-width: 1180px) {
  :root {
    --page-width: 1080px;
    --page-gutter: clamp(18px, 3vw, 32px);
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
    gap: clamp(1.75rem, 4vw, 3rem);
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-stage {
    min-height: clamp(340px, 42vw, 430px);
  }

  .product-card.featured {
    min-height: 660px;
  }

  .product-carousel {
    min-height: 500px;
  }

  .carousel-stage {
    min-height: 410px;
  }

  .family-boxes {
    width: min(100%, 500px);
    max-height: 380px;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    max-width: 820px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 0;
  }

  .visual-card {
    height: clamp(440px, 54vw, 560px);
    min-height: 440px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 2px max(12px, calc((100vw - var(--page-width)) / 2));
    scroll-padding-inline: 50%;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    text-align: center;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    scroll-snap-align: center;
  }

  .nav-links::before,
  .nav-links::after {
    display: block;
    flex: 0 0 clamp(96px, 36vw, 170px);
    content: "";
  }

  .site-header.is-compact {
    align-items: center;
  }

  .site-header.is-compact .nav-links {
    order: 2;
    flex-basis: auto;
    width: auto;
    min-width: 0;
  }

  .hero,
  .split,
  .company-layout,
  .partner-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 2.5rem;
    max-width: none;
  }

  .hero-visual {
    min-height: 0;
  }

  .visual-card {
    height: clamp(460px, 64vw, 560px);
    min-height: 460px;
  }

  .section-heading,
  .section-body,
  .hero-copy {
    max-width: 760px;
  }

  .company-stage {
    min-height: 320px;
  }

  .company-carousel {
    position: relative;
    top: auto;
  }

  .product-grid,
  .story-grid,
  .scenario-grid,
  .case-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 0;
  }

  .product-carousel {
    min-height: 500px;
  }

  .carousel-stage {
    min-height: 410px;
  }

  .story-card.kittens {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 12px;
  }

  .hero,
  .section {
    width: 100%;
  }

  .section > *,
  .footer {
    width: min(100% - 24px, var(--page-width));
  }

  .site-header {
    gap: 0.75rem;
    padding: 9px 12px;
  }

  .nav-links {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    flex-basis: calc(100vw - 24px);
  }

  .site-header.is-compact {
    gap: 0.4rem;
    padding: 5px 8px;
  }

  .brand-tm {
    top: 6px;
    right: 1.18em;
    font-size: 0.52rem;
  }

  .site-header.is-compact .brand-tm {
    top: 3px;
    right: 1em;
    font-size: 0.46rem;
  }

  .site-header.is-compact .brand,
  .site-header.is-compact .lang-switch {
    display: none;
  }

  .brand {
    max-width: calc(100% - 128px);
    gap: 8px;
  }

  .brand-logo {
    width: 132px;
    height: 50px;
  }

  .site-header.is-compact .brand-logo {
    width: 74px;
    height: 30px;
  }

  .brand small {
    max-width: 9.5em;
    font-size: 0.72rem;
  }

  .site-header.is-compact .lang-switch {
    min-width: 74px;
  }

  .site-header.is-compact .nav-links {
    order: 1;
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    flex-basis: calc(100vw - 16px);
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
    font-size: 0.82rem;
  }

  .site-header.is-compact .nav-links a {
    padding: 6px 7px;
  }

  .hero {
    padding-right: 12px;
    padding-left: 12px;
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 3.65rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }

  .hero-text,
  .section-body > p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .section {
    padding: 3.5rem 0;
  }

  .product-grid,
  .story-grid,
  .scenario-grid,
  .case-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .hero-metrics div {
    padding: 12px 8px;
  }

  .hero-metrics dt {
    font-size: 0.95rem;
  }

  .hero-metrics dd {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .visual-card {
    height: clamp(340px, 68vh, 440px);
    min-height: 340px;
  }

  .hero-sample-carousel {
    padding: 24px 42px 40px;
  }

  .hero-carousel-stage {
    min-height: 0;
  }

  .sample-test-image.tall {
    width: auto;
    height: clamp(220px, 62vw, 320px);
    max-width: min(58%, 190px);
    max-height: calc(100% - 2px);
  }

  .sample-test-image.compact {
    width: min(76%, 260px);
    max-height: min(100%, 320px);
  }

  .sample-test-image.hero-retail-kit,
  .sample-test-image.hero-blood-kit,
  .sample-test-image.hero-urine-kit {
    width: min(100%, 340px);
    max-height: 300px;
  }

  .hero-carousel-button {
    width: 34px;
    height: 34px;
    font-size: 1.55rem;
  }

  .product-carousel {
    min-height: 390px;
    padding: 16px 40px 40px;
  }

  .carousel-stage {
    min-height: 310px;
  }

  .vertical-box {
    width: min(46%, 180px);
    max-height: 310px;
  }

  .horizontal-box {
    width: min(104%, 340px);
  }

  .family-boxes {
    width: min(100%, 340px);
    max-height: 270px;
  }

  .retail-urine-kit,
  .retail-blood-kit {
    width: min(100%, 380px);
    max-height: 300px;
  }

  .product-amazon-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
  }

  .product-amazon-cta .button {
    justify-content: center;
  }

  .carousel-button {
    width: 34px;
    height: 34px;
    font-size: 1.55rem;
  }

  .floating-note {
    position: static;
    margin-top: 10px;
  }

  .note-two {
    margin-left: 34%;
  }

  .story-card {
    min-height: auto;
  }

  .company-carousel {
    margin: 22px 0;
    padding: 10px;
  }

  .company-stage {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }

  .value-grid article,
  .product-card,
  .story-card,
  .case-grid article,
  .partner-panel {
    padding: 20px;
  }

  .story-photo-duo,
  .story-photo-gallery {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .story-photo-gallery figure:nth-child(-n + 2),
  .story-photo-gallery figure:nth-child(n + 3) {
    grid-column: auto;
  }

  .story-photo-duo figure,
  .story-photo-gallery figure {
    aspect-ratio: 4 / 3;
  }

  .footer {
    justify-content: center;
    text-align: center;
  }

  .error-main {
    min-height: auto;
    padding: 32px var(--page-gutter);
  }

  .error-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: center;
  }

  .error-copy,
  .error-copy p:not(.eyebrow) {
    max-width: none;
  }

  .error-panel .hero-actions {
    justify-content: center;
  }

  .error-visual {
    min-height: 180px;
  }

  .error-visual img {
    max-height: 220px;
  }

  .expo-invite {
    padding: 24px 16px;
  }

  .expo-news-grid {
    grid-template-columns: 1fr;
  }

  .expo-news-logo {
    min-height: 104px;
  }

  .expo-news-meta div {
    grid-template-columns: 64px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .aurora-background::before,
  .aurora-background::after {
    animation: none !important;
  }
}
