/* Self-hosted fonts (were Google Fonts, which blocked first paint): Newsreader and Figtree, variable
   woff2, latin + latin-ext, SIL Open Font Licence. Files in /fonts keep their names, so a replaced
   font gets a new file name (see public/_headers). Downloaded from Google Fonts on 23 Nov 2026. */
/* Figtree normal, latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/figtree-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;
}
/* Figtree normal, latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/figtree-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;
}
/* Newsreader italic, latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-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;
}
/* Newsreader italic, latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/newsreader-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;
}
/* Newsreader normal, latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/newsreader-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;
}
/* Newsreader normal, latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/newsreader-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;
}

/* Lora normal, latin-ext: the homepage H1 (24 Nov 2026), in the quote's font; preloaded on the homepage */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/lora-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;
}
/* Lora normal, latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/lora-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;
}
/* Lora italic, latin-ext: the quote font only (24 Nov 2026), a gentler italic than Newsreader's. Not preloaded:
   the quote sits below the hero, and Georgia italic stands in until it arrives. */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/lora-italic-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;
}
/* Lora italic, latin */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/lora-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;
}

/* Georgia scaled to Newsreader's x-height (0.512 vs 0.481), so headings don't jump when the web font
   arrives (visual-design/visually-stable-font-fallbacks). Scoped to this face, not font-size-adjust on
   the page, which would also resize the body font. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 106.5%; }

/* Dr Natalia Sutiman: Navy + Terracotta (chosen 27 Nov 2026 from three trial palettes; the other two,
 * Deep Teal + Sand and Ink Blue + Turmeric, were dropped). Token names were inherited from drjana.sg so
 * the stylesheets stay identical in structure. Read the names by role, not colour:
 *   eucalyptus / sage  light brand fill (secondary button) and its hover
 *   sage-deep          action colour: primary buttons, links, key words (navy)
 *   forest             dark bands and hover; forest-ink* = text on those bands
 *   clay / clay-deep   accent: icons and small labels (terracotta)
 *   paper*             surfaces; ink* = text */
