:root {
  --ink: #151412;
  --muted: #6f6b64;
  --paper: #f4f0e8;
  --surface: #fffaf1;
  --line: #d7cec0;
  --accent: #b21f2d;
  --accent-dark: #7f141e;
  --ok: #2f6b4f;
  --warn: #a15f16;
  --radius: 6px;
  --shadow: 0 18px 44px rgba(21, 20, 18, .12);
  --display-font: Georgia, "Times New Roman", serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 82%);
}

textarea {
  resize: vertical;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

td {
  font-size: 14px;
}

.button,
button.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 650;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.button-dark {
  background: var(--ink);
  color: #fffaf1;
}

.button-accent {
  background: var(--accent);
  color: #fffaf1;
}

.button-light {
  border-color: var(--line);
  background: #fffaf1;
  color: var(--ink);
}

.link-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #fffaf1;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 14px;
}

.notice-error {
  border-left-color: #9f1c1c;
}

.notice-success,
.notice-demo {
  border-left-color: var(--ok);
}

.demo-ribbon {
  position: fixed;
  z-index: 20;
  left: 0;
  right: 0;
  top: 0;
  background: #151412;
  color: #fffaf1;
  padding: 7px 16px;
  text-align: center;
  font-size: 12px;
}

.site-body {
  --milk: #f3efe7;
  --cream: #fffaf1;
  --graphite: #11110f;
  --graphite-soft: #1b1a17;
  --steel: #6e7781;
  --media-radius: 4px;
  background: var(--graphite);
  color: var(--ink);
  font-family: var(--body-font);
}

.site-body .demo-ribbon + .site-nav {
  top: 31px;
}

.public-theme-switcher {
  position: fixed;
  z-index: 18;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 28px);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: rgba(17, 17, 15, .9);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .28);
  color: #fffaf1;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.public-theme-switcher__label {
  padding: 0 8px 0 10px;
  color: rgba(255, 250, 241, .56);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-theme-switcher__options {
  display: flex;
  align-items: center;
  gap: 2px;
}

.public-theme-switcher button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(255, 250, 241, .68);
  cursor: pointer;
  padding: 8px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.public-theme-switcher button:hover {
  color: #fffaf1;
  transform: translateY(-1px);
}

.public-theme-switcher button:focus-visible {
  outline: 2px solid #fffaf1;
  outline-offset: 1px;
}

.public-theme-switcher button.is-active {
  background: var(--accent);
  color: #fff;
}

.public-theme-switcher button > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid rgba(255, 255, 255, .46);
  border-radius: 50%;
  background: #b21f2d;
}

.public-theme-switcher button[data-public-theme="light-minimal"] > span {
  background: #dfe9ef;
}

.public-theme-switcher button[data-public-theme="performance-red"] > span {
  background: #e22131;
}

.public-theme-switcher button[data-public-theme="luxury-graphite"] > span {
  background: #a58557;
}

.has-public-theme-switcher .site-footer {
  padding-bottom: 92px;
}

.site-body.is-theme-switching .home-main {
  animation: public-theme-switch .38s ease;
}

@keyframes public-theme-switch {
  from { opacity: .78; }
  to { opacity: 1; }
}

.site-nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 250, 241, .12);
  background: rgba(17, 17, 15, .68);
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--cream);
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 13px;
}

.site-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 241, .34);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  padding: 0;
}

.site-menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform .2s ease;
}

.site-brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}

.brand-logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: 150px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-action {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.site-nav nav a.is-active {
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 250, 241, .68);
  padding-bottom: 3px;
}

.button-outline {
  border-color: rgba(255, 250, 241, .72);
  background: transparent;
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: 96svh;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  color: var(--cream);
  padding: 138px clamp(20px, 7vw, 104px) 94px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 13, 12, .91), rgba(13, 13, 12, .56), rgba(13, 13, 12, .08));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22svh;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 15, .86));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  font-family: var(--display-font);
  font-size: clamp(58px, 10vw, 142px);
  line-height: .84;
  font-weight: 500;
}

.hero-copy h2 {
  max-width: 640px;
  margin: 0 0 18px;
  font-size: clamp(26px, 3.3vw, 48px);
  line-height: 1.04;
  font-weight: 620;
}

.hero-copy p {
  max-width: 590px;
  color: rgba(255, 250, 241, .84);
  font-size: 18px;
  line-height: 1.55;
}

.city-line,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-copy .city-line {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.site-section,
.calculator-section,
.contacts-section {
  padding: clamp(68px, 9vw, 132px) clamp(20px, 6vw, 82px);
}

.site-section {
  background: var(--milk);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 560px) minmax(260px, 560px);
  gap: clamp(24px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-head h2,
.calculator-copy h2,
.contacts-section h2,
.wide-photo-band h2,
.about-copy h2,
.consult-section h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: .96;
  font-weight: 500;
}

.calculator-copy h2 {
  max-width: 640px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(36px, 3.55vw, 58px);
}

.section-head p,
.calculator-copy p,
.wide-photo-band p,
.about-copy p,
.consult-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proof-section,
.portfolio-section {
  background: var(--graphite);
  color: var(--cream);
}

.proof-section .section-head p,
.portfolio-section .section-head p {
  color: rgba(255, 250, 241, .67);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 250, 241, .28);
}

.proof-card {
  min-height: 270px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-content: start;
  gap: clamp(20px, 3vw, 42px);
  border-right: 1px solid rgba(255, 250, 241, .18);
  border-bottom: 1px solid rgba(255, 250, 241, .18);
  color: var(--cream);
  padding: clamp(30px, 4vw, 54px) clamp(20px, 4vw, 56px);
}

.proof-card:nth-child(even) {
  border-right: 0;
}

.proof-card span,
.process-line span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.proof-card h3,
.service-tile h3,
.process-line h3,
.portfolio-mosaic h3,
.review-card strong {
  margin: 10px 0 8px;
  font-size: clamp(21px, 2.3vw, 32px);
  line-height: 1.05;
}

.portfolio-mosaic h3 {
  color: var(--cream);
}

.proof-card p,
.service-tile p,
.process-line p,
.portfolio-mosaic p,
.review-card p {
  margin: 0;
  line-height: 1.5;
}

.proof-card p,
.portfolio-mosaic p {
  color: rgba(255, 250, 241, .72);
}

.proof-card h3 {
  margin: 0 0 12px;
  font-size: clamp(25px, 2.4vw, 38px);
}

.services-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(310px, auto);
  gap: 12px;
}

.service-tile {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--media-radius);
  background: var(--graphite-soft);
  color: var(--cream);
}

.service-tile.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.service-tile img,
.portfolio-mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.service-tile::after,
.portfolio-mosaic article::after,
.portfolio-mosaic a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 15, .04), rgba(17, 17, 15, .88));
}

.service-tile div,
.portfolio-mosaic article div,
.portfolio-mosaic a div {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 3vw, 34px);
}

.service-tile p {
  max-width: 420px;
  color: rgba(255, 250, 241, .74);
}

