/* ==========================================================================
   Simple Start — Static theme stylesheet
   Consumes custom properties compiled by dynamic-styles.php.
   Nothing in this file changes when Theme Setup changes.
   ========================================================================== */

/* ── Reset ──────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

/* ── Base ───────────────────────────────────────────────────────────────── */

body {
  font-family:    var(--body-family);
  font-weight:    var(--body-weight);
  line-height:    var(--body-leading);
  letter-spacing: var(--body-tracking);
  text-transform: var(--body-caps);
  font-size:      var(--size, 1rem);
  margin: 0;
}

[class*="theme-"] {
  background-color: var(--background-colour, Canvas);
  color: var(--text-colour, CanvasText);
}

/* In-page anchors (Section Settings → Anchor ID) — smooth scroll unless the
   visitor has asked for reduced motion, and stop short of a sticky header
   (--sticky-top is its live height, set by site-header.php). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.section-wrap[id] {
  scroll-margin-top: var(--sticky-top, 0px);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Typographic rhythm — margins only, never flex/grid gap ─────────────── */

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5em;
  margin-bottom: var(--grid-row-gap);
}

:is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }


p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

p:last-child { margin-bottom: 0; }

ul, ol {
  margin-top: 0;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

li { margin-bottom: 0.35em; }

blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: var(--border-weight, 3px) solid var(--accent-colour);
}

/* ── Heading typography — per-role custom properties ────────────────────── */

h1, .h1, .hxl, .hxxl, .hxxxl {
  font-family:    var(--h1-family);
  font-weight:    var(--h1-weight);
  line-height:    var(--h1-leading);
  letter-spacing: var(--h1-tracking);
  text-transform: var(--h1-caps);
  color:          var(--heading-colour);
}

h1, .h1 { font-size: var(--h1); }

h2, .h2 {
  font-size:      var(--h2);
  font-family:    var(--h2-family);
  font-weight:    var(--h2-weight);
  line-height:    var(--h2-leading);
  letter-spacing: var(--h2-tracking);
  text-transform: var(--h2-caps);
  color:          var(--heading-colour);
}

h3, .h3 {
  font-size:      var(--h3);
  font-family:    var(--h3-family);
  font-weight:    var(--h3-weight);
  line-height:    var(--h3-leading);
  letter-spacing: var(--h3-tracking);
  text-transform: var(--h3-caps);
  color:          var(--heading-colour);
}

h4, .h4 {
  font-size:      var(--h4);
  font-family:    var(--h4-family);
  font-weight:    var(--h4-weight);
  line-height:    var(--h4-leading);
  letter-spacing: var(--h4-tracking);
  text-transform: var(--h4-caps);
  color:          var(--heading-colour);
}

h5 {
  font-size: var(--h5);
  color:     var(--heading-colour);
}

h6 {
  font-size: var(--h6);
  color:     var(--heading-colour);
}

.hxl   { font-size: var(--hxl); }
.hxxl  { font-size: var(--hxxl); }
.hxxxl { font-size: var(--hxxxl); }

/* ── Eyebrow & Subheading ───────────────────────────────────────────────── */

.eyebrow,
.subheading {
  font-family:    var(--subheading-family);
  font-weight:    var(--subheading-weight);
  line-height:    var(--subheading-leading);
  letter-spacing: var(--subheading-tracking);
  text-transform: var(--subheading-caps);
  display: block;
}

.eyebrow    { color: var(--eyebrow-colour); }
.subheading { color: var(--subheading-colour); }

/* ── Eyebrow font-size + breathing room — both tied to heading size via :has() */

.eyebrow:has(+ h1), .eyebrow:has(+ .h1),
.eyebrow:has(+ .hxl), .eyebrow:has(+ .hxxl), .eyebrow:has(+ .hxxxl) {
  font-size:  calc(var(--h1) * var(--reducer));
  margin-top: var(--h1);
}

.eyebrow:has(+ h2) {
  font-size:  calc(var(--h2) * var(--reducer));
  margin-top: var(--h2);
}

.eyebrow:has(+ h3) {
  font-size:  calc(var(--h3) * var(--reducer));
  margin-top: var(--h3);
}

.eyebrow:has(+ h4) {
  font-size:  calc(var(--h4) * var(--reducer));
  margin-top: var(--h4);
}

/* No breathing room when eyebrow opens the container */
.eyebrow:first-child { margin-top: 0; }

/* Zero bottom margin when heading follows — prevents 1.5em paragraph collapse winning */
.eyebrow:has(+ :is(h1, h2, h3, h4, h5, h6)),
.eyebrow:has(+ .h1), .eyebrow:has(+ .hxl),
.eyebrow:has(+ .hxxl), .eyebrow:has(+ .hxxxl) { margin-bottom: 0; }

/* Tight gap eyebrow → heading: 0.35em relative to heading font-size */
.eyebrow + :is(h1, h2, h3, h4, h5, h6),
.eyebrow + .h1, .eyebrow + .hxl,
.eyebrow + .hxxl, .eyebrow + .hxxxl { margin-top: 0.35em; }

/* ── Subheading font-size + tight gap — gap lives on heading, em = heading size */

h1 + .subheading,
.h1 + .subheading,
.hxl + .subheading,
.hxxl + .subheading,
.hxxxl + .subheading { font-size: calc(var(--h1) * var(--reducer)); }

h2 + .subheading { font-size: calc(var(--h2) * var(--reducer)); }
h3 + .subheading { font-size: calc(var(--h3) * var(--reducer)); }
h4 + .subheading { font-size: calc(var(--h4) * var(--reducer)); }

