:root {
  --regen-navy-950: #06283a;
  --regen-navy-900: #073c56;
  --regen-navy-800: #0b4f68;
  --regen-teal-700: #0c6877;
  --regen-teal-600: #007f91;
  --regen-teal-500: #1397a5;
  --regen-green-600: #3f9f32;
  --regen-green-500: #55b83c;
  --regen-ink: #102e43;
  --regen-muted: #526777;
  --regen-line: #d7e5e8;
  --regen-mist: #edf6f7;
  --regen-mist-2: #f6fafb;
  --regen-white: #ffffff;
  --regen-shadow-sm: 0 8px 24px rgba(7, 60, 86, 0.08);
  --regen-shadow-md: 0 20px 55px rgba(7, 60, 86, 0.13);
  --regen-radius-sm: 12px;
  --regen-radius: 22px;
  --regen-radius-lg: 34px;
  --regen-container: 1280px;
  --regen-header-height: 94px;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--regen-header-height) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--regen-ink);
  background: var(--regen-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: var(--regen-teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--regen-navy-900);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(19, 151, 165, 0.45);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--regen-navy-900);
  font-weight: 720;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 3.25vw, 3.45rem);
}

h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
}

p {
  margin: 0 0 1.2em;
}

.site-container {
  width: min(calc(100% - 44px), var(--regen-container));
  margin-inline: auto;
}

.section-padding {
  padding-block: clamp(74px, 8vw, 122px);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 14px 18px;
  clip: auto;
  color: var(--regen-white);
  background: var(--regen-navy-900);
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--regen-teal-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #bfeaed;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 780;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button--primary {
  color: var(--regen-white);
  background: linear-gradient(115deg, var(--regen-navy-900), var(--regen-teal-700));
  box-shadow: 0 12px 26px rgba(7, 60, 86, 0.19);
}

.button--primary:hover {
  color: var(--regen-white);
  box-shadow: 0 16px 34px rgba(7, 60, 86, 0.25);
}

