/* Savant Wealth – layout & design tokens */
:root {
  --navy: #002147;
  --navy-mid: #0a2f5c;
  --teal: #0a7c7c;
  --teal-dark: #066;
  --teal-hover: #0d9494;
  --gray-100: #f5f5f5;
  --gray-200: #e8eaed;
  --gray-500: #5c6b7a;
  --gray-700: #3d4a55;
  --white: #fff;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --header-h: 72px;
  /* “Savant” on dark bar: same hue as --navy, lightened (fallback if no color-mix) */
  --logo-savant-fill: color-mix(in srgb, var(--navy) 32%, #ffffff 68%);
  --logo-savant-fill-hover: color-mix(in srgb, var(--navy) 22%, #ffffff 78%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1, h2, h3, .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.2;
  gap: 0;
  letter-spacing: 0;
}

/* “Savant” = blue fill + light stroke; “Wealth” = white; no space between (adjacent spans) */
.logo__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  letter-spacing: 0;
}

.logo__savant {
  color: #7a96ad;
  color: var(--logo-savant-fill);
  font-weight: 700;
  -webkit-text-stroke: 0.25px #fff;
  text-shadow: none;
  letter-spacing: -0.01em;
}

.logo__wealth {
  color: var(--white);
  font-weight: 600;
  -webkit-text-stroke: 0;
  text-shadow: none;
  letter-spacing: 0.02em;
}

.logo:hover .logo__savant,
.logo:focus-visible .logo__savant {
  color: #8aa4b8;
  color: var(--logo-savant-fill-hover);
  text-decoration: none;
}

.logo:hover .logo__wealth,
.logo:focus-visible .logo__wealth {
  color: #f0f4f8;
  text-decoration: none;
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
    letter-spacing: 0.01em;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--white);
  position: relative;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  position: relative;
  transition: background 0.2s;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}

.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #7ecfcf;
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open {
    max-height: 320px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }

  .main-nav li a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.hero__rings {
  position: absolute;
  inset: -20%;
  background:
    repeating-radial-gradient(
      circle at 50% 40%,
      transparent 0,
      transparent 32px,
      rgba(0, 193, 193, 0.06) 32px,
      rgba(0, 193, 193, 0.06) 34px
    );
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero__headline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin: 0 0 1.25rem;
  font-weight: 600;
}

.hero__lede {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.75em;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--teal:hover,
.btn--teal:focus-visible {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--navy:hover,
.btn--navy:focus-visible {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
}

.btn--muted {
  background: #4a5a64;
  color: var(--white);
  border-color: #4a5a64;
}

.btn--muted:hover,
.btn--muted:focus-visible {
  background: #3a4850;
  border-color: #3a4850;
  color: var(--white);
}

.btn--small {
  padding: 0.55em 1.1em;
  font-size: 0.875rem;
}

.btn--large {
  padding: 1em 2.5em;
  font-size: 1rem;
}

/* —— Intro —— */
.intro {
  padding: 4.5rem 0;
  background: var(--white);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .intro__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.intro__copy p {
  font-size: 1.05rem;
  color: var(--gray-700);
}

.intro__badge {
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro__shield {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 240px;
  background: linear-gradient(165deg, var(--teal) 0%, #066 100%);
  clip-path: polygon(50% 0%, 100% 10%, 100% 75%, 50% 100%, 0% 75%, 0% 10%);
  color: var(--white);
  text-align: center;
  padding: 0 1rem 2rem;
  box-shadow: 0 12px 40px rgba(10, 124, 124, 0.25);
}

.intro__shield-number {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
}

.intro__shield-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.5rem;
}

/* —— Stats —— */
.stats {
  padding: 4rem 0;
  background: var(--gray-100);
  text-align: center;
}

.stats .section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 2.5rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 800px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem 0.35rem;
}

.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.stat__label {
  width: 100%;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 0.35rem;
}

.stats__large {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--navy);
  margin: 0 0 1.5rem;
  line-height: 1.4;
  font-weight: 500;
}

.stats__dollar {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* —— Subnav —— */
.subnav {
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 0;
}

.subnav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.subnav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.25rem 0;
}

.subnav a:hover,
.subnav a:focus-visible {
  text-decoration: underline;
  color: #9ee5e5;
}

.subnav__sep {
  width: 1px;
  height: 1em;
  background: rgba(255, 255, 255, 0.35);
  margin: 0 0.25rem;
}

/* —— Services —— */
.services {
  padding: 4rem 0 4.5rem;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1.25rem;
}

@media (max-width: 1000px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(0, 33, 71, 0.08);
  border-color: rgba(10, 124, 124, 0.25);
}

.service-card__icon {
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
  position: relative;
}

.service-card__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid var(--teal);
  border-radius: 4px 4px 0 0;
  transform: translate(-50%, -100%);
  background: linear-gradient(180deg, rgba(10, 124, 124, 0.15) 0%, transparent 100%);
}

.service-card h3 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}

