/* Design tokens: fonts, colours, type scale, spacing, shape - from the Digital Murph design system. */
/* Figtree (Google Fonts, SIL OFL), variable 300–900. Substitute for the unconfirmed brand face: see readme.md */
@font-face{font-family:"Figtree";font-style:normal;font-weight:300 900;font-display:swap;src:url("../assets/fonts/Figtree-Variable-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-weight:300 900;font-display:swap;src:url("../assets/fonts/Figtree-Variable-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:"Figtree";font-style:italic;font-weight:300 900;font-display:swap;src:url("../assets/fonts/Figtree-Italic-Variable-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:italic;font-weight:300 900;font-display:swap;src:url("../assets/fonts/Figtree-Italic-Variable-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}

:root{
/* Brand palette (supplied: colours.png) */
--dm-orange:#D25A26;
--dm-ink:#151515;
--dm-paper:#FDFBF9;
--dm-sand:#F7EFE9;

/* Orange scale. 500 is the brand orange. 600/700 are derived darker steps so orange can carry small text and button labels at WCAG AA */
--orange-500:#D25A26; /* graphics, display-size text only (3.9:1 on paper) */
--orange-600:#C04F1F; /* button fills with paper text (4.6:1) */
--orange-700:#A8441A; /* links and small orange text on paper or sand (5.3:1+) */
--orange-800:#8A3714; /* pressed */

/* Warm neutrals */
--ink-900:#151515;
--ink-700:#3A3532;
--ink-500:#6B625C; /* muted text, 5.2:1 on sand */
--ink-400:#8C827B; /* input borders, 3.6:1 on paper */
--sand-400:#D9CABD;
--sand-300:#E8DCD2;
--sand-100:#F7EFE9;
--paper:#FDFBF9;
--white:#FFFFFF;
--ink-100-on-dark:#CFC6BF; /* muted text on ink, 10.9:1 */

/* Status (forms and notices only) */
--red-700:#B3261E;
--green-700:#2E6B3A;

/* Semantic: text */
--text-primary:var(--ink-900);
--text-secondary:var(--ink-700);
--text-muted:var(--ink-500);
--text-accent:var(--orange-700);
--text-display-accent:var(--orange-500);
--text-on-dark:var(--paper);
--text-on-dark-muted:var(--ink-100-on-dark);
--text-on-dark-accent:var(--orange-500); /* 4.5:1 on ink */
--text-link:var(--orange-700);
--text-link-hover:var(--ink-900);
--text-error:var(--red-700);
--text-success:var(--green-700);

/* Semantic: surfaces */
--surface-page:var(--paper);
--surface-alt:var(--sand-100);
--surface-card:var(--sand-100);
--surface-card-on-alt:var(--paper);
--surface-inverse:var(--ink-900);
--surface-brand:var(--orange-500);
--surface-input:var(--white);

/* Semantic: borders */
--border-subtle:var(--sand-300);
--border-default:var(--sand-400);
--border-input:var(--ink-400);
--border-strong:var(--ink-900);
--border-on-dark:#3A3532;

/* Semantic: actions */
--action-primary-bg:var(--orange-600);
--action-primary-bg-hover:var(--orange-700);
--action-primary-bg-active:var(--orange-800);
--action-primary-text:var(--paper);
--action-secondary-border:var(--ink-900);
--action-secondary-text:var(--ink-900);
--action-secondary-bg-hover:var(--ink-900);
--action-secondary-text-hover:var(--paper);
--action-disabled-bg:var(--sand-300);
--action-disabled-text:var(--ink-500);

--focus-ring:var(--orange-600);
--selection-bg:var(--orange-500);
--selection-text:var(--paper);
}

:root{
--font-sans:"Figtree","Avenir Next","Segoe UI",system-ui,sans-serif;
--font-display:var(--font-sans);
--font-body:var(--font-sans);

--weight-light:300;
--weight-regular:400;
--weight-medium:500;
--weight-semibold:600;
--weight-bold:700;
--weight-extrabold:800;
--weight-black:900;

/* Scale: fluid between 375px and 1280px viewports */
--text-display:clamp(2.5rem,1.6rem + 3.9vw,4.5rem); /* @kind other */   /* 40 → 72 */
--text-h1:clamp(2.25rem,1.65rem + 2.6vw,3.5rem); /* @kind other */      /* 36 → 56 */
--text-h2:clamp(1.875rem,1.5rem + 1.6vw,2.75rem); /* @kind other */     /* 30 → 44 */
--text-h3:clamp(1.375rem,1.27rem + .45vw,1.625rem); /* @kind other */   /* 22 → 26 */
--text-h4:1.25rem;                                    /* 20 */
--text-quote:clamp(1.5rem,1.25rem + 1.05vw,2.125rem); /* @kind other */ /* 24 → 34 */
--text-lead:clamp(1.1875rem,1.12rem + .3vw,1.375rem); /* @kind other */ /* 19 → 22 */
--text-body:1.125rem;                                 /* 18 */
--text-small:1rem;                                    /* 16 */
--text-label:.9375rem;                                /* 15 */

--leading-display:1.02;
--leading-heading:1.1;
--leading-snug:1.3;
--leading-body:1.6;

--tracking-display:-.03em;
--tracking-heading:-.02em;
--tracking-snug:-.01em;
--tracking-body:0;

--measure:65ch;
--measure-narrow:48ch;
}

:root{
--space-1:4px;
--space-2:8px;
--space-3:12px;
--space-4:16px;
--space-5:24px;
--space-6:32px;
--space-7:48px;
--space-8:64px;
--space-9:96px;
--space-10:128px;

--section-y:clamp(64px,9vw,128px); /* @kind spacing */
--gutter:clamp(20px,5vw,48px); /* @kind spacing */
--container:1200px;
--container-narrow:760px;
}

:root{
--radius-xs:4px;
--radius-sm:8px;
--radius-md:16px;
--radius-pill:999px;
--radius-arch:999px 999px 0 0;

--border-width:2px;
--border-width-hair:1px;

/* One shadow only, for floating layers (menus, popovers). Surfaces are defined by colour, never shadow */
--shadow-pop:0 12px 32px rgba(21,21,21,.14);

--duration-fast:120ms; /* @kind other */
--duration-base:180ms; /* @kind other */
--ease-standard:cubic-bezier(.2,0,0,1); /* @kind other */
}
