@font-face {
  font-family: 'Young Serif';
  src: url('/voorbeelden/nagelstylist/assets/fonts/young-serif-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Karla;
  src: url('/voorbeelden/nagelstylist/assets/fonts/karla-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  font-synthesis-weight: none;
  font-synthesis-style: none;
  --primary: #5f1c34;
  --accent: #ffd1dd;
  --canvas: #fff8fa;
  --ink: #22171a;
  --ink-secondary: rgb(34 23 26 / 0.74);
  --band-muted: #f0e9eb;
  --band-accent: #f3d3dc;
  --line: rgb(34 23 26 / 0.12);
  --field-line: rgb(34 23 26 / 0.52);
  --error: #a3261c;
  --plate: color-mix(in oklab, var(--canvas) 35%, #fff);
  --on-dark: #fff8fa;
  --on-dark-soft: rgb(255 248 250 / 0.76);
  --font-display: 'Young Serif', Georgia, 'Times New Roman', serif;
  --font-body: Karla, 'Segoe UI', Arial, sans-serif;
  --font-label: Karla, 'Segoe UI', Arial, sans-serif;
  --weight-display: 400;
  --tracking-display: -0.012em;
  --band-quiet: var(--band-accent);
  --band-feature: var(--band-accent);
  --band-feature-ink: var(--ink);
  --radius-media: 16px;
  --radius-control: 999px;
  --radius-field: 12px;
  --rule: 1px solid var(--line);
  --shadow-plate: 0 1px 2px rgb(34 23 26 / 0.06), 0 18px 40px -20px rgb(34 23 26 / 0.3);
  --shadow-float: 0 4px 14px rgb(34 23 26 / 0.22);
  --max: 1200px;
  --measure: 59.6ch;
  --gutter: 48px;
  --section: 104px;
  --head-gap: 56px;
  --hero-exit: calc(var(--section) / 2);
  --header: 76px;
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h14.5M13.5 6.5 19 12l-5.5 5.5'/%3E%3C/svg%3E");
  --icon-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4.5V19M6.5 13.5 12 19l5.5-5.5'/%3E%3C/svg%3E");
  --icon-external: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  --icon-form: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3.5H7.5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3.5V8h4.5M9 12.5h6M9 16h4'/%3E%3C/svg%3E");
  --icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='3'/%3E%3Cpath d='m4.5 7.5 7.5 6 7.5-6'/%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h3l1.5 4-2 1.3a11 11 0 0 0 6.1 6.1l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A17 17 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E");
  --icon-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4a8 8 0 0 0-6.9 12.1L4 20l4-1.1A8 8 0 1 0 12 4z'/%3E%3Cpath d='M8.8 10.2h6.4M8.8 13.4h4.2'/%3E%3C/svg%3E");
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6-6.5-11a6.5 6.5 0 0 1 13 0c0 5-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
  --icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
  --icon-inverter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='3.5' width='15' height='17' rx='3'/%3E%3Cpath d='M8 11.5c1.3-2.2 2.7-2.2 4 0s2.7 2.2 4 0M9 17h6'/%3E%3C/svg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 19 6v5.5c0 4.2-2.9 7.6-7 9-4.1-1.4-7-4.8-7-9V6z'/%3E%3Cpath d='m9 12 2.2 2.2L15.5 10'/%3E%3C/svg%3E");
  --icon-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 19.5h15M7.5 16v-4M12 16V7.5M16.5 16v-6.5'/%3E%3C/svg%3E");
  --icon-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5a2 2 0 0 1 2-2h2l1.5-2h5l1.5 2h2a2 2 0 0 1 2 2V17a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z'/%3E%3Ccircle cx='12' cy='12.5' r='3.5'/%3E%3C/svg%3E");
  --calendar-bronze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f1c34' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5.5' width='16' height='14' rx='3'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 10h16'/%3E%3C/svg%3E");
  --icon-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7.5h16M4 12h16M4 16.5h16'/%3E%3C/svg%3E");
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  caret-color: var(--primary);
  accent-color: var(--primary);
  scrollbar-color: rgb(34 23 26 / 0.4) var(--canvas);
}

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

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  font-feature-settings: 'kern';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

picture {
  display: block;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}

h1 {
  font-size: clamp(2.375rem, 1.55rem + 2.9vw, 4.125rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.875rem, 1.35rem + 1.7vw, 2.875rem);
}

h3 {
  font-size: clamp(1.25rem, 1.12rem + 0.4vw, 1.4375rem);
  line-height: 1.22;
}

p,
li,
dd,
figcaption {
  text-wrap: pretty;
}

p + p {
  margin-top: 0.9em;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 160ms;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

.on-dark :focus-visible {
  outline-color: var(--accent);
}

main:focus {
  outline: none;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

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

.page-intro:has(+ :is(.document, .section):not(.band-quiet)) {
  padding-bottom: 0;
}

:is(.section, .closing):not(.band-quiet) + :is(.section, .closing, .partners):not(.band-quiet),
.band-quiet + .band-quiet {
  padding-top: 0;
}

.band-quiet {
  background: var(--band-quiet);
}

.lead {
  color: var(--ink-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.fine {
  color: var(--ink-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.demo-bar,
.lang-switch a,
.menu-toggle,
.breadcrumbs,
.proof-line,
.signature-role,
.signed-line figcaption,
.project-meta,
.yield dt,
.comparison-stage figcaption,
.review-source,
.about-portrait figcaption span,
.hours dt,
.field .file-button,
.field-help,
.form-privacy,
.fine,
.footer-legal,
.lightbox-count {
  font-family: var(--font-label);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.nowrap {
  white-space: nowrap;
}

.dots {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1.2em;
  clip-path: inset(-0.5em -0.5em -0.5em 1.2em);
}

.dots > * {
  position: relative;
  padding-left: 1.2em;
}

.dots > *::before {
  content: '·';
  position: absolute;
  left: 0;
  width: 1.2em;
  text-align: center;
}

.icon {
  display: inline-block;
  flex: none;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  background: currentColor;
  mask: var(--icon-arrow) center / contain no-repeat;
}

.icon-back {
  scale: -1 1;
}

.icon-down {
  mask-image: var(--icon-down);
}

.icon-external {
  mask-image: var(--icon-external);
}

.icon-check {
  mask-image: var(--icon-check);
}

.icon-close {
  mask-image: var(--icon-close);
}

.icon-mail {
  mask-image: var(--icon-mail);
}

.icon-form {
  mask-image: var(--icon-form);
}

.icon-calendar {
  mask-image: var(--calendar-bronze);
}

.icon-phone {
  mask-image: var(--icon-phone);
}

.icon-chat {
  mask-image: var(--icon-chat);
}

.icon-pin {
  mask-image: var(--icon-pin);
}

.icon-clock {
  mask-image: var(--icon-clock);
}

.icon-camera {
  mask-image: var(--icon-camera);
}

.icon-inverter {
  mask-image: var(--icon-inverter);
}

.icon-shield {
  mask-image: var(--icon-shield);
}

.icon-chart {
  mask-image: var(--icon-chart);
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 12px 20px;
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

.demo-bar {
  padding: 6px var(--gutter);
  background: var(--ink);
  color: var(--on-dark-soft);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

.demo-bar a {
  color: var(--on-dark);
  font-weight: 700;
}

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

.demo-bar :focus-visible {
  outline-color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-control);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms,
    border-color 160ms,
    color 160ms;
}

.button:not(.button-quiet):hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button-quiet {
  background: transparent;
  color: var(--primary);
}

.button-quiet:hover {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--ink);
}

.button .tabular {
  font-weight: 600;
}

.button:has(> .tabular) {
  flex-wrap: wrap;
  row-gap: 0;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--canvas);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: var(--header);
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: var(--weight-display);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

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

:is(.brand, .footer-brand):has(.brand-logo) {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

:is(.brand, .footer-brand):has(.brand-logo) .brand-tag,
:is(.brand, .footer-brand):has(.brand-logo) .brand-mark,
:is(.brand, .footer-brand):has(.brand-logo)::before,
:is(.brand, .footer-brand):has(.brand-logo)::after {
  display: none;
}

.brand-logo {
  --logo-area: 6400;
  --logo-max-h: 64;
  --logo-max-w: 240;
  display: block;
  width: auto;
  height: calc(
    min(
        var(--logo-max-h),
        sqrt(var(--logo-area) / var(--logo-ratio)),
        var(--logo-max-w) / var(--logo-ratio)
      ) * 1px
  );
}

.site-footer .brand-logo {
  --logo-area: 4000;
  --logo-max-h: 48;
  --logo-max-w: 200;
}

.brand-symbol {
  height: min(1.5em, var(--logo-max-h) * 1px);
}

.brand:has(.brand-symbol) {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
}

.site-header:not(:has(.menu-toggle)):has(.brand-logo) .header-inner {
  flex-wrap: nowrap;
}

.site-header:not(:has(.menu-toggle)) :is(.brand:has(.brand-logo), .brand-logo) {
  min-width: 0;
}

.site-header:not(:has(.menu-toggle)) .brand-logo:not(.brand-symbol) {
  width: calc(
    min(
        var(--logo-max-h) * var(--logo-ratio),
        sqrt(var(--logo-area) * var(--logo-ratio)),
        var(--logo-max-w)
      ) * 1px
  );
  max-width: 100%;
  height: auto;
}

.site-header:not(:has(.menu-toggle)):has(.brand-logo) .header-inner > :not(.brand) {
  flex: none;
}

@media (max-width: 760px) {
  .brand-logo {
    --logo-max-h: 52;
    --logo-max-w: 180;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    --logo-area: 3600;
    --logo-max-w: 120;
  }

  .site-footer .brand-logo {
    --logo-area: 2500;
    --logo-max-h: 36;
    --logo-max-w: 140;
  }
}

.lang-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-control);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 160ms;
}

.lang-switch a:hover {
  background: var(--accent);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-control);
  background: transparent;
  font-weight: 700;
}

.menu-toggle::before {
  content: '';
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: var(--icon-menu) center / contain no-repeat;
}

.menu-toggle[aria-expanded='true']::before {
  mask-image: var(--icon-close);
}

.menu-toggle[hidden] {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 26px;
}

.site-nav a:not(.button),
.header-action {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.3em;
}

.site-nav a:not(.button):hover,
.header-action:hover {
  color: var(--primary);
  text-decoration: underline;
}

.header-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-nav .button {
  min-height: 46px;
  padding: 8px 20px;
}

.site-header:not(.menu-open) .site-nav .button {
  display: none;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.breadcrumbs [aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.welcome {
  padding-block: 72px 24px;
  text-align: center;
}

.welcome h1 {
  max-width: calc(var(--measure) * 0.2852);
  margin-inline: auto;
}

.welcome-lead {
  max-width: calc(var(--measure) * 0.7383);
  margin: 24px auto 0;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  line-height: 1.55;
}

.welcome .actions {
  justify-content: center;
  margin-top: 32px;
}

.proof-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-top: 26px;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.proof-line li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proof-line .icon {
  color: var(--primary);
}

@media (min-width: 761px) and (max-width: 1100px) {
  .proof-line:has(> :nth-child(3):last-child) {
    flex-direction: column;
    align-items: center;
  }

  .proof-line:has(> :nth-child(4):last-child, > :nth-child(5):last-child)::after {
    flex-basis: 100%;
    order: 1;
    content: '';
  }

  .proof-line:has(> :nth-child(4):last-child) > :nth-child(n + 3),
  .proof-line:has(> :nth-child(5):last-child) > :nth-child(n + 4) {
    order: 2;
  }
}

.signature {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}

.signature picture,
.call-signature picture {
  flex: none;
}

.signature-portrait {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 45% 18%;
  outline: 5px solid var(--accent);
  outline-offset: 3px;
}

.signature-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--weight-display);
  line-height: 1.25;
  text-wrap: balance;
}

.signature-role {
  display: block;
  max-width: calc(var(--measure) * 0.5033);
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.welcome-photo {
  margin-top: 24px;
}

.welcome-photo img {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-media);
  object-fit: cover;
  object-position: 50% 42%;
}

.section-head {
  max-width: 760px;
  margin: 0 auto var(--head-gap);
  text-align: center;
}

.section-head .lead {
  max-width: calc(var(--measure) * 0.755);
  margin: 18px auto 0;
}

.plate {
  border-radius: var(--radius-media);
  background: var(--plate);
  color: var(--ink);
  box-shadow: var(--shadow-plate);
}

.badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
}

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

.badge .icon {
  width: 28px;
  height: 28px;
}

.service-list {
  display: grid;
  margin-top: 24px;
  padding: 12px 44px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 10px 48px;
  padding-block: 30px;
}

.service-row + .service-row {
  border-top: var(--rule);
}

.service-row h3 {
  font-size: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5rem);
}

.service-row p {
  max-width: calc(var(--measure) * 0.9396);
  color: var(--ink-secondary);
}

.package {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  padding: 40px;
}

.packages {
  display: grid;
  gap: 24px;
}

.form-open,
.price-open {
  display: none;
}

.package h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
}

.package-copy p {
  max-width: calc(var(--measure) * 0.9396);
  margin-top: 14px;
  color: var(--ink-secondary);
}

.package-copy .actions {
  margin-top: 26px;
}

.features {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 26px 28px;
  border-radius: 12px;
  background: var(--accent);
}

.features li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  max-width: calc(var(--measure) * 0.9396);
  line-height: 1.5;
}

.features .icon {
  margin-top: 0.2em;
  color: var(--primary);
}

.pricing-note {
  max-width: calc(var(--measure) * 0.9396);
  margin: 36px auto 0;
  color: var(--ink-secondary);
  text-align: center;
}

.pricing-note strong {
  color: var(--ink);
}

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 14px 48px;
  align-items: start;
  margin-top: 24px;
  padding: 42px 44px;
}

.price-card h3 {
  font-size: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5rem);
}

.price-card .pricing-note {
  margin: 14px 0 0;
  text-align: start;
}

.prices > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
  align-items: baseline;
  padding-block: 16px;
}

.prices > div:first-child {
  padding-top: 0;
}

.prices > div:last-child {
  padding-bottom: 0;
}

.prices > div + div {
  border-top: var(--rule);
}

.prices dt {
  flex: 1 1 0;
  max-width: 100%;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.prices .price {
  margin-inline-start: auto;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  font-variant-numeric: tabular-nums lining-nums;
  text-align: end;
}

.prices .price-note {
  flex-basis: 100%;
  padding-inline-end: max(0px, 100% - var(--measure) * 0.9396);
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.steps[data-count='3'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps[data-count='2'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steps[data-count='1'] {
  grid-template-columns: minmax(0, var(--measure));
  justify-content: center;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--weight-display);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.step p {
  color: var(--ink-secondary);
}

@media (min-width: 761px) {
  .step {
    align-items: center;
    text-align: center;
  }
}

.signed-line {
  max-width: 640px;
  margin: 22px auto 0;
}

.signed-line blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  font-weight: var(--weight-display);
  line-height: 1.45;
  color: var(--ink);
}

.signed-line blockquote p::before {
  content: '“';
  color: var(--primary);
}

.signed-line blockquote p::after {
  content: '”';
  color: var(--primary);
}

.signed-line figcaption {
  margin-top: 10px;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 700;
}

.signed-line figcaption::before {
  content: '— ';
  color: var(--primary);
}

.quote-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: fit-content;
  max-width: 100%;
  margin: 56px auto 0;
  padding: 28px 32px;
}

.quote-note h3 {
  font-size: 1.25rem;
}

.quote-note p {
  max-width: calc(var(--measure) * 0.9396);
  margin-top: 8px;
  color: var(--ink-secondary);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 36px 44px;
  align-items: start;
  padding: 36px;
}

.project-feature:not(:has(.yield)) > :is(.comparison, .gallery-link) {
  grid-row: span 2;
}

.project-feature:not(:has(.yield)) > .review {
  grid-column: 2;
}

@media (min-width: 1101px) {
  .project-feature:not(:has(.yield, > .review)) > .project-copy {
    grid-row: span 2;
    align-self: center;
  }
}

.project-meta {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 700;
}

.project-copy > .project-meta {
  margin-top: 6px;
}

.project-copy h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
}

.project-copy > p {
  max-width: calc(var(--measure) * 0.9396);
  margin-top: 14px;
  color: var(--ink-secondary);
}

.yield {
  --yield-gap: 72px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  align-items: start;
  gap: 12px var(--yield-gap);
}

.yield > div {
  display: contents;
}

.yield > div:first-child > * {
  grid-column: 1;
}

.yield > div:last-child > * {
  grid-column: 2;
}

.yield dd {
  position: relative;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 0.6rem + 5vw, 4.5rem);
  font-weight: var(--weight-display);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  font-variant-numeric: tabular-nums;
}

.yield > div:first-child dd::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 32px;
  height: 32px;
  margin-left: calc((var(--yield-gap) - 32px) / 2);
  translate: 0 -50%;
  background: var(--primary);
  mask: var(--icon-arrow) center / contain no-repeat;
}

