@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-v20-cyrillic_latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-v20-cyrillic_latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --ink: #09090b;
  --graphite: #18181b;
  --muted: #5f6268;
  --soft: #eef0f2;
  --line: rgba(9, 9, 11, 0.12);
  --grid-minor: rgba(9, 9, 11, 0.022);
  --grid-major: rgba(9, 9, 11, 0.052);
  --grid-dark-minor: rgba(255, 255, 255, 0.024);
  --grid-dark-major: rgba(255, 255, 255, 0.052);
  --grid-dark-divider: rgba(255, 255, 255, 0.14);
  --accent: #5f5a52;
  --accent-dark: #3f3d39;
  --accent-soft: rgba(95, 90, 82, 0.18);
  --accent-glow: rgba(95, 90, 82, 0.2);
  --white: #ffffff;
  --container: min(1320px, calc(100vw - 32px));
  --radius: 6px;
  --card-shadow: 0 12px 34px rgba(9, 9, 11, 0.055);
  --card-hover-shadow: 0 18px 48px rgba(9, 9, 11, 0.09);
  --shadow: 0 24px 70px rgba(9, 9, 11, 0.12);
  --section-title: clamp(34px, 4.7vw, 64px);
  --card-title: clamp(22px, 2.4vw, 32px);
  --body-lead: clamp(16px, 1.45vw, 18px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-gallery-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -120px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--graphite);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 0;
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-brand-logo {
  width: 174px;
  height: auto;
}

.nav-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
}

.nav-toggle::before {
  content: none;
}

.nav-toggle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  color: #161616;
  transform: translate(-50%, -50%);
}

.nav-toggle-icon rect {
  fill: currentColor;
}

.nav-toggle span {
  display: none;
}

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  width: min(260px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--graphite);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: clamp(700px, 82svh, 860px);
  padding: 132px 0 64px;
  display: grid;
  align-items: start;
  overflow: hidden;
  border-bottom: 0;
  color: var(--white);
  background: var(--graphite);
}

.hero-media,
.hero-video,
.hero-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  z-index: 1;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.hero-video.is-ready + .hero-fallback {
  opacity: 0;
}

.hero-fallback {
  z-index: 0;
  background:
    linear-gradient(rgba(21, 17, 15, 0.1), rgba(21, 17, 15, 0.1)),
    url("./assets/images/hero-poster.svg") center/cover no-repeat;
  transition: opacity 320ms ease;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0.34) 38%, rgba(250, 250, 250, 0.84) 100%),
    linear-gradient(90deg, rgba(9, 9, 11, 0.74) 0%, rgba(9, 9, 11, 0.42) 47%, rgba(9, 9, 11, 0.2) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  bottom: 0;
  height: clamp(120px, 16vw, 220px);
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0), var(--bg));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow,
.work-type {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 4.65vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(10px, 2vw, 20px);
  max-width: 680px;
}

.hero-proof article {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite);
  box-shadow: var(--card-shadow);
}

.hero-proof img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hero-proof article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.08), rgba(9, 9, 11, 0.62));
}

.hero-proof span {
  position: absolute;
  z-index: 1;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--graphite);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--graphite);
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--white);
  background: var(--graphite);
}

.hero-copy .button-primary {
  border-color: var(--white);
  color: var(--graphite);
  background: var(--white);
}

.hero-copy .button-primary:hover,
.hero-copy .button-primary:focus-visible {
  border-color: rgba(255, 255, 255, 0.84);
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.84);
}

.hero-copy .button-secondary {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
  background: rgba(9, 9, 11, 0.12);
}

.hero-copy .button-secondary:hover,
.hero-copy .button-secondary:focus-visible {
  border-color: var(--white);
  color: var(--graphite);
  background: var(--white);
}

.hero-calculator {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 56px rgba(9, 9, 11, 0.1);
}

