:root {
  --coral: #f85559;
  --coral-deep: #e03e42;
  --leaf: #2d6a4f;
  --leaf-soft: #40916c;
  --peach: #fff5f0;
  --cream: #fffaf7;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: rgba(26, 26, 26, 0.08);
  --radius: 1rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

.font-display {
  font-family: var(--font-display);
}

/* Atmospheric page wash */
.page-wash {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(248, 85, 89, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(45, 106, 79, 0.1), transparent 45%),
    linear-gradient(180deg, #fffaf7 0%, #fff5f0 40%, #fffaf7 100%);
}

/* Nav */
.site-nav {
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(26, 26, 26, 0.06);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link.is-active {
  color: var(--coral);
}

/* Buttons */
.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(248, 85, 89, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero */
.hero-plane {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-plane::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.35) 0%, rgba(18, 18, 18, 0.55) 55%, rgba(18, 18, 18, 0.75) 100%);
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(4rem, 12vh, 7rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-line {
  overflow: hidden;
}

.hero-line span {
  display: inline-block;
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(110%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Fruit strip */
.fruit-strip {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
}

.fruit-chip {
  transition: transform 0.35s ease;
}

.fruit-chip:hover {
  transform: translateY(-8px);
}

/* Countdown */
.countdown-cell {
  min-width: 4.5rem;
  padding: 1rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-align: center;
}

.countdown-cell .value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

/* Product interaction tiles */
.product-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem 1.25rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.product-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(248, 85, 89, 0.12);
  border-color: rgba(248, 85, 89, 0.25);
}

.product-tile img {
  transition: transform 0.45s ease;
}

.product-tile:hover img {
  transform: scale(1.06) rotate(-2deg);
}

.stars {
  color: #f4a261;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(6px);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  background: #fff;
  border-radius: 1.5rem;
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  text-align: center;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

/* Team */
.team-band {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.team-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.55), rgba(18, 18, 18, 0.72));
  z-index: 1;
}

.team-band > * {
  position: relative;
  z-index: 2;
}

.member {
  transition: transform 0.35s ease;
}

.member:hover {
  transform: translateY(-6px);
}

/* Feature rows */
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: rgba(248, 85, 89, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.7));
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 3.5rem;
}

/* Filter chips */
.filter-chip {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

/* Mobile menu */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.mobile-drawer.is-open {
  pointer-events: auto;
}

.mobile-drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer-bg {
  opacity: 1;
}

.mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(20rem, 85vw);
  background: #fff;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.is-open .mobile-panel {
  transform: translateX(0);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.site-footer {
  background: #121212;
  color: #fff;
}

.site-footer a {
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--coral);
}

/* Utility */
.text-coral { color: var(--coral); }
.bg-coral { background-color: var(--coral); }
.text-leaf { color: var(--leaf); }
.bg-peach { background-color: var(--peach); }

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