/* templates/base.css */
* {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* No focus ring on a click or tap, but always one for the keyboard. */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Templates run edge to edge, so the page has no margin of its own */
body {
  margin: 0;
}

/* The space above and below every section; less on phones. */
:root {
  --section-space: clamp(44px, 5vw, 64px);
}

/* A picture with its width and height in the HTML keeps its shape at any size a template gives it;
   the two numbers only hold its place while it loads. */
:where(img[width][height]) {
  width: auto;
  height: auto;
}

/* templates/menus/bar-menu/menu.css */
/* Bar menu: a sticky bar; under 960px the links fold into .bar-menu__panel (.is-open). */

.bar-menu {
  --bar-ink: #1b2a3a;
  --bar-muted: #5f6b78;
  --bar-paper: #fff;
  --bar-line: #e6e0d6;
  --bar-accent: #c2410c;
  --bar-on-accent: #fff;
  --bar-gutter: 40px;
  --bar-height: 72px;

  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--bar-line);
  background: var(--bar-paper);
  color: var(--bar-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

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

.bar-menu a {
  color: inherit;
  text-decoration: none;
}

.bar-menu__bar {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  height: var(--bar-height);
  margin: 0 auto;
  padding: 0 var(--bar-gutter);
}

.bar-menu__brand {
  flex: none;
  font-family: var(--look-display, inherit);
  font-size: 19px;
  font-weight: var(--look-display-weight, 700);
  letter-spacing: -0.01em;
  text-transform: var(--look-display-case, none);
}

/* On wide screens the panel lets its links and actions sit in the bar itself */
.bar-menu__panel { display: contents; }

/* Links */
.bar-menu__nav {
  display: flex;
  gap: 28px;
}

.bar-menu__link {
  color: var(--bar-muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline 1.5px transparent;
  text-underline-offset: 8px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.bar-menu__link:hover { color: var(--bar-ink); }

.bar-menu__link[aria-current] {
  color: var(--bar-ink);
  text-decoration-color: var(--bar-accent);
}

/* Dropdowns (addGroup): a button with a chevron, and a card of links under it */
.bar-menu__group {
  position: relative;
  display: flex;
}

button.bar-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

button.bar-menu__link::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  translate: 0 -2px;
  rotate: 45deg;
  transition: rotate 0.2s, translate 0.2s;
  content: "";
}

button.bar-menu__link[aria-expanded="true"]::after {
  translate: 0 2px;
  rotate: 225deg;
}

.bar-menu__drop {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: -16px;
  z-index: 1;
  min-width: 240px;
  padding: 8px;
  border: 1px solid var(--bar-line);
  border-radius: min(var(--look-radius, 12px), 20px);
  background: var(--bar-paper);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.12);
}

/* Keeps the card open while the pointer crosses the gap above it */
.bar-menu__drop::before {
  position: absolute;
  inset: -19px 0 100%;
  content: "";
}

/* Nine links or more: two columns */
.bar-menu__drop:has(> :nth-child(9)) {
  grid-template-columns: repeat(2, minmax(200px, 1fr));
}

.bar-menu__link[aria-expanded="true"] + .bar-menu__drop { display: grid; }

@media (hover: hover) and (min-width: 960px) {
  .bar-menu__group:hover > .bar-menu__drop { display: grid; }
  .bar-menu__group:hover > .bar-menu__link { color: var(--bar-ink); }
}

.bar-menu__drop-link {
  padding: 10px 12px;
  border-radius: max(4px, min(var(--look-radius, 12px), 20px) - 8px);
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.bar-menu__drop-link:hover { background: color-mix(in srgb, var(--bar-ink) 6%, transparent); }
.bar-menu__drop-link[aria-current] { color: var(--bar-accent); }

/* Phone and button */
.bar-menu__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.bar-menu__phone {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bar-menu__phone:hover { color: var(--bar-accent); }

.bar-menu__button {
  padding: 11px 18px;
  border-radius: var(--look-control-radius, 8px);
  background: var(--bar-accent);
  color: var(--bar-on-accent) !important;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.bar-menu__button:hover { background: color-mix(in srgb, var(--bar-accent) 85%, #000); }
.bar-menu__button:active { translate: 0 1px; }

/* The phone toggle: two lines that cross when open */
.bar-menu__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.bar-menu__toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.bar-menu__toggle span:first-child { top: 18px; }
.bar-menu__toggle span:last-child { top: 25px; }

.bar-menu.is-open .bar-menu__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.bar-menu.is-open .bar-menu__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Phones and small tablets: everything but the name folds into a panel under the bar */
@media (max-width: 959px) {
  .bar-menu {
    --bar-gutter: 20px;
    --bar-height: 64px;
  }

  .bar-menu__bar { justify-content: space-between; }

  .bar-menu__toggle { display: block; }

  .bar-menu__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--bar-height));
    overflow-y: auto;
    padding: 8px var(--bar-gutter) 24px;
    border-bottom: 1px solid var(--bar-line);
    background: var(--bar-paper);
  }

  .bar-menu.is-open .bar-menu__panel { display: block; }

  .bar-menu__nav { flex-direction: column; gap: 0; }

  .bar-menu__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--bar-line);
    color: var(--bar-ink);
    font-size: 20px;
    text-decoration: none;
  }

  .bar-menu__link[aria-current] { color: var(--bar-accent); }

  /* Dropdowns open in place, their links indented under the button */
  .bar-menu__group { display: block; }

  button.bar-menu__link {
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--bar-line);
    font-size: 20px;
    text-align: left;
  }

  button.bar-menu__link[aria-expanded="true"] { border-bottom-color: transparent; }

  .bar-menu__drop {
    position: static;
    min-width: 0;
    padding: 4px 0 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--bar-line);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .bar-menu__drop::before { content: none; }
  .bar-menu__drop:has(> :nth-child(9)) { grid-template-columns: none; }

  .bar-menu__drop-link {
    padding: 10px 0;
    font-size: 17px;
  }

  /* Under the links: the number and a full-width button */
  .bar-menu__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 20px 0 0;
  }

  .bar-menu__phone {
    padding: 13px 18px;
    border: 1px solid var(--bar-line);
    border-radius: var(--look-control-radius, 8px);
    font-size: 16px;
    text-align: center;
  }

  .bar-menu__button {
    padding: 14px 18px;
    font-size: 16px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bar-menu__toggle span,
  button.bar-menu__link::after { transition: none; }
}

/* templates/heroes/cutout-hero/hero.css */
/* Cutout hero: a coloured band with a cut-out photo of the team at the bottom right, under a tint that is
   deep on the left behind the words and clear on the right. On phones the people stay at the right,
   smaller, and the tint runs across so the words stay readable. */

.cutout-hero {
  --cutout-bg: #246b61;
  --cutout-deep: #1d5348;
  --cutout-ink: #fff;
  --cutout-tick: #8df0bd;
  --cutout-button: #e5f4ee;
  --cutout-on-button: #173c35;
  --cutout-photo-height: 100%;

  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 570px;
  overflow: hidden;
  background: var(--cutout-bg);
  color: var(--cutout-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

:where(.cutout-hero) h1,
:where(.cutout-hero) p,
:where(.cutout-hero) ul { margin: 0; padding: 0; }

/* The people: standing on the band's bottom edge, at the right */
.cutout-hero__picture {
  position: absolute;
  right: max(0px, calc(50% - 640px));
  bottom: 0;
  z-index: -2;
  height: var(--cutout-photo-height);
  aspect-ratio: 21 / 20;
}

/* A real photo keeps its own shape, as tall as the band allows */
.cutout-hero__picture:has(img) { aspect-ratio: auto; }

.cutout-hero__picture img {
  display: block;
  width: auto;
  height: 100%;
}

.cutout-hero__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  color: color-mix(in srgb, var(--cutout-ink) 22%, transparent);
}

/* The tint over the people: deep behind the words, clear on the right */
.cutout-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg,
    color-mix(in srgb, var(--cutout-deep) 98%, transparent) 0%,
    color-mix(in srgb, var(--cutout-deep) 85%, transparent) 45%,
    color-mix(in srgb, var(--cutout-deep) 10%, transparent) 72%,
    transparent 100%);
  content: "";
}