.calculator-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-calculator h2 {
  max-width: 520px;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

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

.hero-calculator legend,
.range-field span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.segmented-control {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.segmented-control button {
  min-width: 0;
  min-height: 44px;
  padding: 0 10px;
  border-right: 1px solid var(--line);
  color: var(--graphite);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.segmented-control button:last-child {
  border-right: 0;
}

.segmented-control button.is-active {
  color: var(--white);
  background: var(--graphite);
  box-shadow: 0 14px 24px rgba(9, 9, 11, 0.16);
}

.segmented-control button:focus-visible,
.calculator-button:focus-visible {
  outline: 2px solid rgba(95, 90, 82, 0.42);
  outline-offset: 3px;
}

.range-field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.range-field input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--accent);
}

.range-field input[type="number"] {
  width: min(100%, 112px);
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--graphite);
  background: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.range-field input[type="number"]:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

.calculator-help {
  display: none;
  margin-top: 6px;
  color: rgba(29, 29, 31, 0.56);
  font-size: 12px;
  line-height: 1.35;
}

.calculator-help.is-visible {
  display: block;
}

.calculator-help.is-active,
.area-hint.is-visible {
  color: var(--accent-dark);
  font-weight: 700;
}

.area-hint {
  margin-top: 0;
}

.segmented-control button:disabled {
  color: rgba(29, 29, 31, 0.34);
  cursor: not-allowed;
  background: rgba(245, 245, 246, 0.88);
  box-shadow: none;
}

.calculator-result {
  display: grid;
  align-content: center;
  grid-template-rows: 14px 54px 26px;
  justify-items: start;
  gap: 8px;
  min-height: 154px;
  padding: clamp(16px, 2vw, 18px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 9, 11, 0.94), rgba(95, 90, 82, 0.9)),
    var(--graphite);
}

.calculator-result span {
  align-self: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calculator-result strong {
  align-self: center;
  font-size: clamp(36px, 4.4vw, 50px);
  line-height: 0.95;
  letter-spacing: 0;
}

.calculator-result [data-calc-total][data-mode="individual"] {
  font-size: clamp(18px, 5.6vw, 34px);
  line-height: 1.05;
  white-space: nowrap;
}

.calculator-result p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.calculator-result p,
.calculator-result [data-calc-summary] {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.calculator-summary {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}

.calculator-summary span {
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.calculator-result p:empty {
  display: none;
}

.calculator-button {
  width: 100%;
}

.work-photo-button span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 13px;
  line-height: 1;
  background: rgba(9, 9, 11, 0.68);
  backdrop-filter: blur(10px);
}

.work-photo-button:hover img,
.work-photo-button:focus-visible img {
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.035);
}

.section {
  padding: clamp(76px, 10vw, 128px) 0;
  scroll-margin-top: 88px;
}

.intro-grid,
.faq-grid,
.control-grid,
.portfolio-head,
.pricing-head,
.stages-head,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5.4vw, 72px);
  align-items: start;
}

.intro-statement,
.faq-copy,
.control-copy,
.portfolio-head > div,
.pricing-head > div,
.stages-head > div,
.contact-copy {
  display: grid;
  gap: 14px;
}

.portfolio-head > p,
.pricing-head > p,
.stages-head > p,
.stages-head .section-summary,
.control-copy > p:not(.eyebrow),
.contact-copy + *,
.faq-copy + * {
  max-width: 620px;
}

.intro-statement h2,
.faq-copy h2,
.control-copy h2,
.portfolio-head h2,
.pricing-head h2,
.stages-head h2,
.contact-copy h2 {
  max-width: 900px;
  font-size: var(--section-title);
  line-height: 1.04;
  text-transform: none;
}

.portfolio-head > p,
.pricing-head > p,
.stages-head .section-summary > p:not(.stages-disclaimer),
.control-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--body-lead);
  line-height: 1.62;
}

.intro-notes {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
}

.intro-section {
  padding-bottom: clamp(48px, 7vw, 86px);
}

.process-proof {
  position: relative;
  overflow: hidden;
  min-height: clamp(460px, 46vw, 620px);
  display: flex;
  align-items: flex-end;
  margin-top: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #151515;
  box-shadow: var(--card-shadow);
}

.process-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.58) 44%, rgba(9, 9, 11, 0.08) 100%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.04) 0%, rgba(9, 9, 11, 0.64) 100%);
  pointer-events: none;
}

.process-proof img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.04);
}

.process-proof-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  width: 100%;
  padding: clamp(28px, 5vw, 64px);
  color: var(--white);
}

.process-proof .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.process-proof h2 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(34px, 5.2vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.process-proof p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--body-lead);
  line-height: 1.58;
}

.process-proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: clamp(4px, 1vw, 10px);
}

