/* Eyes of Faith DC: site styles
   Palette: deep navy + gold + cream. Headings: Cormorant Garamond. Body: Source Sans 3. */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f1f3a;
  --navy-700: #16294a;
  --navy-600: #22385f;
  --gold: #c9a24a;
  --gold-light: #e2c77f;
  --gold-dark: #8a6a1f;      /* gold for text on light backgrounds (AA contrast) */
  --cream: #f8f3e8;
  --cream-200: #efe6d2;
  --paper: #fffdf8;
  --ink: #1d2433;
  --muted: #545d6e;
  --on-navy: #e9edf5;
  --on-navy-muted: #b9c3d6;

  --serif: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(10, 22, 40, .10), 0 2px 6px rgba(10, 22, 40, .06);
  --container: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .005em;
  margin: 0 0 .5em;
}
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 2.9rem); color: var(--navy-800); }
p { margin: 0 0 1em; }

a { color: var(--navy-600); text-underline-offset: .18em; }
a:hover { color: var(--gold-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] { scroll-margin-top: 5rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 44rem; }
.center { text-align: center; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--gold); color: var(--navy-900); padding: .6rem 1rem;
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Honeypot field (hidden from humans) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Eyebrow + ornaments ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .75rem;
}
.eyebrow--dark { color: var(--gold-dark); }