/* The words, lined up with the sections */
.cutout-hero__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
}

.cutout-hero__words { max-width: min(52%, 540px); }

.cutout-hero__kicker {
  margin-bottom: 12px;
  font-family: var(--look-label, inherit);
  font-size: calc(14px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.02em);
  text-transform: var(--look-label-case, none);
  opacity: 0.9;
}

.cutout-hero__lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.9;
}

.cutout-hero__lead:empty { display: none; }

.cutout-hero__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(34px, 3.4vw, 48px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 700);
  letter-spacing: var(--look-display-tracking, -0.03em);
  line-height: var(--look-display-leading, 1.1);
  text-transform: var(--look-display-case, none);
  text-wrap: balance;
}

/* The ticked points: a ring with a tick drawn in, in the tick colour */
.cutout-hero__points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.cutout-hero__point {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.4;
}

.cutout-hero__point::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cutout-tick);
  border-radius: 50%;
  content: "";
}

.cutout-hero__point::after {
  position: absolute;
  top: calc(0.1em + 4px);
  left: 7px;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--cutout-tick);
  border-bottom: 2px solid var(--cutout-tick);
  rotate: 45deg;
  content: "";
}

/* The phone (light, it dials) and the quote button (outlined): small, bold and in capitals */
.cutout-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cutout-hero__phone,
.cutout-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 43px;
  padding: 0 25px;
  border: 1px solid color-mix(in srgb, var(--cutout-ink) 35%, transparent);
  border-radius: var(--look-control-radius, 3px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.cutout-hero__phone {
  background: var(--cutout-button);
  color: var(--cutout-on-button);
  font-variant-numeric: tabular-nums;
}

.cutout-hero__phone:hover { background: #fff; }

.cutout-hero__button { color: var(--cutout-ink); }

.cutout-hero__button:hover { background: color-mix(in srgb, var(--cutout-ink) 12%, transparent); }

.cutout-hero__phone:focus-visible,
.cutout-hero__button:focus-visible {
  outline: 2px solid var(--cutout-ink);
  outline-offset: 3px;
}

/* Tablets: the same band, a little shorter */
@media (max-width: 900px) {
  .cutout-hero {
    --cutout-photo-height: 88%;

    min-height: 460px;
  }

  .cutout-hero__words { max-width: min(58%, 440px); }
}

/* Phones: the people smaller at the right, the tint across, the words and buttons on the left */
@media (max-width: 640px) {
  .cutout-hero {
    --cutout-photo-height: 52%;

    align-items: flex-start;
    min-height: 0;
  }

  .cutout-hero__picture { right: -10%; }

  .cutout-hero::before {
    background: linear-gradient(90deg,
      color-mix(in srgb, var(--cutout-deep) 98%, transparent) 0%,
      color-mix(in srgb, var(--cutout-deep) 90%, transparent) 20%,
      color-mix(in srgb, var(--cutout-deep) 0%, transparent) 100%);
  }

  .cutout-hero__content { padding: 34px 20px 36px; }

  .cutout-hero__words { max-width: 100%; }

  .cutout-hero__title { max-width: 11em; }

  .cutout-hero__points {
    max-width: 62%;
    margin-top: 18px;
  }

  .cutout-hero__point { font-size: 14px; }

  /* Stacked on the left, clear of the people */
  .cutout-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 21px;
  }

  .cutout-hero__phone,
  .cutout-hero__button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cutout-hero__phone,
  .cutout-hero__button { transition: none; }
}

/* templates/sections/photo-carousel/carousel.css */
/* Photo carousel: a centred heading over a row of photos that runs off both sides of the page. Each
   photo snaps to the middle, where it is raised (.is-current); carousel.js adds the arrows' work and
   the loop, and the full-screen viewer that a click on the middle photo opens. */

.photo-carousel {
  --carousel-ink: #1b2a3a;
  --carousel-muted: #5f6b78;
  --carousel-arrow-bg: #fff;
  --carousel-arrow-ink: #1b2a3a;
  --carousel-shade: rgb(10 14 20 / 0.92);
  --carousel-slide: clamp(260px, 26.5vw, 380px);
  --carousel-gap: clamp(24px, 4.4vw, 64px);
  --carousel-lift: 1.18;   /* how much bigger the middle photo is (setMiddleScale) */
  --carousel-blur: 2px;    /* how blurred the photos beside it are (setSideBlur) */
  --carousel-scale: var(--carousel-lift);

  padding: var(--section-space) 0;
  overflow: hidden;
  color: var(--carousel-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  text-align: center;
}

:where(.photo-carousel) h2,
:where(.photo-carousel) p,
:where(.photo-carousel) ul { margin: 0; padding: 0; }

/* Heading and intro, centred */
.photo-carousel__head {
  box-sizing: border-box;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

.photo-carousel__head:empty { display: none; }

.photo-carousel__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(30px, 3.6vw, 44px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 600);
  letter-spacing: var(--look-display-tracking, -0.015em);
  line-height: var(--look-display-leading, 1.15);
  text-transform: var(--look-display-case, none);
  text-wrap: balance;
}

.photo-carousel__intro {
  margin-top: 16px;
  color: var(--carousel-muted);
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* The row: scrolls sideways, each photo snapping to the middle; room above and below for the raised one */
.photo-carousel__frame {
  position: relative;
  margin-top: 16px;
}

.photo-carousel__head:empty + .photo-carousel__frame { margin-top: 0; }

.photo-carousel__track {
  position: relative;
  display: flex;
  gap: var(--carousel-gap);
  /* room above and below for the raised photo (its height is 4/5 of its width) and its shadow */
  padding: calc(12px + (var(--carousel-scale) - 1) * var(--carousel-slide) * 0.4) calc(50% - var(--carousel-slide) / 2)
    calc(64px + (var(--carousel-scale) - 1) * var(--carousel-slide) * 0.4);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
}

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

.photo-carousel__track:focus-visible {
  outline: 2px solid var(--carousel-ink);
  outline-offset: -4px;
}

.photo-carousel__slide {
  flex: none;
  width: var(--carousel-slide);
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--look-radius, 10px);
  background: color-mix(in srgb, var(--carousel-ink) 8%, transparent);
  scroll-snap-align: center;
  transition: scale 0.45s cubic-bezier(0.3, 0.7, 0.2, 1), box-shadow 0.45s;
}

.photo-carousel.is-ready .photo-carousel__slide { cursor: pointer; }

.photo-carousel__slide.is-current {
  position: relative;
  z-index: 1;
  scale: var(--carousel-scale);
  box-shadow: 0 26px 50px -18px rgb(0 0 0 / 0.38);
  cursor: default !important;
}

.photo-carousel.can-view .photo-carousel__slide.is-current { cursor: zoom-in !important; }

.photo-carousel__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.45s, scale 0.45s;
}

/* The photos beside the middle one (once carousel.js has marked it), softly blurred so it stands out; a touch
   bigger so the blur's soft edge stays hidden */
.photo-carousel.is-ready .photo-carousel__slide:not(.is-current) .photo-carousel__image {
  filter: blur(var(--carousel-blur));
  scale: 1.04;
}

/* While the loop jumps back to the same photo in the middle row, nothing animates */
.photo-carousel__track.is-jumping :is(.photo-carousel__slide, .photo-carousel__image) { transition: none; }

/* The arrows: round buttons at both edges, over the photos; shown once carousel.js runs */
.photo-carousel__arrow {
  display: none;
  position: absolute;
  top: calc(50% - 26px);   /* the photos' middle: half the difference between the row's bottom and top padding */
  z-index: 1;
  width: 48px;
  height: 48px;
  translate: 0 -50%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--carousel-arrow-bg);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.16);
  color: var(--carousel-arrow-ink);
  cursor: pointer;
  transition: scale 0.2s;
}