.process-proof-points article {
  min-height: 136px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.process-proof-points span {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-proof .process-proof-points p {
  max-width: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.38;
}

.pricing-section {
  color: var(--white);
  background:
    linear-gradient(var(--grid-dark-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark-minor) 1px, transparent 1px),
    linear-gradient(var(--grid-dark-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark-major) 1px, transparent 1px),
    linear-gradient(135deg, #18181b 0%, #101114 100%);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px, auto;
}

.pricing-head {
  margin-bottom: 28px;
  align-items: start;
}

.pricing-head > p {
  justify-self: start;
  color: rgba(255, 255, 255, 0.68);
}

.pricing-head > div {
  width: min(680px, 100%);
}

.pricing-groups {
  display: grid;
  gap: 24px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pricing-cards--renovation {
  grid-template-columns: 1fr;
}

.pricing-cards--design {
  grid-template-columns: 1fr;
}

.pricing-card {
  --price-bg: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--graphite);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pricing-card::before,
.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pricing-card::before {
  background-image: var(--price-bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
}

.pricing-card::after {
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.62) 48%, rgba(9, 9, 11, 0.32) 100%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.08) 0%, rgba(9, 9, 11, 0.54) 100%);
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.pricing-card:hover::before {
  filter: saturate(1.04) contrast(1.05);
  transform: scale(1.035);
}

.pricing-card--comfort {
  --price-bg: url("./assets/images/pricing/comfort.jpg");
}

.pricing-card--business {
  --price-bg: url("./assets/images/pricing/business.jpg");
}

.pricing-card--elite {
  --price-bg: url("./assets/images/pricing/elite.jpg");
}

.pricing-card--design-project {
  --price-bg: url("./assets/images/pricing/design-project.jpg");
}

.pricing-card--space-organization {
  --price-bg: url("./assets/images/pricing/space-organization.jpg");
}

.pricing-card--replanning {
  --price-bg: url("./assets/images/pricing/replanning.jpg");
}

.pricing-card--furniture-concept {
  --price-bg: url("./assets/images/pricing/furniture-concept.jpg");
}

.pricing-card--procurement {
  --price-bg: url("./assets/images/pricing/procurement.jpg");
}

.pricing-card-summary {
  position: relative;
  z-index: 1;
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(130px, 0.18fr) minmax(0, 1fr) minmax(170px, auto) minmax(184px, auto);
  align-items: center;
  gap: 8px clamp(18px, 3.2vw, 42px);
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

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

.pricing-card-summary span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.pricing-card-summary strong {
  color: var(--white);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.05;
  text-transform: none;
  overflow-wrap: anywhere;
}

.pricing-card-summary b {
  color: #d7d0c8;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
  white-space: nowrap;
}

.price-teaser {
  grid-column: 2 / 4;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.pricing-card-action {
  grid-column: 4;
  grid-row: 1 / span 2;
  justify-self: end;
  min-height: 48px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.pricing-card-action::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.pricing-card[open] .pricing-card-action {
  border-color: var(--accent);
  background: var(--accent);
}

.pricing-card[open] .pricing-card-action::after {
  content: "−";
}

.price-details {
  position: relative;
  z-index: 1;
  margin: 0 clamp(14px, 2vw, 24px) clamp(14px, 2vw, 24px);
  padding: clamp(18px, 2.3vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px) saturate(1.08);
  line-height: 1.58;
}

.price-details {
  display: grid;
  gap: 12px;
}

.price-details > p {
  color: rgba(9, 9, 11, 0.72);
}

.price-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

.price-details--renovation,
.price-details--design {
  max-width: none;
}

.price-summary-grid--renovation,
.price-summary-grid--design {
  grid-template-columns: 1fr;
  gap: 12px;
}

.price-detail-column {
  padding: 16px;
  border: 1px solid rgba(9, 9, 11, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.price-summary-grid--renovation .price-detail-column,
.price-summary-grid--design .price-detail-column {
  display: grid;
  grid-template-columns: minmax(170px, 0.24fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 20px;
}

.price-details h4 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-detail-column h4 {
  margin-top: 0;
  font-size: 12px;
}

.price-details ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
}

.price-summary-grid--renovation ul,
.price-summary-grid--design ul {
  max-width: 820px;
  gap: 8px;
  line-height: 1.62;
}

.price-details li {
  padding-left: 2px;
}

.pricing-head-design {
  margin: 52px 0 4px;
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.pricing-note p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.52;
}

.stages-section {
  color: var(--ink);
  background:
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(135deg, #f7f8fa 0%, #eef0f2 100%);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px, auto;
}

.stages-head {
  margin-bottom: 28px;
}

.stages-head .stages-disclaimer {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.62);
}

.stages-head .eyebrow {
  color: var(--muted);
}

.stages-head .section-summary {
  gap: 16px;
}

.stages-head .section-summary > p:not(.stages-disclaimer) {
  color: var(--muted);
}

.stages-toggle-row {
  display: grid;
  gap: 18px;
}

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

.stages-preview article {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--card-shadow);
}

.stages-preview span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.stages-preview strong {
  font-size: 18px;
  line-height: 1.18;
}

.stages-preview p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.stages-toggle {
  justify-self: start;
  min-width: 178px;
  color: var(--white);
  border-color: var(--graphite);
  background: var(--graphite);
}

.stages-toggle:hover,
.stages-toggle:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.stages-panel {
  margin-top: 28px;
}

.stages-list {
  display: grid;
  margin-block: 0;
  padding: 0 clamp(24px, 3.4vw, 48px);
  list-style: none;
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--card-shadow);
}

.stage-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 40px;
  min-height: 160px;
  padding: 40px 0 38px;
  border-bottom: 0;
}

.stage-item::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.stage-item > span {
  color: rgba(9, 9, 11, 0.24);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 0.9;
}

.stage-item div {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.stage-item h3 {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-item p {
  color: var(--muted);
  line-height: 1.58;
}

.control-section {
  background:
    linear-gradient(180deg, var(--bg), #f4f5f7);
  border-top: 1px solid var(--line);
}

.control-grid {
  grid-template-columns: 1fr;
  gap: 34px;
}

.control-copy {
  max-width: 920px;
  align-content: start;
}

.control-copy > p:not(.eyebrow) {
  max-width: 760px;
}

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

.control-list article {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: clamp(14px, 1.8vw, 22px);
  padding: clamp(24px, 2.7vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.control-list article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--graphite);
}

.control-list article:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--card-hover-shadow);
}

.control-list span {
  color: var(--accent-dark);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 0.92;
}

.control-list h3 {
  margin: 0;
  color: var(--ink);
  max-width: 15ch;
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.05;
  text-transform: none;
}

.control-list p {
  align-self: end;
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
}

.faq-section {
  padding: clamp(64px, 7vw, 96px) 0 clamp(72px, 8vw, 108px);
  background: var(--soft);
}

.faq-section .faq-grid {
  grid-template-columns: minmax(420px, 0.54fr) minmax(0, 0.7fr);
  gap: clamp(28px, 4.4vw, 56px);
  align-items: start;
}

.faq-section .faq-copy {
  align-content: start;
}

.faq-section .faq-copy h2 {
  max-width: 13ch;
  font-size: clamp(38px, 4vw, 58px);
}

.faq-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: var(--body-lead);
  line-height: 1.62;
}

.faq-brief {
  display: grid;
  gap: 10px;
  margin-top: clamp(10px, 1.4vw, 18px);
}

.faq-brief article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  padding: 16px;
  border: 1px solid rgba(9, 9, 11, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.faq-brief span {
  grid-row: span 2;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.faq-brief strong {
  font-size: 15px;
  line-height: 1.25;
}

.faq-brief p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-list details[open],
.faq-list details:hover {
  border-color: var(--accent-soft);
  box-shadow: var(--card-hover-shadow);
}

.faq-list details:hover {
  transform: translateY(-2px);
}

.faq-list summary {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 15px 48px 15px 16px;
  cursor: pointer;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 700;
  line-height: 1.32;
  list-style: none;
}

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

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.faq-list p {
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
}

@media (min-width: 980px) {
  .faq-section .faq-copy {
    position: sticky;
    top: 108px;
  }
}

@media (max-width: 1180px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

.portfolio-section {
  overflow: hidden;
  background:
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    var(--bg);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px, auto;
}

.portfolio-head {
  margin-bottom: 28px;
}

.portfolio-head > p {
  justify-self: start;
}

.portfolio-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}

.portfolio-toggle-wrap {
  margin-top: 18px;
}

.portfolio-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  background: var(--graphite);
  box-shadow: 0 12px 28px rgba(9, 9, 11, 0.12);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portfolio-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-inline: 5px solid transparent;
  border-top: 7px solid currentColor;
  transition: transform 180ms ease;
}

.portfolio-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.portfolio-toggle:hover,
.portfolio-toggle:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  box-shadow: 0 14px 28px var(--accent-glow);
  transform: translateY(-1px);
}

.portfolio-scroll-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.portfolio-scroll-button {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease;
}

.portfolio-scroll-button::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.portfolio-scroll-button-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.portfolio-scroll-button-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.portfolio-scroll-button:hover,
.portfolio-scroll-button:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.works-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 18px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.work-card {
  flex: 0 0 clamp(320px, 36vw, 480px);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  scroll-snap-align: start;
  box-shadow: var(--card-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

.work-card[hidden] {
  display: none;
}

.work-photo-button {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 11;
  cursor: zoom-in;
  background: var(--graphite);
}

.work-photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.work-card-body {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
}

.work-card h3 {
  font-size: var(--card-title);
  line-height: 1.1;
  text-transform: none;
}

.work-card-body > p:not(.work-type) {
  color: var(--muted);
  line-height: 1.52;
}

@media (min-width: 980px) {
  .portfolio-scroll-controls {
    display: none;
  }

  .works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .work-card {
    min-width: 0;
  }
}

.contact-strip {
  color: var(--white);
  background:
    linear-gradient(var(--grid-dark-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark-minor) 1px, transparent 1px),
    linear-gradient(var(--grid-dark-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark-major) 1px, transparent 1px),
    var(--graphite);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px, auto;
}

.contact-strip .contact-grid {
  align-items: center;
}

.contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.54);
}

.contact-brief {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
}

.contact-brief strong {
  font-size: 16px;
}

.contact-brief ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-brief li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.contact-brief li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.045);
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-links a > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  padding: 0 0 28px;
  background: var(--graphite);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 10px;
}

.footer-logo {
  width: 126px;
  height: auto;
  opacity: 0.78;
  filter: invert(1) grayscale(1);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
  background: rgba(9, 9, 11, 0.86);
}

.gallery-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--white);
  background: #0f0f12;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

.gallery-top,
.gallery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 12px 16px;
}

.gallery-top p,
.gallery-bottom p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.gallery-close {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-close::before,
.gallery-close::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 23px;
  height: 2px;
  background: var(--white);
}

.gallery-close::before {
  transform: rotate(45deg);
}

.gallery-close::after {
  transform: rotate(-45deg);
}

.gallery-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #09090b;
}