/* Tight gap heading → subheading: 0.35em relative to heading font-size */
:is(h1, h2, h3, h4, h5, h6):has(+ .subheading),
.h1:has(+ .subheading), .hxl:has(+ .subheading),
.hxxl:has(+ .subheading), .hxxxl:has(+ .subheading) { margin-bottom: 0.35em; }

/* Zero subheading top margin — heading's margin-bottom is the sole gap */
:is(h1, h2, h3, h4, h5, h6) + .subheading,
.h1 + .subheading, .hxl + .subheading,
.hxxl + .subheading, .hxxxl + .subheading { margin-top: 0; }

/* ── Links ──────────────────────────────────────────────────────────────── */

a {
  color: var(--accent-colour);
  text-decoration-skip-ink: auto;
}

a:hover { text-decoration: none; }

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: var(--btn-pad-block, var(--h6)) var(--btn-pad-inline, var(--h3));
  border-radius: var(--btn-roundness, var(--roundness));
  border: var(--btn-border-weight) solid transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: var(--btn-weight, 600);
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--motion-duration, 250ms) var(--motion-easing, ease),
              transform var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.btn--high-impact {
  background-color: var(--accent-colour);
  color:            var(--accent-fg-colour);
  border-color:     var(--accent-colour);
  box-shadow:       var(--depth);
}

.btn--low-impact {
  background:   transparent;
  color:        var(--accent-colour);
  border-color: var(--accent-colour);
}

/* Icon button type — no pill chrome on the link itself; text is always plain
   accent-colour, and the icon is a standalone glyph-btn chip. Low Impact just
   follows the normal icon rules (Encapsulate Icons etc.); High Impact forces
   the same filled treatment as the carousel nav (accent bg, accent-fg icon)
   regardless of that toggle, since a fill needs its own room to sit in. */
.btn--icon {
  padding: 0;
  border: none;
  background: none;
}

.btn--icon.btn--high-impact,
.btn--icon.btn--low-impact {
  color: var(--accent-colour);
}

/* Button Roundness (independent of Feel → Roundness) governs the icon chip
   for both impact levels — Full makes it a perfect circle. */
.btn--icon .glyph-btn {
  border-radius: var(--btn-roundness, var(--roundness));
}

.btn--icon.btn--high-impact .glyph-btn {
  padding: var(--glyph-padding, 0.75em);
  background-color: var(--accent-colour);
  color: var(--accent-fg-colour);
  box-shadow: var(--depth);
}

.btn--high-impact:hover,
.btn--low-impact:hover {
  opacity: 0.88;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--btn-pad-inline, var(--h3));
  margin-top: 1.5em;
  justify-content: var(--col-text-align, var(--prose-text-align, flex-start));
}

/* ── Page structure ─────────────────────────────────────────────────────── */

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main { flex: 1; }

/* ── Section wrap — positions background, owns the mask ─────────────────── */

.section-wrap {
  --grid-px: max(var(--gutter, 1rem), calc((100vw - var(--max-viewport)) / 2 + var(--gutter, 1rem)));
  position: relative;
  z-index: 0;
  background-color: transparent;
}

/* Shared clip mask — identical top/bottom divider shape math across every
   background layer that can carry a divider (section, its bg layers, header, footer).
   Scoped to wraps that actually have a divider — applying mask-image unconditionally
   (falling back to a no-op linear-gradient mask on plain sections) put every single
   section's background through mask compositing for no visual reason, which is at
   minimum wasted GPU work and has tripped up full-page screenshot tools in Firefox
   that don't composite masked layers reliably across a stitched/scrolled capture. */
.section-wrap:is(.has-divider-top, .has-divider-bottom)::before,
.section-wrap:is(.has-divider-top, .has-divider-bottom) .section-bg-layer,
.site-header-wrap:is(.has-divider-top, .has-divider-bottom)::before,
.site-header-wrap:is(.has-divider-top, .has-divider-bottom) .section-bg-layer,
.site-footer-wrap:is(.has-divider-top, .has-divider-bottom)::before,
.site-footer-wrap:is(.has-divider-top, .has-divider-bottom) .section-bg-layer {
  mask-image:     var(--mask-top, none), var(--mask-bottom, none), linear-gradient(black, black);
  mask-position:  top center, bottom center, center;
  mask-size:      100% var(--divider-height, var(--hxl, 4rem)), 100% var(--divider-height, var(--hxl, 4rem)), 100% 100%;
  mask-repeat:    no-repeat;
  mask-composite: exclude, exclude, add;
}

/* Background colour for shaped edges */
.section-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--background-colour, Canvas);
  z-index: -1;
  pointer-events: none;
}

/* Background layers — first ACF row = last in DOM = top layer */
.section-bg-layer {
  position: absolute;
  inset: 0;
  background-image:    var(--layer-bg-desktop);
  background-position: center;
  background-size:     cover;
  background-repeat:   no-repeat;
  pointer-events: none;
}

/* Solid colour layers suppress the background-image custom property */
.section-bg-layer.is-solid {
  background-image: none;
}

@media (max-width: 48em) {
  .section-bg-layer {
    background-image: var(--layer-bg-mobile, var(--layer-bg-desktop));
  }
  .section-bg-layer.is-solid {
    background-image: none;
  }
  .section-bg-layer[data-hide-mobile] {
    display: none;
  }
}

/* Top divider: pull this wrap up to overlap the previous, sit in front */
.section-wrap.has-divider-top {
  margin-top: calc(-1 * var(--divider-height, var(--hxl, 4rem)));
  z-index: 1;
}

/* Push section content below the masked top zone */
.section-wrap.has-divider-top > .section {
  padding-block-start: calc(var(--section-padding-top, var(--section-spacing, 2rem)) + var(--divider-height, var(--hxl, 4rem)));
}

