/* ========================================
   SPICYWATER — CSS
   ======================================== */

:root {
  --red: #D42020;
  --red-glow: rgba(212, 32, 32, 0.6);
  --black: #1a0c0c;
  --cream: #F5F0E8;
  --cream-dim: rgba(245, 240, 232, 0.5);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- GRAIN OVERLAY ---- */
.grain {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain-shift 0.5s steps(3) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-10px, -10px); }
  66% { transform: translate(5px, 5px); }
}

/* ---- GATE ---- */
.gate {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.gate-content {
  text-align: center;
  max-width: 460px;
  padding: 40px;
}
.gate-logo {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(48px, 8vw, 80px);
  color: var(--cream);
  text-shadow:
    0 0 40px var(--red-glow),
    0 0 80px var(--red-glow),
    0 0 120px rgba(212, 32, 32, 0.3);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.gate-sub {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 32px;
}
.gate-divider {
  width: 40px;
  height: 1px;
  background: var(--red);
  margin: 0 auto 32px;
}
.gate-cta-text {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 20px;
}
.gate-form {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}
.gate-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-right: none;
  color: var(--cream);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.gate-input:focus { border-color: var(--red); }
.gate-input::placeholder { color: rgba(245, 240, 232, 0.3); }
.gate-btn {
  padding: 14px 24px;
  background: var(--red);
  color: var(--cream);
  border: 1px solid var(--red);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.gate-btn:hover {
  background: #E83030;
  box-shadow: 0 0 30px var(--red-glow);
}
.gate-skip {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.3);
}
.gate-skip a {
  color: var(--cream-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.gate-skip a:hover { color: var(--red); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--cream);
  border: 1px solid var(--red);
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
  box-shadow: 0 0 30px var(--red-glow), inset 0 0 30px rgba(212, 32, 32, 0.1);
  transform: scale(1.03);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 240, 232, 0.3);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 20px rgba(212, 32, 32, 0.2);
  transform: scale(1.03);
}
.btn-large {
  padding: 20px 48px;
  font-size: 14px;
}

/* ---- SECTION LABEL ---- */
.section-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 24px;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.05) 30%,
    rgba(10, 10, 10, 0.4) 70%,
    rgba(10, 10, 10, 0.9) 100%
  );
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10vh;
  text-align: center;
}
.hero-logo {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(60px, 11vw, 130px);
  color: var(--cream);
  text-shadow:
    0 0 60px var(--red-glow),
    0 0 120px var(--red-glow),
    0 0 200px rgba(212, 32, 32, 0.25);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}
.hero-tagline {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--cream);
  margin-bottom: 40px;
  text-shadow: 0 0 30px var(--red-glow), 0 0 60px rgba(212, 32, 32, 0.3);
}

/* ---- EDITORIAL GRID ---- */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}
.grid-item {
  height: 65vh;
  overflow: hidden;
}
.grid-item img {
  object-position: center center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.grid-item:nth-child(2) img {
  object-position: center 25%;
}
.grid-item:hover img {
  transform: scale(1.04);
}

/* ---- MARQUEE ---- */
.marquee {
  padding: 28px 0;
  overflow: hidden;
  background: var(--red);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}
.marquee-track span {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: lowercase;
  color: var(--cream);
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- INGREDIENTS ---- */
.ingredients {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  padding: 100px 40px;
  background-image: radial-gradient(ellipse at center, rgba(212, 32, 32, 0.14) 0%, transparent 70%);
}
.ingredients-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ingredients-label {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 36px;
}
.ingredients-title {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(32px, 5.5vw, 72px);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 16px;
  white-space: nowrap;
  text-shadow:
    0 0 40px var(--red-glow),
    0 0 80px rgba(212, 32, 32, 0.3);
}
.ingredients-statement {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(28px, 4.5vw, 52px);
  color: var(--red);
  margin-bottom: 20px;
  text-shadow:
    0 0 40px var(--red-glow),
    0 0 80px rgba(212, 32, 32, 0.4);
}
.ingredients-body {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--cream-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- SPLIT SECTIONS (why + founding) ---- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 480px;
}
.split-section.split-reverse {
  direction: rtl;
}
.split-section.split-reverse > * {
  direction: ltr;
}
.split-image {
  overflow: hidden;
}
.split-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.split-image:hover img { transform: scale(1.03); }
.split-text {
  display: flex;
  align-items: center;
  background: var(--black);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(212, 32, 32, 0.12) 0%, transparent 70%);
}
.split-text-inner {
  padding: 48px 52px;
  max-width: 520px;
}
.split-body {
  font-size: 17px;
  color: var(--cream);
  line-height: 1.65;
  margin-bottom: 16px;
  font-weight: 300;
}

/* ---- FOUNDING NUMBER ---- */
.founding-number {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(80px, 10vw, 120px);
  font-style: italic;
  color: var(--cream);
  line-height: 1;
  margin: 4px 0 20px;
  text-shadow:
    0 0 50px var(--red-glow),
    0 0 100px var(--red-glow),
    0 0 160px rgba(212, 32, 32, 0.3);
}

/* ---- EMAIL SECTION ---- */
.email-section {
  padding: 80px 40px;
  text-align: center;
  background: var(--black);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
  border-bottom: 1px solid rgba(245, 240, 232, 0.06);
}
.email-inner {
  max-width: 520px;
  margin: 0 auto;
}
.email-heading {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--cream);
  margin-bottom: 12px;
  text-shadow: 0 0 30px var(--red-glow);
}
.email-body {
  font-size: 15px;
  color: var(--cream-dim);
  margin-bottom: 28px;
  line-height: 1.5;
}
.email-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
}
.email-input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-right: none;
  color: var(--cream);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.email-input:focus { border-color: var(--red); }
