/* Premium interaction and responsive polish for Palumbo Eggs. */
:root {
  --cream: #fff9ea;
  --cream-dark: #f3e5bd;
  --gold: #d69d23;
  --gold-light: #f0bd42;
  --dark-gold: #8c5c0f;
  --brown: #2b2118;
  --brown-mid: #65513f;
  --sage: #5f7d42;
  --sage-dark: #334b2e;
  --sky: #dceff1;
  --berry: #7a4d5d;
  --berry-dark: #4e2b3b;
  --mint: #bbd7bf;
  --sunset: #e67f4e;
  --ink-soft: rgba(43, 33, 24, 0.72);
  --shadow: rgba(71, 48, 16, 0.16);
}

html {
  scroll-padding-top: 88px;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 249, 234, 0.86), rgba(236, 247, 239, 0.84) 44%, rgba(255, 245, 225, 0.92)),
    repeating-linear-gradient(90deg, rgba(95, 125, 66, 0.035) 0 1px, transparent 1px 76px);
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body[data-vibe="night"] {
  --cream: #eef4e8;
  --cream-dark: #dbe8d4;
  --brown: #f8f1df;
  --brown-mid: #ded4bd;
  --ink-soft: rgba(248, 241, 223, 0.76);
  background:
    radial-gradient(circle at 20% 10%, rgba(240, 189, 66, 0.14), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(122, 77, 93, 0.2), transparent 34%),
    linear-gradient(180deg, #132016, #24391f 48%, #3b2a1b);
  color: var(--brown);
}

body[data-vibe="night"] nav,
body[data-vibe="night"] .cookie-banner,
body[data-vibe="night"] .quick-order-dock {
  background: rgba(19, 32, 22, 0.76);
  border-color: rgba(240, 189, 66, 0.2);
}

body[data-vibe="night"] .hero,
body[data-vibe="night"] .features,
body[data-vibe="night"] .gallery,
body[data-vibe="night"] .order-section,
body[data-vibe="night"] .contact {
  background:
    radial-gradient(circle at 70% 20%, rgba(240, 189, 66, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(19, 32, 22, 0.94), rgba(38, 55, 33, 0.9), rgba(61, 42, 27, 0.88));
}

body[data-vibe="night"] .feature-card,
body[data-vibe="night"] .contact-box,
body[data-vibe="night"] .order-box,
body[data-vibe="night"] .hero-promise {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 189, 66, 0.18);
  color: var(--brown);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(220, 239, 241, 0.34), transparent 35%),
    linear-gradient(300deg, rgba(95, 125, 66, 0.18), transparent 42%);
}

.vibe-toggle {
  position: fixed;
  right: 18px;
  top: 78px;
  z-index: 9996;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(95, 125, 66, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown);
  box-shadow: 0 16px 38px rgba(24, 18, 13, 0.12);
  backdrop-filter: blur(16px);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.vibe-toggle::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--sunset));
  box-shadow: 0 0 0 5px rgba(240, 189, 66, 0.12);
}

body[data-vibe="night"] .vibe-toggle {
  background: rgba(19, 32, 22, 0.78);
  color: #f8f1df;
}

body[data-vibe="night"] .vibe-toggle::before {
  background: linear-gradient(135deg, #dceff1, #7a4d5d);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--sage), var(--gold-light), var(--berry));
  box-shadow: 0 0 18px rgba(214, 157, 35, 0.45);
  pointer-events: none;
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field span {
  position: absolute;
  width: clamp(72px, 11vw, 142px);
  aspect-ratio: 0.78;
  border-radius: 50% 50% 48% 48% / 58% 58% 42% 42%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(145deg, rgba(255, 250, 231, 0.54), rgba(214, 157, 35, 0.16));
  border: 1px solid rgba(214, 157, 35, 0.14);
  filter: blur(0.2px);
  opacity: 0.38;
  transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg));
  animation: ambientFloat var(--dur, 18s) ease-in-out infinite alternate;
}

.ambient-field span:nth-child(1) { left: 4%; top: 18%; --rot: -18deg; --dur: 17s; }
.ambient-field span:nth-child(2) { right: 8%; top: 13%; --rot: 14deg; --dur: 21s; }
.ambient-field span:nth-child(3) { left: 12%; bottom: 12%; --rot: 10deg; --dur: 24s; }
.ambient-field span:nth-child(4) { right: 13%; bottom: 8%; --rot: -10deg; --dur: 19s; }
.ambient-field span:nth-child(5) { left: 48%; top: 58%; --rot: 22deg; --dur: 26s; opacity: 0.22; }

