:root {
  --ink: #12262c;
  --muted: #4d646c;
  --deep: #0a4a5c;
  --deep-2: #0f6178;
  --lagoon: #3db8c5;
  --mist: #e8f5f7;
  --paper: #f7fbfc;
  --line: #d2e4e8;
  --sand: #f3eee4;
  --shadow: 0 16px 36px rgba(10, 74, 92, 0.08);
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 320px at 100% -8%, rgba(61, 184, 197, 0.14), transparent 58%),
    linear-gradient(180deg, var(--mist) 0, var(--paper) 260px);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-2); text-underline-offset: 0.16em; }
a:hover { color: var(--lagoon); }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--deep);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 252, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--deep); text-decoration: none; }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand span span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mark { width: 2.15rem; height: 2.15rem; flex: none; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.3rem 0.75rem; align-items: center; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--deep-2); }

.crumbs {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--deep-2); }

.hero { padding: 2.2rem 0 0.4rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--deep-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: var(--lagoon); }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.03em; line-height: 1.16; }
h1 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 650;
  max-width: 18ch;
  color: var(--deep);
}
.lede { max-width: 42rem; font-size: 1.14rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }
.btn, .btn-quiet {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn { background: var(--deep); color: white; }
.btn:hover { background: var(--deep-2); color: white; }
.btn-quiet { border: 1px solid var(--line); background: white; color: var(--deep); }
.btn-quiet:hover { border-color: var(--deep); color: var(--deep); }

.band, .cards, .related {
  display: grid;
  gap: 0.85rem;
}
.band { grid-template-columns: repeat(3, 1fr); margin: 1.4rem 0 0.2rem; }
.cards { grid-template-columns: repeat(3, 1fr); margin-top: 1.1rem; }
.related { grid-template-columns: repeat(3, 1fr); margin-top: 0.8rem; }
.band article, .card, .related a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}
.band article { padding: 1rem; min-height: 8.5rem; }
.band h2, .card strong, .related strong {
  font-family: var(--serif);
  color: var(--deep);
  font-weight: 600;
}
.band h2 { margin: 0.15rem 0 0.4rem; font-size: 1.32rem; }
.band p, .card p { margin: 0; color: var(--muted); }
.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lagoon);
  font-weight: 600;
}
.card {
  padding: 1.05rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 11rem;
}
.card:hover, .related a:hover { border-color: #b7d5db; color: inherit; }
.card strong { font-size: 1.2rem; }
.card p { margin-top: 0.4rem; flex: 1; }
.card em { font-style: normal; color: var(--deep-2); font-size: 0.88rem; font-weight: 600; margin-top: 0.75rem; }
.related a { display: block; padding: 0.9rem; text-decoration: none; color: inherit; }
.related strong { display: block; margin-bottom: 0.25rem; }
.related span { color: var(--muted); font-size: 0.92rem; }

.hero-media, .inline-media {
  margin: 1.4rem 0 0;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
}
.hero-media img, .inline-media img { width: 100%; }
.inline-media figcaption {
  padding: 0.75rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section { padding: 2rem 0; }
.section h2, .prose h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin: 1.6rem 0 0.55rem; color: var(--deep); }
.prose p, .prose li { max-width: 42rem; color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.35rem 0; }
.callout {
  max-width: 42rem;
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  background: var(--mist);
  border-left: 3px solid var(--lagoon);
  border-radius: 0 0.8rem 0.8rem 0;
}
.faq { max-width: 42rem; }
.faq h3 { font-size: 1.1rem; margin: 1.1rem 0 0.35rem; color: var(--deep); }
.updated { color: var(--muted); font-size: 0.88rem; margin: 2rem 0 1rem; }

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: var(--deep);
  color: #d7eef2;
}
.site-footer a { color: #eff9fb; }
.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 0.7rem;
  color: white;
  letter-spacing: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.fine {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: #9ec4cc;
}

@media (max-width: 900px) {
  .band, .cards, .related, .foot-grid { grid-template-columns: 1fr; }
  .nav-btn { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    background: white;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 14rem;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}
