/* ==========================================================================
   FOOFY — Single page site
   --------------------------------------------------------------------------
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Typography
   5.  Buttons
   6.  Header / navigation
   7.  Hero
   8.  Brand introduction
   9.  Products
   10. Brand banner
   11. Why Foofy
   12. Dealership CTA
   13. Dealership form
   14. Support
   15. Footer
   16. Back to top
   17. Scroll reveal
   18. Responsive
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand neutrals --- */
  --sand: #D7B58D;
  --sand-deep: #C9A176;
  --cream: #F5EAD8;
  --cream-soft: #F0DDBF;
  --off-white: #FBF8F2;
  --ink: #191715;
  --ink-soft: rgba(25, 23, 21, 0.68);
  --ink-mute: rgba(25, 23, 21, 0.52);

  /* --- Product accents (sampled from the Foofy bottle caps) --- */
  --accent-lime: #A8C53C;
  --accent-kokum: #C0275C;
  --accent-mosambi: #F2B705;
  --accent-aloe: #3FB5A8;
  --accent-barley: #F0803C;

  /* --- Lines & surfaces --- */
  --line: rgba(25, 23, 21, 0.08);
  --line-strong: rgba(25, 23, 21, 0.16);
  --surface: #FFFFFF;

  /* --- Typography --- */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-body: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.6rem);
  --fs-h1: clamp(2.6rem, 1.7rem + 4vw, 5.6rem);
  --fs-display: clamp(2.8rem, 1.2rem + 7vw, 9rem);

  /* --- Spacing --- */
  --space-2xs: 0.35rem;
  --space-xs: 0.6rem;
  --space-sm: 1rem;
  --space-md: 1.6rem;
  --space-lg: 2.4rem;
  --space-xl: 4rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --gutter: clamp(1.1rem, 0.6rem + 2.2vw, 2.75rem);
  --max-width: 1240px;

  /* --- Radii --- */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* --- Shadows (very soft) --- */
  --shadow-xs: 0 1px 2px rgba(25, 23, 21, 0.04);
  --shadow-sm: 0 6px 18px rgba(25, 23, 21, 0.05);
  --shadow-md: 0 14px 40px rgba(25, 23, 21, 0.07);
  --shadow-lg: 0 28px 70px rgba(25, 23, 21, 0.10);

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms var(--ease);
  --t-base: 280ms var(--ease);
  --t-slow: 620ms var(--ease);

  --header-h: 76px;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* <picture> must not introduce a box of its own around the image */
picture { display: contents; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

/* The hidden attribute must win over any display rule below (form <-> success). */
[hidden] { display: none !important; }

/* Visible, on-brand focus ring everywhere */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--ink);
  color: var(--off-white);
  padding: 0.75rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600;
  transition: transform var(--t-base);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }


/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--space-sm);
}
.eyebrow-light { color: rgba(251, 248, 242, 0.62); }

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.section-sub {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-top: var(--space-sm);
  max-width: 44ch;
}

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-top: var(--space-md);
}

.section-head { margin-bottom: clamp(2.2rem, 1.5rem + 2.5vw, 4rem); }
.section-head .section-title { margin-inline: 0; }

/* colour-coded dot used in chips, lists and decorative clusters */
.dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--dot, var(--ink));
  flex: none;
}


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--off-white);
  --btn-bd: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), background-color var(--t-fast),
              color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--ink); --btn-fg: var(--off-white); }
.btn-primary:hover { --btn-bg: #2c2825; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--off-white); --btn-bd: var(--ink); }

.btn-light { --btn-bg: var(--off-white); --btn-fg: var(--ink); }
.btn-light:hover { --btn-bg: var(--cream); }

.btn-block { width: 100%; }


/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-shell {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 30px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.2rem + 1.8vw, 2.4rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 0.2rem + 1.5vw, 2rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); }

.nav-cta { padding: 0.75rem 1.35rem; font-size: 0.9rem; }