.service-tile strong {
  display: block;
  margin-top: 18px;
  color: var(--cream);
  font-size: 18px;
}

.wide-photo-band,
.consult-section {
  position: relative;
  min-height: 76svh;
  display: flex;
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--cream);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 82px);
}

.wide-photo-band::before,
.consult-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 15, .9), rgba(17, 17, 15, .26));
  pointer-events: none;
}

.wide-photo-band div,
.consult-section div {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.wide-photo-band p,
.consult-section p {
  max-width: 610px;
  color: rgba(255, 250, 241, .78);
}

.consult-section h2 + p {
  margin-top: 20px;
}

.quality-control-section {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  min-height: 720px;
  background: var(--graphite);
  color: var(--cream);
}

.quality-visual {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  padding: clamp(28px, 4vw, 58px);
}

.quality-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 9, .88));
}

.quality-visual div {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 250, 241, .58);
  padding-top: 18px;
}

.quality-visual span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quality-visual strong {
  max-width: 270px;
  font-family: var(--display-font);
  font-size: clamp(30px, 3.5vw, 54px);
  line-height: .92;
  font-weight: 500;
  text-align: right;
}

.quality-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(54px, 7vw, 104px) clamp(28px, 5vw, 78px);
}

.quality-copy h2 {
  max-width: 590px;
  margin: 0 0 24px;
  font-family: var(--display-font);
  font-size: clamp(46px, 5vw, 78px);
  line-height: .91;
  font-weight: 500;
}

.quality-copy > p:not(.section-kicker) {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 250, 241, .68);
  font-size: 17px;
  line-height: 1.62;
}

.quality-checklist {
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid rgba(255, 250, 241, .28);
}

.quality-checklist article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid rgba(255, 250, 241, .18);
  padding: 20px 0 22px;
}

.quality-checklist article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.quality-checklist h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.quality-checklist p {
  margin: 0;
  color: rgba(255, 250, 241, .62);
  line-height: 1.5;
}

.service-result-section {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 8vw, 120px);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 82px);
  background: var(--graphite);
  color: var(--cream);
}

.service-result-intro {
  align-self: start;
  max-width: 600px;
}

.service-result-intro h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(42px, 5.6vw, 78px);
  line-height: .94;
  font-weight: 500;
}

.service-result-intro > p:not(.section-kicker) {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 250, 241, .64);
  line-height: 1.65;
}

.service-result-points {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 250, 241, .22);
}

.service-result-points li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
  padding: 25px 0 27px;
  border-bottom: 1px solid rgba(255, 250, 241, .16);
}

.service-result-points li > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.service-result-points h3 {
  margin: 0 0 8px;
  font-family: var(--display-font);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1;
  font-weight: 500;
}

.service-result-points p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 241, .62);
  line-height: 1.55;
}

.before-after {
  --split: 50%;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.ba-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite);
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: var(--split);
  overflow: hidden;
  border-right: 2px solid var(--cream);
}

.ba-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  background: rgba(17, 17, 15, .78);
  color: var(--cream);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 750;
}

.ba-left {
  left: 14px;
}

.ba-right {
  right: 14px;
}

.before-after input[type="range"] {
  accent-color: var(--accent);
  margin: 12px 0 10px;
}

.before-after h3 {
  margin: 0 0 5px;
  font-size: 24px;
}

.before-after p {
  margin: 0;
  color: var(--muted);
}

.calculator-section {
  display: grid;
  grid-template-columns: minmax(340px, 600px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  background: var(--graphite);
  color: var(--cream);
}

.calculator-section input,
.calculator-section select,
.calculator-section textarea {
  border-color: rgba(255, 250, 241, .18);
  background: #23221e;
  color: var(--cream);
}

.calculator-section label span,
.calculator-copy p {
  color: rgba(255, 250, 241, .68);
}

.calculator-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.calculator-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.calculator-summary {
  position: sticky;
  top: 96px;
  border: 1px solid rgba(255, 250, 241, .18);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  padding: 24px;
}

.calculator-summary > span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.calculator-summary > strong {
  display: block;
  margin: 12px 0 22px;
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 54px);
  line-height: .95;
}

.calculator-summary dl,
.contacts-list {
  display: grid;
  gap: 1px;
  margin: 0;
}

.calculator-summary dl div,
.contacts-list div {
  display: grid;
  grid-template-columns: minmax(88px, .6fr) minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.calculator-summary dt,
.contacts-list dt {
  color: var(--muted);
}

.calculator-summary dd,
.contacts-list dd {
  margin: 0;
  font-weight: 750;
}

.estimate-box {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 250, 241, .22);
  border-bottom: 1px solid rgba(255, 250, 241, .22);
  padding: 18px 0;
}

.estimate-box span {
  color: rgba(255, 250, 241, .58);
}

.estimate-box strong {
  justify-self: end;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.08;
  text-align: right;
}

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

.form-grid .wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
  margin-top: 3px;
}

.process-section {
  background: var(--milk);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.process-line article {
  min-height: 250px;
  border-right: 1px solid var(--line);
  padding: 26px clamp(18px, 1.8vw, 28px) 22px;
}

.process-line article:first-child {
  padding-left: 0;
}

.process-line article:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-line p,
.review-card span {
  color: var(--muted);
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 12px;
}

.portfolio-mosaic article,
.portfolio-mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: var(--media-radius);
  background: var(--graphite-soft);
}

.portfolio-mosaic article:nth-child(1),
.portfolio-mosaic article:nth-child(4),
.portfolio-mosaic a:nth-child(1),
.portfolio-mosaic a:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  min-height: 86svh;
  background: var(--cream);
}

.about-image {
  min-height: 620px;
  background-position: center;
  background-size: cover;
}

.about-copy {
  align-self: center;
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 76px);
}

.about-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 44px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.about-steps li {
  position: relative;
  min-width: 0;
  padding: 27px clamp(16px, 2vw, 28px) 0 0;
}

.about-steps li + li {
  padding-left: clamp(18px, 2.2vw, 30px);
}

.about-steps li + li::before {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--line);
}

.about-steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
}

.about-steps strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1;
  font-weight: 500;
}