.button--light {
  color: var(--regen-navy-900);
  background: var(--regen-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.button--light:hover {
  color: var(--regen-navy-900);
  background: #f4fbfc;
}

.button--large {
  min-height: 56px;
  padding-inline: 28px;
}

.button__icon {
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  width: 100%;
  min-height: var(--regen-header-height);
  border-bottom: 1px solid rgba(215, 229, 232, 0.64);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 78px;
  box-shadow: 0 10px 35px rgba(7, 60, 86, 0.1);
}

.site-header__inner {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(235px, 310px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.site-branding {
  min-width: 0;
}

.brand-logo-link,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-image,
.custom-logo {
  width: min(100%, 300px);
  max-height: 74px;
  object-fit: contain;
  object-position: left center;
}

.primary-navigation {
  justify-self: center;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 32px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu .menu-item {
  position: relative;
}

.primary-menu a {
  display: block;
  padding-block: 13px;
  color: var(--regen-ink);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-menu > .menu-item > a::after {
  position: absolute;
  right: 50%;
  bottom: 8px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--regen-teal-600);
  transition: right 180ms ease, left 180ms ease;
}

.primary-menu > .menu-item > a:hover::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current_page_item > a::after {
  right: 0;
  left: 0;
}

.primary-menu .sub-menu {
  position: absolute;
  z-index: 15;
  top: calc(100% - 4px);
  left: -18px;
  display: none;
  width: 230px;
  padding: 12px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--regen-line);
  border-radius: 14px;
  background: var(--regen-white);
  box-shadow: var(--regen-shadow-md);
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
  display: block;
}

.primary-menu .sub-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  text-transform: none;
}

.primary-menu .sub-menu a:hover {
  background: var(--regen-mist);
}

.menu-toggle,
.mobile-nav-cta {
  display: none;
}

.header-cta {
  white-space: nowrap;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(19, 151, 165, 0.07), transparent 29%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
}

.hero-section::before {
  position: absolute;
  top: 22%;
  left: -125px;
  width: 340px;
  height: 340px;
  content: "";
  border: 1px solid rgba(0, 127, 145, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(0, 127, 145, 0.022), 0 0 0 110px rgba(0, 127, 145, 0.018);
  pointer-events: none;
}

.hero-section__grid {
  display: grid;
  min-height: clamp(540px, 59vw, 680px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: stretch;
  gap: clamp(35px, 5vw, 78px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(64px, 7vw, 104px);
}

.hero-copy h1 {
  max-width: 670px;
  margin-bottom: 22px;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 strong {
  color: var(--regen-teal-700);
  font-weight: 760;
}

.hero-description {
  max-width: 570px;
  margin-bottom: 28px;
  color: #344f60;
  font-size: clamp(1.06rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-media {
  position: relative;
  min-height: 100%;
  margin-right: calc((100vw - min(100vw - 44px, var(--regen-container))) / -2);
}

.hero-media::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -2px;
  width: 26%;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.8) 35%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-media::after {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 4%;
  width: 190px;
  height: 190px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: 54% center;
}

.hero-features {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: -42px;
  margin-bottom: 38px;
  overflow: hidden;
  border: 1px solid rgba(207, 225, 229, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--regen-shadow-md);
}

.hero-feature {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 16px;
  color: var(--regen-navy-900);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.25;
}

.hero-feature + .hero-feature {
  border-left: 1px solid var(--regen-line);
}

.icon-wrap {
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  color: var(--regen-teal-700);
}

/* Pillars */
.pillars-section {
  position: relative;
  overflow: hidden;
  color: var(--regen-white);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(120deg, #2b7581 0%, #4d8d94 52%, #28717f 100%);
}

.pillars-section::after {
  position: absolute;
  right: -70px;
  bottom: -150px;
  width: 390px;
  height: 390px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025), 0 0 0 90px rgba(255, 255, 255, 0.02);
}

.pillars-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-card {
  padding: 40px clamp(22px, 3vw, 46px) 42px;
  text-align: center;
}

.pillar-card + .pillar-card {
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}

.pillar-card__icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  color: rgba(255, 255, 255, 0.92);
}

.pillar-card h3 {
  margin-bottom: 10px;
  color: var(--regen-white);
  font-size: 1.06rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.pillar-card p {
  max-width: 250px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Solutions */
.solutions-section {
  position: relative;
  overflow: hidden;
  background: var(--regen-white);
}

.solutions-section::before {
  position: absolute;
  top: 0;
  right: -170px;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(0, 127, 145, 0.055), transparent 68%);
  pointer-events: none;
}

.solutions-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 2.35fr);
  align-items: start;
  gap: clamp(34px, 4vw, 68px);
}

.section-intro {
  position: sticky;
  top: calc(var(--regen-header-height) + 34px);
}

.section-intro h2 {
  max-width: 420px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.section-description {
  max-width: 600px;
  color: var(--regen-muted);
  font-size: 1rem;
}

.section-description p:last-child {
  margin-bottom: 0;
}

.section-intro .button {
  margin-top: 26px;
}

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

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--regen-line);
  border-radius: 17px;
  background: var(--regen-white);
  box-shadow: 0 8px 22px rgba(7, 60, 86, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 127, 145, 0.38);
  box-shadow: var(--regen-shadow-md);
}

.service-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.43 / 1;
  background: var(--regen-mist);
}

.service-card__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(7, 60, 86, 0.1));
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.035);
}

.service-card__body {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.service-card h3 {
  margin-bottom: 9px;
  color: var(--regen-navy-900);
  font-size: 1.04rem;
  letter-spacing: -0.018em;
}

.service-card p {
  margin-bottom: 16px;
  color: var(--regen-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--regen-teal-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
}

.service-card__link span {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.service-card__link:hover span {
  transform: translateX(3px);
}

/* Lifestyle */
.lifestyle-section {
  overflow: hidden;
  border-top: 1px solid #e7eff1;
  background: linear-gradient(90deg, #f7fafb 0%, #fff 48%, #f6fafb 100%);
}

.lifestyle-grid {
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 2.28fr);
  align-items: stretch;
  gap: clamp(35px, 5vw, 78px);
}

.lifestyle-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 60px;
}

.lifestyle-copy h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.lifestyle-media {
  position: relative;
  min-height: 330px;
  margin-right: calc((100vw - min(100vw - 44px, var(--regen-container))) / -2);
  overflow: hidden;
}

.lifestyle-media::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12%;
  content: "";
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.lifestyle-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
}

/* Trust */
.trust-section {
  position: relative;
  overflow: hidden;
  color: var(--regen-white);
  background: linear-gradient(115deg, #1f6978, #317a84 55%, #1a6474);
}

.trust-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.4;
  background:
    radial-gradient(circle at 80% 100%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, transparent 0 56%, rgba(255, 255, 255, 0.035) 56% 57%, transparent 57% 100%);
}

.trust-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  display: grid;
  min-height: 155px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  padding: 30px clamp(18px, 2vw, 28px);
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.trust-item__icon {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.88);
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--regen-white);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 620;
  line-height: 1.1;
}

.trust-item > div > span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.055em;
  line-height: 1.45;
  text-transform: uppercase;
}

