/* 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/others/breadcrumbs/crumbs.css */
/* Breadcrumbs: a quiet line of links from the home page down, lined up with the sections. */

.breadcrumbs {
  --crumbs-ink: #1b2a3a;
  --crumbs-muted: #5f6b78;

  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  color: var(--crumbs-muted);
  font-family: var(--look-body, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  font-size: 14px;
  line-height: 1.5;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A small chevron between crumbs, drawn so screen readers don't read it out */
.breadcrumbs__crumb + .breadcrumbs__crumb::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 12px 0 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  vertical-align: 1px;
  rotate: 45deg;
  opacity: 0.6;
  content: "";
}

a.breadcrumbs__link {
  color: inherit;
  text-decoration: underline 1px transparent;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a.breadcrumbs__link:hover {
  color: var(--crumbs-ink);
  text-decoration-color: currentColor;
}

.breadcrumbs__link[aria-current] {
  color: var(--crumbs-ink);
  font-weight: 500;
}

@media (max-width: 640px) {
  .breadcrumbs { padding: 16px 20px; }
}

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

/* templates/heroes/banner-hero/hero.css */
/* Banner hero: a short band of darkened photo, the kicker, title and lead centered over it. */

.banner-hero {
  --hero-bg: light-dark(#f5f5f7, #0a0a0b);
  --hero-ink: light-dark(#0a0a0b, #fff);
  --hero-muted: light-dark(#5e5e63, #b8b8bc);
  --hero-accent: #fff;
  --hero-on-accent: #0a0a0b;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(8rem, 19vh, 11rem) 6vw clamp(2.5rem, 6vh, 4rem);
  overflow: hidden;
  background: var(--hero-bg);
  color: var(--hero-ink);
  /* Always over a darkened photo, so always the palette's dark side */
  color-scheme: dark;
  font-family: var(--look-body, "Inter", system-ui, sans-serif);
  text-align: center;
}

:where(.banner-hero) h1,
:where(.banner-hero) p { margin: 0; }

/* Taller, for a page whose hero is most of the first screen (setTall) */
.banner-hero--tall {
  min-height: 58vh;
  box-sizing: border-box;
  padding-top: 14vh;
  padding-bottom: 9vh;
}

.banner-hero__picture {
  position: absolute;
  inset: 0;
}

.banner-hero__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-hero__picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 0.52), rgb(0 0 0 / 0.6));
  content: "";
}

.banner-hero__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner-hero__kicker {
  margin-bottom: 24px;
  color: var(--hero-muted);
  font-family: var(--look-label, "IBM Plex Mono", ui-monospace, monospace);
  font-size: calc(11px * var(--look-label-scale, 1));
  font-weight: 500;
  letter-spacing: var(--look-label-tracking, 0.25em);
  text-transform: var(--look-label-case, uppercase);
}

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

.banner-hero__lead {
  max-width: 520px;
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

/* The phone and button (setPhone, setButton): a solid pill that dials, an outlined one beside it */
.banner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.banner-hero__phone,
.banner-hero__button {
  padding: 14px 26px;
  border-radius: var(--look-control-radius, 999px);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, opacity 0.2s;
}

.banner-hero__phone {
  background: var(--hero-accent);
  color: var(--hero-on-accent);
  font-variant-numeric: tabular-nums;
}

.banner-hero__phone:hover { opacity: 0.88; }

.banner-hero__button {
  box-shadow: inset 0 0 0 1.5px var(--hero-ink);
  color: var(--hero-ink);
}

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

@media (max-width: 768px) {
  .banner-hero { padding: 12vh 5vw 8vh; }

  .banner-hero__actions {
    flex-direction: column;
    align-self: stretch;
  }
  .banner-hero--tall { min-height: 52vh; }
}

/* templates/sections/image-rows/rows.css */
/* Image rows: a 4:3 photo beside its words, swapping sides each row. */

.image-rows {
  --rows-ink: #1b2a3a;
  --rows-muted: #5f6b78;
  --rows-accent: #c2410c;
  --rows-gutter: 40px;
  --rows-display: var(--look-display, Georgia, "Times New Roman", serif);

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

:where(.image-rows) h2,
:where(.image-rows) h3,
:where(.image-rows) p { margin: 0; }

/* Heading and intro */
.image-rows__head { max-width: 640px; }
.image-rows__head:empty { display: none; }

.image-rows__title {
  font-family: var(--rows-display);
  font-size: calc(clamp(32px, 4.4vw, 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);
}

.image-rows__intro {
  margin-top: 14px;
  color: var(--rows-muted);
  font-size: 18px;
  line-height: 1.5;
}

/* Rows: photo left in odd rows, right in even ones */
.image-rows__list {
  display: grid;
  gap: 104px;
  margin-top: 72px;
}

.image-rows__head:empty + .image-rows__list { margin-top: 0; }

.image-rows__row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 72px;
}

.image-rows__row:nth-child(even),
.image-rows--start-right .image-rows__row:nth-child(odd) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.image-rows__row:nth-child(even) .image-rows__picture,
.image-rows--start-right .image-rows__row:nth-child(odd) .image-rows__picture { order: 2; }

.image-rows--start-right .image-rows__row:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.image-rows--start-right .image-rows__row:nth-child(even) .image-rows__picture { order: 0; }

.image-rows__picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--look-radius, 4px);
  background: color-mix(in srgb, var(--rows-ink) 8%, transparent);
}

.image-rows__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The words */
.image-rows__text { max-width: 440px; }

.image-rows__name {
  font-family: var(--rows-display);
  font-size: calc(clamp(26px, 2.8vw, 36px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 400);
  line-height: 1.15;
  text-transform: var(--look-display-case, none);
}

.image-rows__body {
  margin-top: 16px;
  color: var(--rows-muted);
  font-size: 17px;
  line-height: 1.65;
}

.image-rows__body a { color: var(--rows-accent); }

/* Ticked points under the text (addRowPoint), so the words fill the height beside the photo */
.image-rows__points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--rows-ink) 12%, transparent);
  list-style: none;
}