/* Bottom divider: sit in front of the next wrap */
.section-wrap.has-divider-bottom {
  z-index: 1;
}

/* Next wrap after a bottom divider: pull up to enter the previous wrap's masked zone */
.section-wrap.has-prev-bottom {
  margin-top: calc(-1 * var(--prev-bottom-height, var(--hxl, 4rem)));
}

/* Push section content below the previous wrap's bottom masked zone */
.section-wrap.has-prev-bottom > .section {
  padding-block-start: calc(var(--section-padding-top, var(--section-spacing, 2rem)) + var(--prev-bottom-height, var(--hxl, 4rem)));
}

/* ── Section ────────────────────────────────────────────────────────────── */

.section {
  position: relative;
  overflow: clip;
  padding-block-start: var(--section-padding-top, var(--section-spacing));
  padding-block-end:   var(--section-padding-bottom, var(--section-spacing));
}

.section > * { position: relative; z-index: 1; }

/* ── Grid ───────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: min(var(--grid-column-gap), 2cqi);
  row-gap:    var(--grid-row-gap);
  max-width:  var(--max-viewport);
  margin-inline: auto;
  padding-inline: var(--gutter, 1rem);
  container-type: inline-size;
  container-name: grid;
}

/* ── Column items (.col) ────────────────────────────────────────────────── */

.col {
  grid-column: var(--col-start, auto) / span var(--col-span, var(--content-col-span, 12));
  align-self: var(--col-valign, var(--prose-valign));
}

/* Row-gap owns spacing between blocks; element margins only govern internal rhythm */
.col > * > :last-child { margin-bottom: 0; }

.prose,
.actions {
  text-align: var(--col-text-align, var(--prose-text-align));
}

@container grid (max-width: 90ch) {
  .col { grid-column: span 6; }
  /* Single-col prose sections go full-width at tablet — authored width is desktop only */
  .billboard .col,
  .cta .col { grid-column: span 12; }
}

@container grid (max-width: 55ch) {
  .col { grid-column: span 12; }
}

/* ── Sticky ─────────────────────────────────────────────────────────────── */

.col[data-sticky] {
  align-self: stretch;
}

.col[data-sticky] > *:not(.itr-prose-col[class*="theme-"]) {
  position: sticky;
  top: calc(var(--sticky-top, 0px) + var(--grid-row-gap));
  z-index: 1;
}

/* Themed ITR prose panel fills the full row height as a plain visual block —
   it has no scroll headroom of its own, so stick its inner content instead. */
.col[data-sticky] > .itr-prose-col[class*="theme-"] > * {
  position: sticky;
  top: calc(var(--sticky-top, 0px) + var(--grid-row-gap));
  z-index: 1;
}

/* ── Surface (card chrome) ──────────────────────────────────────────────── */

.surface {
  background-color: var(--background-colour);
  border-radius: var(--roundness);
  border: var(--border-weight) solid currentColor;
  box-shadow: var(--depth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.surface__body {
  padding: var(--surface-pad, var(--h3));
}

.surface__footer {
  padding: 0 var(--surface-pad, var(--h3)) var(--surface-pad, var(--h3));
}

/* ── Surface content container query (reading measure) ─────────────────── */

.surface-content {
  container-type: inline-size;
  container-name: content;
}

@container content (max-width: 32ch) {
  .surface-content .prose {
    padding-inline: 0;
    font-size: 0.95em;
  }
}

@container content (min-width: 75ch) {
  .surface-content .prose {
    max-inline-size: 70ch;
  }
}

/* ── Image figure ───────────────────────────────────────────────────────── */

.ss-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--roundness);
}

.ss-image img {
  width: 100%;
  height: 100%;
  object-fit:     var(--img-object-fit, cover);
  aspect-ratio:   var(--img-aspect-ratio, auto);
}


/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header-wrap {
  position: relative;
  z-index: 0;
  background-color: transparent;
}

.site-header-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--background-colour, Canvas);
  z-index: -1;
  pointer-events: none;
}

.site-header-wrap.has-divider-top {
  margin-top: calc(-1 * var(--divider-height, var(--hxl, 4rem)));
  z-index: 1;
}

.site-header-wrap.has-divider-top > .site-header {
  padding-block-start: calc(var(--section-padding-top, var(--section-spacing, 1rem)) + var(--divider-height, var(--hxl, 4rem)));
}

.site-header-wrap.has-divider-bottom {
  z-index: 1;
}