.ornament { display: flex; align-items: center; gap: .75rem; margin: .25rem 0 1.5rem; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 3rem; background: currentColor; opacity: .7; }
.ornament span { width: .55rem; height: .55rem; transform: rotate(45deg); border: 1.5px solid currentColor; }
.ornament--left { justify-content: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: .75rem 1.5rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: .02em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn--navy:hover { background: var(--navy-600); border-color: var(--navy-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--gold-light); border-color: rgba(226, 199, 127, .6); }
.btn--ghost:hover { background: rgba(226, 199, 127, .1); color: #fff; border-color: var(--gold-light); }
.btn--block { width: 100%; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--gold); color: var(--navy-900); font-size: .95rem; }
.announce p {
  max-width: var(--container); margin: 0 auto; padding: .6rem 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .25rem .9rem;
  text-align: center; line-height: 1.4;
}
.announce__label { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.announce__text { display: none; }
.announce a { color: var(--navy-900); font-weight: 600; }
.announce a:hover { color: var(--navy-600); }
@media (min-width: 48rem) { .announce__text { display: inline; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 22, 40, .96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(201, 162, 74, .25);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; }
.brand img { border-radius: 9px; }
.brand__text { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; color: #fff; }
.brand__dc { color: var(--gold-light); }
.brand:hover .brand__text { color: #fff; }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 1px solid rgba(226, 199, 127, .45); border-radius: var(--radius);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 1.25rem; height: 2px; background: var(--gold-light); border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center; }
.site-nav a { color: var(--on-navy); text-decoration: none; font-size: .98rem; font-weight: 600; padding: .5rem 0; display: inline-block; }
.site-nav a:hover { color: var(--gold-light); }
.site-nav .nav-cta { border: 1.5px solid var(--gold); color: var(--gold-light); padding: .45rem 1rem; border-radius: var(--radius); }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--navy-900); }

/* Mobile nav: collapses only when JS is available (html.js) */
@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 1rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .site-nav a { display: block; padding: .85rem .25rem; }
  .site-nav .nav-cta { margin-top: .75rem; text-align: center; }
  .site-nav li:last-child { border-top: 0; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: .75rem; }
}

/* Narrow desktops: keep all six nav links on one line next to the brand */
@media (min-width: 52.01rem) and (max-width: 60rem) {
  .site-nav ul { column-gap: 1rem; }
  .site-nav a { font-size: .92rem; }
  .site-nav .nav-cta { padding-inline: .8rem; }
  .brand__text { font-size: 1.3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--on-navy);
  background:
    radial-gradient(50rem 26rem at 50% -10%, rgba(74, 106, 168, .45), transparent 65%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(34, 56, 95, .9), transparent 70%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  /* OPTIONAL PHOTO: add your own image at images/hero.jpg and uncomment:
  background-image: linear-gradient(180deg, rgba(10,22,40,.75), rgba(10,22,40,.92)), url("../images/hero.jpg");
  background-size: cover; background-position: center; */
  padding: 4.5rem 0 5rem;
}
.hero__inner { position: relative; z-index: 1; max-width: 46rem; margin-inline: auto; text-align: center; }
.hero h1 {
  font-size: clamp(3.25rem, 2rem + 6vw, 6rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: .3em;
}
.hero__lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); color: var(--on-navy-muted); max-width: 34rem; margin: 0 auto 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }
.hero__actions .btn { min-width: 14rem; }
.hero__ornament {
  position: absolute; z-index: 0; color: var(--gold);
  width: min(36rem, 120vw); height: auto;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  opacity: .3; pointer-events: none;
}
.hero__rule {
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
  opacity: .8;
}
@media (min-width: 48rem) { .hero { padding: 7rem 0 7.5rem; } }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
@media (min-width: 48rem) { .section { padding: 6rem 0; } }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-800); color: var(--on-navy); }
.section--navy h2 { color: #fff; }
.section__lead { font-size: 1.2rem; color: var(--muted); }
.section--navy .section__lead { color: var(--on-navy-muted); }

/* ---------- St. Michael feature ---------- */
.feature {
  position: relative;
  display: grid; gap: 1.75rem;
  background: var(--paper);
  border: 1px solid rgba(201, 162, 74, .55);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.feature::before {
  content: ""; position: absolute; inset: .5rem;
  border: 1px solid rgba(201, 162, 74, .25); border-radius: var(--radius);
  pointer-events: none;
}
.feature__emblem {
  color: var(--gold);
  width: 6rem; margin-inline: auto;
}
.feature__emblem svg { width: 100%; height: auto; }
.feature__body { position: relative; }
.feature__lead { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); line-height: 1.35; color: var(--navy-800); }
.feature__facts { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; display: grid; gap: .5rem; border-top: 1px solid var(--cream-200); padding-top: 1.25rem; }
.feature__facts li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem; }
.feature__facts span { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); padding-top: .2rem; }
@media (min-width: 48rem) {
  .feature { grid-template-columns: 11rem 1fr; gap: 3rem; padding: 3.5rem 3.5rem 3.5rem 3rem; align-items: start; }
  .feature__emblem { width: 100%; max-width: 9rem; margin-top: .5rem; }
}

