/* Flyberry design language: "Orchard Daylight"
   The site is a calm, sunlit room. The packs bring all the colour.
   Every page loads this file first; page styles only use these tokens. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..600,50;1,9..144,300..600,50&family=Figtree:wght@400;500;600&display=swap');

:root {
  /* ---- surfaces: daylight on natural materials ---- */
  --oat: #f3eee5;        /* page: unbleached paper in daylight */
  --linen: #e9e2d5;      /* panels, cards */
  --travertine: #d8cdbb; /* rules, borders, the stone the packs sit on */
  --bone: #fbf8f2;       /* raised surfaces, inputs */
  --walnut: #6b4a33;     /* wood: shelves, the occasional dark band */

  /* ---- ink: all type is ink, never coloured ---- */
  --ink: #241a14;        /* date-skin brown-black */
  --ink-2: #5d5148;      /* secondary text */
  --ink-3: #8f8378;      /* captions, disabled */

  /* ---- brand accent: the logo's orange, used sparingly ---- */
  --ameri: #f9662e;      /* logo, primary button, cart count. Max ~5% of any screen */
  --ameri-deep: #c24a1c; /* hover / pressed */
  --leaf: #5b6a3c;       /* in stock, success: the date-palm frond */

  /* ---- range colours: taken from the real packs. Use on/beside packs only, never on UI chrome ---- */
  --r-ameri: #ee8027;
  --r-kalmi: #ee9e2b;
  --r-deglet: #4fc2bd;
  --r-deri: #0fb6e8;
  --r-medjoul: #63499d;
  --r-bites: #57318e;
  --r-omani: #d61d26;
  --r-brazil: #700228;
  --r-hazelnut: #65c1c3;
  --r-macadamia: #d98c01;
  --r-pecan: #364a70;
  --r-pine: #66af71;
  --r-gifting: #c2185b;

  /* ---- type ---- */
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif; /* soft optical serif: echoes the rounded logo */
  --sans: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --t-xs: 0.75rem;   /* 12  captions, labels */
  --t-sm: 0.875rem;  /* 14  UI, meta */
  --t-md: 1rem;      /* 16  body */
  --t-lg: 1.25rem;   /* 20  lead, product names */
  --t-xl: 1.75rem;   /* 28  section heads */
  --t-2xl: clamp(2rem, 3.6vw, 2.75rem);  /* page heads */
  --t-3xl: clamp(2.5rem, 5.4vw, 4rem);   /* hero line: the largest type on the site */

  /* ---- space: 4px base ---- */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 144px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;

  /* ---- shape & light ---- */
  --radius: 4px;        /* crisp, like cut stone */
  --radius-lg: 10px;    /* photos, cards */
  --hair: 1px solid var(--travertine);
  /* soft daylight from high and to the left: long, faint, warm. No glows. */
  --shadow-rest: 0 1px 0 rgba(60, 40, 25, .05), 0 18px 40px -24px rgba(60, 40, 25, .28);
  --shadow-lift: 0 2px 0 rgba(60, 40, 25, .04), 0 34px 60px -30px rgba(60, 40, 25, .34);
  --contact: radial-gradient(closest-side, rgba(60, 40, 25, .22), rgba(60, 40, 25, 0)); /* under a pack */

  /* ---- motion: unhurried, like light moving across a room ---- */
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.6, 0, .2, 1);
  --d-fast: 180ms; --d: 420ms; --d-slow: 900ms;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--oat); color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: rgba(249, 102, 46, .22); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.serif { font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: 'SOFT' 50; }
.eyebrow { font: 500 var(--t-xs)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5);
  border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 var(--t-sm)/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
.btn:hover { background: var(--ink); color: var(--oat); }
.btn-primary { background: var(--ameri); border-color: var(--ameri); color: #fff; }
.btn-primary:hover { background: var(--ameri-deep); border-color: var(--ameri-deep); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