nav {
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  overflow: visible;
}

nav.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 249, 234, 0.88);
  box-shadow: 0 12px 36px rgba(55, 36, 11, 0.11);
}

nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(220, 239, 241, 0.34), rgba(255, 249, 234, 0.26));
  opacity: 0;
  transition: opacity 220ms ease;
}

nav.is-scrolled::before {
  opacity: 1;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(95, 125, 66, 0.1), 0 0 24px rgba(95, 125, 66, 0.4);
}

.nav-links a {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

.nav-cta,
.btn-primary,
.submit-btn,
.order-submit,
.cookie-agree {
  box-shadow: 0 12px 26px rgba(140, 92, 15, 0.2);
}

.hero {
  min-height: 84vh;
  padding: 84px 24px 38px;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 26%, rgba(122, 77, 93, 0.12), transparent 28%),
    radial-gradient(circle at 22% 78%, rgba(95, 125, 66, 0.19), transparent 32%),
    linear-gradient(135deg, rgba(255, 248, 231, 0.9), rgba(220, 239, 241, 0.8) 54%, rgba(248, 221, 190, 0.78)),
    repeating-linear-gradient(45deg, rgba(95, 125, 66, 0.055) 0 1px, transparent 1px 22px);
}

.hero::marker {
  content: "";
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(95, 125, 66, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  animation: pastureDrift 14s ease-in-out infinite alternate;
}

.hero::after {
  background:
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 44%), rgba(255, 255, 255, 0.72), transparent 18%),
    linear-gradient(0deg, rgba(43, 33, 24, 0.09), transparent 34%),
    repeating-linear-gradient(90deg, rgba(214, 157, 35, 0.08) 0 2px, transparent 2px 56px);
  mix-blend-mode: screen;
  opacity: 0.84;
}

.hero-depth-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-depth-stack span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), transparent 26%),
    linear-gradient(135deg, rgba(95, 125, 66, 0.2), rgba(214, 157, 35, 0.18), rgba(122, 77, 93, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.2);
  filter: blur(0.2px);
  opacity: 0.62;
  animation: depthDrift var(--float-time, 18s) ease-in-out infinite alternate;
}

.hero-depth-stack span:nth-child(1) {
  width: 210px;
  height: 210px;
  left: 7%;
  top: 20%;
  --float-time: 16s;
}

.hero-depth-stack span:nth-child(2) {
  width: 132px;
  height: 132px;
  right: 18%;
  top: 12%;
  --float-time: 21s;
}

.hero-depth-stack span:nth-child(3) {
  width: 180px;
  height: 180px;
  right: 8%;
  bottom: 10%;
  --float-time: 24s;
}

.hero-aura-card {
  position: absolute;
  right: clamp(22px, 4vw, 72px);
  bottom: 34px;
  z-index: 3;
  width: min(310px, 28vw);
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(95, 125, 66, 0.18);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 64px rgba(24, 18, 13, 0.14);
  backdrop-filter: blur(18px);
}

.hero-aura-card .label {
  display: block;
  color: var(--sage);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-aura-card strong {
  display: block;
  color: var(--brown);
  font-size: 1.05rem;
  line-height: 1.15;
}

.hero-aura-card p {
  color: var(--brown-mid);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 6px;
}

.hero-aura-card .pulse {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(95, 125, 66, 0.35);
  animation: livePulse 1.8s ease-out infinite;
}

body[data-vibe="night"] .hero-aura-card {
  background: rgba(19, 32, 22, 0.72);
}

.hero-inner {
  transition: transform 260ms ease;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
}

@media (min-width: 821px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
    align-items: center;
    gap: 12px 48px;
    width: min(1080px, calc(100vw - 72px));
    text-align: left;
  }

  .egg-badge,
  .hero-title,
  .hero-subtitle,
  .hero-divider,
  .price-pill,
  .hero-actions {
    grid-column: 1;
    justify-self: start;
  }

  .logo-img {
    grid-column: 2;
    grid-row: 1 / span 6;
    justify-self: center;
    align-self: center;
    width: clamp(168px, 18vw, 224px);
    height: clamp(168px, 18vw, 224px);
    margin: 0;
  }

  .hero-divider {
    margin: 16px 0;
  }

  .hero-subtitle {
    margin-top: 10px;
  }

  .price-pill {
    margin-bottom: 14px;
    padding: 12px 24px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-promise-row {
    grid-column: 1 / -1;
  }
}

.hero-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: -1;
  width: min(76vw, 760px);
  height: min(76vw, 760px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.54), transparent 60%),
    conic-gradient(from 120deg, rgba(95, 125, 66, 0.16), rgba(214, 157, 35, 0.18), rgba(122, 77, 93, 0.1), rgba(95, 125, 66, 0.16));
  filter: blur(16px);
  transform: translate(-50%, -50%) rotate(var(--hero-glow, 0deg));
  opacity: 0.76;
  pointer-events: none;
}

