:root {
  color-scheme: light;
  --navy: #0f243f;
  --deep-blue: #1f4064;
  --steel-blue: #335c7d;
  --burnt-orange: #c46f2d;
  --gold: #dfa43a;
  --ivory: #f8f5ed;
  --pale-blue: #e8eef2;
  --sand: #f0eadc;
  --line: #b5c3ce;
  font-family: system-ui, sans-serif;
  color: var(--navy);
  background: var(--ivory);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 5px; }
p { line-height: 1.65; color: var(--steel-blue); margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 1rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.063em; line-height: 1.01; }
h2 { font-size: clamp(2.55rem, 5vw, 5.1rem); text-wrap: balance; }
h3 { font-size: 1.3rem; }
.shell { width: min(91%, 1200px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .7rem; background: white; transform: translateY(-200%); z-index: 2; }
.skip:focus { transform: none; }
.top { background: var(--ivory); }
.nav, .footer-inner, .nav-links, .actions { display: flex; align-items: center; gap: 1rem; }
.nav, .footer-inner { justify-content: space-between; }
.nav { min-height: 77px; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.nav-links { gap: clamp(.8rem, 3vw, 2.5rem); }
.nav-links a { white-space: nowrap; }
select:focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 4px; }
.nav a, .wordmark { text-decoration: none; }
.nav a:hover, .footer a:hover { text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 750; white-space: nowrap; }
.nav-give { padding: .55rem 1rem; border: 1px solid currentColor; border-radius: 99rem; }

.hero { background: var(--ivory); padding-block: clamp(2.75rem, 7vw, 6.5rem); overflow: hidden; }
.hero-grid, .split, .join-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.hero h1 { font-size: clamp(4rem, 8.5vw, 8.65rem); margin: 0 0 1.45rem; }
.hero h1 em { color: var(--deep-blue); font-weight: inherit; }
.hero p:not(.eyebrow) { max-width: 38ch; }
.eyebrow { margin-bottom: 1.25rem; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 750; color: var(--deep-blue); }
.hero .lead { color: var(--navy); font-weight: 700; font-size: clamp(1.17rem, 2.2vw, 1.55rem); line-height: 1.35; }
.family { position: relative; isolation: isolate; margin-right: .7rem; }
.family::before { content: ""; position: absolute; z-index: -1; inset: .8rem -.7rem -.6rem .7rem; background: var(--gold); border-radius: 49% 49% 1rem 1rem / 39% 39% 1rem 1rem; }
.family img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.65; object-fit: cover; object-position: center bottom; border-radius: 49% 49% 1rem 1rem / 39% 39% 1rem 1rem; }
.family figcaption { padding: .65rem .95rem .25rem; display: flex; justify-content: space-between; gap: .5rem; font-size: .875rem; font-weight: 650; }
.actions { flex-wrap: wrap; margin-top: 1.75rem; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; border: 1px solid var(--deep-blue); border-radius: 99rem; padding: .65rem 1.05rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--deep-blue); color: white; }
.primary:hover { background: var(--navy); }
.secondary { color: var(--deep-blue); }
.secondary:hover { background: var(--pale-blue); }
.vision { scroll-margin-top: 1rem; }
.vision-art { background: var(--pale-blue); color: var(--deep-blue); border-radius: 2rem; padding: clamp(1.25rem, 4vw, 3rem); overflow: hidden; }
.vision-art strong { display: block; font: 400 clamp(5rem, 10vw, 9rem)/.85 Georgia, serif; letter-spacing: -.09em; }
.vision-art span { display: block; font-weight: 700; margin-block: .75rem 1.7rem; }
.story { background: var(--sand); }
.story .split { align-items: start; }
.text-link { font-weight: 700; color: var(--deep-blue); }
.join { background: var(--pale-blue); }
.join-grid { align-items: stretch; gap: 1rem; margin-top: 2rem; }
.join-grid > div { border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2.75rem); display: flex; flex-direction: column; align-items: flex-start; }
.join-grid .button { margin-top: auto; }
.footer { padding-block: 2.5rem; }
.footer p { margin: .5rem 0 0; }
.footer nav { display: flex; gap: .85rem 1.4rem; flex-wrap: wrap; }
.article { display: flex; align-items: flex-start; gap: 3rem; min-height: 57vh; }
.article-copy { max-width: 65ch; }
.article h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); margin-bottom: 1.8rem; }
.article li { margin-bottom: .45rem; }
.article .family { flex: 1; max-width: 27rem; min-width: 15rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .6s ease-out both; }
  .arrived .municipality-map svg { animation: settle .9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes enter { from { opacity: .45; transform: translateY(12px); } }
  @keyframes settle { from { opacity: .55; transform: translateY(10px); } }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
@media (max-width: 759px) {
  .hero-grid, .split, .join-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.7rem, 13vw, 6.6rem); }
  .family { max-width: 32rem; }
  .footer-inner, .article { flex-direction: column; align-items: flex-start; }
  .article .family { width: min(100% - .7rem, 27rem); min-width: 0; }
}
@media (max-width: 490px) {
  .nav { align-items: flex-start; flex-direction: column; justify-content: center; gap: .45rem; }
  .nav-links { width: 100%; justify-content: space-between; gap: .5rem; font-size: .93rem; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-give { padding-block: .35rem; }
}

.couple img { object-position: center 32%; }
.vision-art > span { margin-bottom: 1rem; }
.municipality-map svg { display: block; width: 100%; height: auto; }
.municipality-map path { fill: #9db6c8; stroke: var(--pale-blue); stroke-width: 1; stroke-linejoin: round; }
.municipality-map path:hover { fill: var(--steel-blue); }
.contact-section { background: var(--pale-blue); scroll-margin-top: 1rem; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 2rem); }
.contact-card h3 { margin: 0 0 .45rem; }
.contact-card ul { display: flex; flex-wrap: wrap; gap: .45rem .85rem; padding: 0; margin: 0; list-style: none; }

.headshot {
  position: relative;
  flex: 0 0 auto;
  width: clamp(80px, 11vw, 128px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}
.headshot img { display: block; width: 100%; }
.headshot-jordan img { position: absolute; width: 137%; max-width: none; left: -14%; top: -39%; }

.lettermark {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.45em;
  height: 1.45em;
  isolation: isolate;
  font: 700 1.25rem/1 Georgia, serif;
  color: var(--navy);
}
.lettermark > span { grid-area: 1 / 1; }
.lettermark-echo {
  --echo-x: .6em;
  --echo-y: -.28em;
  z-index: -1;
  color: var(--burnt-orange);
  opacity: 0;
}
.lettermark-echo:first-child { --echo-x: -.6em; --echo-y: .28em; color: var(--steel-blue); }

.logo-concepts { padding-bottom: 4rem; }
.demo-mark {
  display: grid;
  place-items: center;
  width: min(100%, 22rem);
  min-height: 10rem;
  margin-bottom: 1rem;
  border-radius: .75rem;
  background: var(--pale-blue);
}
.demo-mark .lettermark { font-size: 4.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-page .nav .lettermark-echo,
  .nav .wordmark:hover .lettermark-echo,
  .nav .wordmark:focus-visible .lettermark-echo,
  .demo-mark.playing .lettermark-echo { animation: multiply-s .95s ease-out both; }
  @keyframes multiply-s {
    0% { transform: scale(.75); opacity: 0; }
    52% { transform: translate(var(--echo-x), var(--echo-y)) scale(.65); opacity: .85; }
    100% { transform: translate(var(--echo-x), var(--echo-y)) scale(.55); opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-concepts button { display: none; }
}

.map-instructions { font-size: .875rem; margin-bottom: .5rem; }
.map-display { position: relative; }
.municipality-map path[role="button"] { cursor: pointer; }
.municipality-map path:focus-visible,
.municipality-map path[aria-pressed="true"] {
  outline: none;
  fill: var(--burnt-orange);
  stroke: var(--navy);
  stroke-width: 3;
}
.map-popup {
  position: absolute;
  z-index: 1;
  inset: auto 0 .45rem;
  width: min(100%, 19rem);
  margin-inline: auto;
  padding: .8rem 2.85rem .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--ivory);
  box-shadow: 0 5px 20px #0f243f30;
}
.map-popup h3, .map-popup p { margin: 0; }
.map-popup h3 { line-height: 1.2; }
.map-popup .map-population { font-size: .875rem; font-weight: 700; margin: .2rem 0; }
.map-popup .map-prayer { font-size: .9rem; line-height: 1.4; }
.map-popup button {
  position: absolute;
  top: .25rem;
  right: .25rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font: 1.5rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.map-popup button:hover { background: var(--pale-blue); }
.map-popup button:focus-visible { outline: 3px solid var(--steel-blue); }