.yield dt {
  grid-row: 2;
  max-width: calc(var(--measure) * 0.2852);
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}

.yield-delta {
  display: inline-block;
  margin-left: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
}

.result {
  margin-top: 16px;
}

.comparison-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comparison-stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-media);
  object-fit: cover;
}

.comparison-stage figcaption {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 700;
}

.comparison-handle {
  display: none;
}

.comparison > .fine {
  margin-top: 12px;
}

.comparison.is-interactive .comparison-stage {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-media);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.comparison.is-interactive .comparison-stage figure {
  position: absolute;
  inset: 0;
}

.comparison.is-interactive .comparison-stage picture,
.comparison.is-interactive .comparison-stage img {
  height: 100%;
  border-radius: 0;
}

.comparison.is-interactive .comparison-stage figure:first-of-type {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--reveal, 50%)) 0 0);
}

.comparison.is-interactive figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  padding: 4px 12px;
  border-radius: var(--radius-control);
  background: var(--plate);
  color: var(--ink);
}

.comparison.is-interactive figcaption {
  max-width: calc(100% - 28px);
  line-height: 1.35;
}

.comparison.is-interactive figure:last-of-type figcaption {
  right: 14px;
  left: auto;
}

.comparison.is-interactive .comparison-handle {
  position: absolute;
  inset-block: 0;
  left: var(--reveal, 50%);
  z-index: 2;
  display: block;
  width: 2px;
  translate: -50% 0;
  background: #fff;
  pointer-events: none;
}

