/* Mukta is split by tools/subset_fonts.py: a Latin file and a Marathi file, each loaded only when needed. */
/* Lato by Łukasz Dziedzic and Mukta by Ek Type, SIL Open Font License; see assets/fonts/OFL.txt. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Lato-Regular.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/Lato-Italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Lato-Bold.woff2") format("woff2"); }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Mukta-Regular-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Mukta-Regular-deva.woff2?v=3") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/Mukta-Regular-gujr.woff2?v=2") format("woff2"); unicode-range: U+0A80-0AFF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Mukta-Medium-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Mukta-Medium-deva.woff2?v=3") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/Mukta-Medium-gujr.woff2?v=2") format("woff2"); unicode-range: U+0A80-0AFF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Mukta-SemiBold-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Mukta-SemiBold-deva.woff2?v=3") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/Mukta-SemiBold-gujr.woff2?v=2") format("woff2"); unicode-range: U+0A80-0AFF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Mukta-Bold-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Mukta-Bold-deva.woff2?v=3") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/Mukta-Bold-gujr.woff2?v=2") format("woff2"); unicode-range: U+0A80-0AFF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/Mukta-ExtraBold-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/Mukta-ExtraBold-deva.woff2?v=3") format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A8E0-A8FF; }
@font-face { font-family: "Mukta"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/Mukta-ExtraBold-gujr.woff2?v=2") format("woff2"); unicode-range: U+0A80-0AFF; }

/* Metric-matched stand-ins (Arial resized to Lato's and Mukta's proportions), so text does not
   move when the web fonts arrive. Values measured from the font files. */
@font-face { font-family: "Lato Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 98.09%; ascent-override: 100.62%; descent-override: 21.72%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 92.79%; ascent-override: 106.37%; descent-override: 22.95%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mukta Fallback"; font-weight: 400 800; src: local("Arial"), local("ArialMT"); size-adjust: 97.09%; ascent-override: 116.39%; descent-override: 54.80%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Design tokens. Solstice's system (paper, a display serif over Mukta, hairline
   rules, square surfaces, hard paper shadows) in the trust's own colours, taken
   from the logo: its deep green, the orange of its lettering and the yellow of its sun.
   The legacy names (green-*, saffron-*, forest-*) are kept so every rule follows. */