:root {
  /* ---- Navy + Terracotta: the navy of the ATA scrubs, with a warm terracotta accent ---- */
  --color-eucalyptus: oklch(88% 0.035 50);
  --color-sage: oklch(80% 0.06 48);
  --color-paper: oklch(97.6% 0.008 65);
  --color-paper-2: oklch(94.4% 0.016 58);       /* oat: the second tone of the page rhythm */
  --color-paper-3: oklch(91.5% 0.018 52);
  --color-eucalyptus-wash: oklch(96.2% 0.009 255);
  --color-eucalyptus-light: oklch(91% 0.02 255);
  --color-sage-deep: oklch(31% 0.06 262);        /* navy #1E2F4F */
  --color-clay: oklch(70% 0.1 45);               /* terracotta */
  --color-clay-deep: oklch(52% 0.12 42);
  --color-ink: oklch(23% 0.02 262);
  --color-ink-2: oklch(38% 0.02 262);
  --color-ink-3: oklch(48% 0.02 262);
  --color-rule: oklch(87% 0.014 60);
  --color-rule-strong: oklch(72% 0.025 262);
  --color-forest: oklch(27% 0.055 262);
  --color-forest-ink: oklch(96.5% 0.008 255);
  --color-forest-ink-2: oklch(85% 0.03 255);
  --color-forest-rule: oklch(45% 0.045 262);
  --color-scrim: oklch(16% 0.02 262 / 0.5);
  --color-scrim-strong: oklch(16% 0.02 262 / 0.78);

  /* Fixed colours */
  --color-whatsapp: oklch(76.5% 0.2 150);       /* WhatsApp green #25D366 */
  --color-whatsapp-2: oklch(69% 0.18 150);
  --color-white: oklch(100% 0 0);
  --color-verified: oklch(58% 0.15 150);

  /* Type */
  --font-display: "Newsreader", "Newsreader Fallback", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-quote: "Lora", Georgia, serif;  /* the quote, set in Lora's true italic */
  --weight-display: 400;  /* Newsreader headings: regular (was light 300, too faint at large sizes) */
  /* Slanted display text: the upright Newsreader letters tilted 10 degrees (transform: skewX), in place of the
     12-degree Newsreader italic, which cannot be made less slanted. Single-line text uses display: inline-block. */
  --slant: -10deg;
  --radius-soft: 1.25rem;
  /* Portrait shape: a low arch, the top curving over 15% of the height (the first arch used 34% and read
     as a tombstone), square at the bottom so the hero portrait sits flat on the band below.
     Also tried: leaf, one curved corner. */
  --radius-portrait: 50% 50% 0 0 / 15% 15% 0 0;

  /* Type scale: the only font sizes the site uses (one step per role, same on every page).
     H1 > H2 > H3 at every screen width. Phone to desktop values in the comments. */
  --text-2xs: 0.78rem;                                  /* 12.5px  capital labels, eyebrows, buttons */
  --text-xs: 0.875rem;                                  /* 14px    fine print, captions */
  --text-sm: 1rem;                                      /* 16px    secondary text */
  --text-base: 1.125rem;                                /* 18px    body */
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); /* 18-21px lead paragraphs, large UI */
  /* Headings step at the breakpoints instead of growing with every pixel (25 Nov 2026). Values below 576px here;
     the steps at 576, 768 and 1280px are in the media queries after this block.
                   <576  576  768  1024  1280+ */
  --text-h1: 2.125rem;      /* 34   38   38   38    48   H1, every page */
  --text-2xl: 1.75rem;      /* 28   30   32   32    40   H2 */
  --text-xl: 1.375rem;      /* 22   24   26   26    30   H3, card titles, quotes */
  --text-h3-sm: 1.25rem;    /* 20   20   22   22    22   small H3 (Why Choose cards; 22 at 1280+ keeps each title on one line) */
  /* Letter spacing: three values only */
  --tracking-caps: 0.12em;    /* capital labels */
  --tracking-tight: -0.015em; /* large serif headings */
  /* Line height: four values only */
  --leading-tight: 1.1;   /* headings */
  --leading-snug: 1.25;   /* subheads, card titles, quotes */
  --leading-ui: 1.45;     /* labels, buttons, short UI text */
  --leading-body: 1.65;   /* running text */

  /* Space: 4pt scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 9rem;
  --head-gap: 1.5rem;  /* from a section's heading block (H2, or the intro beside or under it) to the divider line below it: 24px below 768px, 32px from 768px (25 Nov 2026) */
  --section: clamp(3.5rem, 2rem + 4.5vw, 6.5rem);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  /* Text widths. Figtree's ch is wider than its average letter (1ch ≈ 1.47 letters), so:
     narrow ≈ 65 letters a line, measure ≈ 74 (body copy), wide for blocks holding tables. */
  --measure-narrow: 44ch;
  --measure: 50ch;
  --measure-wide: 68ch;
  --max: 80rem; /* text column 1120px at 1600px and up, as on SWC and Apex (1140px containers) */
  /* Side padding that puts a full-width element's content on the same edge as .wrap. Use it only as
     padding on an element as wide as the page: the % is the page width there. */
  --edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));

  /* Shape */
  --radius-0: 0;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 260ms;
  --dur-slow: 900ms;
}
/* Heading steps (see the type scale above) */
@media (min-width: 576px) { :root { --text-h1: 2.375rem; --text-2xl: 1.875rem; --text-xl: 1.5rem; } }
@media (min-width: 768px) { :root { --text-2xl: 2rem; --text-xl: 1.625rem; --text-h3-sm: 1.375rem; --head-gap: 2rem; } }
@media (min-width: 1280px) { :root { --text-h1: 3rem; --text-2xl: 2.5rem; --text-xl: 1.875rem; } }
