/* Alkalinth brand tokens (taken from the original Squarespace theme) */
:root {
  --cream: #FDF9EC;
  --navy: #03061C;
  --blue: #4650E9;
  --blue-dark: #2E37C4;
  --lavender: #D6D4EC;
  --mint: #E4F6DD;
  --text: #03061C;
  --text-muted: #3B3F5C;

  --font-heading: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --header-h: 72px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 4.25rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; color: var(--blue); }
h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.8em; color: var(--navy); }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 236, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(3, 6, 28, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem;
  color: var(--navy); text-decoration: none; letter-spacing: 0.01em;
}
.brand:hover { color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.98rem;
}
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-cta {
  background: var(--navy); color: #fff; padding: 9px 20px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 7px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid rgba(3, 6, 28, 0.1);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(3, 6, 28, 0.08); font-size: 1.1rem; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 78vh, 820px);
  display: flex; align-items: center;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3, 6, 28, 0.72) 0%, rgba(3, 6, 28, 0.35) 55%, rgba(3, 6, 28, 0.1) 100%);
}
.hero-content { color: #fff; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 36ch; opacity: 0.92; margin: 0; }

/* Sections */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-cream { background: var(--cream); }
.section-light { background: #fff; }
.section-blue { background: var(--navy); color: #fff; }
.section-blue h2 { color: #fff; }
.section-blue p { color: rgba(255, 255, 255, 0.82); font-size: 1.15rem; }

.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; color: var(--navy); margin: 0; }

.divider img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split-media { margin: 0; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(3, 6, 28, 0.35); }
.split-text { color: var(--text-muted); }
.split-text h2 + h3 { margin-top: 0.4em; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.15fr; }
  .split-media { position: sticky; top: calc(var(--header-h) + 32px); }
  .split-reverse .split-media { order: 2; }
}

.benefits { list-style: none; padding: 0; margin: 1.6em 0 0; display: grid; gap: 14px; }
.benefits li {
  position: relative; padding: 18px 20px 18px 56px;
  background: #fff; border: 1px solid rgba(70, 80, 233, 0.15); border-radius: 8px;
  color: var(--navy); line-height: 1.55;
}
.benefits li::before {
  content: ""; position: absolute; left: 20px; top: 22px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(70, 80, 233, 0.15);
}

.button {
  display: inline-block; margin-top: 12px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem;
  padding: 14px 32px; border-radius: 999px;
  transition: background .15s, transform .15s;
}
.button:hover { background: #fff; color: var(--navy); transform: translateY(-1px); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); padding: 64px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-inner { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.brand-footer, .brand-footer:hover { color: #fff; }
.footer-label {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--lavender); margin: 0 0 10px;
}
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lavender); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); }
.footer-base p { margin: 0; }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; text-align: center; }

/* 2026-11-09: <picture> wrappers added for WebP; keep the hero image positioned against .hero */
.hero > picture { display: contents; }