.photo-carousel.is-ready .photo-carousel__arrow { display: block; }
.photo-carousel.is-single .photo-carousel__arrow { display: none; }

.photo-carousel__arrow:hover { scale: 1.08; }

.photo-carousel__arrow--previous { left: 24px; }
.photo-carousel__arrow--next { right: 24px; }

/* A small chevron drawn in the middle of each arrow */
.photo-carousel__arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  translate: -30% -50%;
  rotate: -45deg;
  content: "";
}

.photo-carousel__arrow--next::before {
  translate: -70% -50%;
  rotate: 135deg;
}

.photo-carousel__arrow:focus-visible {
  outline: 2px solid var(--carousel-arrow-bg);
  outline-offset: 3px;
}

/* Full screen (carousel.js opens it): the photo whole on a dark shade, its words under it, the arrows
   at the sides and a round close button in the corner */
.photo-carousel__viewer {
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px 88px;
  border: 0;
  background: transparent;
  color: #fff;
}

.photo-carousel__viewer[open] {
  display: grid;
  place-items: center;
}

.photo-carousel__viewer::backdrop { background: var(--carousel-shade); }

html:has(.photo-carousel__viewer[open]) { overflow: hidden; }

.photo-carousel__big {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
}

.photo-carousel__big-image {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 110px);
  border-radius: var(--look-radius, 10px);
  cursor: pointer;
}

.photo-carousel__caption {
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.85;
}

.photo-carousel__caption:empty { display: none; }

.photo-carousel__viewer .photo-carousel__arrow { top: 50%; }

.photo-carousel__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--carousel-arrow-bg);
  color: var(--carousel-arrow-ink);
  cursor: pointer;
}

/* The close button's cross */
.photo-carousel__close::before,
.photo-carousel__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  translate: -50% -50%;
  rotate: 45deg;
  content: "";
}

.photo-carousel__close::after { rotate: -45deg; }

.photo-carousel__close:focus-visible {
  outline: 2px solid var(--carousel-arrow-bg);
  outline-offset: 3px;
}

/* Phones: one photo wide with the next peeking in, a smaller lift and smaller arrows */
@media (max-width: 640px) {
  .photo-carousel {
    --carousel-slide: 74vw;
    --carousel-gap: 14px;
    --carousel-scale: calc(1 + (var(--carousel-lift) - 1) / 3);   /* a third of the lift: the photos are close together */
  }

  .photo-carousel__track {
    padding-top: calc(10px + (var(--carousel-scale) - 1) * var(--carousel-slide) * 0.4);
    padding-bottom: calc(50px + (var(--carousel-scale) - 1) * var(--carousel-slide) * 0.4);
  }

  .photo-carousel__arrow {
    top: calc(50% - 20px);
    width: 40px;
    height: 40px;
  }

  .photo-carousel__arrow--previous { left: 10px; }
  .photo-carousel__arrow--next { right: 10px; }

  /* Full screen: the photo edge to edge, the arrows under it */
  .photo-carousel__viewer { padding: 72px 12px 96px; }
  .photo-carousel__big-image { max-height: calc(100dvh - 220px); }
  .photo-carousel__viewer .photo-carousel__arrow { top: auto; bottom: 28px; translate: 0; }
  .photo-carousel__viewer .photo-carousel__arrow--previous { left: calc(50% - 52px); }
  .photo-carousel__viewer .photo-carousel__arrow--next { right: calc(50% - 52px); }
  .photo-carousel__close { top: 14px; right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-carousel__slide,
  .photo-carousel__image,
  .photo-carousel__arrow { transition: none; }
}

/* templates/sections/service-cards/cards.css */
/* Service cards: linked services with a photo, a name and a short description. */
.service-cards {
  --cards-ink: #1b2a3a;
  --cards-muted: #5f6b78;

  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-space) 40px;
  color: var(--cards-ink);
  font-family: var(--look-body, system-ui, sans-serif);
}

:where(.service-cards) h2,
:where(.service-cards) h3,
:where(.service-cards) p { margin: 0; }

/* A centred heading and its supporting line. */
.service-cards__head { max-width: 680px; margin: 0 auto; text-align: center; }
.service-cards__head:empty { display: none; }
.service-cards__kicker {
  margin-bottom: 12px;
  color: var(--cards-muted);
  font-family: var(--look-label, inherit);
  font-size: calc(12px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.08em);
  text-transform: var(--look-label-case, uppercase);
}
.service-cards__title {
  font-family: var(--look-display, Georgia, "Times New Roman", serif);
  font-size: calc(clamp(32px, 4.2vw, 52px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 400);
  letter-spacing: var(--look-display-tracking, -0.015em);
  line-height: var(--look-display-leading, 1.1);
  text-wrap: balance;
  text-transform: var(--look-display-case, none);
}
.service-cards__intro { margin-top: 14px !important; color: var(--cards-muted); font-size: 17px; line-height: 1.6; }

/* Three evenly sized service cards, with their own page as the destination. */
.service-cards__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
  margin-top: 56px;
}
.service-cards__card { display: block; color: inherit; text-decoration: none; }
.service-cards__picture {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--look-radius, 12px);
}
.service-cards__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .4s; }
.service-cards__card:hover .service-cards__image { scale: 1.04; }
.service-cards__name {
  margin: 20px 0 8px !important;
  font-family: var(--look-display, Georgia, "Times New Roman", serif);
  font-size: 22px;
  font-weight: var(--look-display-weight, 500);
  line-height: 1.25;
}
.service-cards__card:hover .service-cards__name { text-decoration: underline; text-underline-offset: 4px; }
.service-cards__text { color: var(--cards-muted); font-size: 15px; line-height: 1.6; }
.service-cards__card:focus-visible {
  outline: 2px solid var(--cards-ink);
  outline-offset: 6px;
  border-radius: var(--look-radius, 12px);
}

/* Two columns leave room for each service name on tablets. */
@media (max-width: 900px) {
  .service-cards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}

/* One card per row on narrow screens. */
@media (max-width: 640px) {
  .service-cards { padding: var(--section-space) 20px; }
  .service-cards__list { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
}

/* Keep the cards still for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .service-cards__image { transition: none; }
}

/* templates/questionnaires/list-questionnaire/quiz.css */
/* List questionnaire: every question in view from the start, so it reads as short. The open one shows its answers
   as pills; an answered one folds up to its answer with Change beside it; later ones wait in grey. The contact
   step and the send button come last. Without questionnaires.js every question is open. */

.list-questionnaire {
  --quiz-ink: #111c22;
  --quiz-muted: #67727a;
  --quiz-faint: #a6aeb3;
  --quiz-line: #e4e7e8;
  --quiz-card: #fff;
  --quiz-accent: #13394a;
  --quiz-on-accent: #fff;
  --quiz-error: #c92a2a;

  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-space) 40px;
  color: var(--quiz-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  font-size: 16px;
  line-height: 1.5;
}

:where(.list-questionnaire) :is(h2, p, fieldset) { margin: 0; }

.list-questionnaire [hidden] { display: none !important; }

/* The card and its heading */
.list-questionnaire__card {
  box-sizing: border-box;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 44px 44px;
  border-radius: var(--look-radius, 28px);
  background: var(--quiz-card);
  box-shadow: 0 1px 2px rgb(17 28 34 / 0.05), 0 16px 48px rgb(17 28 34 / 0.07);
}

.list-questionnaire__head { margin-bottom: 24px; }

.list-questionnaire__head:empty { display: none; }

.list-questionnaire__kicker {
  margin-bottom: 8px;
  color: var(--quiz-muted);
  font-family: var(--look-label, inherit);
  font-size: calc(13px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.04em);
  text-transform: var(--look-label-case, none);
}

.list-questionnaire__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(26px, 3vw, 34px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 700);
  letter-spacing: var(--look-display-tracking, -0.02em);
  line-height: var(--look-display-leading, 1.15);
  text-transform: var(--look-display-case, none);
  text-wrap: balance;
}