:root {
  /* Core, from the logo */
  --paper: #FFFFFF;                    /* the page: clean white, the logo's own ground; photos keep their true colour */
  --paper-2: #FFFFFF;
  --paper-3: #EDEDE9;
  --ink: #1C2B1D;                      /* green-black body ink */
  --ink-2: #2F4A30;
  --muted: #55624F;
  --rule: #E2E2DD;
  --logo-green: #1F5A1E;               /* the ring and lettering band */
  --logo-green-2: #2E7D32;
  --logo-leaf: #6FAE3A;                /* the hills */
  --accent: #B9460B;                   /* the logo's orange, deepened for 4.5:1 with white text */
  --accent-deep: #963708;
  --accent-bright: #E8661A;            /* the logo's orange as printed: focus ring, never text on paper */
  --accent-ink: #FFFDF7;
  --gold: #F5C518;                     /* the logo's sun: rules and the hero light, never text */
  --gold-2: #F9DC6B;
  --gold-deep: #B98C0A;                /* the pressed edge of a gold key */
  --dusk: #FBE7A1;                     /* the hero sky under the sun */
  --ground: #173F18;                   /* the deep field the hero stands on, the footer */
  --night: #040504;                    /* the hero ground: the photograph's black, a breath of green so it is never pure #000 */
  --stone: #F4F4F1;                    /* alternate sections: a very light neutral for rhythm, no colour cast */
  --on-night: #D9DCD2;
  --on-night-strong: #FAF8F2;
  --on-night-muted: #A9B0A4;
  --on-night-line: color-mix(in srgb, #FAF8F2 22%, transparent);
  --header-h: 72px;                    /* the slim header's height; the hero clears it */
  --radius-soft: 14px;                 /* the hero's gift row and photo panels */

  /* Legacy names, mapped */
  --green-800: var(--logo-green);
  --green-700: #26692A;
  --green-600: var(--logo-green-2);
  --green-100: var(--paper-3);
  --green-50: var(--paper-3);
  --green-25: var(--stone);
  --saffron-600: var(--accent);
  --saffron-700: var(--accent);
  --saffron-800: var(--accent-deep);
  --saffron-100: var(--paper-2);
  --marigold-400: var(--accent-bright);   /* focus ring */
  --marigold-300: var(--gold-2);
  --marigold-500: var(--gold);
  --bg: var(--paper);
  --white: var(--paper-2);
  --ink-900: var(--ink);
  --ink-950: var(--ground);
  --ink-600: var(--muted);
  --line: var(--rule);
  --line-soft: var(--rule);
  --field-line: var(--ink);
  --line-on-dark: #8FAE8A;
  --mask: #000;           /* mask-image stops only */
  --donate: var(--accent);
  --donate-hover: var(--accent-deep);
  --donate-bright: var(--accent);
  --donate-bright-hover: var(--accent-deep);
  --cream-100: var(--paper-2);
  --cream-200: var(--paper-2);
  --paper-shade: var(--paper-3);
  --ph-stripe: var(--paper-3);
  --on-green-muted: #D3DFCC;
  --pending-ink: #655125;
  --pending-bg: var(--paper-3);
  --todo: var(--gold-2);
  --error: #A52C16;
  --heart: var(--accent);
  --shadow-ink: var(--ink);
  --footer-ink: #D9DCD2;
  --footer-muted: #A9B0A4;
  --footer-rule: #262A26;
  --footer-line: #4A504A;
  --forest-950: var(--ground);
  --forest-900: var(--ground);
  --forest-700: var(--logo-green);
  --forest-500: var(--logo-green-2);
  --forest-shadow: var(--ground);
  --forest-ink: var(--ground);
  --hero-glow: var(--gold);
  --hero-cream: var(--paper);
  --hero-gold: var(--gold-2);
  --hero-mint: var(--gold-2);
  --hero-lead: var(--paper-2);
  --hero-muted: #D3DFCC;

  /* Type: fluid modular scale. Ratio eases from Major Third (1.25) on phones to Perfect Fourth (1.333) on desktop.
     Body 16px (18px on desktop via html size), lead = step 1, h3 = step 1, h2 = step 3-4, h1 = step 5-6 */
  --font-head: "Lato", "Lato Fallback", "Mukta", system-ui, sans-serif;  /* headings: Lato Bold; Marathi falls through to Mukta */
  --font-hero: var(--font-head);
  --font-deva: "Mukta", "Mukta Fallback", system-ui, sans-serif;
  --font-body: "Lato", "Lato Fallback", "Mukta", system-ui, sans-serif;  /* Lato for English; Marathi falls through to Mukta glyph by glyph */
  /* Type scale: one modular scale, fluid between 360px and 1440px wide.
     Phones: base 16px, ratio 1.2. Desktop: base 18px, ratio 1.25.
     xs 13 · sm 14-15 · base 16-18 · md 19-22 · lg 23-28 · xl 32-44 · 2xl 40-68 */
  --fs-xs: 0.8125rem;
  --fs-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);  /* labels, notes */
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);     /* body */
  --fs-md: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);    /* lead */
  --fs-lg: clamp(1.4375rem, 1.25rem + 0.85vw, 1.75rem);   /* item title */
  --fs-xl: clamp(2rem, 1.5rem + 2.2vw, 2.75rem);          /* section head */
  --fs-2xl: clamp(2.5rem, 1.6rem + 3.8vw, 4.25rem);       /* display: hero and page heads */
  --lh-body: 1.65;
  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-control: 1.3;
  --lh-copy: 1.5;

  /* Spacing: 4px base on an 8-point rhythm: 4 8 12 16 24 32 48 64 96 128 */
  --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 + 4.5vw, 7rem);   /* between sections: 64px on phones to 112px on wide screens */

  --layout-gap: clamp(var(--space-6), 5vw, var(--space-8));
  --layout-gap-wide: clamp(var(--space-6), 6vw, var(--space-9));
  --panel-padding: clamp(var(--space-5), 4vw, var(--space-6));

  --radius-sm: 0;
  --radius-md: 0;
  --radius-pill: 10px;    /* buttons: softly squared, crisp rather than round */
  --radius-btn: 10px;
  --shadow: none;
  --shadow-card: 10px 10px 0 var(--paper-3);   /* hard paper offset, never blurred */
  --rule-hair: 1px;
  --rule-bar: 2px;
  --container: 1440px;
  --gutter: var(--space-4);
}

@media (min-width: 768px) {
  :root { --gutter: var(--space-6); }
}
@media (min-width: 1200px) {
  :root { --gutter: var(--space-8); }
}
