/* ==========================================================================
   BASE: design tokens, reset, typography, layout primitives
   ========================================================================== */

:root {
  /* Colour */


  --paper: #F3F4F8;
  --white: #FFFFFF;
  --ink: #121633;
  --ink-soft: #3B4160;
  --ink2: #1B2050;
  --cobalt: #03D809;
  --cobalt-deep: #03D809;
  --cobalt-tint: #e4ffe8;
  --marigold: #03D809;
  --mist: #D6D9E8;

  /* Type */
  --font-display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Shape and spacing */
  --radius: 14px;
  --radius-lg: 24px;
  --pad: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 10vw, 128px);
  --header-h: 68px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .contact :focus-visible { outline-color: var(--marigold); }

/* Layout */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section.alt { background: var(--white); }
.section.dark { background: var(--ink); color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; }
.section-head p { margin: 16px 0 0; font-size: 1.1875rem; color: var(--ink-soft); }
.dark .section-head p { color: #C4C8E6; }

/* Utilities */
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
