:root {
  color-scheme: light;
  --ink: #15263c;
  --paper: #faf7ed;
  --white: #fffdf6;
  --haze: #edf1ea;
  --gold: #f5ba38;
  --teal: #006a62;
  --muted: #435467;
  --line: #b9c1b7;
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Trebuchet MS', 'Gill Sans', sans-serif;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-height) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
button { font: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1, h2 { letter-spacing: -.055em; line-height: 1; }
h2 { font-size: clamp(2.55rem, 5.4vw, 5.1rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); letter-spacing: -.035em; line-height: 1.06; }
.wrap { width: min(100% - clamp(2rem, 8vw, 8rem), 74rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.5rem); }
.skip-link { position: fixed; top: .5rem; left: .5rem; transform: translateY(-160%); z-index: 3; background: var(--gold); padding: .75rem 1rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-nav { min-height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; }
.nav-links a { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; padding-inline: clamp(.35rem, 1.7vw, 1.1rem); color: var(--ink); font-size: .93rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-links .nav-action { background: var(--gold); border: 1px solid var(--ink); border-radius: 3px; margin-left: .35rem; }
.kicker { color: var(--teal); font: 700 .74rem/1.4 var(--body); text-transform: uppercase; letter-spacing: .14em; }
.signal { display: inline-block; width: .65rem; height: .65rem; margin-right: .35rem; border-radius: 100%; background: var(--gold); border: 1px solid var(--ink); }
.hero { padding-block: clamp(2.4rem, 6vw, 5.5rem) clamp(2.6rem, 5vw, 4.6rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.4rem, 4vw, 4rem); }
.hero h1 { margin: .37em 0 .3em; font-size: clamp(3.1rem, 5vw, 4.7rem); }
.hero h1 em { color: var(--teal); font-weight: 400; }
.lede { max-width: 33ch; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.3rem; margin-top: 1.35rem; }
.button, .text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; }
.button { background: var(--gold); border: 1px solid var(--ink); border-radius: 3px; color: var(--ink); text-decoration: none; padding: .6rem .95rem; box-shadow: 3px 3px var(--ink); cursor: pointer; }
.button:hover { background: #ffd373; }
.button:active { box-shadow: none; transform: translate(2px, 2px); }
.text-link { width: fit-content; text-decoration: underline; text-underline-offset: .23em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-figure { min-width: 0; }
.hero-photo { aspect-ratio: 4 / 3; background: var(--haze); border: 1px solid var(--ink); box-shadow: .45rem .45rem 0 var(--gold); }
.hero-photo img, .card-media img, .article-image img, .comparison img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem .7rem; padding-top: 1rem; color: var(--muted); font-size: .82rem; }
.photo-index { color: var(--teal); text-transform: uppercase; letter-spacing: .1em; font-size: .67rem; font-weight: 700; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(15rem, 19rem); align-items: end; gap: .8rem 2rem; margin-bottom: 1.65rem; }
.section-heading h2, .story h2 { margin-top: .4rem; }
.section-heading > p { color: var(--muted); }
.places { background: var(--haze); border-block: 1px solid var(--line); }
.places-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 1rem; }
.place-card, .featured-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--white); }
.featured-card { border-color: var(--ink); background: var(--gold); }
.feature-story, .card-body { padding: clamp(1.15rem, 2.3vw, 1.8rem); }
.feature-story { display: flex; flex: 1; flex-direction: column; justify-content: center; }
.feature-story .kicker { color: var(--ink); }
.feature-story h3 { font-size: clamp(2.25rem, 4.5vw, 4.15rem); }
.feature-story h3, .card-body h3 { margin: .55rem 0 .65rem; }
.feature-story .text-link, .card-body .text-link { margin-top: .6rem; }
.card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card-body p:not(.kicker) { color: var(--muted); }
.card-body .text-link { margin-top: auto; padding-top: .55rem; }
.card-media { aspect-ratio: 16 / 10; background-color: var(--haze); border-bottom: 1px solid var(--line); }
.media-union { background: var(--haze) url('/images/union-art.svg') center / cover; }
.media-cathedral { background: var(--haze) url('/images/cathedral-art.svg') center / cover; }
.media-mexico { background: var(--haze) url('/images/mexico-art.svg') center / cover; }
.more-line { margin-top: .65rem; color: var(--muted); }
.connect, .site-footer { background: var(--ink); color: var(--paper); }
.connect .kicker, .connect .action-number, .connect .action-arrow { color: var(--gold); }
.connect .section-heading > p, .connect small { color: #e4e4da; }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #738090; }
.action-card { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .65rem; padding: clamp(1rem, 2.5vw, 1.55rem); text-decoration: none; }
.action-card + .action-card { border-left: 1px solid #738090; }
.action-card strong, .action-card small { display: block; }
.action-card strong { font-family: var(--display); font-size: clamp(1.24rem, 2.25vw, 1.9rem); line-height: 1.15; }
.action-card small { margin-top: .35rem; font-size: .91rem; }
.action-card:hover { background: #253950; }
.action-card:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.action-card:focus-visible { outline-offset: -4px; }
.action-number { font-size: .7rem; font-weight: 700; }
.impact-feature, .story-grid { display: grid; grid-template-columns: 1fr 1.14fr; align-items: start; gap: 1rem 2.5rem; }
.impact-feature { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-left: 5px solid var(--teal); background: var(--haze); margin-bottom: 1rem; }
.impact-feature h3 { margin-top: .45rem; }
.impact-feature .actions { margin-top: .45rem; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.story { background: var(--haze); border-top: 1px solid var(--line); }
.story-grid { align-items: center; }
.story-grid p:not(.kicker) { max-width: 49ch; font-size: 1.14rem; }
.story-grid .text-link { margin-top: .5rem; }
.site-footer { padding-block: 1.65rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .22em; }
.site-footer p { color: #e4e4da; }
.article { width: min(100% - clamp(2rem, 8vw, 8rem), 60rem); margin-inline: auto; padding-block: clamp(2rem, 6vw, 5rem); }
.article-header { max-width: 51rem; margin-block: 1rem 1.7rem; }
.article-header h1 { margin: .25em 0; font-size: clamp(3rem, 7vw, 6rem); }
.article-header .lede { max-width: 49ch; }
.article-image, .comparison figure { min-width: 0; }
.article-image .image-frame { aspect-ratio: 16 / 9; border: 1px solid var(--ink); }
.image-frame { background-color: var(--haze); overflow: hidden; }
.article figcaption { margin-top: .45rem; color: var(--muted); font-size: .88rem; }
.article-body { max-width: 44rem; margin: 2rem auto 0; }
.article-body h2 { margin: 1.65rem 0 .7rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.article-body p + p { margin-top: .85rem; }
.article-body p:not(.kicker), .article-body address { font-size: 1.1rem; }
.story-detail { margin-top: 1.2rem; }
.story-detail img { width: min(100%, 25rem); height: auto; border: 1px solid var(--line); }
.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.comparison .image-frame { aspect-ratio: 4 / 3; border: 1px solid var(--ink); }
.visit-box { margin-top: 1.7rem; padding: clamp(1.1rem, 3vw, 1.7rem); border: 1px solid var(--line); border-left: 5px solid var(--teal); background: var(--haze); }
.visit-box h2 { margin-top: 0; }
.visit-box .actions { margin-top: .7rem; }
.share-area { margin-top: 1.4rem; }
.share-area p { margin-top: .45rem; color: var(--teal); }
.share-area p:empty { margin-top: 0; }

@media (max-width: 900px) {
  .places-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero-grid, .section-heading, .impact-feature, .story-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.9rem, 8.5vw, 4.6rem); }
  .hero-photo { aspect-ratio: 16 / 10; }
  .section-heading > p { max-width: 42ch; }
  .action-grid { grid-template-columns: 1fr; }
  .action-card + .action-card { border-left: 0; border-top: 1px solid #738090; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 510px) {
  :root { --nav-height: 60px; }
  .site-nav .brand img { width: clamp(82px, 28vw, 135px); }
  .nav-links a { font-size: .82rem; }
  .nav-action span { display: none; }
  .places-grid, .impact-grid { grid-template-columns: 1fr; }
  .feature-story h3 { font-size: 2.7rem; }
  .article-image .image-frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 365px) {
  .site-nav .brand img { width: 35px; height: 35px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .text-link, .action-card { transition: background-color .18s ease, text-decoration-color .18s ease; }
}
