/* ==========================================================================
   Rutland United Methodist Church — rutlandumc.com
   Hand-built static stylesheet. No frameworks, no external requests.
   Palette drawn from the congregation's own artwork: the teal/amber cross
   painting and the autumn aerial of Rutland, Vermont.
   ========================================================================== */

:root {
  /* REPLACEABLE IMAGES
     Swap any file below (same name, same folder) to change the picture.
     Full-bleed CSS background images only — every other image on the site is
     a plain <img src="assets/..."> you can replace the same way. */
  --img-artwork-band: url("assets/artwork-band.jpg"); /* abstract cross painting — used on closing CTA bands */

  /* Colour */
  --ink: #1b2a33;
  --teal: #1d4a5c;
  --teal-deep: #143845;
  --teal-soft: #e8eff1;
  --ember: #a8480f;
  --ember-bright: #b85012;
  --gold: #e0a43c;
  --cream: #fbf7f0;
  --sand: #f3ece1;
  --surface: #ffffff;
  --muted: #54626a;
  --line: #e4dbcc;
  --line-soft: #efe7da;

  /* Type */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Modular type scale (1.22) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.4rem;
  --fs-2xl: 2.15rem;
  --fs-3xl: 2.75rem;

  /* Spacing */
  --sp-2: 0.75rem;
  --sp-3: 1.125rem;
  --sp-4: 1.75rem;
  --sp-5: 2.5rem;
  --sp-6: 3.5rem;
  --sp-7: 5rem;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 51, 0.06), 0 4px 14px rgba(27, 42, 51, 0.06);
  --shadow-md: 0 10px 34px rgba(20, 56, 69, 0.13);
  --wrap: 1140px;
}

/* --------------------------------------------------------- base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--teal-deep);
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, var(--fs-3xl)); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, var(--fs-2xl)); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--ember); text-underline-offset: 0.18em; }
a:hover { color: var(--ember-bright); }

img { max-width: 100%; height: auto; display: block; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-5) 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------- layout -------- */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(var(--sp-5), 6vw, var(--sp-7)); }
.section--tight { padding-block: clamp(var(--sp-4), 4vw, var(--sp-5)); }
.section--sand { background: var(--sand); }
.section--white { background: var(--surface); }

.section-head { max-width: 60ch; margin-bottom: var(--sp-5); }
.section-head p { color: var(--muted); font-size: var(--fs-md); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: var(--sp-2);
}

.lede {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 62ch;
}

/* --------------------------------------------------------- buttons ------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }

.btn--give { background: var(--ember); color: #fff; border-color: var(--ember); }
.btn--give:hover { background: #8e3c0c; border-color: #8e3c0c; color: #fff; }

.btn--onDark { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn--onDark:hover { background: var(--gold); border-color: var(--gold); color: #1b2a33; }

.btn--outlineDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outlineDark:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 2px solid var(--line);
  padding-bottom: 2px;
}
.arrow-link:hover { border-bottom-color: var(--ember-bright); }
.arrow-link::after { content: "\2192"; transition: transform 0.18s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------- banner -------- */

.announce {
  background: var(--teal-deep);
  color: #dfeaee;
  font-size: var(--fs-sm);
  text-align: center;
}
.announce p { margin: 0; padding: 0.6rem 1rem; }
.announce a { color: var(--gold); font-weight: 600; }

/* --------------------------------------------------------- header -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 70px;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--teal-deep);
  margin-right: auto;
}
.brand__mark { flex: none; width: 34px; height: 34px; }
.brand__name {
  display: block;
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--teal-deep);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 17px; height: 2px; background: currentColor; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { background: var(--sand); color: var(--teal-deep); }
.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
  box-shadow: inset 0 -2px 0 var(--ember-bright);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  margin-left: 0.4rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--teal-deep); color: #fff; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: var(--sp-2) 1.25rem var(--sp-3);
  }
  .site-nav[hidden] { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a { padding: 0.8rem 0.25rem; font-size: var(--fs-base); }
  .header-cta { margin-left: 0; padding: 0.5rem 0.85rem; }
  .header-cta__label { display: none; }
}

@media (max-width: 420px) {
  .brand__name { font-size: 0.95rem; max-width: 11ch; }
}

/* --------------------------------------------------------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(90rem 40rem at 88% -10%, #eef4f5 0%, rgba(238,244,245,0) 60%),
    var(--cream);
  padding-block: clamp(var(--sp-5), 5vw, var(--sp-7));
  border-bottom: 1px solid var(--line-soft);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(var(--sp-4), 4vw, var(--sp-6));
  align-items: center;
}

.hero h1 { margin-bottom: var(--sp-3); }

.hero__promise {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.02rem + 0.9vw, 1.55rem);
  line-height: 1.38;
  color: var(--ink);
  max-width: 24ch;
  margin-bottom: var(--sp-3);
}

.hero__facts {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.hero__facts li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.hero__facts strong { color: var(--ink); font-weight: 700; }
.hero__facts li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-2px);
}

.hero__art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.hero__art img { width: 100%; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__promise { max-width: none; }
}

/* --------------------------------------------------------- cards --------- */

.grid { display: grid; gap: var(--sp-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); }