.site-header-wrap[data-sticky]:not(.is-overlay) {
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header-wrap.is-overlay {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  transition: background-color var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.site-header-wrap.is-overlay:not(.is-scrolled) {
  background-color: transparent;
}

.site-header-wrap.is-overlay:not(.is-scrolled)::before {
  background-color: transparent;
}

.site-header-wrap.is-overlay.is-scrolled {
  position: fixed;
}

.site-header {
  position: relative;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter, 1.5rem);
  max-width: var(--max-viewport);
  margin-inline: auto;
  padding-inline: var(--gutter, 1rem);
  padding-block-start: var(--section-padding-top,    var(--section-spacing, 1rem));
  padding-block-end:   var(--section-padding-bottom, var(--section-spacing, 1rem));
}

.site-header__logo {
  transition: opacity var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.site-header-wrap.logo-hidden .site-header__logo {
  opacity: 0;
  pointer-events: none;
}

.site-header__logo img,
.primary-nav__logo img {
  display: block;
  width: var(--logo-width, auto);
  height: auto;
}

/* ── Nav group (nav + utility, sitting together on the right of the logo) ─── */

.site-header__nav-group {
  display: flex;
  align-items: center;
  gap: var(--gutter, 1.5rem);
}

/* ── Header utility bar (phone/email/social) — inline with the main nav ──── */

.site-header__utility {
  display: flex;
  align-items: center;
  gap: var(--gutter, 1rem);
  font-size: 0.875em;
}

/* Cramped alongside logo + burger button below the nav breakpoint — hide it */
@media (max-width: 48em) {
  .site-header__utility { display: none; }
}

/* ── Glyph button — shared bare/encapsulated icon chrome for carousel arrows,
   burger/close, accordion expand, and phone/email/social buttons ─────────── */

.glyph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.glyph-btn svg {
  width: var(--glyph-size, 1em);
  height: var(--glyph-size, 1em);
  display: block;
}

.glyph-btn--encapsulated {
  padding: var(--glyph-padding, 0.75em);
  border-radius: var(--btn-roundness, var(--roundness));
  border: var(--btn-border-weight) solid currentColor;
  background: transparent;
  transition: background-color var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.glyph-btn--encapsulated:hover {
  background-color: color-mix(in srgb, currentColor 12%, transparent);
}

.glyph-fallback {
  font-size: var(--glyph-size, 1em);
  line-height: 1;
  font-weight: 700;
}

/* ── Nav toggle button ──────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}

/* Own tap-target padding when bare (.glyph-btn's own padding is 0) — deferring
   to .glyph-btn--encapsulated's own padding once that's active, so Icon Padding
   isn't silently overridden by this button's fixed value. */
.nav-toggle:not(.glyph-btn--encapsulated) {
  padding: 0.5rem;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Always-visible mode: collapse to burger below 48em */
@media (max-width: 48em) {
  .site-header-wrap:not(.has-burger) .nav-toggle { display: flex; }
  .site-header-wrap:not(.has-burger) .primary-nav:not(.nav-is-open) { display: none; }
}

/* Burger only mode: burger visible on all viewports */
.site-header-wrap.has-burger .nav-toggle { display: flex; }
.site-header-wrap.has-burger .primary-nav:not(.nav-is-open) { display: none; }

/* ── Primary nav ────────────────────────────────────────────────────────── */

.primary-nav {
  display: flex;
  align-items: center;
}

/* Scoped to the direct-child menu <ul> only — .primary-nav__utility's
   Contact/Social blocks are also <ul>s, just nested a level deeper, and
   must not inherit menu-specific layout/colour rules meant for nav links. */
.primary-nav > ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--menu-gap, var(--gutter, 1.5rem));
}

.primary-nav > ul li { margin-bottom: 0; }

.primary-nav > ul a {
  text-decoration: none;
  color: inherit;
}

.primary-nav > ul a:hover { color: var(--accent-colour); }

/* ── Nav fullscreen overlay ─────────────────────────────────────────────── */

.primary-nav.nav-is-open {
  position: fixed;
  inset: 0;
  /* Above the header's own stacking (sticky/overlay cap at 200) so the
     overlay fully covers it — the overlay is a self-contained screen,
     not a layer that reveals the header peeking through above it. */
  z-index: 300;
  flex-direction: column;
  align-items: stretch;
  background-color: var(--background-colour, Canvas);
  overflow-y: auto;
  padding-block: var(--gutter, 1.5rem) var(--section-padding-bottom, 4rem);
  padding-inline: var(--gutter, 1.5rem);
}

.primary-nav__top {
  display: none;
}

.primary-nav.nav-is-open .primary-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter, 1.5rem);
  margin-bottom: 2rem;
}

.primary-nav__utility {
  display: none;
}

.primary-nav.nav-is-open .primary-nav__utility {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.875em;
}

.primary-nav.nav-is-open > ul {
  flex-direction: column;
  gap: 0;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.primary-nav.nav-is-open > ul a {
  font-size:      var(--hxl);
  font-family:    var(--h1-family);
  font-weight:    var(--h1-weight);
  line-height:    var(--h1-leading, 1.1);
  letter-spacing: var(--h1-tracking);
  text-transform: var(--h1-caps);
  display: block;
  padding-block:  0.1em;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer-wrap {
  position: relative;
  z-index: 0;
  background-color: transparent;
}

.site-footer-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--background-colour, Canvas);
  z-index: -1;
  pointer-events: none;
}

.site-footer-wrap.has-divider-top {
  margin-top: calc(-1 * var(--divider-height, var(--hxl, 4rem)));
  z-index: 1;
}

.site-footer-wrap.has-divider-top > .site-footer {
  padding-block-start: calc(var(--section-padding-top, var(--section-spacing, 2rem)) + var(--divider-height, var(--hxl, 4rem)));
}

.site-footer-wrap.has-divider-bottom {
  z-index: 1;
}

.site-footer-wrap.has-prev-bottom {
  margin-top: calc(-1 * var(--prev-bottom-height, var(--hxl, 4rem)));
}

.site-footer-wrap.has-prev-bottom > .site-footer {
  padding-block-start: calc(var(--section-padding-top, var(--section-spacing, 2rem)) + var(--prev-bottom-height, var(--hxl, 4rem)));
}

.site-footer {
  position: relative;
  padding-block-start: var(--section-padding-top,    var(--section-spacing, 2rem));
  padding-block-end:   var(--section-padding-bottom, var(--section-spacing, 2rem));
}

.footer-nav ul {
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
  color: inherit;
}

.footer-nav a:hover { color: var(--accent-colour); }

/* ── Footer Logo block ──────────────────────────────────────────────────── */

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  display: block;
  width: var(--logo-width, auto);
  height: auto;
}

/* ── Site credit ("by Made with Zeal") ──────────────────────────────────── */

.site-credit {
  background-color: color-mix(in srgb, var(--background-colour, Canvas) 35%, black);
}