.image-rows__point {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.5;
}

/* The tick: a short and a long line in the accent */
.image-rows__point::before {
  position: absolute;
  top: 0.32em;
  left: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--rows-accent);
  border-bottom: 2px solid var(--rows-accent);
  rotate: 45deg;
  content: "";
}

.image-rows__link {
  display: inline-block;
  margin-top: 22px;
  color: var(--rows-accent);
  font-weight: 600;
  text-decoration: none;
}

.image-rows__link::after {
  display: inline-block;
  margin-left: 8px;
  content: "→";
  transition: translate 0.25s ease;
}

.image-rows__link:hover::after { translate: 4px 0; }

/* Coming into view */
.image-rows__picture { transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.25, 1); }
.image-rows__image { transition: scale 1.6s cubic-bezier(0.3, 0, 0.2, 1); }
.image-rows__text { transition: opacity 0.8s ease 0.25s, translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }

.image-rows__picture.is-waiting { clip-path: inset(100% 0 0 0); }
.image-rows__picture.is-waiting .image-rows__image { scale: 1.15; }

.image-rows__text.is-waiting {
  opacity: 0;
  translate: 0 24px;
}

@media (max-width: 799px) {
  .image-rows {
    --rows-gutter: 20px;
  }

  .image-rows__intro { font-size: 17px; }

  .image-rows__list {
    gap: 64px;
    margin-top: 48px;
  }

  /* (:nth-child(n) to outweigh the side-swapping rules above) */
  .image-rows .image-rows__row:nth-child(n) {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .image-rows .image-rows__row:nth-child(n) .image-rows__picture { order: 0; }
}

/* templates/sections/included-list/included.css */
/* Included list: rounded tiles side by side, one per room or part, each a name over a ticked list, and a
   note under them. As many across as fit, at least 240px wide each. */

.included-list {
  --included-tile: #eef1f4;
  --included-ink: #14181d;
  --included-muted: #55606b;
  --included-line: rgb(20 24 29 / 0.12);
  --included-tick: #1f3a5f;
  --included-gutter: 40px;

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

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

/* The heading on the left, the intro at the bottom right */
.included-list__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 64px;
  margin-bottom: 40px;
}

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

.included-list__kicker {
  grid-column: 1 / -1;
  color: var(--included-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);
}

.included-list__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(32px, 3.6vw, 52px) * 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.15);
  text-transform: var(--look-display-case, none);
}

.included-list__intro {
  max-width: 320px;
  color: var(--included-muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
  text-wrap: pretty;
}

/* The tiles */
.included-list__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.included-list__group {
  padding: 30px 28px;
  border-radius: var(--look-radius, 20px);
  background: var(--included-tile);
}

.included-list__name {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--included-line);
  font-family: var(--look-display, inherit);
  font-size: calc(22px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 500);
  line-height: 1.25;
  text-transform: var(--look-display-case, none);
}

/* Each line after a tick */
.included-list__items {
  margin-top: 18px;
  list-style: none;
}