.trust-item--textual strong {
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* Final CTA */
.consultation-section {
  position: relative;
  padding-block: clamp(62px, 7vw, 98px);
  overflow: hidden;
  background: #f4f9fa;
}

.consultation-section::before,
.consultation-section::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(0, 127, 145, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.consultation-section::before {
  top: -130px;
  left: -90px;
  width: 340px;
  height: 340px;
}

.consultation-section::after {
  right: -130px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  box-shadow: 0 0 0 55px rgba(0, 127, 145, 0.025);
}

.consultation-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto;
  align-items: center;
  gap: 48px;
  padding: clamp(42px, 5vw, 70px);
  overflow: hidden;
  border-radius: var(--regen-radius-lg);
  color: var(--regen-white);
  background:
    radial-gradient(circle at 95% 10%, rgba(85, 184, 60, 0.2), transparent 25%),
    linear-gradient(120deg, var(--regen-navy-950), var(--regen-navy-900) 55%, var(--regen-teal-700));
  box-shadow: var(--regen-shadow-md);
}

.consultation-card::after {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, 0.025), 0 0 0 76px rgba(255, 255, 255, 0.018);
}

.consultation-card > * {
  position: relative;
  z-index: 1;
}

.consultation-card h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--regen-white);
}

.consultation-card__text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
}

.consultation-card__text p:last-child {
  margin-bottom: 0;
}

.consultation-card__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.consultation-phone {
  color: var(--regen-white);
  font-weight: 720;
  text-decoration: none;
}

.consultation-phone:hover {
  color: #bfeaed;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #071f2d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(160px, 0.65fr) minmax(220px, 0.85fr);
  gap: clamp(42px, 7vw, 100px);
  padding-block: 60px 42px;
}