/* --- Hamburger --- */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-base), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(25, 23, 21, 0.38);
  opacity: 0;
  transition: opacity var(--t-base);
}
.nav-backdrop.is-visible { opacity: 1; }


/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 7rem);
  background:
    radial-gradient(120% 90% at 82% 8%, var(--cream) 0%, rgba(245, 234, 216, 0) 62%),
    var(--off-white);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  letter-spacing: 0.14em;
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.hero-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
/* playful underline swoosh, echoing the bottle label curve */
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0.05em;
  right: 0.05em;
  bottom: 0.02em;
  height: 0.12em;
  border-radius: var(--r-pill);
  background: var(--accent-mosambi);
  z-index: -1;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-top: var(--space-md);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  padding: 0;
  margin-top: clamp(1.8rem, 1rem + 2vw, 2.8rem);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-mute);
}

.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 42%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  /* sits off the photo's corner so it never covers a bottle label */
  left: clamp(-3.25rem, -2.5vw, -1.75rem);
  bottom: clamp(-1.75rem, -2vw, -1rem);
  display: grid;
  place-items: center;
  width: clamp(92px, 8vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--off-white);
  font-size: clamp(0.68rem, 0.6rem + 0.25vw, 0.82rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-md);
}

/* soft organic background shapes */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}
.hero-blob-a {
  width: clamp(220px, 28vw, 440px);
  aspect-ratio: 1;
  top: -14%;
  right: -8%;
  background: rgba(215, 181, 141, 0.28);
}
.hero-blob-b {
  width: clamp(140px, 16vw, 260px);
  aspect-ratio: 1;
  bottom: -12%;
  left: -6%;
  background: rgba(245, 234, 216, 0.9);
}


/* ==========================================================================
   8. BRAND INTRODUCTION
   ========================================================================== */
.intro { background: var(--off-white); overflow: hidden; }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.intro-copy .btn { margin-top: var(--space-lg); }

/* decorative geometry, product-inspired */
.intro-visual {
  position: relative;
  min-height: clamp(240px, 26vw, 380px);
}
.intro-shape { position: absolute; }
.intro-shape-pill {
  width: 62%;
  height: 78%;
  right: 6%;
  top: 6%;
  border-radius: 46% 46% 46% 46% / 40% 40% 60% 60%;
  background: var(--cream);
  border: 1px solid var(--line);
}
.intro-shape-circle {
  width: 42%;
  aspect-ratio: 1;
  left: 2%;
  bottom: 4%;
  border-radius: 50%;
  background: var(--sand);
  opacity: 0.5;
}
.intro-dots {
  position: absolute;
  right: 12%;
  bottom: 14%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.intro-dots span {
  width: clamp(12px, 1.4vw, 18px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dot);
}

/* big editorial wordmark line */
.wordmark-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: clamp(0.5rem, 0.2rem + 1.4vw, 1.6rem);
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding-top: clamp(2rem, 1rem + 3vw, 4rem);
  border-top: 1px solid var(--line);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-align: center;
}
.wordmark-em {
  color: var(--sand-deep);
  font-style: italic;
  font-weight: 500;
}


/* ==========================================================================
   9. PRODUCTS
   ========================================================================== */
.products { background: var(--cream); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(1.1rem, 0.6rem + 1.4vw, 2rem);
  margin: 0;
  padding: 0;
}

/* 3 cards on the first row, 2 centred on the second — keeps bottles large */
.product-card { grid-column: span 2; }
.product-card:nth-child(4) { grid-column: 2 / span 2; }
.product-card:nth-child(5) { grid-column: 4 / span 2; }

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--surface);
  overflow: hidden;
  padding: clamp(0.6rem, 0.3rem + 1vw, 1.4rem);
}
.product-media img {
  width: 100%;
  aspect-ratio: 1252 / 1402;
  object-fit: contain;
  object-position: center;
  border-radius: var(--r-md);
  transition: transform var(--t-slow);
}

.product-card:hover .product-media img { transform: scale(1.035); }

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.25rem, 1rem + 0.8vw, 1.9rem);
}

