:root {
  --ground: #FFFFFF;
  --ground-soft: #F7F3EB;
  --gold-tint: #F3EAD8;
  --ink: #2C221A;
  --ink-soft: #6D5C4B;
  --accent: #A66A1F;
  --green: #1E4634;
  --rule: #D9CFC0;
  --photo-edge: #E5DDD0;
  --footer-ground: #241B13;
  --footer-ink: #EDE4D4;
  --footer-soft: #B5A488;
  --hero-ink: #FFF9EE;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #191410;
    --ground-soft: #211B15;
    --gold-tint: #2A2115;
    --ink: #EDE6DA;
    --ink-soft: #B3A48F;
    --accent: #D19A45;
    --green: #8FB39E;
    --rule: #40362A;
    --photo-edge: #33291F;
    --footer-ground: #120D09;
    --footer-ink: #EDE4D4;
    --footer-soft: #9A8B72;
    --hero-ink: #FFF9EE;
  }
}
:root[data-theme="dark"] {
  --ground: #191410;
  --ground-soft: #211B15;
  --gold-tint: #2A2115;
  --ink: #EDE6DA;
  --ink-soft: #B3A48F;
  --accent: #D19A45;
  --green: #8FB39E;
  --rule: #40362A;
  --photo-edge: #33291F;
  --footer-ground: #120D09;
  --footer-ink: #EDE4D4;
  --footer-soft: #9A8B72;
  --hero-ink: #FFF9EE;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 24px; }
h1, h2, h3 {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}
a { color: var(--accent); }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 10px;
}
.icon {
  width: 19px; height: 19px;
  stroke: var(--accent);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  position: relative;
  top: 3px;
}

/* ---------- Nav ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ground);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 10px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo-img { mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-img {
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
  }
}
:root[data-theme="dark"] .logo-img {
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg);
}
.nav-mark { width: 42px; height: auto; display: block; }
.nav-name {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 160ms ease-out;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }
.nav-links a[aria-current="page"] { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero img.painting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(30, 20, 8, 0.18) 0%,
    rgba(30, 20, 8, 0.02) 34%,
    rgba(28, 18, 8, 0.38) 68%,
    rgba(24, 15, 6, 0.78) 100%);
}
.hero-content {
  width: 100%;
  padding-block: 200px 46px;
  text-align: center;
  color: var(--hero-ink);
  animation: rise 700ms ease-out both;
}
@keyframes rise {
  from { opacity: 0.25; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
  html { scroll-behavior: auto; }
  .photos figure, .btn { transition: none !important; }
}
.hero .come-and-see {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-style: italic;
  font-size: clamp(21px, 3vw, 27px);
  color: #F5C878;
  margin: 0 0 4px;
  text-shadow: 0 1px 12px rgba(20, 12, 4, 0.55);
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 64px);
  line-height: 1.06;
  text-shadow: 0 2px 18px rgba(20, 12, 4, 0.6);
}
.hero .locale {
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 16px 0 0;
  color: #EAD9BC;
  text-shadow: 0 1px 8px rgba(20, 12, 4, 0.6);
}
.hero .cta-row {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 11px 26px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #EAD9BC;
  color: var(--hero-ink);
  background: rgba(24, 15, 6, 0.25);
  transition: background 180ms ease-out, color 180ms ease-out;
}
.btn:hover, .btn:focus-visible { background: #F5C878; border-color: #F5C878; color: #241B13; }
.btn.solid { background: #F5C878; border-color: #F5C878; color: #241B13; }
.btn.solid:hover, .btn.solid:focus-visible { background: var(--hero-ink); border-color: var(--hero-ink); }

/* Short hero variant for interior pages */
.hero.short { min-height: 300px; }
.hero.short .hero-content { padding-block: 120px 40px; }

/* ---------- Welcome ---------- */
.welcome { padding-block: 64px 58px; }
.welcome-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.welcome p.lead {
  font-size: 19px;
  margin: 0;
  text-align: left;
}
.dropcap::first-letter {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-size: 58px;
  line-height: 0.82;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--accent);
}
.ornament { margin: 0 auto 26px; display: block; color: var(--accent); }