.about-copy .about-steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.reviews-section {
  background: var(--milk);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.review-card {
  border-top: 1px solid var(--ink);
  background: rgba(255, 250, 241, .52);
  padding: 20px;
}

.review-card div {
  min-height: 72px;
}

.review-card span {
  display: block;
  margin-top: 6px;
}

.review-rating {
  color: var(--accent);
  font-size: 30px;
  font-weight: 800;
}

.reviews-link {
  margin-top: 28px;
}

.faq-section {
  background: var(--cream);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}

.faq-list details {
  border-top: 1px solid var(--ink);
  padding: 18px 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 750;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.6;
}

.consult-section {
  min-height: 70svh;
}

.consult-section .button {
  margin-top: 26px;
}

.contacts-section {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  background: var(--milk);
}

.contacts-copy {
  align-self: center;
}

.contacts-section a,
.site-footer a {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}

.contacts-list {
  margin: 30px 0;
}

.contacts-list dd {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-panel {
  min-height: 520px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(.28) contrast(1.04);
}

.map-panel-static {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--milk), #a9a18f 20%), var(--milk));
}

.map-schematic {
  position: absolute;
  inset: -12%;
  z-index: -1;
  background:
    repeating-linear-gradient(18deg, transparent 0 64px, rgba(21, 20, 18, .08) 65px 67px, transparent 68px 132px),
    repeating-linear-gradient(108deg, transparent 0 92px, rgba(21, 20, 18, .07) 93px 95px, transparent 96px 174px);
  transform: rotate(-4deg) scale(1.08);
}

.map-schematic::before,
.map-schematic::after,
.map-schematic i {
  content: "";
  position: absolute;
  height: 12px;
  border: 2px solid rgba(21, 20, 18, .13);
  border-right: 0;
  border-left: 0;
  transform-origin: left center;
}

.map-schematic::before {
  width: 90%;
  left: -4%;
  top: 28%;
  transform: rotate(9deg);
}

.map-schematic::after {
  width: 78%;
  left: 12%;
  top: 72%;
  transform: rotate(-17deg);
}

.map-schematic i:nth-child(1) {
  width: 65%;
  left: 16%;
  top: 45%;
  transform: rotate(34deg);
}

.map-schematic i:nth-child(2) {
  width: 74%;
  left: 34%;
  top: 12%;
  transform: rotate(86deg);
}

.map-schematic i:nth-child(3) {
  width: 46%;
  left: 4%;
  top: 66%;
  transform: rotate(-54deg);
}

.map-schematic i:nth-child(4) {
  width: 58%;
  left: 56%;
  top: 60%;
  transform: rotate(58deg);
}

.map-pin {
  position: absolute;
  left: 51%;
  top: 48%;
  width: 28px;
  height: 28px;
  border: 8px solid var(--accent);
  border-radius: 50% 50% 50% 0;
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(21, 20, 18, .2);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.map-card {
  width: min(390px, calc(100% - 40px));
  border: 1px solid color-mix(in srgb, var(--line), transparent 16%);
  border-top: 4px solid var(--accent);
  background: color-mix(in srgb, var(--cream), transparent 4%);
  box-shadow: 0 24px 64px rgba(21, 20, 18, .16);
  padding: clamp(24px, 4vw, 38px);
  backdrop-filter: blur(10px);
}

.map-card > span,
.map-card > strong,
.map-card > p {
  display: block;
}

.map-card > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-card > strong {
  max-width: 100%;
  margin: 12px 0;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-family: var(--display-font);
  font-size: clamp(30px, 2.5vw, 42px);
  line-height: .98;
}

.map-card > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(260px, 1.4fr) minmax(160px, .8fr);
  gap: 18px;
  align-items: start;
  background: var(--graphite);
  color: rgba(255, 250, 241, .72);
  padding: 28px clamp(20px, 6vw, 82px);
  font-size: 13px;
}

.site-footer strong {
  color: var(--cream);
}

.site-footer > a {
  width: fit-content;
  justify-self: start;
}

.site-footer-meta small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 241, .44);
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  button.button:hover {
    transform: translateY(-2px);
  }

  .service-tile:hover img,
  .portfolio-mosaic a:hover img {
    transform: scale(1.035);
  }
}

/* Configurable public-site art direction. */
.radius-sharp {
  --radius: 0;
  --media-radius: 0;
}

.radius-small {
  --radius: 5px;
  --media-radius: 4px;
}

.radius-soft {
  --radius: 8px;
  --media-radius: 8px;
}

.theme-dark-premium {
  --display-font: Georgia, "Times New Roman", serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.theme-light-minimal {
  --ink: #16191b;
  --muted: #687076;
  --line: #ccd1d4;
  --milk: #f1f3f3;
  --cream: #ffffff;
  --graphite: #1b1e20;
  --graphite-soft: #272b2e;
  --display-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.theme-light-minimal .site-nav {
  border-color: rgba(22, 25, 27, .14);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
}

.theme-light-minimal .site-nav nav a.is-active {
  color: var(--ink);
  border-color: var(--ink);
}

.theme-light-minimal .site-menu-toggle {
  border-color: rgba(22, 25, 27, .3);
  color: var(--ink);
}

.theme-light-minimal.hero-variant-split .hero {
  min-height: 820px;
  background-size: auto 100%;
  padding-top: 118px;
  padding-bottom: 72px;
}

.theme-light-minimal.hero-variant-split .hero-copy h1 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(52px, 6vw, 92px);
  line-height: .92;
  font-weight: 720;
}

.theme-light-minimal.hero-variant-split .hero-copy h2 {
  max-width: 470px;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 500;
}

.theme-light-minimal .proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-color: var(--line);
}

.theme-light-minimal .proof-card {
  min-height: 260px;
  border-color: var(--line);
  border-radius: 0;
  color: var(--ink);
}

.theme-light-minimal .proof-card p {
  color: var(--muted);
}

.theme-light-minimal .services-layout-list .service-tile {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  min-height: 280px;
  background: #fff;
  color: var(--ink);
}

.theme-light-minimal .services-layout-list .service-tile img {
  position: static;
  height: 100%;
  min-height: 280px;
}

.theme-light-minimal .services-layout-list .service-tile::after {
  display: none;
}

.theme-light-minimal .services-layout-list .service-tile div {
  position: static;
  align-self: center;
  padding: clamp(28px, 5vw, 66px);
}

.theme-light-minimal .services-layout-list .service-tile p {
  color: var(--muted);
}

.theme-light-minimal .services-layout-list .service-tile strong {
  color: var(--ink);
}

