@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-Regular.woff2') format('woff2'),
        url('fonts/Graphik-Regular.woff') format('woff');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root{
  /* Palette sampled from references: deep green & blue + lilac (Grainly deck), off-white bg (Halden Miller) */
  --navy:#293a32;         /* deep green — ink / dark surfaces */
  --navy-2:#294550;       /* deep blue — large dark panels (footer, CTA) */
  --teal:#294550;         /* deep blue — AA-readable text/icon accent on light bg */
  --teal-deep:#1d3038;    /* darker blue — hover state of teal text/borders */
  --gold:#a494b9;         /* lilac — CTA fills & accent pops (fixed across themes) */
  --gold-deep:#9084a2;    /* darker lilac — hover on lilac fills */
  --on-gold:#1d2923;      /* fixed dark green text for anything on a lilac fill */
  --on-dark:#f6f7f1;      /* fixed off-white text for anything on navy-2 (footer/CTA) */
  --brand-navy:#163440;   /* the SM logo's own navy — used for the hero scrim & alternate dark sections */
  --cream:#f6f7f1;        /* off-white — page background */
  --cream-soft:#c9c1d2;   /* pale lilac — secondary tint / hover backgrounds */
  --surface:#ffffff;
  --line:#e2e4de;
  --ink:#293a32;
  --ink-soft:#66736b;
  --shadow: 0 20px 40px -24px rgba(41,58,50,0.35);
  --radius-s: 3px;
  --radius-m: 6px;
  --maxw: 1180px;
  --nav-h: 84px;
}