/* ---------- Visit ---------- */
.visit {
  background: var(--ground-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 58px 62px;
}
.visit-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.visit-col { flex: 1 1 300px; }
.visit h2 { font-size: 30px; margin-bottom: 20px; }
table.schedule { border-collapse: collapse; width: 100%; max-width: 400px; }
table.schedule td {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
table.schedule td:first-child { display: flex; gap: 10px; align-items: baseline; }
table.schedule td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  padding-left: 24px;
}
.visit .note { font-size: 14.5px; font-style: italic; color: var(--ink-soft); margin-top: 14px; }
address { font-style: normal; line-height: 1.8; }
address .phone {
  font-size: 23px;
  font-family: "Sorts Mill Goudy", Georgia, serif;
  color: var(--ink);
  text-decoration: none;
}
address .phone:hover { color: var(--accent); }
.directions { font-size: 14.5px; font-style: italic; color: var(--ink-soft); margin-top: 10px; max-width: 30em; }
.map-link { font-size: 15px; }
.sign-frame { margin: 0; max-width: 250px; }
.sign-frame img {
  width: 100%; max-width: 100%; display: block;
  border: 1px solid var(--photo-edge);
  padding: 7px;
  background: var(--ground);
  transform: rotate(-1.4deg);
  box-shadow: 0 8px 22px rgba(44, 30, 14, 0.13);
}
.sign-frame figcaption {
  font-size: 13px; font-style: italic; color: var(--ink-soft);
  margin-top: 12px; text-align: center;
}

/* ---------- Verse band ---------- */
.verse-band {
  background: var(--gold-tint);
  padding-block: 52px;
  text-align: center;
}
.verse-band blockquote {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.35;
  margin: 0 auto;
  max-width: 21em;
  color: var(--ink);
}
.verse-band cite {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-style: normal;
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 16px;
}

/* ---------- We Believe ---------- */
.believe { padding-block: 66px; }
.believe-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.believe h2 { font-size: 36px; margin: 0 0 8px; }
.believe .verse { font-style: italic; color: var(--ink-soft); margin: 0 0 32px; }
.believe ul {
  list-style: none;
  padding: 0; margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.believe li { padding-left: 28px; position: relative; }
.believe li::before {
  content: "✦";
  position: absolute; left: 0; top: 1px;
  color: var(--accent);
  font-size: 13px;
}
.believe .closing {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-style: italic;
  font-size: 25px;
  margin: 36px 0 0;
}

/* ---------- Photos ---------- */
.photos { padding-block: 0 72px; }
.photos .eyebrow { text-align: center; }
.photos h2 { font-size: 36px; text-align: center; margin: 0 0 34px; }
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: start;
}
.photos figure {
  margin: 0;
  background: var(--ground);
  border: 1px solid var(--photo-edge);
  padding: 9px 9px 0;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.photos figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(44, 30, 14, 0.16);
}
.photos img {
  width: 100%; max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.photos .tall img { aspect-ratio: 3 / 4; }
.photos figcaption {
  font-size: 13.5px; font-style: italic; color: var(--ink-soft);
  padding: 10px 4px 12px;
  text-align: center;
}

/* ---------- Articles (Our Story / Reflections) ---------- */
.story { padding-block: 62px 30px; }
.story-inner { max-width: 620px; margin: 0 auto; }
.story h2 { font-size: 34px; margin: 0 0 20px; text-align: center; }
.story p { margin: 0 0 18px; }
.story .pull {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  margin: 30px 0;
  padding: 4px 0 4px 22px;
}
.articles { padding-block: 30px 40px; }
.articles-inner { max-width: 620px; margin: 0 auto; }
article.reflection {
  border-top: 1px solid var(--rule);
  padding-block: 44px 40px;
}
article.reflection .art-date {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
article.reflection h3 { font-size: 28px; margin: 0 0 6px; }
article.reflection .art-verse {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 22px;
  font-size: 15.5px;
}
article.reflection p { margin: 0 0 16px; }
article.reflection .signoff {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: var(--accent);
  margin-top: 22px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--footer-ground);
  color: var(--footer-soft);
  padding-block: 52px 56px;
  text-align: center;
  font-size: 15px;
}
footer .verse-line {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-style: italic;
  font-size: 21px;
  color: var(--footer-ink);
  margin: 0 0 22px;
}
footer .f-name {
  font-family: "Sorts Mill Goudy", Georgia, serif;
  font-size: 17px;
  color: var(--footer-ink);
  margin: 0 0 6px;
}
footer p { margin: 4px 0; }
footer a { color: #E2B96C; }
footer .f-rule {
  border: 0;
  border-top: 1px solid rgba(226, 185, 108, 0.25);
  width: 68px;
  margin: 26px auto;
}
.f-logo {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg);
  opacity: 0.92;
}
.built-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--footer-soft);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 160ms ease-out;
}
.built-by:hover, .built-by:focus-visible { opacity: 1; }
.built-by img { width: 22px; height: auto; display: block; }
.built-by span { border-bottom: 1px solid rgba(226, 185, 108, 0.3); padding-bottom: 1px; }

@media (max-width: 640px) {
  .hero-content { padding-block: 150px 38px; }
  .hero.short .hero-content { padding-block: 96px 34px; }
  .nav-links { gap: 18px; }
  .welcome { padding-block: 48px 44px; }
}
