:root {
  --ink: #15120f;
  --paper: #fbfaf6;
  --ivory: #f3efe7;
  --copper: #a65f36;
  --moss: #51624b;
  --blue: #344f6f;
  --line: #d8cfc1;
  --muted: #6d665d;
  --shadow: 0 24px 70px rgba(21, 18, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  background: #ffffff;
}

.hero-logo-panel {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 6px clamp(20px, 5vw, 72px);
  overflow: visible;
}

.hero-logo-panel img {
  width: min(60vw, 460px);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-photo-panel {
  min-width: 0;
  width: 100%;
  height: clamp(280px, 32vw, 520px);
  background-image: url("wells-cathedral.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
}

.hero-photo-stage {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(420px, 760px) max-content;
  align-items: center;
  column-gap: 15mm;
  justify-content: center;
  padding: 0;
}

.photo-links {
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 0;
}

.photo-links-left {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.photo-links-right {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.photo-links a {
  display: grid;
  place-items: center;
  width: clamp(230px, 24vw, 430px);
  min-height: clamp(120px, 14vw, 230px);
  padding: 24px 32px;
  background: #ffffff;
  border: 1px solid rgba(21, 18, 15, 0.18);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.65vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.photo-links a:hover,
.photo-links a:focus-visible {
  border-color: rgba(21, 18, 15, 0.42);
  box-shadow: 0 14px 32px rgba(21, 18, 15, 0.12);
}

.hero-photo-panel {
  grid-column: 2;
  grid-row: 1;
}

.intro {
  max-width: none;
  text-align: center;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-minimal {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 68px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: none;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 1.02;
  font-weight: 500;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1;
  font-weight: 500;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
  font-weight: 500;
}

.hero-text {
  max-width: 940px;
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
  color: #403b35;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.hero-text-line {
  white-space: nowrap;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  text-decoration: none;
  font-weight: 700;
}

.contact-button {
  align-items: flex-start;
  flex-direction: column;
  min-width: min(100%, 360px);
  min-height: 92px;
  gap: 6px;
  padding: 20px 24px;
  text-align: left;
}

.contact-button span {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-button strong {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  overflow-wrap: anywhere;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(21, 18, 15, 0.12);
}

.mission-band,
.local-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.mission-band {
  background: var(--ink);
  color: var(--paper);
}

.mission-band .section-kicker {
  color: #d9a16e;
}

.mission-band p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  color: #eee8dd;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.45;
}

.services {
  padding: clamp(58px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card p {
  color: #48423b;
}

.service-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-top: 1px solid rgba(216, 207, 193, 0.85);
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.local-section {
  background: var(--ivory);
}

.local-copy p:last-child {
  max-width: 760px;
  color: #48423b;
  font-size: 1.08rem;
}

.quote-panel {
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
  border-left: 5px solid var(--moss);
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2.3rem);
  line-height: 1.18;
}

.page-header {
  padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 72px) clamp(42px, 7vw, 86px);
  text-align: center;
}

.brand-link {
  display: inline-block;
  margin-bottom: clamp(24px, 4vw, 48px);
}

.brand-link img {
  width: min(54vw, 360px);
  height: auto;
  display: block;
}

.detail-section {
  padding: 0 clamp(20px, 5vw, 72px) clamp(54px, 8vw, 104px);
}

.detail-section .service-card {
  max-width: 860px;
  margin: 0 auto;
}

.contact-section {
  align-items: center;
}

.contact-section h2 {
  margin-bottom: 0;
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #eee8dd;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .mission-band,
  .local-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .button {
    width: 100%;
  }

  .hero-photo-panel {
    height: 300px;
  }

  .hero-logo-panel img {
    width: min(78vw, 360px);
  }

  .photo-links {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 8px 20px;
    transform: none;
  }

  .photo-links-left {
    grid-column: 1;
    grid-row: 2;
  }

  .photo-links-right {
    grid-column: 1;
    grid-row: 3;
  }

  .photo-links a {
    width: min(100%, 360px);
    min-width: 0;
    min-height: 96px;
    padding: 20px 22px;
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .hero-photo-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-photo-panel {
    grid-column: 1;
    grid-row: 1;
    width: calc(100% - 40px);
    max-width: 360px;
  }
}

@media (max-width: 420px) {
  .photo-links {
    grid-template-columns: 1fr;
  }
}
