/* ===========================================================
   CHOKKS%  —  Warm & Friendly Fruit Beverage Brand
   Shared stylesheet for all pages
   Style direction: soft pastels, hand-drawn warmth, gentle
   rounded shapes, generous whitespace — inspired by the cosy,
   conversational feel of classic UK smoothie-brand websites.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:wght@500;600;700;800&family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand palette — warm pastels, nothing neon or stark */
  --ink:        #3D2C17;   /* warm cocoa brown, primary text */
  --ink-soft:   #6B573F;
  --paper:      #FFFBF2;   /* warm cream */
  --paper-dim:  #FBF3E3;

  --hot-pink:   #FF8FA8;   /* soft raspberry pink */
  --lime:       #BFE49A;   /* soft grass green */
  --tangerine:  #FFC98A;   /* soft peach/orange */
  --grape:      #C3AEFA;   /* soft lavender */
  --sky:        #A8E2EA;   /* soft sky blue */

  --hot-pink-deep: #F0628A;  /* deeper pink for text/icons needing contrast */
  --lime-deep:     #6FA84A;
  --grape-deep:    #8A6BD9;
  --sky-deep:      #3FA4B8;

  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;

  --shadow-soft: 0 14px 30px rgba(61, 44, 23, 0.10);
  --shadow-soft-sm: 0 8px 18px rgba(61, 44, 23, 0.09);
  --shadow-lift: 0 20px 36px rgba(61, 44, 23, 0.16);

  --font-display: 'Shantell Sans', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  font-size: .85rem;
  background: var(--sky);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: var(--shadow-soft-sm);
  background: var(--lime);
  color: var(--ink);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); filter: brightness(1.03); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-soft-sm); }

.btn-pink { background: var(--hot-pink); color: var(--ink); }
.btn-outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(61,44,23,.18); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px rgba(61,44,23,.18), var(--shadow-lift); }
.btn-dark { background: var(--ink); color: var(--paper); }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 242, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(61,44,23,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
  letter-spacing: -.01em;
}
.logo .pct {
  color: var(--hot-pink-deep);
  font-size: 1.1em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--sky); color: var(--ink); }
.nav-links a.active { background: var(--hot-pink); color: var(--ink); }
.nav-cta { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  background: var(--paper-dim);
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-dim);
  color: var(--ink);
  padding: 64px 0 28px;
  margin-top: 100px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(61,44,23,.12);
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.footer-logo .pct { color: var(--hot-pink-deep); }
.footer-col h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-size: .95rem;
}
.footer-col a:hover { color: var(--hot-pink-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  background: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--ink);
  box-shadow: var(--shadow-soft-sm);
}
.social-row a:hover { background: var(--hot-pink); }

/* ---------- Blobs / decoration ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
}

.section {
  padding: 90px 0;
  position: relative;
}
.section-tight { padding: 60px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { font-size: 1.05rem; color: var(--ink-soft); opacity: .9; }

/* ---------- Accessibility helpers ---------- */
/* Hides Netlify Forms honeypot fields from people while keeping them
   in the DOM for spam bots to (hopefully) fill in and get caught by. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: var(--paper);
    box-shadow: 0 12px 20px rgba(61,44,23,.10);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    display: none;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .section { padding: 60px 0; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================
   Reusable component blocks
   =========================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 70px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--hot-pink-deep); }
.hero h1 .accent2 { color: var(--grape-deep); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust .stat { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.hero-trust .stat span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; color: var(--ink-soft); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-art svg { position: relative; z-index: 2; }

.float-badge {
  position: absolute;
  background: var(--paper);
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  box-shadow: var(--shadow-soft-sm);
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--sky);
  overflow: hidden;
  padding: 14px 0;
}
.marquee {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 40px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Flavor cards ---------- */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.flavor-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.flavor-swatch {
  height: 160px;
  border-radius: var(--radius-sm);
  border: none;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.flavor-swatch svg { width: 70%; height: 70%; }
.flavor-pct {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft-sm);
}
.flavor-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.flavor-card p { font-size: .92rem; color: var(--ink-soft); opacity: .95; margin-bottom: 14px; }
.flavor-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: .74rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--paper-dim);
  color: var(--ink-soft);
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-strip .stat-box {
  padding: 30px 16px;
}
.stat-strip .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--hot-pink-deep);
}
.stat-strip .stat-label {
  font-size: .82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- Value / feature cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card { padding: 30px; }
.value-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { font-size: .92rem; color: var(--ink-soft); opacity: .95; margin: 0; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-reverse .split-media { order: 2; }
.split-media {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--paper-dim);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--paper-dim);
}
.timeline-item .year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hot-pink-deep);
  font-size: .85rem;
}
.timeline-item h4 { margin: 4px 0 6px; font-size: 1.2rem; }
.timeline-item p { margin: 0; color: var(--ink-soft); opacity: .95; font-size: .95rem; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card { padding: 20px; text-align: center; }
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: none;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--ink);
}
.team-card h4 { margin: 0 0 2px; font-size: 1rem; }
.team-card span { font-size: .8rem; color: var(--ink-soft); opacity: .9; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--sky);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--ink); font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-banner p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 28px; }

/* ---------- Forms ---------- */
.form-card { padding: 36px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .96rem;
  background: var(--paper-dim);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--sky);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 22px;
}
.info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.info-list h4 { margin: 0 0 2px; font-size: .98rem; }
.info-list p { margin: 0; color: var(--ink-soft); opacity: .95; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border: none;
  background: var(--paper);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft-sm);
}
.faq-q {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item[open] .faq-q { background: var(--sky); }
.faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Page header (non-home hero) ---------- */
.page-header {
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
}
.page-header h1 { font-size: clamp(2.3rem, 4.8vw, 3.2rem); }
.page-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; color: var(--ink-soft); opacity: .95; }

/* ---------- Responsive component overrides ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 300px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-reverse .split-media { order: 0; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .flavor-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 22px; }
  .form-card { padding: 24px; }
}

/* ---------- Reveal animation ----------
   Hidden state is applied by JS (reveal-init class) so that if JS fails
   to load or run, .reveal elements remain visible by default. */
.reveal.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-init.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: .08s; }
.reveal-delay-2.in-view { transition-delay: .16s; }
.reveal-delay-3.in-view { transition-delay: .24s; }
.reveal-delay-4.in-view { transition-delay: .32s; }
