:root {
  --ink: #303629;
  --muted: #5d6258;
  --rust: #984023;
  --peach: #f9e7d8;
  --line: #d6d9ce;
  --olive-pale: #f0f2e9;
  --space: clamp(1.25rem, .8rem + 1.7vw, 2.75rem);
  --rail: 14.5rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
body, main, section, div, aside, header, footer, figure, nav, address { min-width: 0; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; font-weight: 700; }
a { color: inherit; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: var(--rust); }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #8351ad;
  outline-offset: 5px;
}
img { display: block; width: 100%; height: auto; }
picture { display: block; }
address { font-style: normal; }
section[id], main[id], footer[id] { scroll-margin-top: 1.25rem; }
.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 10;
  padding: .75rem 1rem;
  background: #fff;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.concept-bar {
  display: flex;
  justify-content: space-between;
  gap: .3rem 2rem;
  flex-wrap: wrap;
  padding: .6rem max(1.25rem, calc((100vw - 1240px) / 2));
  background: var(--olive-pale);
  color: #47503e;
  font-size: .8rem;
  line-height: 1.45;
}
.concept-bar a { min-height: 1.5rem; }
.page { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.church-name { text-decoration: none; line-height: 1; }
.church-name > span { display: block; font-size: clamp(1.8rem, 1.4rem + .8vw, 2.25rem); font-weight: 700; letter-spacing: -.055em; }
.church-name small { display: block; margin-top: .45rem; font-size: .875rem; font-weight: 400; letter-spacing: .025em; }
nav { display: flex; gap: .3rem 1.6rem; flex-wrap: wrap; align-items: center; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; text-decoration: none; }
.nav-contact { border-bottom: 2px solid var(--rust); gap: .65rem; }
.arrival {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  grid-template-areas: "times intro" "times photo";
  gap: 1.8rem clamp(2rem, 3.5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 4rem);
}
.welcome { grid-area: intro; }
.eyebrow { color: var(--rust); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.15rem; }
h1 { font-size: clamp(2.6rem, 2rem + 2.4vw, 4.6rem); max-width: 14ch; }
.welcome-copy { font-size: clamp(1.05rem, .97rem + .3vw, 1.2rem); margin-top: 1.2rem; color: var(--muted); }
.sunday {
  grid-area: times;
  align-self: start;
  padding: 1.65rem 1.4rem 1.4rem;
  background: var(--peach);
  border-top: 5px solid var(--rust);
}
.small-label { font-size: .8rem; font-weight: 700; line-height: 1.5; color: #5f452f; }
.sunday h2 { font-size: 1.75rem; margin-top: .45rem; }
.main-time { display: grid; gap: .2rem; padding-block: 1.8rem 1.25rem; }
.time { font-size: 2.7rem; font-weight: 700; letter-spacing: -.065em; line-height: 1.1; }
.time small { font-size: 1rem; letter-spacing: -.01em; }
.main-time > span:last-child { font-size: .95rem; }
.study-time { display: grid; gap: .2rem; padding-block: 1rem; border-top: 1px solid #c9ad96; border-bottom: 1px solid #c9ad96; }
.study-time strong { font-size: 1.25rem; }
.study-time span { font-size: .95rem; }
.sunday address { font-size: .95rem; margin-block: 1.45rem; }
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .7rem .9rem;
  color: #fff;
  background: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: .9rem;
}
.button:hover { background: #4b553f; color: #fff; }
.quiet-link { display: block; padding-top: 1.1rem; font-size: .83rem; line-height: 1.5; }
.gathering { grid-area: photo; }
figcaption { color: var(--muted); font-size: .8rem; line-height: 1.5; margin-top: .7rem; }
.gathering img { aspect-ratio: 1200 / 904; }
.section-grid {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: clamp(2rem, 3.5vw, 4rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.section-heading { padding-top: 1.6rem; border-top: 3px solid var(--ink); }
.section-heading h2 { font-size: clamp(1.8rem, 1.5rem + .7vw, 2.2rem); line-height: 1.12; }
.section-heading .text-link { margin-top: 1.5rem; font-size: .9rem; }
.text-link { display: inline-block; font-weight: 700; padding-block: .65rem; line-height: 1.5; }
.expectations { border-top: 1px solid var(--line); }
.expectations > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 1.5rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
dt { font-size: 1.25rem; font-weight: 700; line-height: 1.35; letter-spacing: -.025em; }
dd { margin: 0; color: var(--muted); }
dd a { color: var(--ink); font-weight: 700; }
.belief-note { padding-block: 1.5rem 0; font-size: .95rem; }
.belief-note a { font-weight: 700; }
.fellowship-story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; }
.painting img { aspect-ratio: 1; }
.story-copy { padding-top: .3rem; }
.reading { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 1.15rem + .5vw, 1.8rem); line-height: 1.3; letter-spacing: -.035em; }
.story-copy > p + p { margin-top: 1.2rem; color: var(--muted); }
.story-copy > .text-link { font-size: .9rem; margin-top: .5rem; }
.midweek { margin-top: 1.6rem; padding: 1.3rem 0 0; border-top: 2px solid var(--rust); }
.midweek h3 { font-size: 1.2rem; margin-top: .6rem; }
.midweek > p:not(.small-label) { margin-top: .6rem; }
.midweek p strong { font-size: 1.4rem; }
.midweek p span { font-size: .9rem; color: var(--muted); }
.midweek a { display: inline-block; font-size: .85rem; margin-top: .5rem; padding-block: .5rem; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.6rem, 3.5vw, 3rem);
  background: var(--olive-pale);
}
.contact h2 { font-size: clamp(2.2rem, 1.9rem + 1vw, 3rem); }
.contact-invitation > p:last-child { margin-top: 1.2rem; color: var(--muted); }
.contact-details { padding-top: .2rem; }
.contact-details address strong { font-size: 1.1rem; }
.contact-details > .text-link { font-size: .9rem; margin-top: .5rem; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; border-top: 1px solid #c5cab8; margin-top: 1.25rem; padding-top: 1rem; }
.contact-links a { max-width: 100%; }
.phone-link { font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.contact-links a:last-child { font-size: .9rem; padding-block: .5rem; }
.concept-note { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; margin-top: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; line-height: 1.6; }
.concept-note h2 { font-size: .95rem; color: var(--ink); letter-spacing: 0; line-height: 1.4; }
.concept-note p { margin-top: .7rem; }
.photo-note p { margin-top: 0; }
.photo-note > a { display: inline-block; padding-block: .7rem; margin-top: .5rem; color: var(--ink); }
@media (max-width: 64rem) {
  :root { --rail: 12.5rem; }
  .site-header { align-items: flex-start; }
  nav { gap: .2rem 1rem; justify-content: flex-end; }
  .sunday { padding-inline: 1rem; }
  .expectations > div { grid-template-columns: 1fr; gap: .6rem; }
  .fellowship-story { grid-template-columns: 1fr; }
  .painting { max-width: 30rem; }
  .story-copy { max-width: 38rem; }
}
@media (max-width: 52rem) {
  .site-header { flex-direction: column; padding-block: 1.4rem 1rem; gap: 1rem; }
  nav { justify-content: flex-start; gap: .15rem 1.5rem; }
  .arrival { grid-template-columns: 1fr; grid-template-areas: "intro" "times" "photo"; gap: 1.5rem; padding-top: 2rem; }
  .sunday { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.5rem; padding: 1.3rem; }
  .sunday .small-label, .sunday h2 { grid-column: 1 / -1; }
  .main-time { padding-block: 1.1rem; }
  .study-time { border-top: 0; border-bottom: 0; justify-content: start; align-content: center; padding-block: 1.1rem; }
  .sunday address { margin-block: 0; align-self: center; }
  .sunday .button { align-self: center; }
  .quiet-link { grid-column: 1/-1; padding-top: 1rem; }
  .section-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
  .section-heading { padding-top: 1.5rem; }
  .section-heading h2 br { display: none; }
  .section-heading h2 { max-width: 20ch; }
  .section-heading .text-link { margin-top: .7rem; }
  .expectations > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.3rem; }
  .fellowship-story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
  .contact { gap: 2rem; }
}
@media (max-width: 36rem) {
  .concept-bar { font-size: .75rem; }
  .church-name > span { font-size: 2rem; }
  nav { gap: .2rem 1.2rem; }
  nav a { font-size: .9rem; }
  h1 { font-size: clamp(2.45rem, 1.8rem + 3vw, 3.5rem); }
  .welcome-copy { font-size: 1.05rem; }
  .desktop-break { display: none; }
  .sunday { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0 1rem; }
  .sunday h2 { font-size: 1.5rem; }
  .time { font-size: 2.2rem; }
  .time small { font-size: .85rem; }
  .study-time strong { font-size: 1.1rem; }
  .main-time > span:last-child, .study-time span { font-size: .85rem; }
  .sunday address { grid-column: 1 / -1; padding-block: .7rem 1rem; border-top: 1px solid #c9ad96; }
  .sunday .button { grid-column: 1 / -1; }
  .quiet-link { font-size: .85rem; }
  .section-heading h2 { font-size: 2rem; }
  .expectations > div { grid-template-columns: 1fr; gap: .6rem; padding-block: 1.4rem; }
  .fellowship-story { grid-template-columns: 1fr; gap: 1.4rem; }
  .painting { max-width: none; }
  .reading { font-size: 1.65rem; max-width: 24ch; }
  .contact { grid-template-columns: 1fr; padding: 1.5rem; margin-top: 3rem; }
  .contact h2 { font-size: 2.2rem; }
  .concept-note { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 22.5rem) {
  h1 { font-size: 2.25rem; }
  .sunday { display: block; }
  .study-time { border-top: 1px solid #c9ad96; margin-bottom: .5rem; }
  .time { font-size: 2.5rem; }
  .section-heading h2, .contact h2 { font-size: 1.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Separate pre-render refinement; original styles.css remains preserved. */
body { overflow-wrap: anywhere; }
@media (max-width: 22.5rem) {
  h1 { font-size: 1.8rem; }
  .church-name > span { font-size: 1.55rem; }
  .section-heading h2, .contact h2 { font-size: 1.65rem; }
}