.list-questionnaire__intro {
  margin-top: 8px;
  color: var(--quiz-muted);
}

/* A row per question, a line between them */
.list-questionnaire__step {
  min-width: 0;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--quiz-line);
}

.list-questionnaire__question {
  float: left;
  width: 100%;
  padding: 0;
  font-family: var(--look-display, inherit);
  font-size: calc(18px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 700);
  line-height: 1.35;
  text-transform: var(--look-display-case, none);
}

.list-questionnaire__question:focus { outline: none; }

.list-questionnaire__picked,
.list-questionnaire__options,
.list-questionnaire__fields { clear: both; }

/* The number in a ring, left of the question so a long one wraps clear of it; ticked once answered */
.list-questionnaire.is-stepping .list-questionnaire__question {
  position: relative;
  box-sizing: border-box;
  padding-left: 38px;
}

.list-questionnaire__num {
  position: absolute;
  top: calc((18px * var(--look-display-scale, 1) * 1.35 - 26px) / 2);
  left: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--look-body, inherit);
  font-size: 13px;
}

.list-questionnaire__step.is-done .list-questionnaire__num {
  border-color: var(--quiz-accent);
  background: var(--quiz-accent);
  color: transparent;
}

.list-questionnaire__step.is-done .list-questionnaire__num::after {
  position: absolute;
  top: 5px;
  left: 8.5px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--quiz-on-accent);
  border-bottom: 2px solid var(--quiz-on-accent);
  rotate: 45deg;
  content: "";
}

/* Later questions wait in grey; an answered one shows its answer and Change */
.list-questionnaire__step.is-later .list-questionnaire__question { color: var(--quiz-faint); }

.list-questionnaire__picked {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 0 38px;
}

.list-questionnaire__step.is-done .list-questionnaire__picked { display: flex; }

.list-questionnaire__pick { color: var(--quiz-muted); }

.list-questionnaire__change {
  padding: 0;
  border: 0;
  background: none;
  color: var(--quiz-accent);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* The open question: its answers as pills (every question without the script) */
.list-questionnaire__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 4px 38px;
}

.list-questionnaire.is-stepping .list-questionnaire__step:not(.is-open) :is(.list-questionnaire__options, .list-questionnaire__fields, .list-questionnaire__ok) { display: none; }

.list-questionnaire.is-stepping .list-questionnaire__step.is-open :is(.list-questionnaire__options, .list-questionnaire__fields) { animation: list-questionnaire-open 0.3s ease; }

@keyframes list-questionnaire-open { from { opacity: 0; transform: translateY(-4px); } }

.list-questionnaire__option {
  position: relative;
  padding: 11px 20px;
  border: 1.5px solid var(--quiz-line);
  border-radius: var(--look-control-radius, 999px);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.list-questionnaire__option:hover { border-color: var(--quiz-accent); }

.list-questionnaire__choice {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.list-questionnaire__option:has(:checked) {
  border-color: var(--quiz-accent);
  background: var(--quiz-accent);
  color: var(--quiz-on-accent);
}

.list-questionnaire__option:has(:focus-visible) {
  outline: 2px solid var(--quiz-accent);
  outline-offset: 3px;
}

/* OK: shown for a question opened again with Change, or picked with the keyboard; a tap moves on by itself */
.list-questionnaire__ok {
  display: none;
  margin: 14px 0 0 38px;
}

.list-questionnaire__step.shows-ok .list-questionnaire__ok { display: inline-block; }

/* The contact step's fields (addField), side by side */
.list-questionnaire__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 0 0 38px;
}

.list-questionnaire__field {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}

.list-questionnaire__optional {
  color: var(--quiz-muted);
  font-weight: 400;
}

.list-questionnaire__input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border: 1.5px solid var(--quiz-line);
  border-radius: calc(var(--look-radius, 28px) * 0.5);
  background: var(--quiz-card);
  color: inherit;
  font: inherit;
  font-weight: 400;
}

.list-questionnaire__input:focus-visible {
  border-color: var(--quiz-accent);
  outline: none;
}

.list-questionnaire__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* The send button, under the contact step */
.list-questionnaire__actions { padding: 4px 0 0 38px; }

