/* Stratus theme consistency overrides (loaded after Squarespace CSS) */
:root { --st-teal: #27AA9F; --st-heading: rgba(26, 26, 26, 0.9); }

/* One button colour everywhere: header CTA, mobile menu CTA, page buttons, form submit */
.header-actions-action--cta a,
.header-actions-action--cta .btn,
.header-menu-cta a,
.header-menu-cta .btn,
#page .sqs-button-element--primary,
#page form button[type="submit"] {
  background-color: var(--st-teal) !important;
  border-color: var(--st-teal) !important;
  color: #fff !important;
}

/* Headings restructured for proper hierarchy keep their original visual sizes */
#page .st-size-1, #page .st-size-3, #page .st-size-4 {
  font-family: var(--heading-font-font-family);
  font-weight: var(--heading-font-font-weight);
  letter-spacing: var(--heading-font-letter-spacing);
  text-transform: var(--heading-font-text-transform);
}
#page .st-size-1 {
  font-size: min(calc((var(--heading-1-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-1-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-1-size-value) * 1rem)));
  line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-1-size-value)) / 25));
}
#page .st-size-3 {
  font-size: min(calc((var(--heading-3-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-3-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-3-size-value) * 1rem)));
  line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-3-size-value)) / 25));
}
#page .st-size-4 {
  font-size: min(calc((var(--heading-4-size-value) - 1) * 1.2vw + 1rem), max(calc((var(--heading-4-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--heading-4-size-value) * 1rem)));
  line-height: calc(var(--heading-font-line-height) * (1 + (1 - var(--heading-4-size-value)) / 25));
}

/* Readable section headings on light backgrounds */
#page [data-section-theme="white"] .st-section-title,
#page [data-section-theme="light"] .st-section-title {
  color: var(--st-heading) !important;
}
#page .st-subhead { margin: 1.6em 0 0.4em; }

/* Hero second line on dark/image sections stays white like the first */
#page [data-section-theme="bright"] h2.st-size-1 { color: #fff; }