/* —— Insights —— */
.insights {
  padding: 4rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.insights__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.insights__head .section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.insights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1000px) {
  .insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .insights__grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.insight-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.insight-card__media {
  position: relative;
  display: block;
  aspect-ratio: 5/3;
  overflow: hidden;
}

.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.insight-card:hover .insight-card__media img {
  transform: scale(1.04);
}

.insight-card__tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.55rem;
  border-radius: 2px;
}

.insight-card h3 {
  font-size: 1.1rem;
  margin: 1rem 1rem 0.5rem;
  line-height: 1.3;
}

.insight-card h3 a {
  color: inherit;
  text-decoration: none;
}

.insight-card h3 a:hover {
  color: var(--teal);
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0 1rem 1rem;
  flex: 1;
}

.insight-card__more {
  display: inline-block;
  margin: 0 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--navy);
  align-self: flex-start;
}

.insight-card__more:hover {
  color: var(--teal);
  border-color: var(--teal);
}

/* —— Action row —— */
.action-row {
  padding: 3.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.action-row__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

@media (max-width: 800px) {
  .action-row__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.action-block p {
  margin: 0 0 1.25rem;
  color: var(--gray-700);
  font-size: 1.02rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.action-block__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--gray-100);
  border: 2px solid var(--teal);
  border-radius: 50%;
  position: relative;
}

.action-block__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.action-block__icon--alt::after {
  border-radius: 4px;
  width: 20px;
  height: 20px;
}

/* —— Journey carousel —— */
.journey {
  padding: 4rem 0 4.5rem;
  background: var(--white);
}

.journey .section-title {
  text-align: center;
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.journey__viewport {
  overflow: hidden;
  margin: 0 -0.5rem;
}

.journey__track {
  display: flex;
  gap: 1.5rem;
  padding: 0.5rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

.journey-card {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: 0;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.journey-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.journey-card h3 {
  font-size: 1.05rem;
  margin: 1rem 1rem 0.5rem;
  padding: 0;
}

.journey-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0 1rem 1rem;
  flex: 1;
}

.journey-card .btn {
  margin: 0 1rem;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .journey-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 800px) {
  .journey-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 520px) {
  .journey-card {
    flex: 0 0 100%;
  }
}

.journey__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.journey__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}

.journey__arrow:hover,
.journey__arrow:focus-visible {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.journey__dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.journey__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.journey__dot[aria-selected="true"] {
  background: var(--teal);
  transform: scale(1.2);
}

/* —— Video CTA —— */
.video-cta {
  background: #1a2d42;
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0;
}

.video-cta h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin: 0 0 1rem;
}

.video-cta__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .video-cta__grid {
    grid-template-columns: 1fr;
  }
}

.video-cta__thumb {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.video-cta__thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-cta__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 33, 71, 0.75) 0%, rgba(0, 33, 71, 0.2) 50%, transparent 100%);
  pointer-events: none;
}

.video-cta__play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.video-cta__play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 10px solid transparent;
  border-left: 16px solid var(--white);
}

.video-cta__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  z-index: 1;
  color: var(--white);
}

