:root {
  --temple-teal: #00897B;
  --temple-teal-dark: #00685D;
  --saffron: #FFC107;
  --vermilion: #D71920;
  --sand-gold: #F4DEAD;
  --deep-green: #064E26;
  --ink: #111111;
  --ivory: #FFF8EF;
  --surface: #F4FAFD;
  --muted: #3D4946;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

h1, h2, h3, .navbar-brand, .footer-brand {
  font-family: Merriweather, Georgia, serif;
  letter-spacing: 0;
}

.contact-ribbon {
  background: var(--temple-teal-dark);
  color: white;
  font-weight: 800;
}
.contact-ribbon .container {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: flex-end;
  min-height: 42px;
  flex-wrap: wrap;
}
.contact-ribbon a { color: white; text-decoration: none; }
.contact-ribbon a:last-child {
  background: var(--saffron);
  color: #261a00;
  padding: .35rem .7rem;
  border-radius: .5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: white;
  box-shadow: 0 4px 22px rgba(0,0,0,.08);
}
.main-nav { min-height: 82px; }
.navbar-brand {
  color: var(--temple-teal-dark);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--deep-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy small {
  font-family: Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--deep-green);
  font-size: .75rem;
}
.nav-links { gap: .2rem; flex-wrap: wrap; }
.nav-links .btn-link {
  color: var(--temple-teal-dark);
  font-weight: 800;
  text-decoration: none;
}
.dropdown .menu {
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.08);
}
.dropdown .menu a { color: var(--ink); text-decoration: none; }

.hero-shell {
  background:
    radial-gradient(circle at 80% 15%, rgba(255,193,7,.28), transparent 28rem),
    linear-gradient(135deg, #fff 0%, #f4fafd 56%, #e8f5f2 100%);
  padding: 5rem 0 6rem;
}
.hero-grid { align-items: center; }
.eyebrow {
  display: inline-flex;
  color: var(--temple-teal-dark);
  background: rgba(0,137,123,.1);
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .75rem;
}
.hero-copy h1 {
  color: var(--temple-teal-dark);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.08;
  margin: .6rem 0 1rem;
}
.hero-summary {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.btn.btn-primary {
  background: var(--temple-teal);
  border-color: var(--temple-teal);
  color: white;
}
.btn-appointment {
  border: 2px solid var(--temple-teal);
  color: var(--temple-teal-dark);
  background: white;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid white;
  border-radius: .75rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}

.trust-strip {
  max-width: 1200px;
  margin: -2.5rem auto 0;
  background: var(--temple-teal);
  color: white;
  border-radius: .75rem;
  padding: 1.4rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.services-band {
  background: var(--sand-gold);
  padding: 5rem 0;
}
.services-band h2, .category-head h1, .article-body h1 {
  color: var(--temple-teal-dark);
}
.service-card, .category-card, .notice-panel {
  background: var(--ivory);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: .5rem;
  padding: 1rem;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
}
.service-card img, .category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .5rem;
}
.service-card h3 a, .category-card h2 a {
  color: var(--deep-green);
  text-decoration: none;
}

.content-section, .thin-page, .article-wrap, .category-wrap {
  padding: 4rem 0;
}
.site-prose {
  background: white;
  border-radius: .5rem;
  padding: clamp(1.2rem, 3vw, 2.5rem);
}
.site-prose p { margin: 0 0 1rem; }
.site-prose a, .article-body a, .category-wrap a {
  color: var(--temple-teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(0,137,123,.35);
  text-underline-offset: 3px;
}
.site-prose a:hover, .article-body a:hover, .category-wrap a:hover {
  color: var(--vermilion);
  text-decoration-color: var(--vermilion);
}
.site-prose img, .article-body img {
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
}
.article-summary {
  border-left: 4px solid var(--saffron);
  padding-left: 1rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.article-main-image {
  float: right;
  max-width: 33%;
  margin: 0 0 1rem 1.5rem;
}
.toc-panel, .toc-side {
  background: var(--ivory);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: .5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.toc-panel a, .toc-side a {
  display: inline-block;
  margin: .25rem .7rem .25rem 0;
}
.toc-side {
  position: sticky;
  top: 8rem;
  align-self: flex-start;
}
.mobile-toc { display: none; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.site-footer {
  background: #102522;
  color: #ebf2f4;
  padding: 3rem 0;
}
.site-footer h2 {
  color: var(--saffron);
  font-size: 1rem;
}
.footer-brand {
  color: var(--saffron);
  font-size: 1.35rem;
  font-weight: 900;
}
.footer-list {
  list-style: none;
  margin: 0;
}
.footer-list li { margin-bottom: .35rem; }
.footer-list a {
  color: #ebf2f4;
  text-decoration: none;
}

@media (max-width: 840px) {
  .main-nav, .contact-ribbon .container { justify-content: center; }
  .nav-links { justify-content: center; }
  .hero-shell { padding-top: 3rem; }
  .trust-strip { margin: 0; border-radius: 0; }
  .article-main-image {
    float: none;
    max-width: 100%;
    margin: 0 0 1rem;
  }
  .mobile-toc { display: block; }
}