.included-list__item {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
}

.included-list__item + .included-list__item { margin-top: 12px; }

.included-list__item::before {
  content: "";
  position: absolute;
  top: 0.22em;
  left: 2px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--included-tick);
  border-bottom: 2px solid var(--included-tick);
  transform: rotate(45deg);
}

.included-list__note {
  margin-top: 24px;
  color: var(--included-muted);
  font-size: 14px;
}

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

  .included-list__head {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 28px;
  }

  .included-list__intro {
    max-width: none;
    text-align: left;
  }

  .included-list__group { padding: 26px 22px; }
}

/* templates/sections/symptom-list/symptoms.css */
/* Symptom list: one rounded panel of rows; each the fault in the customer's words, what's usually behind
   it, a price from, and a small call button on the right. Under 900px the cause drops under the fault. */

.symptom-list {
  --symptoms-panel: #eef1f4;
  --symptoms-ink: #14181d;
  --symptoms-muted: #55606b;
  --symptoms-line: rgb(20 24 29 / 0.12);
  --symptoms-accent: #1f3a5f;
  --symptoms-on-accent: #fff;
  --symptoms-gutter: 40px;

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

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

/* The panel the rows sit in */
.symptom-list__panel {
  padding: 50px;
  border-radius: var(--look-radius, 20px);
  background: var(--symptoms-panel);
}

/* The heading on the left, the intro at the bottom right */
.symptom-list__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--symptoms-line);
}

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

.symptom-list__kicker {
  grid-column: 1 / -1;
  color: var(--symptoms-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);
}

.symptom-list__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(32px, 3.6vw, 52px) * 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.15);
  text-transform: var(--look-display-case, none);
}

.symptom-list__intro {
  max-width: 320px;
  color: var(--symptoms-muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
  text-wrap: pretty;
}

/* The rows */
.symptom-list__list { list-style: none; }

.symptom-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 110px auto;
  align-items: center;
  column-gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid var(--symptoms-line);
}

.symptom-list__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.symptom-list__symptom {
  font-family: var(--look-display, inherit);
  font-size: calc(20px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 500);
  line-height: 1.3;
  text-transform: var(--look-display-case, none);
}

.symptom-list__cause {
  color: var(--symptoms-muted);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* "Usually", as a small label before the cause */
.symptom-list__usually {
  display: block;
  margin-bottom: 2px;
  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);
}

.symptom-list__price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.symptom-list__call {
  padding: 9px 18px 8px;
  border-radius: var(--look-control-radius, 999px);
  background: var(--symptoms-accent);
  color: var(--symptoms-on-accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.symptom-list__call:hover { opacity: 0.86; }
.symptom-list__call:focus-visible { outline-color: var(--symptoms-accent); outline-offset: 3px; }

@media (max-width: 900px) {
  .symptom-list__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
  }

  .symptom-list__symptom { grid-column: 1 / -1; }
  .symptom-list__cause { grid-column: 1 / -1; }
  .symptom-list__price { text-align: left; }
}

@media (max-width: 640px) {
  .symptom-list { --symptoms-gutter: 20px; }

  .symptom-list__panel { padding: 28px 22px; }

  .symptom-list__head {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 24px;
  }

  .symptom-list__intro {
    max-width: none;
    text-align: left;
  }
}

/* templates/sections/before-after-grid/pairs.css */
/* Before and after grid: cards of two photos in one box, the "after" cut away left of --split, which a
   range input over them sets; filter chips by service over the grid. Three across, two under 900px, one
   under 640px. */

.before-after {
  --pairs-ink: #14181d;
  --pairs-muted: #55606b;
  --pairs-line: rgb(20 24 29 / 0.14);
  --pairs-photo: #e6e9ed;
  --pairs-chip: #eef1f4;
  --pairs-accent: #1f3a5f;
  --pairs-on-accent: #fff;
  --pairs-gutter: 40px;

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

:where(.before-after) h2,
:where(.before-after) h3,
:where(.before-after) p,
:where(.before-after) ul { margin: 0; padding: 0; }

/* The heading on the left, the intro at the bottom right */
.before-after__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 64px;
  margin-bottom: 40px;
}

.before-after__head:empty { display: none; }

.before-after__kicker {
  grid-column: 1 / -1;
  color: var(--pairs-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);
}

.before-after__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(32px, 3.6vw, 52px) * 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.15);
  text-transform: var(--look-display-case, none);
}

