/*
 * Parlor Doughnuts — design tokens
 * Source: parlordoughnuts.com (html.to.design import, Oct 2026) → see DESIGN.md
 *
 * Fonts: the live site uses licensed Wix uploads (Cubano, GT Eesti Display,
 * Futura PT). These tokens point at Google Fonts stand-ins. If Parlor supplies
 * webfont licenses, drop the files in /assets/fonts and swap the family names
 * below; nothing else needs to change.
 */
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  /* ---- Color: brand ---- */
  --pd-navy: #1f2351;          /* seal, wordmark, bunting */
  --pd-navy-deep: #12152f;     /* hover / pressed, footer */
  --pd-ink: #0b1220;           /* uniform + icon black-navy */
  --pd-bone: #f4f0ea;          /* warm paper, primary page ground */
  --pd-white: #ffffff;
  --pd-sky: #749ca5;           /* dusty blue wainscot in the shops */
  --pd-sky-soft: #dbe6e8;
  --pd-glaze: #b5946a;         /* embroidered patch gold / glaze */
  --pd-glaze-soft: #efe3d2;
  --pd-cocoa: #4d3324;         /* chocolate icing */
  --pd-berry: #c8364a;         /* strawberry accent — use sparingly */

  /* ---- Color: semantic ---- */
  --color-bg: var(--pd-bone);
  --color-surface: var(--pd-white);
  --color-surface-alt: var(--pd-sky-soft);
  --color-text: var(--pd-navy);
  --color-text-muted: #4d5170;
  --color-text-inverse: var(--pd-bone);
  --color-line: rgba(31, 35, 81, 0.16);
  --color-primary: var(--pd-navy);
  --color-primary-hover: var(--pd-navy-deep);
  --color-accent: var(--pd-glaze);
  --color-focus: var(--pd-glaze);
  --color-error: #b3261e;
  --color-success: #2e6b4f;

  /* ---- Type ---- */
  --font-display: "Lilita One", "Cubano", Impact, sans-serif;     /* headlines, ALL CAPS */
  --font-body: "Jost", "Futura PT", "Futura", "Century Gothic", sans-serif;
  --font-ui: var(--font-body);                                     /* GT Eesti stand-in */

  /* Fluid scale (min @ 360px → max @ 1280px) */
  --text-hero: clamp(2.75rem, 1.6rem + 5.2vw, 6.25rem);  /* site: Cubano 100 */
  --text-h1: clamp(2.25rem, 1.5rem + 3.3vw, 4.125rem);   /* site: Cubano 60–66 */
  --text-h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-body: 1.0625rem;                                 /* site: Futura Light 17 */
  --text-small: 0.875rem;
  --text-eyebrow: 0.8125rem;

  --leading-tight: 1.02;
  --leading-snug: 1.2;
  --leading-body: 1.6;
  --tracking-display: 0.01em;
  --tracking-ui: 0.14em;                                  /* uppercase nav + buttons */

  /* ---- Space (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1200px;
  --container-narrow: 760px;

  /* ---- Shape ---- */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --border: 2px solid var(--pd-navy);

  /* ---- Elevation ---- */
  --shadow-card: 0 1px 0 rgba(31, 35, 81, 0.08), 0 12px 32px -16px rgba(31, 35, 81, 0.35);
  --shadow-stamp: 4px 4px 0 var(--pd-navy);                /* offset "printed" shadow */

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 260ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; }
}
