/* fonts are self-hosted: see assets/css/fonts.css (linked from the page) */

:root {
  --navy: #13254A;
  --deep: #0E1C3A;
  --ember: #D9673A;
  --ember-deep: #B94C22;
  --ember-light: #F0996A;
  --tide: #5E89A8;
  --mist: #A9C3D6;
  --ivory: #F4F3EE;
  --slate: #5F6B76;
  --line: #E2E0D8;
  --line-dark: #34466B;
  --display: 'Outfit', system-ui, sans-serif;
  --text: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--text);
  font-size: 17px;
  line-height: 28px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ember); color: #fff; }

.label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--ember-deep);
}
.label.on-dark { color: var(--ember-light); }
.display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: .95; }
.muted { color: var(--slate); }

/* ---------- Framer-style nav pill ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
  transition: transform .5s var(--ease-out);
}
.nav.hidden { transform: translateY(-120%); }
.nav-inner {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; max-width: 100%;
  margin-top: 0;
  padding: 22px var(--pad);
  border-radius: 0;
  transition: max-width .6s var(--ease-out), margin-top .6s var(--ease-out), padding .6s var(--ease-out),
    border-radius .6s var(--ease-out), background .4s, box-shadow .4s;
}
.nav.condensed .nav-inner {
  max-width: 760px; margin-top: 14px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(244, 243, 238, .72);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(19, 37, 74, .08), 0 10px 30px -12px rgba(14, 28, 58, .18);
  overflow: hidden;
}
.nav.dark.condensed .nav-inner { background: rgba(14, 28, 58, .7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.nav .nav-logo { height: 22px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--slate); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.nav.dark .nav-links { color: var(--mist); }
.nav.dark .nav-links a:hover { color: #fff; }
.nav-cta {
  font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: 999px;
  background: var(--navy); color: #fff; white-space: nowrap;
  transition: background .25s;
}
.nav-cta:hover { background: var(--ember-deep); }
.nav.dark .nav-cta { background: #fff; color: var(--navy); }
.nav-progress {
  position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--ember); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; transition: opacity .3s;
}
.nav.condensed .nav-progress { opacity: 1; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- concept switcher (mockup chrome) ---------- */
.switcher {
  position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 4px; padding: 5px; border-radius: 18px;
  background: rgba(14, 28, 58, .86); backdrop-filter: blur(10px);
  font-family: var(--text); font-size: 12px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.switcher a { padding: 7px 14px; border-radius: 999px; color: var(--mist); transition: background .2s, color .2s; }
.switcher a:hover { color: #fff; }
.switcher a.on { background: #fff; color: var(--navy); }
@media (max-width: 760px) {
  .switcher { top: auto; right: auto; left: 50%; bottom: 12px; transform: translateX(-50%); flex-direction: row; border-radius: 999px; }
  .switcher a { padding: 6px 10px; white-space: nowrap; }
}

/* ---------- reveal helpers ---------- */
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
