/* ============================================================
   DOSE™ — Cognitive Sparkling Water
   Design base: fraunces-brewery-landing-variant.html (Crazy Beer alternate)
   Cream / amber warm editorial · Fraunces + Plus Jakarta Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --cream:      #FAF6F0;
  --cream-dark: #F0EBE3;
  --ink:        #1A1714;
  --ink-soft:   #3D3730;
  --amber:      #C47D1E;
  --amber-hover:#A86915;
  --amber-light:#E8C48A;
  --sage:       #7A8F73;
  --mahogany:   #8B3D3D;
  --font-display:'Fraunces', Georgia, serif;
  --font-body:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' 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");
  z-index: 9999;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--cream), transparent);
  transition: all 0.4s;
}

nav.scrolled {
  background: rgba(250,246,240,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 40px rgba(26,23,20,0.06);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo span { color: var(--amber); }

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

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(196,125,30,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-amber {
  background: var(--amber);
  color: #fff;
}

.btn-amber:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(196,125,30,0.35);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--amber-light) 0%, transparent 70%);
  opacity: 0.25;
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%; left: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--sage) 0%, transparent 70%);
  opacity: 0.12;
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--cream-dark);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 7.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 .italic-accent {
  font-style: italic;
  color: var(--amber);
  position: relative;
}

.hero h1 .italic-accent::after {
  content: '';
  position: absolute;
  bottom: 0.1em; left: 0; right: 0;
  height: 0.08em;
  background: var(--amber);
  opacity: 0.3;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 0.8s ease 0.5s forwards, bounce 2s ease-in-out infinite 1.5s;
  opacity: 0;
  white-space: nowrap;
}

.scroll-indicator span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}

.scroll-indicator svg {
  width: 24px; height: 24px;
  stroke: var(--ink-soft);
}

/* ── SECTIONS ── */
section { padding: 8rem 4rem; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── WHY SECTION ── */
.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.why-content { max-width: 540px; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--cream-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px; height: 24px;
  stroke: var(--amber);
}

.feature-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.why-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-blob {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--amber-light) 0%, var(--cream-dark) 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 8s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-blob-inner {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  padding: 2rem;
  line-height: 1.3;
}

.visual-blob-inner span {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--amber);
  font-style: italic;
}

/* ── PRODUCTS ── */
.products-section {
  background: var(--cream-dark);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, var(--cream), var(--cream-dark));
}

.products-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.product-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  cursor: default;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(26,23,20,0.12);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

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

.product-card:nth-child(1) { --card-accent: #C47D1E; }
.product-card:nth-child(2) { --card-accent: #2D2A26; }
.product-card:nth-child(3) { --card-accent: #E8A54B; }
.product-card:nth-child(4) { --card-accent: #8B3D3D; }
.product-card:nth-child(5) { --card-accent: #7A8F73; }
.product-card:nth-child(6) { --card-accent: #9B59B6; }

.product-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--card-accent, var(--amber));
  margin-bottom: 0.75rem;
  display: block;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ink);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.product-cta {
  text-align: center;
  margin-top: 4rem;
  position: relative;
}

/* ── TESTIMONIALS ── */
.testimonials-section { max-width: 1200px; margin: 0 auto; }

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--cream-dark);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--amber);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.testimonial-author span { color: var(--amber); }

/* ── STORY (dark) ── */
.story-section {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  opacity: 0.08;
  border-radius: 50%;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.story-content .section-label { color: var(--amber-light); }
.story-content .section-title { color: var(--cream); }

.story-text {
  font-size: 1.2rem;
  line-height: 1.9;
  color: rgba(250,246,240,0.8);
  margin-bottom: 2rem;
}

.story-text strong { color: var(--amber-light); font-weight: 600; }

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section .section-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-section .section-subtitle { max-width: 600px; margin: 0 auto 3rem; }

/* ── FOOTER ── */
footer {
  padding: 3rem 4rem;
  border-top: 1px solid rgba(26,23,20,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 420px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}

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

/* ── KEYFRAMES ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40%  { transform: translateX(-50%) translateY(-8px); }
  60%  { transform: translateX(-50%) translateY(-4px); }
}

@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%       { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75%       { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  section { padding: 6rem 2rem; }
  nav { padding: 1.25rem 2rem; }
  .why-section { grid-template-columns: 1fr; gap: 4rem; }
  .why-content { max-width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }

  .hero-cta { flex-direction: column; width: 100%; max-width: 300px; }
  .btn { width: 100%; justify-content: center; }

  footer { flex-direction: column; text-align: center; }
  .footer-left { flex-direction: column; }
}
