@layer site-base {
@media (max-width: 1149px) {
  .site-header nav > ul.nav-list {
    display: none;
  }

  .site-header .nav-mobile {
    display: block;
    position: relative;
  }
}
}
@layer site-theme {
:root {
  --accent: #1b3bff;
  --accent-text: #ffffff;
  --accent-2: #ff6a2b;
  --accent-2-text: #081030;
  --background: #e8f1f3;
  --text: #081030;
  --text-muted: #3b4563;
  --border: #b8c8ce;
  --surface: #ffffff;
  --invert-bg: #081030;
  --invert-text: #ffffff;
  --accent-3: #ffffff;
  --accent-3-text: #081030;
  --shadow-color: #081030;
  --success: #12783e;
  --error: #c42b1c;
  --status-text: #ffffff;
  --font-heading: "Bricolage Grotesque", "Noto Sans", "Noto Sans Armenian", "Noto Sans Georgian", "Noto Sans Thai", "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Instrument Sans", "Noto Sans", "Noto Sans Armenian", "Noto Sans Georgian", "Noto Sans Thai", "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-meta: "IBM Plex Mono", "Noto Sans", "Noto Sans Armenian", "Noto Sans Georgian", "Noto Sans Thai", "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --font-size-xs-value: 0.875rem;
  --font-size-xs: calc(var(--font-size-xs-value) * var(--k-font-size-xs));
  --font-size-sm-value: 1rem;
  --font-size-sm: calc(var(--font-size-sm-value) * var(--k-font-size-sm));
  --font-size-md-value: 1.125rem;
  --font-size-md: calc(var(--font-size-md-value) * var(--k-font-size-md));
  --font-size-lg-value: 1.875rem;
  --font-size-lg: calc(var(--font-size-lg-value) * var(--k-font-size-lg));
  --font-size-xl-value: 4.5rem;
  --font-size-xl: calc(var(--font-size-xl-value) * var(--k-font-size-xl));
  --font-size-2xl-value: 5rem;
  --font-size-2xl: calc(var(--font-size-2xl-value) * var(--k-font-size-2xl));
  --font-size-3xl-value: 8rem;
  --font-size-3xl: calc(var(--font-size-3xl-value) * var(--k-font-size-3xl));
  --space-1-value: 0.25rem;
  --space-1: calc(var(--space-1-value) * var(--k-space-1));
  --space-2-value: 0.5rem;
  --space-2: calc(var(--space-2-value) * var(--k-space-2));
  --space-3-value: 0.75rem;
  --space-3: calc(var(--space-3-value) * var(--k-space-3));
  --space-4-value: 1rem;
  --space-4: calc(var(--space-4-value) * var(--k-space-4));
  --space-5-value: 1.5rem;
  --space-5: calc(var(--space-5-value) * var(--k-space-5));
  --space-6-value: 2rem;
  --space-6: calc(var(--space-6-value) * var(--k-space-6));
  --space-7-value: 3rem;
  --space-7: calc(var(--space-7-value) * var(--k-space-7));
  --space-8-value: 6rem;
  --space-8: calc(var(--space-8-value) * var(--k-space-8));
  --radius: 0rem;
  --radius-button: 160px;
  --page-width: 90rem;
  --gap: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 56.25rem;
  --reading: 46rem;
  --shadow-sm: 0 1px 2px 0 color-mix(in srgb, var(--shadow-color) 8%, transparent);
  --shadow-md: 0 4px 8px -2px color-mix(in srgb, var(--shadow-color) 12%, transparent), 0 2px 4px -2px color-mix(in srgb, var(--shadow-color) 8%, transparent);
  --shadow-lg: 0 12px 24px -6px color-mix(in srgb, var(--shadow-color) 18%, transparent), 0 4px 8px -4px color-mix(in srgb, var(--shadow-color) 10%, transparent);
  --button-bg: var(--accent-2);
  --button-text: var(--accent-2-text);
  --focus: var(--accent);
  --page-text: var(--text);
  --page-muted: var(--text-muted);
  --page-border: var(--border);
  --page-surface: var(--surface);
  --page-background: var(--background);
  --link: var(--accent);
  --link-line: var(--accent);
  --k-font-size-xs: 1;
  --k-font-size-sm: 1;
  --k-font-size-md: 1;
  --k-font-size-lg: 1;
  --k-font-size-xl: 1;
  --k-font-size-2xl: 1;
  --k-font-size-3xl: 1;
  --k-space-1: 1;
  --k-space-2: 1;
  --k-space-3: 1;
  --k-space-4: 1;
  --k-space-5: 1;
  --k-space-6: 1;
  --k-space-7: 1;
  --k-space-8: 1;
}
@media (max-width: 1023px) {
  :root {
    --k-font-size-lg: 0.95;
    --k-font-size-xl: 0.9;
    --k-font-size-2xl: 0.85;
    --k-font-size-3xl: 0.85;
    --k-space-5: 0.9;
    --k-space-6: 0.85;
    --k-space-7: 0.85;
    --k-space-8: 0.8;
  }
}
@media (max-width: 639px) {
  :root {
    --k-font-size-lg: 0.9;
    --k-font-size-xl: 0.85;
    --k-font-size-2xl: 0.78;
    --k-font-size-3xl: 0.7;
    --k-space-4: 0.9;
    --k-space-5: 0.8;
    --k-space-6: 0.75;
    --k-space-7: 0.7;
    --k-space-8: 0.65;
  }
}

/* --- Page --- */

::selection {
  background: var(--accent-2);
  color: var(--accent-2-text);
}

body {
  font-size: var(--font-size-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Text links: the link colour with a thick underline, which turns ink on hover. Not buttons: this layer is above
   base.css, so a plain `a` here would beat the base button colours. */
.block-rich-text a:not(.button),
.blog-intro a,
.blog-back-link {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.block-rich-text a:not(.button):hover,
.blog-intro a:hover,
.blog-back-link:hover {
  color: var(--text);
  text-decoration-color: currentColor;
}

/* A page made of Sections: bands meet edge to edge, from under the header to the footer. */
main > .block-section:first-child {
  margin-block-start: -2.5rem;
}

main > .block-section + .block-section,
.post-body > .block-section + .block-section {
  margin-block-start: 0;
}

main > .block-section:last-child {
  margin-block-end: -4rem;
}

/* A sea band right under the (sea) header continues it: the hero sits close under the menu, as in the mockup. */
main > .block-section.is-style-sea:first-child {
  padding-block-start: 2.5rem;
}

/* --- Coloured bands: the header, sea, signal, ink (inverted) and the footer --- */

.site-header,
.block-section.is-style-sea {
  --background: var(--accent);
  --text: var(--accent-text);
  --text-muted: color-mix(in srgb, var(--accent-text) 82%, var(--accent));
  --border: color-mix(in srgb, var(--accent-text) 45%, var(--accent));
  --link: var(--accent-text);
  --link-line: var(--accent-2);
  --focus: var(--accent-2);
  background: var(--accent);
  color: var(--accent-text);
}

.block-section.is-style-signal {
  padding-block: 4.5rem;
  --background: var(--accent-2);
  --text: var(--accent-2-text);
  --text-muted: color-mix(in srgb, var(--accent-2-text) 82%, var(--accent-2));
  --border: color-mix(in srgb, var(--accent-2-text) 40%, var(--accent-2));
  --link: var(--accent-2-text);
  --link-line: var(--accent-2-text);
  --focus: var(--accent-2-text);
  background: var(--accent-2);
  color: var(--accent-2-text);
}

.is-style-inverted,
.block-section.is-style-topbar,
.site-footer {
  --background: var(--invert-bg);
  --text: var(--invert-text);
  --text-muted: color-mix(in srgb, var(--invert-text) 80%, var(--invert-bg));
  --border: color-mix(in srgb, var(--invert-text) 30%, var(--invert-bg));
  --surface: color-mix(in srgb, var(--invert-text) 8%, var(--invert-bg));
  --link: var(--invert-text);
  --link-line: var(--accent-2);
  --focus: var(--accent-2);
  background: var(--invert-bg);
  color: var(--invert-text);
}

.block-section[data-tone='dark'] {
  --text: var(--invert-text);
  --text-muted: color-mix(in srgb, var(--invert-text) 80%, transparent);
  --link: var(--invert-text);
  --link-line: var(--accent-2);
  color: var(--invert-text);
}

.block-section.is-style-surface {
  background: var(--surface);
  color: var(--text);
}

.block-section.is-style-muted {
  background: color-mix(in srgb, var(--text) 5%, var(--background));
}

.block-section.is-style-sea + .block-section.is-style-sea,
.block-section.is-style-inverted + .block-section.is-style-inverted {
  padding-block-start: 0;
}

/* --- Header: an ink info strip over the sea bar --- */

.site-header {
  border-bottom: 0;
}

/* The info strip (Section variant `topbar`): small light text on ink, the two lines at either end. */
.block-section.is-style-topbar {
  padding-block: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.is-style-topbar .block-stack {
  gap: 0.25rem 1.5rem;
}

.is-style-topbar .block-rich-text {
  font-size: inherit;
}

.is-style-topbar .block-rich-text p {
  margin: 0;
}

.site-header-inner {
  gap: 1rem 2rem;
  padding-block: 1.5rem;
}

/* The brand: the logo (or its tile) and the name, close together. */
.site-header-inner > .block-stack {
  gap: 0.75rem;
}

.site-header .site-logo {
  height: 2.25rem;
}

.site-logo-tile {
  border-radius: 0;
  background: var(--page-surface);
  color: var(--accent-2);
  font-size: 1.25rem;
  font-weight: 800;
}

.site-name {
  color: var(--text);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

/* The menu and the call button sit together at the end of the row. */
.site-header-inner > nav:not(.language-switcher) {
  margin-inline-start: auto;
}

.site-header-inner > .block-stack .site-name,
.site-header-inner > .site-name {
  margin-inline-end: 0;
}

.site-header nav > ul.nav-list {
  flex-wrap: nowrap;
  gap: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-header nav > ul.nav-list a {
  display: inline-block;
  padding-block: 0.375rem;
  color: var(--text);
}

.site-header nav > ul.nav-list a:hover,
.site-header nav > ul.nav-list a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-header nav > ul.nav-list a[aria-current='page'] {
  text-decoration-color: var(--accent-2);
}

.language-switcher a {
  color: var(--text);
}

.language-switcher a[aria-current] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
}

.site-header-inner .button {
  padding: 0.75rem 1.375rem;
  white-space: nowrap;
}

/* The menu button: an outlined pill; its panel an ink list of big links. */
.site-header .nav-mobile-toggle {
  padding: 0.5rem 1.125rem;
  border: 2px solid var(--text);
  color: var(--text);
  font-weight: 600;
}

.site-header .nav-mobile[open] > .nav-mobile-toggle,
.site-header .nav-mobile-toggle:hover {
  border-color: var(--accent-2);
}

.site-header .nav-mobile .nav-mobile-list {
  min-width: 16rem;
  padding: 0.5rem 0;
  border: 0;
  border-top: 0.375rem solid var(--accent-2);
  border-radius: 0;
  background: var(--invert-bg);
  box-shadow: var(--shadow-lg);
}

.site-header .nav-mobile .nav-mobile-list a {
  padding: 0.625rem 1.25rem;
  color: var(--invert-text);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-header .nav-mobile .nav-mobile-list a:hover,
.site-header .nav-mobile .nav-mobile-list a[aria-current='page'] {
  color: var(--accent-2);
}

/* On phones the call button takes a row of its own under the brand and the menu button. */
@media (max-width: 767px) {
  .site-header-inner {
    gap: 0.75rem 1rem;
    padding-block: 1rem;
  }

  .site-header-inner > .block-button {
    flex-basis: 100%;
  }

  .site-header-inner > .block-button .button {
    display: flex;
    justify-content: center;
  }
}

/* --- Headings: Bricolage Grotesque at 800, tight --- */

.block-heading,
.post-title,
.blog-title,
.post-card-title,
.block-rich-text h2,
.block-rich-text h3,
.block-rich-text h4,
.accordion-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1.block-heading {
  font-size: clamp(3.25rem, 8.5vw, var(--font-size-3xl));
  line-height: 0.92;
  letter-spacing: -0.04em;
}

h2.block-heading {
  font-size: clamp(2.5rem, 5.5vw, var(--font-size-xl));
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h3.block-heading {
  line-height: 1.05;
}

h4.block-heading {
  font-size: 1.25rem;
  line-height: 1.2;
}

/* A section's own heading keeps to the mockup's 860px, so a long one breaks into two even lines. */
.block-section-inner > h2.block-heading {
  max-width: 53.75rem;
}

/* Heading variants: the mockup's bigger section headings (80px) and its closing one (96px). */
.block-heading.is-style-large {
  font-size: clamp(2.5rem, 6vw, var(--font-size-2xl));
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.block-heading.is-style-display {
  font-size: clamp(2.75rem, 6.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

/* `*word*` in a heading: underlined in signal, upright. */
.block-heading em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.08em;
}

.post-title,
.blog-title {
  font-size: clamp(2.75rem, 7vw, var(--font-size-2xl));
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* --- Rhythm inside a band --- */

.block-section {
  padding-block: var(--space-8);
}

.block-section-inner > .block-rich-text.is-style-eyebrow + .block {
  margin-block-start: 0.75rem;
}

.block-section-inner > .block + .block-grid,
.block-section-inner > .block + .block-columns,
.block-section-inner > .block + .block-table,
.block-section-inner > .block + .block-accordion,
.block-section-inner > .block + .block-latest-posts {
  margin-block-start: 3rem;
}

.block-section .block-grid {
  gap: 1.5rem;
}

.block-grid:has(> .is-style-step) {
  gap: 2rem 2.5rem;
}

.block-columns {
  align-items: start;
  gap: 3rem;
}

/* Two columns share a row from 900px (the mockup's flex basis: a form or a list needs room beside its text). */
@media (min-width: 640px) and (max-width: 899px) {
  .block-columns-1-1,
  .block-columns-1-2,
  .block-columns-2-1,
  .block-columns-3-2,
  .block-columns-2-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.block-columns-col > .block + .block {
  margin-block-start: 1.5rem;
}

.block-columns-col > .block-rich-text.is-style-eyebrow + .block {
  margin-block-start: 1.5rem;
}

.block-columns-col > .block-rich-text.is-style-lead,
.block-columns-col > .block-heading + .block-stack {
  margin-block-start: 2rem;
}

/* Call to action (Columns variant): the text and the button centred on one line; the button keeps its own width. */
.block-columns.is-style-cta {
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

@media (min-width: 900px) {
  .block-columns.is-style-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .is-style-cta > .block-columns-col:last-child {
    display: flex;
    justify-content: flex-end;
  }
}

/* --- Rich text --- */

.block-rich-text > :last-child {
  margin-block-end: 0;
}

.block-rich-text h2 {
  margin-block-start: 2.5rem;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1;
}

.block-rich-text h3 {
  margin-block-start: 2rem;
  font-size: 1.5rem;
  line-height: 1.1;
}

.block-rich-text h4 {
  font-size: 1.25rem;
}

.block-rich-text li::marker {
  color: var(--accent-2);
}

.block-rich-text blockquote {
  margin-inline: 0;
  padding-inline-start: 1.25rem;
  border-inline-start: 0.375rem solid var(--accent-2);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.block-rich-text code {
  font-family: var(--font-meta);
}

/* Eyebrow: the mockup's small mono label in capitals; signal on ink. */
.block-rich-text.is-style-eyebrow {
  font-family: var(--font-meta);
  font-size: var(--font-size-xs);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.block-rich-text.is-style-eyebrow p {
  margin: 0;
}

.is-style-inverted .block-rich-text.is-style-eyebrow,
.site-footer .block-rich-text.is-style-eyebrow {
  color: var(--accent-2);
}

/* Lead: the larger introduction under a big heading. */
.block-rich-text.is-style-lead {
  max-width: 34rem;
  font-size: 1.3125rem;
  line-height: 1.45;
}

/* Note: the small print under a form or a price list. */
.block-rich-text.is-style-note {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Price line: the mono "from" price at the foot of a card. */
.block-rich-text.is-style-price {
  margin-block-start: auto;
  padding-block-start: 0.75rem;
  font-family: var(--font-meta);
  font-size: 0.9375rem;
}

/* Trust strip: a bullet list as one row of bold claims, spread across the band. */
.block-rich-text.is-style-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
}

.is-style-strip li p {
  margin: 0;
}

.block-section:has(> .block-section-inner > .block-rich-text.is-style-strip:only-child) {
  padding-block: 1.75rem;
}

/* Chips: a bullet list as outlined pills (areas covered); an item that is a link is a filled signal pill. */
.block-rich-text.is-style-chips ul {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.is-style-chips li {
  padding: 0.625rem 1.25rem;
  border: 2px solid currentColor;
  border-radius: var(--radius-button);
  font-weight: 500;
  line-height: 1.4;
}

.is-style-chips li p {
  margin: 0;
}

.is-style-chips li:has(a) {
  padding: 0;
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: var(--accent-2-text);
}

.block-rich-text.is-style-chips li a:not(.button) {
  display: block;
  padding: 0.625rem 1.25rem;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.block-rich-text.is-style-chips li a:not(.button):hover {
  text-decoration: underline;
}

/* Wordmark: a giant name in the heading font, in sea. */
.block-rich-text.is-style-wordmark {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 20vw, 18.75rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.block-rich-text.is-style-wordmark p {
  margin: 0;
}

/* --- Buttons: pills --- */

.button {
  padding: 1rem 1.75rem;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.button-secondary {
  border-color: currentColor;
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  filter: none;
  border-color: var(--text);
  background: var(--text);
  color: var(--background);
}

.button-link {
  padding-inline: 0;
  border: 0;
  color: var(--link);
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* Large: the emergency number, in the heading font. */
.button-large {
  zoom: 1;
  padding: 1.125rem 2.25rem;
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, var(--font-size-lg));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.button-small {
  zoom: 1;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

/* On the signal band the main button is ink (the mockup's emergency number); in a sea band the form's is sea. */
.is-style-signal .button-primary {
  background: var(--invert-bg);
  color: var(--invert-text);
}

.is-style-sea .form-submit {
  background: var(--accent);
  color: var(--accent-text);
}

.latest-posts-view-all {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

/* --- Cards: the surface colour, square, no frame --- */

.block-card {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: none;
}

/* A light card keeps the page's colours inside a coloured band (the call-back card on the sea hero, the quote card
   on ink). */
.block-card:not(.is-style-inverted):not(.is-style-outlined):not(.is-style-step):not(.is-style-dots) {
  --background: var(--page-surface);
  --surface: var(--page-surface);
  --text: var(--page-text);
  --text-muted: var(--page-muted);
  --border: var(--page-border);
  --link: var(--accent);
  --link-line: var(--accent);
  --focus: var(--accent);
  background: var(--page-surface);
  color: var(--page-text);
}

/* On a surface band (the cards' own colour) a card takes the page colour instead, so it still reads as a card. */
.block-section.is-style-surface
  .block-card:not(.is-style-inverted):not(.is-style-outlined):not(.is-style-step):not(.is-style-dots) {
  --background: var(--page-background);
  background: var(--page-background);
}

.block-card-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
}

.block-card-inner > .block {
  margin-block-start: 0;
}

.block-card .block-rich-text {
  font-size: var(--font-size-sm);
}

.block-card h2.block-heading {
  font-size: var(--font-size-lg);
  line-height: 1;
  letter-spacing: -0.02em;
}

.block-card .block-form {
  max-width: none;
}

/* The icon: drawn large in sea, no tile behind it. */
.block-card > .tile {
  justify-content: flex-start;
  width: 3.5rem;
  height: 3.5rem;
  margin: 1.75rem 1.75rem 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
}

.block-card > .tile svg {
  width: 3.5rem;
  height: 3.5rem;
}

.block-card > .tile-text {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.block-card > .tile + .block-card-inner {
  padding-block-start: 0.75rem;
}

/* The shared variants, restated (this layer is above the base one). */
.block-card.is-style-inverted {
  background: var(--invert-bg);
  color: var(--invert-text);
}

.block-card.is-style-outlined {
  border: 2px solid currentColor;
  background: transparent;
}

.block-card.is-style-muted {
  background: color-mix(in srgb, var(--page-text) 5%, var(--page-surface));
}

.block-card.is-style-dots,
.block-section.is-style-dots {
  background-image: radial-gradient(color-mix(in srgb, var(--text) 18%, transparent) 1px, transparent 1.5px);
  background-size: 1.25rem 1.25rem;
}

/* Form card: the call-back card, a thick signal edge on top, the submit across its width. */
.block-card.is-style-form {
  border-top: 0.625rem solid var(--accent-2);
}

.is-style-form > .block-card-inner {
  gap: 1rem;
}

.is-style-form .form-submit {
  width: 100%;
}

/* Step: a numbered step under a heavy rule, no box. */
.block-card.is-style-step {
  border-top: 3px solid var(--text);
  background: transparent;
}

.is-style-step > .block-card-inner {
  gap: 0.25rem;
  padding: 1.25rem 0 0;
}

.is-style-step .block-rich-text.is-style-eyebrow {
  font-size: 0.9375rem;
  letter-spacing: 0;
}

.is-style-step .block-heading + .block {
  margin-block-start: 0.25rem;
}

/* Review: the quote large, the name at the foot of the card. */
.is-style-review > .block-card-inner {
  gap: 1.25rem;
}

.block-card.is-style-review .block-rich-text {
  font-size: 1.25rem;
  line-height: 1.35;
}

.block-card.is-style-review .block-card-inner > .block-rich-text:last-child:not(:first-child) {
  margin-block-start: auto;
  font-size: 1rem;
  font-weight: 600;
}

/* --- Badges and tiles --- */

.badge {
  padding: 0.35em 0.9em;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
}

.badge-dot,
.badge-stars {
  color: var(--accent-2);
}

.badge-dot {
  background: var(--accent-2);
}

.tile {
  border-radius: 0;
  background: color-mix(in srgb, var(--accent) 12%, var(--page-surface));
  color: var(--accent);
  font-weight: 800;
}

.button .tile {
  background: transparent;
  color: inherit;
}

/* --- FAQ (Accordion): heavy rules, big titles --- */

.accordion-item {
  border-bottom: 2px solid var(--text);
}

.accordion-item:first-child {
  border-top: 2px solid var(--text);
}

.accordion-title {
  padding-block: 1.25rem;
  font-size: 1.625rem;
  line-height: 1.15;
}

.accordion-title::after {
  color: var(--accent-2);
  font-size: 2rem;
  font-weight: 600;
}

.accordion-content {
  max-width: 42.5rem;
  padding-block-end: 1.25rem;
}

/* --- Tables --- */

.block-table th,
.block-table td {
  border-bottom: 1px solid var(--text);
}

.block-table thead th {
  border-bottom: 2px solid var(--text);
  font-weight: 800;
}

/* Price list (Table variant): label and mono price on one line between rules, no header. The band holding one is
   the mockup's 1,100px wide. */
.block-section:has(> .block-section-inner > .block-table.is-style-prices) > .block-section-inner {
  max-width: 68.75rem;
}

.block-table.is-style-prices table {
  font-size: 1.25rem;
}

.is-style-prices th,
.is-style-prices td {
  min-width: 0;
  padding: 1.25rem 0;
  border-top: 1px solid currentColor;
  border-bottom: 0;
  font-weight: 400;
}

.is-style-prices tr:last-child > th,
.is-style-prices tr:last-child > td {
  border-bottom: 1px solid currentColor;
}

.is-style-prices th + td,
.is-style-prices td + td {
  padding-inline-start: 1rem;
}

.is-style-prices td:last-child {
  font-family: var(--font-meta);
  text-align: end;
  white-space: nowrap;
}

.is-style-prices thead th {
  font-family: var(--font-meta);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- Images --- */

.block-image img {
  display: block;
  border-radius: var(--radius);
}

.block-image figcaption {
  font-family: var(--font-meta);
  font-size: 0.8125rem;
}

.block-divider {
  border-top: 2px solid var(--text);
}

/* --- Forms: square fields with a heavy edge --- */

.form {
  gap: 1rem;
}

.form-field {
  gap: 0.375rem;
}

.form-field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-field input[type='text'],
.form-field input[type='email'],
.form-field input[type='tel'],
.form-field input[type='date'],
.form-field textarea,
.form-field select {
  padding: 0.75rem;
  border: 2px solid var(--text);
  border-radius: var(--radius);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.form-submit {
  min-height: 3rem;
}

.form-success,
.form-error {
  border: 0;
  border-radius: var(--radius);
  color: var(--status-text);
  font-weight: 600;
}

.form-success {
  background: var(--success);
}

.form-error {
  background: var(--error);
}

/* --- Archives and posts: surface-coloured type cards; a cover when there is one --- */

.blog-index {
  padding-block: var(--space-6) 0;
}

.blog-header {
  margin-block-end: 3rem;
}

.blog-intro {
  max-width: 40rem;
  color: var(--text);
  font-size: 1.3125rem;
  line-height: 1.45;
}

.post-list,
.latest-posts-grid {
  gap: 1.5rem;
}

/* Archive cards as wide as the service cards (the mockup's 340px basis): three across a full page. */
@media (min-width: 640px) {
  .post-list {
    grid-template-columns: repeat(auto-fill, minmax(21rem, 1fr));
  }
}

.post-card-excerpt {
  -webkit-line-clamp: 4;
}

.post-card {
  --text: var(--page-text);
  --text-muted: var(--page-muted);
  --border: var(--page-border);
  --link: var(--accent);
  --link-line: var(--accent);
  --focus: var(--accent);
  border: 0;
  border-radius: var(--radius);
  background: var(--page-surface);
  color: var(--page-text);
}

/* Without a cover the card opens on a signal edge, like the call-back card: a finished type card, no empty frame. */
.post-card > .post-card-content:first-child {
  border-top: 0.625rem solid var(--accent-2);
}

.post-card-cover-link {
  border-radius: 0;
  background: var(--accent);
}

.post-card-content {
  padding: 1.75rem;
}

.post-card-date,
.post-date {
  color: var(--text-muted);
  font-family: var(--font-meta);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-card-date {
  margin-block-end: 0.75rem;
}

.post-card-title {
  margin-block-end: 0.75rem;
  font-size: var(--font-size-lg);
  line-height: 1.05;
}

.post-card-title a {
  color: var(--text);
}

.post-card-title a:hover {
  color: var(--text);
  text-decoration-color: var(--accent-2);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

.post-card-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
}

.post-card-tags {
  margin-block-start: auto;
  padding-block-start: 1.25rem;
}

.post-card-tag,
.post-tag {
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--text);
  background: transparent;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.post-card-tag:hover,
.post-tag:hover {
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: var(--accent-2-text);
}

.pagination a {
  border: 2px solid var(--text);
  background: transparent;
  font-weight: 600;
}

.pagination a:hover {
  background: var(--text);
  color: var(--background);
}

.post-article {
  padding-block: var(--space-6) 0;
}

.post-article > .post-header,
.post-article > .post-cover,
.post-article > .post-body {
  max-width: var(--reading);
  margin-inline: auto;
}

.post-header .post-tags {
  margin-block: 1.5rem 2.5rem;
}

.post-cover-image {
  border-radius: var(--radius);
}

.post-fields {
  padding-block: 1rem;
  border-block: 2px solid var(--text);
}

.post-field dt {
  font-family: var(--font-meta);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Footer: ink, contact columns, the name as a giant wordmark --- */

.site-footer {
  padding-block: var(--space-7) 2.5rem;
  border-top: 0;
  color: var(--text);
  font-size: 1rem;
}

.site-footer > .block-section {
  padding-block: 0 2rem;
}

.site-footer .block-columns {
  gap: 2rem 4rem;
}

.site-footer .block-columns-col > .block + .block {
  margin-block-start: 0.5rem;
}

.site-footer .block-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.site-footer .block-rich-text p {
  margin: 0;
}

.site-footer .block-rich-text a:not(.button) {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.site-footer .block-rich-text a:not(.button):hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 4px;
}

/* The website name (Name block) in the footer: the mockup's giant "Bluebird" in sea. */
.site-footer .site-name {
  display: block;
  margin-block-start: 3rem;
  color: var(--accent);
  font-size: clamp(3.5rem, 20vw, 18.75rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.site-footer .wrap {
  gap: 0.75rem 2rem;
}

.site-footer-text {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer-nav ul {
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.site-footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.site-footer-nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
}

.site-footer .nav-mobile-toggle {
  border: 2px solid var(--text);
}

}