.comparison-handle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  padding: 11px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-float);
}

.comparison-stage:has(:focus-visible) .comparison-handle svg {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px 44px;
  align-items: center;
  margin-top: 32px;
  padding: 36px;
}

.review-mark {
  display: block;
  height: 0.62em;
  margin-bottom: 6px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: var(--weight-display);
  line-height: 1;
}

.review blockquote p {
  max-width: calc(var(--measure) * 0.9396);
  color: var(--ink);
}

.review-source {
  margin-top: 16px;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.review-source strong {
  color: var(--ink);
  font-weight: inherit;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.reviews > li {
  display: grid;
}

.reviews > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.reviews .review {
  padding: 30px 32px 32px;
}

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.team > li {
  display: grid;
  flex: 0 1 calc((100% - 48px) / 3);
}

.team > li:is(:nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)), :nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)) ~ li):has(picture) {
  flex-basis: calc((100% - 24px) / 2);
}

.member {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 32px 32px 34px;
}

.member:not(:has(> picture)) {
  align-content: center;
}

.team-list {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 761px) {
  .team-list .member {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 30px;
  }

  .team-list .member > h3 {
    grid-row: 1;
    grid-column: span 2;
  }

  .team-list .member > .member-role {
    grid-row: 2;
    grid-column: span 2;
  }

  .team-list .member > p:last-child {
    grid-row: 1 / span 2;
    grid-column: 3 / -1;
    margin-top: 0;
  }
}

