/* ==========================================================================
   variables.css  design tokens
   --------------------------------------------------------------------------
   The single source of truth. Every other stylesheet consumes these names.
   Nothing below is decorative: the palette is pinned by the client brief and
   the numeric system exists to carry the direction thesis (specification-sheet
   discipline  scaffolding is a load-rated engineered product, so the site
   borrows the visual language of the spec table, the inspection tag and the
   capacity label).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Poppins, self-hosted.
   SIL Open Font License 1.1  see assets/fonts/OFL.txt.
   Self-hosted deliberately: a Google Fonts CDN request is a third-party
   round trip incurred on the exact connection this audience lacks.
   Two subsets per weight; unicode-range keeps the latin-ext file off the
   critical path for latin-only copy. Total shipped: ~53KB for 4 weights.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400-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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/poppins-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/poppins-500-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/poppins-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/poppins-600-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/poppins-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/poppins-700-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 {
  /* ======================================================================
     COLOUR  pinned by the client brief. Do not add a hue to this list.
     Hierarchy is deliberate: navy dominant, white dominant ground,
     maroon an accent only.
     ====================================================================== */
  --color-primary: #363A6A;
  --color-primary-dark: #252847;
  --color-primary-light: #565B91;
  --color-accent: #8F2945;

  /* WhatsApp green. The one deliberate exception to "no green" in the brief:
     the channel is recognised by its colour, and a client request overrides
     the palette.
     The branded chip (#25D366, hover #1FBF59) is recorded here as a VALUE, not
     a token, because no ground on this site lets it carry text — white on it is
     2.0:1 / 2.4:1, a WCAG AA failure on the one button that produces the
     enquiry. Recognition is carried by hue, glyph and shape instead:
     - `--color-whatsapp-fill` / `--color-whatsapp-fill-hover`: the fills that
       carry text. White on them measures 5.2:1 / 7.4:1, AA at body size. The
       audience reads these on a phone, on site, in daylight.
     - `--color-whatsapp-text`: link, glyph or outline on a light ground (5.2:1).
     If the client ever requires the literal chip colour, it needs dark text on
     it (`--color-text` on #25D366 is 7.9:1) and it will break WhatsApp's own
     white-on-green convention. */
  --color-whatsapp-fill: #0A7D3C;
  --color-whatsapp-fill-hover: #086331;
  --color-whatsapp-text: #0A7D3C;

  --color-background: #FFFFFF;
  --color-background-soft: #F5F6FA;

  --color-text: #1F2333;
  --color-text-muted: #667085;

  --color-border: #E3E5EC;

  /* Derived supporting tones. Kept minimal on purpose  every one of these
     exists because a pinned token could not do the job:
     - border-strong: --color-border is a 1.3:1 hairline on white, too faint to
       delineate a spec table. This is the version that survives print and
       low-quality screens.                                        (2.1:1)
     - on-dark / on-dark-muted: verified against --color-primary-dark.
       --color-primary-light is NOT usable for text on navy (2.2:1).      */
  --color-border-strong: #C9CCD8;
  --color-accent-dark: #7A2239;
  --color-on-dark: #FFFFFF;
  --color-on-dark-muted: rgba(255, 255, 255, 0.72);
  --color-on-dark-line: rgba(255, 255, 255, 0.16);

  /* Tints for the one place a filled soft panel is needed. */
  --color-primary-tint: #EEF0F7;
  --color-accent-tint: #FBF0F3;

  /* Focus. A single ring colour cannot clear 3:1 on white, navy AND maroon,
     so focus is a dual ring: a light inner and a dark outer. One of the two
     always contrasts, on every ground the site uses. */
  --color-focus-inner: #FFFFFF;
  --color-focus-outer: #252847;

  /* ======================================================================
     TYPE  Poppins. The numeric hierarchy below is the direction thesis,
     not decoration: specifications are the product.
     ====================================================================== */
  --font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.875rem;   /* 14 */
  --text-base: 1rem;     /* 16 */
  --text-md: 1.125rem;   /* 18 */
  --text-lg: 1.25rem;    /* 20 */
  --text-xl: 1.5rem;     /* 24 */
  --text-2xl: 1.875rem;  /* 30 */
  --text-3xl: 2.25rem;   /* 36 */
  --text-4xl: 3rem;      /* 48 */

  /* Fluid display sizes. clamp() rather than breakpoint jumps so the hero
     never reflows mid-scroll on a phone. */
  --text-display: clamp(2rem, 1.1rem + 4.2vw, 3.5rem);
  --text-display-sm: clamp(1.625rem, 1.15rem + 2.2vw, 2.25rem);
  --text-section: clamp(1.5rem, 1.1rem + 1.8vw, 2.125rem);

  --leading-tight: 1.14;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.72;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;   /* eyebrow labels, spec keys */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ======================================================================
     SPACE  a 4px-rooted scale. Sections breathe at the top end; spec rows
     are tight at the bottom end. Restraint here is what reads as engineered.
     ====================================================================== */
  --space-1: 0.25rem;   /*  4 */
  --space-2: 0.5rem;    /*  8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.5rem;    /* 24 */
  --space-6: 2rem;      /* 32 */
  --space-7: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-9: 6rem;      /* 96 */

  --section-y: clamp(3rem, 1.6rem + 5.5vw, 5.5rem);

  /* ======================================================================
     SHAPE  restrained radii and shadows. The brief explicitly rules out
     excessive rounding, glassmorphism and gradient cards.
     ====================================================================== */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31, 35, 51, 0.06);
  --shadow-md: 0 2px 10px rgba(31, 35, 51, 0.08);
  --shadow-lg: 0 14px 34px rgba(31, 35, 51, 0.12);

  --border-hairline: 1px solid var(--color-border);
  --border-strong: 1px solid var(--color-border-strong);

  /* ======================================================================
     LAYOUT
     ====================================================================== */
  --container-max: 1200px;
  --container-narrow: 780px;
  --container-pad: clamp(1rem, 0.5rem + 2.5vw, 2rem);

  --header-height: 68px;
  --header-height-condensed: 58px;

  /* ======================================================================
     MOTION — quiet and quick. Nothing delays content.
     `--ease` drives state feedback (hover, focus, the drawer). `--ease-out`
     is the same idea with a longer, decelerating tail, reserved for arrivals:
     a 2px hover lift and a 520ms entrance want different curves.
     ====================================================================== */
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;

  /* Scroll-reveal system. `--reveal-shift` is the travel of an entrance and
     is deliberately small: the brief forbids anything that reads as motion
     for its own sake. --reveal-delay is written by js/reveal.js per child. */
  --dur-reveal: 520ms;
  --reveal-shift: 18px;

  /* ======================================================================
     STACKING
     ====================================================================== */
  --z-header: 100;
  --z-drawer: 200;
  --z-fab: 150;
  --z-skip: 300;
}
