.stellenberg-design {
  --st-ink: #1f302a;
  --st-muted: #4a5a51;
  --st-paper: #f7f6f0;
  --st-line: #dce2d8;
  --st-accent: #235b44;
  --st-accent-hover: #174332;
}

.stellenberg-design #masthead .ast-primary-header-bar {
  background-color: #fff;
  border-bottom: 1px solid var(--st-line);
}

.stellenberg-design.home.ast-theme-transparent-header #masthead {
  position: relative;
  inset: auto;
}

.stellenberg-design #masthead .main-header-menu .menu-link {
  color: var(--st-ink);
  font-weight: 600;
}

.stellenberg-design #masthead .main-header-menu .menu-link:hover,
.stellenberg-design #masthead .main-header-menu .current-menu-item > .menu-link {
  color: var(--st-accent);
}

.stellenberg-design.site-footer,
.stellenberg-design .site-footer {
  border-top: 1px solid var(--st-line);
}

.stellenberg-design.home #content,
.stellenberg-design.home #primary,
.stellenberg-design.home .site-main > article {
  background-color: var(--st-paper);
}

.stellenberg-design.home #content > .ast-container { max-width: 1280px; }
.stellenberg-design.home #primary { margin-block: 0; padding-block: clamp(28px, 5vw, 72px); }

.st-home { color: var(--st-ink); width: min(100%, 1160px); margin-inline: auto; }
.st-home :is(h1, h2, h3) {
  color: var(--st-ink);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0 0 .55em;
}

.st-home h1 { font-size: clamp(2rem, 4vw, 3.9rem); max-width: 14ch; }
.st-home h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
.st-home h3 { font-size: clamp(1.22rem, 2vw, 1.55rem); }
.st-home p, .st-home li { color: var(--st-muted); font-size: 1rem; line-height: 1.65; }
.st-home p { margin: 0 0 1em; }

.st-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.st-hero-copy { padding-block: 18px; min-width: 0; }
.st-home .st-eyebrow {
  color: var(--st-accent);
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.st-home .st-hero-copy > p:not(.st-eyebrow) { font-size: 1.13rem; max-width: 46ch; }
.st-home .st-hero-media { margin: 0; min-width: 0; }
.st-home .st-hero-image {
  width: 100%;
  aspect-ratio: 6 / 5;
  height: auto;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  border-radius: 18px;
}

.st-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.stellenberg-design a.st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .65rem 1.1rem;
  background: var(--st-accent);
  color: #fff;
  border: 1px solid var(--st-accent);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.stellenberg-design a.st-button:hover { color: #fff; background: var(--st-accent-hover); }
.stellenberg-design a.st-button-outline { background: transparent; color: var(--st-accent); }
.stellenberg-design a.st-button:focus-visible,
.stellenberg-design a.st-text-link:focus-visible { outline: 3px solid var(--st-ink); outline-offset: 3px; }

.st-home .st-section { margin-block: clamp(40px, 7vw, 92px); }
.st-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-card {
  border: 1px solid var(--st-line);
  border-top: 4px solid #718c78;
  border-radius: 12px;
  padding: clamp(18px, 3vw, 30px);
  background: #fff;
}
.st-home .st-card h3 a { color: var(--st-ink); text-decoration: none; }
.st-home .st-card h3 a:hover { text-decoration: underline; }
.st-home .st-card-links { padding: 0; margin: 0; list-style: none; }
.st-home .st-card-links li + li { margin-top: .25rem; }
.st-home .st-card-links a, .stellenberg-design .st-text-link { color: var(--st-accent); font-weight: 650; text-underline-offset: .2em; }
.st-home .st-all-services { margin-top: 18px; }

.st-area, .st-enquiry, .st-service-cta {
  border: 1px solid var(--st-line);
  border-radius: 14px;
  padding: clamp(20px, 4vw, 44px);
}
.st-area { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: #e8eee6; }
.st-area p:last-child, .st-service-cta p { margin-bottom: 0; }
.st-enquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 54px); background: #fff; }
.st-enquiry p a { overflow-wrap: anywhere; }
.st-enquiry-form:empty { display: none; }

.st-service-layout #primary { margin-block: clamp(28px, 4vw, 60px); }
.st-service-layout .entry-header .entry-title,
.st-service-layout .entry-content h1 {
  color: var(--st-ink);
  letter-spacing: -.035em;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.13;
}
.st-service-layout .st-service-copy :is(h2, h3) { color: var(--st-ink); line-height: 1.2; }
.st-service-layout .st-service-copy img { max-width: 100%; height: auto; }
.st-service-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; background: #e8eee6; }

@media (max-width: 800px) {
  .st-hero, .st-area, .st-enquiry { grid-template-columns: 1fr; }
  .st-home h1 { max-width: 22ch; }
  .st-home .st-hero-image { aspect-ratio: 2 / 1; }
  .st-service-grid { grid-template-columns: 1fr; }
}

.st-enquiry:not(:has(.st-enquiry-form)) { grid-template-columns: 1fr; }
.st-enquiry-form:empty { display: none; }

.stellenberg-design .st-service-hero {
  display: grid;
  background: #20372e;
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
  margin: 0 0 16px;
}
.stellenberg-design .st-service-hero-photo {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}
.st-service-hero-copy { align-self: center; padding: clamp(24px, 5vw, 60px); }
.st-service-layout .st-service-hero h1 {
  margin: 0 0 .45em;
  color: #fff;
  font-size: clamp(2.05rem, 4.4vw, 3.65rem);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.st-service-hero p {
  color: #eef4ee;
  font-size: clamp(1.03rem, 1.8vw, 1.22rem);
  line-height: 1.6;
  max-width: 51ch;
  margin-bottom: 24px;
}
.stellenberg-design .st-service-hero a.st-button {
  background: #eaf2ea;
  color: #20372e;
  border-color: #eaf2ea;
}
.stellenberg-design .st-service-hero a.st-button:hover { background: #fff; color: #20372e; }
.stellenberg-design .st-service-call { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.stellenberg-design .st-service-hero a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.st-service-hero .st-service-hero-media { margin: 0; position: relative; min-height: 230px; }
.st-service-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stellenberg-design .st-service-scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  gap: 10px;
}
.st-service-scope li {
  border: 1px solid var(--st-line);
  border-radius: 10px;
  background: #edf1e9;
  color: var(--st-ink);
  padding: 12px 16px;
  font-weight: 650;
}
.st-related-services { display: flex; gap: 10px 24px; flex-wrap: wrap; margin: 0 0 24px; }
.st-related-services a { font-weight: 700; color: var(--st-accent); text-underline-offset: .2em; }
.st-service-copy { margin-top: clamp(26px, 4vw, 48px); }
.st-service-copy > :is(p, ul, ol) { max-width: 74ch; }
.st-service-copy > :is(h2, h3) { margin-block: 1.2em .5em; }
@media (max-width: 720px) {
  .stellenberg-design .st-service-hero-photo { grid-template-columns: 1fr; }
  .st-service-hero .st-service-hero-media { min-height: 0; aspect-ratio: 2 / 1; }
  .stellenberg-design .st-service-scope { grid-template-columns: 1fr; }
}

/* Shared forest palette across Astra, WordPress blocks and WPForms. */
.stellenberg-design {
  --st-ink: #20372e;
  --st-muted: #46594e;
  --st-paper: #f6f7f2;
  --st-line: #d9e3da;
  --ast-global-color-0: #235b44;
  --ast-global-color-1: #174332;
  --wpforms-button-background-color: #235b44;
}
.stellenberg-design :is(.site-main, .site-footer) a:not(.st-button):not(.st-service-call):not(.wp-block-button__link):not(.ast-custom-button-link) {
  color: var(--st-accent);
}
.stellenberg-design :is(#masthead, .site-main) :is(.ast-custom-button, .wp-block-button__link),
.stellenberg-design .site-main .wpforms-container button[type="submit"] {
  background: var(--st-accent) !important;
  border-color: var(--st-accent) !important;
  color: #fff !important;
  border-radius: 8px;
  min-height: 44px;
  font-weight: 700;
}
.stellenberg-design :is(#masthead, .site-main) :is(.ast-custom-button, .wp-block-button__link):hover,
.stellenberg-design .site-main .wpforms-container button[type="submit"]:hover {
  background: var(--st-accent-hover) !important;
  border-color: var(--st-accent-hover) !important;
}
.stellenberg-design .wpforms-container .wpforms-field :is(input, textarea, select):focus {
  border-color: var(--st-accent);
  box-shadow: 0 0 0 1px var(--st-accent);
}
.stellenberg-design .st-service-hero-brief { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
.st-service-brief {
  margin: 20px clamp(18px, 4vw, 46px) 20px 0;
  border: 1px solid #819789;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 32px);
  background: #2c493a;
}
.st-service-brief p { margin: 0 0 12px; font-weight: 750; }
.st-service-brief ul { margin: 0 0 0 1.15em; padding: 0; }
.st-service-brief li + li { margin-top: 7px; }
.st-service-scope li { border-inline-start: 4px solid #638c73; }
.st-service-copy .st-service-details {
  margin: 12px 0;
  border: 1px solid var(--st-line);
  background: #f4f7f2;
  border-radius: 10px;
}
.st-service-details summary { cursor: pointer; padding: 14px 18px; color: var(--st-ink); font-weight: 700; }
.st-service-details summary:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; border-radius: 8px; }
.st-service-details-body { padding: 4px 18px 16px; }
.st-service-details-body > :last-child { margin-bottom: 0; }
.st-service-copy img { border-radius: 10px; }
@media (max-width: 720px) {
  .stellenberg-design .st-service-hero-brief { grid-template-columns: 1fr; }
  .st-service-brief { margin: 0 18px 18px; }
}

.stellenberg-design .site-footer,
.stellenberg-design .site-below-footer-wrap[data-section="section-below-footer-builder"] {
  background: #eaf0e7;
  color: var(--st-ink);
}
.stellenberg-design .site-footer .ast-footer-copyright { color: var(--st-ink); }
.stellenberg-design #masthead .ast-builder-menu-1 .sub-menu { border-top-color: var(--st-accent); }
.stellenberg-design #masthead [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill {
  color: #fff;
  background: var(--st-accent);
  border-radius: 8px;
}
.stellenberg-design ::selection { background: #c9ddcc; color: var(--st-ink); }
.stellenberg-design .ast-button-wrap :is(button, a):focus-visible,
.stellenberg-design .wpforms-submit:focus-visible {
  outline: 3px solid var(--st-ink);
  outline-offset: 3px;
}