.gallery-stage img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: contain;
  background: #09090b;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-50%);
}

.gallery-arrow::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.gallery-arrow-prev {
  left: 16px;
}

.gallery-arrow-prev::before {
  transform: rotate(-45deg);
}

.gallery-arrow-next {
  right: 16px;
}

.gallery-arrow-next::before {
  transform: rotate(135deg);
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav .nav-cta {
    margin-left: 8px;
    padding-inline: 14px;
  }
}

@media (max-width: 979px) {
  .hero-grid,
  .intro-grid,
  .faq-grid,
  .control-grid,
  .portfolio-head,
  .pricing-head,
  .stages-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .control-list article {
    min-height: 0;
    gap: 12px;
    padding: 22px;
  }

  .control-list p {
    align-self: start;
    max-width: none;
  }

  .faq-section .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-section .faq-copy h2,
  .faq-lead {
    max-width: 760px;
  }

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

  .portfolio-toggle-wrap {
    display: none;
  }

  .pricing-card-action {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(8px);
  }

  .pricing-card-action::before,
  .pricing-card-action::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }

  .pricing-card-action::after {
    width: 2px;
    height: 16px;
  }

  .pricing-card[open] .pricing-card-action {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(95, 90, 82, 0.38);
  }

  .pricing-card[open] .pricing-card-action::after {
    opacity: 0;
  }

  .pricing-card::after {
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.22) 0%, rgba(9, 9, 11, 0.86) 100%),
      linear-gradient(90deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.42) 100%);
  }

  .pricing-card-summary {
    min-height: 128px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 6px 14px;
    padding: 16px 74px 16px 16px;
  }

  .pricing-card-summary span,
  .pricing-card-summary strong,
  .pricing-card-summary .price-teaser {
    grid-column: 1;
  }

  .pricing-card-summary span {
    grid-row: 1;
  }

  .pricing-card-summary strong {
    grid-row: 2;
  }

  .pricing-card-summary b {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: start;
  }

  .pricing-card-action {
    position: absolute;
    top: 50%;
    right: 16px;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    align-self: auto;
    margin-top: 0;
    transform: translateY(-50%);
    font-size: 0;
    letter-spacing: 0;
  }
}

