/* =========================================================================
   FF Florence design tokens: the single source for colour, type, spacing,
   corners, shadows and motion (docs/THEME.md section 1; decision record
   docs/decisions/2026-11-24-one-tokens-file.md). Loaded before every other
   stylesheet. No colour or font size may be written anywhere else in the
   theme: scripts/check-tokens.sh fails if one is.
   Values are today's exact values (v2 round 1 changed no look).
   ========================================================================= */
:root{
  /* surface */
  --ink:#0d1912;
  --ink-2:#12241a;
  --panel:#14261c;
  --img-bg:#0a130d;

  /* accent */
  --gold:#c8a24c;
  --gold-soft:#d9bd77;
  --gold-wash:rgba(200,162,76,.08);

  /* text */
  --cream:#f4efe4;
  --cream-dim:#cbc3b1;

  /* structure */
  --line:rgba(200,162,76,.28);
  --emerald:#0f3d2e;
  --emerald-2:#124534;
  --header-bg:rgba(13,25,18,.86);
  --badge-bg:rgba(13,25,18,.8);
  --scrim:rgba(0,0,0,.6);
  --hero-glow-1:rgba(15,61,46,.55);
  --hero-glow-2:rgba(84,60,20,.35);
  --danger:#d98a6a;
  --shadow:0 20px 50px -20px rgba(0,0,0,.7);

  /* type */
  --sans:'Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;

  /* layout */
  --wrap:1240px;
  --gutter:24px;
  --gutter-sm:18px;

  /* colour at other strengths (used in gradients, washes and hovers) */
  --ink-0:rgba(13,25,18,0);             /* ink, fully clear (gradient ends) */
  --ink-35:rgba(13,25,18,.35);          /* ink at 35% */
  --ink-45:rgba(13,25,18,.45);          /* ink at 45% */
  --ink-50:rgba(13,25,18,.5);           /* ink at 50% */
  --ink-55:rgba(13,25,18,.55);          /* ink at 55% */
  --ink-70:rgba(13,25,18,.7);           /* ink at 70% */
  --ink-90:rgba(13,25,18,.9);           /* ink at 90% */
  --ink-94:rgba(13,25,18,.94);          /* ink at 94% */
  --gold-05:rgba(200,162,76,.05);       /* gold at 5% */
  --gold-06:rgba(200,162,76,.06);       /* gold at 6% */
  --gold-20:rgba(200,162,76,.2);        /* gold at 20% */
  --danger-wash:rgba(217,138,106,.08);  /* danger at 8% */

  /* type scale: one token per role, today's sizes */
  --fs-brand-sub-xs:.52rem;                 /* wordmark sub-line, narrowest phones */
  --fs-brand-sub:.6rem;                     /* wordmark sub-line */
  --fs-eyebrow:.62rem;                      /* eyebrows, card badge, offer label */
  --fs-card-cat:.64rem;                     /* card category, category tile count */
  --fs-count:.66rem;                        /* cart count, chip counts, small menu labels */
  --fs-chip-sm:.68rem;                      /* chips on phones, product meta */
  --fs-label-sm:.7rem;                      /* small uppercase labels */
  --fs-label:.72rem;                        /* uppercase labels, announce bar */
  --fs-label-lg:.74rem;                     /* chips, footer headings, footer line */
  --fs-notice-icon:.75rem;                  /* error list marker */
  --fs-button-sm:.76rem;                    /* small buttons, back link */
  --fs-button:.78rem;                       /* buttons, CTA price */
  --fs-ui-sm:.8rem;                         /* small UI text, cart button */
  --fs-tagline-sm:.82rem;                   /* card tagline, value text */
  --fs-ui:.84rem;                           /* UI text, shipment and tax-document links */
  --fs-footer:.85rem;                       /* footer text, menu sub-line */
  --fs-body-sm:.88rem;                      /* small body text, address, select lists */
  --fs-price-sm:.9rem;                      /* card price, drawer rows */
  --fs-note:.92rem;                         /* occasions text */
  --fs-body-ui:.95rem;                      /* body text in UI blocks */
  --fs-body:1rem;                           /* body text, quantity field, order totals */
  --fs-hero-body:1.02rem;                   /* hero paragraph */
  --fs-body-lg:1.05rem;                     /* product feel / why text, cart product name */
  --fs-lead:1.1rem;                         /* fragrance profile, cart line title, size number */
  --fs-h4:1.15rem;                          /* small headings, category tile name */
  --fs-h4-lg:1.2rem;                        /* value heading, hero product tagline */
  --fs-card-title-sm:1.25rem;               /* card title on phones, offer code */
  --fs-tagline:1.3rem;                      /* product tagline */
  --fs-total:1.4rem;                        /* order total, hero product tagline */
  --fs-cat-tile:1.45rem;                    /* category tile name, wide */
  --fs-h3:1.5rem;                           /* card title, drawer heading, cart totals heading */
  --fs-wordmark-sm:1.6rem;                  /* wordmark on phones, page h2, empty-cart ornament */
  --fs-wordmark:1.9rem;                     /* header wordmark */
  --fs-wordmark-lg:2rem;                    /* footer wordmark */
  --fs-section:clamp(2.2rem,5vw,3.4rem);    /* section heading */
  --fs-product-title:clamp(2.4rem,5vw,3.6rem); /* product page name */
  --fs-hero-product:clamp(2.6rem,5vw,4.4rem); /* hero product slide name */
  --fs-hero-offer:clamp(3rem,8vw,6rem);     /* hero offer code */
  --fs-hero:clamp(3rem,8vw,6.4rem);         /* hero heading */

  /* spacing (padding, margin, gap): today's px values; names carry the px */
  --space-1:1px;
  --space-2:2px;
  --space-3:3px;
  --space-4:4px;
  --space-5:5px;
  --space-6:6px;
  --space-7:7px;
  --space-8:8px;
  --space-9:9px;
  --space-10:10px;
  --space-11:11px;
  --space-12:12px;
  --space-13:13px;
  --space-14:14px;
  --space-15:15px;
  --space-16:16px;
  --space-18:18px;
  --space-20:20px;
  --space-22:22px;
  --space-24:24px;
  --space-26:26px;
  --space-28:28px;
  --space-30:30px;
  --space-32:32px;
  --space-34:34px;
  --space-36:36px;
  --space-38:38px;
  --space-40:40px;
  --space-44:44px;
  --space-48:48px;
  --space-50:50px;
  --space-52:52px;
  --space-56:56px;
  --space-60:60px;
  --space-80:80px;
  --space-84:84px;
  --space-92:92px;

  /* the smallest tap target, both ways (v2 round 1, B; docs/design-principles) */
  --tap:44px;

  /* corners: square by design (docs/THEME.md 1.6) */
  --radius-none:0;
  --radius-chip:2px;
  --radius-pill:9px;

  /* shadows and rings (--shadow above is the card and toast shadow) */
  --ring-gold:0 0 0 1px var(--gold);
  --ring-danger:0 0 0 1px var(--danger);

  /* motion */
  --dur-100:.1s;
  --dur-150:.15s;
  --dur-200:.2s;
  --dur-250:.25s;
  --dur-300:.3s;
  --dur-350:.35s;
  --dur-400:.4s;
  --dur-450:.45s;
  --dur-500:.5s;
  --dur-600:.6s;
  --dur-800:.8s;
  --ease-standard:cubic-bezier(.4,0,.2,1);
}