.footer-brand .brand-logo-image {
  width: min(100%, 300px);
  max-height: 78px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer h2 {
  margin-bottom: 18px;
  color: var(--regen-white);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-menu a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-contact a:hover {
  color: var(--regen-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact h2 {
  margin-bottom: 8px;
}

.footer-contact address {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-style: normal;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
}

.footer-legal {
  padding-block: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-disclaimer {
  max-width: 1050px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.73rem;
  line-height: 1.55;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  text-decoration: none;
}

/* Standard WordPress content */
.content-main {
  min-height: 60vh;
  background: linear-gradient(180deg, #f7fbfc, #fff 300px);
}

.content-container {
  max-width: 920px;
}

.content-article,
.archive-header,
.error-404 {
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--regen-line);
  border-radius: var(--regen-radius);
  background: var(--regen-white);
  box-shadow: var(--regen-shadow-sm);
}

.entry-header {
  margin-bottom: 34px;
}

.entry-title,
.archive-header h1,
.error-404 h1 {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
}

.entry-featured-image {
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 18px;
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.7em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content blockquote {
  padding: 20px 26px;
  margin-inline: 0;
  border-left: 4px solid var(--regen-teal-600);
  background: var(--regen-mist-2);
}

.entry-content img {
  border-radius: 14px;
}

.page-builder-content {
  border-top: 1px solid var(--regen-line);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--regen-line);
  border-radius: var(--regen-radius);
  background: var(--regen-white);
  box-shadow: var(--regen-shadow-sm);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: 26px;
}

.post-card h2 {
  font-size: 1.55rem;
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.navigation.pagination {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--regen-line);
  border-radius: 999px;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--regen-white);
  background: var(--regen-navy-900);
}

.error-404 {
  text-align: center;
}

.error-404 .button {
  margin-top: 18px;
}

/* Form defaults */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid #c9dadd;
  border-radius: 10px;
  color: var(--regen-ink);
  background: var(--regen-white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input[type="submit"],
button[type="submit"] {
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  color: var(--regen-white);
  background: var(--regen-navy-900);
  font-weight: 750;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1180px) {
  :root {
    --regen-header-height: 84px;
  }

  .site-header__inner {
    grid-template-columns: minmax(205px, 245px) 1fr auto;
    gap: 20px;
  }

  .brand-logo-image,
  .custom-logo {
    max-height: 65px;
  }

  .primary-menu {
    gap: 17px;
  }

  .primary-menu a {
    font-size: 0.7rem;
  }

  .header-cta {
    padding-inline: 18px;
    font-size: 0.74rem;
  }

  .hero-section__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 4.5rem);
  }

  .solutions-layout {
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 2fr);
    gap: 34px;
  }

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

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

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }
}

@media (max-width: 980px) {
  :root {
    --regen-header-height: 76px;
  }

  .site-container {
    width: min(calc(100% - 34px), var(--regen-container));
  }

  .site-header__inner {
    grid-template-columns: minmax(180px, 260px) auto;
  }

  .brand-logo-image,
  .custom-logo {
    max-height: 58px;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--regen-line);
    border-radius: 50%;
    background: var(--regen-white);
    cursor: pointer;
  }

  .menu-toggle span[aria-hidden="true"] {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--regen-navy-900);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    z-index: 1001;
    top: 100%;
    right: 0;
    bottom: auto;
    width: min(88vw, 390px);
    height: calc(100vh - var(--regen-header-height));
    height: calc(100dvh - var(--regen-header-height));
    padding: 34px 26px;
    overflow-y: auto;
    visibility: hidden;
    background: var(--regen-white);
    box-shadow: -20px 0 60px rgba(7, 60, 86, 0.18);
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    transition: clip-path 220ms ease, opacity 180ms ease, visibility 220ms ease;
  }

  .primary-navigation.is-open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0);
    pointer-events: auto;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-menu .menu-item {
    border-bottom: 1px solid var(--regen-line);
  }

  .primary-menu a {
    padding: 15px 4px;
    font-size: 0.88rem;
  }

  .primary-menu > .menu-item > a::after {
    display: none;
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    width: 100%;
    padding: 0 0 12px 16px;
    border: 0;
    box-shadow: none;
  }

  .mobile-nav-cta {
    display: flex;
    width: 100%;
    margin-top: 28px;
  }

  .header-cta {
    display: none;
  }

  .hero-section__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding-block: 68px 45px;
  }

  .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(3rem, 9vw, 5.4rem);
  }

  .hero-media {
    min-height: 470px;
    margin-right: calc((100vw - min(100vw - 34px, var(--regen-container))) / -2);
    margin-left: calc((100vw - min(100vw - 34px, var(--regen-container))) / -2);
  }

  .hero-media::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 18%;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-media img {
    min-height: 470px;
    object-position: center;
  }

  .hero-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -22px;
  }

  .hero-feature:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--regen-line);
  }

  .hero-feature:nth-child(5) {
    border-top: 1px solid var(--regen-line);
  }

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

  .pillar-card:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    border-left: 0;
  }

  .pillar-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.26);
  }

  .solutions-layout {
    grid-template-columns: 1fr;
  }

  .section-intro {
    position: static;
    max-width: 680px;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lifestyle-copy {
    max-width: 680px;
    padding-block: 72px 44px;
  }

  .lifestyle-media {
    min-height: 280px;
    margin-right: calc((100vw - min(100vw - 34px, var(--regen-container))) / -2);
    margin-left: calc((100vw - min(100vw - 34px, var(--regen-container))) / -2);
  }

  .lifestyle-media::before {
    display: none;
  }

  .lifestyle-media img {
    min-height: 280px;
  }

  .consultation-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .consultation-card__action {
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .hero-section::before,
  .pillars-section::after,
  .solutions-section::before,
  .consultation-section::before,
  .consultation-section::after,
  .consultation-card::after {
    display: none;
  }

  body {
    font-size: 16px;
  }

  .site-container {
    width: min(calc(100% - 28px), var(--regen-container));
  }

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

  .brand-logo-image,
  .custom-logo {
    width: min(100%, 230px);
    max-height: 54px;
  }

  .hero-copy {
    padding-block: 52px 36px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.6rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-media {
    width: 100vw;
    min-height: 420px;
    margin-right: 0;
    margin-left: calc(50% - 50vw);
  }

  .hero-media img {
    min-height: 420px;
    object-position: 57% center;
  }

  .hero-media::after {
    width: 125px;
    height: 125px;
  }

  .hero-features {
    grid-template-columns: 1fr 1fr;
    margin-top: -16px;
    margin-bottom: 28px;
  }

  .hero-feature {
    min-height: 76px;
    justify-content: flex-start;
    padding: 14px;
    font-size: 0.78rem;
  }

  .hero-feature:nth-child(odd) {
    border-left: 0;
  }

  .hero-feature:nth-child(n+3) {
    border-top: 1px solid var(--regen-line);
  }

  .hero-feature:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }

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

  .pillar-card + .pillar-card,
  .pillar-card:nth-child(3),
  .pillar-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    border-left: 0;
  }

  .pillar-card {
    padding: 32px 24px;
  }

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

  .service-card__body {
    min-height: 0;
  }

  .lifestyle-media {
    width: 100vw;
    min-height: 230px;
    margin-right: 0;
    margin-left: calc(50% - 50vw);
  }

  .lifestyle-media img {
    min-height: 230px;
  }

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

  .trust-item,
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    min-height: 126px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-left: 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .consultation-card {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .consultation-card__action,
  .consultation-card .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .content-article,
  .archive-header,
  .error-404 {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep the homepage photograph in its own paint layer beneath its overlays. */
.hero-media { isolation: isolate; z-index: 1; }
.hero-media img { position: relative; z-index: 0; }