.product-descriptor {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--cream); /* fallback */
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--ink-soft); /* fallback */
  color: color-mix(in srgb, var(--accent) 72%, var(--ink));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.1rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.85rem);
  font-weight: 800;
  line-height: 1;
}

.product-price span {
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.scroll-hint {
  display: none;
  margin-top: var(--space-md);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}


/* ==========================================================================
   10. BRAND BANNER
   ========================================================================== */
.banner-section { background: var(--cream); padding-top: 0; }

.banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

/* Text sits in the top band — above the bottle labels, never over them. */
.banner-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
  padding: clamp(1.5rem, 1rem + 2.4vw, 3.25rem);
  background: linear-gradient(to bottom,
              rgba(25, 23, 21, 0.62) 0%,
              rgba(25, 23, 21, 0.34) 55%,
              rgba(25, 23, 21, 0) 100%);
  color: var(--off-white);
}

.banner-title {
  font-size: clamp(1.5rem, 0.9rem + 2.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 16px rgba(25, 23, 21, 0.35);
}


/* ==========================================================================
   11. ORDER
   ========================================================================== */
.order {
  background: var(--off-white);
  overflow: hidden;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}

.order-copy .lead { margin-bottom: var(--space-lg); }

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.order-steps {
  display: grid;
  gap: var(--space-sm);
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.order-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.9rem;
  align-items: start;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xs);
}

.order-num {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.order-steps strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.order-steps p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

.order-visual {
  margin: 0;
}

.order-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.order-visual figcaption {
  margin-top: var(--space-sm);
  color: var(--ink-mute);
  font-size: 0.86rem;
  font-weight: 600;
}

.flavour-banner {
  background: var(--off-white);
  padding-top: 0;
}

.flavour-banner-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  isolation: isolate;
}

.flavour-banner-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
}

.flavour-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(25, 23, 21, 0.72) 0%,
      rgba(25, 23, 21, 0.42) 34%,
      rgba(25, 23, 21, 0.08) 70%,
      rgba(25, 23, 21, 0.32) 100%),
    linear-gradient(to top,
      rgba(25, 23, 21, 0.36) 0%,
      rgba(25, 23, 21, 0) 45%);
}

.flavour-banner-copy {
  position: absolute;
  left: clamp(1.2rem, 1rem + 2vw, 3rem);
  bottom: clamp(1.2rem, 1rem + 2vw, 3rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: min(28rem, calc(100% - 2.4rem));
  color: var(--off-white);
}

.flavour-banner-copy .eyebrow {
  margin-bottom: 0;
}

.flavour-banner-copy strong {
  font-size: clamp(1.7rem, 1rem + 3vw, 3.8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}


/* ==========================================================================
   12. WHY FOOFY
   ========================================================================== */
.why {
  position: relative;
  background: var(--off-white);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.why-card::before {
  /* soft accent bubble in the corner, like the label dot clusters */
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.16;
  transition: transform var(--t-slow), opacity var(--t-base);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scale(1.25); opacity: 0.24; }

.why-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink-mute); /* fallback */
  color: color-mix(in srgb, var(--accent) 78%, var(--ink));
}
.why-title {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.why-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* floating decorative bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.bubbles span {
  position: absolute;
  border-radius: 50%;
  background: var(--dot);
  opacity: 0.18;
}
.bubbles span:nth-child(1) { width: 14px; height: 14px; top: 12%; left: 5%; }
.bubbles span:nth-child(2) { width: 24px; height: 24px; top: 72%; left: 12%; }
.bubbles span:nth-child(3) { width: 10px; height: 10px; top: 24%; right: 9%; }
.bubbles span:nth-child(4) { width: 18px; height: 18px; bottom: 14%; right: 6%; }
.bubbles span:nth-child(5) { width: 12px; height: 12px; top: 54%; left: 48%; }


/* ==========================================================================
   13. DEALERSHIP CTA
   ========================================================================== */
.dealer-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--off-white);
  padding-block: clamp(4rem, 2.5rem + 6vw, 8rem);
}