.video-cta__copy p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* —— Advisor search —— */
.advisor-search {
  position: relative;
  padding: 4rem 0;
  background: var(--gray-100);
  overflow: hidden;
}

.advisor-search__bg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 300px;
  opacity: 0.06;
  background: var(--navy);
  clip-path: polygon(50% 0%, 100% 10%, 100% 75%, 50% 100%, 0% 75%, 0% 10%);
  pointer-events: none;
}

.advisor-search__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .advisor-search__inner {
    grid-template-columns: 1fr;
  }
}

.advisor-search h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 0 0 1.25rem;
}

.advisor-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.advisor-form input {
  flex: 1 1 200px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-family: var(--font-sans);
}

.advisor-form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.advisor-form__msg {
  width: 100%;
  font-size: 0.9rem;
  color: var(--teal-dark);
  margin: 0.5rem 0 0;
}

.advisor-states {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.advisor-states a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
}

.advisor-states a:hover {
  text-decoration: underline;
  color: var(--teal-dark);
}

/* —— Get started —— */
.get-started {
  padding: 3.5rem 0;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.get-started h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.get-started p {
  color: var(--gray-500);
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
}

.disclaimer {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--gray-500);
  text-align: center;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #9ee5e5;
}

.footer-newsletter h2 {
  color: var(--white);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 480px;
  margin-bottom: 0.5rem;
}

.newsletter input {
  flex: 1 1 200px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.newsletter__ack {
  font-size: 0.9rem;
  color: #9ee5e5;
  margin: 0 0 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 700px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.footer-cols h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cols li {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.footer-social__link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.footer-social__link:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.footer-legal {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* —— Inner pages (shared) —— */
body.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__main {
  flex: 1;
}

.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 3.25rem 1.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
}

.page-hero--compact {
  padding: 2.5rem 1.5rem 2.75rem;
}

.page-hero__rings {
  position: absolute;
  inset: -10%;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0,
    transparent 28px,
    rgba(0, 193, 193, 0.05) 28px,
    rgba(0, 193, 193, 0.05) 30px
  );
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin: 0 0 0.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.92;
  line-height: 1.6;
}

.content-section {
  padding: 3.5rem 0;
  background: var(--white);
}

.content-section--gray {
  background: var(--gray-100);
}

.content-section h2,
.content-section__title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 0 0 1rem;
}

.content-section .container > p,
.content-prose p {
  max-width: 720px;
  margin: 0 0 1em;
}

.content-prose {
  max-width: 720px;
  margin: 0 auto;
}

.content-prose ul {
  margin: 0 0 1.25em;
  padding-left: 1.25rem;
  color: var(--gray-700);
}

.content-prose li {
  margin-bottom: 0.4em;
}

.back-home {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.back-home:hover {
  text-decoration: underline;
  color: var(--teal-dark);
}

.main-nav a[aria-current="page"] {
  color: #7ecfcf;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 0 0 #7ecfcf;
}

.subnav a[aria-current="page"] {
  color: #9ee5e5;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 0 0 #9ee5e5;
}

.site-footer .footer-cols a[aria-current="page"] {
  color: #7ecfcf;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form (Connect page) */
.connect-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.connect-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.connect-form input,
.connect-form select,
.connect-form textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
}

.connect-form input:focus,
.connect-form textarea:focus,
.connect-form select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.connect-form textarea {
  min-height: 120px;
  resize: vertical;
}

.connect-form__msg {
  font-size: 0.9rem;
  color: var(--teal-dark);
  margin: 0;
}

.connect-form__msg[hidden] {
  display: none;
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Board of advisors —— */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.board-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.board-card:hover {
  box-shadow: 0 8px 24px rgba(0, 33, 71, 0.08);
}

.board-card--lead {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 0 auto 0.5rem;
  width: 100%;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(10, 124, 124, 0.12);
}

.board-card__role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.board-card h2,
.board-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.board-card--lead h2,
.board-card--lead h3 {
  font-size: 1.5rem;
}

.board-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}