.hero-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -88px;
  z-index: -2;
  width: min(74vw, 720px);
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(51, 75, 46, 0.24), transparent 68%);
  transform: translateX(-50%);
  filter: blur(12px);
}

.egg-badge {
  color: var(--sage-dark);
  border-color: rgba(95, 125, 66, 0.24);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(64, 88, 56, 0.12);
  margin-bottom: 16px;
}

.logo-img {
  filter: drop-shadow(0 18px 28px rgba(89, 62, 24, 0.18));
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.5);
  transform-origin: 50% 72%;
}

.logo-img:hover {
  animation-play-state: paused;
  transform: translateY(-10px) rotate(1deg) scale(1.03);
}

.hero-title {
  color: #241a12;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(255, 249, 234, 0.82);
  animation-duration: 520ms;
  animation-delay: 40ms;
  font-size: clamp(2.5rem, 6.4vw, 4rem);
}

.hero-title span {
  color: #b67b13;
}

.hero-subtitle {
  color: #4f4236;
  animation-duration: 520ms;
  animation-delay: 90ms;
}

.hero-divider,
.price-pill,
.hero-actions {
  animation-duration: 520ms;
}

.price-pill {
  border-color: rgba(214, 157, 35, 0.28);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(71, 48, 16, 0.12);
  transform: translateZ(0);
}

.hero-promise-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(860px, calc(100vw - 36px));
  margin: 20px auto 0;
}

.hero-promise {
  padding: 13px 16px;
  border: 1px solid rgba(95, 125, 66, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 44px rgba(48, 35, 15, 0.08);
  backdrop-filter: blur(16px);
  text-align: left;
}

.hero-promise strong {
  display: block;
  color: var(--brown);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.hero-promise span {
  color: var(--brown-mid);
  font-size: 0.78rem;
  line-height: 1.35;
}

.btn-primary,
.order-submit,
.submit-btn {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage) 45%, var(--gold));
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.order-submit,
.submit-btn,
.cookie-agree,
.dozen-btn {
  will-change: transform;
}

.btn-primary:hover,
.order-submit:hover,
.submit-btn:hover {
  filter: saturate(1.08) brightness(1.02);
  box-shadow: 0 18px 36px rgba(51, 75, 46, 0.22);
}

.stats-bar {
  background: linear-gradient(135deg, var(--brown), #382514 55%, var(--sage-dark));
  box-shadow: 0 18px 48px rgba(43, 33, 24, 0.14);
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent),
    repeating-linear-gradient(90deg, rgba(240, 189, 66, 0.08) 0 1px, transparent 1px 72px);
  transform: translateX(var(--stats-shine, -70%));
}

.stat {
  min-width: 116px;
  position: relative;
  z-index: 1;
}

.stat-num {
  color: var(--gold-light);
}

.section {
  padding-top: clamp(76px, 9vw, 130px);
  padding-bottom: clamp(72px, 8vw, 118px);
}

.section-label {
  color: var(--sage);
}

.section-title {
  color: var(--brown);
}

.section-body {
  color: var(--ink-soft);
}

.features {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(220, 239, 241, 0.48)),
    repeating-linear-gradient(0deg, rgba(95, 125, 66, 0.035) 0 1px, transparent 1px 34px);
}

.feature-card,
.review-card,
.write-review,
.contact-box,
.order-box {
  border: 1px solid rgba(95, 125, 66, 0.14);
  box-shadow: 0 20px 54px rgba(48, 35, 15, 0.1);
}

.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -46px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(220, 239, 241, 0.86), transparent 68%);
  transition: transform 260ms ease, opacity 260ms ease;
  opacity: 0.62;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--berry));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.feature-card:hover {
  border-color: rgba(95, 125, 66, 0.28);
  box-shadow: 0 24px 62px rgba(48, 35, 15, 0.14);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  transform: scale(1.24);
  opacity: 0.92;
}

.fresh-path {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(51, 75, 46, 0.94), rgba(43, 33, 24, 0.94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px);
  color: #fff;
}

