/* Silo Spray 2030 — tokens.
   Contrast (WCAG 2.x, relative luminance):
   gulf #0A7EA4 on shell #F7F1EA = 4.11:1 FAIL body. Never body text.
   foam #F4EFE6 on gulf = 4.04:1 FAIL. Forbidden.
   gulf on mist #E6EEF7 = 3.96:1 FAIL. Forbidden at < 24px.
   white on gulf = 4.63:1 AA (not AAA). CTA text = white only.
   gulf-ink #065A75 on shell = 6.87:1 AA.
   gulf-deep #086B8B on white = 6.02:1 AA.
   mute #5C5C5C on shell = 5.96:1 AA.
   heat #C0392B on white = 5.44:1 AA.
   ink #212121 on shell = 14.3:1.
*/

@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/lato-400.woff2") format("woff2");
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/lato-700.woff2") format("woff2");
}

:root {
  --gulf: #0a7ea4;
  --gulf-deep: #086b8b;
  --gulf-ink: #065a75;
  /* shell/foam: same cool mist as .close-band — blends with bottom chrome */
  --shell: color-mix(in oklch, #0a7ea4 6%, #f8f9fa);
  --foam: color-mix(in oklch, #0a7ea4 4%, #f8f9fa);
  --mist: #e6eef7;
  --ink: #212121;
  --body: #333333;
  --mute: #5c5c5c;
  --heat: #c0392b;
  --foam-white: #ffffff;
  --line: color-mix(in oklch, var(--gulf) 16%, var(--page));
  --lift: 0 18px 40px color-mix(in oklch, var(--gulf-ink) 12%, transparent);
  --page: #f8f9fa;
  --gutter: clamp(1rem, 3vw, 2rem);
  --max: 92.5rem;
  --header: calc(4.375rem + env(safe-area-inset-top, 0px));
  --display: clamp(2.5rem, 5vw, 3.6rem);
  --title: clamp(2.1rem, 4.5vw, 2.8rem);
  --lede: 1.1rem;
  --ui: 0.85rem;
  --hook-hold: 2s;
  --hook-transition: 1.75s;
  --hook-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gaze-x: 50;
  --gaze-y: 42;
  color-scheme: light;
  interpolate-size: allow-keywords;
  accent-color: var(--gulf);
}

@supports (color: oklch(0 0 0)) {
  :root {
    --gulf: oklch(0.555 0.107 228.5);
    --gulf-deep: oklch(0.493 0.094 227.9);
    --gulf-ink: oklch(0.42 0.09 228);
    --shell: oklch(0.956 0.008 228.5);
    --foam: oklch(0.965 0.006 228.5);
    --mist: oklch(0.946 0.015 251.2);
    --ink: oklch(0.248 0 90);
    --body: oklch(0.321 0 90);
    --mute: oklch(0.478 0 90);
    --heat: oklch(0.543 0.174 29.7);
  }
}

@property --gaze-x {
  syntax: "<number>";
  inherits: true;
  initial-value: 50;
}

@property --gaze-y {
  syntax: "<number>";
  inherits: true;
  initial-value: 42;
}

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

html {
  background: var(--mist, #e6eef7);
  color: var(--body);
  font-family: Lato, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklch, var(--gulf-ink) 40%, transparent) transparent;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--mist, #e6eef7);
  padding-top: 0; /* specimen: document paints under fixed mist toolbar + Liquid Glass */
  padding-bottom: 0;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gulf-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gulf-deep);
}

:focus-visible {
  outline: 2px solid var(--gulf-ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  padding: 0.5rem 0.8rem;
  background: var(--foam-white);
  color: var(--ink);
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.display,
h1,
h2 {
  font-size: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.028em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

h2 {
  font-size: var(--title);
}

.lede,
p {
  text-wrap: pretty;
}

.lede {
  font-size: var(--lede);
  line-height: 1.65;
  color: var(--body);
  margin: 0;
}

.lede-follow {
  margin-top: 1.25rem;
  max-width: 36rem;
}

.arrive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.kicker {
  font-size: var(--ui);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gulf-ink);
  margin: 0 0 0.85rem;
}

.mute {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: transparent;
  box-shadow: none;
  border-bottom: 0;
}

.site-header__bar {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  view-transition-name: silo-spray-mark;
}

.brand svg,
.brand img {
  display: block;
  height: 1.85rem;
  width: auto;
  max-height: 2rem;
  object-fit: contain;
  object-position: left center;
  overflow: visible;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-size: var(--ui);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--gulf-ink);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.7rem;
  border: 0;
  border-radius: 7px;
  background: var(--gulf);
  color: var(--foam-white);
  font: 700 1.25rem / 1.2 Lato, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.nav-cta:hover,
.btn:hover {
  background: var(--gulf-deep);
  color: var(--foam-white);
}

.btn--ghost {
  background: transparent;
  color: var(--gulf-ink);
  box-shadow: inset 0 0 0 1.5px var(--gulf-ink);
}

.btn--ghost:hover {
  background: var(--foam);
  color: var(--gulf-ink);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 700 var(--ui) Lato, system-ui, sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .menu-btn {
    display: none;
  }
}


::selection {
  background: color-mix(in oklch, var(--gulf) 28%, white);
  color: var(--ink);
}

/* bust:1789581537 chrome shell = close-band cool mist (header blends at bottom) */
.site-header {
  /* shell fill retired — site.css owns translucent mist glass */
  background: transparent;
}

/* bust:1789586199 logo mark — stop SILO top clip */
.brand {
  overflow: visible;
  line-height: 0;
}
.brand img,
.brand svg {
  display: block;
  height: 1.9rem;
  width: auto;
  max-height: calc(var(--header) - 1.5rem);
  object-fit: contain;
  object-position: left center;
}

/* bust:1789586988 brand mark — full SILO SPRAY, no right clip */
.brand {
  flex-shrink: 0;
  overflow: visible;
  line-height: 0;
  max-width: none;
}
.brand img,
.brand svg {
  display: block;
  height: 2rem;
  width: auto;
  max-width: none;
  max-height: calc(var(--header) - 1.35rem);
  object-fit: contain;
  object-position: left center;
}

/* bust:1789589108 toolbar calm + Quote CTA system pairing */
.nav {
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav a {
  font-weight: 600;
}
.nav-cta {
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  border-radius: 8px;
}


/* Plate C header box — safe-area sits inside --header height */
.site-header {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