.email-input::placeholder { color: rgba(245, 240, 232, 0.3); }

/* ---- FOLLOW ---- */
.follow {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.follow-bg {
  position: absolute;
  inset: 0;
}
.follow-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 8, 8, 0.75);
  z-index: 1;
}
.follow-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.follow-content .section-label {
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 6px;
}
.follow-handle {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: clamp(40px, 7vw, 80px);
  color: var(--cream);
  text-shadow:
    0 0 40px var(--red-glow),
    0 0 80px rgba(212, 32, 32, 0.3);
  display: block;
  transition: text-shadow 0.3s;
}
.follow-handle:hover {
  text-shadow:
    0 0 60px var(--red-glow),
    0 0 120px var(--red-glow),
    0 0 200px rgba(212, 32, 32, 0.3);
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px;
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}
.footer-inner { text-align: center; }
.footer-logo {
  font-family: 'Cooper Black', 'Cooper Std', Georgia, serif;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 6px;
  text-shadow: 0 0 20px var(--red-glow);
}
.footer-location {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 12px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(245, 240, 232, 0.2);
}

/* ---- REVEAL ANIMATION ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  /* Grid stacks to single column on mobile */
  .editorial-grid { grid-template-columns: 1fr; gap: 2px; }
  .grid-item { height: 55vh; }

  /* Split sections stack vertically */
  .split-section { grid-template-columns: 1fr; height: auto; }
  .split-section.split-reverse { direction: ltr; }
  .split-image { height: 45vh; }
  .split-text-inner { padding: 36px 24px; }
  .split-body { font-size: 16px; }

  /* Founding number smaller on mobile */
  .founding-number { font-size: 72px; }

  /* Hero adjustments */
  .hero { min-height: 85vh; }
  .hero-content { padding-bottom: 8vh; }
  .hero-logo { font-size: 52px; letter-spacing: -1px; }
  .hero-tagline { font-size: 20px; margin-bottom: 28px; }

  /* Ingredients */
  .ingredients { padding: 64px 24px; }
  .ingredients-title { font-size: 28px; white-space: normal; }
  .ingredients-statement { font-size: 24px; }
  .ingredients-body { font-size: 15px; }

  /* Marquee */
  .marquee { padding: 20px 0; }
  .marquee-track span { font-size: 16px; }

  /* Gate form stacks */
  .gate-form { flex-direction: column; }
  .gate-input {
    border-right: 1px solid rgba(245, 240, 232, 0.15);
    border-bottom: none;
  }
  .gate-logo { font-size: 48px; }
  .gate-content { padding: 24px; }

  /* Email form stacks */
  .email-form { flex-direction: column; }
  .email-input {
    border-right: 1px solid rgba(245, 240, 232, 0.15);
    border-bottom: none;
  }
  .email-section { padding: 56px 24px; }
  .email-heading { font-size: 28px; }

  /* Follow section */
  .follow { height: 40vh; }
  .follow-handle { font-size: 36px; }

  /* Buttons */
  .btn { padding: 14px 28px; font-size: 11px; letter-spacing: 3px; }
  .btn-large { padding: 16px 36px; font-size: 12px; }

  /* Section labels */
  .section-label { font-size: 10px; letter-spacing: 4px; }

  /* Footer */
  .footer { padding: 32px 20px; }
}
