html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  color: #0f172a;
}

.page-shell {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
}

.btn-glow:hover {
  box-shadow: 0 0 20px rgba(25, 127, 230, 0.4);
}

.premium-copy {
  line-height: 1.82;
}

.caribbean-gradient {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.site-header {
  transition: background-color 0.26s ease, transform 0.26s ease;
}

.site-header-shell {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
  border-radius: 0 !important;
  border-left: 0;
  border-right: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, backdrop-filter 0.26s ease, -webkit-backdrop-filter 0.26s ease;
}

.site-header.scrolled .site-header-shell {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px -30px rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav-link {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.26s ease;
}

.site-header.scrolled .site-nav-link {
  color: rgba(255, 255, 255, 0.96);
}

.site-header-cta {
  box-shadow: 0 10px 30px -20px rgba(255, 255, 255, 0.5);
  transition: background-color 0.26s ease, color 0.26s ease, box-shadow 0.26s ease;
}

.site-header.scrolled .site-header-cta {
  box-shadow: 0 16px 36px -24px rgba(2, 8, 23, 0.95);
}

.section-dark {
  position: relative;
  background: linear-gradient(180deg, #0f172a 0%, #16233a 100%);
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(25, 127, 230, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(148, 163, 184, 0.12), transparent 32%);
  pointer-events: none;
  z-index: 0;
}

.section-stack {
  position: relative;
  z-index: 1;
}

.agency-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 20px 44px -36px rgba(15, 23, 42, 0.2);
}

.agency-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 46px -34px rgba(2, 8, 23, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.proof-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 42px -36px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hover-lift {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px -28px rgba(15, 23, 42, 0.18);
}

.link-accent {
  color: #197fe6;
  font-weight: 600;
  transition: color 0.26s ease;
}

.link-accent:hover {
  color: #0f172a;
}

.link-accent-light {
  color: #93c5fd;
  font-weight: 600;
  transition: color 0.26s ease;
}

.link-accent-light:hover {
  color: #ffffff;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(23, 37, 84, 0.92) 56%, rgba(239, 246, 255, 1) 100%),
    url('../images/st-kitts-coastline.png') center/cover no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(25, 127, 230, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.page-hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.toc-link {
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.26s ease, background-color 0.26s ease, transform 0.26s ease;
}

.toc-link:hover {
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

.cluster-card {
  min-height: 100%;
}

.key-insight {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(22, 35, 58, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 50px -34px rgba(2, 8, 23, 0.8);
}

.article-copy p + p {
  margin-top: 1.25rem;
}

.article-copy ul + p,
.article-copy p + ul {
  margin-top: 1.25rem;
}

.article-copy li + li {
  margin-top: 0.85rem;
}

.insight-kicker {
  display: inline-block;
  border-radius: 9999px;
  background: rgba(25, 127, 230, 0.1);
  color: #197fe6;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.motion-ready .reveal {
  opacity: 1;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .page-shell {
    width: calc(100% - 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.motion-ready .reveal,
  html.motion-ready .reveal.is-visible,
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