.fresh-path::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(circle at 40% 40%, rgba(240, 189, 66, 0.2), transparent 46%);
  animation: pastureDrift 11s ease-in-out infinite alternate;
  pointer-events: none;
}

.fresh-path-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.fresh-path-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.fresh-path-kicker,
.quick-order-kicker {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.fresh-path h2 {
  max-width: 700px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  margin-top: 10px;
}

.fresh-path-copy {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

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

.fresh-step {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 90% 0%, rgba(240, 189, 66, 0.2), transparent 34%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.fresh-step::before {
  content: attr(data-step);
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
}

.fresh-step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 189, 66, 0.9), rgba(230, 127, 78, 0.86));
  box-shadow: 0 16px 38px rgba(230, 127, 78, 0.18);
  font-size: 1.55rem;
  margin-bottom: 36px;
}

.fresh-step h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.fresh-step p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.62;
  font-size: 0.94rem;
}

.gallery {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 249, 234, 0.92), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(135deg, rgba(122, 77, 93, 0.04) 0 1px, transparent 1px 42px);
}

.gallery .section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  align-items: stretch;
}

.gallery-item {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(22, 19, 14, 0.04), rgba(22, 19, 14, 0.62)),
    var(--tile-bg, linear-gradient(135deg, var(--sage), var(--gold)));
  box-shadow: 0 20px 48px rgba(48, 35, 15, 0.14);
}

.gallery-item::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 84px;
  height: 84px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 18px 40px rgba(0, 0, 0, 0.12);
  opacity: 0.86;
  transform: rotate(8deg);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.8;
  transform: translateX(-28%);
  transition: transform 700ms ease;
}

.gallery-item:hover::before {
  transform: translateX(18%);
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.015);
}

