/* =====================================================================
   CocoPure — design tokens.

   The palette is derived from the supplied logo (images/logo-original.jpg):
   a deep forest-green body, a lime outer rim, a gold bevel and white
   letterforms. Those four are kept, but refined for screen use — the
   sampled logo greens are olive and heavily shaded by the 3D render, so
   they are retuned to a cleaner modern forest/leaf pair, and the gold is
   split into a decorative tone and a darker text-safe tone.

   Sampled from the artwork        ->  shipped token
     green  median  #204801            --cp-forest  #11411F
     green  highlight #71A31D          --cp-green   #1E7A33
     lime   median  #76A404            --cp-lime    #8FC03C
     gold   median  #968C59            --cp-gold    #C9A227

   Every pair below is verified by tools/check-contrast.py. Re-run it after
   changing anything here.
   ===================================================================== */
:root{
  /* --- brand frame --- */
  --cp-forest:#11411F;       /* deep green surface: announce bar, footer, ink panels */
  --cp-forest-deep:#0C3016;  /* pressed / darkest green */
  --cp-green:#1E7A33;        /* primary green: buttons, active states */
  --cp-green-dark:#19682B;   /* hover on green surfaces */
  --cp-green-ink:#156227;    /* AA-safe green for small text + links on white/cream */
  --cp-lime:#8FC03C;         /* fresh accent: rules, chips, progress, highlights */
  --cp-lime-soft:#D9EBB4;    /* lime wash for tints and chip backgrounds */
  --cp-gold:#C9A227;         /* decorative gold: badges, dividers, save flags */
  --cp-gold-ink:#7A6010;     /* AA-safe gold for small text */
  --cp-gold-soft:#F3E7C2;    /* gold wash */

  /* --- neutrals (coconut flesh / husk) --- */
  --cp-paper:#FFFFFF;
  --cp-shell:#FAF6EE;        /* warm coconut-cream canvas, the default page field */
  --cp-shell-deep:#F2EADC;   /* second tint for wells and alternating bands */
  --cp-ink:#17200F;          /* near-black with a green cast */
  --cp-ink-soft:#4F5A49;     /* muted body text */
  --cp-line:#E6DFD1;         /* hairline on cream */
  --cp-line-soft:#EFE9DE;
  --cp-cream-dim:#C2CFB6;    /* muted text on the deep green field */

  /* --- type --- */
  /* One family carries the page: Archivo, a grotesque with a tall x-height
     that holds up both as a bold display face and as body copy. Display and
     body are kept as separate tokens even though they resolve to the same
     stack, so the two roles stay independently swappable. Weight, not
     family, is what separates them — see --cp-weight-display below.
     Swap here to restyle the whole site. */
  --cp-font-display:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --cp-font-body:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --cp-font-script:'Caveat',cursive;

  /* Archivo Bold is the display weight: every heading, the countdown digits
     and the button label are set at 700. Body copy stays at 400/500 so the
     page reads rather than shouts. */
  --cp-weight-display:700;

  /* --- shape + rhythm --- */
  --cp-r-sm:10px;
  --cp-r-md:16px;
  --cp-r-lg:26px;
  --cp-r-xl:38px;
  --cp-r-pill:999px;
  --cp-space:clamp(16px,2.2vw,28px);
  --cp-wrap:1280px;

  /* --- elevation --- */
  --cp-shadow-sm:0 10px 24px -18px rgba(23,32,15,.55);
  --cp-shadow-md:0 26px 50px -34px rgba(23,32,15,.5);
  --cp-shadow-lg:0 38px 70px -40px rgba(23,32,15,.45);
}

/* Per-product accents. Unused by the coming-soon page, kept because the
   deferred storefront in _deferred/storefront/ is built on them: each product
   in its data/catalogue.js names a "world" and the matching attribute
   recolours cards, PDP chrome and pack art without touching the green/gold
   frame. */
[data-world="water"]{   --cp-a:#DFF1F4; --cp-b:#8FD3DC; --cp-accent:#2E8C97; }
[data-world="oil"]{     --cp-a:#F7EFDC; --cp-b:#E8CF95; --cp-accent:#A8821F; }
[data-world="milk"]{    --cp-a:#F3F0E8; --cp-b:#DCD6C4; --cp-accent:#6E6A52; }
[data-world="snack"]{   --cp-a:#F6E8D8; --cp-b:#E2BC8E; --cp-accent:#9A5F27; }
[data-world="bundle"]{  --cp-a:#E6F0D9; --cp-b:#BDD898; --cp-accent:#4C7A22; }