.before-after__intro {
  max-width: 320px;
  color: var(--pairs-muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
  text-wrap: pretty;
}

/* The filter chips, made by the script from the services */
.before-after__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.before-after__filter {
  padding: 8px 16px 7px;
  border: 0;
  border-radius: var(--look-control-radius, 999px);
  background: var(--pairs-chip);
  color: var(--pairs-ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.before-after__filter[aria-pressed="true"] {
  background: var(--pairs-accent);
  color: var(--pairs-on-accent);
}

/* The cards */
.before-after__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  list-style: none;
}

.before-after__pair[hidden] { display: none; }

.before-after__pictures {
  position: relative;
  aspect-ratio: 9 / 7;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--look-radius, 16px);
  background: var(--pairs-photo);
}

.before-after__before,
.before-after__after {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-after__after { clip-path: inset(0 0 0 var(--split)); }

.before-after__label {
  position: absolute;
  top: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgb(10 12 15 / 0.6);
  color: #fff;
  font-family: var(--look-label, inherit);
  font-size: calc(11px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.12em);
  text-transform: var(--look-label-case, uppercase);
  pointer-events: none;
}

.before-after__label--before { left: 12px; }
.before-after__label--after { right: 12px; }

/* The line, with a round grip in the middle */
.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  pointer-events: none;
}

.before-after__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgb(10 12 15 / 0.35);
  transform: translate(-50%, -50%);
}

/* The range input: invisible, over the whole box, so dragging anywhere moves the line */
.before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after__pictures:has(.before-after__range:focus-visible) {
  outline: 2px solid var(--pairs-ink);
  outline-offset: 3px;
}

/* The words under each card */
.before-after__service {
  margin-bottom: 6px;
  color: var(--pairs-muted);
  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);
}

.before-after__name {
  font-family: var(--look-display, inherit);
  font-size: calc(19px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 500);
  line-height: 1.3;
  text-transform: var(--look-display-case, none);
}

.before-after__place {
  margin-top: 4px;
  color: var(--pairs-muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .before-after__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .before-after { --pairs-gutter: 20px; }

  .before-after__head {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 28px;
  }

  .before-after__intro {
    max-width: none;
    text-align: left;
  }

  .before-after__list { grid-template-columns: minmax(0, 1fr); }
}

/* 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/sections/service-bento/bento.css */
/* Service bento: tiles of mixed sizes, one big with a photo and one in the accent color. Four columns, where the
   photo tile takes two by two, so five services fill it exactly; under 900px two columns, under 640px one. */

.service-bento {
  --bento-tile: #f1f4fb;
  --bento-ink: #0a1433;
  --bento-muted: #4a5574;
  --bento-accent: #1b3fa0;
  --bento-on-accent: #fff;
  --bento-on-photo: #fff;
  --bento-shade: #08112b;
  --bento-gutter: 40px;

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

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

/* The heading, with the intro under it */
.service-bento__head {
  max-width: 40em;
  margin-bottom: 40px;
}

.service-bento__head:empty { display: none; }

.service-bento__kicker {
  margin-bottom: 14px;
  color: var(--bento-muted);
  font-family: var(--look-label, inherit);
  font-size: calc(13px * var(--look-label-scale, 1));
  letter-spacing: var(--look-label-tracking, 0.12em);
  text-transform: var(--look-label-case, uppercase);
}

.service-bento__title {
  font-family: var(--look-display, inherit);
  font-size: calc(clamp(32px, 3.6vw, 48px) * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 600);
  letter-spacing: var(--look-display-tracking, -0.02em);
  line-height: var(--look-display-leading, 1.1);
  text-transform: var(--look-display-case, none);
}

.service-bento__intro {
  margin-top: 16px;
  color: var(--bento-muted);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* The tiles */
.service-bento__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  grid-auto-flow: dense;
  gap: 16px;
  list-style: none;
}

.service-bento__tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--look-radius, 10px);
  background: var(--bento-tile);
}

/* A tile with a page of its own (setServiceHref): the name's link stretches over the whole tile, with an arrow after it */
.service-bento__link {
  color: inherit;
  text-decoration: none;
}

.service-bento__link::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  content: "";
}

.service-bento__link::after {
  display: inline-block;
  margin-left: 0.35em;
  transition: translate 0.2s;
  content: "→";
}

.service-bento__tile:has(.service-bento__link) { transition: translate 0.2s; }
.service-bento__tile:has(.service-bento__link:hover) { translate: 0 -3px; }
.service-bento__tile:has(.service-bento__link:hover) .service-bento__link::after { translate: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .service-bento__tile:has(.service-bento__link),
  .service-bento__link::after { transition: none; }
}