.site-credit__inner {
  display: flex;
  justify-content: center;
  max-width: var(--max-viewport);
  margin-inline: auto;
  padding-inline: var(--gutter, 1rem);
  padding-block: 0.75rem;
}

.site-credit__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
}

.site-credit__link:hover {
  opacity: 1;
}

.site-credit__logo {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
}

/* ── Contact & social — shared by the header utility bar and footer Contact block */

.contact-line,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--gap, var(--gutter, 1rem));
}

.contact-line li,
.social-links li {
  margin-bottom: 0;
}

.contact-line a:not(.btn),
.social-links a:not(.btn) {
  text-decoration: none;
  color: inherit;
}

.contact-line a:not(.btn):hover,
.social-links a:not(.btn):hover {
  color: var(--accent-colour);
}

.contact-line__form-link {
  all: unset;
  cursor: pointer;
  color: inherit;
}

.contact-line__form-link:hover {
  color: var(--accent-colour);
}

/* [ss_nav]/[ss_contact]/[ss_social] land inline in prose (a Text block), so they need
   the same margin-based vertical rhythm as headings/paragraphs/lists there — the
   margin: 0 above is for their header-utility-bar/grid-column use, where spacing is
   owned by the flex row or the grid's row-gap instead. */
.prose .footer-nav,
.prose .contact-line,
.prose .social-links {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.prose .footer-nav:last-child,
.prose .contact-line:last-child,
.prose .social-links:last-child {
  margin-bottom: 0;
}

/* ── Contact Form popover ───────────────────────────────────────────────── */

.contact-form-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: 100%;
  max-width: min(32rem, calc(100vw - 2 * var(--gutter, 1rem)));
  max-height: min(90vh, 40rem);
  padding: 0;
  color: inherit;
  background-color: var(--background-colour, Canvas);
  border: var(--border-weight) solid currentColor;
  border-radius: var(--roundness);
  box-shadow: var(--depth);
}

.contact-form-modal[open] {
  display: flex;
  flex-direction: column;
}

.contact-form-modal::backdrop {
  background-color: rgba(0, 0, 0, .5);
}

/* Header row — logo top-left, close button top-right, own padding so both
   sit clear of the dialog's corners and of the form content below. */
.contact-form-modal__header {
  display: flex;
  align-items: flex-start;
  gap: var(--h4, 1rem);
  padding: var(--surface-pad, var(--h3)) var(--surface-pad, var(--h3)) var(--h4, 1rem);
}

.contact-form-modal__logo img {
  display: block;
  width: var(--logo-width, auto);
  max-width: 8rem;
  height: auto;
}

/* Logo Width – Mobile — same breakpoint the header collapses to the burger at;
   falls back to the desktop width when unset. Kept after every logo rule
   above (header, mobile nav, footer, popover) so it wins on source order. */
@media (max-width: 48em) {
  .site-header__logo img,
  .primary-nav__logo img,
  .footer-logo img,
  .contact-form-modal__logo img {
    width: var(--logo-width-mobile, var(--logo-width, auto));
  }
}

.contact-form-modal__close {
  margin-left: auto;
}

.contact-form-modal__body {
  padding: 0 var(--surface-pad, var(--h3)) var(--surface-pad, var(--h3));
  overflow-y: auto;
}

/* ── Form fields — used inside the Contact Form popover, styled to match
   Feel (Roundness, Border Weight, Depth) and Motion so pasted forms look
   native rather than like a third-party embed ─────────────────────────── */

.ss-form label {
  display: block;
  margin-bottom: 0.35em;
  font-weight: 600;
}

.ss-form :is(input, textarea, select) {
  display: block;
  width: 100%;
  padding: var(--btn-pad-block, 0.6em) var(--btn-pad-inline, 0.8em);
  margin-bottom: 1.25em;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  background-color: var(--background-colour, Canvas);
  border: var(--border-weight) solid currentColor;
  border-radius: var(--roundness);
}

/* Higher specificity than the block/width rule above (attribute selector),
   so hidden fields (e.g. Sheet Monkey's submitted-at timestamp) stay hidden
   instead of the author rule un-hiding them over the UA stylesheet. */
.ss-form input[type="hidden"] {
  display: none;
}

.ss-form textarea {
  min-height: 8em;
  resize: vertical;
}

.ss-form :is(input, textarea, select):focus {
  outline: 2px solid var(--accent-colour);
  outline-offset: 2px;
}

.ss-form :is(input[type="checkbox"], input[type="radio"]) {
  display: inline-block;
  width: auto;
  margin: 0 0.5em 0 0;
  vertical-align: middle;
}

.ss-form fieldset {
  margin: 0 0 1.25em;
  padding: var(--h4, 1rem);
  border: var(--border-weight) solid currentColor;
  border-radius: var(--roundness);
}

.ss-form legend {
  padding-inline: 0.35em;
  font-weight: 600;
}