.gallery-item span {
  position: relative;
  z-index: 1;
  max-width: 12rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  line-height: 1.04;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.gallery-item.coop { --tile-bg: linear-gradient(135deg, #46633d, #d6a536); }
.gallery-item.pasture { --tile-bg: linear-gradient(135deg, #476c57, #8ab9c1); }
.gallery-item.basket { --tile-bg: linear-gradient(135deg, #8c5c0f, #e8c77a); }
.gallery-item.kitchen { --tile-bg: linear-gradient(135deg, #7a4d5d, #d69d23); }
.gallery-item.pickup { --tile-bg: linear-gradient(135deg, #334b2e, #82a768); }

.reviews {
  background:
    linear-gradient(135deg, rgba(43, 33, 24, 0.98), rgba(51, 75, 46, 0.94)),
    repeating-linear-gradient(90deg, rgba(240, 189, 66, 0.08) 0 1px, transparent 1px 64px);
}

.review-card {
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  right: 22px;
  top: 0;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: rgba(240, 189, 66, 0.14);
  line-height: 1;
}

.review-card,
.write-review {
  backdrop-filter: blur(12px);
}

.review-avatar {
  background: linear-gradient(135deg, var(--gold), var(--sage));
}

.star-btn {
  transition: transform 160ms ease, color 160ms ease;
}

.order-section {
  background:
    linear-gradient(180deg, rgba(220, 239, 241, 0.72), rgba(255, 249, 234, 0.95)),
    repeating-linear-gradient(90deg, rgba(95, 125, 66, 0.04) 0 1px, transparent 1px 52px);
}

.order-section .section-title {
  position: relative;
}

.order-section .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--berry));
}

.order-note {
  border-color: rgba(95, 125, 66, 0.18);
  background: rgba(220, 239, 241, 0.45);
}

.order-form input,
.order-form select,
.order-form textarea,
.form-group input,
.form-group textarea {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 4px rgba(95, 125, 66, 0.12);
}

.dozen-selector {
  box-shadow: inset 0 0 0 1px rgba(95, 125, 66, 0.12);
}

.dozen-btn {
  transition: transform 150ms ease, background 150ms ease;
}

.dozen-btn:active {
  transform: scale(0.94);
}

.order-total {
  background: linear-gradient(135deg, var(--brown), var(--sage-dark));
}

.order-total-price.is-pulsing {
  animation: totalPop 260ms ease;
}

.form-status {
  min-height: 1.2rem;
  margin: 2px 0 16px;
  color: var(--brown-mid);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status[hidden] {
  display: none;
}

.form-status[data-state="error"] {
  color: #9b2f23;
}

.form-status[data-state="success"] {
  color: var(--sage-dark);
}

.order-submit.is-loading {
  cursor: wait;
  filter: saturate(0.86);
}

.order-submit:disabled {
  opacity: 0.78;
  transform: none;
}

.order-box {
  position: relative;
  overflow: hidden;
}

.order-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(255, 255, 255, 0.42) 38%, transparent 56%),
    linear-gradient(135deg, rgba(95, 125, 66, 0.12), transparent 38%, rgba(214, 157, 35, 0.12));
  transform: translateX(var(--shine-x, -70%));
  opacity: 0.55;
  pointer-events: none;
}

.order-box > * {
  position: relative;
  z-index: 1;
}

.order-form input:hover,
.order-form select:hover,
.order-form textarea:hover,
.form-group input:hover,
.form-group textarea:hover {
  transform: translateY(-1px);
}

.agree-check {
  border-radius: 14px;
}

.agree-check input[type="checkbox"] {
  accent-color: var(--sage);
}

.contact {
  background:
    linear-gradient(180deg, rgba(255, 249, 234, 0.96), rgba(220, 239, 241, 0.5));
}

.contact-box {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 249, 234, 0.92)),
    repeating-linear-gradient(45deg, rgba(214, 157, 35, 0.05) 0 1px, transparent 1px 32px);
}

.contact-box,
.order-box {
  transform-style: preserve-3d;
}

.contact-box:hover,
.order-box:hover {
  box-shadow: 0 26px 84px rgba(48, 35, 15, 0.15);
}

.contact-detail {
  transition: transform 180ms ease, background 180ms ease;
}

.contact-detail:hover {
  transform: translateY(-2px);
  background: rgba(220, 239, 241, 0.58);
}

body[data-vibe="night"] .contact-box {
  background:
    linear-gradient(135deg, rgba(248, 241, 223, 0.12), rgba(255, 249, 234, 0.055)),
    radial-gradient(circle at 50% 0%, rgba(240, 189, 66, 0.14), transparent 44%);
  border-color: rgba(240, 189, 66, 0.24);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.28);
}

body[data-vibe="night"] .contact-box h3,
body[data-vibe="night"] .contact-box > p {
  color: #fff7e2;
}

body[data-vibe="night"] .contact-detail {
  background:
    linear-gradient(135deg, rgba(19, 32, 22, 0.7), rgba(43, 33, 24, 0.52)),
    radial-gradient(circle at 100% 0%, rgba(240, 189, 66, 0.12), transparent 42%);
  border-color: rgba(240, 189, 66, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-vibe="night"] .contact-detail:hover {
  background:
    linear-gradient(135deg, rgba(31, 53, 35, 0.84), rgba(61, 42, 27, 0.62)),
    radial-gradient(circle at 100% 0%, rgba(240, 189, 66, 0.18), transparent 46%);
}

body[data-vibe="night"] .detail-label {
  color: #f0bd42;
}

body[data-vibe="night"] .detail-value,
body[data-vibe="night"] .detail-value a {
  color: #fff7e2;
}

body[data-vibe="night"] .detail-value a:hover {
  color: #f0bd42;
}

.soft-ripple {
  position: fixed;
  z-index: 9998;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(214, 157, 35, 0.34);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleOut 680ms ease-out forwards;
  pointer-events: none;
}

.cookie-banner {
  border: 1px solid rgba(240, 189, 66, 0.28);
  box-shadow: 0 22px 60px rgba(24, 18, 13, 0.24);
}

.quick-order-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9997;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100vw - 36px));
  padding: 12px 12px 12px 16px;
  border-radius: 22px;
  border: 1px solid rgba(95, 125, 66, 0.18);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 62px rgba(24, 18, 13, 0.18);
  backdrop-filter: blur(18px);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.quick-order-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.quick-order-copy {
  min-width: 0;
}

.quick-order-copy strong {
  display: block;
  color: var(--brown);
  font-size: 0.96rem;
  line-height: 1.1;
}

.quick-order-copy span {
  color: var(--brown-mid);
  font-size: 0.78rem;
}

.quick-order-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sage-dark), var(--sage), var(--gold));
  color: white;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(51, 75, 46, 0.18);
}

.dock-stepper {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(95, 125, 66, 0.1);
}

.dock-stepper button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--sage-dark);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.dock-count {
  min-width: 78px;
  text-align: center;
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 900;
}

body[data-vibe="night"] .dock-stepper {
  background: rgba(255, 255, 255, 0.1);
}