.member > picture {
  width: min(100%, 15rem);
  margin: 14px 0 34px 14px;
}

.member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  outline: 8px solid var(--accent);
  outline-offset: 6px;
}

.member h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.member-role {
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.member > p:last-child {
  max-width: calc(var(--measure) * 0.9396);
  margin-top: 10px;
}

@media (min-width: 1101px) {
  .team > li:is(:only-child, :nth-child(1 of :has(picture)):nth-last-child(1 of :has(picture))) {
    flex-basis: 760px;
  }

  .team > li:is(:only-child, :nth-child(1 of :has(picture)):nth-last-child(1 of :has(picture))) > .member:has(> picture),
  .team > li:is(:nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)), :nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)) ~ li) > .member:has(> picture) {
    grid-template-columns: calc(15rem + 28px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 30px;
  }

  .team > li:is(:only-child, :nth-child(1 of :has(picture)):nth-last-child(1 of :has(picture))) > .member > picture,
  .team > li:is(:nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)), :nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)) ~ li) > .member > picture {
    grid-row: 1 / -1;
    margin-bottom: 14px;
  }

  .team > li:is(:only-child, :nth-child(1 of :has(picture)):nth-last-child(1 of :has(picture))) > .member > :not(picture),
  .team > li:is(:nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)), :nth-last-child(4 of :has(picture)):nth-child(3n + 1 of :has(picture)) ~ li) > .member:has(> picture) > :not(picture) {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .team {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 20rem);
    justify-content: start;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    margin-bottom: -40px;
    padding: 0 var(--gutter) 40px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgb(34 23 26 / 0.35) transparent;
  }

  .team:has(> li:only-child) {
    grid-auto-columns: minmax(0, 1fr);
  }

  .team > li {
    scroll-snap-align: start;
  }

  .team-list {
    margin-top: 0;
  }

  .member {
    padding: 22px 20px 24px;
  }
}

.projects-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.projects-more[data-count='1'] {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-content: start;
  column-gap: 24px;
  padding: 30px 32px 32px;
}

.project-card .project-copy {
  display: contents;
}

.project-card > .badge,
.project-card > .gallery-link {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.project-card h3 {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.25rem;
}

.project-card .project-meta {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

@media (min-width: 761px) {
  .projects-more[data-count='1'] .project-card:has(> .gallery-link) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    grid-template-rows: auto;
    column-gap: 36px;
    align-items: center;
  }

  .projects-more[data-count='1'] .project-card:has(> .gallery-link) .project-copy {
    display: block;
  }

  .projects-more[data-count='1'] .project-card > .gallery-link {
    grid-row: 1;
    width: auto;
  }
}

.project-card .project-copy > p:not(.project-meta) {
  grid-column: 1 / -1;
}

.gallery-link {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.gallery-link img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-card > .gallery-link {
  width: 128px;
  align-self: start;
  overflow: hidden;
  border-radius: 12px;
}

.project-card > .gallery-link img {
  aspect-ratio: 4 / 3;
}

.project-feature > .gallery-link {
  overflow: hidden;
  border-radius: var(--radius-media);
}

.project-feature > .gallery-link img {
  aspect-ratio: 4 / 3;
}

.image-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plate);
  color: var(--ink);
  box-shadow: var(--shadow-float);
  transition: background-color 160ms;
}

.image-open svg {
  width: 20px;
  height: 20px;
}

.gallery-link:hover .image-open {
  background: var(--accent);
}

.project-card .image-open {
  right: 6px;
  bottom: 6px;
  width: 30px;
  height: 30px;
}

.project-card .image-open svg {
  width: 15px;
  height: 15px;
}

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

@media (min-width: 1101px) {
  .about > .about-copy {
    justify-self: end;
  }

  .about > .about-portrait {
    justify-self: center;
    text-align: center;
  }
}

.about-copy {
  grid-column: 2;
  grid-row: 1;
}

.about-portrait {
  grid-column: 1;
  grid-row: 1;
}

.about-portrait {
  position: relative;
  width: min(100%, 400px);
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 45% 20%;
  outline: 8px solid var(--accent);
  outline-offset: 6px;
}

.about-portrait figcaption {
  margin-top: 28px;
}

.about-portrait figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--weight-display);
  line-height: 1.2;
}

.about-portrait figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--ink-secondary);
}

.about-copy h2 {
  text-align: left;
}

.about-copy .lead {
  margin-top: 18px;
  color: var(--ink);
}

.about-copy p:not(.lead) {
  margin-top: 16px;
  color: var(--ink-secondary);
}

.about-copy > p {
  max-width: calc(var(--measure) * 0.9396);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .credentials > :only-child,
  .credentials:has(> :nth-child(3):last-child, > :nth-child(5):last-child) > * {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1101px) {
  .credentials {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .credentials > * {
    grid-column: span 3;
  }

  .credentials > :only-child {
    grid-column: 1 / -1;
  }

  .credentials:has(> :nth-child(3):last-child) > *,
  .credentials:has(> :nth-child(5):last-child) > :nth-child(-n + 3) {
    grid-column: span 2;
  }
}

.credential {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px 30px;
}

.credential h3 {
  font-size: 1.25rem;
}

.credential ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.credential li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.credential li .icon {
  margin-top: 0.2em;
  color: var(--primary);
}

.areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.areas[data-count='1'] {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.areas > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (min-width: 761px) {
  .areas:not([data-count='1']) > :last-child:nth-child(odd) {
    align-items: center;
    text-align: center;
  }

  .areas:not([data-count='1']) > :last-child:nth-child(odd) p {
    max-width: calc(var(--measure) * 0.9396);
    text-wrap: balance;
  }
}

@media (min-width: 1001px) {
  .areas[data-count='3'] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .areas[data-count='3'] > :last-child:nth-child(odd) {
    grid-column: auto;
    align-items: stretch;
    text-align: start;
  }
}

.area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 32px 34px;
}

.area-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.area-title .badge {
  width: 48px;
  height: 48px;
}

.area-title .badge .icon {
  width: 24px;
  height: 24px;
}

.area p {
  color: var(--ink-secondary);
}

.area .text-link {
  margin-top: auto;
  padding-top: 6px;
}

.faq {
  max-width: calc(calc(var(--measure) * 0.9396) + 60px);
  margin-inline: auto;
}

.faq details + details {
  margin-top: 14px;
}

.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 26px 30px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: var(--weight-display);
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.faq summary > :first-child {
  margin-top: calc((40px - 1lh) / 2);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
}

.faq-toggle .icon {
  width: 20px;
  height: 20px;
  mask-image: var(--icon-plus);
  transition: rotate 160ms;
}

.faq details[open] .faq-toggle .icon {
  rotate: 45deg;
}

.faq details > div {
  padding: 0 30px 28px;
  color: var(--ink-secondary);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
}

.contact-call {
  padding: 40px;
  border-radius: var(--radius-media) 0 0 var(--radius-media);
  background: var(--canvas);
}

.contact-call-inner {
  position: sticky;
  top: calc(var(--header) + 32px);
}

.contact:not(:has(.form-plate)) {
  grid-template-columns: minmax(0, 1fr);
}

.contact:not(:has(.form-plate)) .contact-call {
  background: none;
}

.contact:not(:has(.form-plate)) .contact-call-inner {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: 44px;
  align-items: start;
}

.contact:not(:has(.form-plate)) .contact-list {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 0;
}

.contact-call .actions {
  margin-top: 26px;
}

@media (min-width: 761px) {
  .contact:not(:has(.form-plate)) .contact-list:has(> div .map) {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto 1fr;
    justify-content: start;
    column-gap: 64px;
  }

  .contact:not(:has(.form-plate)) .contact-list > div:has(.map) {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .contact:not(:has(.form-plate)) .contact-call-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
  }

  .contact:not(:has(.form-plate)) .contact-call .actions {
    margin-top: 0;
  }

  .contact:not(:has(.form-plate)) .contact-list {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 36px;
  }

  .contact:not(:has(.form-plate)) .contact-list:has(> div .map) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.call-signature {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.contact-list dt .icon {
  margin-top: 0.3em;
  color: var(--primary);
}

.contact-list dd {
  min-width: 0;
}

.contact-list dd strong {
  display: block;
  font-weight: 700;
}

.contact-list a {
  overflow-wrap: anywhere;
}

.contact-list > div:not(.contact-service):has(> dd > a:only-child) {
  position: relative;
}

.contact-list > div:not(.contact-service) > dd > a:only-child::before {
  content: '';
  position: absolute;
  inset: -10px 0;
}

.contact-list > .contact-service {
  position: relative;
  display: block;
  padding-left: calc(1.15em + 14px);
}

.contact-service dt {
  font-weight: 700;
}

.contact-service dt .icon {
  position: absolute;
  top: 0;
  left: 0;
}

.hours {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 18px;
  font-variant-numeric: tabular-nums;
}

.hours dt {
  font-weight: 600;
}

.hours dd {
  color: var(--ink-secondary);
}

.map {
  display: grid;
  gap: 6px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

.map-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: start;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 18px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-control);
  background: var(--plate);
  color: var(--primary);
  font-weight: 700;
}

.map-load:hover {
  background: var(--accent);
}

.map-frame {
  width: 100%;
  height: 280px;
  margin-top: 10px;
  border: 0;
  border-radius: var(--radius-media);
}

.form-plate {
  padding: 40px;
}

.form-plate h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
}

.form-plate > p {
  max-width: calc(var(--measure) * 0.9396);
  margin-top: 10px;
  color: var(--ink-secondary);
}

.quote-form {
  margin-top: 28px;
}

.quote-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-full,
.form-actions {
  grid-column: 1 / -1;
}

.turnstile-widget {
  grid-column: 1 / -1;
}

.turnstile-widget:empty {
  display: none;
}

.field label {
  font-weight: 700;
  line-height: 1.35;
}

.field label span {
  color: var(--ink-secondary);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-field);
  background: #fff;
  font-size: 1rem;
  transition: border-color 160ms;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 44px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f1c34' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E")
    right 14px center / 20px no-repeat;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--primary);
  outline-offset: 2px;
}

.field .file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  clip-path: inset(50%);
}

.field .file-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-control);
  background: var(--plate);
  color: var(--primary);
  cursor: pointer;
  transition: background-color 160ms;
}

.field .file-button span {
  color: inherit;
}

.field .file-button:hover {
  background: var(--accent);
}

.file-input:focus-visible + .file-button {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.field input[type='date']::-webkit-calendar-picker-indicator {
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  background: var(--calendar-bronze) center / 22px no-repeat;
  color: transparent;
  cursor: pointer;
}

.field input[type='date']::-webkit-datetime-edit-day-field:focus,
.field input[type='date']::-webkit-datetime-edit-month-field:focus,
.field input[type='date']::-webkit-datetime-edit-year-field:focus {
  border-radius: 4px;
  background: var(--accent);
  color: var(--ink);
}

.field [aria-invalid='true'] {
  border-color: var(--error);
  border-width: 2px;
}

.field-help {
  color: var(--ink-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.field-error {
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
}

.field-error:empty {
  display: none;
}

.photo-list {
  display: grid;
  gap: 8px;
}

.photo-list[hidden] {
  display: none;
}

.photo-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 6px 6px 6px 16px;
  border-radius: var(--radius-control);
  background: var(--accent);
  font-size: 0.9375rem;
}

.photo-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.photo-remove {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--plate);
  color: var(--ink);
  transition: background-color 160ms;
}

.photo-remove:hover {
  background: #fff;
}

.photo-remove .icon {
  width: 18px;
  height: 18px;
}

.form-error-summary {
  margin-bottom: 24px;
  padding: 20px 24px;
  border: 2px solid var(--error);
  border-radius: 12px;
  background: #fff;
}

.form-error-summary h3 {
  color: var(--error);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0;
}

.form-error-summary ul {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding-left: 1.2em;
  list-style: disc;
}

.form-error-summary a {
  color: var(--error);
  font-weight: 700;
}

.form-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 6px;
}

.form-privacy,
.form-status {
  color: var(--ink-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.form-status {
  color: var(--ink);
  font-weight: 700;
}

.quote-form a[href^='tel:'] {
  white-space: nowrap;
}

.form-status:empty {
  display: none;
}

.form-recovery {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--accent);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.form-recovery[hidden] {
  display: none;
}

.form-recovery a {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-noscript {
  margin-top: 16px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.partners {
  padding-block: var(--hero-exit);
}

.partners-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px 56px;
  align-items: center;
}

.partners h2 {
  font-size: 1.375rem;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px 40px;
  align-items: center;
}

.partner-logos[data-count='3'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-logos img {
  width: auto;
  max-width: 100%;
  height: 56px;
  margin-inline: auto;
  object-fit: contain;
}

.site-footer {
  padding-block: 72px 28px;
  background: var(--ink);
  color: var(--on-dark);
}

.site-footer a {
  color: var(--on-dark);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--weight-display);
  line-height: 1.1;
}

.footer-tagline {
  max-width: calc(var(--measure) * 0.5033);
  margin-top: 12px;
  color: var(--on-dark-soft);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-footer ul + h2 {
  margin-top: 24px;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  color: var(--on-dark-soft);
}

.site-footer li a {
  overflow-wrap: anywhere;
}

.footer-grid li > a:is([href^='tel:'], [href^='mailto:'], [href^='https://wa.me/']) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
}

.footer-grid li > a:is([href^='tel:'], [href^='mailto:'], [href^='https://wa.me/'])::before {
  content: '';
  flex: none;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  mask: var(--icon-phone) center / contain no-repeat;
}

.footer-grid li > a[href^='mailto:']::before {
  mask-image: var(--icon-mail);
}

.footer-grid li > a[href^='https://wa.me/']::before {
  mask-image: var(--icon-chat);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
}

.footer-social > a[data-social] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.footer-social > a[data-social]::before {
  content: '';
  flex: none;
  width: 1.15em;
  height: 1.15em;
  background: currentColor;
  mask: var(--social) center / contain no-repeat;
}

.footer-social > [data-social='facebook'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15.5 8h-1.8a2.7 2.7 0 0 0-2.7 2.7V21M8.5 13h6'/%3E%3C/svg%3E");
}

.footer-social > [data-social='instagram'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='1.1' fill='%23000' stroke='none'/%3E%3C/svg%3E");
}

.footer-social > [data-social='linkedin'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='M8 10.5v6M11.5 16.5v-6M11.5 13.5a2.5 2.5 0 0 1 5 0v3'/%3E%3Ccircle cx='8' cy='7.6' r='1.1' fill='%23000' stroke='none'/%3E%3C/svg%3E");
}

.footer-social > [data-social='youtube'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='4'/%3E%3Cpath d='m10 9.2 4.8 2.8-4.8 2.8z'/%3E%3C/svg%3E");
}

.footer-social > [data-social='tiktok'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3v12a4.25 4.25 0 1 1-4.25-4.25'/%3E%3Cpath d='M14 3a5 5 0 0 0 5 5'/%3E%3C/svg%3E");
}

.footer-social > [data-social='snapchat'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5c2.8 0 4.8 2 4.8 4.8v2.4l1.9.6c-.3.9-1.2 1.3-2 1.5.6 1.7 1.9 2.9 3.8 3.5-.6.9-1.8 1-2.8 1.2l-.5 1.5c-1.4-.3-2.6-.1-3.6.6-.9.6-2.3.6-3.2 0-1-.7-2.2-.9-3.6-.6l-.5-1.5c-1-.2-2.2-.3-2.8-1.2 1.9-.6 3.2-1.8 3.8-3.5-.8-.2-1.7-.6-2-1.5l1.9-.6V8.3c0-2.8 2-4.8 4.8-4.8z'/%3E%3C/svg%3E");
}

.footer-social > [data-social='x'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 4h4.2l10.8 16h-4.2z'/%3E%3Cpath d='M19 4l-6.2 7M5 20l6.2-7'/%3E%3C/svg%3E");
}

.footer-social > [data-social='threads'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.6'/%3E%3Cpath d='M15.6 12v1.4a2.6 2.6 0 0 0 5.2 0V12a8.8 8.8 0 1 0-3.4 6.9'/%3E%3C/svg%3E");
}

.footer-social > [data-social='pinterest'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12.4 11 10.3 21'/%3E%3Cpath d='M9 14.2a4 4 0 0 1-.9-2.6c0-2.6 2-4.6 4.5-4.6 2.4 0 4.1 1.6 4.1 3.9 0 2.6-1.4 4.6-3.5 4.6-1 0-1.7-.5-1.7-.5'/%3E%3C/svg%3E");
}

.footer-social > [data-social='bluesky'] {
  --social: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 11c-1.6-3-4.8-6-7-6-1.3 0-1.5 1.2-1.5 2.2 0 .9.5 4.2 1 4.9.9 1.3 2.8 1.5 4.4 1.2-2.4.5-4.2 1.8-2.4 3.8 1.8 1.9 4.2.5 5.5-2.9 1.3 3.4 3.7 4.8 5.5 2.9 1.8-2-.1-3.3-2.4-3.8 1.6.3 3.5.1 4.4-1.2.5-.7 1-4 1-4.9 0-1-.2-2.2-1.5-2.2-2.2 0-5.4 3-7 6z'/%3E%3C/svg%3E");
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 64px;
  color: var(--on-dark-soft);
  font-size: 0.875rem;
}

.footer-legal p {
  margin-right: auto;
}

.footer-legal nav {
  display: flex;
  gap: 20px;
}

.credit-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.credit-mark svg {
  width: 38px;
  height: auto;
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #1a1113;
  color: #fff;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
}

.lightbox[open] {
  display: grid;
  grid-template: auto minmax(0, 1fr) / auto minmax(0, 1fr) auto;
  grid-template-areas:
    'bar bar bar'
    'previous view next';
  animation: lightbox-in 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox :focus-visible {
  outline-color: var(--accent);
}

.lightbox-bar {
  grid-area: bar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 8px 32px;
}

.lightbox-count {
  color: var(--on-dark-soft);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lightbox-view {
  grid-area: view;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 0;
  padding-bottom: 32px;
}

.lightbox-view img {
  width: auto;
  min-height: 0;
  max-height: 100%;
  border-radius: 12px;
  -webkit-user-drag: none;
}

.lightbox-view figcaption {
  max-width: calc(var(--measure) * 1.0403);
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
  text-align: center;
}

.lightbox-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  transition: background-color 160ms;
}

.lightbox-button[hidden],
.lightbox-count[hidden] {
  display: none;
}

.lightbox-button:hover {
  background: rgb(255 255 255 / 0.24);
}

.lightbox-button svg {
  width: 22px;
  height: 22px;
}

.lightbox-previous,
.lightbox-next {
  align-self: center;
  margin-inline: 24px;
}

.lightbox-previous {
  grid-area: previous;
}

.lightbox-next {
  grid-area: next;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
}

.page-intro {
  padding-block: 64px var(--hero-exit);
}

.page-intro-inner > * {
  max-width: 820px;
}

.page-intro h1 {
  margin-top: 22px;
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.5rem);
}

.page-intro .lead {
  max-width: calc(var(--measure) * 0.755);
  margin-top: 20px;
}

.page-intro .actions {
  margin-top: 28px;
}

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

.document-body {
  max-width: calc(calc(var(--measure) * 0.9396) + 96px);
  padding: 44px 48px 48px;
}

.document-body h2 {
  margin-top: 40px;
  font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem);
}

.document-body h2:first-child {
  margin-top: 0;
}

.document-body p,
.document-body ul {
  margin-top: 14px;
  color: var(--ink-secondary);
}

.document-body ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
  list-style: disc;
}

.document-body .actions {
  margin-top: 28px;
}

.document-body [lang='en'] h2,
.document-body h2[lang='en'] {
  margin-top: 56px;
}

.area-projects {
  display: grid;
  gap: 24px;
}

.area-project {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  overflow: hidden;
}

.area-project figure picture {
  height: 100%;
}

.area-project figure img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.area-project .project-copy {
  padding: 36px 38px;
}

.area-project .result {
  color: var(--ink);
}

.area-local {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: start;
}

.area-local .plate {
  padding: 32px;
}

.area-local h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}

.area-local p {
  max-width: calc(var(--measure) * 0.9396);
  margin-top: 14px;
  color: var(--ink-secondary);
}

.service-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms;
}

.service-links a:hover {
  background: var(--accent);
}

.service-links .icon-go {
  color: var(--primary);
}

.closing {
  padding-block: var(--section);
  text-align: center;
}

.closing h2 {
  max-width: calc(var(--measure) * 0.3356);
  margin-inline: auto;
}

.closing .wrap > p {
  max-width: calc(var(--measure) * 0.8725);
  margin: 16px auto 0;
  color: var(--ink-secondary);
}

.closing .actions {
  justify-content: center;
  margin-top: 30px;
}

.closing .signature {
  margin-top: 0;
  margin-bottom: 28px;
}

@media (max-width: 1100px) {
  :root {
    --gutter: 32px;
    --section: 88px;
  }

  .site-header.nav-ready .site-nav {
    display: none;
  }

  .site-header.nav-ready.menu-open .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 16px var(--gutter) 28px;
    background: var(--plate);
    box-shadow: var(--shadow-plate);
  }

  .site-header.nav-ready.menu-open .site-nav a:not(.button) {
    padding: 11px 0;
    font-size: 1.0625rem;
  }

  .site-header.nav-ready.menu-open .site-nav .button {
    justify-self: start;
    margin-top: 18px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .projects-more[data-count='1'] {
    grid-template-columns: minmax(0, 1fr);
  }

  .package,
  .project-feature,
  .proof,
  .contact,
  .about,
  .area-local {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-feature:not(:has(.yield)) > :is(.comparison, .gallery-link, .review) {
    grid-row: auto;
    grid-column: auto;
  }

  .yield {
    --yield-gap: 60px;
  }

  .project-card > .gallery-link {
    width: 104px;
  }

  .about {
    gap: 40px;
  }

  .about-copy,
  .about-portrait {
    grid-column: auto;
    grid-row: auto;
  }

  .about-portrait {
    display: grid;
    grid-template-columns: 200px auto;
    gap: 28px;
    justify-content: center;
    align-items: center;
    width: auto;
  }

  .about-portrait figcaption {
    margin-top: 0;
  }

  .contact-call-inner {
    position: static;
  }

  .contact-call {
    border-radius: var(--radius-media) var(--radius-media) 0 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section: 56px;
    --head-gap: 32px;
    --header: 64px;
  }

  body {
    font-size: 1rem;
  }

  .brand {
    font-size: 1.25rem;
  }

  .reviews {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .reviews .review {
    padding: 24px 22px 26px;
  }

  .welcome {
    padding-block: 28px 18px;
    text-align: left;
  }

  .welcome .wrap {
    display: flex;
    flex-direction: column;
  }

  .welcome-lead {
    margin-top: 16px;
  }

  .welcome .actions {
    order: 1;
    margin-top: 22px;
    gap: 10px;
  }

  .signature {
    order: 2;
  }

  .proof-line {
    order: 3;
  }

  .welcome-photo {
    order: 4;
  }

  .welcome h1,
  .welcome-lead {
    margin-inline: 0;
  }

  .welcome .actions,
  .proof-line {
    justify-content: flex-start;
  }

  .proof-line {
    display: grid;
    gap: 4px;
    margin-top: 20px;
  }

  .signature {
    display: flex;
    gap: 16px;
    margin-top: 22px;
    padding-left: 8px;
  }

  .welcome-photo {
    margin-top: 18px;
  }

  .welcome-photo img {
    aspect-ratio: 3 / 2;
  }

  .section-head {
    text-align: left;
  }

  .section-head .lead {
    margin-inline: 0;
  }

  .service-row,
  .steps,
  .steps[data-count='3'],
  .steps[data-count='2'],
  .steps[data-count='1'],
  .projects-more,
  .credentials,
  .areas,
  .areas[data-count='3'],
  .form-grid,
  .area-project {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-row h3 {
    font-size: 1.25rem;
  }

  .project-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 24px 22px 26px;
  }

  .project-card .project-copy {
    display: block;
  }

  .project-card > :is(.gallery-link, .badge) {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card > .gallery-link {
    width: auto;
    border-radius: var(--radius-media);
  }

  .project-card .image-open {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .project-card .image-open svg {
    width: 20px;
    height: 20px;
  }

  .project-card > .badge {
    width: 48px;
    height: 48px;
  }

  .project-card > .badge .icon {
    width: 24px;
    height: 24px;
  }

  .project-feature {
    gap: 22px;
    padding: 24px 22px 26px;
  }

  .area,
  .credential,
  .quote-note {
    padding: 26px 22px 28px;
  }

  .credential,
  .quote-note {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    align-items: center;
  }

  .credential > div,
  .quote-note > div {
    display: contents;
  }

  .credential ul,
  .quote-note p {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .credential .badge,
  .quote-note .badge {
    width: 48px;
    height: 48px;
  }

  .credential .badge .icon,
  .quote-note .badge .icon {
    width: 24px;
    height: 24px;
  }

  .package,
  .form-plate,
  .contact-call,
  .document-body {
    padding: 28px 22px 30px;
  }

  .contact:not(:has(.form-plate)) .contact-call-inner {
    display: block;
  }

  .contact:not(:has(.form-plate)) .contact-list {
    margin-top: 30px;
  }

  .service-list {
    padding: 4px 22px;
  }

  .service-row {
    gap: 8px;
    padding-block: 22px;
  }

  .section-head .signed-line {
    margin: 16px 0 0;
  }

  .features {
    padding: 22px 20px;
  }

  .pricing-note {
    text-align: left;
  }

  .price-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px 22px;
  }

  .prices > div {
    column-gap: 16px;
    padding-block: 14px;
  }

  .price-card[data-fold]:not(:target) {
    gap: 4px;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .price-card[data-fold]:not(:target) h3,
  .price-card[data-fold]:not(:target) > .prices {
    display: none;
  }

  .price-card[data-fold]:not(:target) .pricing-note {
    margin-top: 0;
  }

  .price-card[data-fold]:not(:target) > .price-open {
    display: inline-flex;
    justify-self: start;
    min-height: 44px;
  }

  .quote-note {
    margin-top: 40px;
  }

  .yield {
    --yield-gap: 44px;
  }

  .yield > div:first-child dd::after {
    width: 24px;
    height: 24px;
    margin-left: calc((var(--yield-gap) - 24px) / 2);
  }

  .yield-delta {
    margin-left: 0;
  }

  .proof {
    gap: 22px;
    padding: 24px 22px 26px;
  }

  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 16px;
  }

  .step-number {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    font-size: 1.3125rem;
  }

  .steps {
    gap: 26px;
  }

  .about-portrait {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    justify-items: center;
    text-align: center;
  }

  .about-portrait img {
    max-width: 220px;
    margin-inline: 14px;
  }

  .faq summary {
    padding: 22px 20px;
    font-size: 1.0625rem;
  }

  .faq details > div {
    padding: 0 20px 24px;
  }

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

  .partner-logos,
  .partner-logos[data-count='3'] {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 14px;
  }

  .partner-logos img {
    height: 48px;
    margin-inline: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .footer-grid > :first-child,
  .footer-grid > :nth-child(2) {
    grid-column: 1 / -1;
  }

  .lightbox-bar {
    padding: 12px 12px 8px 20px;
  }

  .lightbox[open] {
    grid-template: auto minmax(0, 1fr) auto / 1fr 1fr;
    grid-template-areas:
      'bar bar'
      'view view'
      'previous next';
  }

  .lightbox-view img {
    border-radius: 0;
  }

  .lightbox-previous,
  .lightbox-next {
    margin: 0 20px 20px;
  }

  .lightbox-next {
    justify-self: end;
  }

  .page-intro {
    padding-top: 44px;
  }

  .area-project .project-copy {
    padding: 26px 22px 28px;
  }

  .area-project figure img {
    min-height: 0;
  }

  .closing {
    text-align: left;
  }

  .closing h2,
  .closing .wrap > p {
    margin-inline: 0;
  }

  .closing .actions {
    justify-content: flex-start;
  }

  .rail {
    margin-inline: calc(-1 * var(--gutter));
    margin-bottom: -40px;
    padding-bottom: 40px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgb(34 23 26 / 0.35) transparent;
  }

  .rail + .rail {
    margin-top: 44px;
  }

  .rail:has(> .projects-more) {
    margin-top: 24px;
  }

  .rail > .packages {
    padding-inline: var(--gutter);
  }

  :not(:target) > .form-open {
    display: inline-flex;
    width: 100%;
    margin-top: 20px;
  }

  :not(:target) > .quote-form > fieldset {
    display: none;
  }

  .rail > .service-list,
  .rail > .steps,
  .rail > .projects,
  .rail > .projects-more,
  .rail > .areas,
  .rail > .credentials,
  .rail > .packages:has(> :nth-child(2)) {
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 20rem);
    grid-template-columns: none;
    gap: 16px;
    width: max-content;
    padding-inline: var(--gutter);
  }

  .rail > .projects-more {
    margin-top: 0;
  }

  .rail > .projects {
    display: grid;
  }

  .rail > .projects > .projects-more {
    display: contents;
  }

  .rail > .areas > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .rail > .steps[data-count='1'],
  .rail > .projects:not(:has(.project-card)),
  .rail > .projects-more[data-count='1'],
  .rail > .areas[data-count='1'],
  .rail > .credentials[data-count='1'] {
    grid-auto-columns: minmax(0, 1fr);
    width: auto;
  }

  .rail > .service-list {
    margin-top: 0;
    padding-block: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .rail > * > *,
  .rail .project-card {
    scroll-snap-align: start;
  }

  .rail .service-row,
  .rail .step {
    border-radius: var(--radius-media);
    background: var(--plate);
    box-shadow: var(--shadow-plate);
  }

  .rail .service-row {
    align-content: start;
    padding: 22px 20px 24px;
  }

  .rail .service-row + .service-row {
    border-top: 0;
  }

  .rail .credential {
    align-content: start;
  }

  .rail > .packages:has(> :nth-child(2)) > .package {
    grid-row: span 2;
    grid-template-rows: subgrid;
  }

  .rail > .packages:has(> :nth-child(2)) .package-copy {
    display: flex;
    flex-direction: column;
  }

  .rail > .packages:has(> :nth-child(2)) .package-copy > :has(+ .actions) {
    margin-bottom: 26px;
  }

  .rail > .packages:has(> :nth-child(2)) .package-copy > .actions {
    margin-top: auto;
  }

  .rail .step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px 24px;
  }

  .rail > .partner-logos {
    grid-auto-flow: column;
    grid-auto-columns: 112px;
    grid-template-columns: none;
    width: max-content;
    gap: 20px;
    padding-inline: var(--gutter);
  }

  .rail > .partner-logos img {
    height: 32px;
  }

  .partners .rail {
    margin-bottom: -12px;
    padding-bottom: 12px;
  }

  .reviews:has(> :nth-child(2)) {
    grid-auto-flow: column;
    grid-auto-columns: min(72vw, 20rem);
    grid-template-columns: none;
    gap: 16px;
    margin-inline: calc(-1 * var(--gutter));
    margin-bottom: -40px;
    padding: 0 var(--gutter) 40px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgb(34 23 26 / 0.35) transparent;
  }

  .reviews > li {
    scroll-snap-align: start;
  }

  .reviews > li:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  body {
    line-height: 1.6;
  }

  .actions > .button {
    flex-basis: 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

@media (max-width: 420px) {
  :root {
    --gutter: 16px;
  }

  .header-inner {
    gap: 10px 8px;
  }

  .brand {
    font-size: 1.125rem;
  }

  .menu-toggle {
    justify-content: center;
    width: 44px;
    padding: 0;
  }

  .menu-toggle .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .button {
    padding-inline: 20px;
  }

  .package,
  .form-plate,
  .contact-call,
  .document-body,
  .project-feature,
  .proof,
  .area-local .plate {
    padding: 24px 18px 26px;
  }

  .area,
  .credential,
  .quote-note,
  .project-card,
  .reviews .review,
  .area-project .project-copy,
  .rail .service-row,
  .rail .step {
    padding: 22px 18px 24px;
  }

  .features {
    padding: 20px 18px;
  }

  .faq summary {
    padding: 20px 18px;
  }

  .faq details > div {
    padding: 0 18px 22px;
  }
}

@media (max-width: 659px) {
  .header-action {
    position: relative;
    justify-content: center;
    width: 44px;
  }

  .header-action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .site-header[data-long-name] .brand {
    flex: 1 1 0;
    min-width: 0;
    line-height: 1.15;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .site-header[data-long-name] .brand {
    font-size: 1rem;
  }
}

@media (max-height: 520px) {
  .site-header {
    position: static;
  }

  :root {
    scroll-padding-top: 16px;
  }

  .contact-call-inner {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