.theme-light-minimal .calculator-section {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.theme-light-minimal .calculator-section input,
.theme-light-minimal .calculator-section select,
.theme-light-minimal .calculator-section textarea {
  border-color: var(--line);
  background: #f5f7f7;
  color: var(--ink);
}

.theme-light-minimal .calculator-section label span,
.theme-light-minimal .calculator-copy p {
  color: var(--muted);
}

.theme-light-minimal .estimate-box {
  border-color: var(--line);
}

.theme-light-minimal .estimate-box span {
  color: var(--muted);
}

.theme-light-minimal .calculator-summary {
  border: 0;
  background: var(--accent);
  color: #fff;
}

.theme-light-minimal .calculator-summary > span,
.theme-light-minimal .calculator-summary dt {
  color: rgba(255, 255, 255, .7);
}

.theme-light-minimal .calculator-summary dl div {
  border-color: rgba(255, 255, 255, .28);
}

.theme-light-minimal .wide-photo-band,
.theme-light-minimal .consult-section {
  min-height: 58svh;
}

.theme-light-minimal .proof-section,
.theme-light-minimal .portfolio-section {
  background: #f8f9f9;
  color: var(--ink);
}

.theme-light-minimal .proof-section .section-head p,
.theme-light-minimal .portfolio-section .section-head p {
  color: var(--muted);
}

.theme-light-minimal .site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.theme-light-minimal .site-footer strong {
  color: var(--ink);
}

.theme-light-minimal .site-footer-meta small {
  color: color-mix(in srgb, var(--muted), transparent 12%);
}

.theme-light-minimal .service-tile img,
.theme-light-minimal .portfolio-mosaic img {
  filter: saturate(.82) contrast(1.02);
}

.theme-performance-red {
  --ink: #111111;
  --muted: #686868;
  --line: #cbc9c3;
  --milk: #e9e9e5;
  --cream: #f7f5ef;
  --graphite: #0c0c0c;
  --graphite-soft: #1b1b1b;
  --display-font: Arial, "Segoe UI", sans-serif;
  --body-font: Arial, "Segoe UI", sans-serif;
}

.theme-performance-red .site-nav {
  border-bottom: 3px solid var(--accent);
  background: rgba(8, 8, 8, .92);
}

.theme-performance-red.hero-variant-impact .hero {
  min-height: 94svh;
  align-items: center;
  padding-left: clamp(20px, 5vw, 76px);
  padding-bottom: 64px;
}

.theme-performance-red.hero-variant-impact .hero::after {
  inset: 0 0 0 auto;
  width: 34%;
  height: 100%;
  background: var(--accent);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}

.theme-performance-red.hero-variant-impact .hero-copy {
  width: 100%;
  max-width: 1180px;
  border-left: 0;
  padding-left: 0;
}

.theme-performance-red.hero-variant-impact .hero-copy h1 {
  max-width: 980px;
  font-size: clamp(68px, 10vw, 156px);
  line-height: .84;
  letter-spacing: -.035em;
}

.theme-performance-red.hero-variant-impact .hero-copy h2 {
  max-width: 760px;
  margin-left: clamp(0px, 18vw, 280px);
  font-size: clamp(28px, 3vw, 48px);
  text-transform: uppercase;
}

.theme-performance-red.hero-variant-impact .hero-actions,
.theme-performance-red.hero-variant-impact .hero-copy > p:not(.city-line) {
  margin-left: clamp(0px, 18vw, 280px);
}

.theme-performance-red.hero-variant-impact .hero-copy > p:not(.city-line) {
  max-width: 540px;
}

.theme-performance-red .proof-section {
  background: #0b0b0b;
}

.theme-performance-red .proof-grid {
  gap: 0;
  border-top: 4px solid var(--accent);
  background: #0b0b0b;
}

.theme-performance-red .proof-card {
  min-height: 280px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
}

.theme-performance-red .proof-card:nth-child(even) {
  border-right: 0;
}

.theme-performance-red .service-result-section {
  border-top: 4px solid var(--accent);
  background: #0b0b0b;
}

.theme-performance-red .calculator-section {
  background: var(--accent);
}

.theme-performance-red .calculator-section .section-kicker,
.theme-performance-red .calculator-section label span,
.theme-performance-red .calculator-copy p,
.theme-performance-red .estimate-box span {
  color: rgba(255, 255, 255, .72);
}

.theme-performance-red .calculator-section input,
.theme-performance-red .calculator-section select,
.theme-performance-red .calculator-section textarea {
  border-color: rgba(255, 255, 255, .28);
  background: #111;
}

.theme-performance-red .calculator-section .button-accent {
  background: #111;
}

.theme-performance-red .calculator-summary {
  border: 0;
  border-radius: 0;
}

.theme-performance-red .wide-photo-band::before,
.theme-performance-red .consult-section::before {
  background: linear-gradient(90deg, rgba(8, 8, 8, .94), rgba(8, 8, 8, .18));
}

.theme-performance-red .section-head h2,
.theme-performance-red .wide-photo-band h2,
.theme-performance-red .consult-section h2,
.theme-performance-red .page-hero h1 {
  text-transform: uppercase;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.025em;
}

.theme-performance-red .service-tile img,
.theme-performance-red .portfolio-mosaic img {
  filter: saturate(.72) contrast(1.18);
}

.theme-performance-red .process-line {
  border-top-width: 4px;
  border-top-color: var(--accent);
}

.theme-luxury-graphite {
  --ink: #171714;
  --muted: #77736a;
  --line: #c9c1b4;
  --milk: #e5e0d7;
  --cream: #f6f0e5;
  --graphite: #161714;
  --graphite-soft: #252620;
  --display-font: Baskerville, "Iowan Old Style", Georgia, serif;
  --body-font: "Segoe UI", Arial, sans-serif;
}

.theme-luxury-graphite .site-nav {
  background: rgba(22, 23, 20, .94);
}

.theme-luxury-graphite.hero-variant-editorial .hero {
  min-height: 92svh;
  justify-content: flex-end;
  align-items: center;
  background-color: var(--graphite);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  padding: 132px clamp(30px, 6vw, 88px) 76px;
}

.theme-luxury-graphite.hero-variant-editorial .hero::before {
  background: linear-gradient(90deg, transparent 0 42%, rgba(22, 23, 20, .72) 56%, var(--graphite) 66%);
}

.theme-luxury-graphite.hero-variant-editorial .hero::after {
  display: none;
}

.theme-luxury-graphite.hero-variant-editorial .hero-copy {
  width: 34%;
  max-width: 580px;
  margin-left: auto;
}

.theme-luxury-graphite.hero-variant-editorial .hero-copy h1 {
  margin-bottom: 26px;
  font-size: clamp(54px, 6.5vw, 110px);
  line-height: .88;
}

.theme-luxury-graphite.hero-variant-editorial .hero-copy h2 {
  font-size: clamp(24px, 2.3vw, 38px);
  font-weight: 400;
}

.theme-luxury-graphite .about-section {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  min-height: 760px;
  background: var(--graphite);
  color: var(--cream);
}

.theme-luxury-graphite .about-image {
  order: 2;
  min-height: 760px;
  background-position: 70% center;
}

.theme-luxury-graphite .about-copy {
  order: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(64px, 7vw, 108px) clamp(28px, 6vw, 92px);
}

.theme-luxury-graphite .about-copy h2 {
  max-width: 700px;
  overflow-wrap: normal;
  font-size: clamp(46px, 4.6vw, 72px);
  line-height: .94;
}

.theme-luxury-graphite .about-copy > p:not(.section-kicker) {
  color: rgba(246, 240, 229, .66);
}

.theme-luxury-graphite .about-steps {
  border-color: rgba(246, 240, 229, .2);
}

.theme-luxury-graphite .about-steps li + li::before {
  background: rgba(246, 240, 229, .2);
}

.theme-luxury-graphite .about-copy .about-steps p {
  color: rgba(246, 240, 229, .58);
}

.theme-luxury-graphite .proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-luxury-graphite .proof-card:not(:first-child) p {
  display: block;
}

.theme-luxury-graphite .calculator-section {
  background: #24251f;
}

.theme-luxury-graphite .calculator-summary {
  border-color: #9d835d;
  background: #e7dfd1;
}

.theme-luxury-graphite .wide-photo-band::before,
.theme-luxury-graphite .consult-section::before {
  background: linear-gradient(90deg, rgba(22, 23, 20, .94), rgba(22, 23, 20, .2));
}

.theme-luxury-graphite .services-section {
  background: #1d1e1a;
  color: var(--cream);
}

.theme-luxury-graphite .services-section .section-head > p {
  color: rgba(246, 240, 229, .68);
}

.theme-luxury-graphite .service-tile img,
.theme-luxury-graphite .portfolio-mosaic img {
  filter: saturate(.72) sepia(.08) contrast(1.08);
}

.theme-light-minimal .quality-control-section {
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr);
  background: #fff;
  color: var(--ink);
}

