:root {
  --slate: #26333a;
  --slate-deep: #172024;
  --ink: #1c262b;
  --muted: #4d5c64;
  --paper: #f4f1eb;
  --paper-bright: #fbfaf7;
  --sand: #e4ddd2;
  --line: rgba(38, 51, 58, 0.14);
  --brass: #8d6840;
  --brass-soft: #c4a36a;
  --white: #fffdf9;
  --shadow: 0 18px 50px rgba(23, 32, 36, 0.12);
  --header: 76px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --content: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--brass-soft);
  outline-offset: 3px;
}

.container {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.info-bar {
  background: var(--slate-deep);
  color: #efe8dc;
  font-size: 0.86rem;
}

.info-bar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding: 9px 0;
}

.info-bar a {
  color: inherit;
  text-decoration: none;
}

.info-bar a:hover {
  color: var(--brass-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--slate);
  flex-shrink: 0;
}

.brand-text {
  white-space: nowrap;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.05;
  font-weight: 620;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--slate);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(38, 51, 58, 0.08);
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 100% 0%, rgba(196, 163, 106, 0.2), transparent 55%),
    linear-gradient(165deg, #172024 0%, #26333a 62%, #31424b 100%);
  color: #f6f2ea;
}

.hero {
  padding: 72px 0 64px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -70px;
  bottom: -140px;
  background: url("../assets/mark.png") center / contain no-repeat;
  filter: invert(1);
  opacity: 0.08;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  max-width: 16ch;
}

.lede {
  font-size: 1.18rem;
  max-width: 42rem;
  color: rgba(246, 242, 234, 0.88);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.button-primary {
  background: #f6f2ea;
  color: var(--slate-deep);
}

.button-primary:hover {
  background: white;
}

.button-ghost {
  background: transparent;
  color: #f6f2ea;
  border-color: rgba(246, 242, 234, 0.4);
}

.button-ghost:hover {
  border-color: #f6f2ea;
}

.button-dark {
  background: var(--slate);
  color: #f6f2ea;
}

.button-dark:hover {
  background: var(--slate-deep);
}

.button-line {
  background: transparent;
  color: var(--slate);
  border-color: var(--line);
}

.times-card,
.panel,
.card,
.form-card,
.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.times-card {
  padding: 22px 22px 10px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.times-card h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
}

.day-label {
  margin: 16px 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.time-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.time-row strong {
  font-weight: 600;
}

.time-row span {
  color: var(--muted);
}

.page-hero {
  padding: 56px 0 48px;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero p {
  max-width: 40rem;
  color: rgba(246, 242, 234, 0.86);
  margin-bottom: 0;
}

.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 16ch;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.pull {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 520;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.prose p,
.card p,
.panel p {
  margin-top: 0;
}

.prose p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.card,
.panel {
  padding: 24px;
}

.card h3,
.panel h3 {
  margin: 6px 0 10px;
  font-size: 1.55rem;
}

.ref {
  margin: 0;
  color: var(--brass);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.worship-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.worship-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.worship-item h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.worship-item p {
  margin: 0;
}

.worship-item .num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--brass);
}

.band {
  background: var(--slate);
  color: #f6f2ea;
}

.band .section-kicker,
.band .ref {
  color: var(--brass-soft);
}

.band a {
  color: var(--brass-soft);
}

.band .worship-list,
.band .worship-item {
  border-color: rgba(246, 242, 234, 0.2);
}

.band .worship-item .num {
  color: var(--brass-soft);
}

.person {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
}

.avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #d7c4a4, transparent 40%),
    var(--slate);
  color: #f6f2ea;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--slate);
  color: #f6f2ea;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.step p {
  margin: 0;
}

.qa details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

.qa details:last-child {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 36px 16px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.08rem;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--brass);
  line-height: 1;
}

.qa details[open] summary::after {
  content: "–";
}

.qa details p {
  margin: 0 0 18px;
  max-width: 68ch;
  color: var(--ink);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--line);
  position: relative;
}

.checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass-soft);
  position: absolute;
  left: 0;
  top: 20px;
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 18px;
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  margin: 0;
  color: #8a2e1f;
  background: #f8ebe6;
  border-radius: 10px;
  padding: 10px 12px;
}

.form-success {
  background: #eef3ef;
  border: 1px solid #c9d7cc;
  border-radius: 16px;
  padding: 18px;
}

.form-success h3 {
  margin-top: 0;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  background: var(--slate-deep);
  border-radius: 18px;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
}

.site-footer {
  background: var(--slate-deep);
  color: #efe8dc;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr;
  gap: 28px;
}

.site-footer h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass-soft);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 6px;
}

.footer-logo {
  width: 148px;
  margin-bottom: 12px;
  background: white;
  border-radius: 12px;
  padding: 8px;
}

.legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(239, 232, 220, 0.16);
  color: rgba(239, 232, 220, 0.72);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper-bright);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .hero-grid,
  .split,
  .grid-3,
  .grid-2,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--content), calc(100% - 28px));
  }

  .hero,
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .worship-item,
  .person,
  .step {
    grid-template-columns: 1fr;
  }

  .step::before {
    width: 40px;
    height: 40px;
  }

  .info-bar .hide-small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