.ss-form :is(button, input[type="submit"], input[type="button"]) {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  width: auto;
  margin-bottom: 0;
  padding: var(--btn-pad-block, var(--h6)) var(--btn-pad-inline, var(--h3));
  background-color: var(--accent-colour);
  color: var(--accent-fg-colour);
  font-family: inherit;
  font-size: inherit;
  font-weight: var(--btn-weight, 600);
  border: var(--btn-border-weight) solid transparent;
  border-radius: var(--btn-roundness, var(--roundness));
  box-shadow: var(--depth);
  cursor: pointer;
  transition: opacity var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.ss-form :is(button, input[type="submit"], input[type="button"]):hover {
  opacity: 0.88;
}

.ss-form p:last-child {
  margin-bottom: 0;
}

/* ── Billboard section ──────────────────────────────────────────────────── */

.section.billboard {
  min-height: var(--billboard-height, auto);
}

.section.billboard > .grid {
  min-height: inherit;
  align-items: var(--prose-valign, center);
}

.billboard__content {
  text-align: var(--col-text-align, var(--prose-text-align));
}

.billboard__support-image {
  display: inline-block;
  vertical-align: top;
  width: var(--support-width, auto);
  max-width: 100%;
  padding-bottom: var(--support-pb, 0);
}

.billboard__support-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Card section ───────────────────────────────────────────────────────── */

/* Cards use .surface + .col — layout handled by grid/surface rules above */

.card-image { border-radius: 0; } /* images in cards don't double-round */

/* ── Card Carousel ──────────────────────────────────────────────────────── */

.carousel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Single grid-column unit derived from the 12-col grid geometry */
  --carousel-gap: var(--grid-column-gap, 1rem);
  --grid-col-unit: calc((100vw - 2 * var(--grid-px, 1rem) - 11 * var(--carousel-gap)) / 12);
}

