:root {
  --lh-ink: #50525a;
  --lh-ink-2: #3c3f45;
  --lh-muted: #6b6e77;
  --lh-bg: #ffffff;
  --lh-soft: #f5f8f9;
  --lh-teal: #2e8085;
  --lh-teal-600: #2a7277;
  --lh-radius: 18px;
  --lh-shadow: 0 14px 40px rgba(0, 0, 0, .08);
  --lh-max: 1200px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  color: var(--lh-ink);
  font: 400 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  background: var(--lh-bg);
  margin: 0;
}

/* Container */
.lh-container {
  max-width: var(--lh-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* Headings */
h1, h2, h3 { color: #474a53; margin: 0 0 .4em }
.lh-hero-title {
  font-weight: 650;
  line-height: 1.08;
  font-size: clamp(32px, 4.6vw, 58px);
}
.lh-hero-subtitle {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--lh-muted);
  max-width: 62ch;
}

/* Buttons */
.lh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  border: 2px solid transparent;
  transition: .2s;
}
.lh-btn--primary {
  background: var(--lh-teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 128, 133, .28);
}
.lh-btn--primary:hover { background: var(--lh-teal-600) }
.lh-btn--ghost {
  background: #fff;
  color: var(--lh-ink);
  border-color: var(--lh-ink);
}
.lh-btn--ghost:hover {
  color: var(--lh-teal-600);
  border-color: var(--lh-teal-600);
}

/* Small button variant */
.lh-btn--sm { padding: 10px 16px; font-size: .95rem; }

/* Hero */
.lh-hero {
  background: radial-gradient(1200px 600px at -10% -10%, #e5f1f2 0%, #ffffff 60%) no-repeat;
  padding: clamp(56px, 8vw, 96px) 0;
}
.lh-hero .lh-container { display: grid; gap: 18px }

/* About hero variant (full-bleed image, centered text) */
.lh-hero--about {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
    url('https://lighthousewp.com/wp-content/uploads/2022/01/red-and-white-lighthouse-scaled.jpg')
    center/cover no-repeat;
  color: #fff;
  padding: clamp(80px, 14vw, 160px) 0;
  min-height: 60vh;
}
.lh-hero--about .lh-container {
  justify-items: center;
  text-align: center;
  max-width: 950px;
}
.lh-hero--about .lh-hero-title,
.lh-hero--about .lh-hero-subtitle { color: #fff; }
.lh-hero--about .lh-btns { justify-content: center; gap: 14px; }
.lh-hero--about .lh-btn.lh-btn--ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.lh-hero--about .lh-btn.lh-btn--ghost:hover {
  background: #fff;
  color: var(--lh-teal-600);
  border-color: #fff;
}

/* Section titles */
.lh-section-title {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  margin: 0 0 12px;
}

/* Features grid & cards */
.lh-grid {
  display: grid;
  gap: 20px;
  margin-top: 18px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 700px) { .lh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (min-width: 1024px) { .lh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }

.lh-card {
  background: #fff;
  border-radius: var(--lh-radius);
  box-shadow: var(--lh-shadow);
  padding: 22px;
}
.lh-card h3 { font-size: 20px; margin: 0 0 8px }
.lh-card p { margin: 0; color: var(--lh-muted) }

/* CTA */
.lh-cta {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--lh-soft);
}
.lh-cta .lh-container { display: grid; gap: 16px }

/* Divider & Stats */
.lh-divider {
  height: 8px;
  border-radius: 999px;
  background: var(--lh-teal);
  box-shadow: 0 8px 26px rgba(46, 128, 133, .18);
}
.lh-stats {
  margin: 18px 0;
  padding-left: 22px;
  list-style: disc;
}
.lh-stats li {
  margin: 8px 0;
  font-size: clamp(16px, 1.9vw, 20px);
  color: var(--lh-ink);
}

/* Utilities */
.lh-stack-sm > * + * { margin-top: 10px }
.lh-stack-md > * + * { margin-top: 16px }
.lh-stack-lg > * + * { margin-top: 24px }

/* Kicker above H1 */
.lh-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: 12px;
  color: var(--lh-teal-600);
  margin: 0 0 6px;
}

/* About intro spacing */
.lh-about-intro { padding: clamp(36px, 5vw, 64px) 0 }
.lh-beliefs { padding: clamp(36px, 5vw, 64px) 0 }

/* Two-column helper */
.lh-two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 900px) {
  .lh-two-cols { grid-template-columns: repeat(2, 1fr); }
}
.lh-gap-xl { gap: clamp(22px, 3vw, 36px); }

/* Image card */
.lh-img-card {
  margin: 0;
  border-radius: var(--lh-radius);
  overflow: hidden;
  box-shadow: var(--lh-shadow);
}
.lh-img-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Button row */
.lh-btns { display: flex; flex-wrap: wrap; gap: 12px }
/* Generic hero section */
.lh-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  color: #fff;
  overflow: hidden;
  border-radius: 0;
}

/* Use WP featured image as background */
.lh-hero[data-hero-bg] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Gradient overlay */
.lh-hero[data-hero-bg]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

/* Ensure text is above overlay */
.lh-hero .lh-container {
  position: relative;
  z-index: 2;
}