.dealer-cta-inner {
  position: relative;
  display: flex;
  justify-content: center;
}

.dealer-cta-copy {
  position: relative;
  z-index: 3;
  max-width: 44rem;
  text-align: center;
}

.dealer-cta-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-inline: auto;
}
.dealer-cta-sub {
  font-size: var(--fs-lead);
  color: rgba(251, 248, 242, 0.72);
  margin: var(--space-md) auto var(--space-lg);
  max-width: 44ch;
}

/* floating bottle cut-outs, using supplied product photography only */
.dealer-float {
  position: absolute;
  z-index: 1;
  width: clamp(150px, 15vw, 250px);
  opacity: 0.55;
}
.dealer-float img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}
.dealer-float-a { left: -4%; top: 50%; transform: translateY(-50%) rotate(-7deg); }
.dealer-float-b { right: -4%; top: 50%; transform: translateY(-50%) rotate(7deg); }


/* ==========================================================================
   14. DEALERSHIP FORM
   ========================================================================== */
.dealership { background: var(--off-white); }

.dealership-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 1rem + 3.5vw, 4.5rem);
  align-items: start;
}

.dealership-points {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: var(--space-lg);
  padding: 0;
}
.dealership-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form { display: flex; flex-direction: column; gap: var(--space-md); }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.req { color: var(--accent-kokum); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--off-white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191715' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-strong); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(25, 23, 21, 0.07);
}

/* error state */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--accent-kokum);
  background: var(--off-white); /* fallback */
  background: color-mix(in srgb, var(--accent-kokum) 5%, var(--off-white));
}

.error {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-kokum);
  min-height: 0;
}
.error:empty { display: none; }

/* checkbox row */
.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
}
.field-check input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 0.18rem;
  accent-color: var(--ink);
  padding: 0;
  cursor: pointer;
}
.field-check label {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-check.has-error label { color: var(--accent-kokum); }

/* honeypot — hidden from people, visible to naive bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-mute);
  text-align: center;
}
.form-status:empty { display: none; }
.form-status.is-error { color: var(--accent-kokum); }

/* success state */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding-block: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.success-mark {
  display: grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream); /* fallback */
  background: color-mix(in srgb, var(--accent-lime) 22%, transparent);
  color: var(--ink); /* fallback */
  color: color-mix(in srgb, var(--accent-lime) 82%, var(--ink));
  margin-bottom: var(--space-xs);
}
.form-success h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 26ch;
}
.form-success p { color: var(--ink-soft); font-size: 0.95rem; max-width: 34ch; }
.form-success .btn { margin-top: var(--space-sm); }


/* ==========================================================================
   15. SUPPORT
   ========================================================================== */
.support { background: var(--cream); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
  margin: 0;
  padding: 0;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.support-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.support-card a {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
  border-bottom: 2px solid transparent;
  align-self: flex-start;
  transition: border-color var(--t-fast);
}
.support-card a:hover { border-bottom-color: var(--accent); }
.support-card p { font-size: 0.92rem; color: var(--ink-soft); }

.support-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.support-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin: 0;
}
.support-meta dt {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.2rem;
}
.support-meta dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.support-meta a { border-bottom: 1px solid var(--line-strong); }
.support-meta a:hover { border-bottom-color: var(--ink); }

.socials { display: flex; align-items: center; gap: var(--space-sm); }
.socials-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.socials ul {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast);
}
.socials a:hover {
  background: var(--ink);
  color: var(--off-white);
  border-color: var(--ink);
  transform: translateY(-3px);
}


/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.72);
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding-bottom: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  padding-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem);
}

.footer-brand img { width: auto; height: 32px; }
.footer-tag {
  margin-top: var(--space-sm);
  font-size: var(--fs-lead);
  font-weight: 500;
  font-style: italic;
  color: var(--sand);
  letter-spacing: -0.02em;
}