.carousel__track {
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.carousel__track::-webkit-scrollbar { display: none; }

/* Card width = exact grid column span: col_span cols + (col_span − 1) gaps */
.carousel__slide {
  flex: 0 0 calc(var(--col-span, 4) * var(--grid-col-unit) + (var(--col-span, 4) - 1) * var(--carousel-gap));
  scroll-snap-align: start;
}

/* Contained: max-width + margin: auto centres the carousel; padding just needs
   the base gutter — NOT --grid-px, which grows at wide viewports and would
   over-inset the content area since centering is already handled above. */
.carousel--contained {
  max-width: var(--max-viewport);
  margin-inline: auto;
  padding-inline: var(--gutter, 1rem);
}

/* Bleed: left edge aligns with grid-left, right edge reaches the viewport */
.carousel--bleed {
  overflow: visible;
}

/* Padding on the track (not the carousel) so the scroll container's clip boundary
   sits at the viewport edge — cards can slide into the gutter when scrolling.
   scroll-padding-inline-start keeps snap alignment at the grid-left edge.
   padding-inline-end mirrors the gutter so the last card group ends at grid-right. */
.carousel--bleed .carousel__track {
  padding-inline: var(--grid-px, 1rem);
  scroll-padding-inline-start: var(--grid-px, 1rem);
}

.section.has-carousel-bleed {
  overflow: visible;
}

/* Nav sits outside the padded track — push it to grid-left in bleed mode */
.carousel--bleed .carousel__nav {
  padding-inline-start: var(--grid-px, 1rem);
}

@media (max-width: 45em) {
  .carousel__slide {
    flex-basis: calc(50% - var(--carousel-gap, 1rem) / 2);
  }

  /* Scroll buttons move above the track on mobile, so they're visible without
     scrolling past the cards first — desktop keeps them below. */
  .carousel__nav {
    order: -1;
    margin-top: 0;
    margin-bottom: var(--h4, 1rem);
  }
}

@media (max-width: 28em) {
  .carousel__slide { flex-basis: 80%; }
}

/* ── Carousel nav buttons ────────────────────────────────────────────────── */

.carousel__nav {
  display: flex;
  gap: var(--h5, 0.75rem);
  margin-top: var(--h4, 1rem);
  justify-content: var(--controls-align, flex-start);
}

.carousel__btn {
  flex-shrink: 0;
  padding: var(--glyph-padding, 0.75em);
  border-radius: var(--btn-roundness, var(--roundness));
  background-color: var(--accent-colour);
  color: var(--accent-fg-colour);
  box-shadow: var(--depth);
  transition: opacity var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.carousel__btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.carousel__btn:hover {
  opacity: 0.88;
}

/* Encapsulate Icons' own hover tint (.glyph-btn--encapsulated:hover) outranks
   .carousel__btn's plain background-color declaration, so it silently swaps this
   button's solid accent fill for a ~90% transparent one on hover when that toggle
   is on. Force the fill back — same forced-fill reasoning as .btn--icon.btn--high-impact
   above, just via specificity here since .carousel__btn is a bare class, not a pairing. */
.carousel__btn.glyph-btn--encapsulated:hover {
  background-color: var(--accent-colour);
}

.carousel__btn--prev svg {
  transform: scaleX(-1);
}

/* ── Carousel controls placement ─────────────────────────────────────────── */

.carousel--controls-above .carousel__nav {
  order: -1;
  margin-top: 0;
  margin-bottom: var(--h4, 1rem);
}

/* Overlay: reserve a permanent side gutter on the carousel itself (not the
   scrolling track) so the buttons sit in genuinely empty space at every
   scroll position, not just at the very start/end of the scroll range. */
.carousel--controls-overlay {
  --carousel-overlay-gutter: calc(var(--glyph-size, 1em) + 2 * var(--glyph-padding, 0.75em) + var(--h5, 0.75rem));
  position: relative;
}

.carousel--controls-overlay.carousel--contained {
  padding-inline: calc(var(--gutter, 1rem) + var(--carousel-overlay-gutter));
}

.carousel--controls-overlay .carousel__nav {
  position: absolute;
  inset: 0;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.carousel--controls-overlay .carousel__btn {
  pointer-events: auto;
}

/* ── Testimonial ────────────────────────────────────────────────────────── */

.testimonial-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.testimonial-quote p {
  font-size: var(--h4);
  font-family: var(--h4-family);
  font-weight: var(--h4-weight);
  line-height: var(--h4-leading, 1.4);
  color: var(--heading-colour);
  margin: 0;
}

/* One-visible layout — quote reads as a headline, attribution stays body-size */
.testimonial-card--solo .testimonial-quote p {
  font-size: var(--h2);
  font-family: var(--h2-family);
  font-weight: var(--h2-weight);
  line-height: var(--h2-leading, 1.2);
}

/* No theme selected — nothing to box in, so drop the card padding and border */
.testimonial-card:not([class*="theme-"]) {
  border: none;
}

.testimonial-card:not([class*="theme-"]) .surface__body {
  padding: 0;
}

.testimonial-attribution {
  margin-top: 1em;
  font-style: normal;
}

.testimonial-attribution cite {
  display: block;
  font-style: normal;
  font-weight: var(--h4-weight, 600);
  color: var(--heading-colour);
}

.testimonial-role {
  display: block;
  margin-top: 0.15em;
  font-size: 0.875em;
  color: var(--eyebrow-colour, var(--text-colour));
}

/* ── Image / Text Repeater ──────────────────────────────────────────────── */

.itr-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  row-gap: var(--grid-row-gap);
}

/* Image on right: swap visual order within the row's own subgrid */
.itr--image-right .itr-row > .col:first-child { order: 2; }
.itr--image-right .itr-row > .col:last-child  { order: 1; }

/* Alternating: even rows flip */
.itr--image-alternate .itr-row:nth-child(even) > .col:first-child { order: 2; }
.itr--image-alternate .itr-row:nth-child(even) > .col:last-child  { order: 1; }

/* ITR: container-type:inline-size implies overflow:clip which traps the bleed
   image. Reset to normal; max-width/margins stay from the base .grid rule. */
.image-text-repeater .grid {
  container-type: normal;
}

@media (max-width: 50em) {
  .image-text-repeater .col { grid-column: span 6; }
}
@media (max-width: 28em) {
  .image-text-repeater .col { grid-column: span 12; }
  /* Prose always before image on mobile regardless of position setting */
  .image-text-repeater .itr-row > .col:first-child { order: 2; }
  .image-text-repeater .itr-row > .col:last-child  { order: 1; }
}

/* Per-row bleed: applied to the figure so 100% resolves against the col
   (reliable block-element %) rather than the subgrid grid-area */
.itr-row > .col[data-bleed="left"] .ss-image {
  margin-inline-start: calc(-1 * var(--grid-px, 1rem));
  width: calc(100% + var(--grid-px, 1rem));
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

.itr-row > .col[data-bleed="right"] .ss-image {
  margin-inline-end: calc(-1 * var(--grid-px, 1rem));
  width: calc(100% + var(--grid-px, 1rem));
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

@media (max-width: 28em) {
  /* Full-width bleed: both edges, no radius — overrides directional rules above */
  .itr-row > .col[data-bleed] .ss-image {
    margin-inline-start: calc(-1 * var(--grid-px, 1rem));
    margin-inline-end:   calc(-1 * var(--grid-px, 1rem));
    width: calc(100% + 2 * var(--grid-px, 1rem));
    border-radius: 0;
  }
  /* Reset text alignment to start — right-aligned text reads badly in a full-width mobile column */
  .image-text-repeater .itr-row > .col:last-child .prose,
  .image-text-repeater .itr-row > .col:last-child .actions {
    text-align: start;
  }
}

/* ── ITR Prose Column ───────────────────────────────────────────────────── */

.itr-prose-col {
  padding: var(--prose-col-pad, 0);
}

/* Themed panel always fills the row to match the image — Vertical Alignment
   positions its content instead, not the panel's own size. */
.col:has(> .itr-prose-col[class*="theme-"]) {
  align-self: stretch;
}

.itr-prose-col[class*="theme-"] {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: var(--col-valign, start);
  border-radius: var(--roundness);
  padding: var(--prose-col-pad, var(--grid-row-gap) var(--grid-column-gap));
}

/* ── ITR Flush (gap: 0 — corner management) ─────────────────────────────── */

/* Zero gaps directly so --grid-column-gap / --grid-row-gap stay intact
   and can be read by .itr-prose-col for its padding fallback below */
.itr--flush .grid    { column-gap: 0; row-gap: 0; }
.itr--flush .itr-row { row-gap: 0; }

/* Prose col gets gap-equivalent breathing room; --prose-col-pad from Feel overrides */
.itr--flush .itr-prose-col {
  padding: var(--prose-col-pad, var(--grid-row-gap) var(--grid-column-gap));
}

/* Image always matches prose height — override any col-valign, fill the col */
.itr--flush .itr-row > .col:has(.ss-image) {
  align-self: stretch;
}

.itr--flush .itr-row .ss-image {
  height: 100%;
}

/* Zero all corners on both elements; restored selectively below */
.itr--flush .itr-row .ss-image,
.itr--flush .itr-row .itr-prose-col {
  border-radius: 0;
}

/* Desktop: 2-column layout. Rules are scoped above 28em so they don't
   cascade into the mobile single-column stack and fight its corner logic. */
@media (min-width: 28.0625em) {

  /* image-left (default) and image-alternate — first row top corners.
     Alternate row 1 is always odd so image is always on the left here. */
  .itr--flush:not(.itr--image-right) .itr-row:first-child .col:first-child:not([data-bleed]) .ss-image {
    border-start-start-radius: var(--roundness);
  }
  .itr--flush:not(.itr--image-right) .itr-row:first-child .col:last-child .itr-prose-col {
    border-start-end-radius: var(--roundness);
  }

  /* image-left, non-alternate — last row bottom corners */
  .itr--flush:not(.itr--image-right):not(.itr--image-alternate) .itr-row:last-child .col:first-child:not([data-bleed]) .ss-image {
    border-end-start-radius: var(--roundness);
  }
  .itr--flush:not(.itr--image-right):not(.itr--image-alternate) .itr-row:last-child .col:last-child .itr-prose-col {
    border-end-end-radius: var(--roundness);
  }

  /* image-alternate, odd last row — image visual left, prose visual right */
  .itr--flush.itr--image-alternate .itr-row:last-child:nth-child(odd) .col:first-child:not([data-bleed]) .ss-image {
    border-end-start-radius: var(--roundness);
  }
  .itr--flush.itr--image-alternate .itr-row:last-child:nth-child(odd) .col:last-child .itr-prose-col {
    border-end-end-radius: var(--roundness);
  }

  /* image-alternate, even last row — prose visual left (DOM last, order:1), image visual right (DOM first, order:2) */
  .itr--flush.itr--image-alternate .itr-row:last-child:nth-child(even) .col:last-child .itr-prose-col {
    border-end-start-radius: var(--roundness);
  }
  .itr--flush.itr--image-alternate .itr-row:last-child:nth-child(even) .col:first-child:not([data-bleed]) .ss-image {
    border-end-end-radius: var(--roundness);
  }

  /* image-right — all rows: prose is visual left (DOM last, order:1), image is visual right (DOM first, order:2) */
  .itr--flush.itr--image-right .itr-row:first-child .col:last-child .itr-prose-col {
    border-start-start-radius: var(--roundness);
  }
  .itr--flush.itr--image-right .itr-row:first-child .col:first-child:not([data-bleed]) .ss-image {
    border-start-end-radius: var(--roundness);
  }
  .itr--flush.itr--image-right .itr-row:last-child .col:last-child .itr-prose-col {
    border-end-start-radius: var(--roundness);
  }
  .itr--flush.itr--image-right .itr-row:last-child .col:first-child:not([data-bleed]) .ss-image {
    border-end-end-radius: var(--roundness);
  }
}

/* Mobile: single-column stack. Prose is always visual first (order:1),
   image always visual last (order:2), regardless of desktop variant. */
@media (max-width: 28em) {
  /* Prose of first row — top of the stack */
  .itr--flush .itr-row:first-child .col:last-child .itr-prose-col {
    border-start-start-radius: var(--roundness);
    border-start-end-radius: var(--roundness);
  }
  /* Image of last row — bottom of the stack */
  .itr--flush .itr-row:last-child .col:first-child:not([data-bleed]) .ss-image {
    border-end-start-radius: var(--roundness);
    border-end-end-radius: var(--roundness);
  }
}

/* ── Accordion ──────────────────────────────────────────────────────────── */

.accordion__item {
  border-bottom: var(--border-weight) solid currentColor;
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 1em 0;
  font-family: inherit;
  font-size: var(--h3);
  font-weight: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.accordion__icon {
  flex-shrink: 0;
}

/* Rotate the icon content itself, not the .accordion__icon box — encapsulated,
   that box is a square with a visible border, and rotating the box (rather
   than what's inside it) turns it into a diamond instead of a plus → x. */
.accordion__icon > * {
  transition: transform var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon > * {
  transform: rotate(45deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--motion-duration, 250ms) var(--motion-easing, ease);
}

.accordion__heading:has(.accordion__trigger[aria-expanded="true"]) + .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel-inner {
  overflow: hidden;
}

.accordion__panel-inner .prose {
  padding-bottom: 1em;
}

/* ── Builder spacer ─────────────────────────────────────────────────────── */

.spacer {
  block-size: var(--spacer-height);
}

@container grid (max-width: 90ch) {
  .spacer { block-size: var(--spacer-height-step-1, var(--spacer-height)); }
}

@container grid (max-width: 55ch) {
  .spacer { block-size: var(--spacer-height-step-2, var(--spacer-height)); }
}

/* Spacer height step-down lookup — one scale rung per breakpoint */
.spacer[data-height="hxxxl"] { --spacer-height: var(--hxxxl); --spacer-height-step-1: var(--hxxl); --spacer-height-step-2: var(--hxl); }
.spacer[data-height="hxxl"]  { --spacer-height: var(--hxxl);  --spacer-height-step-1: var(--hxl);  --spacer-height-step-2: var(--h1); }
.spacer[data-height="hxl"]   { --spacer-height: var(--hxl);   --spacer-height-step-1: var(--h1);   --spacer-height-step-2: var(--h2); }
.spacer[data-height="h1"]    { --spacer-height: var(--h1);    --spacer-height-step-1: var(--h2);   --spacer-height-step-2: var(--h3); }
.spacer[data-height="h2"]    { --spacer-height: var(--h2);    --spacer-height-step-1: var(--h3);   --spacer-height-step-2: var(--h4); }
.spacer[data-height="h3"]    { --spacer-height: var(--h3);    --spacer-height-step-1: var(--h4);   --spacer-height-step-2: var(--h5); }
.spacer[data-height="h4"]    { --spacer-height: var(--h4);    --spacer-height-step-1: var(--h5);   --spacer-height-step-2: var(--h6); }
.spacer[data-height="h5"]    { --spacer-height: var(--h5);    --spacer-height-step-1: var(--h6);   --spacer-height-step-2: var(--h6); }
.spacer[data-height="h6"]    { --spacer-height: var(--h6);    --spacer-height-step-1: var(--h6);   --spacer-height-step-2: var(--h6); }

/* ── Image treatment ────────────────────────────────────────────────────── */

body.image-treatment-grayscale img { filter: grayscale(1); }

/* ── Spacer hide on mobile ──────────────────────────────────────────────── */

@media (max-width: 28em) {
  .spacer--hide-mobile { display: none; }
}

/* ── Utilities ──────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent-colour);
  color: var(--accent-fg-colour);
  padding: 0.5em 1em;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }
