:root{
  --bg: #fbf7f5;
  --ink: #2c2a2b;
  --muted: #6f6a67;
  --line: #e6ded9;
  --accent: #D6C0C2;
  --title: #d9b667;
  --max: 980px;
  --narrow: 640px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a{ color: inherit; text-underline-offset: 4px; }
a:hover{ opacity: .9; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* Top */
.top{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251,247,245,.92);
  border-bottom: 1px solid var(--line);
}

.top__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .18px;

  color: var(--ink);
}

.nav{
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav a{
  text-decoration: none;
  font-weight: 500;
  color: rgba(44,42,43,.72);
}
.nav a:hover{ color: rgba(44,42,43,.92); }

/* Full-bleed helper */
.bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Hero */
.hero{
  padding: 26px 0 30px;
}

.hero--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.hero__photo{
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: none;
  background: rgba(255,255,255,.30);
  min-height: 620px;
  display: grid;
}

.hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__content{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: none;
  border-right: none;
  padding: 54px 64px;
  display: grid;
  align-content: center;
  text-align: center;

  background: rgba(255,255,255,.62);
}

.kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(44,42,43,.66);
}

.title{
  margin: 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(44px, 4.8vw, 78px);
  line-height: 1.02;

  color: var(--title);
}
.title__name{
  display: block;
  margin-top: 6px;
}

.accent{ color: var(--accent); }

.subtitle{
  margin: 12px auto 0;
  max-width: 56ch;
  color: rgba(44,42,43,.72);
}

.rule{
  width: 84px;
  height: 1px;
  background: var(--line);
  margin: 26px auto;
}

.center{ text-align: center; }

.lead{
  margin: 0 0 12px;
  font-size: 16px;
}

.cta{
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn{
  appearance: none;
  border: 1px solid rgba(44,42,43,.45);
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover{ border-color: rgba(44,42,43,.75); }

.link{ color: rgba(44,42,43,.75); }

.small{ font-size: 13px; }
.muted{ color: rgba(44,42,43,.66); }
.hidden{ display: none; }

/* Sections */
.section{ padding: 42px 0 10px; }

.section--narrow{
  max-width: var(--narrow);
  margin: 0 auto;
}

.section__title{
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .02em;

  color: var(--title);
}

.section__rule{
  width: 60px;
  height: 1px;
  background: var(--line);
  margin: 16px auto 26px;
}

/* Rows */
.rows{ border-top: 1px solid var(--line); }

.row{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}

.row__k{ font-weight: 600; color: rgba(44,42,43,.86); }
.row__v{ color: rgba(44,42,43,.82); }

/* External links */
.extlink{
  text-decoration: none;
  border-bottom: 1px solid rgba(44,42,43,.22);
}
.extlink:hover{ border-bottom-color: rgba(217,122,155,.55); }
.extlink::after{
  content: " ↗";
  font-size: .95em;
  color: rgba(44,42,43,.60);
}

/* Form */
.form{ margin: 0 auto; max-width: var(--narrow); }

.fields{
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.field{
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.field span{
  font-size: 13px;
  color: rgba(44,42,43,.70);
  font-weight: 500;
}

input, select, textarea{
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(44,42,43,.22);
  background: transparent;
  padding: 10px 0;
  font: inherit;
  color: var(--ink);
  outline: none;
}

textarea{
  border: 1px solid rgba(44,42,43,.16);
  padding: 12px 12px;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(217,122,155,.70);
}

.fieldgrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.fieldgrid .field{
  border-bottom: none;
  padding: 0;
}

.actions{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0 8px;
}

.notice{
  font-size: 13px;
  color: rgba(44,42,43,.70);
  min-height: 20px;
}

.error{
  font-size: 12px;
  color: rgba(186, 35, 86, .88);
  min-height: 16px;
}

.addcal{ display: inline-block; margin: 10px 0 0; }

/* Footer */
.footer{ padding: 36px 0 34px; }

.footer__rule{
  width: 120px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 14px;
}

/* Responsive */
@media (max-width: 1100px){
  .hero__content{ padding: 44px 42px; }
  .hero__photo{ min-height: 560px; }
}

@media (max-width: 820px){
  .nav{ display: none; }
  .bleed{ width: 100%; margin-left: 0; margin-right: 0; }

  .hero--split{ grid-template-columns: 1fr; }

  .hero__photo{
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    min-height: 380px;
  }

  .hero__content{
    padding: 34px 22px 40px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .row{ grid-template-columns: 1fr; }
  .fieldgrid{ grid-template-columns: 1fr; }
}

/* Verse block between hero and details */
.verseblock{
  padding: 34px 0 6px;
  text-align: center;
}
.verseblock__inner{
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: center;
  max-width: 60ch;
  margin: 0 auto 16px;
}
.verseblock__icon{
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
  opacity: .85;
}
.verseblock__quote{
  margin: 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: rgba(44,42,43,.78);
}
.verseblock__ref{
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(44,42,43,.55);
}

/* Top verse (before hero) */
.topverse{
  padding: 26px 0 18px;
  text-align: center;
}
.topverse__inner{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 18px;
}
.bibleicon{
  color: var(--title);
  flex: 0 0 auto;

  opacity: .85;
}
.topverse__text{
  text-align: center;
}
.topverse__quote{
  margin: 0;
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: var(--title);
}
.topverse__ref{
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--title);

  opacity: .78;
}

@media (max-width: 820px){
  .topverse__inner{
    flex-direction: column;
    gap: 10px;
  }
}


.title__label{ color: var(--ink); }


/* Where to stay (map) */
.sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.stay{ margin-top: 14px; }
.stay__controls{
  display: flex;
  justify-content: center;
  margin: 14px 0 18px;
}
.stay__chips{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.stay__select{
  display: none;
  width: 100%;
  max-width: 320px;
}
.stay__select select{
  width: 100%;
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 12px;
  font: inherit;
}

.chip{
  border: 1px solid var(--line);
  background: transparent;
  padding: 9px 14px;
  font: inherit;
  cursor: pointer;
  letter-spacing: .02em;
  color: rgba(44,42,43,.78);
}
.chip:hover{ border-color: rgba(217,182,103,.55); }
.chip.is-active{
  border-color: rgba(217,182,103,.75);
  box-shadow: 0 1px 0 rgba(217,182,103,.35);
}

.stay__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: start;
}
.stay__map{
  height: 380px;
  width: 100%;
  border: 1px solid var(--line);
}
.stay__list{
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.stay__listHeader{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.stay__listTitle{
  font-family: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--title);
}

.stay__listHint{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  color: rgba(44,42,43,.55);
}
.stay__items{
  display: grid;
  gap: 10px;
}
.stay__item{
  padding: 10px 0;
  border-bottom: 1px solid rgba(44,42,43,.08);
}
.stay__item a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
}
.stay__itemName{
  font-weight: 600;
  color: rgba(44,42,43,.85);
}
.stay__itemMeta{
  margin-top: 4px;
  font-size: 12px;
  color: rgba(44,42,43,.6);
}

/* Leaflet tweaks (minimal) */
.leaflet-container{ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.leaflet-control-attribution{ opacity: .65; }
.leaflet-control-zoom a{
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 920px){
  .stay__grid{ grid-template-columns: 1fr; }
  .stay__map{ height: 340px; }
}

@media (max-width: 640px){
  .stay__chips{ display: none; }
  .stay__select{ display: block; }
}


/* Stay map: legend + event markers */
.legend{ display:inline-flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; }
.legend__item{ display:inline-flex; gap:8px; align-items:center; }
.legend__icon{ width:18px; height:18px; display:inline-block; background-repeat:no-repeat; background-position:center; background-size:contain; opacity:.75; }
.legend__icon--church{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M12%204v16%22/%3E%3Cpath%20d%3D%22M7.5%209h9%22/%3E%0A%3C/svg%3E"); }
.legend__icon--home{ background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%3Cpath%20d%3D%22M3%2011l9-7%209%207%22/%3E%3Cpath%20d%3D%22M5%2010v10h14V10%22/%3E%3Cpath%20d%3D%22M10%2020v-6h4v6%22/%3E%0A%3C/svg%3E"); }

/* Leaflet divIcon reset for custom SVG markers */
.leaflet-div-icon{ background: transparent; border: none; }
.eventMarker{ background: transparent; border: none; }
.eventMarker svg{ display:block; width:28px; height:28px; opacity:.82; }