:root:not([data-theme="light"]){
  @media (prefers-color-scheme: dark){
    --navy:#f6f7f1;
    --navy-2:#1b2d34;
    --teal:#b2a4c4;
    --teal-deep:#c4b9d2;
    --gold:#a494b9;
    --gold-deep:#9084a2;
    --on-gold:#1d2923;
    --on-dark:#f6f7f1;
    --cream:#293a32;
    --cream-soft:#3a4f50;
    --surface:#3e4e46;
    --line:rgba(164,148,185,0.18);
    --ink:#f6f7f1;
    --ink-soft:#ddd9e0;
    --shadow: 0 20px 40px -20px rgba(0,0,0,0.55);
  }
}
:root[data-theme="dark"]{
  --navy:#f6f7f1;
  --navy-2:#1b2d34;
  --teal:#b2a4c4;
  --teal-deep:#c4b9d2;
  --gold:#a494b9;
  --gold-deep:#9084a2;
  --on-gold:#1d2923;
  --on-dark:#f6f7f1;
  --cream:#293a32;
  --cream-soft:#3a4f50;
  --surface:#3e4e46;
  --line:rgba(170,216,216,0.16);
  --ink:#f4f2dc;
  --ink-soft:#b0c8bf;
  --shadow: 0 20px 40px -20px rgba(0,0,0,0.55);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; font-size:1rem; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

h1,h2,h3,h4{ margin:0; font-weight:600; line-height:1.14; letter-spacing:-0.01em; }
h1{ font-size:clamp(2.1rem, 4.4vw, 3.4rem); }
h2{ font-size:clamp(1.6rem, 3vw, 2.25rem); }
h3{ font-size:1.2rem; }
p{ margin:0; line-height:1.65; color:var(--ink-soft); }
.lede{ font-size:1.125rem; line-height:1.6; }

::selection{ background:var(--teal); color:#fff; }
:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; border-radius:2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 24px; border-radius:999px;
  font-size:0.95rem; font-weight:600; letter-spacing:0.01em;
  border:1px solid transparent; white-space:nowrap;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .25s ease, color .25s ease, border-color .25s ease;
  will-change: transform;
}
.btn .chev{ transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover .chev{ transform: translateX(4px); }
.btn:active{ transform: translateY(1px) scale(0.99); }
.btn-primary{ background:var(--gold); color:var(--on-gold); }
.btn-primary:hover{ background:var(--gold-deep); box-shadow:0 14px 28px -14px rgba(164,148,185,0.55); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--teal); color:var(--teal); transform:translateY(-2px); }
.btn-line{ background:transparent; color:var(--on-dark); border-color:rgba(246,247,241,0.4); }
.btn-line:hover{ border-color:var(--on-dark); background:rgba(246,247,241,0.08); transform:translateY(-2px); }
.btn-sm{ padding:10px 16px; font-size:0.85rem; }

/* chevron icon (echoes logo mark) */
.chev{ width:9px; height:9px; display:inline-block; position:relative; }
.chev::before{
  content:''; position:absolute; inset:0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- header ---------- */
header.site{
  position:fixed; top:0; left:0; right:0; z-index:500;
  background:rgba(246,247,241,0.86);
  backdrop-filter:saturate(160%) blur(14px);
  -webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
:root[data-theme="dark"] header.site{ background:rgba(41,58,50,0.88); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) header.site{ background:rgba(41,58,50,0.88); } }
:root[data-theme="dark"] .brand img{ filter:brightness(0) invert(1) opacity(0.92); }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .brand img{ filter:brightness(0) invert(1) opacity(0.92); } }
header.site.scrolled{ border-color:var(--line); box-shadow:0 8px 24px -20px rgba(0,0,0,0.3); }
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:var(--nav-h);
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand img{ height:26px; width:auto; }
nav.primary{ display:flex; align-items:center; gap:2px; }
nav.primary a{
  position:relative; padding:9px 14px; font-size:0.94rem; color:var(--ink-soft);
  transition:color .2s ease;
}
nav.primary a::after{
  content:''; position:absolute; left:14px; right:14px; bottom:5px; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
nav.primary a:hover{ color:var(--ink); }
nav.primary a:hover::after{ transform:scaleX(1); }
nav.primary a.active{ color:var(--ink); font-weight:600; }
nav.primary a.active::after{ transform:scaleX(1); }
.nav-cta{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.burger{
  display:none; width:40px; height:40px; border:1px solid var(--line); border-radius:var(--radius-m);
  background:transparent; align-items:center; justify-content:center; flex-direction:column; gap:4px;
}
.burger span{ width:18px; height:2px; background:var(--ink); transition:transform .3s ease, opacity .3s ease; }
.burger.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-nav{
  display:none; position:fixed; inset:var(--nav-h) 0 0 0; z-index:480;
  background:var(--cream); padding:18px 28px 40px; overflow-y:auto;
  transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity .28s ease, transform .28s ease;
}
.mobile-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-nav a{ display:block; padding:16px 4px; font-size:1.15rem; border-bottom:1px solid var(--line); }
.mobile-nav .btn{ margin-top:22px; width:100%; justify-content:center; }

@media (max-width: 980px){
  nav.primary{ display:none; }
  .nav-cta .btn-primary{ display:none; }
  .burger{ display:flex; }
  .mobile-nav{ display:block; }
}

/* ---------- page transition system ---------- */
main{ padding-top:var(--nav-h); }
/* Namespaced so it cannot collide with the generic "page" class that
   WordPress's body_class() adds to every Page — an unnamespaced .page
   rule here would hide the whole site. */
.smbm-page{ display:none; }
.smbm-page.active{
  display:block;
  animation: pagein .5s cubic-bezier(.2,.7,.2,1);
}
@keyframes pagein{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

section.block{ padding:76px 0; border-bottom:1px solid var(--line); }
section.block:last-of-type{ border-bottom:none; }
.block-head{ max-width:640px; margin-bottom:44px; }
.block-head p{ margin-top:14px; }

/* ---------- hero & subhero (full-bleed photo) ---------- */
.hero, .subhero{
  position:relative;
  overflow:hidden;
  background-image:url('images/hero.jpg');
  background-size:cover;
  background-position:center 30%;
  isolation:isolate;
  border-bottom:none;
}
.hero::before, .subhero::before{
  content:'';
  position:absolute; inset:0; z-index:0;
  background:
    linear-gradient(100deg, rgba(22,52,64,0.94) 0%, rgba(22,52,64,0.86) 28%, rgba(22,52,64,0.55) 52%, rgba(22,52,64,0.18) 75%, rgba(22,52,64,0.05) 100%),
    linear-gradient(0deg, rgba(22,52,64,0.55) 0%, rgba(22,52,64,0) 30%);
}
.hero .wrap, .subhero .wrap{ position:relative; z-index:1; }

.hero{ padding:120px 0 100px; }
.hero-copy{ opacity:0; transform:translateY(16px); animation:heroin .7s .05s cubic-bezier(.2,.7,.2,1) forwards; max-width:600px; }
@keyframes heroin{ to{ opacity:1; transform:none; } }
.hero .kicker, .hero .eyebrow-dot{ color:#d9cfe6; font-weight:600; font-size:0.95rem; margin-bottom:14px; display:block; }
.hero .eyebrow-dot::before{ background:var(--gold); }
.hero h1{ margin-bottom:20px; color:#fdfdfb; }
.hero .lede{ max-width:46ch; margin-bottom:28px; color:rgba(253,253,251,0.86); }
.hero .ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:18px; }
.hero .fineprint{ font-size:0.88rem; color:rgba(253,253,251,0.68); max-width:46ch; }
.audience-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.audience-tags span{
  font-size:0.78rem; padding:6px 12px; border-radius:30px;
  border:1px solid rgba(253,253,251,0.3); color:rgba(253,253,251,0.82);
}
@media (max-width: 860px){
  .hero{ padding:88px 0 64px; background-position:center 20%; }
  .subhero{ padding:88px 0 56px; background-position:center 20%; }
}
@media (max-width: 600px){
  .hero{ padding:72px 0 48px; }
  .hero-copy{ max-width:100%; }
  .subhero{ padding:64px 0 40px; }
}

.subhero{ padding:112px 0 88px; }
.subhero-copy{ max-width:660px; }
.subhero .kicker{ color:#d9cfe6; font-weight:600; font-size:0.9rem; display:block; margin-bottom:14px; }
.subhero h1{ margin-bottom:18px; color:#fdfdfb; }
.subhero .lede{ color:rgba(253,253,251,0.86); max-width:56ch; }


/* ---------- section colour variants (for rhythm) ---------- */
.block-navy{ background:var(--brand-navy); color:var(--on-dark); border-bottom:none; }
.block-navy h2, .block-navy h3, .block-navy h4{ color:var(--on-dark); }
.block-navy p{ color:rgba(246,247,241,0.72); }
.block-navy .grid-4{ background:rgba(246,247,241,0.16); border-color:rgba(246,247,241,0.16); }
.block-navy .grid-4 .cell{ background:rgba(246,247,241,0.05); }
.block-navy .grid-4 .cell:hover{ background:rgba(246,247,241,0.1); }
.block-navy .grid-4 .cell .num{ color:var(--gold); }
.block-navy .grid-4 .cell p{ color:rgba(246,247,241,0.68); }
.block-navy ul li{ color:rgba(246,247,241,0.75); border-color:rgba(246,247,241,0.18) !important; }
.block-navy ul li::before{ background:var(--gold); }
.block-navy .btn-ghost{ color:var(--on-dark); border-color:rgba(246,247,241,0.35); }
.block-navy .btn-ghost:hover{ border-color:var(--gold); color:var(--gold); }

.block-tint{ background:var(--cream-soft); border-bottom:none; }
.block-tint + .block-tint{ border-top:none; }

/* ---------- pillar / value cards ---------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; }
.grid-4 .cell{ background:var(--surface); padding:30px 26px; transition:background .25s ease, transform .25s ease; }
.grid-4 .cell:hover{ background:var(--cream-soft); }
.grid-4 .cell .num{ color:var(--teal); font-size:0.82rem; font-weight:600; margin-bottom:14px; display:block; }
.grid-4 .cell h3{ margin-bottom:10px; }
@media (max-width: 900px){ .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px){ .grid-4{ grid-template-columns:1fr; } }

/* ---------- two column service rows ---------- */
.service-row{ padding:48px 0; border-bottom:1px solid var(--line); }
.service-row:last-of-type{ border-bottom:none; }
.service-row .wrap{ display:grid; grid-template-columns:0.9fr 1.5fr; gap:48px; }
.service-row h3{ font-size:1.4rem; }
.service-row .cols{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.service-row p{ margin-bottom:10px; }
.service-row ul{ margin:0; padding:0; list-style:none; }
.service-row li{ position:relative; padding-left:20px; margin-bottom:10px; color:var(--ink-soft); line-height:1.55; }
.service-row li::before{ content:''; position:absolute; left:0; top:9px; width:6px; height:6px; background:var(--teal); border-radius:1px; }
@media (max-width: 860px){ .service-row .wrap, .service-row .cols{ grid-template-columns:1fr; gap:20px; } }

/* ---------- developments ---------- */
.dev-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.dev-card{ border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; background:var(--surface); transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.dev-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.dev-thumb{ aspect-ratio:4/3; background:var(--cream-soft); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.dev-thumb svg{ width:60%; height:60%; transition:transform .5s ease; }
.dev-card:hover .dev-thumb svg{ transform:scale(1.06); }
/* dev thumbnails are editable Image blocks (Media Library) */
.dev-thumb .wp-block-image, .dev-thumb figure{ margin:0; width:100%; height:100%; }
.dev-thumb img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.dev-card:hover .dev-thumb img{ transform:scale(1.06); }
.dev-body{ padding:20px 22px 24px; }
.dev-body h3{ font-size:1.05rem; margin-bottom:6px; }
.dev-body .meta{ font-size:0.88rem; color:var(--teal); font-weight:600; }
@media (max-width: 900px){ .dev-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 600px){ .dev-grid{ grid-template-columns:1fr; } }

/* ---------- steps (switching) ---------- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden; }
.step{ background:var(--surface); padding:26px 20px; transition:background .25s ease; }
.step:hover{ background:var(--cream-soft); }
.step .idx{ font-size:1.6rem; font-weight:600; color:var(--teal); display:block; margin-bottom:14px; }
.step h4{ font-size:1rem; margin-bottom:8px; font-weight:600; }
.step p{ font-size:0.9rem; }
@media (max-width: 980px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px){ .steps{ grid-template-columns:1fr; } }

/* ---------- closing cta panel ---------- */
.cta-panel{ background:var(--navy-2); color:var(--on-dark); padding:80px 0; }
.cta-panel h2{ color:var(--on-dark); margin-bottom:16px; max-width:640px; }
.cta-panel p{ color:rgba(246,247,241,0.72); margin-bottom:30px; max-width:560px; }
:root[data-theme="dark"] .cta-panel{ background:#040c0f; }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .cta-panel{ background:#040c0f; } }

/* ---------- accordion (faqs) ---------- */
.faq-list{ border-top:1px solid var(--line); max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; color:var(--ink);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:22px 4px; font-size:1.05rem; font-weight:500;
}
.faq-q .plus{ position:relative; width:16px; height:16px; flex-shrink:0; }
.faq-q .plus::before, .faq-q .plus::after{ content:''; position:absolute; background:var(--teal); border-radius:1px; }
.faq-q .plus::before{ top:7px; left:0; width:16px; height:2px; }
.faq-q .plus::after{ top:0; left:7px; width:2px; height:16px; transition:transform .3s cubic-bezier(.3,.8,.3,1); }
.faq-item.open .plus::after{ transform:rotate(90deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .38s cubic-bezier(.3,.8,.3,1); }
.faq-a p{ padding:0 4px 24px; max-width:70ch; }

/* ---------- forms ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:0.85rem; font-weight:600; color:var(--ink); }
.field .opt{ font-weight:400; color:var(--ink-soft); }
.field input, .field textarea, .field select{
  padding:13px 14px; border:1px solid var(--line); border-radius:var(--radius-m);
  background:var(--surface); color:var(--ink); transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color:var(--teal); box-shadow:0 0 0 3px rgba(41,69,80,0.18); outline:none;
}
.field textarea{ resize:vertical; min-height:120px; }
form .form-foot{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-top:8px; }
form .reassure{ font-size:0.85rem; color:var(--ink-soft); }
@media (max-width: 700px){ .form-grid{ grid-template-columns:1fr; } }

.confirm{
  display:none; margin-top:18px; padding:18px 20px; border-radius:var(--radius-m);
  background:rgba(41,69,80,0.12); border:1px solid var(--teal); color:var(--ink);
}
.confirm.show{ display:block; animation:pagein .4s ease; }

/* ---------- misc content pages ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.two-col.contact-cols{ grid-template-columns:0.8fr 1.2fr; }
@media (max-width: 860px){ .two-col, .two-col.contact-cols{ grid-template-columns:1fr; } }

.contact-info h3{ margin-bottom:10px; }
.contact-info .info-block{ margin-bottom:26px; }
.contact-info .info-block .label{ font-size:0.82rem; font-weight:600; color:var(--teal); display:block; margin-bottom:6px; }
.contact-info .emergency{ margin-top:30px; padding:18px 20px; background:var(--cream-soft); border-radius:var(--radius-m); font-size:0.9rem; }

.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:12px; }
.team-card{ text-align:left; }
.team-avatar{ width:64px; height:64px; border-radius:50%; background:var(--navy); color:var(--cream); display:flex; align-items:center; justify-content:center; font-weight:600; margin-bottom:14px; }
:root[data-theme="dark"] .team-avatar{ background:var(--gold); color:var(--on-gold); }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .team-avatar{ background:var(--gold); color:var(--on-gold); } }
@media (max-width: 700px){ .team-grid{ grid-template-columns:1fr; } }

.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.badge{ font-size:0.82rem; padding:8px 14px; border:1px solid var(--line); border-radius:30px; color:var(--ink-soft); }

/* ---------- footer ---------- */
footer.site{ background:var(--navy-2); color:rgba(246,247,241,0.78); padding:64px 0 30px; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 0.85fr 0.85fr 1.1fr; gap:40px;
  text-align:left; padding-bottom:40px; margin-bottom:28px;
  border-bottom:1px solid rgba(246,247,241,0.15);
}
.footer-col h4{ color:var(--on-dark); font-size:0.92rem; font-weight:600; margin-bottom:18px; letter-spacing:0.01em; }
.footer-brand .flogo{ height:24px; filter:brightness(0) invert(1); opacity:0.95; margin-bottom:18px; }
.footer-brand .blurb{ font-size:0.9rem; line-height:1.6; color:rgba(246,247,241,0.62); max-width:340px; }
footer.site .fnav{ display:flex; flex-direction:column; align-items:flex-start; gap:11px; font-size:0.92rem; }
footer.site .fnav a{ padding:0; color:var(--on-dark); opacity:0.75; transition:opacity .2s ease; }
footer.site .fnav a:hover{ opacity:1; }
footer.site .fnav.legal a{ opacity:0.62; }
footer.site .fnav.legal a:hover{ opacity:1; }
.footer-newsletter p{ font-size:0.88rem; line-height:1.55; color:rgba(246,247,241,0.62); margin-bottom:18px; }
.newsletter-row{ display:flex; gap:8px; }
.newsletter-row input{
  flex:1; min-width:0; padding:11px 14px; border-radius:var(--radius-m);
  border:1px solid rgba(246,247,241,0.3); background:rgba(246,247,241,0.06); color:var(--on-dark);
  font-size:0.9rem; transition:border-color .2s ease, background .2s ease;
}
.newsletter-row input::placeholder{ color:rgba(246,247,241,0.5); }
.newsletter-row input:focus{ outline:none; border-color:var(--gold); background:rgba(246,247,241,0.1); }
.newsletter-row .btn{ flex-shrink:0; }
.footer-newsletter .confirm{ background:rgba(246,247,241,0.1); border-color:rgba(246,247,241,0.3); color:var(--on-dark); }
.footer-bottom{ font-size:0.8rem; color:rgba(246,247,241,0.5); text-align:left; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .newsletter-row{ flex-direction:column; }
  .newsletter-row .btn{ justify-content:center; }
}

/* ---------- sticky mobile cta ---------- */
.mobile-cta{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:400;
  display:none; box-shadow:0 14px 30px -10px rgba(0,0,0,0.4);
}
.mobile-cta .btn{ width:100%; justify-content:center; }
@media (max-width: 720px){
  .mobile-cta.show{ display:block; }
  section.block{ padding:52px 0; }
  .hero{ padding:40px 0 48px; }
}

.eyebrow-dot{ display:inline-flex; align-items:center; gap:8px; color:var(--teal); font-weight:600; font-size:0.92rem; margin-bottom:12px; }
.eyebrow-dot::before{ content:''; width:7px; height:7px; background:var(--gold); border-radius:50%; }

/* ==========================================================================
   Content-managed spacing utilities
   Replaces inline styles from the original page templates. Add these class
   names to a block (Advanced → Additional CSS class) to reuse them.
   ========================================================================== */
.smx-1 { margin-top:36px !important; }
.smx-2 { list-style:none !important; padding:0 !important; margin:0 !important; }
.smx-3 { padding:12px 0 !important; border-bottom:1px solid var(--line) !important; }
.smx-4 { padding:12px 0 !important; }
.smx-5 { margin-bottom:22px !important; }
.smx-6 { margin-top:18px !important; }
.smx-7 { margin-bottom:20px !important; }
.smx-8 { margin-bottom:16px !important; }
.smx-9 { max-width:760px !important; }
.smx-10 { margin-top:36px !important; display:flex !important; gap:14px !important; flex-wrap:wrap !important; }
.smx-11 { display:flex !important; gap:14px !important; flex-wrap:wrap !important; }
.smx-12 { margin-top:26px !important; }

/* Hide editor-only helper classes in the block editor preview */
.editor-styles-wrapper .tag-span, .editor-styles-wrapper .tag-div { display: block; }

/* Credentials: certificate links (About page) */
.cert-link { margin-top: 14px; }
.cert-link a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.cert-link a:hover { opacity: .8; }

/* Legal / text pages (page.php: Privacy policy, Complaints procedure, etc.) */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 14px; }
.prose p, .prose li { line-height: 1.65; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 48px; margin-bottom: 4px; }
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 2px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose strong, .prose b { font-weight: 600; }
.prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Footer website credit */
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom .site-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .site-credit a:hover { opacity: .8; }