.service-bento__name {
  font-family: var(--look-display, inherit);
  font-size: calc(21px * var(--look-display-scale, 1));
  font-weight: var(--look-display-weight, 600);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: var(--look-display-case, none);
}

.service-bento__text {
  color: var(--bento-muted);
  font-size: 15px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* The small line at the bottom of a tile ("In 31 reviews") */
.service-bento__note {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--look-label, inherit);
  font-size: calc(13px * var(--look-label-scale, 1));
  font-weight: 600;
  letter-spacing: var(--look-label-tracking, 0);
  text-transform: var(--look-label-case, none);
}

/* The photo tile (setPhoto): two by two, the words at the bottom over a shade */
.service-bento__tile--photo {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  min-height: 456px;
  padding: 36px;
  color: var(--bento-on-photo);
}

.service-bento__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-bento__tile--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, color-mix(in srgb, var(--bento-shade) 88%, transparent) 0%, color-mix(in srgb, var(--bento-shade) 40%, transparent) 50%, transparent 78%);
}

.service-bento__tile--photo .service-bento__name { font-size: calc(30px * var(--look-display-scale, 1)); }

.service-bento__tile--photo .service-bento__text {
  max-width: 30em;
  color: inherit;
  font-size: 16px;
  opacity: 0.88;
}

.service-bento__tile--photo .service-bento__note {
  margin-top: 4px;
  padding-top: 0;
}

/* The accent tile (setAccent) */
.service-bento__tile--accent {
  background: var(--bento-accent);
  color: var(--bento-on-accent);
}

.service-bento__tile--accent .service-bento__text {
  color: inherit;
  opacity: 0.86;
}

@media (max-width: 900px) {
  .service-bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service-bento__tile--photo {
    grid-row: span 1;
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .service-bento { --bento-gutter: 20px; }

  .service-bento__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 12px;
  }

  .service-bento__tile { padding: 24px; }

  .service-bento__tile--photo {
    grid-column: auto;
    min-height: 340px;
    padding: 24px;
  }
}

/* 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/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);
}

:is([data-palette] .image-rows, .image-rows[data-palette]) { --rows-ink: var(--palette-ink); --rows-muted: var(--palette-muted); --rows-accent: var(--palette-accent); }

: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);
}

/* The service bento's photo tile keeps its dark shade and white words in every palette. */
:is([data-palette] .service-bento, .service-bento[data-palette]) {
  --bento-tile: var(--palette-surface);
  --bento-ink: var(--palette-ink);
  --bento-muted: var(--palette-muted);
  --bento-accent: var(--palette-accent);
  --bento-on-accent: var(--palette-on-accent);
}

/* The before/after labels and line stay white on their photos. */
:is([data-palette] .before-after, .before-after[data-palette]) {
  --pairs-ink: var(--palette-ink);
  --pairs-muted: var(--palette-muted);
  --pairs-photo: var(--palette-surface);
  --pairs-chip: var(--palette-surface);
  --pairs-accent: var(--palette-accent);
  --pairs-on-accent: var(--palette-on-accent);
}

:is([data-palette] .symptom-list, .symptom-list[data-palette]) {
  --symptoms-panel: var(--palette-surface);
  --symptoms-ink: var(--palette-ink);
  --symptoms-muted: var(--palette-muted);
  --symptoms-line: var(--palette-line);
  --symptoms-accent: var(--palette-accent);
  --symptoms-on-accent: var(--palette-on-accent);
}

:is([data-palette] .included-list, .included-list[data-palette]) {
  --included-tile: var(--palette-surface);
  --included-ink: var(--palette-ink);
  --included-muted: var(--palette-muted);
  --included-line: var(--palette-line);
  --included-tick: var(--palette-accent);
}

:is([data-palette] :is(.video-hero, .banner-hero), :is(.video-hero, .banner-hero)[data-palette]) {
  --hero-bg: var(--palette-bg);
  --hero-ink: var(--palette-ink);
  --hero-muted: var(--palette-muted);
}

/* The banner's phone button: always on the palette's dark side, over a darkened photo */
:is([data-palette] .banner-hero, .banner-hero[data-palette]) {
  --hero-accent: var(--palette-accent);
  --hero-on-accent: var(--palette-on-accent);
}

: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] .breadcrumbs, .breadcrumbs[data-palette]) {
  --crumbs-ink: var(--palette-ink);
  --crumbs-muted: var(--palette-muted);
}

: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; }

/* added to templates/sections/before-after-grid/index.html */
.before-after__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

