/* =====================================================================
   ADROAS — css/base.css
   Variables, reset, base styles, focus, page spacer.
   MUST load first — all other files depend on :root variables.
   ===================================================================== */


/* ─────────────────────────────────────────────────────────────────────
   1. VARIABLES
   ───────────────────────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --bg:         #F7F5F0;   /* warm off-white — page & hero base */
  --surface:    #FFFFFF;
  --text:       #172033;
  --muted:      #5B6475;
  --navy:       #18263A;
  --blue:       #2F5D8C;
  --steel:      #4E7CA8;
  --pale-blue:  #DCEBFA;   /* lightest blue — accent wave highlight */
  --soft-blue:  #B9D4EC;   /* base wave strokes */
  --border:     #E6EBF2;
  --warm-glow:  #F3D6AA;   /* bottom-left warmth */

  /* Layout */
  --header-h:    88px;
  --pad-x:       clamp(1.5rem, 9vw, 9rem);   /* 24 → 144px */
  --content-max: 780px;                       /* centered hero copy column */
  --headline-max: 720px;                      /* intentional slogan wrap */

  /* Hero motion tuning — raise/lower these to make the drift stronger/weaker */
  --motion-opacity:      0.16;   /* ribbon strength (higher = more visible)   */
  --motion-distance:     18px;   /* ribbon drift travel (10–24px feels good)  */
  --motion-speed-slow:   44s;    /* slow ribbons / glow                       */
  --motion-speed-medium: 32s;    /* faster ribbons / particles                */
  --particle-opacity:    0.20;   /* shimmer strength                          */

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}


/* ─────────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
html.booting {
  scroll-behavior: auto !important;
}
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.5;
}


/* ─────────────────────────────────────────────────────────────────────
   3. FOCUS
   ───────────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ─────────────────────────────────────────────────────────────────────
   10. PAGE SPACER
   ───────────────────────────────────────────────────────────────────── */
.page-after {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem var(--pad-x);
}
.page-after__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.45;
  text-align: center;
}
