/* ─────────────────────────────────────────
   KOA Pet Wellness
   Palette: 墨绿 / 米色 / 浅黄  ·  Editorial
   ───────────────────────────────────────── */

:root {
  /* Palette */
  --ink:        #1a2d1a;   /* 墨绿 — headlines, dark sections */
  --forest:     #1e3d20;   /* slightly lighter dark green */
  --moss:       #4a7a48;   /* mid green for accents */
  --sage:       #a8c8a4;   /* pale sage */
  --cream:      #f3ede2;   /* 米色 — main background */
  --ivory:      #f8f4ec;   /* lighter ivory for alternating sections */
  --yellow:     #c8b49a;   /* 温柔米色 — accent / highlight */
  --yellow-pale:#ece7df;   /* very pale beige for subtle backgrounds */
  --warm-white: #fdfaf5;
  --text:       #1a1a18;
  --text-mid:   #4a4840;
  --text-lt:    #8a8478;
  --rule:       #ddd5c4;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t:    0.28s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Labels / Eyebrows ── */
.label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
}
.label--light { color: var(--yellow); }
.label--cream  { color: var(--cream); opacity: 0.7; }

/* ── Horizontal rule ── */
.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--t) var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 45, 26, 0.25);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: #d4c555;
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────
   NAV
   ───────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

#navbar.scrolled {
  background: rgba(243, 237, 226, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { transition: opacity var(--t); }
.nav-logo:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color var(--t);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

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

#navbar.scrolled .nav-links a { color: var(--text); }
#navbar.scrolled .nav-links a:hover { color: var(--ink); }

.nav-cta {
  background: var(--yellow);
  color: var(--ink) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background var(--t), transform var(--t) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: #d4c555 !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--cream);
  border-radius: 1px;
  transition: background var(--t);
}
#navbar.scrolled .hamburger span { background: var(--ink); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(248, 244, 236, 0.98);
  border-top: 1px solid var(--rule);
}
.mobile-menu a {
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--rule);
}
.mobile-menu.open { display: flex; }


/* ─────────────────────────────────────────
   HERO  (split — left: cream / right: ink)
   ───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 58% 42%;
}

.hero-left {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 5rem 6rem 5rem;
  position: relative;
}

/* Yellow accent stripe on left edge */
.hero-left::before {
  content: '';
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 4px;
  background: var(--yellow);
  border-radius: 0 2px 2px 0;
}

.hero-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 2.5rem;
}

.hero-left h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2rem;
}

.hero-left h1 em {
  font-style: italic;
  color: var(--forest);
  position: relative;
  display: inline-block;
}

/* Yellow underline on italic word */
.hero-left h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.hero-sub {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Right panel */
.hero-right {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

/* Decorative rings */
.hero-right::before,
.hero-right::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-right::before { width: 500px; height: 500px; top: -150px; right: -150px; }
.hero-right::after  { width: 360px; height: 360px; bottom: -120px; left: -80px; }

.hero-emblem {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  position: relative;
  z-index: 1;
}

/* Make the logo white via filter */
.hero-emblem img { filter: brightness(0) invert(1); opacity: 0.9; }

.hero-origin {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}
.hero-origin strong {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Hero product list ── */
.hero-product-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0.5rem;
}

.hero-product-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}

.hero-product-list em {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  font-style: normal;
  color: var(--yellow);
  opacity: 0.7;
  line-height: 1;
  flex-shrink: 0;
}

.hero-product-list span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}


/* ─────────────────────────────────────────
   PRODUCTS
   ───────────────────────────────────────── */
#products {
  padding: 7rem 0 5rem;
  background: var(--ivory);
}

.section-intro {
  max-width: 560px;
  margin-bottom: 5rem;
}

.section-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-intro h2 em { font-style: italic; color: var(--forest); }

.section-intro p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Product article row */
.product-row {
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 300px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  transition: box-shadow var(--t) var(--ease);
}

.product-row--alt {
  background: var(--yellow-pale);
}

.product-row:hover {
  box-shadow: 0 16px 48px rgba(26, 45, 26, 0.08);
}

.product-row--alt .pr-number { color: rgba(26, 45, 26, 0.06); }

/* Large decorative background number */
.pr-number {
  position: absolute;
  top: -0.1em;
  right: 0.75rem;
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(26, 45, 26, 0.04);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  z-index: 0;
}

.pr-body {
  padding: 3rem;
  position: relative;
  z-index: 1;
}

/* Product header */
.pr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pr-title-group { display: flex; flex-direction: column; gap: 0.5rem; }

.pr-code {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
}

.pr-title-group h3 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pr-title-group h3 em { font-style: italic; color: var(--forest); }

.pr-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-lt);
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  width: fit-content;
}

.pr-vol {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  opacity: 0.2;
  flex-shrink: 0;
  align-self: flex-start;
}
.pr-vol span {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 0.2rem;
}

/* Detail columns */
.pr-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 2rem;
}

/* ── Product image panel ── */
.pr-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: linear-gradient(150deg, rgba(74,122,72,0.08) 0%, rgba(26,45,26,0.05) 100%);
  border-left: 1px solid var(--rule);
}