.list-questionnaire__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.list-questionnaire__ok,
.list-questionnaire__submit {
  padding: 12px 28px;
  border: 0;
  border-radius: var(--look-control-radius, 999px);
  background: var(--quiz-accent);
  color: var(--quiz-on-accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.list-questionnaire__submit { margin-top: 12px; }

.list-questionnaire__ok:hover,
.list-questionnaire__submit:hover { opacity: 0.88; }

:is(.list-questionnaire__ok, .list-questionnaire__submit, .list-questionnaire__change):focus-visible {
  outline: 2px solid var(--quiz-accent);
  outline-offset: 3px;
}

.list-questionnaire__submit[disabled] { opacity: 0.6; }

.list-questionnaire__note {
  margin-top: 12px;
  color: var(--quiz-muted);
  font-size: 14px;
}

/* After sending */
.list-questionnaire__error {
  margin: 16px 0 0 38px;
  color: var(--quiz-error);
  font-size: 15px;
}

.list-questionnaire__done {
  padding-top: 20px;
  border-top: 1px solid var(--quiz-line);
}

.list-questionnaire__done:focus { outline: none; }

.list-questionnaire__done-title {
  font-family: var(--look-display, inherit);
  font-size: calc(22px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 700);
}

.list-questionnaire__done-text {
  margin-top: 6px;
  color: var(--quiz-muted);
}

@media (max-width: 640px) {
  .list-questionnaire { padding: var(--section-space) 16px; }

  .list-questionnaire__card { padding: 28px 20px 32px; }

  .list-questionnaire__picked,
  .list-questionnaire__options,
  .list-questionnaire__fields,
  .list-questionnaire__actions,
  .list-questionnaire__error { padding-left: 0; margin-left: 0; }

  .list-questionnaire__ok { margin-left: 0; }

  .list-questionnaire__fields { grid-template-columns: 1fr; }

  .list-questionnaire__submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .list-questionnaire.is-stepping .list-questionnaire__step.is-open :is(.list-questionnaire__options, .list-questionnaire__fields) { animation: none; }

  .list-questionnaire__option { transition: none; }
}

/* templates/sections/step-list/steps.css */
/* Step list: the heading on the left, staying in view while numbered steps in rings run down the right,
   ruled apart; an optional photo under the button. Under 900px the steps sit under the heading. */

.step-list {
  --step-ink: #1a1916;
  --step-muted: #5c5c5c;
  --step-line: rgb(26 25 22 / 0.12);
  --step-button: #1a1916;
  --step-on-button: #fff;
  --step-gutter: 40px;

  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-space) var(--step-gutter);
  color: var(--step-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

:where(.step-list) h2,
:where(.step-list) h3,
:where(.step-list) p,
:where(.step-list) ol { margin: 0; padding: 0; }

/* The heading, the line under it and the button */
.step-list__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.step-list__kicker {
  margin-bottom: 10px;
  color: var(--step-muted);
  font-family: var(--look-label, inherit);
  font-size: calc(12px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.15em);
  text-transform: var(--look-label-case, uppercase);
}

.step-list__title {
  max-width: 13em;
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(30px, 2.7vw, 38px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 500);
  letter-spacing: var(--look-display-tracking, -0.02em);
  line-height: var(--look-display-leading, 1.2);
  text-transform: var(--look-display-case, none);
  text-wrap: balance;
}

.step-list__intro {
  max-width: 30em;
  margin-top: 20px;
  color: var(--step-muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.step-list__button {
  padding: 11px 24px;
  border-radius: var(--look-control-radius, 999px);
  background: var(--step-button);
  color: var(--step-on-button);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.step-list__button:hover { opacity: 0.86; }

/* The photo under the button (setImage) */
.step-list__picture {
  align-self: stretch;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--look-radius, 12px);
  background: color-mix(in srgb, var(--step-ink) 8%, transparent);
}

.step-list__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* On screens tall enough to hold it, the side stays in view beside the steps */
@media (min-width: 901px) and (min-height: 760px) {
  .step-list__side {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* The steps: a number in a ring, then the name, a line and a small tag */
.step-list__steps {
  list-style: none;
  counter-reset: step-list;
}

.step-list__step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 44px;
  padding: 30px 0;
  border-top: 1px solid var(--step-line);
  counter-increment: step-list;
}

.step-list__step:first-child {
  padding-top: 0;
  border-top: 0;
}

.step-list__step::before {
  content: counter(step-list, decimal-leading-zero);
  display: grid;
  grid-row: span 3;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border: 1px solid var(--step-line);
  border-radius: 50%;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.step-list__name {
  font-family: var(--look-display, inherit);
  font-size: calc(22px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 500);
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: var(--look-display-case, none);
}

.step-list__text {
  max-width: 34em;
  margin-top: 8px;
  color: var(--step-muted);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

.step-list__tag {
  margin-top: 16px;
  font-family: var(--look-label, inherit);
  font-size: calc(11px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.15em);
  text-transform: var(--look-label-case, uppercase);
}

@media (max-width: 900px) {
  .step-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .step-list {
    --step-gutter: 20px;
    gap: 32px;
  }

  .step-list__side { gap: 28px; }

  .step-list__step {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 18px;
    padding: 24px 0;
  }

  .step-list__step::before {
    width: 40px;
    height: 40px;
  }
}

/* templates/sections/question-list/questions.css */
/* Question list: the head stays beside the questions on wide screens; plus turns to minus. */

.question-list {
  --questions-ink: #1b2a3a;
  --questions-muted: #5f6b78;
  --questions-line: #e6e0d6;
  --questions-accent: #c2410c;
  --questions-button: #1b2a3a;
  --questions-on-button: #fff;
  --questions-gutter: 40px;
  --questions-display: var(--look-display, Georgia, "Times New Roman", serif);

  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-space) var(--questions-gutter);
  color: var(--questions-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
}

:where(.question-list) h2,
:where(.question-list) p { margin: 0; }

/* Heading and intro, staying in view beside the questions */
.question-list__head {
  position: sticky;
  top: 110px;
}

.question-list__head:empty { display: none; }

.question-list__head:empty + .question-list__items { grid-column: 1 / -1; }

.question-list__title {
  font-family: var(--questions-display);
  font-size: calc(clamp(32px, 4vw, 48px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 400);
  letter-spacing: var(--look-display-tracking, -0.015em);
  line-height: var(--look-display-leading, 1.1);
  text-wrap: balance;
  text-transform: var(--look-display-case, none);
}

.question-list__intro {
  margin-top: 14px;
  color: var(--questions-muted);
  font-size: 17px;
  line-height: 1.55;
}

.question-list__intro a { color: var(--questions-accent); }

/* The button under the heading (setButton): a call or a contact link for what the list doesn't answer */
.question-list__button {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 24px;
  border-radius: var(--look-control-radius, 999px);
  background: var(--questions-button);
  color: var(--questions-on-button);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.question-list__button:hover { opacity: 0.86; }

.question-list__button:focus-visible {
  outline: 2px solid var(--questions-button);
  outline-offset: 3px;
}

/* Questions */
.question-list__items { border-top: 1px solid var(--questions-line); }

.question-list__item { border-bottom: 1px solid var(--questions-line); }

.question-list__question {
  position: relative;
  padding: 24px 48px 24px 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.question-list__question::-webkit-details-marker { display: none; }

.question-list__question:focus-visible {
  outline: 2px solid var(--questions-ink);
  outline-offset: 4px;
}

/* The plus: two lines, the upright one lying down when open */
.question-list__question::before,
.question-list__question::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 1.5px;
  margin-top: -0.75px;
  background: currentColor;
  content: "";
  transition: rotate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.question-list__question::after { rotate: 90deg; }

.question-list__item[open]:not([data-closing]) > .question-list__question::after { rotate: 0deg; }

.question-list__answer { overflow: hidden; }

.question-list__answer p {
  max-width: 64ch;
  padding: 0 48px 26px 0;
  color: var(--questions-muted);
  font-size: 17px;
  line-height: 1.65;
}

.question-list__answer a { color: var(--questions-accent); }

@media (prefers-reduced-motion: reduce) {
  .question-list__question::before,
  .question-list__question::after,
  .question-list__button { transition: none; }
}

@media (max-width: 899px) {
  .question-list { grid-template-columns: minmax(0, 1fr); }

  .question-list__head { position: static; }
}

@media (max-width: 799px) {
  .question-list {
    --questions-gutter: 20px;

    gap: 32px;
  }

  .question-list__question {
    padding: 20px 40px 20px 0;
    font-size: 17px;
  }

  .question-list__answer p {
    padding-right: 0;
    font-size: 16px;
  }
}

/* templates/small-sections/cta-panel/cta.css */
/* CTA panel: a short centered ask on a band a shade off the page, with buttons from templates/buttons. */

.cta-panel {
  --cta-bg: light-dark(#f5f5f7, #0a0a0b);
  --cta-ink: light-dark(#0a0a0b, #fff);
  --cta-muted: light-dark(#5e5e63, #a3a3a6);
  --cta-line: color-mix(in srgb, var(--cta-ink) 8%, transparent);

  padding: 7rem 4vw;
  border-top: 1px solid var(--cta-line);
  /* A shade deeper than the page: a touch in light, half way to black in dark */
  background: light-dark(color-mix(in srgb, var(--cta-bg), #000 4%), color-mix(in srgb, var(--cta-bg), #000 50%));
  color: var(--cta-ink);
  font-family: var(--look-body, "Inter", system-ui, sans-serif);
  text-align: center;
}

/* On the page's own background instead of the deeper band (setDeep(false)) */
.cta-panel--flat { background: var(--cta-bg); }

:where(.cta-panel) h2,
:where(.cta-panel) p { margin: 0; }

.cta-panel__head {
  max-width: 720px;
  margin: 0 auto 32px;
  transition: opacity 1s ease, translate 1s ease;
}

.cta-panel__head.is-waiting {
  opacity: 0;
  translate: 0 60px;
}

.cta-panel__kicker {
  margin-bottom: 8px;
  color: var(--cta-muted);
  font-family: var(--look-label, "IBM Plex Mono", ui-monospace, monospace);
  font-size: calc(10px * var(--look-label-scale, 1));
  font-weight: 500;
  letter-spacing: var(--look-label-tracking, 0.22em);
  text-transform: var(--look-label-case, uppercase);
}

.cta-panel__title {
  margin-bottom: 16px;
  font-family: var(--look-display, "Sora", system-ui, sans-serif);
  font-size: calc(clamp(2rem, 5vw, 3.5rem) * var(--look-display-scale, 1));
  font-weight: 800;
  letter-spacing: var(--look-display-tracking, -0.04em);
  line-height: 1;
  text-transform: var(--look-display-case, none);
  text-wrap: balance;
}

.cta-panel__intro {
  max-width: 560px;
  margin: 0 auto;
  color: var(--cta-muted);
  font-size: 16px;
  line-height: 1.6;
}

.cta-panel__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .cta-panel { padding: 5rem 5vw; }

  .cta-panel__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-panel__buttons > * {
    width: 100%;
    max-width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-panel__head { transition: none; }
}

/* templates/buttons/call-button/button.css */
/* Call button: a phone that rings on hover, the words, and the number under them. */

.call-button {
  --button-color: #c2410c;
  --button-on-color: #fff;

  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 7px 24px 7px 7px;
  border-radius: var(--look-control-radius, 999px);
  background: var(--button-color);
  color: var(--button-on-color);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  line-height: 1.2;
  text-decoration: none;
  transition: scale 0.15s ease;
}

.call-button__icon {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: calc(var(--look-control-radius, 999px) - 7px);
  background: color-mix(in srgb, var(--button-on-color) 18%, transparent);
}

.call-button__icon::before {
  --phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");

  width: 18px;
  height: 18px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--phone) center / contain no-repeat;
  mask: var(--phone) center / contain no-repeat;
}

.call-button__text {
  display: grid;
  gap: 2px;
}

.call-button__label {
  font-size: 16px;
  font-weight: 600;
}

.call-button__number {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

/* Ringing: a quick shake that dies away */
.call-button:hover .call-button__icon::before,
.call-button:focus-visible .call-button__icon::before { animation: call-button-ring 0.9s ease; }

@keyframes call-button-ring {
  0%, 100% { rotate: 0deg; }
  15% { rotate: -14deg; }
  30% { rotate: 12deg; }
  45% { rotate: -10deg; }
  60% { rotate: 7deg; }
  75% { rotate: -3deg; }
}

.call-button:active { scale: 0.98; }

/* The focus ring in the button's color; the text's white would vanish on a white page */
.call-button:focus-visible { outline-color: var(--button-color); }

@media (prefers-reduced-motion: reduce) {
  .call-button { transition: none; }
  .call-button:hover .call-button__icon::before,
  .call-button:focus-visible .call-button__icon::before { animation: none; }
}

/* templates/buttons/outline-button/button.css */
/* Outline button: the second action, beside a solid one. Paper, a fine border and a soft shadow. */

.outline-button {
  --button-ink: #030303;
  --button-paper: #fff;

  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--button-ink) 18%, transparent);
  border-radius: var(--look-control-radius, 8px);
  background: var(--button-paper);
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.06);
  color: var(--button-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.outline-button:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--button-ink) 32%, transparent);
  background: color-mix(in srgb, var(--button-ink) 4%, var(--button-paper));
}

.outline-button:active:not(:disabled) {
  background: color-mix(in srgb, var(--button-ink) 8%, var(--button-paper));
  box-shadow: none;
}

.outline-button:focus-visible { outline-offset: 2px; }

.outline-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .outline-button { transition: none; }
}

/* templates/footers/columns-footer/footer.css */
/* Columns footer: the name, columns of links and a bottom row; columns two by two under 700px. */

/* Short pages: the footer sinks to the window's bottom when it's the last thing on the page. */
body:has(> .columns-footer):not(:has(> .columns-footer ~ :not(script))) {
  min-height: 100vh;
  min-height: 100dvh;
}

body:not(:has(> .columns-footer ~ :not(script))) > .columns-footer {
  position: sticky;
  top: 100vh;
}

.columns-footer {
  --footer-bg: #f7f7f5;
  --footer-ink: #111;
  --footer-muted: color-mix(in srgb, var(--footer-ink) 60%, var(--footer-bg));
  --footer-line: color-mix(in srgb, var(--footer-ink) 10%, var(--footer-bg));
  --footer-gutter: 40px;

  padding: 64px max(var(--footer-gutter), (100% - 1120px) / 2) 28px;
  border-top: 1px solid var(--footer-line);
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-family: var(--look-body, Inter, system-ui, sans-serif);
  font-size: 15px;
  overflow-wrap: anywhere;
}

:where(.columns-footer) p,
:where(.columns-footer) h2 { margin: 0; }

:where(.columns-footer) a {
  color: inherit;
  text-decoration: none;
}

.columns-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
}

.columns-footer__about { max-width: 280px; }

.columns-footer__brand {
  font-family: var(--look-display, inherit);
  font-size: 20px;
  font-weight: var(--look-display-weight, 600);
  letter-spacing: -0.01em;
  text-transform: var(--look-display-case, none);
}

.columns-footer__tagline {
  margin-top: 12px;
  color: var(--footer-muted);
  line-height: 1.5;
}

/* Columns */
.columns-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
}

.columns-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 120px;
}

.columns-footer__title {
  margin-bottom: 4px;
  color: var(--footer-muted);
  font-family: var(--look-label, inherit);
  font-size: calc(13px * var(--look-label-scale, 1));
  font-weight: 500;
  letter-spacing: var(--look-label-tracking, normal);
  text-transform: var(--look-label-case, none);
  text-wrap: balance;
}

.columns-footer__column a { transition: color 0.2s; }
.columns-footer__column a:hover { color: var(--footer-muted); }

/* Bottom row */
.columns-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--footer-line);
  color: var(--footer-muted);
  font-size: 14px;
}

.columns-footer__back { transition: color 0.2s; }
.columns-footer__back:hover { color: var(--footer-ink); }

@media (max-width: 699px) {
  .columns-footer {
    --footer-gutter: 24px;

    padding-top: 48px;
  }

  .columns-footer__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    width: 100%;
  }

  .columns-footer__column { min-width: 0; }

  .columns-footer__bottom { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .columns-footer a { transition: none; }
}

/* templates/others/back-to-top/top.css */
/* Back to top: a round frosted button in the bottom corner, shown once the page is scrolled down. */

.back-to-top {
  --top-ink: light-dark(#0a0a0b, #fff);

  position: fixed;
  z-index: 99;
  right: 2rem;
  /* --page-bottom-bar: the height of a bar docked at the bottom (the jump bar on phones) */
  bottom: calc(2rem + var(--page-bottom-bar, 0px));
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--top-ink) 15%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--top-ink) 8%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--top-ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.back-to-top.is-shown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  border-color: color-mix(in srgb, var(--top-ink) 35%, transparent);
  background: color-mix(in srgb, var(--top-ink) 15%, transparent);
}

.back-to-top__arrow { transition: transform 0.2s ease; }
.back-to-top:hover .back-to-top__arrow { transform: translateY(-2px); }

@media (max-width: 1024px) {
  .back-to-top {
    right: 1.5rem;
    bottom: calc(1.5rem + var(--page-bottom-bar, 0px));
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top__arrow { transition: none; }
}

/* templates/others/phone-dock/dock.css */
/* Phone dock: a pill at the bottom middle of the screen on wide screens, a full-width bar on phones,
   with call in the accent color. Add it once. */

.phone-dock {
  --dock-bg: #fff;
  --dock-ink: #14181d;
  --dock-line: rgb(20 24 29 / 0.12);
  --dock-accent: #1f3a5f;
  --dock-on-accent: #fff;

  position: fixed;
  z-index: 98;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--dock-line);
  border-radius: var(--look-control-radius, 999px);
  background: var(--dock-bg);
  box-shadow: 0 10px 30px rgb(20 24 29 / 0.14);
  color: var(--dock-ink);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  transform: translateX(-50%);
}

.phone-dock__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--look-control-radius, 999px);
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.phone-dock__item:hover { background: color-mix(in srgb, var(--dock-ink) 7%, transparent); }

.phone-dock__item--call {
  background: var(--dock-accent);
  color: var(--dock-on-accent);
}

.phone-dock__item--call:hover { background: color-mix(in srgb, var(--dock-accent) 86%, var(--dock-ink)); }

.phone-dock__item--call:focus-visible { outline-color: var(--dock-accent); outline-offset: 3px; }

.phone-dock__icon { flex: none; }

/* Only on phones (setDesktop(false)) */
.phone-dock[data-desktop="off"] { display: none; }

/* Wide screens: the page keeps room at the end, so the pill never covers the footer's last line */
@media (min-width: 768px) {
  body:has(.phone-dock:not([data-desktop="off"])) { padding-bottom: 88px; }
}

/* Phones: a bar across the bottom, its items in equal columns; the page keeps room for it at the end */
@media (max-width: 767px) {
  .phone-dock,
  .phone-dock[data-desktop="off"] {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: 0 -6px 20px rgb(20 24 29 / 0.08);
    transform: none;
  }

  .phone-dock__item {
    padding: 12px 8px;
    border-radius: var(--look-control-radius, 10px);
  }

  :root:has(.phone-dock) { --page-bottom-bar: 66px; }
  body:has(.phone-dock) { padding-bottom: 66px; }
}

/* templates/palettes/palettes.css */


/* Dark conifer green and silver. Private wealth, sustainability, estates, law. */
[data-palette="spruce"] {
  color-scheme: dark;
  --palette-bg: light-dark(#f4f6f5, #0e221e);
  --palette-surface: light-dark(#e4eae8, #142e29);
  --palette-ink: light-dark(#0f241f, #e5ece9);
  --palette-muted: light-dark(#4b5f59, #9fb3ac);
  --palette-line: light-dark(#cfdad6, #21413a);
  --palette-accent: light-dark(#1d4a40, #c3d6cf);
  --palette-on-accent: light-dark(#fff, #0e221e);
  --palette-highlight: light-dark(#3f7a6b, #6fa898);
}


/* The page's mode (setMode) wins over each palette's own */
:is([data-mode="light"] [data-palette], [data-palette][data-mode="light"]) { color-scheme: light; }
:is([data-mode="dark"] [data-palette], [data-palette][data-mode="dark"]) { color-scheme: dark; }
:is([data-mode="auto"] [data-palette], [data-palette][data-mode="auto"]) { color-scheme: light dark; }


/* Whatever wears a palette gets its background and text, unless the template paints its own. */
:where([data-palette]:not(.pill-menu, .drawer-menu--overlay)) {
  background-color: var(--palette-bg);
  color: var(--palette-ink);
}

/* The page's palette wins over a plain body background added with addCss. */
body[data-palette] {
  background-color: var(--palette-bg);
  color: var(--palette-ink);
}

:is([data-palette] .bar-menu, .bar-menu[data-palette]) {
  --bar-ink: var(--palette-ink);
  --bar-muted: var(--palette-muted);
  --bar-paper: var(--palette-bg);
  --bar-line: var(--palette-line);
  --bar-accent: var(--palette-accent);
  --bar-on-accent: var(--palette-on-accent);
}

/* Footers (their softer text and lines are mixed from these two) */
:is([data-palette] :is(.center-footer, .columns-footer, .line-footer, .wordmark-footer),
    :is(.center-footer, .columns-footer, .line-footer, .wordmark-footer)[data-palette]) {
  --footer-bg: var(--palette-surface);
  --footer-ink: var(--palette-ink);
}

/* Questionnaires: the card on the surface; the side list in the accent with its words in on-accent */
:is([data-palette] :is(.tile-questionnaire, .side-questionnaire, .chat-questionnaire, .list-questionnaire),
    :is(.tile-questionnaire, .side-questionnaire, .chat-questionnaire, .list-questionnaire)[data-palette]) {
  --quiz-ink: var(--palette-ink);
  --quiz-muted: var(--palette-muted);
  --quiz-faint: color-mix(in srgb, var(--palette-muted) 60%, var(--palette-surface));
  --quiz-line: var(--palette-line);
  --quiz-card: var(--palette-surface);
  --quiz-bubble: color-mix(in srgb, var(--palette-ink) 7%, var(--palette-surface));
  --quiz-accent: var(--palette-accent);
  --quiz-on-accent: var(--palette-on-accent);
  --quiz-side: var(--palette-accent);
  --quiz-side-ink: var(--palette-on-accent);
  --quiz-side-muted: color-mix(in srgb, var(--palette-on-accent) 72%, var(--palette-accent));
  --quiz-side-mark: color-mix(in srgb, var(--palette-on-accent) 70%, var(--palette-accent));
}

:is([data-palette] .photo-carousel, .photo-carousel[data-palette]) {
  --carousel-ink: var(--palette-ink);
  --carousel-muted: var(--palette-muted);
  --carousel-arrow-bg: var(--palette-bg);
  --carousel-arrow-ink: var(--palette-ink);
}

:is([data-palette] .question-list, .question-list[data-palette]) {
  --questions-ink: var(--palette-ink);
  --questions-muted: var(--palette-muted);
  --questions-line: var(--palette-line);
  --questions-accent: var(--palette-accent);
  --questions-button: var(--palette-accent);
  --questions-on-button: var(--palette-on-accent);
}

:is([data-palette] .step-list, .step-list[data-palette]) {
  --step-ink: var(--palette-ink);
  --step-muted: var(--palette-muted);
  --step-line: var(--palette-line);
  --step-button: var(--palette-accent);
  --step-on-button: var(--palette-on-accent);
}

/* The cutout hero's band stays dark under its light words: the accent, deepened, in light mode; the page's
   own dark background tinted with the accent in dark mode, where the accent is light */
:is([data-palette] .cutout-hero, .cutout-hero[data-palette]) {
  --cutout-bg: light-dark(var(--palette-accent), color-mix(in srgb, var(--palette-accent) 24%, var(--palette-bg)));
  --cutout-deep: light-dark(color-mix(in srgb, var(--palette-accent) 55%, #02060c), var(--palette-bg));
  --cutout-tick: light-dark(color-mix(in srgb, var(--palette-accent) 30%, #fff), var(--palette-accent));
  --cutout-button: light-dark(color-mix(in srgb, var(--palette-accent) 10%, #fff), var(--palette-accent));
  --cutout-on-button: light-dark(color-mix(in srgb, var(--palette-accent) 55%, #02060c), var(--palette-on-accent));
}

:is([data-palette] .service-cards, .service-cards[data-palette]) {
  --cards-ink: var(--palette-ink);
  --cards-muted: var(--palette-muted);
}

:is([data-palette] .cta-panel, .cta-panel[data-palette]) {
  --cta-bg: var(--palette-bg);
  --cta-ink: var(--palette-ink);
  --cta-muted: var(--palette-muted);
}

:is([data-palette] .back-to-top, .back-to-top[data-palette]) { --top-ink: var(--palette-ink); }

:is([data-palette] .phone-dock, .phone-dock[data-palette]) {
  --dock-bg: var(--palette-bg);
  --dock-ink: var(--palette-ink);
  --dock-line: var(--palette-line);
  --dock-accent: var(--palette-accent);
  --dock-on-accent: var(--palette-on-accent);
}

/* The buttons in templates/buttons share these roles; the glass button keeps its own colors. */
:is(
  [data-palette] :is(.solid-button, .outline-button, .ghost-button, .link-button, .icon-button, .caption-button, .badge-button, .notice-button, .split-button, .submit-button, .edge-button, .avatar-button),
  :is(.solid-button, .outline-button, .ghost-button, .link-button, .icon-button, .caption-button, .badge-button, .notice-button, .split-button, .submit-button, .edge-button, .avatar-button)[data-palette],
  [data-palette] :is(.press-button, .arrow-button, .wipe-button, .roll-button, .shine-button, .trace-button, .corner-button, .line-button, .highlight-button, .price-button, .call-button, .map-button, .copy-button, .ticket-button, .ring-button),
  :is(.press-button, .arrow-button, .wipe-button, .roll-button, .shine-button, .trace-button, .corner-button, .line-button, .highlight-button, .price-button, .call-button, .map-button, .copy-button, .ticket-button, .ring-button)[data-palette]
) {
  --button-color: var(--palette-accent);
  --button-on-color: var(--palette-on-accent);
  --button-ink: var(--palette-ink);
  --button-paper: var(--palette-surface);
  --button-highlight: var(--palette-highlight);
}



/* templates/looks/looks.css */
/* Looks: --look-* font and corner roles, worn via data-look; templates fall back to their own. */

/* Geist throughout, softly rounded. Cafés, bakeries, clinics, accountants. */
[data-look="minimal"] {
  --look-display: "Geist", system-ui, sans-serif;
  --look-display-weight: 600;
  --look-display-tracking: -0.035em;
  --look-display-leading: 1.04;
  --look-display-case: none;
  --look-display-scale: 0.96;
  --look-body: "Geist", system-ui, sans-serif;
  --look-label: "Geist", system-ui, sans-serif;
  --look-label-case: none;
  --look-label-tracking: 0;
  --look-label-scale: 1;
  --look-radius: 10px;
  --look-control-radius: 6px;
}

/* Heavy upper-case Archivo, square corners. Garages, electricians, builders. */
[data-look="industrial"] {
  --look-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --look-display-weight: 800;
  --look-display-tracking: -0.025em;
  --look-display-leading: 0.94;
  --look-display-case: uppercase;
  --look-display-scale: 0.9;
  --look-body: "Archivo", system-ui, sans-serif;
  --look-label: "JetBrains Mono", ui-monospace, monospace;
  --look-label-case: uppercase;
  --look-label-tracking: 0.08em;
  --look-label-scale: 0.9;
  --look-radius: 0;
  --look-control-radius: 0;
}

/* Cormorant Garamond over Manrope, pill buttons. Salons, spas, florists, weddings. */
[data-look="luxe"] {
  --look-display: "Cormorant Garamond", Georgia, serif;
  --look-display-weight: 500;
  --look-display-tracking: -0.01em;
  --look-display-leading: 1.02;
  --look-display-case: none;
  --look-display-scale: 1.14;
  --look-body: "Manrope", system-ui, sans-serif;
  --look-label: "Manrope", system-ui, sans-serif;
  --look-label-case: uppercase;
  --look-label-tracking: 0.16em;
  --look-label-scale: 0.9;
  --look-radius: 24px;
  --look-control-radius: 999px;
}

/* Young Serif over Instrument Sans. Restaurants, wine bars, delis, guesthouses. */
[data-look="editorial"] {
  --look-display: "Young Serif", Georgia, serif;
  --look-display-weight: 400;
  --look-display-tracking: -0.015em;
  --look-display-leading: 1.06;
  --look-display-case: none;
  --look-display-scale: 0.94;
  --look-body: "Instrument Sans", system-ui, sans-serif;
  --look-label: "Instrument Sans", system-ui, sans-serif;
  --look-label-case: none;
  --look-label-tracking: 0.01em;
  --look-label-scale: 1;
  --look-radius: 4px;
  --look-control-radius: 4px;
}

/* Sora over Inter, mono labels and pill buttons. Car dealers, electronics, tech, studios. */
[data-look="sleek"] {
  --look-display: "Sora", system-ui, sans-serif;
  --look-display-weight: 700;
  --look-display-tracking: -0.03em;
  --look-display-leading: 1.05;
  --look-display-case: none;
  --look-display-scale: 1;
  --look-body: "Inter", system-ui, sans-serif;
  --look-label: "IBM Plex Mono", ui-monospace, monospace;
  --look-label-case: uppercase;
  --look-label-tracking: 0.16em;
  --look-label-scale: 0.85;
  --look-radius: 16px;
  --look-control-radius: 999px;
}

/* Tight Inter headings, square corners. Architects, consultancies, design studios. */
[data-look="swiss"] {
  --look-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --look-display-weight: 600;
  --look-display-tracking: -0.045em;
  --look-display-leading: 0.98;
  --look-display-case: none;
  --look-display-scale: 1.02;
  --look-body: "Inter", system-ui, sans-serif;
  --look-label: "Inter", system-ui, sans-serif;
  --look-label-case: uppercase;
  --look-label-tracking: 0.08em;
  --look-label-scale: 0.8;
  --look-radius: 0;
  --look-control-radius: 0;
}

/* IBM Plex Sans with Plex Mono labels, small corners. Engineering, insurers, public sector. */
[data-look="corporate"] {
  --look-display: "IBM Plex Sans", system-ui, sans-serif;
  --look-display-weight: 600;
  --look-display-tracking: -0.02em;
  --look-display-leading: 1.1;
  --look-display-case: none;
  --look-display-scale: 0.96;
  --look-body: "IBM Plex Sans", system-ui, sans-serif;
  --look-label: "IBM Plex Mono", ui-monospace, monospace;
  --look-label-case: uppercase;
  --look-label-tracking: 0.06em;
  --look-label-scale: 0.85;
  --look-radius: 4px;
  --look-control-radius: 4px;
}

/* Source Serif over Source Sans, fine corners. Law firms, private banks, accountants. */
[data-look="classic"] {
  --look-display: "Source Serif 4", Georgia, serif;
  --look-display-weight: 600;
  --look-display-tracking: -0.015em;
  --look-display-leading: 1.08;
  --look-display-case: none;
  --look-display-scale: 1;
  --look-body: "Source Sans 3", system-ui, sans-serif;
  --look-label: "Source Sans 3", system-ui, sans-serif;
  --look-label-case: uppercase;
  --look-label-tracking: 0.12em;
  --look-label-scale: 0.85;
  --look-radius: 2px;
  --look-control-radius: 2px;
}

/* Newsreader throughout, square corners. Publishers, think tanks, universities, journals. */
[data-look="gazette"] {
  --look-display: "Newsreader", Georgia, serif;
  --look-display-weight: 500;
  --look-display-tracking: -0.02em;
  --look-display-leading: 1.04;
  --look-display-case: none;
  --look-display-scale: 1.08;
  --look-body: "Newsreader", Georgia, serif;
  --look-label: "Newsreader", Georgia, serif;
  --look-label-case: uppercase;
  --look-label-tracking: 0.12em;
  --look-label-scale: 0.85;
  --look-radius: 0;
  --look-control-radius: 0;
}

/* JetBrains Mono headings over Inter. Developer tools, security, data, labs. */
[data-look="technical"] {
  --look-display: "JetBrains Mono", ui-monospace, monospace;
  --look-display-weight: 600;
  --look-display-tracking: -0.04em;
  --look-display-leading: 1.08;
  --look-display-case: none;
  --look-display-scale: 0.86;
  --look-body: "Inter", system-ui, sans-serif;
  --look-label: "JetBrains Mono", ui-monospace, monospace;
  --look-label-case: uppercase;
  --look-label-tracking: 0.04em;
  --look-label-scale: 0.85;
  --look-radius: 6px;
  --look-control-radius: 6px;
}

/* Plus Jakarta Sans throughout, rounded. Fintech, software, health tech. */
[data-look="modern"] {
  --look-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --look-display-weight: 700;
  --look-display-tracking: -0.02em;
  --look-display-leading: 1.04;
  --look-display-case: none;
  --look-display-scale: 0.98;
  --look-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --look-label: "Plus Jakarta Sans", system-ui, sans-serif;
  --look-label-case: uppercase;
  --look-label-tracking: 0.1em;
  --look-label-scale: 0.82;
  --look-radius: 14px;
  --look-control-radius: 10px;
}

/* Barlow Condensed capitals over Barlow. Infrastructure, energy, transport, public services. */
[data-look="civic"] {
  --look-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --look-display-weight: 600;
  --look-display-tracking: 0;
  --look-display-leading: 0.96;
  --look-display-case: uppercase;
  --look-display-scale: 1.12;
  --look-body: "Barlow", system-ui, sans-serif;
  --look-label: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --look-label-case: uppercase;
  --look-label-tracking: 0.08em;
  --look-label-scale: 1;
  --look-radius: 2px;
  --look-control-radius: 2px;
}

/* Under a look: its body font, lining numbers and no fake italics. */
:where([data-look]) {
  font-family: var(--look-body);
  font-feature-settings: "lnum";
  font-synthesis-style: none;
}

/* site.css */
[data-look="modern"] { --look-radius: 24px; --look-control-radius: 999px; }
html { scroll-padding-top: 90px; }
@media (max-width: 959px) { .bar-menu__panel { border-radius: 0 0 28px 28px; } }
/* StorySplit and PillarGrid: on the page's own surface, lined up with the 1120px sections around them */
.story-split, .pillar-grid { padding-block: var(--section-space); background: transparent; border-top: 0; }
@media (min-width: 769px) { .story-split, .pillar-grid { padding-inline: max(40px, calc((100% - 1120px) / 2)); } }

/* added to templates/menus/bar-menu/index.html */
.has-logo { display: inline-flex; align-items: center; gap: 10px; }
.menu-logo { display: block; width: auto; height: 32px; }

