/* eZephyr v2 — base: fonts, tokens, reset, buttons, focus. Header and nav: css/site.css. */

@font-face {
  font-family: 'Francois One';
  src: url('../assets/fonts/francois-one-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../assets/fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../assets/fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../assets/fonts/source-sans-3-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Palette sampled from the existing artwork and logo. */
  --ink: #484848;          /* logo grey */
  --ink-strong: #313132;   /* legacy body text */
  --yellow: #f8d810;       /* logo yellow */
  --sky: #63e3fe;          /* bg1.jpg edge */
  --sky-light: #c2f2fc;    /* bg1.jpg horizon */
  --paper: #ffffff;
  --focus: #313132;

  --font-display: 'Francois One', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', Arial, Helvetica, sans-serif;

  --header-h: 56px;
  --s: 0.6; /* world scale; replaced by js/journey.js */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--ink-strong);
  background: var(--sky-light);
}

img { display: block; max-width: none; }

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: inherit; }

/* ---------- Focus ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
[tabindex="-1"]:focus-visible { outline-style: dashed; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink-strong);
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 44px;
  padding: 0.5em 1.1em;
  border: 2px solid var(--ink-strong);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-strong);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); box-shadow: 0 3px 0 var(--ink-strong); }
.btn--primary:hover { box-shadow: 0 5px 0 var(--ink-strong); }
.btn--secondary { background: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