.footer-heading {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.45);
  margin-bottom: var(--space-sm);
}

.footer-nav ul,
.footer-legal-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav a,
.footer-legal-col a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(251, 248, 242, 0.78);
  transition: color var(--t-fast);
}
.footer-nav a:hover,
.footer-legal-col a:hover { color: var(--off-white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(251, 248, 242, 0.14);
  font-size: 0.86rem;
  color: rgba(251, 248, 242, 0.5);
}
.footer-note { font-style: italic; }


/* ==========================================================================
   17. BACK TO TOP
   ========================================================================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--off-white);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-base), transform var(--t-base), background-color var(--t-fast);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: #2c2825; }
.to-top[hidden] { display: none; }


/* ==========================================================================
   18. SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* stagger children inside grids */
.product-card.reveal:nth-child(2),
.why-card.reveal:nth-child(2),
.support-card.reveal:nth-child(2) { transition-delay: 70ms; }
.product-card.reveal:nth-child(3),
.why-card.reveal:nth-child(3),
.support-card.reveal:nth-child(3) { transition-delay: 140ms; }
.product-card.reveal:nth-child(4),
.why-card.reveal:nth-child(4) { transition-delay: 210ms; }
.product-card.reveal:nth-child(5) { transition-delay: 280ms; }


/* ==========================================================================
   19. RESPONSIVE
   ========================================================================== */

/* --- Laptop --- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .hero-media img { aspect-ratio: 16 / 9; }
  .hero-badge { left: auto; right: 4%; bottom: -1.5rem; }

  .order-grid { grid-template-columns: 1fr; }
  .order-copy { max-width: 44rem; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealership-grid { grid-template-columns: 1fr; }
}

/* --- Tablet --- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }

  /* nav collapses into a sheet */
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    padding: var(--space-md) var(--gutter) var(--space-lg);
    background: var(--off-white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-base), opacity var(--t-base), visibility var(--t-base);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-link {
    display: block;
    padding-block: 0.95rem;
    font-size: 1.05rem;
    color: var(--ink);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--sand-deep); }
  .nav-cta { margin-top: var(--space-xs); padding-block: 0.95rem; }

  /* products: 2 up */
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-card,
  .product-card:nth-child(4),
  .product-card:nth-child(5) { grid-column: span 2; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { display: none; }

  .banner img { aspect-ratio: 5 / 3; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .dealer-float { display: none; }

  .support-grid { grid-template-columns: 1fr; }
  .support-details { flex-direction: column; align-items: flex-start; }
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }

  /* products become a snap carousel so bottles stay large and readable */
  .product-grid {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bleed to the screen edges for a native carousel feel */
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-block: 0.5rem;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-card,
  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: auto;
    flex: 0 0 78%;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .product-card:hover { transform: none; }

  .scroll-hint { display: block; }

  .why-grid { grid-template-columns: 1fr; }

  .hero-actions .btn { flex: 1 1 auto; }

  /* banner text moves below the photo so it never sits on the labels */
  .banner { border-radius: var(--r-lg); }
  .banner img { aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .banner-overlay {
    position: static;
    background: var(--ink);
    padding: var(--space-md);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
  }
  .banner-title { text-shadow: none; }

  .order-steps li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .order-num { grid-row: auto; }
  .order-actions .btn { width: 100%; }
  .order-visual img { border-radius: var(--r-lg); }
  .flavour-banner-media { border-radius: var(--r-lg); }
  .flavour-banner-media img { aspect-ratio: 4 / 3; }
  .flavour-banner-copy {
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
  }
  .flavour-banner-copy strong { max-width: 12ch; }

  .support-meta { flex-direction: column; gap: var(--space-md); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badge { display: none; }
}


/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .btn:hover,
  .product-card:hover,
  .why-card:hover,
  .support-card:hover,
  .socials a:hover { transform: none; }
  .product-card:hover .product-media img { transform: none; }
}


/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header, .to-top, .nav-backdrop, .hero-blob, .bubbles { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