/* ---------- About ---------- */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about__photo { margin: 0; max-width: 24rem; margin-inline: auto; position: relative; }
.about__photo::after {
  content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: -1;
  border: 1.5px solid var(--gold); border-radius: var(--radius);
}
.about__photo picture { display: block; }
.about__photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__lead { font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); line-height: 1.35; color: var(--navy-800); }
.about__roles { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.about__roles li {
  font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-700); background: var(--cream); border: 1px solid var(--cream-200);
  padding: .4rem .9rem; border-radius: 999px;
}
.about { isolation: isolate; }
@media (min-width: 52rem) {
  .about { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .about__photo { max-width: none; }
}

/* ---------- Homilies (YouTube grid, click-to-play) ---------- */
.homilies__intro { margin-inline: auto; }
.homilies {
  list-style: none; margin: 2.5rem 0 0; padding: 0;
  --gap: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
/* 1 column on phones, 2 on tablets, 3 on desktop; an incomplete last row is centred */
.homily { display: flex; flex: 0 0 100%; min-width: 0; }
@media (min-width: 40rem) { .homily { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 60rem) {
  .homilies { --gap: 2rem; }
  .homily { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
}
.homily__card {
  display: flex; flex-direction: column; width: 100%;
  background: var(--navy-700);
  border: 1px solid rgba(201, 162, 74, .3);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: border-color .2s ease, transform .2s ease;
}
.homily__card:hover, .homily__card:focus-within { border-color: rgba(226, 199, 127, .7); }

/* Media: 16:9 box; the 4:3 hqdefault thumbnail is cropped to hide its letterbox bars */
.homily__media {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--navy-900);
  border: 0; padding: 0; margin: 0; cursor: pointer;
  color: inherit; font: inherit; text-align: left;
}
.homily__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease, filter .3s ease;
  filter: saturate(.92);
}
.homily__media:hover img, .homily__media:focus-visible img { transform: scale(1.03); filter: saturate(1); }
.homily__media:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 0; }
.homily__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.homily__play {
  position: absolute; right: .6rem; bottom: .6rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .65rem .4rem .6rem;
  background: rgba(10, 22, 40, .88); color: var(--gold-light);
  border: 1px solid rgba(226, 199, 127, .75); border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.homily__play svg { width: .8rem; height: .8rem; fill: currentColor; }
.homily__media:hover .homily__play, .homily__media:focus-visible .homily__play {
  background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: scale(1.04);
}

.homily__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.35rem 1.4rem; }
.homily__date {
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 .45rem;
}
.homily__title { font-size: 1.6rem; line-height: 1.15; color: #fff; margin: 0 0 .35rem; text-wrap: balance; }
.homily__meta { font-size: .95rem; color: var(--on-navy-muted); margin: 0 0 1rem; }
.homily__link {
  margin-top: auto; align-self: flex-start;
  color: var(--gold-light); font-weight: 600; font-size: .95rem;
  text-decoration: none; padding: .2rem 0;
}
.homily__link:hover { color: #fff; text-decoration: underline; }

.homilies__footer { margin-top: 2.75rem; }
.homilies__credit { margin: 1.25rem 0 0; font-size: .9rem; font-style: italic; color: var(--on-navy-muted); }
.homilies__credit a { color: var(--on-navy); }
.homilies__credit a:hover { color: var(--gold-light); }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--navy-800); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff;
  border: 1.5px solid #cdd3dd; border-radius: var(--radius);
  padding: .8rem .9rem; min-height: 3rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea { resize: vertical; min-height: 9rem; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f1f3a' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: .8rem;
  padding-right: 2.5rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 74, .3); }
.form-note { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; }

.newsletter-form { display: flex; flex-direction: column; gap: .75rem; max-width: 30rem; margin: 2rem auto 0; }
@media (min-width: 36rem) {
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
}

.contact { display: grid; gap: 2.5rem; }
.contact-form {
  background: var(--paper); border: 1px solid var(--cream-200); border-top: 4px solid var(--gold);
  border-radius: calc(var(--radius) * 2); padding: 1.75rem 1.25rem; box-shadow: var(--shadow);
  display: grid; gap: 1.15rem;
}
@media (min-width: 52rem) {
  .contact { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .contact-form { padding: 2.5rem; }
  .contact__intro { position: sticky; top: 7rem; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy-muted); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__inner { display: grid; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(201, 162, 74, .2); }
.site-footer__brand p { margin: .9rem 0 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-nav a { display: inline-block; padding: .25rem 0; }
.site-footer__base { padding-top: 1.5rem; font-size: .88rem; }
.site-footer__base p { margin: 0; }
.site-footer__base a { color: var(--gold-light); }
@media (min-width: 52rem) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Simple pages (thanks / 404) ---------- */
.simple-page { min-height: 100vh; display: flex; flex-direction: column; }
.simple-page main { flex: 1; display: flex; }
.simple-hero { flex: 1; display: flex; align-items: center; padding: 5rem 0; }
.simple-hero .hero__inner { max-width: 38rem; }
.simple-hero h1 { font-size: clamp(2.6rem, 1.8rem + 4vw, 4.25rem); }
.simple-hero .cross-mark { width: 4rem; margin: 0 auto 1.5rem; color: var(--gold); }

/* ---------- Police Resources page (police-resources.html, cards built by js/resources.js) ---------- */
.page-hero { padding: 3.5rem 0 4rem; }
.page-hero h1 { font-size: clamp(2.8rem, 1.9rem + 4.5vw, 4.75rem); }
.page-hero .hero__lead { margin-bottom: 0; text-wrap: balance; }
.page-hero .hero__ornament { width: min(28rem, 110vw); }
@media (min-width: 48rem) { .page-hero { padding: 5rem 0 5.5rem; } }

.site-nav a[aria-current="page"] { color: var(--gold-light); box-shadow: inset 0 -2px 0 var(--gold); }
.footer-nav a[aria-current="page"] { color: var(--gold-light); }
@media (max-width: 52rem) {
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: .85rem; }
}

.resources__intro { margin-inline: auto; }
.resources__intro .ornament { justify-content: center; }
.resources { margin-top: 2.5rem; }

.resources__grid {
  list-style: none; margin: 0; padding: 0;
  --gap: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
/* 1 column on phones, 2 on tablets, 3 on desktop; an incomplete last row is centred */
.resource { display: flex; flex: 0 0 100%; min-width: 0; }
@media (min-width: 40rem) { .resource { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 60rem) {
  .resources__grid { --gap: 2rem; }
  .resource { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
}
.resource__card {
  position: relative; display: flex; gap: 1.1rem; width: 100%;
  background: var(--paper);
  border: 1px solid var(--cream-200); border-top: 4px solid var(--gold);
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}
.resource__card:hover, .resource__card:focus-within { border-color: rgba(201, 162, 74, .7); border-top-color: var(--gold); }
.resource__badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 3.5rem; margin-top: .15rem;
  border: 1.5px solid var(--gold); border-radius: 4px 12px 4px 4px;
  color: var(--gold-dark); background: var(--cream);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
}
.resource__body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.resource__date {
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 .4rem;
}
.resource__title { font-family: var(--serif); font-weight: 600; letter-spacing: .005em; font-size: 1.55rem; line-height: 1.15; color: var(--navy-800); margin: 0 0 .45rem; text-wrap: balance; overflow-wrap: anywhere; }
.resource__desc { font-size: .98rem; color: var(--muted); margin: 0 0 1.25rem; }
.resource__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.resource__btn { min-height: 2.75rem; padding: .55rem 1.15rem; font-size: .95rem; }
.resource__download { color: var(--navy-600); font-weight: 600; font-size: .95rem; padding: .3rem 0; }
.resource__download:hover { color: var(--gold-dark); }

.resources__group + .resources__group { margin-top: 3.25rem; }
.resources__group .resources__grid { justify-content: flex-start; }
.resources__group-title {
  display: flex; align-items: center; gap: 1rem;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); color: var(--navy-800); margin: 0 0 1.5rem;
}
.resources__group-title::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .55; }

.resources__empty {
  max-width: 34rem; margin: 0 auto; text-align: center;
  background: var(--paper);
  border: 1px solid rgba(201, 162, 74, .55);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.resources__empty::before {
  content: ""; position: absolute; inset: .5rem;
  border: 1px solid rgba(201, 162, 74, .25); border-radius: var(--radius);
  pointer-events: none;
}
.resources__empty-icon { width: 3rem; height: auto; margin: 0 auto 1.1rem; color: var(--gold); }
.resources__empty h3 { font-size: 1.9rem; color: var(--navy-800); margin-bottom: .35rem; }
.resources__empty p { color: var(--muted); margin: 0; }
.resources__noscript { max-width: 34rem; margin: 1.25rem auto 0; text-align: center; font-size: .95rem; color: var(--muted); }

.resources__contact { margin: 3rem 0 0; color: var(--muted); }
.resources__contact a { font-weight: 600; white-space: nowrap; }
