/* ==============================
   MAUI ICE TEA — Global Styles
============================== */

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

:root {
  --black: #0a0a0a;
  --white: #f5f4f0;
  --grey-light: #e8e7e3;
  --grey-mid: #999;
  --grey-dark: #333;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* ==============================
   REVEAL ANIMATIONS
============================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ==============================
   TYPOGRAPHY
============================== */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1;
}

h1 { font-size: clamp(3.5rem, 8vw, 8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 400; letter-spacing: 0.02em; }

em {
  font-style: italic;
  font-weight: 300;
}

p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--grey-dark);
}

.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 1.5rem;
}

/* ==============================
   LAYOUT HELPERS
============================== */

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  margin-bottom: 5rem;
}

section {
  padding: 8rem 0;
}

/* ==============================
   NAV
============================== */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: background var(--transition), border-bottom var(--transition);
}

#nav.scrolled {
  background: rgba(245, 244, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-light);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-dark);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--black); }

.nav-order {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--black);
  color: var(--black) !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-order:hover {
  background: var(--black);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: var(--transition);
}

/* ==============================
   MOBILE MENU
============================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 1.5rem 0;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--white);
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* ==============================
   HERO
============================== */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.5rem;
  position: relative;
  background: var(--white);
}

.hero-inner {
  max-width: 900px;
  margin-top: 6rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 2rem;
}

.hero-title {
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--grey-dark);
  margin-bottom: 3rem;
  line-height: 2;
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--black);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.hero-dolphin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-dolphin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  mix-blend-mode: multiply;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--grey-mid);
  transform-origin: left;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.4); opacity: 0.4; }
}

/* ==============================
   STATS
============================== */

#stats {
  background: var(--black);
  color: var(--white);
  padding: 6rem 2.5rem;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

/* ==============================
   MISSION
============================== */

#mission {
  background: var(--white);
}

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

.mission-left h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.05;
}

.mission-right p {
  margin-bottom: 1.5rem;
}

.mission-right p:last-child {
  margin-bottom: 0;
}

/* ==============================
   QUOTE BREAK
============================== */

#quote-break {
  background: var(--black);
  padding: 8rem 2.5rem;
}

.quote-inner {
  max-width: 900px;
  margin: 0 auto;
}

blockquote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ==============================
   PRODUCTS
============================== */

#products {
  background: var(--white);
}

.product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.product-single-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

.product-single-info h2 {
  margin-bottom: 2rem;
}

.product-single-info p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.product-tag-large {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-mid);
  border-top: 1px solid var(--grey-light);
  padding-top: 1rem;
  width: 100%;
}

@media (max-width: 768px) {
  .product-single {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ==============================
   RECIPE
============================== */

#recipe {
  background: var(--grey-light);
}

.recipe-header {
  max-width: 700px;
  margin-bottom: 5rem;
}

.recipe-intro {
  margin-top: 1.5rem;
  color: var(--grey-mid);
  font-size: 0.95rem;
}

.recipe-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recipe-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  align-items: start;
}

.recipe-step:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.recipe-step-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(0,0,0,0.12);
  padding-top: 0.2rem;
}

.recipe-step-content h4 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.recipe-step-content p {
  font-size: 0.95rem;
  max-width: 680px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .recipe-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .recipe-step-num {
    font-size: 2.5rem;
  }
}

/* ==============================
   THE LOOP
============================== */

#loop {
  background: var(--grey-light);
}

.loop-diagram {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.loop-svg {
  width: 100%;
  max-width: 580px;
  height: auto;
}

@media (max-width: 768px) {
  .loop-svg {
    max-width: 100%;
  }
}

.loop-footer {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
  text-align: center;
}

.loop-footer p {
  font-size: 0.9rem;
}

/* ==============================
   POPUPS
============================== */

#popups {
  background: var(--black);
  color: var(--white);
}

#popups .label {
  color: rgba(255,255,255,0.4);
}

#popups h2 {
  color: var(--white);
}

.popups-header {
  max-width: 700px;
  margin-bottom: 5rem;
}

.popups-intro {
  color: rgba(255,255,255,0.5);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.popups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-bottom: 5rem;
  background: rgba(255,255,255,0.08);
}

.popup-card {
  background: var(--black);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 320px;
  transition: background var(--transition);
}

.popup-card:hover {
  background: #111;
}

.popup-card.placeholder {
  justify-content: center;
  align-items: center;
  border: 1px dashed rgba(255,255,255,0.1);
  background: transparent;
}

.popup-card.placeholder:hover {
  background: transparent;
}

.popup-card.past {
  opacity: 0.5;
}

.popup-status {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.upcoming .popup-status {
  color: var(--white);
}

.popup-date {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.popup-day {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.popup-month {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.popup-info h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.popup-location {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.popup-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.popup-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.popup-tag {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
}

.popup-info.centered {
  text-align: center;
}

.popup-info.centered p {
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  line-height: 2;
}

.popups-cta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.popups-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.popups-cta .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.popups-cta .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

@media (max-width: 1024px) {
  .popups-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .popups-grid {
    grid-template-columns: 1fr;
  }

  .popups-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ==============================
   STORY
============================== */

#story {
  padding: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.story-image-side {
  background: var(--black);
  position: relative;
  min-height: 600px;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.story-photo-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.story-text-side {
  padding: 8rem 5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-text-side h2 {
  margin-bottom: 2.5rem;
}

.story-text-side p {
  margin-bottom: 1.5rem;
}

.story-sig {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--grey-mid);
}

/* ==============================
   STOCKISTS / CTA
============================== */

#stockists {
  background: var(--black);
}

.cta-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-block .label {
  color: rgba(255,255,255,0.4);
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-block p {
  color: rgba(255,255,255,0.5);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.btn-solid {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  border: 1px solid var(--white);
}

.btn-solid:hover {
  background: transparent;
  color: var(--white);
}

/* ==============================
   FOOTER
============================== */

#footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  text-align: right;
}

.footer-note p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}

.footer-copy {
  margin-top: 0.25rem;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .loop-steps {
    grid-template-columns: 1fr;
  }

  .loop-arrow {
    transform: rotate(90deg);
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-links { display: none; }

  .nav-toggle { display: flex; }

  #hero {
    padding: 0 1.5rem;
  }

  .hero-scroll-indicator { left: 1.5rem; }

  .mission-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-image-side {
    min-height: 350px;
  }

  .story-text-side {
    padding: 5rem 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-note { text-align: center; }

  .footer-links { justify-content: center; }

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

  .section-inner {
    padding: 0 1.5rem;
  }

  section {
    padding: 5rem 0;
  }

  #stats {
    padding: 4rem 1.5rem;
  }
}
