@font-face {
  font-family: "Fonden Lora";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/lora-medium.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --forest: #193e31;
  --forest-deep: #102d24;
  --cream: #faf4e6;
  --orange: #e99558;
  --white: #fff;
  --line: #c9d0c3;
  --title-font: Georgia, "Times New Roman", serif;
  --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest-deep);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

h1, h2, p, figure { margin: 0; }

h1, h2 {
  font-family: var(--title-font);
  font-weight: 400;
  text-wrap: balance;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }

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

.page-width {
  width: calc(100% - 2 * var(--gutter));
  max-width: 78rem;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
  padding: .6rem 1rem;
  background: var(--cream);
  color: var(--forest-deep);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--forest-deep); color: var(--cream); }

.brand {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: 1.4rem;
}

.brand-logo {
  width: clamp(4.5rem, 7vw, 6.25rem);
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.brand hgroup { min-width: 0; }
.brand h1 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.2; }
.brand p { margin-top: .4rem; font-family: var(--title-font); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.4; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--forest);
  color: var(--cream);
}

.hero > * { min-width: 0; }

.hero-copy { padding: clamp(1.75rem, 3.5vw, 3.5rem); }

.eyebrow {
  color: var(--orange);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h2 {
  margin-top: 1.15rem;
  font-size: clamp(2.25rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hero .intro {
  margin-top: 1.5rem;
  font-family: var(--title-font);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.5;
}

.hero-copy > p:not(.eyebrow):not(.intro) { margin-top: 1.1rem; max-width: 40ch; }

.church-photo { align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--forest-deep); }
.church-photo img { width: 100%; height: auto; }
.church-photo figcaption { padding: .9rem 1.4rem 1.1rem; font-size: .8125rem; line-height: 1.6; }

.questions { padding-block: clamp(2.75rem, 5vw, 4.5rem) 2.25rem; max-width: 48rem; }
.questions h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); line-height: 1.25; }
.questions p { margin-top: 1.25rem; }
.questions .closing { font-family: var(--title-font); font-size: 1.125rem; }

.english { max-width: 48rem; border-top: 1px solid var(--line); padding-block: 1.8rem 3.5rem; }
.english h2 { font-size: 1.35rem; line-height: 1.4; }
.english p { margin-top: .65rem; font-size: 1rem; line-height: 1.75; }

.site-footer { background: var(--forest-deep); color: var(--cream); }
.footer-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; padding-block: 2.5rem 1.75rem; }
.footer-content > * { min-width: 0; }
.footer-label { display: block; margin-bottom: .65rem; font-size: .875rem; font-weight: 500; color: var(--orange); }
.publisher strong { display: block; font-size: 1.0625rem; font-weight: 500; line-height: 1.6; }

.sponsor-wordmark {
  display: inline-block;
  max-width: 100%;
  background: transparent;
  color: var(--white);
  font: 500 clamp(1.05rem, 2.2vw, 1.5rem)/1.35 "Fonden Lora", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none;
}

.sponsor-wordmark span { display: block; }
.sponsor-wordmark:hover { text-decoration: underline; text-decoration-thickness: 1px; }

@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); max-width: 48rem; }
  .hero-copy { padding: clamp(1.5rem, 5vw, 3rem); }
  .hero h2 { font-size: clamp(2.4rem, 5.5vw, 3.4rem); }
  .hero-copy > p:not(.eyebrow):not(.intro) { max-width: 48ch; }
}

@media (max-width: 40rem) {
  .brand { padding-block: 1.15rem; }
  .brand-logo { width: 4.5rem; }
  .brand h1 { font-size: 1.5rem; }
  .brand p { font-size: 1rem; }
  .footer-content { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .sponsor-wordmark { font-size: 1.25rem; }
}

@media (max-width: 23rem) {
  .brand { gap: .75rem; }
  .brand-logo { width: 3.75rem; }
  .brand h1 { font-size: 1.3rem; }
  .brand p { font-size: .9375rem; }
  .hero h2 { font-size: 2.1rem; }
  .eyebrow { letter-spacing: .06em; }
}

@media (forced-colors: active) {
  .brand-logo { forced-color-adjust: none; }
  a { text-decoration: underline; }
}

@media print {
  body, .site-header, .hero, .church-photo, .site-footer { background: white; color: black; }
  .page-width { width: 100%; max-width: none; }
  .hero { display: block; }
  .hero-copy { padding: 1.5rem 0; }
  .church-photo { max-width: 32rem; break-inside: avoid; }
  .brand-logo { filter: none; }
  .eyebrow, .footer-label, .sponsor-wordmark { color: black; }
  .skip-link { display: none; }
}
