/* Hero concepts after the 2026-11-10 UX advisory: shared base. The site's own
   Fira Sans and colour tokens (hostinger/maajii-landing/styles.css :root), light
   by default, dark with ?theme=dark or the system setting. On maajii.ca from R2 (SPEC-05 DR-05-2). */
@import url("/fonts/fira-sans.css?v=20260914a");
/* Pages load with <base href="/"> so script.js finds its worker; our own files are /__hero/... */

:root {
  --ink: #21483f;
  --ink-soft: rgba(33, 72, 63, 0.78);
  --ink-faint: rgba(33, 72, 63, 0.8); /* AA on the paper, as DR-05-1 set muted text */
  --paper: #eef6f3;
  --paper-2: #e2eeea;
  --card: #fbfdfc;
  --line: rgba(33, 72, 63, 0.18);
  --green: #2c8072;
  --coral: #d97962;
  --coral-ink: #a8503b;
  --sun: #e0b75c;
  --page: #eef6f3;
  /* filled buttons: the darker teal and coral, white words at 5:1 or better in both themes
     (founder 2026-11-11, text on buttons was too faint) */
  --btn-teal: #1f7466;
  --btn-coral: #b4492c;
  --mark: url("/assets/brand/maajii-wordmark-leaf.svg");
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ink: #e6f1ed;
  --ink-soft: rgba(230, 241, 237, 0.8);
  --ink-faint: rgba(230, 241, 237, 0.78);
  --paper: #13201c;
  --paper-2: #1a2b26;
  --card: #18261f;
  --line: rgba(230, 241, 237, 0.16);
  --green: #6cc3b0;
  --coral: #e8907a;
  --coral-ink: #f0a38f;
  --page: #0f1915;
  --mark: url("/assets/brand/maajii-wordmark-leaf-dark.svg");
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Fira Sans", system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
  font-size: clamp(16px, 0.95rem + 0.2vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px var(--gutter);
}
.nav .mark {
  display: block;
  width: 132px;
  height: 34px;
  background: var(--mark) left center / contain no-repeat;
}
.nav ul { display: flex; gap: clamp(0.8rem, 2vw, 1.8rem); list-style: none; margin: 0; padding: 0; font-weight: 500; }
.nav ul a { text-decoration: none; color: var(--ink-soft); white-space: nowrap; } /* "Sign in" broke in two at 320 px */
.nav ul a:hover { color: var(--ink); }
/* phones: Mission, Sign in and the theme button stay in the top bar (founder 2026-11-11);
   the three pages are a tap away on the hero's buttons */
@media (max-width: 640px) { .nav ul li:not(:nth-last-child(-n+3)) { display: none; } }
@media (max-width: 400px) { .nav { gap: 8px; } .nav .mark { width: 104px; } .nav ul { gap: 12px; } .theme-btn { transform: scale(0.92); } }
.sample-note { font-size: 0.85rem; color: var(--ink-faint); }
/* The live site's background scenes (script.js + patterns-engine.js), kept in every
   variant (founder 2026-11-10: "they give us a unique look"). Rules copied from
   styles.css: the canvas fills its section, blends into the page, and is masked
   so the scene lives in the margins rather than behind the words. */
:root { --scene-o: 0.62; --scene-filter: none; --scene-ink: #21483f;
  --scene-mask: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.38) 20%, rgba(0,0,0,0.38) 80%, #000 100%); }
body[data-theme="dark"] { --scene-o: 0.58; --scene-ink: #eef6f3; }
.scene-host { position: relative; isolation: isolate; }
.scene-host > :not(.industry-canvas) { position: relative; z-index: 1; }
.industry-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  mix-blend-mode: multiply;
  opacity: calc(0.9 * var(--scene-o, 1));
  transition: opacity 220ms ease;
  filter: var(--scene-filter, none);
  -webkit-mask-image: var(--scene-mask, none);
          mask-image: var(--scene-mask, none);
}
body[data-theme="dark"] .industry-canvas { mix-blend-mode: screen; opacity: calc(0.78 * var(--scene-o, 1)); }

/* The variant switcher (switcher.js), fixed at the foot of every variant. */
.vswitch {
  position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  max-width: calc(100vw - 16px);
  background: #12201b; color: #eef6f3; border-radius: 999px; padding: 6px 8px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  font: 600 13px/1 "Fira Sans", sans-serif;
}
.vswitch a, .vswitch button, .vswitch select {
  font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer;
  padding: 7px 10px; border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.vswitch select { background: #20332c; max-width: 34vw; }
.vswitch button[aria-pressed="true"] { background: #2c8072; }
.vswitch select option { color: #12201b; background: #fff; }
.vswitch a:hover, .vswitch button:hover { background: #20332c; }
.vswitch a:focus-visible, .vswitch button:focus-visible, .vswitch select:focus-visible { outline: 2px solid #e0b75c; }
@media (max-width: 480px) { .vswitch .vs-all { display: none; } .vswitch { gap: 2px; padding: 5px; } .vswitch a, .vswitch button, .vswitch select { padding: 7px 7px; } }
.concept-tag {
  position: fixed; right: 12px; bottom: 12px; z-index: 50;
  font: 600 12px/1 "Fira Sans", sans-serif; letter-spacing: 0.04em;
  background: var(--ink); color: var(--page); padding: 6px 10px; border-radius: 4px;
  text-decoration: none;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The page's own light/dark button (switcher.js), like maajii.ca's. Each style shapes it. */
.nav ul { align-items: center; }
.theme-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: var(--paper-2); color: var(--ink); border-radius: 50%; transition: transform 160ms ease, background 160ms ease; }
.theme-btn:hover { transform: rotate(-12deg); }
.theme-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