body[data-vibe="night"] .dock-stepper button {
  background: rgba(255, 255, 255, 0.14);
  color: #f8f1df;
}

.lux-cursor {
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(214, 157, 35, 0.45);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 28px rgba(214, 157, 35, 0.18);
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  transition: width 160ms ease, height 160ms ease, border-color 160ms ease;
  mix-blend-mode: multiply;
}

.lux-cursor.is-hot {
  width: 38px;
  height: 38px;
  border-color: rgba(95, 125, 66, 0.55);
}

.section-meter {
  position: fixed;
  left: 18px;
  top: 50%;
  z-index: 95;
  transform: translateY(-50%);
  display: grid;
  gap: 9px;
}

.section-meter a {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(43, 33, 24, 0.24);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.44);
  transition: transform 180ms ease, background 180ms ease;
}

.section-meter a.is-active {
  background: var(--sage);
  transform: scale(1.45);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-ready:nth-child(2n) {
  transform: translateY(18px) scale(0.985);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pastureDrift {
  from { transform: translate3d(-12px, 0, 0); }
  to { transform: translate3d(12px, 0, 0); }
}

@keyframes totalPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes ambientFloat {
  from { transform: translate3d(-12px, -10px, 0) rotate(var(--rot, 0deg)); }
  to { transform: translate3d(16px, 18px, 0) rotate(calc(var(--rot, 0deg) + 14deg)); }
}

@keyframes rippleOut {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(16); }
}

@keyframes depthDrift {
  from { transform: translate3d(-18px, 8px, 0) scale(0.96); }
  to { transform: translate3d(22px, -16px, 0) scale(1.08); }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 125, 66, 0.35); }
  100% { box-shadow: 0 0 0 16px rgba(95, 125, 66, 0); }
}

@media (max-width: 820px) {
  nav {
    gap: 14px;
    padding: 12px 16px;
  }

  .nav-links {
    display: flex;
    max-width: calc(100vw - 158px);
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .nav-links li:nth-child(1),
  .nav-links li:nth-child(2),
  .nav-links li:nth-child(4) {
    display: none;
  }

  .nav-links a {
    display: block;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
  }

  .nav-cta {
    padding: 8px 14px;
  }

  .nav-links .nav-cta {
    color: #fff !important;
    background: linear-gradient(135deg, var(--sage-dark), var(--gold));
  }

  .hero {
    min-height: 88vh;
    padding: 86px 18px 42px;
  }

  .hero-depth-stack span {
    opacity: 0.28;
  }

  .hero-aura-card {
    display: none;
  }

  .hero-promise-row {
    display: none;
  }

  .fresh-path-head {
    display: block;
  }

  .fresh-path-copy {
    max-width: 100%;
    margin-top: 16px;
  }

  .fresh-path-grid {
    grid-template-columns: 1fr;
  }

  .section-meter {
    display: none;
  }

  .ambient-field span {
    opacity: 0.2;
  }

  .logo-img {
    width: min(48vw, 168px);
    height: 168px;
    margin-bottom: 14px;
  }

  .stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 28px 18px;
  }

  .gallery-grid,
  .features-grid,
  .reviews-grid {
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .nav-brand {
    font-size: 0.98rem;
  }

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

  .hero-title {
    font-size: clamp(2.05rem, 12.8vw, 2.95rem);
    line-height: 1.04;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    max-width: 18rem;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
  }

  .egg-badge {
    margin-bottom: 16px;
    padding: 6px 12px;
    font-size: 0.68rem;
    letter-spacing: 1.4px;
  }

  .hero-divider {
    margin: 16px auto;
  }

  .price-pill {
    width: 100%;
    justify-content: center;
    margin-bottom: 18px;
    padding: 12px 18px;
    font-size: 1.1rem;
  }

  .hero-actions,
  .btn-primary {
    width: 100%;
  }

  .btn-primary {
    text-align: center;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: auto;
  }

  .gallery-item {
    min-height: 170px;
  }

  .quick-order-dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr auto;
    border-radius: 18px;
  }

  .quick-order-dock .dock-stepper {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .quick-order-dock a {
    padding: 0 14px;
  }

  .vibe-toggle {
    right: 10px;
    top: 68px;
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .lux-cursor {
    display: none;
  }

  .cookie-banner:not([hidden]) + .quick-order-dock {
    bottom: 92px;
  }
}

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

  .ambient-field,
  .scroll-progress,
  .soft-ripple,
  .hero-depth-stack,
  .lux-cursor,
  .section-meter {
    display: none !important;
  }
}
