/*
 * Breakpoints (use these values in @media queries):
 *   sm:  640px   — tablet portrait
 *   md:  768px   — tablet landscape
 *   lg: 1024px   — desktop
 */

:root {
    /* --- Brand colors --- */
    --color-primary: #f4846e;
    --color-primary-dark: #d95f4c;
    --color-primary-soft: #ffe6e6;
    /* --- Surface colors --- */
    --color-background: #fff8f5;
    --color-surface: #ffffff;
    --color-surface-accent: #fff1ed;
    /* --- Text colors --- */
    --color-text-primary: #5d5245;
    --color-text-muted: #8a7d6f;
    /* --- Utility colors --- */
    --color-border: #ead7cf;
    --color-accent-green: #a8bfa3;
    --color-success: #3f5a3b;
    --color-success-soft: #edf4eb;
    /*--color-highlight:       #f7c873;*/
    --color-highlight: #b1cbe7;
    --color-scrim: rgba(48, 34, 29, 0.42);
   
    /* --- Border radius --- */
    --radius-card: 2rem;
    --radius-card-inner: 1.5rem;
    --radius-chip: 9999px;
    --radius-button: 1rem;
    --radius-button-sm: 0.75rem;
    --radius-input: 1rem;
    /* --- Spacing scale --- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    /* --- Typography --- */
    --font-brand: 'Nok Regular', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2rem;
    --text-5xl: 2.225rem;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
    --weight-black: 900;
    --font-brand-letter-spacing: 0.115rem;
    /* --- Shadows --- */
    --shadow-sm: 0 1px 3px 0 rgb(93 82 69 / 0.08);
    --shadow-md: 0 4px 12px 0 rgb(93 82 69 / 0.10);
    --shadow-lg: 0 8px 24px 0 rgb(93 82 69 / 0.14);
    /* --- Transitions --- */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    /* --- Bottom nav height (used for page padding-bottom) --- */
    --bottom-nav-height: calc(4rem + env(safe-area-inset-bottom, 0px));
    /* Chrome a modal must stay clear of at the bottom edge. Apps with a fixed
       bottom bar raise this; without it a tall modal ends up behind that bar
       with no way to scroll to what it hides. */
    --modal-inset-bottom: 0px;
    /* --- Chrome dimensions (used by the live Header/BottomNav/MainLayout) --- */
    --chrome-header-logo-height: 2rem;
    --chrome-header-padding-y: var(--space-4);
    --chrome-header-padding-x: var(--space-5);
    --chrome-content-max-width: 1200px;
    /* --- Detail hero banner ratio above 640px. Editors crop to 16:9 and the banner centre-crops
           from that, so MediaCropFormats.Content mirrors this value to draw the safe area. --- */
    --detail-hero-wide-ratio: 3 / 1;
    /* --- Scrollbar --- */
    --scrollbar-size: 8px;
    --scrollbar-thumb: #c9a99a;
    --scrollbar-thumb-hover: #f4846e;
    --scrollbar-thumb-active: #d95f4c;
    --scrollbar-track: #fff1ed;
    --scrollbar-radius: var(--radius-chip);
    --scrollbar-inset: var(--space-2);
}