/* This Sunday */
.sunday {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.sunday__date {
  margin: 0;
  align-self: start;
  text-align: center;
  background: var(--teal-deep);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  min-width: 92px;
  font-family: var(--font-display);
  line-height: 1.05;
}
.sunday__date .d {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}
.sunday__body h3 { margin-bottom: 0.35rem; }
.sunday__body p { margin-bottom: 0.6rem; }

@media (max-width: 560px) {
  .sunday { grid-template-columns: 1fr; gap: var(--sp-3); }
  .sunday__date { justify-self: start; }
}

/* Hours table */
.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.hours th, .hours td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  vertical-align: baseline;
}
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 700; color: var(--teal-deep); white-space: nowrap; }
.hours td.time { font-weight: 700; color: var(--ink); white-space: nowrap; }
.hours td.note { color: var(--muted); }

@media (max-width: 560px) {
  .hours, .hours tbody, .hours tr, .hours th, .hours td { display: block; width: 100%; }
  .hours tr { border-bottom: 1px solid var(--line-soft); padding: 0.4rem 0; }
  .hours tr:last-child { border-bottom: 0; }
  .hours th, .hours td { border-bottom: 0; padding: 0.15rem 1.1rem; }
  .hours th { padding-top: 0.75rem; }
  .hours td:last-child { padding-bottom: 0.75rem; }
}

/* Pull quote */
.quote {
  margin: 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border-left: 5px solid var(--ember-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.45;
  color: var(--teal-deep);
}
.quote footer {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.04em;
}

/* Split (text + image) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--sp-4), 4vw, var(--sp-6));
  align-items: center;
}
.split--narrowImg { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
@media (max-width: 800px) {
  .split, .split--narrowImg { grid-template-columns: 1fr; }
  .split--narrowImg .portrait { max-width: 300px; }
}

.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.portrait img { width: 100%; height: auto; }

/* --------------------------------------------------------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3);
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-3);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--teal-soft);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-2);
}
.team-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 0.2rem;
}
.team-card p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* --------------------------------------------------------- partners ------ */

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.partner {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------- give ---------- */

.give {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(var(--sp-4), 4vw, var(--sp-5));
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(var(--sp-4), 4vw, var(--sp-5));
  box-shadow: var(--shadow-sm);
}
.give__qr {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}
.give__qr img { width: 100%; max-width: 220px; margin-inline: auto; }
.give__qr figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted);
}
@media (max-width: 760px) {
  .give { grid-template-columns: 1fr; }
  .give__qr { max-width: 260px; }
}

/* --------------------------------------------------------- contact ------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(var(--sp-4), 4vw, var(--sp-6));
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.contact-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}
.contact-list .ico {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.contact-list .ico svg { width: 17px; height: 17px; }
.contact-list .label,
.contact-list .val,
.contact-list .sub { display: block; }
.contact-list .label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.contact-list .val { font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.contact-list .val a { text-decoration: none; }
.contact-list .val a:hover { text-decoration: underline; }
.contact-list .sub { font-size: var(--fs-sm); color: var(--muted); }

.photo-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.photo-figure img { width: 100%; height: auto; }
.photo-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3rem 1.25rem 0.9rem;
  background: linear-gradient(to top, rgba(20, 56, 69, 0.9), rgba(20, 56, 69, 0));
  color: #eaf2f4;
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------- form ---------- */

.form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(var(--sp-4), 4vw, var(--sp-5));
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: var(--sp-3); }
.field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}
.field .req { color: var(--ember); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  outline: none;
}
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--ember-bright); outline-offset: 1px; }

/* honeypot — off-screen, still focusable by bots, hidden from humans and AT */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.cf-turnstile { margin-bottom: var(--sp-3); min-height: 65px; }

.form__note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-2); }

.form-status {
  margin-top: var(--sp-3);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.form-status[hidden] { display: none; }
.form-status--ok {
  background: #e8f2ec;
  border-left: 4px solid #2f7d55;
  color: #1d5237;
}
.form-status--err {
  background: #fdeee7;
  border-left: 4px solid var(--ember);
  color: #7f350b;
}

/* --------------------------------------------------------- CTA band ------ */

.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--teal-deep);
  color: #dfeaee;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--img-artwork-band);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-4);
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: #cfe0e6; margin: 0; max-width: 52ch; }
.cta-band .btn-row { margin-top: 0; }
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------- prose --------- */

.prose { max-width: 68ch; }
.prose p { margin-bottom: var(--sp-3); }
.prose h2 { margin-top: var(--sp-5); }
.prose h2:first-child { margin-top: 0; }
.prose a { font-weight: 600; }

/* --------------------------------------------------------- footer -------- */

.site-footer {
  background: var(--teal-deep);
  color: #c6d8de;
  padding-block: var(--sp-6) var(--sp-4);
  font-size: var(--fs-sm);
}
.site-footer a { color: #e9f2f4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: var(--sp-5);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); } }

.site-footer h2 {
  font-size: var(--fs-xs);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--sp-3);
}
.footer-brand svg { width: 34px; height: 34px; flex: none; }
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  color: #fff;
}
.footer-address { font-style: normal; line-height: 1.75; }
.footer-address a { font-weight: 600; }

.footer-tagline {
  margin-top: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--gold);
}

.footer-bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem var(--sp-4);
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-xs);
  color: #9fbcc7;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c6d8de; text-decoration: underline; }
[data-ss-credit] { color: #9fbcc7; }

/* --------------------------------------------------------- misc ---------- */

.error-page { text-align: center; padding-block: var(--sp-7); }
.error-page .btn-row { justify-content: center; }

@media print {
  .site-header, .announce, .cta-band, .nav-toggle, .form { display: none !important; }
  body { background: #fff; }
}
