:root {
  --green: #88ab2d;
  --bright-green: #a2d300;
  --blue: #0087c1;
  --dark: #3a3a3a;
  --text: #898f99;
  --heading: #686868;
  --white: #ffffff;
  --soft: #f5f8f8;
  --border: #e3e8e8;
  --shadow: 0 18px 45px rgba(26, 45, 55, 0.12);
  --header-height: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Lato", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  background: #fff;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

a:hover,
a:focus {
  color: var(--green);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--heading);
  font-family: "Lato", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 9vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1.25rem;
}

ul {
  margin-top: 0;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  color: var(--dark);
  background: var(--white);
  border-radius: 6px;
  clip: auto;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(227, 232, 232, 0.82);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(33, 54, 64, 0.09);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.85rem;
  color: var(--heading);
}

.site-brand__logo,
.custom-logo {
  width: min(210px, 50vw);
  max-height: 58px;
  object-fit: contain;
}

.site-brand__text { display: none; }

.site-brand__text strong {
  color: var(--green);
  font-size: 1.05rem;
}

.site-brand__text small {
  color: var(--text);
  font-size: 0.75rem;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

.primary-nav {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  display: none;
  padding: 1rem 20px 1.5rem;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(24, 42, 52, 0.12);
}

.primary-nav.is-open {
  display: block;
}

.primary-nav ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.35rem;
}

.primary-nav a {
  display: block;
  padding: 0.75rem 0.9rem;
  color: var(--heading);
  font-size: 0.93rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 6px;
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav .current-menu-item > a {
  color: var(--green);
  background: rgba(136, 171, 45, 0.1);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 76vh, 760px);
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(42, 88, 67, 0.92), rgba(0, 135, 193, 0.74)),
    rgba(0, 0, 0, 0.2);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 7rem;
  color: var(--white);
}

.hero h1,
.hero p {
  max-width: 850px;
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  line-height: 1.45;
}

.hero__wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  fill: var(--white);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow--light {
  color: var(--bright-green);
}

.button,
.wp-block-button__link,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  background: var(--green);
  border: 2px solid var(--green);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(136, 171, 45, 0.2);
  cursor: pointer;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: var(--white);
  background: #759826;
  border-color: #759826;
  transform: translateY(-1px);
}

.button--bright {
  color: var(--dark);
  background: var(--bright-green);
  border-color: var(--bright-green);
}

.button--bright:hover,
.button--bright:focus {
  color: var(--dark);
  background: #b5e20e;
  border-color: #b5e20e;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--soft {
  background: var(--soft);
}

.section--content {
  padding-top: 5rem;
}

.section--dark {
  color: rgba(255, 255, 255, 0.86);
  background: var(--dark);
}

.section--dark h2,
.section--dark h3,
.section--image-cta h2 {
  color: var(--white);
}

.section--angled::before,
.section--angled::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 42px;
  background: inherit;
}

.section--angled::before {
  top: -20px;
  transform: skewY(-1.4deg);
}

.section--angled::after {
  bottom: -20px;
  transform: skewY(1.4deg);
}

