/* Groovy Nook design tokens — generated from the design system (tokens/*.css). */
/* Groovy Nook webfonts — Google Fonts (OFL), latin subset, self-hosted */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-stretch:100%;font-display:swap;src:url('../fonts/BricolageGrotesque-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Bagel Fat One';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/BagelFatOne-Roman-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'DM Sans';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/DMSans-Italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/DMSans-Roman-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/DMSans-Roman-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/DMSans-Roman-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* Groovy Nook — color tokens. Contrast ratios (WCAG 2.1) noted inline; see guidelines/contrast for the full matrix. */
:root{
/* Base palette */
--gn-cream:#FFF6E5;        /* page canvas */
--gn-ink:#2B2320;          /* text, borders · 14.34:1 on cream */
--gn-ink-soft:#554D47;     /* secondary text · 7.71:1 on cream, ≥5.6:1 on all tints */
--gn-white:#FFFFFF;        /* input fields only */
--gn-tomato:#E8412B;       /* brand red — fills, sale blocks (no small text on it) */
--gn-tangerine:#F58A1F;    /* hover accent · ink on tangerine 6.26:1 */
--gn-mustard:#F2B932;      /* highlight blocks, announcement bar · ink 8.62:1 */
--gn-bubblegum:#F7A8C4;    /* section washes · ink 8.32:1 */
--gn-leaf:#4E8B5B;         /* success, secondary — graphic use */
--gn-cobalt:#2F4FB5;       /* links · 6.73:1 on cream; cream on cobalt 6.73:1 */
/* Text-safe deep variants (15% toward ink) — used whenever small text sits on/in the color */
--gn-tomato-600:#CC3D29;   /* cream on it 4.59:1 · it on cream 4.59:1 · white 4.92:1 */
--gn-leaf-600:#497B52;     /* cream on it 4.62:1 · white 4.95:1 */
/* Tints — 20% accent over cream; product-card & wash backgrounds. Ink on all ≥10.5:1 */
--gn-tomato-tint:#FAD2C0;
--gn-tangerine-tint:#FDE0BD;
--gn-mustard-tint:#FCEAC1;
--gn-bubblegum-tint:#FDE6DE;
--gn-leaf-tint:#DCE1C9;
--gn-cobalt-tint:#D5D5DB;
/* Neutrals derived from ink/cream */
--gn-cream-deep:#F5E8CF;   /* pressed / disabled fill */
--gn-hairline:rgba(43,35,32,.16); /* decorative dividers only */

/* Semantic aliases */
--text-body:var(--gn-ink);
--text-muted:var(--gn-ink-soft);
--text-link:var(--gn-cobalt);
--text-on-dark:var(--gn-cream);
--text-on-accent:var(--gn-ink);
--text-sale:var(--gn-tomato-600);
--text-success:var(--gn-leaf-600);
--text-error:var(--gn-tomato-600);
--text-disabled:rgba(43,35,32,.45);

--surface-page:var(--gn-cream);
--surface-input:var(--gn-white);
--surface-inverse:var(--gn-ink);
--surface-highlight:var(--gn-mustard);
--surface-wash:var(--gn-bubblegum-tint);
--surface-disabled:var(--gn-cream-deep);

--border-strong:var(--gn-ink);
--border-subtle:var(--gn-hairline);
--focus-ring:var(--gn-cobalt);

--action-primary-bg:var(--gn-tomato-600);
--action-primary-fg:var(--gn-cream);
--action-hover-bg:var(--gn-tangerine);
--action-hover-fg:var(--gn-ink);
--action-secondary-bg:var(--gn-leaf-600);
--action-secondary-fg:var(--gn-cream);

--badge-sale-bg:var(--gn-tomato-600);--badge-sale-fg:var(--gn-cream);
--badge-new-bg:var(--gn-mustard);--badge-new-fg:var(--gn-ink);
--badge-bundle-bg:var(--gn-bubblegum);--badge-bundle-fg:var(--gn-ink);
}
/* Groovy Nook — type tokens. Mobile-first: :root holds mobile sizes, ≥768px overrides to desktop. */
:root{
--font-display:'Bricolage Grotesque','Arial Black',ui-sans-serif,system-ui,sans-serif;
--font-logo:'Bagel Fat One','Cooper Black','Cooper Std',Georgia,serif;
--font-ui:'DM Sans',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
--weight-regular:400;/* @kind font */--weight-medium:500;/* @kind font */--weight-bold:700;/* @kind font */

/* Display — Bagel Fat One (single weight 400). Never below 20px. */
--type-display-xl:44px;--lh-display-xl:1.02;/* @kind font */   /* hero */
--type-display-l:36px;--lh-display-l:1.06;/* @kind font */       /* poster banners */
--type-h1:30px;--lh-h1:1.12;/* @kind font */
--type-h2:26px;--lh-h2:1.15;/* @kind font */
--type-h3:22px;--lh-h3:1.2;/* @kind font */
--type-h4:20px;--lh-h4:1.2;/* @kind font */                   /* product card names */
--tracking-display:-.025em;/* @kind font */

/* UI — DM Sans */
--type-body-lg:17px;--lh-body-lg:1.55;/* @kind font */
--type-body:16px;--lh-body:1.55;/* @kind font */   /* 16px min on mobile: prevents iOS input zoom */
--type-body-sm:14px;--lh-body-sm:1.5;/* @kind font */
--type-caption:12px;--lh-caption:1.4;/* @kind font */
--type-overline:12px;--tracking-overline:.1em;/* @kind font */
--type-button:16px;--type-button-sm:14px;
--type-price:18px;
}
@media (min-width:768px){:root{
--type-display-xl:72px;
--type-display-l:52px;
--type-h1:42px;
--type-h2:32px;
--type-h3:24px;
--type-h4:20px;
--type-body-lg:18px;
--type-price:20px;
}}
/* Groovy Nook — spacing (4px base), radii, borders, elevation, motion, layout */
:root{
--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--space-24:96px;--space-32:128px;

--radius-xs:4px;      /* checkbox */
--radius-sm:8px;      /* thumbnails, swatch tiles */
--radius-card:16px;   /* product, collection, review cards */
--radius-panel:24px;  /* hero panels, drawers */
--radius-pill:999px;  /* buttons, inputs, badges, chips */
--radius-circle:50%;  /* color swatches, avatars, icon buttons */

--border-hairline:1px; /* decorative dividers */
--border-default:2px;  /* inputs, outline buttons, card outlines — the poster line */
--border-heavy:3px;    /* selected swatch, focus ring */

--shadow-none:none;
--shadow-overlay:0 12px 32px rgba(43,35,32,.18); /* toast, drawer, dropdown ONLY */
--shadow-sticker:3px 3px 0 var(--gn-ink);        /* optional: primary CTA :hover only */

--ease-pop:cubic-bezier(.34,1.56,.64,1);/* @kind other */
--ease-out:cubic-bezier(.2,.8,.2,1);/* @kind other */
--dur-fast:120ms;/* @kind other */--dur-base:200ms;/* @kind other */--dur-slow:320ms;/* @kind other */

--page-max:1240px;
--gutter:16px;
--section-y:48px;
--header-h:60px;
--announce-h:36px;
--tap-min:44px;
}
@media (min-width:768px){:root{--gutter:32px;--section-y:80px;--header-h:76px;}}
/* Groovy Nook — decorative pattern tokens (flat-poster idea). Use sparingly. */
:root{
--pattern-checker-ink:repeating-conic-gradient(var(--gn-ink) 0 25%,var(--gn-cream) 0 50%);
--pattern-checker-mustard:repeating-conic-gradient(var(--gn-mustard) 0 25%,var(--gn-cream) 0 50%);
--pattern-checker-bubblegum:repeating-conic-gradient(var(--gn-bubblegum) 0 25%,var(--gn-cream) 0 50%);
--checker-size:24px;
--mask-wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10 C20 -3 20 -3 40 10 S60 23 80 10 V20 H0Z'/%3E%3C/svg%3E");/* @kind other */
--wave-w:80px;--wave-h:20px;
}