@media (max-width: 719px) {
  :root {
    --section-title: clamp(30px, 8vw, 42px);
    --card-title: clamp(21px, 6vw, 28px);
    --body-lead: 16px;
  }

  .site-brand-logo {
    width: 154px;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 34px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.4vw, 40px);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 2px;
  }

  .hero-calculator {
    gap: 12px;
    padding: 16px;
  }

  .hero-calculator h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .calculator-result {
    grid-template-rows: 14px 44px auto;
    gap: 7px;
    min-height: 132px;
    padding: 15px;
  }

  .process-proof {
    min-height: 720px;
    align-items: flex-end;
  }

  .process-proof::after {
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.08) 0%, rgba(9, 9, 11, 0.72) 42%, rgba(9, 9, 11, 0.96) 100%),
      linear-gradient(90deg, rgba(9, 9, 11, 0.76) 0%, rgba(9, 9, 11, 0.12) 100%);
  }

  .process-proof img {
    object-position: 46% 50%;
  }

  .process-proof-content {
    padding: 190px 18px 18px;
  }

  .process-proof h2 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.02;
  }

  .process-proof-points {
    grid-template-columns: 1fr;
  }

  .process-proof-points article {
    min-height: 0;
    gap: 6px;
    padding: 13px 14px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 4px;
  }

  .hero-proof article,
  .hero-proof img {
    min-height: 64px;
  }

  .hero-proof span {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 10px;
  }

  .calculator-grid,
  .pricing-head {
    grid-template-columns: 1fr;
  }

  .pricing-head > p {
    justify-self: stretch;
    max-width: none;
  }

  .pricing-cards,
  .pricing-cards--renovation,
  .pricing-cards--design {
    grid-template-columns: 1fr;
  }

  .pricing-card::after {
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.22) 0%, rgba(9, 9, 11, 0.86) 100%),
      linear-gradient(90deg, rgba(9, 9, 11, 0.82) 0%, rgba(9, 9, 11, 0.42) 100%);
  }

  .pricing-card-summary {
    min-height: 128px;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 6px 14px;
    padding: 16px 74px 16px 16px;
  }

  .pricing-card-summary span,
  .pricing-card-summary strong,
  .pricing-card-summary .price-teaser {
    grid-column: 1;
  }

  .pricing-card-summary span {
    grid-row: 1;
  }

  .pricing-card-summary strong {
    grid-row: 2;
  }

  .pricing-card-summary b {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: start;
  }

  .pricing-card-action {
    position: absolute;
    top: 50%;
    right: 16px;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    align-self: auto;
    margin-top: 0;
    transform: translateY(-50%);
    font-size: 0;
    letter-spacing: 0;
  }

  .segmented-control {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }

  .segmented-control:has(button:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
  }

  .segmented-control button {
    min-height: 44px;
    padding-inline: 6px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: 12px;
  }

  .segmented-control button:last-child {
    border-right: 0;
  }

  .calculator-result strong {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1;
    white-space: nowrap;
  }

  .portfolio-tools {
    display: grid;
  }

  .pricing-card-summary strong {
    font-size: clamp(22px, 6vw, 27px);
  }

  .pricing-card-summary b {
    font-size: 17px;
    white-space: normal;
  }

  .price-teaser {
    display: none;
    font-size: 13px;
  }

  .price-details {
    margin: 0 12px 12px;
    padding: 16px;
  }

  .price-summary-grid {
    padding: 0;
  }

  .price-summary-grid,
  .stages-preview,
  .contact-brief ul {
    grid-template-columns: 1fr;
  }

  .price-summary-grid--renovation .price-detail-column,
  .price-summary-grid--design .price-detail-column {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .price-summary-grid--renovation ul,
  .price-summary-grid--design ul {
    max-width: none;
  }

  .pricing-note {
    display: grid;
  }

  .stage-item,
  .stage-item div {
    grid-template-columns: 1fr;
  }

  .stage-item {
    gap: 16px;
    min-height: auto;
    padding: 32px 0 31px;
  }

  .portfolio-scroll-controls {
    display: none;
  }

  .portfolio-head {
    margin-bottom: 14px;
  }

  .portfolio-tools {
    margin-bottom: 12px;
  }

  .works-grid {
    width: 100%;
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-inline: 16px;
  }

  .work-card {
    flex-basis: min(86vw, 380px);
  }

  .gallery-modal {
    padding: 0;
  }

  .gallery-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .gallery-stage {
    min-height: 0;
  }

  .gallery-stage img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .gallery-arrow {
    width: 48px;
    height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .motion-ready .reveal {
    transform: none !important;
  }

  .hero-video {
    display: none;
  }

  .hero-fallback {
    opacity: 1 !important;
  }
}
