/* ============================================================
   BIG BOYS ORGANIC EGGS - bigboyseggs.com
   Blue carton brand: deep navy > cobalt, egg-shell white type,
   red badge accents, yolk gold highlights.
   ============================================================ */

:root {
  /* logo blue #195fce and shades of the same hue */
  --navy0: #031843;
  --navy: #062a68;
  --navy2: #0d3f96;
  --cobalt: #195fce;
  --electric: #3f86f5;
  --red: #e03a2f;
  --red-bright: #ff5f52;
  --yolk: #ffb400;
  --shell: #fdf6ec;
  --white: #ffffff;
  --dim: rgba(253, 246, 236, 0.72);
  --faint: rgba(253, 246, 236, 0.46);
  --rule: rgba(255, 255, 255, 0.14);
  --glass: rgba(13, 63, 150, 0.45);
  --nv-green: #4bde80;
  --D: "Montserrat", "Arial Black", sans-serif;
  --B: "DM Sans", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--B);
  color: var(--shell);
  background: var(--navy0);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* gradient lives on a fixed layer: background-attachment:fixed janks on phones */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1300px 900px at 78% -10%, rgba(63, 134, 245, 0.5), transparent 62%),
    radial-gradient(1000px 760px at 8% 34%, rgba(25, 95, 206, 0.4), transparent 58%),
    linear-gradient(180deg, #1355c0 0%, #0a3a8f 42%, var(--navy0) 100%);
}

::selection { background: var(--yolk); color: var(--navy0); }

img, video { max-width: 100%; display: block; }
a { color: inherit; }
sup { line-height: 0; }
sup a { color: var(--faint); text-decoration: none; font-size: 0.7em; }
sup a:hover { color: var(--yolk); }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yolk);
  margin-bottom: 18px;
}

.sec-title {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 22px;
}
.sec-title em {
  font-style: italic;
  color: var(--red-bright);
}

.sec-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--dim);
  max-width: 680px;
  margin-bottom: 44px;
}

/* centred section headings */
.section .eyebrow,
.section .sec-title,
.section .sec-lead,
.anatomy-head {
  text-align: center;
}
.section .sec-lead { margin-left: auto; margin-right: auto; }

/* ---------- dropdowns ---------- */
.drop summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.25s;
}
.drop[open] summary::after { transform: rotate(225deg); }
.drop > p { margin-top: 12px; }
.card.drop h3, .card.drop .card-num { margin-bottom: 0; }
.sci-card.drop h3 { margin-bottom: 0; }
.sci-card.drop .sci-stat {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  min-width: 72px;
}

.drop-plain {
  max-width: 680px;
  margin: -14px auto 44px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: rgba(13, 63, 150, 0.22);
  padding: 16px 20px;
}
.drop-plain summary {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell);
}
.drop-plain p { font-size: 0.92rem; color: var(--dim); }

/* ---------- layout ---------- */
.section { position: relative; z-index: 2; padding: 92px 24px; }
.wrap { max-width: 1160px; margin: 0 auto; }
[id] { scroll-margin-top: 66px; }

/* ---------- nav: burger left, logo centred ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 60px;
  background: rgba(3, 24, 67, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 30px; width: auto; }

.nav-menu-btn {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--glass);
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 0;
}
.nav-menu-btn span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell);
  transition: transform 0.25s, opacity 0.2s;
}
.menu-open .nav-menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .nav-menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 14px;
  min-width: 230px;
  background: rgba(3, 24, 67, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.menu-open .nav-panel { opacity: 1; transform: none; pointer-events: auto; }
.nav-panel a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-panel a:hover { color: var(--white); background: rgba(63, 134, 245, 0.18); }
.nav-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
}
.nav-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yolk), var(--red-bright));
}

/* ---------- 3D canvas ---------- */
#egg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.no-webgl #egg-canvas { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 80px;
}
.hero-inner { max-width: 1160px; margin: 0 auto; width: 100%; }
.hero .eyebrow { color: var(--shell); opacity: 0.85; }
.hero-logo {
  width: min(340px, 64vw);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 6px 30px rgba(3, 24, 67, 0.5));
}

.hero-title {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 8.4vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 4px 60px rgba(3, 24, 67, 0.8);
  margin-bottom: 26px;
  max-width: 12ch;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--red-bright); }

.hero-lead {
  max-width: 520px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--dim);
  margin-bottom: 30px;
  text-shadow: 0 2px 24px rgba(3, 24, 67, 0.9);
}

.no-webgl .hero {
  background: radial-gradient(560px 700px at 74% 52%, rgba(255, 180, 0, 0.14), transparent 65%);
}

/* pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pill-red { background: var(--red); border-color: var(--red); color: var(--white); }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.centre { justify-content: center; margin-top: 8px; }
.btn {
  font-family: var(--B);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-solid {
  background: var(--yolk);
  color: var(--navy0);
  box-shadow: 0 8px 32px rgba(255, 180, 0, 0.25);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255, 180, 0, 0.38); }
.btn-ghost {
  border: 2px solid var(--rule);
  color: var(--white);
  background: var(--glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--electric); transform: translateY(-2px); }

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue span {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--yolk));
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- stat strip ---------- */
.stat-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  background: rgba(3, 24, 67, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 34px 20px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: var(--yolk);
  line-height: 1.1;
}
.stat span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- anatomy (sticky crack scene) ---------- */
.anatomy {
  position: relative;
  z-index: 2;
  height: 300vh;
}
.anatomy-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.anatomy-head {
  position: absolute;
  top: 108px;
  left: 24px;
  right: 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.anatomy-head .sec-lead { margin: 0 auto; }

#anatomyLines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#anatomyLines line {
  stroke: rgba(255, 180, 0, 0.55);
  stroke-width: 1.5;
}
#anatomyLines circle {
  fill: var(--yolk);
}

.callout {
  position: absolute;
  width: min(300px, 40vw);
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  background: rgba(4, 30, 85, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.callout.show { opacity: 1; transform: translateY(0); }
.callout h3 {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--yolk);
}
.callout-sub {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.callout p, .callout li { font-size: 0.88rem; color: var(--dim); line-height: 1.6; }
.callout ul { list-style: none; display: grid; gap: 6px; }
.callout li strong { color: var(--shell); }

#callout-yolk  { left: max(24px, calc(50vw - 560px)); top: 50%; transform: translateY(calc(-50% + 18px)); }
#callout-yolk.show { transform: translateY(-50%); }
#callout-white { right: max(24px, calc(50vw - 560px)); bottom: 16%; }
#callout-shell { right: max(24px, calc(50vw - 560px)); top: 22%; }

.anatomy-foot {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- different / density ---------- */
.density {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}
.density-canvas-wrap {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(3, 24, 67, 0.5);
  padding: 26px;
}
#dotGrid { width: 100%; height: auto; display: block; }
.density-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 16px;
  line-height: 1.6;
}
.density-figures { display: grid; gap: 22px; }
.density-figure {
  border-left: 3px solid var(--rule);
  padding-left: 22px;
}
.density-figure strong {
  display: block;
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.05;
}
.density-figure.dim strong { color: var(--faint); }
.density-figure.lit { border-color: var(--yolk); }
.density-figure.lit strong { color: var(--yolk); }
.density-figure span {
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.5;
  display: block;
  max-width: 260px;
}

/* cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(13, 63, 150, 0.3);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 108, 240, 0.6);
  background: rgba(13, 63, 150, 0.5);
}
.card-num {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--red-bright);
  display: block;
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 10px;
}
.card p { font-size: 0.88rem; color: var(--dim); }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  background: rgba(25, 95, 206, 0.22);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(253, 246, 236, 0.35);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- farm ---------- */
.farm-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin-bottom: 64px;
  background: var(--navy0);
}
.farm-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.farm-media-tag {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(3, 24, 67, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 14px;
}

.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
  counter-reset: none;
}
.timeline li {
  border-top: 3px solid var(--cobalt);
  padding-top: 18px;
}
.timeline li strong {
  display: block;
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--yolk);
  margin-bottom: 8px;
}
.timeline li span { font-size: 0.88rem; color: var(--dim); line-height: 1.6; display: block; }

/* ---------- science ---------- */
.sci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.sci-card {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(13, 63, 150, 0.3);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.sci-card:hover { transform: translateY(-6px); border-color: rgba(255, 180, 0, 0.5); }
.sci-grid .sci-card:last-child { grid-column: 1 / -1; }
.sci-stat {
  display: block;
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--yolk);
  margin-bottom: 14px;
}
.sci-stat small { font-size: 0.5em; }
.sci-card h3 {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 8px;
}
.sci-card p { font-size: 0.88rem; color: var(--dim); }

.sources {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: rgba(13, 63, 150, 0.22);
  padding: 16px 20px;
}
.sources summary {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell);
}
.sources ol { padding-left: 20px; display: grid; gap: 6px; margin-top: 12px; text-align: left; }
.sources li { font-size: 0.82rem; color: var(--dim); }
.sources a { color: var(--dim); text-decoration-color: rgba(255, 180, 0, 0.4); }
.sources a:hover { color: var(--yolk); }
.sci-disclaimer { font-size: 0.75rem; color: var(--faint); margin-top: 20px; }

/* ---------- stockists ---------- */
.stockist-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; }
.stockist-cta {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(25, 95, 206, 0.4), rgba(13, 63, 150, 0.25));
  padding: 38px 40px;
}
.stockist-cta h3 {
  font-family: var(--D);
  font-style: italic;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}
.stockist-cta p { font-size: 0.92rem; color: var(--dim); max-width: 480px; }

/* ---------- verified ---------- */
.verified {
  background: rgba(3, 24, 67, 0.45);
  border-top: 1px solid var(--rule);
}
.vf-nvlogo {
  width: 84px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}