.theme-light-minimal .quality-visual {
  order: 2;
}

.theme-light-minimal .quality-copy {
  order: 1;
}

.theme-light-minimal .quality-copy > p:not(.section-kicker),
.theme-light-minimal .quality-checklist p {
  color: var(--muted);
}

.theme-light-minimal .quality-checklist,
.theme-light-minimal .quality-checklist article {
  border-color: var(--line);
}

.theme-performance-red .quality-control-section {
  grid-template-columns: 1fr;
  background: #0b0b0b;
}

.theme-performance-red .quality-visual {
  min-height: 62svh;
}

.theme-performance-red .quality-visual::before {
  background: linear-gradient(180deg, rgba(8, 8, 8, .04), rgba(8, 8, 8, .94));
}

.theme-performance-red .quality-visual div {
  border-top: 4px solid var(--accent);
}

.theme-performance-red .quality-copy {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
  align-items: start;
  gap: 14px clamp(48px, 8vw, 140px);
  padding: clamp(58px, 7vw, 100px) clamp(24px, 6vw, 90px);
}

.theme-performance-red .quality-copy > .section-kicker {
  grid-column: 1;
  grid-row: 1;
}

.theme-performance-red .quality-copy h2 {
  grid-column: 1;
  grid-row: 2;
  text-transform: uppercase;
  max-width: 680px;
  font-size: clamp(46px, 4.2vw, 68px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.025em;
}

.theme-performance-red .quality-copy > p:not(.section-kicker) {
  grid-column: 1;
  grid-row: 3;
}

.theme-performance-red .quality-checklist {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  border-top-width: 4px;
  border-top-color: var(--accent);
}

.theme-luxury-graphite .quality-control-section {
  background: #e7dfd1;
  color: var(--ink);
}

.theme-luxury-graphite .quality-copy > p:not(.section-kicker),
.theme-luxury-graphite .quality-checklist p {
  color: #6f695f;
}

.theme-luxury-graphite .quality-checklist,
.theme-luxury-graphite .quality-checklist article {
  border-color: rgba(23, 23, 20, .22);
}

.home-main {
  display: flex;
  flex-direction: column;
}

.home-main > .hero { order: 10; }
.home-main > .proof-section { order: 20; }
.home-main > .services-section { order: 30; }
.home-main > .wide-photo-band { order: 40; }
.home-main > .quality-control-section { order: 50; }
.home-main > .calculator-section { order: 60; }
.home-main > .process-section { order: 70; }
.home-main > .portfolio-section { order: 80; }
.home-main > .about-section { order: 90; }
.home-main > .reviews-section { order: 100; }
.home-main > .faq-section { order: 110; }
.home-main > .consult-section { order: 120; }
.home-main > .contacts-section { order: 130; }

.home-layout-services-first .home-main > .services-section { order: 20; }
.home-layout-services-first .home-main > .calculator-section { order: 30; }
.home-layout-services-first .home-main > .proof-section { order: 40; }
.home-layout-services-first .home-main > .quality-control-section { order: 50; }
.home-layout-services-first .home-main > .portfolio-section { order: 60; }
.home-layout-services-first .home-main > .wide-photo-band { order: 70; }
.home-layout-services-first .home-main > .process-section { order: 80; }

.home-layout-results-first .home-main > .quality-control-section { order: 20; }
.home-layout-results-first .home-main > .portfolio-section { order: 30; }
.home-layout-results-first .home-main > .services-section { order: 40; }
.home-layout-results-first .home-main > .calculator-section { order: 50; }
.home-layout-results-first .home-main > .proof-section { order: 60; }
.home-layout-results-first .home-main > .wide-photo-band { order: 70; }
.home-layout-results-first .home-main > .process-section { order: 80; }

.home-layout-studio-story .home-main > .about-section { order: 20; }
.home-layout-studio-story .home-main > .proof-section { order: 30; }
.home-layout-studio-story .home-main > .services-section { order: 40; }
.home-layout-studio-story .home-main > .wide-photo-band { order: 50; }
.home-layout-studio-story .home-main > .process-section { order: 60; }
.home-layout-studio-story .home-main > .portfolio-section { order: 70; }
.home-layout-studio-story .home-main > .quality-control-section { order: 80; }
.home-layout-studio-story .home-main > .calculator-section { order: 90; }

.hero-variant-split .hero {
  align-items: center;
  min-height: 90svh;
  background-color: var(--milk);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  color: var(--ink);
}

.hero-variant-split .hero::before {
  background: linear-gradient(90deg, var(--milk) 0 43%, color-mix(in srgb, var(--milk), transparent 12%) 52%, transparent 76%);
}

.hero-variant-split .hero::after {
  display: none;
}

.hero-variant-split .hero-copy {
  max-width: 590px;
}

.hero-variant-split .hero-copy > p:not(.city-line) {
  color: color-mix(in srgb, var(--ink), transparent 28%);
}

.hero-variant-split .button-outline {
  border-color: color-mix(in srgb, var(--ink), transparent 28%);
  color: var(--ink);
}

.hero-variant-editorial .hero {
  justify-content: flex-end;
  background-position: center;
}

.hero-variant-editorial .hero::before {
  background: linear-gradient(90deg, rgba(13, 13, 12, .08), rgba(13, 13, 12, .38) 45%, rgba(13, 13, 12, .92));
}

.hero-variant-editorial .hero-copy {
  width: min(650px, 48vw);
  margin-left: auto;
}

.hero-variant-impact .hero {
  align-items: center;
  min-height: 92svh;
  background-position: center;
}

.hero-variant-impact .hero::before {
  background: linear-gradient(90deg, rgba(8, 8, 8, .86), rgba(8, 8, 8, .56), rgba(8, 8, 8, .24));
}

.hero-variant-impact .hero-copy {
  max-width: 980px;
  border-left: 6px solid var(--accent);
  padding-left: clamp(22px, 3vw, 42px);
}

.hero-variant-impact .hero-copy h1 {
  font-family: var(--display-font);
  font-weight: 800;
  text-transform: uppercase;
}

.services-layout-grid .service-tile,
.services-layout-grid .service-tile.is-large {
  grid-column: auto;
  grid-row: auto;
}

.services-gallery.services-layout-list {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 10px;
}

.services-layout-list .service-tile,
.services-layout-list .service-tile.is-large {
  grid-column: auto;
  grid-row: auto;
  min-height: 250px;
}

.services-layout-list .service-tile div {
  max-width: 680px;
}

.portfolio-layout-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 330px;
}