.pr-image--right { order: 2; }

.pr-image--left {
  order: 2;
  border-left: 1px solid var(--rule);
  border-right: none;
}

.product-row--alt .pr-image {
  background: linear-gradient(150deg, rgba(232,217,108,0.12) 0%, rgba(74,122,72,0.06) 100%);
}

.pr-image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(26,45,26,0.22));
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.product-row:hover .pr-image img {
  transform: translateY(-8px) scale(1.04);
  filter: drop-shadow(0 24px 48px rgba(26,45,26,0.3));
}

/* Description */
.pr-desc p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.pr-benefits {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pr-benefits li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.pr-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px; height: 5px;
  background: var(--yellow);
  border-radius: 50%;
  border: 1.5px solid var(--moss);
}

/* Ingredients */
.pr-ingredients h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 1.25rem;
}

.ingredient-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ing-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.ing-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.5px solid var(--moss);
  margin-top: 0.42rem;
}

.ing-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.ing-item p {
  font-size: 0.78rem;
  color: var(--text-lt);
  line-height: 1.5;
}

/* Pillars strip */
.pr-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.pr-pillars span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--yellow-pale);
  border: 1px solid rgba(74, 122, 72, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}

.product-row--alt .pr-pillars span {
  background: var(--cream);
}

/* ── Shopify buy button wrapper ── */
.shopify-btn-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* ── Product pairing callout ── */
.pairing-callout {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--ink);
  border-radius: 4px;
  padding: 2.25rem 3rem;
  margin-bottom: 2.5rem;
}

.pairing-callout .label {
  color: var(--yellow);
  flex-shrink: 0;
}

.pairing-body {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
}

.pairing-body h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  white-space: nowrap;
  flex-shrink: 0;
}

.pairing-body h4 em {
  font-style: normal;
  color: var(--yellow);
  margin: 0 0.3em;
}

.pairing-body p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   SCIENCE / PHILOSOPHY
   ───────────────────────────────────────── */
#science {
  padding: 7rem 0;
  background: var(--ink);
}

.science-header {
  text-align: center;
  margin-bottom: 5rem;
}

.science-header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.science-header h2 em {
  font-style: italic;
  color: var(--yellow);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.sci-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t);
}
.sci-item:last-child { border-right: none; }
.sci-item:hover { background: rgba(255,255,255,0.03); }

.sci-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--yellow);
  opacity: 0.6;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.sci-item h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sci-item p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}


/* ─────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────── */
#about {
  padding: 8rem 0;
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.about-text .label { display: block; margin-bottom: 0.75rem; }

.about-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.about-text h2 em { font-style: italic; color: var(--forest); }

.about-text p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* Stats */
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-lt);
  line-height: 1.4;
}

/* Mark / visual */
.about-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mark-ring {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f0e3 0%, var(--yellow-pale) 100%);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
}

/* Decorative outer ring */
.mark-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(26, 45, 26, 0.15);
}

.mark-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-lt);
}


/* ─────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────── */
#contact {
  padding: 8rem 0;
  background: var(--yellow-pale);
  border-top: 1px solid rgba(26, 45, 26, 0.1);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left .label { display: block; margin-bottom: 0.75rem; }

.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.contact-left p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-email {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 0.2rem;
  transition: opacity var(--t);
  display: inline-block;
}
.contact-email:hover { opacity: 0.65; }

.contact-card {
  background: var(--warm-white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2.5rem;
  margin-top: 1rem;
}

.cc-heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 1.25rem;
}

.contact-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.contact-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--yellow);
  border: 1.5px solid var(--moss);
  border-radius: 50%;
}


/* ─────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-brand img { filter: brightness(0) invert(1); opacity: 0.7; margin-bottom: 0.25rem; height: 52px; width: auto; }

.footer-brand p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.4;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

.footer-email {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}
.footer-email:hover { color: var(--yellow); }


/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-row,
  .product-row--alt { grid-template-columns: 1fr 240px; }
  .pr-detail { gap: 2.5rem; }
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 9rem 2.5rem 4rem; }
  .hero-left::before { display: none; }
  .hero-right { min-height: 40vh; }
  .pairing-body { flex-direction: column; gap: 0.75rem; }
  .pairing-body h4 { white-space: normal; }
  .product-row,
  .product-row--alt { grid-template-columns: 1fr; }
  .pr-image--right { order: 0; }
  .pr-image--left  { order: 0; border-right: none; }
  .pr-image { border-left: none; border-top: 1px solid var(--rule); padding: 2rem; }
  .pr-image img { max-width: 160px; }
  .pr-detail { grid-template-columns: 1fr; gap: 2rem; }
  .science-grid { grid-template-columns: 1fr; }
  .sci-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .sci-item:last-child { border-bottom: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 1.5rem; }
  .pr-body { padding: 2rem 1.5rem; }
  .pr-number { font-size: 7rem; }
  .footer-layout { flex-direction: column; text-align: center; gap: 1rem; }
  .pairing-callout { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .hero-left h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .about-stats { flex-wrap: wrap; gap: 1.5rem; }
}


/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
   ───────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }
