*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--color-background); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-secondary); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--color-accent); }
button, input, select, textarea { font: inherit; }
button, [type="button"], [type="submit"] { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.65em; color: var(--color-primary); font-weight: 720; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin: 0 0 1.25rem; }
ul, ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
::selection { background: var(--color-secondary); color: #fff; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); padding-inline: var(--gutter); margin-inline: auto; }
.content-narrow { max-width: var(--content); }
.section { padding-block: var(--section-space); }
.section--muted { background: var(--color-surface-alt); }
.section--surface { background: var(--color-surface); }
.section-heading { max-width: 900px; margin-bottom: clamp(2.25rem, 4vw, 4.5rem); }
.section-heading > :last-child { margin-bottom: 0; }
.section-heading--center { margin-inline: auto; text-align: center; }
.eyebrow { margin-bottom: 1rem; color: var(--color-secondary); font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; }
.lead { color: var(--color-text-muted); font-size: var(--text-lg); line-height: 1.65; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 0.75rem; left: 0.75rem; transform: translateY(-200%); padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--color-primary-strong); color: var(--color-background); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.page-entry > *:not(.section):not(.page-hero):not(.cta-band):not(.hero):not(.trust-bar):not(.booking-section):not(.service-jump) { width: min(100% - (2 * var(--gutter)), var(--content)); margin-inline: auto; }
.site-main { min-height: 45vh; }

/* Hello Elementor constrains non-Elementor templates to 1140px. The Speed-Time
   templates own their spacing, so the structural shell must remain full width. */
body.speed-time-site:not([class*="elementor-page-"]) .site-main,
body.speed-time-site .site-header:not(.dynamic-header),
body.speed-time-site .site-footer:not(.dynamic-footer) {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
body.speed-time-site .site-header:not(.dynamic-header),
body.speed-time-site .site-footer:not(.dynamic-footer) {
  padding-inline: 0;
}
body.speed-time-site .site-header:not(.dynamic-header) {
  padding-block: 0;
}
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose li + li { margin-top: 0.5rem; }
.archive-header { max-width: 900px; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2.5rem; }
.article__header { padding-bottom: 2rem; border-bottom: 1px solid var(--color-border); margin-bottom: 2.5rem; }
.article__meta, .post-card__meta { color: var(--color-text-muted); font-size: var(--text-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