.portfolio-layout-grid a:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.portfolio-layout-grid article:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.portfolio-layout-editorial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
}

.portfolio-layout-editorial a:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.portfolio-layout-editorial article:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.portfolio-layout-editorial a:first-child {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.portfolio-layout-editorial article:first-child {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.page-body {
  background: var(--milk);
}

.page-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(26px, 5vw, 70px);
  background-color: var(--graphite);
  background-position: center;
  background-size: cover;
  color: var(--cream);
  padding: 140px clamp(20px, 6vw, 82px) clamp(64px, 8vw, 112px);
}

.page-hero > div {
  max-width: 780px;
}

.page-hero h1 {
  margin: 0 0 20px;
  overflow-wrap: anywhere;
  font-family: var(--display-font);
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: .88;
  font-weight: 500;
}

.page-hero p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 250, 241, .78);
  font-size: 18px;
  line-height: 1.6;
}

.privacy-hero {
  min-height: 58svh;
  background: var(--graphite);
}

.page-hero-facts {
  width: min(330px, 100%);
  border-top: 1px solid rgba(255, 250, 241, .34);
  padding-top: 18px;
}

.page-hero-facts span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero-facts strong {
  display: block;
  margin: 10px 0;
  font-family: var(--display-font);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.page-service-list {
  border-top: 1px solid var(--ink);
}

.page-service-row {
  display: grid;
  grid-template-columns: minmax(160px, 300px) minmax(260px, 1fr) minmax(150px, 230px);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.page-service-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-service-row span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.page-service-row h2 {
  margin: 8px 0;
  font-family: var(--display-font);
  font-size: clamp(32px, 4vw, 58px);
  line-height: .98;
  font-weight: 500;
}

.page-service-row p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.55;
}

.page-service-row strong {
  justify-self: end;
  text-align: right;
  font-size: 20px;
}

.service-detail-hero {
  min-height: 88svh;
}

.service-depth {
  background: var(--cream);
}

.depth-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 82px);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.feature-list p {
  min-height: 142px;
  margin: 0;
  background: var(--cream);
  padding: 22px;
  color: var(--ink);
  line-height: 1.5;
}

.fit-panel {
  align-self: start;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.fit-panel h3 {
  margin: 0 0 16px;
  font-size: 28px;
}

.fit-panel p {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  line-height: 1.5;
}

.page-portfolio-section {
  padding-top: clamp(42px, 7vw, 82px);
}

.page-mosaic {
  grid-auto-rows: 310px;
}

.case-hero {
  min-height: 86svh;
}

.case-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(28px, 6vw, 82px);
  background: var(--cream);
}

.case-compare {
  border-top: 0;
  padding-top: 0;
}

.case-compare .ba-frame {
  aspect-ratio: 4 / 5;
}

.case-copy {
  align-self: center;
}

.case-copy h2,
.legal-section h2 {
  margin: 0 0 18px;
  font-family: var(--display-font);
  font-size: clamp(38px, 5vw, 70px);
  line-height: .96;
  font-weight: 500;
}

.case-copy p,
.legal-section p {
  color: var(--muted);
  line-height: 1.65;
}

.case-copy .button {
  margin-top: 22px;
}

.page-about {
  min-height: auto;
}

.legal-section {
  background: var(--cream);
}

.legal-section > div {
  max-width: 840px;
}

.compact-cta {
  min-height: 58svh;
}

.site-body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.site-body.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.plain-page,
.install-page,
.login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #201e19;
}

.plain-box,
.install-panel,
.login-shell {
  width: min(980px, 100%);
  background: var(--surface);
  border: 1px solid #e2d8c9;
  border-radius: 8px;
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.plain-box {
  width: min(560px, 100%);
}

.install-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
}

.install-panel h1,
.plain-box h1,
.login-shell h1 {
  margin: 0 0 12px;
  font-family: var(--display-font);
  font-size: clamp(38px, 7vw, 78px);
  line-height: .95;
  font-weight: 500;
}

.install-panel p,
.plain-box p,
.login-shell p {
  color: var(--muted);
  line-height: 1.55;
}

.install-form,
.login-form,
.admin-form {
  display: grid;
  gap: 18px;
}

.login-shell {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 44px;
  align-items: center;
}

.admin-body {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: #ede7dc;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid var(--line);
  background: #171612;
  color: #fffaf1;
  padding: 22px;
}

.sidebar nav {
  display: grid;
  gap: 4px;
}

.sidebar nav a {
  border-left: 3px solid transparent;
  padding: 10px 12px;
  color: rgba(255, 250, 241, .68);
}

.sidebar nav a.active {
  border-left-color: var(--accent);
  color: #fffaf1;
  background: rgba(255, 250, 241, .06);
}

.sidebar form {
  margin-top: auto;
}

.admin-main {
  padding: 26px clamp(18px, 4vw, 48px) 54px;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(36px, 5vw, 66px);
  line-height: .96;
  font-weight: 500;
}

.admin-topbar p,
.meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.metric-strip div {
  padding: 20px 18px 18px 0;
}

.metric-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric-strip strong {
  display: block;
  margin-top: 9px;
  font-size: 34px;
}

.admin-section {
  border-top: 1px solid var(--ink);
  padding: 22px 0 34px;
}

.admin-section h2,
.detail-primary h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.1;
}

.admin-section.split,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(24px, 5vw, 62px);
}

.theme-settings {
  min-width: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 18px 0 8px;
}

.theme-settings legend {
  padding: 0 12px 0 0;
  font-size: 15px;
  font-weight: 750;
}

.theme-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.theme-option {
  position: relative;
  display: grid;
  gap: 9px;
  cursor: pointer;
}

.theme-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.theme-option-swatch {
  position: relative;
  display: block;
  height: 86px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #171715;
  margin: 0;
}

.theme-option-swatch::before {
  content: "";
  position: absolute;
  inset: 14px 18px auto;
  height: 6px;
  background: currentColor;
  box-shadow: 0 13px 0 color-mix(in srgb, currentColor, transparent 45%);
}

.theme-option-swatch i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  height: 58%;
  background: #b21f2d;
}

.theme-option-swatch b {
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: 34%;
  height: 16px;
  border-bottom: 3px solid currentColor;
}

.theme-option input:focus-visible + .theme-option-swatch,
.theme-option input:checked + .theme-option-swatch {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent), transparent 72%);
}

.theme-option > strong {
  font-size: 13px;
}

.theme-preview-dark-premium .theme-option-swatch {
  color: #f7efe2;
  background: #121210;
}

.theme-preview-light-minimal .theme-option-swatch {
  color: #202426;
  background: #f4f6f6;
}

.theme-preview-light-minimal .theme-option-swatch i {
  background: #547ca0;
}