.section--image-cta {
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.section__overlay--blue {
  background: linear-gradient(120deg, rgba(0, 135, 193, 0.9), rgba(38, 92, 75, 0.82));
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--top {
  align-items: start;
}

.split__content {
  min-width: 0;
}

.split__content h2,
.section-heading h2 {
  color: var(--green);
}

.notice {
  padding: 0.8rem 1rem;
  color: #557019;
  font-weight: 700;
  background: rgba(162, 211, 0, 0.15);
  border-left: 4px solid var(--bright-green);
  border-radius: 0 6px 6px 0;
}

.feature-image,
.image-gallery figure,
.featured-image {
  margin: 0;
  overflow: hidden;
  background: #dfe7e7;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img,
.image-gallery img,
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-image {
  aspect-ratio: 4 / 3;
}

.image-gallery {
  display: grid;
  gap: 1rem;
}

.image-gallery--mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-gallery--mosaic figure {
  aspect-ratio: 1 / 0.82;
}

.image-gallery--mosaic figure:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}

.image-gallery--stack figure {
  aspect-ratio: 16 / 10;
}

.image-gallery--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-gallery--grid figure {
  aspect-ratio: 4 / 3;
}

.testimonial-cta {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.quote-card,
.price-card,
.info-card,
.contact-panel,
.form-panel,
.post-card,
.side-feature {
  background: var(--white);
  border: 1px solid rgba(227, 232, 232, 0.85);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-card {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--heading);
}

.quote-card p {
  color: var(--heading);
  font-size: 1.22rem;
  line-height: 1.55;
}

.quote-card cite {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.quote-card--light {
  min-height: 100%;
}

.cta-copy {
  color: var(--white);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.amenities-grid,
.pricing-grid,
.info-card-grid,
.testimonials-grid {
  display: grid;
  gap: 1.1rem;
}

.check-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.65rem;
}

.amenities-grid .check-list {
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(26, 45, 55, 0.07);
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--bright-green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.contact-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: rgba(255, 255, 255, 0.88);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.contact-section__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(125deg, rgba(58, 58, 58, 0.94), rgba(0, 135, 193, 0.74)),
    rgba(0, 0, 0, 0.3);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.contact-panel,
.form-panel {
  padding: clamp(1.35rem, 4vw, 2.25rem);
}

.contact-panel {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(58, 58, 58, 0.68);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-links {
  display: grid;
  margin: 1.5rem 0;
  gap: 0.45rem;
}

.contact-links a,
.contact-links span {
  color: var(--white);
  font-weight: 700;
}

.map-embed,
.video-embed {
  overflow: hidden;
  background: #dfe7e7;
  border-radius: 8px;
}

.map-embed {
  aspect-ratio: 16 / 10;
}

.map-embed iframe,
.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.lifeworks-form,
.nf-form-cont form {
  display: grid;
  gap: 1rem;
}

.lifeworks-form label,
.nf-field-label label {
  color: var(--heading);
  font-weight: 900;
}

.lifeworks-form input,
.lifeworks-form textarea,
.nf-form-cont input:not([type="button"]):not([type="submit"]),
.nf-form-cont textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 0.35rem;
  padding: 0.72rem 0.85rem;
  color: var(--heading);
  font: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.lifeworks-form textarea,
.nf-form-cont textarea {
  resize: vertical;
}

.nf-form-cont input[type="button"],
.nf-form-cont input[type="submit"] {
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  color: var(--dark);
  font: inherit;
  font-weight: 900;
  background: var(--bright-green);
  border: 2px solid var(--bright-green);
  border-radius: 6px;
  cursor: pointer;
}

.video-embed {
  aspect-ratio: 16 / 9;
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow);
}

.pricing-grid {
  margin-top: 1.6rem;
}

.price-card,
.info-card,
.side-feature,
.post-card {
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.price-card--featured {
  border-color: rgba(136, 171, 45, 0.45);
  box-shadow: 0 20px 45px rgba(136, 171, 45, 0.18);
}

.price {
  color: var(--green);
  font-size: clamp(2.3rem, 8vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.price span {
  color: var(--text);
  font-size: 1rem;
}

.side-feature {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.info-card {
  min-height: 190px;
}

.info-card a {
  display: block;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.prose {
  color: var(--text);
}

.prose--narrow {
  width: min(820px, calc(100% - 40px));
}

.prose h1,
.prose h2,
.prose h3 {
  color: var(--green);
}

.prose a {
  font-weight: 900;
}

.post-list {
  display: grid;
  gap: 1.25rem;
}

.post-card h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.post-card__meta {
  margin-bottom: 1rem;
  color: var(--green);
  font-weight: 900;
}

.text-link {
  font-weight: 900;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 0;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1.5rem;
}

.site-footer address {
  font-style: normal;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--bright-green);
}

.footer-widgets {
  padding-bottom: 2rem;
}

.footer-bottom {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (min-width: 700px) {
  .section-inner {
    width: min(1120px, calc(100% - 64px));
  }

  .image-gallery--grid,
  .pricing-grid,
  .info-card-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-cta {
    grid-template-columns: 1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }

  .primary-nav a {
    padding: 0.7rem 0.65rem;
    font-size: 0.78rem;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .split--reverse .feature-image {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }

  .image-gallery--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .primary-nav a {
    padding: 0.7rem 0.9rem;
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header__inner {
    width: min(100% - 24px, 1180px);
  }

  .site-brand__text small {
    display: none;
  }

  .image-gallery--mosaic,
  .image-gallery--grid {
    grid-template-columns: 1fr;
  }

  .image-gallery--mosaic figure:first-child {
    grid-row: auto;
    aspect-ratio: 1 / 0.82;
  }
}