.vf-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 auto 44px;
  max-width: 920px;
}
.vf-item {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: rgba(13, 63, 150, 0.25);
  padding: 14px 18px;
}
.vf-item summary {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--shell);
}
.vf-item summary::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(75, 222, 128, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234bde80' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(75, 222, 128, 0.4);
}
.vf-item p {
  font-size: 0.85rem;
  color: var(--dim);
  padding-left: 32px;
  line-height: 1.6;
}
.vf-disclaimer {
  font-size: 0.75rem;
  color: var(--faint);
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  line-height: 1.7;
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 90px 24px 60px;
  border-top: 1px solid var(--rule);
  overflow: hidden;
}
.footer-logo {
  width: min(460px, 72vw);
  height: auto;
  margin: 0 auto 34px;
}
.footer-nv { text-decoration: none; }
.footer-nv img {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: -5px;
  margin-right: 4px;
}
.footer-line { font-size: 0.9rem; color: var(--dim); margin-bottom: 22px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.footer-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  text-decoration: none;
}
.footer-links a:hover { color: var(--yolk); }
.footer-fine { font-size: 0.75rem; color: var(--faint); }
.footer-fine a { color: var(--nv-green); text-decoration: none; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .stockist-grid { grid-template-columns: 1fr; }
  .stockist-cta { grid-template-columns: 1fr; }
  .sci-grid { grid-template-columns: 1fr 1fr; }
  .sci-card.wide { grid-column: span 2; }
  .density { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}

@media (max-width: 700px) {
  .nav { padding: 11px 56px; }
  .nav-logo { height: 26px; }
  .nav-menu-btn { width: 38px; height: 38px; left: 12px; }
  .section { padding: 52px 16px; }
  .sec-lead { margin-bottom: 24px; font-size: 0.98rem; }
  .sec-title { margin-bottom: 14px; }
  .eyebrow { margin-bottom: 12px; }
  .hero { padding: 96px 18px 84px; }
  .hero-inner { text-align: center; }
  .hero-title { margin-left: auto; margin-right: auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .pill-row, .hero .btn-row { justify-content: center; }
  .hero-logo { width: min(270px, 62vw); margin: 0 auto 18px; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); margin-bottom: 18px; }
  .hero-lead { margin-bottom: 22px; }
  .pill-row { gap: 8px; margin-bottom: 24px; }
  .pill { padding: 6px 11px; font-size: 0.66rem; }
  .btn { padding: 13px 22px; font-size: 0.8rem; }
  .stat { padding: 20px 12px; }
  .card-grid, .sci-grid, .vf-list { gap: 10px; }
  .card, .sci-card { padding: 18px 16px; }
  .sci-grid { margin-bottom: 36px; }
  .density { gap: 20px; margin-bottom: 44px; }
  .density-canvas-wrap { padding: 14px; }
  .density-figures { grid-template-columns: 1fr 1fr; gap: 14px; }
  .density-figure { padding-left: 14px; }
  .timeline { gap: 18px; margin-bottom: 36px; }
  .timeline li { padding-top: 12px; }
  .timeline li strong { font-size: 1.25rem; margin-bottom: 4px; }
  .marquee { padding: 12px 0; }
  .farm-media { margin-bottom: 36px; }
  .stockist-grid { margin-bottom: 36px; }
  .stockist-cta { padding: 24px 20px; gap: 18px; }
  .sources { padding-top: 24px; margin: 0 auto; }
  .vf-list { margin-bottom: 32px; }
  .footer { padding: 52px 16px 36px; }
  .footer-logo { width: min(340px, 74vw); margin-bottom: 22px; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 24, 67, 0.55) 0%, rgba(3, 24, 67, 0.15) 60%, transparent 100%);
    pointer-events: none;
  }
  .hero-inner { position: relative; }
  .hero-lead { text-shadow: 0 2px 18px rgba(3, 24, 67, 1); }
  .stat-strip { grid-template-columns: 1fr 1fr; }

  /* anatomy: sticky crack scene with one caption slot at the bottom */
  .anatomy { height: 260vh; }
  .anatomy-head { top: 76px; }
  .anatomy-head .sec-lead { font-size: 0.9rem; }
  .callout,
  #callout-yolk, #callout-white, #callout-shell {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 88px;
    width: auto;
    padding: 14px 16px;
    transform: translateY(14px);
  }
  #callout-yolk.show, #callout-white.show, #callout-shell.show { transform: none; }
  .callout ul { gap: 3px; }
  .callout li, .callout p { font-size: 0.82rem; }
  .anatomy-foot { bottom: 8px; font-size: 0.6rem; letter-spacing: 0.04em; }

  .card-grid { grid-template-columns: 1fr; }
  .sci-grid { grid-template-columns: 1fr; }
  .vf-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .density-figure span { max-width: none; }
  .farm-media-tag {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    left: 12px;
    bottom: 12px;
    white-space: nowrap;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* reduced motion on phones: no sticky scene, callouts stack in flow */
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .anatomy { height: auto; padding: 52px 16px; }
  .anatomy-sticky { position: static; height: auto; overflow: visible; }
  .anatomy-head { position: static; margin-bottom: 22px; }
  .callout,
  #callout-yolk, #callout-white, #callout-shell {
    position: static;
    width: 100%;
    margin-bottom: 12px;
    opacity: 1;
    transform: none;
  }
  .anatomy-foot { position: static; margin-top: 20px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .scroll-cue span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .callout { opacity: 1; transform: none; transition: none; }
}