.theme-preview-performance-red .theme-option-swatch {
  color: #f2f0e9;
  background: #0d0d0d;
}

.theme-preview-performance-red .theme-option-swatch i {
  width: 16%;
  height: 100%;
  background: #c51d2b;
}

.theme-preview-luxury-graphite .theme-option-swatch {
  color: #e8dfcf;
  background: #252620;
}

.theme-preview-luxury-graphite .theme-option-swatch i {
  background: #a58454;
}

.section-row,
.toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-form input {
  width: min(320px, 100%);
}

.inline-create {
  position: relative;
}

.inline-create summary {
  list-style: none;
}

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

.pop-form {
  position: absolute;
  z-index: 6;
  right: 0;
  top: calc(100% + 10px);
  width: min(680px, 92vw);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.kanban {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 310px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.kanban-column {
  min-height: 420px;
  border-top: 1px solid var(--ink);
  background: rgba(255, 250, 241, .45);
  padding: 12px;
}

.kanban-column header {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.kanban-column.is-over {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.kanban-stack {
  display: grid;
  gap: 10px;
}

.lead-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
  padding: 12px;
  cursor: grab;
}

.lead-card:active {
  cursor: grabbing;
}

.lead-card a {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 750;
}

.lead-card p,
.lead-card span {
  display: block;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
}

.lead-card strong {
  display: block;
  margin-top: 8px;
}

.definition-list {
  display: grid;
  gap: 1px;
  margin: 0;
}

.definition-list div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.definition-list dt {
  color: var(--muted);
}

.definition-list dd {
  margin: 0;
  font-weight: 700;
}

.definition-list.small div {
  grid-template-columns: 110px 1fr;
}

.revenue-bars {
  display: grid;
  gap: 12px;
}

.revenue-bars div {
  display: grid;
  grid-template-columns: 100px 1fr 110px;
  gap: 10px;
  align-items: center;
}

.revenue-bars b {
  display: block;
  height: 8px;
  background: var(--accent);
}

.table-wrap {
  overflow-x: auto;
}

.detail-primary,
.detail-side {
  min-width: 0;
}

.detail-side {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.lead-car {
  color: var(--muted);
  font-size: 20px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.compact-form {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.history-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.history-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

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

.object-list a,
.object-list span {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.service-editor {
  display: grid;
  gap: 16px;
}

.service-edit-row {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}

.service-grid {
  grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(90px, .6fr));
}

.empty-line {
  color: var(--muted);
}

.danger-zone {
  border-left: 4px solid #9f1c1c;
  padding-left: 18px;
}

.button-danger {
  border-color: #9f1c1c;
  background: #9f1c1c;
  color: #fff;
}

.portfolio-admin-list,
.user-editor {
  display: grid;
}

.portfolio-admin-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) max-content;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.portfolio-admin-row:last-child {
  border-bottom: 1px solid var(--line);
}

.portfolio-admin-thumb {
  display: grid;
  width: 86px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  background: var(--line);
  color: var(--muted);
  font-weight: 800;
}

.portfolio-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-admin-row strong,
.portfolio-admin-row small {
  display: block;
}

.portfolio-admin-row small,
.user-edit-head span,
.status-text {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.status-text {
  white-space: nowrap;
}

.media-upload {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.media-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd6ca;
}

.media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-preview.is-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.media-upload-fields {
  display: grid;
  gap: 12px;
}

.user-edit-row {
  border-top: 1px solid var(--ink);
  padding: 20px 0 28px;
}

.user-edit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.user-edit-head strong,
.user-edit-head span {
  display: block;
}

.user-edit-head strong {
  font-size: 20px;
}

.account-password-form {
  max-width: 760px;
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    align-items: center;
  }

  .site-menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .site-brand {
    position: relative;
    z-index: 2;
  }

  .site-nav nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    background: var(--graphite);
    color: var(--cream);
    padding: 96px 24px 46px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav nav a {
    width: 100%;
    border-bottom: 1px solid rgba(255, 250, 241, .16);
    padding: 16px 0;
    font-family: var(--display-font);
    font-size: clamp(28px, 9vw, 44px);
    line-height: 1;
  }

  .site-nav nav .nav-action {
    margin-top: 18px;
    border: 0;
    color: var(--accent);
    font-family: var(--body-font);
    font-size: 18px;
  }

  .site-nav.is-menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav.is-menu-open .site-menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-nav.is-menu-open .site-menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-menu-open {
    overflow: hidden;
  }

  .hero {
    min-height: 82svh;
    padding: 100px 20px 48px;
  }

  .hero-copy h1 {
    font-size: clamp(48px, 17vw, 76px);
  }

  .section-head,
  .calculator-section,
  .portfolio-line,
  .login-shell,
  .admin-section.split,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 96px 1fr;
  }

  .service-row img {
    width: 96px;
    height: 84px;
  }

  .service-row strong {
    grid-column: 2;
    text-align: left;
  }

  .admin-body {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

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

  .admin-main {
    padding: 20px 16px 40px;
  }

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

  .toolbar,
  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-admin-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .portfolio-admin-thumb {
    width: 72px;
    height: 56px;
  }

  .portfolio-admin-row .status-text {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .form-grid,
  .form-grid.two,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .media-upload {
    grid-template-columns: 1fr;
  }

  .media-preview {
    max-width: 100%;
  }

  .plain-page,
  .install-page,
  .login-page {
    padding: 12px;
  }

  .plain-box,
  .install-panel,
  .login-shell {
    padding: 24px 18px;
  }

  .hero-actions,
  .filter-form {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  button.button {
    width: 100%;
  }

  .revenue-bars div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .theme-picker {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .proof-grid,
  .services-gallery,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-section,
  .calculator-panel,
  .about-section,
  .contacts-section,
  .depth-grid,
  .case-detail {
    grid-template-columns: 1fr;
  }

  .calculator-summary {
    position: static;
  }

  .about-image {
    min-height: 520px;
  }

  .theme-luxury-graphite .about-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .theme-luxury-graphite .about-image {
    order: 1;
    min-height: 520px;
  }

  .theme-luxury-graphite .about-copy {
    order: 2;
  }

  .page-hero {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .site-body .site-nav {
    position: absolute;
    padding: 14px 18px;
  }

  .site-body .site-brand span:last-child {
    max-width: 54vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wide-photo-band,
  .consult-section {
    background-attachment: scroll;
  }

  .site-body .hero {
    min-height: 88svh;
    padding: 112px 20px 58px;
  }

  .hero-variant-split .hero {
    min-height: 100svh;
    align-items: flex-end;
    background-position: top center;
    background-size: 100% 48%;
    padding-top: 50svh;
  }

  .hero-variant-split .hero::before {
    background: linear-gradient(0deg, var(--milk) 0 48%, color-mix(in srgb, var(--milk), transparent 6%) 54%, transparent 72%);
  }

  .theme-light-minimal.hero-variant-split .hero {
    min-height: 100svh;
    align-items: flex-end;
    background-position: top center;
    background-size: 100% auto;
    padding: calc(66.667vw + 34px) 20px 52px;
  }

  .hero-variant-editorial .hero-copy {
    width: 100%;
    margin-left: 0;
  }

  .hero-variant-editorial .hero::before {
    background: linear-gradient(90deg, rgba(13, 13, 12, .88), rgba(13, 13, 12, .46));
  }

  .hero-variant-impact .hero-copy {
    border-left-width: 4px;
  }

  .site-body .section-head,
  .faq-list,
  .site-footer,
  .page-service-row {
    grid-template-columns: 1fr;
  }

  .page-service-row strong {
    justify-self: start;
    text-align: left;
  }

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

  .process-line article {
    min-height: 190px;
  }

  .portfolio-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .portfolio-mosaic article:nth-child(1),
  .portfolio-mosaic article:nth-child(4),
  .portfolio-mosaic a:nth-child(1),
  .portfolio-mosaic a:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .theme-picker {
    gap: 9px;
  }

  .theme-option-swatch {
    height: 72px;
  }

  .site-body .hero-copy h1 {
    font-size: clamp(46px, 16vw, 74px);
  }

  .site-body .hero-copy h2,
  .site-body .page-hero h1,
  .site-body .section-head h2,
  .site-body .calculator-copy h2,
  .site-body .contacts-section h2,
  .site-body .wide-photo-band h2,
  .site-body .about-copy h2,
  .site-body .consult-section h2 {
    font-size: clamp(33px, 11vw, 48px);
  }

  .proof-grid,
  .services-gallery,
  .review-grid,
  .process-line,
  .portfolio-mosaic {
    grid-template-columns: 1fr;
  }

  .proof-card {
    min-height: 0;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    border-right: 0;
    padding: 28px 0;
  }

  .service-tile,
  .service-tile.is-large {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .wide-photo-band,
  .consult-section {
    min-height: 48svh;
  }

  .portfolio-mosaic {
    grid-auto-rows: 270px;
  }

  .portfolio-layout-editorial a:first-child,
  .portfolio-layout-editorial article:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .about-image,
  .theme-luxury-graphite .about-image {
    min-height: 0;
    aspect-ratio: 3 / 2;
    background-repeat: no-repeat;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 310px;
  }

  .about-steps,
  .contacts-list div,
  .calculator-summary dl div,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 70svh;
    padding: 116px 20px 52px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .estimate-box {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .estimate-box strong {
    justify-self: start;
    text-align: left;
  }

  .site-section,
  .calculator-section,
  .contacts-section {
    padding: 58px 20px;
  }

  .process-line article {
    min-height: 0;
    border-right: 0;
    padding: 22px 0;
  }

  .about-section,
  .theme-luxury-graphite .about-section {
    min-height: 0;
  }

  .about-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-steps li {
    padding-right: 12px;
  }

  .about-steps li + li {
    padding-left: 14px;
  }

  .map-card {
    width: calc(100% - 30px);
    padding: 24px 20px;
  }

  .site-footer-meta small {
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .about-steps {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .about-steps li,
  .about-steps li + li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 18px 0;
    column-gap: 10px;
  }

  .about-steps li + li::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .about-steps span {
    grid-row: 1 / 3;
    margin: 2px 0 0;
  }

  .about-steps strong {
    font-size: 24px;
  }

  .about-copy .about-steps p {
    margin-top: 6px;
  }
}

@media (max-width: 900px) {
  .quality-control-section,
  .theme-light-minimal .quality-control-section,
  .theme-performance-red .quality-control-section {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .quality-visual,
  .theme-performance-red .quality-visual {
    min-height: min(72vw, 560px);
  }

  .theme-light-minimal .quality-visual {
    order: 1;
  }

  .theme-light-minimal .quality-copy {
    order: 2;
  }

  .theme-performance-red .quality-copy {
    display: flex;
    padding: clamp(48px, 8vw, 76px) clamp(20px, 6vw, 54px);
  }

  .theme-performance-red .quality-checklist {
    margin-top: 38px;
  }

  .theme-light-minimal .proof-grid,
  .theme-luxury-graphite .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-luxury-graphite .proof-card:first-child,
  .theme-luxury-graphite .proof-card:not(:first-child) {
    grid-column: auto;
  }

  .theme-luxury-graphite .proof-card:not(:first-child) p {
    display: block;
  }

  .theme-luxury-graphite.hero-variant-editorial .hero {
    min-height: 100svh;
    align-items: flex-end;
    background-position: top center;
    background-size: 100% auto;
    padding: calc(66.667vw + 34px) 20px 52px;
  }

  .theme-luxury-graphite.hero-variant-editorial .hero::before {
    background: linear-gradient(0deg, var(--graphite) 0 48%, rgba(22, 23, 20, .94) 55%, transparent 76%);
  }

  .theme-luxury-graphite.hero-variant-editorial .hero-copy {
    width: 100%;
    max-width: 680px;
    margin-left: 0;
  }

  .theme-performance-red.hero-variant-impact .hero-copy h2,
  .theme-performance-red.hero-variant-impact .hero-actions,
  .theme-performance-red.hero-variant-impact .hero-copy > p:not(.city-line) {
    margin-left: 0;
  }

  .theme-performance-red.hero-variant-impact .hero::after {
    width: 42%;
    opacity: .62;
  }
}

@media (max-width: 700px) {
  .public-theme-switcher {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: center;
    overflow-x: auto;
    max-width: none;
    padding: 5px;
  }

  .public-theme-switcher__label {
    display: none;
  }

  .public-theme-switcher__options {
    width: 100%;
  }

  .public-theme-switcher button {
    justify-content: center;
    min-width: 0;
    flex: 1 1 25%;
    gap: 5px;
    padding: 8px 6px;
    font-size: 10px;
  }

  .quality-visual,
  .theme-performance-red .quality-visual {
    min-height: 330px;
    padding: 24px 20px;
  }

  .quality-visual div {
    align-items: flex-start;
    flex-direction: column;
  }

  .quality-visual strong {
    text-align: left;
  }

  .quality-copy {
    padding: 48px 20px 56px;
  }

  .quality-copy h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .quality-checklist article {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

  .theme-light-minimal .services-layout-list .service-tile {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .theme-light-minimal .services-layout-list .service-tile img {
    width: 100%;
    height: 240px;
    min-height: 240px;
  }

  .theme-light-minimal .services-layout-list .service-tile div {
    padding: 26px 20px 30px;
  }

  .theme-light-minimal .proof-grid,
  .theme-luxury-graphite .proof-grid {
    grid-template-columns: 1fr;
  }

  .theme-performance-red.hero-variant-impact .hero-copy h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  .theme-performance-red.hero-variant-impact .hero::after {
    width: 58%;
    opacity: .38;
  }
}

@media (max-width: 900px) {
  .service-result-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-result-section {
    gap: 38px;
    padding: 64px 20px;
  }

  .service-result-points li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
  }

}
