:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.66);
  --line-soft: rgba(17, 17, 17, 0.16);
  --stone-push: 0px;
  --stage-shift: 0px;
  --stage-scale: 1;
}

@font-face {
  font-family: "Annabelle Cyr";
  src: url("./assets/fonts/Annabelle%20Cyr.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 6.1rem;
}

body {
  font-family: "Times New Roman", Times, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.background-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    radial-gradient(1200px 700px at 50% -8%, rgba(0, 0, 0, 0.08), transparent 70%),
    radial-gradient(900px 600px at 0% 56%, rgba(0, 0, 0, 0.035), transparent 70%),
    radial-gradient(900px 600px at 100% 50%, rgba(0, 0, 0, 0.035), transparent 72%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f4 48%, #ffffff 100%),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.025) 0px,
      rgba(0, 0, 0, 0.025) 1px,
      transparent 1px,
      transparent 48px
    );
  overflow: hidden;
}

.background-layer::before {
  content: "";
  position: absolute;
  inset: -28%;
  pointer-events: none;
  background:
    radial-gradient(860px 460px at 30% 34%, rgba(0, 0, 0, 0.055), transparent 62%),
    radial-gradient(940px 520px at 74% 62%, rgba(0, 0, 0, 0.045), transparent 64%);
  opacity: 0.28;
  filter: blur(26px);
  animation: background-sheen-drift 15s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.background-layer::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(640px 300px at 58% 22%, rgba(0, 0, 0, 0.045), transparent 64%),
    radial-gradient(620px 340px at 26% 76%, rgba(0, 0, 0, 0.04), transparent 66%);
  opacity: 0.18;
  filter: blur(24px);
  animation: background-sheen-drift-alt 12s cubic-bezier(0.33, 0.01, 0.24, 1) infinite alternate;
  will-change: transform, opacity;
}

.perf-tier-optimized .background-layer::before,
.perf-tier-optimized .background-layer::after {
  animation: none;
  filter: blur(18px);
  opacity: 0.2;
}

@keyframes background-sheen-drift {
  0% {
    transform: translate3d(-8%, -4%, 0) rotate(-3.6deg);
    opacity: 0.2;
  }

  50% {
    opacity: 0.42;
  }

  100% {
    transform: translate3d(8%, 4%, 0) rotate(3.6deg);
    opacity: 0.34;
  }
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.66);
  --line-soft: rgba(17, 17, 17, 0.16);
}

body {
  background: var(--bg);
  color: var(--text);
}

.top-nav a {
  color: rgba(17, 17, 17, 0.68);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: #050505;
}

.header-call,
.btn-primary,
.contact-final .btn-primary {
  border: 1px solid #111111;
  background: linear-gradient(120deg, #181818, #050505);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.header-call:hover,
.btn-primary:hover,
.contact-final .btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(120deg, #2a2a2a, #101010);
  border-color: #101010;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn {
  border: 1px solid transparent;
}

.btn-primary,
.contact-final .btn-primary {
  border-color: #111111;
}

.btn-ghost,
.contact-final .btn-ghost {
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.24);
  box-shadow: none;
}

.btn-ghost:hover,
.contact-final .btn-ghost:hover {
  color: #050505;
  background: rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.44);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.headline-accent {
  color: #161616;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.hero-copy h1 {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.74);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.68),
    0 10px 24px rgba(0, 0, 0, 0.12);
}

.hero-copy h1 .headline-accent {
  -webkit-text-stroke: 0.8px rgba(255, 255, 255, 0.76);
  paint-order: stroke fill;
}

.catalog-item::after {
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.18), transparent);
}

.catalog-item.is-hovered::after {
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.42), transparent);
}

.catalog-index,
.catalog-item.is-hovered h3,
.process-line span {
  color: rgba(17, 17, 17, 0.88);
}

.item-cta {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.item-cta:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.catalog-preview {
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.material-card {
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(17, 17, 17, 0.025);
}

.material-card:hover {
  border-color: rgba(17, 17, 17, 0.34);
}

.material-card:focus-visible {
  outline-color: rgba(17, 17, 17, 0.72);
}

.material-card.is-active {
  border-color: rgba(17, 17, 17, 0.62);
  background: rgba(17, 17, 17, 0.055);
}

.material-photo-wrap::after {
  background: linear-gradient(180deg, transparent 18%, rgba(255, 255, 255, 0.2));
}

.material-preview-note,
.configurator-dimensions p,
.configurator-field p,
.configurator-select span,
.configurator-checkbox,
.configurator-total p,
.configurator-total small {
  color: rgba(17, 17, 17, 0.68);
}

.material-preview-note strong {
  color: #111111;
}

.configurator-preview,
.configurator-preview[data-stone="granite"],
.configurator-preview[data-stone="marble"] {
  --wire-main: rgba(17, 17, 17, 0.78);
  --wire-soft: rgba(17, 17, 17, 0.48);
  --wire-faint: rgba(17, 17, 17, 0.2);
  --wire-fill-top: rgba(17, 17, 17, 0.055);
  --wire-fill-bottom: rgba(17, 17, 17, 0.012);
}

.configurator-preview-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18), transparent 72%);
}

.config-option {
  border-color: rgba(17, 17, 17, 0.24);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(17, 17, 17, 0.9);
}

.config-option:hover {
  border-color: rgba(17, 17, 17, 0.52);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.config-option.is-active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.configurator-select select {
  border-color: rgba(17, 17, 17, 0.26);
  background-color: rgba(255, 255, 255, 0.78);
  color: rgba(17, 17, 17, 0.94);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(17, 17, 17, 0.76) 50%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.76) 50%, transparent 50%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0));
}

.configurator-select select:focus {
  border-color: rgba(17, 17, 17, 0.62);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18);
}

.configurator-checkbox input {
  accent-color: #111111;
}

.configurator-total {
  border-top-color: rgba(17, 17, 17, 0.14);
}

.portfolio-card {
  background: #f3f3f1;
}

.portfolio-card:focus-visible {
  outline-color: rgba(17, 17, 17, 0.72);
}

.portfolio-lightbox {
  background: rgba(248, 248, 247, 0.94);
}

.portfolio-lightbox-figure img {
  background: #ffffff;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
}

.portfolio-lightbox-figure figcaption {
  color: rgba(17, 17, 17, 0.78);
}

.portfolio-lightbox-close,
.portfolio-lightbox-nav {
  border-color: rgba(17, 17, 17, 0.28);
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-nav:hover {
  background: #111111;
  border-color: #111111;
}

.contact-final {
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

.site-footer::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(247, 247, 245, 0.74) 18%,
    rgba(242, 242, 239, 0.94) 40%,
    #f4f4f1 100%
  );
}

.footer-brand-col p,
.footer-links-col p {
  color: rgba(17, 17, 17, 0.66);
}

.footer-brand-col a,
.footer-links-col a {
  color: rgba(17, 17, 17, 0.9);
}

.footer-links-col h4 {
  color: rgba(17, 17, 17, 0.56);
}

.footer-map-wrap {
  background: #efefec;
}

.footer-map-wrap iframe {
  filter: grayscale(1) contrast(0.98) brightness(1.04);
}

.footer-map-wrap::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.5)),
    radial-gradient(640px 260px at 50% -15%, rgba(0, 0, 0, 0.08), transparent 74%);
}

.footer-monuments {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 245, 242, 0.72) 45%, rgba(225, 225, 220, 0.9));
}

.footer-fence {
  filter: grayscale(1) contrast(1.02) brightness(1.08) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.footer-bottom {
  border-top-color: rgba(17, 17, 17, 0.12);
}

.footer-bottom p {
  color: rgba(17, 17, 17, 0.58);
}

.mobile-cta {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.1);
}

.mobile-cta a {
  color: #111111;
}

.mobile-cta a + a {
  border-left-color: rgba(17, 17, 17, 0.16);
}

.mobile-cta a:hover {
  background: rgba(17, 17, 17, 0.08);
}

@media (max-width: 760px) {
  .site-header {
    border-color: rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  }
}

@keyframes background-sheen-drift-alt {
  0% {
    transform: translate3d(5%, -3%, 0) rotate(2.2deg) scale(1.03);
    opacity: 0.14;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    transform: translate3d(-5%, 3%, 0) rotate(-2.2deg) scale(0.98);
    opacity: 0.24;
  }
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

button,
.btn,
.item-cta,
.config-option,
.top-nav a,
.header-call {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(94vw, 1320px);
  padding: 0.62rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 90;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Annabelle Cyr", "Times New Roman", serif;
  font-size: 1.9rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 0.86;
  text-transform: none;
  transform: none;
}

.top-nav {
  display: inline-flex;
  gap: 1.2rem;
}

.top-nav a,
.header-call {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 220ms ease, transform 220ms ease, background-color 220ms ease,
    box-shadow 220ms ease, border-color 220ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: #fff;
}

.header-call {
  border: 1px solid #fff;
  background: #fff;
  color: #050505;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.header-call:hover {
  transform: translateY(-2px);
  color: #000;
  background: #ececec;
  border-color: #ececec;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.stone-stage {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(84vw, 1320px);
  height: min(110vh, 1180px);
  transform: translate(-50%, -50%) translateY(var(--stage-shift)) scale(var(--stage-scale)) scale(0.85);
  transform-origin: center;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  opacity: 1;
  will-change: transform, opacity;
}

.perf-tier-optimized .stone-stage {
  will-change: auto;
}

.model-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(64vw, 760px);
  height: min(64vw, 760px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.44;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08) 32%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(circle at 52% 56%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 72%);
  filter: blur(26px);
}

.stone-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}

.stone-fallback-core {
  width: min(49%, 320px);
  aspect-ratio: 0.7;
  border-radius: 42% 42% 8% 8% / 30% 30% 8% 8%;
  background:
    radial-gradient(circle at 40% 18%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 49%, transparent 74%),
    linear-gradient(125deg, #202020, #101010 52%, #050505);
  transform: translateY(-6%);
}

.stone-fallback-base {
  position: absolute;
  bottom: 18%;
  width: min(67%, 420px);
  height: 8.5%;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.21), rgba(255, 255, 255, 0.03));
}

#stone-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: block;
  z-index: 3;
}

.stone-stage.three-loaded .stone-fallback {
  opacity: 0;
}

main {
  position: relative;
  z-index: 4;
  padding-top: 5.9rem;
  padding-bottom: 5rem;
}

.section {
  width: min(92vw, 1240px);
  margin: 0 auto;
  padding: clamp(3rem, 5.4vw, 5.6rem) 0;
  position: relative;
  scroll-margin-top: 6.1rem;
}

@supports (content-visibility: auto) {
  #catalog,
  #materials,
  #portfolio,
  #process,
  #contact,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
    contain: layout style paint;
  }
}

.section::after {
  display: none;
}

.stone-influence {
  transform: translateY(var(--stone-push));
  transition: transform 180ms ease-out;
}

.hero {
  min-height: 150vh;
  display: grid;
  align-content: start;
}

.hero-copy {
  text-align: center;
  max-width: 950px;
  margin: 4.2rem auto 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-subtext {
  margin: 1.6rem auto 0;
  max-width: 45ch;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.2vw, 1.06rem);
}

.hero-actions {
  margin-top: 2.1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.34rem;
  min-height: 44px;
  font-size: 0.69rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease,
    background 220ms ease, filter 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary {
  color: #000;
  background: linear-gradient(120deg, #fff, #d9d9d9);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.26);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.section-title {
  margin: 0 0 1.9rem;
  font-size: clamp(1.9rem, 4.4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: normal;
}

.headline-accent {
  position: relative;
  display: inline-block;
  font-family: "Annabelle Cyr", "Times New Roman", serif;
  font-size: 1.05em;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  margin: 0 -0.12em 0 -0.08em;
  transform: translateY(0.08em) rotate(-2.8deg);
  color: #f3f3f3;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.headline-accent--hero {
  font-size: 1.12em;
  margin: 0 -0.2em 0 -0.12em;
  transform: translateY(0.1em) rotate(-3.2deg);
}

.headline-accent--leading {
  margin-left: 0;
  margin-right: -0.06em;
}

.headline-accent--contact {
  display: block;
  width: fit-content;
  font-size: clamp(2.3rem, 8vw, 5.8rem);
  line-height: 0.72;
  letter-spacing: 0.02em;
  margin: -0.24em 0 -0.2em -0.04em;
  transform: translateY(-0.03em) rotate(-2.2deg);
  position: relative;
  z-index: 12;
}

.hero-copy h1 .headline-accent {
  top: 0.01em;
}

#catalog .section-title .headline-accent,
#portfolio .section-title .headline-accent {
  transform: translateY(0.02em) rotate(-2.8deg);
}

.catalog-list {
  display: grid;
}

.catalog-item {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1.35rem;
  align-items: start;
  padding: 1.5rem 0;
  position: relative;
  cursor: pointer;
}

.catalog-item:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 5px;
}

.catalog-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.catalog-item.is-hovered::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.catalog-index {
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 0.8;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.catalog-item h3,
.material-card h3,
.process-line h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 500;
  text-wrap: balance;
}

.catalog-item.is-hovered h3 {
  color: #fff;
}

.catalog-item:hover h3,
.catalog-item:focus-visible h3 {
  color: #fff;
}

.catalog-item p,
.material-card p,
.process-line p,
.contact-lead p,
.materials-copy p {
  margin: 0.56rem 0 0;
  color: var(--muted);
}

.item-cta {
  align-self: center;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0.48rem 0.64rem;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: normal;
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease,
    border-color 220ms ease;
}

.item-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.catalog-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(120px, 13vw, 192px);
  aspect-ratio: 1 / 1;
  z-index: 75;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0) scale(0.94);
  overflow: hidden;
  background: #060606;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.52);
  transition: opacity 180ms ease;
}

.catalog-preview.is-visible {
  opacity: 1;
}

.catalog-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.08);
}

.materials-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
}

.materials-copy {
  text-align: left;
  align-content: start;
}

.materials-copy p {
  max-width: 56ch;
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
}

.materials-copy .btn {
  margin-left: 0;
}

.materials-grid {
  display: grid;
  gap: 0.9rem;
}

.material-card {
  min-height: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(128px, 152px) auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.material-card:hover {
  border-color: rgba(255, 255, 255, 0.36);
}

.material-card:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.material-card.is-active {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

.material-photo-wrap {
  position: relative;
  min-height: 128px;
  overflow: hidden;
}

.material-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.76));
  pointer-events: none;
}

.material-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 420ms ease, filter 320ms ease;
}

.material-card:hover .material-photo-wrap img {
  transform: scale(1.08);
}

.material-card.granite .material-photo-wrap img {
  object-position: center;
  filter: contrast(1.08) brightness(0.86);
}

.material-card.marble .material-photo-wrap img {
  object-position: center;
  filter: contrast(1.03) brightness(0.98);
}

.material-card.satin .material-photo-wrap img {
  object-position: center;
  filter: contrast(1.08) brightness(0.85);
}

.material-content {
  padding: 0.62rem 0.72rem 0.72rem;
}

.material-content > * {
  position: relative;
  z-index: 1;
}

.material-content h3 {
  font-size: clamp(0.88rem, 1.4vw, 1.08rem);
}

.material-content p {
  margin-top: 0.36rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.material-preview {
  margin-top: 2.3rem;
  width: min(100%, 500px);
}

.material-preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18;
  background: transparent;
  overflow: visible;
}

.material-preview-stone {
  --material-preview-image: url("./assets/optimized/actual/materials/granite-photo.webp");
  position: absolute;
  left: 50%;
  top: 0;
  width: 45%;
  height: 94%;
  border-radius: 45% 45% 8% 8% / 34% 34% 7% 7%;
  transform: translateX(-50%) translateY(4%);
  background-image:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.62)),
    var(--material-preview-image);
  background-size: cover;
  background-position: center;
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -26px 38px rgba(0, 0, 0, 0.5);
  transition: background-image 260ms ease, transform 260ms ease, filter 260ms ease;
}

.material-preview[data-active-material="granite"] .material-preview-stone {
  --material-preview-image: url("./assets/optimized/actual/materials/granite-photo.webp");
  filter: saturate(0.95) brightness(0.86);
}

.material-preview[data-active-material="marble"] .material-preview-stone {
  --material-preview-image: url("./assets/optimized/actual/materials/marble-photo.webp");
  filter: saturate(0.88) brightness(1.02);
}

.material-preview[data-active-material="satin"] .material-preview-stone {
  --material-preview-image: url("./assets/optimized/actual/materials/finish-photo.webp");
  filter: saturate(0.9) brightness(0.9);
}

.material-preview-base {
  position: absolute;
  left: 50%;
  bottom: 1%;
  width: 76%;
  height: 11%;
  border-radius: 999px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 68%),
    linear-gradient(170deg, #171717, #040404);
}

.material-preview-note {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.material-preview-note strong {
  color: #fff;
  font-weight: 600;
  text-transform: lowercase;
}

.configurator-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  align-items: start;
  overflow: visible;
}

.configurator-preview {
  background: transparent;
  border: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
  --wire-main: rgba(233, 238, 246, 0.88);
  --wire-soft: rgba(220, 228, 241, 0.5);
  --wire-faint: rgba(212, 221, 236, 0.22);
  --wire-fill-top: rgba(255, 255, 255, 0.045);
  --wire-fill-bottom: rgba(255, 255, 255, 0.015);
}

.configurator-preview-stage {
  position: relative;
  width: 100%;
  min-height: clamp(280px, 34vw, 500px);
  aspect-ratio: auto;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.configurator-preview-stage::before,
.configurator-preview-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.configurator-preview-stage::before {
  left: 50%;
  top: 6%;
  bottom: 6%;
  border-left: 1px solid var(--wire-faint);
  opacity: 0.7;
}

.configurator-preview-stage::after {
  left: 11%;
  right: 11%;
  bottom: 8%;
  border-bottom: 1px solid var(--wire-faint);
  opacity: 0.68;
}

.configurator-preview-shadow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 78%;
  height: 9%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.34), transparent 72%);
  filter: blur(3px);
  z-index: 1;
}

.configurator-preview-platform {
  position: absolute;
  left: 50%;
  bottom: 3.6%;
  width: 88%;
  height: 13%;
  transform: translateX(-50%) scale(0.95);
  transform-origin: center bottom;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease;
  will-change: opacity, transform;
  z-index: 2;
}

.configurator-preview-platform::before,
.configurator-preview-platform::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.configurator-preview-platform::before {
  top: 2%;
  width: 84%;
  height: 40%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--wire-fill-top), var(--wire-fill-bottom));
  border: 1.5px solid var(--wire-main);
  box-shadow: inset 0 1px 0 var(--wire-faint);
}

.configurator-preview-platform::after {
  top: 40%;
  width: 96%;
  height: 48%;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  border: 1.5px solid var(--wire-soft);
  border-top: 0;
  box-shadow: inset 0 1px 0 var(--wire-faint);
}

.configurator-preview-pedestal {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 62%;
  height: 8%;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wire-fill-top), var(--wire-fill-bottom));
  border: 1.5px solid var(--wire-soft);
  box-shadow: none;
  transition: width 260ms ease, bottom 260ms ease;
  z-index: 3;
}

.configurator-preview-pedestal::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  border-top: 1px solid var(--wire-faint);
}

.configurator-preview-stone {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: 38%;
  height: 64%;
  border-radius: 18% 18% 4% 4% / 14% 14% 4% 4%;
  transform: translateX(-50%) translateZ(0);
  background: linear-gradient(180deg, var(--wire-fill-top), var(--wire-fill-bottom));
  border: 2px solid var(--wire-main);
  box-shadow: none;
  transition: width 260ms ease, height 260ms ease, border-radius 260ms ease,
    transform 260ms ease, bottom 260ms ease, left 260ms ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: 5;
}

.configurator-preview-stone::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 10%;
  bottom: 10%;
  border-radius: inherit;
  border: 1px solid var(--wire-faint);
  opacity: 0.9;
  transition: opacity 220ms ease;
}

.configurator-preview-stone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  bottom: 8%;
  border-left: 1px solid var(--wire-faint);
  opacity: 0.72;
}

.configurator-preview-stone-secondary {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: 34%;
  height: 60%;
  border-radius: 16% 16% 4% 4% / 13% 13% 4% 4%;
  transform: translateX(-4%) translateZ(0);
  background: linear-gradient(180deg, var(--wire-fill-top), var(--wire-fill-bottom));
  border: 2px solid var(--wire-soft);
  box-shadow: none;
  opacity: 0;
  transition: opacity 260ms ease, transform 260ms ease, width 260ms ease, height 260ms ease, bottom 260ms ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: 4;
}

.configurator-preview-stone-secondary::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 10%;
  bottom: 10%;
  border: 1px solid var(--wire-faint);
  border-radius: inherit;
}

.configurator-preview-base {
  position: absolute;
  left: 50%;
  bottom: 19%;
  width: 58%;
  height: 5.8%;
  border-radius: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--wire-fill-top), var(--wire-fill-bottom));
  border: 1.5px solid var(--wire-soft);
  box-shadow: none;
  transition: width 240ms ease, bottom 260ms ease;
  z-index: 4;
}

.configurator-preview[data-size="s"] .configurator-preview-stone {
  width: 30%;
  height: 56%;
}

.configurator-preview[data-size="s"] .configurator-preview-stone-secondary {
  width: 27%;
  height: 52%;
}

.configurator-preview[data-size="s"] .configurator-preview-base {
  width: 50%;
}

.configurator-preview[data-size="s"] .configurator-preview-pedestal {
  width: 56%;
}

.configurator-preview[data-size="m"] .configurator-preview-stone {
  width: 38%;
  height: 64%;
}

.configurator-preview[data-size="m"] .configurator-preview-stone-secondary {
  width: 34%;
  height: 60%;
}

.configurator-preview[data-size="l"] .configurator-preview-stone {
  width: 42%;
  height: 72%;
}

.configurator-preview[data-size="l"] .configurator-preview-stone-secondary {
  width: 38%;
  height: 68%;
}

.configurator-preview[data-size="l"] .configurator-preview-base {
  width: 60%;
}

.configurator-preview[data-size="l"] .configurator-preview-pedestal {
  width: 66%;
}

.configurator-preview[data-shape="double"] .configurator-preview-stone {
  left: 42%;
  width: 26%;
  height: 62%;
  border-radius: 14% 14% 4% 4% / 12% 12% 4% 4%;
  transform: translateX(-50%) translateZ(0);
}

.configurator-preview[data-shape="double"] .configurator-preview-stone-secondary {
  opacity: 1;
  left: 58%;
  width: 26%;
  height: 62%;
  transform: translateX(-50%) translateZ(0);
}

.configurator-preview[data-shape="double"] .configurator-preview-base {
  width: 64%;
}

.configurator-preview[data-shape="double"] .configurator-preview-pedestal {
  width: 68%;
}

.configurator-preview[data-shape="double"][data-size="s"] .configurator-preview-stone {
  width: 22%;
  height: 54%;
}

.configurator-preview[data-shape="double"][data-size="s"] .configurator-preview-stone-secondary {
  width: 22%;
  height: 54%;
}

.configurator-preview[data-shape="double"][data-size="l"] .configurator-preview-stone {
  width: 30%;
  height: 70%;
}

.configurator-preview[data-shape="double"][data-size="l"] .configurator-preview-stone-secondary {
  width: 30%;
  height: 70%;
}

.configurator-preview[data-shape="obelisk"] .configurator-preview-stone {
  width: 28%;
  height: 70%;
  border-radius: 0;
  clip-path: polygon(50% 0, 84% 16%, 100% 100%, 0 100%, 16% 16%);
  -webkit-clip-path: polygon(50% 0, 84% 16%, 100% 100%, 0 100%, 16% 16%);
  background: linear-gradient(180deg, var(--wire-fill-top), var(--wire-fill-bottom));
}

.configurator-preview[data-shape="obelisk"] .configurator-preview-stone::before {
  left: 17%;
  right: 17%;
  top: 21%;
  bottom: 9%;
  border-radius: 0;
}

.configurator-preview[data-shape="obelisk"] .configurator-preview-stone::after {
  left: 50%;
  top: 22%;
  bottom: 8%;
  border-left: 1px solid var(--wire-soft);
  opacity: 0.9;
}

.configurator-preview[data-shape="obelisk"] .configurator-preview-base {
  width: 48%;
}

.configurator-preview[data-shape="obelisk"] .configurator-preview-pedestal {
  width: 54%;
}

.configurator-preview[data-shape="obelisk"][data-size="s"] .configurator-preview-stone {
  width: 24%;
  height: 60%;
}

.configurator-preview[data-shape="obelisk"][data-size="l"] .configurator-preview-stone {
  width: 31%;
  height: 78%;
}

.configurator-preview[data-stone="granite"] {
  --wire-main: rgba(224, 232, 244, 0.86);
  --wire-soft: rgba(210, 220, 236, 0.5);
  --wire-faint: rgba(198, 210, 231, 0.22);
  --wire-fill-top: rgba(225, 233, 246, 0.05);
  --wire-fill-bottom: rgba(180, 194, 217, 0.018);
}

.configurator-preview[data-stone="marble"] {
  --wire-main: rgba(252, 252, 252, 0.95);
  --wire-soft: rgba(239, 239, 239, 0.66);
  --wire-faint: rgba(240, 240, 240, 0.3);
  --wire-fill-top: rgba(255, 255, 255, 0.08);
  --wire-fill-bottom: rgba(255, 255, 255, 0.02);
}

.configurator-preview[data-stone="red"] {
  --wire-main: rgba(170, 72, 62, 0.9);
  --wire-soft: rgba(154, 67, 59, 0.58);
  --wire-faint: rgba(140, 58, 50, 0.28);
  --wire-fill-top: rgba(155, 55, 46, 0.09);
  --wire-fill-bottom: rgba(120, 39, 34, 0.025);
}

.configurator-preview[data-shape="platform"] .configurator-preview-platform {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.configurator-preview[data-shape="platform"] .configurator-preview-pedestal {
  bottom: 14%;
  width: 58%;
}

.configurator-preview[data-shape="platform"] .configurator-preview-base {
  bottom: 23%;
  width: 54%;
}

.configurator-preview[data-shape="platform"] .configurator-preview-stone {
  bottom: 27%;
  width: 34%;
  height: 56%;
}

.configurator-preview[data-shape="platform"][data-size="s"] .configurator-preview-stone {
  height: 50%;
}

.configurator-preview[data-shape="platform"][data-size="l"] .configurator-preview-stone {
  height: 64%;
}

.configurator-dimensions {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.36rem;
}

.configurator-dimensions p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.configurator-panel {
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.configurator-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 56ch;
}

.configurator-field {
  display: grid;
  gap: 0.42rem;
}

.configurator-field p {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.configurator-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.configurator-options--wide {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
}

.config-option {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.01);
  color: rgba(255, 255, 255, 0.9);
  min-height: 44px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.72rem 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.config-option:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.config-option.is-active {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.16);
}

.configurator-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.configurator-row--single {
  grid-template-columns: 1fr;
}

.configurator-select {
  display: grid;
  gap: 0.42rem;
}

.configurator-select span {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.configurator-select select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.94);
  padding: 0.64rem 2.1rem 0.64rem 0.74rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px),
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.configurator-select select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.configurator-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
}

.configurator-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #fff;
}

.configurator-total {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.92rem;
  display: grid;
  gap: 0.35rem;
}

.configurator-total p {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.configurator-total strong {
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.configurator-total small {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.62);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(66px, 7.2vw, 92px);
  gap: clamp(0.95rem, 1.4vw, 1.28rem);
}

.portfolio-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #090909;
  isolation: isolate;
  cursor: pointer;
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.portfolio-card:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.78);
  outline-offset: 2px;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.06) brightness(0.82) saturate(0.82);
  transform: scale(1.02);
  transition: transform 460ms ease, filter 300ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
  filter: contrast(1.09) brightness(0.9) saturate(0.9);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.24) 44%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 34%);
}

.portfolio-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
  color: rgba(255, 255, 255, 0.93);
}

.card-a {
  grid-column: 1 / span 7;
  grid-row: span 5;
  min-height: 460px;
}

.card-a img {
  object-position: center 42%;
}

.card-b {
  grid-column: 8 / span 5;
  grid-row: span 3;
}

.card-b img {
  object-position: center 36%;
}

.card-c {
  grid-column: 8 / span 5;
  grid-row: span 2;
}

.card-c img {
  object-position: center 56%;
}

.card-d {
  grid-column: 1 / span 4;
  grid-row: span 2;
}

.card-e {
  grid-column: 5 / span 4;
  grid-row: span 2;
}

.card-f {
  grid-column: 9 / span 4;
  grid-row: span 2;
}

.card-g {
  grid-column: 1 / -1;
  grid-row: span 3;
  min-height: 260px;
}

.card-g img {
  object-position: center 60%;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(0.55rem, 1.3vw, 1.15rem);
  padding: clamp(0.8rem, 2vw, 1.6rem) clamp(0.8rem, 2vw, 1.6rem) clamp(4.6rem, 10vh, 6.4rem);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.perf-tier-optimized .portfolio-lightbox {
  backdrop-filter: none;
}

.portfolio-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1320px);
  width: 100%;
  justify-self: center;
  display: grid;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.portfolio-lightbox-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #040404;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.56);
}

.portfolio-lightbox-figure figcaption {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  appearance: none;
  cursor: default;
}

.portfolio-lightbox-close {
  position: absolute;
  top: clamp(0.6rem, 2vw, 1rem);
  right: clamp(0.6rem, 2vw, 1rem);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.56rem 0.7rem;
  cursor: pointer;
  transition: background-color 220ms ease, transform 220ms ease;
}

.portfolio-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.portfolio-lightbox-nav {
  position: absolute;
  bottom: clamp(0.9rem, 2.4vw, 1.5rem);
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.34);
  width: clamp(42px, 4.2vw, 52px);
  height: clamp(42px, 4.2vw, 52px);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.portfolio-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-2px);
}

.portfolio-lightbox-nav--prev {
  left: calc(50% - clamp(66px, 6vw, 74px));
}

.portfolio-lightbox-nav--next {
  left: calc(50% + clamp(12px, 1.5vw, 16px));
}

.process-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  position: relative;
}

.process-line::before {
  display: none;
}

.process-line li {
  padding-top: 1.35rem;
}

.process-line span {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0.55rem;
}

.contact-final {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.8rem;
  background: #ffffff;
  color: #0c0c0c;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  position: relative;
  overflow: visible;
  z-index: 8;
}

.contact-final > * {
  position: relative;
  z-index: 2;
}

.contact-floral {
  position: absolute;
  left: 58%;
  bottom: clamp(-22rem, -24vw, -14.6rem);
  width: clamp(390px, 41vw, 650px);
  height: auto;
  transform: translateX(-4%) rotate(76deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  filter: contrast(1.08) saturate(0.9);
}

.contact-lead {
  text-align: left;
}

.contact-final .section-title {
  color: #0b0b0b;
  font-size: clamp(1.65rem, 3.4vw, 3.25rem);
  margin-bottom: 1.25rem;
  line-height: 0.92;
}

.contact-final p {
  color: rgba(0, 0, 0, 0.74);
}

.contact-final .headline-accent {
  color: #0e0e0e;
  text-shadow: none;
}

.contact-final .headline-accent--contact {
  z-index: 20;
  font-size: clamp(1.9rem, 6.2vw, 4.4rem);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.contact-lead .btn {
  margin-top: 1.05rem;
}

.contact-lead .section-title {
  text-align: left;
  line-height: 0.95;
  position: relative;
  isolation: isolate;
}

.contact-short {
  margin: 1.02rem 0 0;
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.82);
}

.contact-short a {
  color: #000;
  transition: opacity 220ms ease;
}

.contact-short a:hover {
  opacity: 0.72;
}

.contact-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-actions .btn {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 1.02rem;
  align-content: start;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.26);
  background: #fff;
  color: #0b0b0b;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.92rem 0.92rem;
  outline: none;
}

.contact-form input:not([type="checkbox"]):focus {
  border-color: rgba(0, 0, 0, 0.64);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  margin-top: -0.08rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.78);
}

.contact-consent input[type="checkbox"] {
  margin: 0.12rem 0 0;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  accent-color: #111;
  cursor: pointer;
}

.contact-consent span {
  max-width: 58ch;
  text-wrap: pretty;
}

@media (hover: none) {
  .btn:hover,
  .item-cta:hover,
  .config-option:hover,
  .portfolio-card:hover {
    transform: none;
    filter: none;
    box-shadow: none;
  }

  .portfolio-card:hover img {
    transform: scale(1.02);
    filter: contrast(1.06) brightness(0.82) saturate(0.82);
  }
}

.contact-consent a {
  color: #0b0b0b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.contact-consent a:hover {
  opacity: 0.72;
}

.contact-policy-note {
  margin: -0.18rem 0 0;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.62);
}

.contact-form .btn {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  font-size: 0.74rem;
}

.contact-call-mobile {
  display: none;
}

.form-note {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.72);
}

.form-note.is-success {
  color: #1f6b3a;
}

.form-note.is-error {
  color: #9b2f24;
}

.contact-form.is-submitting .btn[type="submit"],
.contact-form .btn[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.contact-final .btn-primary {
  color: #fff;
  background: #060606;
}

.contact-final .btn-primary:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.contact-final .btn-ghost {
  color: #060606;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.contact-final .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.site-footer {
  position: relative;
  z-index: 6;
  width: 100%;
  margin: 1.2rem 0 0;
  background: transparent;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0) 0%,
    rgba(8, 8, 8, 0.62) 16%,
    rgba(8, 8, 8, 0.96) 38%,
    #080808 100%
  );
}

.footer-shell {
  position: relative;
  z-index: 1;
  padding: 4.2rem clamp(1.2rem, 4vw, 3.5rem) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 3.6vw, 3.6rem);
}

.footer-brand-col {
  display: grid;
  align-content: start;
  gap: 0.58rem;
}

.footer-brand {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 0.88;
  transform: scaleX(1.14);
  transform-origin: left center;
}

.footer-brand-col p,
.footer-links-col p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 220ms ease;
}

.footer-brand-col a:hover {
  opacity: 0.72;
}

.footer-links-col {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer-links-col h4 {
  margin: 0 0 0.18rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.footer-links-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 220ms ease;
}

.footer-links-col a:hover {
  opacity: 0.72;
}

.footer-map-wrap {
  margin-top: 3.6rem;
  position: relative;
  overflow: hidden;
  min-height: 288px;
  background: #050505;
}

.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 288px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(0.95) brightness(0.78);
}

.footer-map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.64)),
    radial-gradient(640px 260px at 50% -15%, rgba(255, 255, 255, 0.1), transparent 74%);
}

.footer-monuments {
  margin-top: 2.6rem;
  height: clamp(280px, 42vw, 620px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 clamp(0.4rem, 1.2vw, 1.2rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04) 45%, rgba(0, 0, 0, 0.9));
}

.footer-fence-strip {
  width: min(100vw, 1800px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: none;
}

.footer-fence {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(1) contrast(1.08) brightness(0.98) drop-shadow(0 20px 26px rgba(0, 0, 0, 0.5));
  opacity: 1;
}

.footer-monument {
  --w: 74px;
  --h: 168px;
  --d: 16px;
  --rad: 28px;
  position: relative;
  width: calc(var(--w) + var(--d));
  height: calc(var(--h) + 64px);
  transform: translateY(10px) rotateX(2deg);
  transform-origin: bottom center;
  flex: 0 0 auto;
}

.footer-monument::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.78), transparent 76%);
}

.footer-monument span {
  position: absolute;
  display: block;
}

.footer-monument .monument-base {
  left: 0;
  width: calc(var(--w) + var(--d));
  bottom: 8px;
  height: 21px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%),
    repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(0, 0, 0, 0.06) 2px 5px
    ),
    linear-gradient(180deg, #575d67 0%, #333840 54%, #1a1d22 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 16px rgba(0, 0, 0, 0.36);
}

.footer-monument .monument-cap {
  left: 0;
  bottom: calc(24px + var(--h));
  width: var(--w);
  height: 12px;
  border-radius: 9px 9px 2px 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.23), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, #5b616b 0%, #2e3239 100%);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
}

.footer-monument .monument-body {
  left: 0;
  bottom: 28px;
  width: var(--w);
  height: var(--h);
  border-radius: var(--rad) var(--rad) 8px 8px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.26), transparent 42%),
    radial-gradient(circle at 68% 72%, rgba(0, 0, 0, 0.2), transparent 45%),
    repeating-linear-gradient(
      112deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      rgba(0, 0, 0, 0.08) 1px 4px
    ),
    linear-gradient(180deg, #535a65 0%, #31363e 46%, #1b1f24 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -30px 46px rgba(0, 0, 0, 0.5),
    0 14px 22px rgba(0, 0, 0, 0.33);
}

.footer-monument .monument-body::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 16%;
  bottom: 14%;
  border-radius: calc(var(--rad) * 0.65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.24)),
    repeating-linear-gradient(
      180deg,
      transparent 0 8px,
      rgba(255, 255, 255, 0.08) 8px 9px
    );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0.9;
}

.footer-monument .monument-body::after {
  content: "";
  position: absolute;
  left: 40%;
  top: 30%;
  width: 2px;
  height: 22%;
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.34), transparent),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.08));
  box-shadow: -8px 9px 0 -7px rgba(255, 255, 255, 0.2), 8px 9px 0 -7px rgba(255, 255, 255, 0.2);
  opacity: 0.65;
}

.footer-monument .monument-side {
  left: var(--w);
  bottom: 28px;
  width: var(--d);
  height: var(--h);
  transform-origin: left bottom;
  transform: skewY(-18deg);
  border-radius: 0 calc(var(--rad) * 0.7) 8px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      rgba(0, 0, 0, 0.09) 2px 5px
    ),
    linear-gradient(180deg, #3b4048 0%, #21252b 60%, #14171a 100%);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12);
}

.footer-monument.arched {
  --rad: 32px;
}

.footer-monument.chamfer {
  --rad: 10px;
}

.footer-monument.wide {
  --w: 92px;
  --h: 150px;
  --d: 18px;
  --rad: 24px;
}

.footer-monument.obelisk {
  --w: 70px;
  --h: 190px;
  --d: 15px;
  --rad: 6px;
}

.footer-monument.obelisk .monument-body {
  clip-path: polygon(12% 0, 88% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  border-radius: 0;
}

.footer-monument.obelisk .monument-side {
  clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  border-radius: 0;
}

.footer-monument.obelisk .monument-cap {
  clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
  border-radius: 0;
}

.footer-monument.m1 {
  --w: 62px;
  --h: 168px;
  --d: 14px;
}

.footer-monument.m2 {
  --w: 84px;
  --h: 136px;
  --d: 17px;
}

.footer-monument.m3 {
  --w: 96px;
  --h: 152px;
  --d: 18px;
}

.footer-monument.m4 {
  --w: 76px;
  --h: 178px;
}

.footer-monument.m5 {
  --w: 70px;
  --h: 192px;
}

.footer-monument.m6 {
  --w: 82px;
  --h: 142px;
  --d: 15px;
}

.footer-monument.m7 {
  --w: 94px;
  --h: 160px;
  --d: 19px;
}

.footer-bottom {
  margin-top: 3.4rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 0 1.4rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.56);
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none !important;
  grid-template-columns: 1fr 1fr;
  background: rgba(0, 0, 0, 0.95);
}

.mobile-cta a {
  text-align: center;
  padding: 0.9rem 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 220ms ease, transform 220ms ease;
}

.mobile-cta a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-cta a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

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

html.has-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.has-reveal .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1160px) {
  .hero,
  .section {
    width: min(94vw, 1240px);
  }

  .stone-stage {
    width: min(95vw, 980px);
    height: min(112vh, 1080px);
  }

  .model-glow {
    width: min(82vw, 720px);
    height: min(82vw, 720px);
    filter: blur(22px);
  }

  .materials-layout,
  .configurator-layout,
  .contact-final {
    grid-template-columns: 1fr;
  }

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

  .contact-floral {
    left: 58%;
    bottom: -14.2rem;
    width: clamp(292px, 46vw, 510px);
    transform: translateX(-2%) rotate(75deg);
  }

  .footer-map-wrap {
    min-height: 248px;
  }

  .footer-monuments {
    margin-top: 1.9rem;
    height: clamp(240px, 44vw, 520px);
    padding: 0 0 0.55rem;
  }

  .footer-fence-strip {
    width: min(100vw, 1500px);
    transform: none;
  }

  .footer-fence {
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(170px, 26vw, 260px);
  }

  .card-a,
  .card-g {
    grid-column: 1 / -1;
    grid-row: span 2;
    min-height: 360px;
  }

  .card-b,
  .card-c,
  .card-d,
  .card-e,
  .card-f {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
  }

  .portfolio-lightbox {
    gap: 0.6rem;
    padding-bottom: clamp(4.4rem, 9vh, 5.8rem);
  }

  .portfolio-lightbox-nav {
    bottom: clamp(0.7rem, 2.2vw, 1.2rem);
  }

  .portfolio-lightbox-figure img {
    max-height: 76vh;
  }

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

  .top-nav {
    display: none;
  }

  .catalog-preview {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 0;
  }

  html {
    scroll-padding-top: 7.6rem;
  }

  .section {
    scroll-margin-top: 7.6rem;
  }

  .site-header {
    top: 0.55rem;
    width: min(96vw, 620px);
    padding: 0.48rem 0.58rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 7, 7, 0.72);
    backdrop-filter: blur(8px);
    flex-wrap: nowrap;
    justify-content: center;
    border-radius: 12px;
  }

  .header-call {
    display: inline-flex;
    min-height: 38px;
    padding: 0.46rem 0.68rem;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    margin: 0 auto;
  }

  .brand {
    display: none;
  }

  .top-nav {
    display: none;
  }

  .section {
    width: min(93vw, 1240px);
    padding: 2.15rem 0;
  }

  .background-layer::before,
  .background-layer::after {
    animation: none;
  }

  main {
    padding-top: 7.6rem;
  }

  .hero {
    min-height: 112svh;
  }

  .stone-stage {
    width: min(96vw, 720px);
    height: min(104svh, 860px);
  }

  .model-glow {
    width: min(94vw, 560px);
    height: min(94vw, 560px);
    opacity: 0.35;
    filter: blur(18px);
  }

  .material-preview {
    width: 100%;
  }

  .configurator-row {
    grid-template-columns: 1fr;
  }

  .configurator-options {
    gap: 0.42rem;
  }

  .configurator-options .config-option {
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
    min-height: 46px;
    font-size: 0.66rem;
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    padding: 0.54rem 0.52rem;
  }

  .configurator-select select,
  .contact-form input:not([type="checkbox"]) {
    font-size: 16px;
  }

  .configurator-options--wide {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .configurator-options--wide .config-option {
    flex: initial;
    width: 100%;
  }

  .configurator-preview-stage {
    min-height: 280px;
    aspect-ratio: auto;
  }

  .configurator-dimensions p {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  .site-footer {
    width: 100%;
    margin-top: 0.9rem;
  }

  .footer-shell {
    padding: 2.8rem 0.95rem 0;
  }

  .contact-floral {
    left: 62%;
    bottom: -10.4rem;
    width: clamp(210px, 58vw, 370px);
    transform: translateX(0) rotate(74deg);
    opacity: 0.95;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-map-wrap,
  .footer-map-wrap iframe {
    min-height: 216px;
  }

  .footer-monuments {
    margin-top: 1.6rem;
    height: clamp(170px, 58vw, 360px);
    justify-content: center;
    padding: 0 0 0.35rem;
    overflow: hidden;
  }

  .footer-fence-strip {
    width: 100%;
    transform: none;
  }

  .footer-fence {
    width: 100%;
    max-width: none;
    filter: grayscale(1) contrast(1.06) brightness(0.94) drop-shadow(0 14px 16px rgba(0, 0, 0, 0.52));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .hero-copy {
    width: min(93vw, 460px);
    max-width: none;
    margin: 2.75rem auto 0;
    padding-inline: 0;
    box-sizing: border-box;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(2.06rem, 12.4vw, 3.8rem);
    letter-spacing: -0.018em;
    line-height: 0.86;
    text-wrap: balance;
  }

  .hero-subtext {
    margin-top: 1.28rem;
    max-width: 34ch;
    font-size: 0.86rem;
  }

  .hero-copy h1 .headline-accent {
    margin: 0;
    transform: none;
    display: inline;
    white-space: normal;
  }

  .hero-copy h1 .headline-accent--hero {
    margin: 0;
    transform: none;
    display: inline;
  }

  .hero-copy h1 .headline-accent--leading {
    margin-right: 0;
    margin-left: 0;
  }

  .headline-accent--contact {
    font-size: clamp(2rem, 14vw, 3.6rem);
    margin: -0.15em 0 -0.18em -0.02em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.62rem;
    margin-top: 1.4rem;
  }

  .btn {
    display: flex;
    width: min(90vw, 350px);
    padding: 0.68rem 1.3rem;
    min-height: 46px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    margin-left: auto;
    margin-right: auto;
  }

  .materials-copy .btn,
  .contact-form .btn,
  .contact-call-mobile,
  .contact-actions .btn {
    display: flex;
    width: min(90vw, 350px);
    min-height: 46px;
    padding: 0.68rem 1.3rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    margin-left: auto;
    margin-right: auto;
  }

  .section-title {
    font-size: clamp(1.82rem, 9.4vw, 3.1rem);
    margin-bottom: 1.32rem;
    letter-spacing: -0.02em;
    line-height: 0.94;
  }

  .catalog-item {
    display: block;
    padding: 1.15rem 0 1.3rem;
  }

  .catalog-index {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: clamp(1.45rem, 8vw, 2.3rem);
  }

  .catalog-item h3,
  .material-card h3,
  .process-line h3 {
    font-size: clamp(1rem, 5.6vw, 1.35rem);
    line-height: 1.02;
    text-wrap: balance;
  }

  .catalog-item p,
  .materials-copy p,
  .process-line p,
  .contact-lead p {
    line-height: 1.48;
    text-wrap: pretty;
  }

  .item-cta {
    margin-top: 0.78rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0.9rem;
  }

  .card-a,
  .card-b,
  .card-c,
  .card-d,
  .card-e,
  .card-f,
  .card-g {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 250px;
  }

  .card-a {
    min-height: 360px;
  }

  .portfolio-lightbox {
    padding: 0.55rem;
  }

  .portfolio-lightbox-close {
    top: 0.55rem;
    right: 0.55rem;
    padding: 0.5rem 0.58rem;
    font-size: 0.58rem;
  }

  .portfolio-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    bottom: 0.7rem;
  }

  .portfolio-lightbox-nav--prev {
    left: calc(50% - 56px);
  }

  .portfolio-lightbox-nav--next {
    left: calc(50% + 10px);
  }

  .portfolio-lightbox-figure {
    gap: 0.48rem;
  }

  .portfolio-lightbox-figure img {
    max-height: 72vh;
  }

  .portfolio-lightbox-figure figcaption {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .item-cta {
    width: fit-content;
    margin-top: 0.78rem;
    padding: 0.42rem 0.86rem;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .process-line li {
    padding-top: 0.35rem;
  }

  .contact-final {
    gap: 1.2rem;
    padding: 1.1rem;
  }

  .contact-lead,
  .contact-lead .section-title,
  .contact-short,
  .contact-final p {
    text-align: center;
  }

  .contact-form {
    gap: 0.86rem;
  }

  .contact-consent {
    font-size: 0.72rem;
    line-height: 1.36;
  }

  .contact-policy-note {
    font-size: 0.68rem;
    margin-top: -0.1rem;
  }

  .contact-actions {
    display: none;
  }

  .contact-call-mobile {
    display: inline-flex;
  }

  .mobile-cta {
    display: none !important;
  }

  .contact-floral {
    display: none;
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 8.1rem;
  }

  .section {
    scroll-margin-top: 8.1rem;
  }

  .section {
    width: min(94vw, 1240px);
    padding: 1.75rem 0;
  }

  .site-header {
    width: min(97vw, 480px);
    border-radius: 10px;
    padding: 0.42rem 0.46rem 0.56rem;
    justify-content: center;
  }

  .header-call {
    min-height: 36px;
    font-size: 0.54rem;
    padding: 0.42rem 0.58rem;
    margin: 0 auto;
  }

  main {
    padding-top: 8rem;
  }

  .hero {
    min-height: 108svh;
  }

  .hero-copy {
    margin-top: 2.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.86rem, 11.4vw, 3.1rem);
  }

  .hero-subtext {
    font-size: 0.8rem;
    max-width: 32ch;
  }

  .stone-stage {
    width: min(98vw, 560px);
    height: min(96svh, 700px);
  }

  .model-glow {
    width: min(100vw, 500px);
    height: min(100vw, 500px);
    filter: blur(16px);
  }

  .btn,
  .materials-copy .btn,
  .contact-form .btn,
  .contact-call-mobile,
  .contact-actions .btn {
    width: min(92vw, 336px);
    min-height: 44px;
    font-size: 0.63rem;
    letter-spacing: 0.08em;
  }

  .configurator-options .config-option {
    min-height: 44px;
    font-size: 0.62rem;
    letter-spacing: 0.01em;
  }

  .contact-final {
    padding: 1rem;
  }

  .footer-shell {
    padding: 2.4rem 0.72rem 0;
  }

  .footer-map-wrap,
  .footer-map-wrap iframe {
    min-height: 196px;
  }

  .footer-monuments {
    height: clamp(150px, 54vw, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.66);
  --line-soft: rgba(17, 17, 17, 0.16);
}

body {
  background: var(--bg);
  color: var(--text);
}

.model-glow {
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.055) 32%, rgba(0, 0, 0, 0) 68%),
    radial-gradient(circle at 52% 56%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 72%);
  opacity: 0.26;
}

.stone-stage {
  opacity: 0.92;
}

.top-nav a {
  color: rgba(17, 17, 17, 0.68);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: #050505;
}

.header-call,
.btn-primary,
.contact-final .btn-primary {
  border: 1px solid #111111;
  background: linear-gradient(120deg, #181818, #050505);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.header-call:hover,
.btn-primary:hover,
.contact-final .btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(120deg, #2a2a2a, #101010);
  border-color: #101010;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.btn {
  border: 1px solid transparent;
}

.btn-primary,
.contact-final .btn-primary {
  border-color: #111111;
}

.btn-ghost,
.contact-final .btn-ghost {
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 17, 17, 0.24);
  box-shadow: none;
}

.btn-ghost:hover,
.contact-final .btn-ghost:hover {
  color: #050505;
  background: rgba(17, 17, 17, 0.06);
  border-color: rgba(17, 17, 17, 0.44);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.headline-accent {
  color: #161616;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.hero-copy h1 {
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.8);
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.68),
    0 10px 24px rgba(0, 0, 0, 0.12);
}

.hero-copy h1 .headline-accent {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.82);
  paint-order: stroke fill;
}

.catalog-item::after {
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.18), transparent);
}

.catalog-item.is-hovered::after {
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.42), transparent);
}

.catalog-index,
.catalog-item.is-hovered h3,
.catalog-item:hover h3,
.catalog-item:focus-visible h3,
.process-line span {
  color: rgba(17, 17, 17, 0.88);
}

.item-cta {
  color: #ffffff;
  border-color: #111111;
  background: #111111;
}

.item-cta:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.catalog-preview {
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.material-card {
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(17, 17, 17, 0.025);
}

.material-card:hover {
  border-color: rgba(17, 17, 17, 0.34);
}

.material-card:focus-visible {
  outline-color: rgba(17, 17, 17, 0.72);
}

.material-card.is-active {
  border-color: rgba(17, 17, 17, 0.62);
  background: rgba(17, 17, 17, 0.055);
}

.material-photo-wrap::after {
  background: linear-gradient(180deg, transparent 18%, rgba(255, 255, 255, 0.2));
}

.material-preview-note,
.configurator-dimensions p,
.configurator-field p,
.configurator-select span,
.configurator-checkbox,
.configurator-total p,
.configurator-total small {
  color: rgba(17, 17, 17, 0.68);
}

.material-preview-note strong {
  color: #111111;
}

.configurator-preview,
.configurator-preview[data-stone="granite"],
.configurator-preview[data-stone="marble"] {
  --wire-main: rgba(17, 17, 17, 0.78);
  --wire-soft: rgba(17, 17, 17, 0.48);
  --wire-faint: rgba(17, 17, 17, 0.2);
  --wire-fill-top: rgba(17, 17, 17, 0.055);
  --wire-fill-bottom: rgba(17, 17, 17, 0.012);
}

.configurator-preview[data-stone="red"] {
  --wire-main: rgba(142, 54, 48, 0.88);
  --wire-soft: rgba(142, 54, 48, 0.55);
  --wire-faint: rgba(142, 54, 48, 0.24);
  --wire-fill-top: rgba(142, 54, 48, 0.08);
  --wire-fill-bottom: rgba(142, 54, 48, 0.018);
}

.configurator-preview-shadow {
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18), transparent 72%);
}

.config-option {
  border-color: rgba(17, 17, 17, 0.24);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(17, 17, 17, 0.9);
}

.config-option:hover {
  border-color: rgba(17, 17, 17, 0.52);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.config-option.is-active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.configurator-select select {
  border-color: rgba(17, 17, 17, 0.26);
  background-color: rgba(255, 255, 255, 0.78);
  color: rgba(17, 17, 17, 0.94);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(17, 17, 17, 0.76) 50%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.76) 50%, transparent 50%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0));
}

.configurator-select select:focus {
  border-color: rgba(17, 17, 17, 0.62);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18);
}

.configurator-checkbox input {
  accent-color: #111111;
}

.configurator-total {
  border-top-color: rgba(17, 17, 17, 0.14);
}

.portfolio-card {
  background: #f3f3f1;
}

.portfolio-card:focus-visible {
  outline-color: rgba(17, 17, 17, 0.72);
}

.portfolio-lightbox {
  background: rgba(248, 248, 247, 0.94);
}

.portfolio-lightbox-figure img {
  background: #ffffff;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
}

.portfolio-lightbox-figure figcaption {
  color: rgba(17, 17, 17, 0.78);
}

.portfolio-lightbox-close,
.portfolio-lightbox-nav {
  border-color: rgba(17, 17, 17, 0.28);
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-nav:hover {
  background: #111111;
  border-color: #111111;
}

.contact-final {
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.86);
}

.site-footer::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(247, 247, 245, 0.74) 18%,
    rgba(242, 242, 239, 0.94) 40%,
    #f4f4f1 100%
  );
}

.footer-brand-col p,
.footer-links-col p {
  color: rgba(17, 17, 17, 0.66);
}

.footer-brand-col a,
.footer-links-col a {
  color: rgba(17, 17, 17, 0.9);
}

.footer-links-col h4 {
  color: rgba(17, 17, 17, 0.56);
}

.footer-map-wrap {
  background: #efefec;
}

.footer-map-wrap iframe {
  filter: grayscale(1) contrast(0.98) brightness(1.04);
}

.footer-map-wrap::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.5)),
    radial-gradient(640px 260px at 50% -15%, rgba(0, 0, 0, 0.08), transparent 74%);
}

.footer-monuments {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(245, 245, 242, 0.72) 45%, rgba(225, 225, 220, 0.9));
}

.footer-fence {
  filter: grayscale(1) contrast(1.02) brightness(1.08) drop-shadow(0 18px 22px rgba(0, 0, 0, 0.18));
}

.footer-bottom {
  border-top-color: rgba(17, 17, 17, 0.12);
}

.footer-bottom p {
  color: rgba(17, 17, 17, 0.58);
}

.mobile-cta {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.1);
}

.mobile-cta a {
  color: #111111;
}

.mobile-cta a + a {
  border-left-color: rgba(17, 17, 17, 0.16);
}

.mobile-cta a:hover {
  background: rgba(17, 17, 17, 0.08);
}

@media (max-width: 760px) {
  .site-header {
    border-color: rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  }

  .stone-stage {
    opacity: 0.86;
  }
}

/* Memorial-inspired refresh: деловая структура референса + наша светлая каменная стилистика */
:root {
  --paper: #fbfaf6;
  --paper-soft: #f4f1ea;
  --paper-card: rgba(255, 255, 255, 0.86);
  --paper-strong: #ffffff;
  --ink: #171512;
  --ink-soft: rgba(23, 21, 18, 0.68);
  --ink-faint: rgba(23, 21, 18, 0.12);
  --bronze: #8c7048;
  --bronze-soft: rgba(140, 112, 72, 0.16);
  --shadow-soft: 0 22px 70px rgba(42, 34, 22, 0.11);
  --shadow-card: 0 16px 44px rgba(42, 34, 22, 0.1);
  --radius-card: 1.55rem;
}

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

.background-layer {
  background-image:
    radial-gradient(760px 420px at 74% 18%, rgba(140, 112, 72, 0.16), transparent 72%),
    radial-gradient(760px 420px at 8% 42%, rgba(39, 37, 31, 0.07), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8f5ee 46%, #ffffff 100%),
    repeating-linear-gradient(
      90deg,
      rgba(44, 38, 29, 0.032) 0,
      rgba(44, 38, 29, 0.032) 1px,
      transparent 1px,
      transparent 54px
    );
}

.background-layer::before,
.background-layer::after {
  opacity: 0.18;
  filter: blur(30px);
}

.site-header {
  top: 0.75rem;
  width: min(94vw, 1180px);
  padding: 0.55rem;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(42, 34, 22, 0.1);
}

.header-brand-group,
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.header-brand-group span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

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

.top-nav {
  gap: 0.95rem;
  padding: 0 0.3rem;
}

.top-nav a,
.header-phone,
.header-call {
  color: rgba(23, 21, 18, 0.72);
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.header-phone:hover,
.header-phone:focus-visible {
  color: var(--ink);
}

.header-phone {
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-call,
.btn-primary,
.contact-final .btn-primary {
  border-color: #171512;
  background: linear-gradient(135deg, #25221d, #0f0e0c);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 21, 18, 0.18);
}

.header-call {
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
}

.header-call:hover,
.btn-primary:hover,
.contact-final .btn-primary:hover {
  background: linear-gradient(135deg, #3a3328, #171512);
  border-color: #171512;
}

.btn,
.item-cta {
  border-radius: 999px;
}

.btn-ghost,
.contact-final .btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(23, 21, 18, 0.2);
}

.btn-ghost:hover,
.contact-final .btn-ghost:hover {
  color: var(--ink);
  background: rgba(140, 112, 72, 0.11);
  border-color: rgba(140, 112, 72, 0.34);
}

main {
  padding-top: 6rem;
}

.section {
  width: min(92vw, 1180px);
  padding: clamp(3.3rem, 5vw, 5.4rem) 0;
}

.section-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-intro {
  max-width: 680px;
  margin: -0.9rem auto 2rem;
  color: var(--ink-soft);
  text-align: center;
}

.section-title {
  color: var(--ink);
}

.headline-accent {
  color: #1b1916;
  text-shadow: 0 12px 28px rgba(140, 112, 72, 0.16);
}

.hero {
  min-height: clamp(680px, 88vh, 860px);
  display: grid;
  align-items: center;
  padding-top: clamp(2rem, 4vw, 4rem);
}

.hero-shell {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: clamp(1.1rem, 3vw, 2rem);
  align-items: stretch;
}

.hero-copy {
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 4.4vw, 4.5rem);
  text-align: left;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: clamp(1.4rem, 3vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 231, 0.8)),
    radial-gradient(520px 260px at 88% 12%, rgba(140, 112, 72, 0.16), transparent 68%);
  box-shadow: var(--shadow-soft);
}

.hero-copy h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(3.2rem, 7vw, 7.7rem);
  letter-spacing: -0.055em;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero-copy h1 .headline-accent {
  -webkit-text-stroke: 0;
}

.hero-subtext {
  max-width: 60ch;
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

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

.hero-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 1.35rem;
}

.hero-checks span {
  min-height: 4.25rem;
  padding: 0.92rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(23, 21, 18, 0.09);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(23, 21, 18, 0.74);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-consult-card {
  align-self: end;
  min-height: 330px;
  padding: clamp(1.35rem, 2vw, 1.9rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(23, 21, 18, 0.82), rgba(23, 21, 18, 0.96)),
    radial-gradient(420px 260px at 40% 10%, rgba(255, 255, 255, 0.18), transparent 64%);
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

.hero-card-label {
  width: fit-content;
  margin-bottom: auto;
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-consult-card strong {
  max-width: 12ch;
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-consult-card p {
  margin: 1rem 0 1.3rem;
  color: rgba(255, 255, 255, 0.68);
}

.hero-consult-card a {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stone-stage {
  left: 66%;
  top: 49%;
  width: min(58vw, 860px);
  height: min(92vh, 940px);
  opacity: 0.7;
  transform: translate(-50%, -50%) translateY(var(--stage-shift)) scale(var(--stage-scale)) scale(0.72);
}

.stone-fallback-core {
  background:
    radial-gradient(circle at 40% 18%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.16) 48%, transparent 74%),
    linear-gradient(125deg, #65625b, #2f2c28 56%, #171512);
}

.trust-section {
  padding-top: 0;
}

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

.trust-card,
.service-card,
.review-card,
.story-panel {
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: var(--radius-card);
  background: var(--paper-card);
  box-shadow: var(--shadow-card);
}

.trust-card {
  min-height: 210px;
  padding: 1.25rem;
}

.trust-card span,
.service-card span,
.process-line span {
  color: var(--bronze);
}

.trust-card h3,
.service-card h3 {
  margin: 1.55rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.trust-card p,
.service-card p,
.review-card p,
.story-panel p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.catalog-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-item {
  min-height: 300px;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 1.1rem;
  padding: 1.2rem;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 231, 0.72)),
    radial-gradient(260px 160px at 82% 8%, var(--bronze-soft), transparent 70%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.catalog-item:hover,
.catalog-item:focus-visible,
.catalog-item.is-hovered {
  transform: translateY(-5px);
  border-color: rgba(140, 112, 72, 0.36);
  box-shadow: 0 24px 56px rgba(42, 34, 22, 0.14);
}

.catalog-item::after {
  inset: auto 1.2rem 5.1rem;
  height: 1px;
  background: rgba(23, 21, 18, 0.12);
}

.catalog-index {
  color: rgba(140, 112, 72, 0.64);
}

.catalog-item h3,
.catalog-item:hover h3,
.catalog-item:focus-visible h3,
.catalog-item.is-hovered h3 {
  color: var(--ink);
}

.catalog-item p {
  color: var(--ink-soft);
}

.item-cta {
  justify-self: start;
  align-self: end;
  color: #ffffff;
  border-color: #171512;
  background: #171512;
}

.item-cta:hover {
  background: #3a3328;
  border-color: #3a3328;
}

.section-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 1.6rem;
  align-items: end;
  margin-bottom: 1.7rem;
}

.section-split-heading .section-title {
  margin-bottom: 0;
  text-align: left;
}

.section-split-heading > p {
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
}

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

.service-card {
  min-height: 280px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.service-card--dark {
  background:
    linear-gradient(145deg, rgba(23, 21, 18, 0.93), rgba(23, 21, 18, 0.82)),
    radial-gradient(300px 180px at 30% 0%, rgba(255, 255, 255, 0.14), transparent 70%);
  color: #ffffff;
}

.service-card--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 1.4rem;
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.configurator-layout,
.contact-final {
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: clamp(1.4rem, 3vw, 2.2rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 231, 0.72)),
    radial-gradient(520px 240px at 8% 0%, rgba(140, 112, 72, 0.12), transparent 72%);
  box-shadow: var(--shadow-soft);
}

.configurator-panel,
.configurator-preview {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(23, 21, 18, 0.08);
}

.portfolio-grid {
  gap: 1rem;
}

.portfolio-card {
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.portfolio-card::before {
  background: linear-gradient(180deg, transparent 36%, rgba(23, 21, 18, 0.72));
}

.process-line {
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.process-line::before {
  background: rgba(23, 21, 18, 0.12);
}

.process-line li {
  padding: 1.25rem;
}

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

.review-card {
  min-height: 230px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  margin-top: 0;
  font-size: 0.96rem;
}

.review-card strong {
  margin-top: 1.4rem;
  color: var(--ink);
}

.story-section {
  padding-top: 1rem;
}

.story-panel {
  padding: clamp(1.7rem, 4vw, 3.8rem);
  background:
    linear-gradient(135deg, rgba(23, 21, 18, 0.9), rgba(23, 21, 18, 0.78)),
    radial-gradient(520px 320px at 90% 10%, rgba(255, 255, 255, 0.16), transparent 70%);
  color: #ffffff;
}

.story-panel h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.story-panel p:not(.section-eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.contact-final {
  overflow: hidden;
}

.contact-final .section-title {
  text-align: left;
}

.site-footer::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(246, 241, 231, 0.78) 24%,
    #f3efe6 100%
  );
}

@media (max-width: 1080px) {
  .site-header {
    width: min(96vw, 940px);
  }

  .header-brand-group span,
  .header-phone {
    display: none;
  }

  .hero-shell,
  .section-split-heading {
    grid-template-columns: 1fr;
  }

  .hero-consult-card {
    min-height: 240px;
  }

  .trust-grid,
  .catalog-list,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stone-stage {
    left: 72%;
    opacity: 0.42;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 7.3rem;
  }

  main {
    padding-top: 7.2rem;
  }

  .site-header {
    top: 0.5rem;
    width: calc(100vw - 1rem);
    padding: 0.65rem;
    border-radius: 1.2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
  }

  .top-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .top-nav a {
    flex: 0 0 auto;
    padding: 0.42rem 0.54rem;
    border: 1px solid rgba(23, 21, 18, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    font-size: 0.62rem;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .brand {
    display: inline-flex;
    font-size: 1.75rem;
  }

  .header-call {
    padding: 0.56rem 0.72rem;
    font-size: 0.6rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1.2rem;
  }

  .hero-copy {
    padding: 1.35rem;
    border-radius: 1.3rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 17vw, 4.8rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-checks,
  .trust-grid,
  .catalog-list,
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-checks span {
    min-height: auto;
  }

  .hero-consult-card {
    min-height: 220px;
  }

  .section {
    width: min(92vw, 560px);
    padding: 3.1rem 0;
  }

  .section-title,
  .section-split-heading .section-title,
  .contact-final .section-title {
    text-align: left;
  }

  .section-intro {
    margin-top: -0.4rem;
    text-align: left;
  }

  .catalog-item,
  .service-card,
  .trust-card,
  .review-card {
    min-height: auto;
  }

  .stone-stage {
    left: 76%;
    top: 42%;
    width: 92vw;
    opacity: 0.23;
    transform: translate(-50%, -50%) translateY(var(--stage-shift)) scale(var(--stage-scale)) scale(0.55);
  }

  .story-panel h2 {
    font-size: clamp(2rem, 12vw, 3.7rem);
  }
}

@media (max-width: 480px) {
  .brand {
    display: inline-flex;
    font-size: 1.65rem;
  }

  .section-eyebrow {
    font-size: 0.64rem;
  }

  .catalog-item {
    padding: 1rem;
  }
}

/* Layout polish: больше воздуха, мягкий фон вместо 3D, аккуратные появления */
:root {
  --section-space: clamp(4.6rem, 7.2vw, 7.6rem);
  --block-gap: clamp(1.35rem, 2.2vw, 2rem);
  --card-pad: clamp(1.35rem, 2vw, 1.85rem);
  --hero-image-opacity: 0.34;
}

.background-layer {
  background-image:
    radial-gradient(900px 520px at 78% 8%, rgba(140, 112, 72, 0.13), transparent 70%),
    radial-gradient(900px 560px at 6% 42%, rgba(23, 21, 18, 0.05), transparent 72%),
    linear-gradient(180deg, #fffdfa 0%, #f8f4ec 42%, #ffffff 100%);
}

.background-layer::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.82) 34%, rgba(251, 250, 246, 0.38) 100%),
    linear-gradient(180deg, rgba(251, 250, 246, 0.16), rgba(251, 250, 246, 0.72)),
    url("./assets/optimized/hero/pushkeen-muted-hero.webp");
  background-size: cover;
  background-position: right center;
  opacity: var(--hero-image-opacity);
  filter: grayscale(0.2) saturate(0.72) contrast(0.92);
  animation: hero-background-breathe 22s ease-in-out infinite alternate;
}

.background-layer::after {
  inset: 0;
  background:
    radial-gradient(620px 320px at 72% 24%, rgba(255, 255, 255, 0.38), transparent 68%),
    radial-gradient(760px 360px at 50% 100%, rgba(140, 112, 72, 0.12), transparent 72%);
  opacity: 0.72;
  filter: none;
  animation: none;
}

.stone-stage,
.stone-fallback,
#stone-canvas {
  display: none !important;
}

.stone-influence {
  transform: none;
  transition: none;
}

main {
  padding-top: clamp(6.4rem, 8vw, 8rem);
}

.section {
  padding: var(--section-space) 0;
}

.hero {
  min-height: clamp(760px, 94vh, 940px);
  padding-top: clamp(2.4rem, 5vw, 5.4rem);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.hero-shell {
  gap: clamp(1.8rem, 3.4vw, 3rem);
}

.hero-copy {
  padding: clamp(2.25rem, 5vw, 5.25rem);
}

.hero-copy h1,
.section-title,
.story-panel h2,
.hero-consult-card strong,
.catalog-item h3,
.service-card h3,
.trust-card h3,
.process-line h3 {
  text-wrap: balance;
}

.hero-subtext,
.section-intro,
.section-split-heading > p,
.trust-card p,
.catalog-item p,
.service-card p,
.process-line p,
.review-card p,
.story-panel p,
.contact-lead p,
.configurator-lead {
  line-height: 1.68;
  text-wrap: pretty;
}

.hero-subtext {
  margin-top: clamp(1.45rem, 2.4vw, 2rem);
}

.hero-actions {
  margin-top: clamp(2rem, 3vw, 2.65rem);
  gap: 1.05rem;
}

.hero-checks {
  gap: 0.95rem;
  margin-top: clamp(1.5rem, 2.5vw, 2.15rem);
}

.hero-checks span {
  padding: 1.05rem;
}

.hero-consult-card {
  min-height: 380px;
  padding: clamp(1.55rem, 2.6vw, 2.35rem);
}

.hero-consult-card p {
  margin: 1.25rem 0 1.6rem;
  line-height: 1.7;
}

.trust-section {
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
}

.trust-grid,
.catalog-list,
.services-grid,
.reviews-grid,
.portfolio-grid {
  gap: var(--block-gap);
}

.trust-card,
.service-card,
.review-card,
.catalog-item {
  padding: var(--card-pad);
}

.trust-card {
  min-height: 236px;
}

.catalog-item {
  min-height: 336px;
  gap: 1.35rem;
}

.catalog-item::after {
  left: var(--card-pad);
  right: var(--card-pad);
  bottom: 5.65rem;
}

.section-eyebrow {
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: clamp(2.1rem, 3.5vw, 3.1rem);
  line-height: 0.98;
}

.section-intro {
  margin: -1rem auto clamp(2.4rem, 4vw, 3.2rem);
  max-width: 760px;
}

.section-split-heading {
  gap: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: clamp(2.2rem, 3.8vw, 3.15rem);
}

.service-card {
  min-height: 320px;
}

.service-card p {
  margin-top: 1rem;
}

.configurator-layout {
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.15rem, 2vw, 1.6rem);
}

.configurator-panel {
  padding: clamp(1.45rem, 2.6vw, 2.25rem);
}

.configurator-field {
  margin-top: 1.45rem;
}

.configurator-options {
  gap: 0.7rem;
}

.configurator-total {
  margin-top: 1.4rem;
  padding-top: 1.35rem;
}

.portfolio-card figcaption {
  padding: 1.25rem;
}

.process-line {
  gap: 0;
  padding: 0.5rem;
}

.process-line li {
  padding: clamp(1.35rem, 2.4vw, 2rem);
}

.review-card {
  min-height: 260px;
  padding: clamp(1.45rem, 2.4vw, 2rem);
}

.story-section {
  padding-top: clamp(1.6rem, 3vw, 2.8rem);
}

.story-panel {
  padding: clamp(2rem, 5vw, 4.6rem);
}

.story-panel p:not(.section-eyebrow) {
  margin-top: clamp(1.4rem, 2.5vw, 2rem);
}

.contact-final {
  gap: clamp(1.5rem, 3vw, 2.6rem);
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.contact-form {
  gap: 1rem;
}

.contact-form input:not([type="checkbox"]) {
  min-height: 3.25rem;
}

html.has-reveal .reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 760ms ease,
    transform 980ms cubic-bezier(0.2, 0.78, 0.18, 1),
    filter 760ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

html.has-reveal .reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@keyframes hero-background-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035) translate3d(-0.8%, -0.6%, 0);
  }
}

@media (max-width: 1080px) {
  :root {
    --hero-image-opacity: 0.22;
  }

  .hero {
    min-height: auto;
  }

  .hero-consult-card {
    min-height: 270px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 4.1rem;
    --block-gap: 1rem;
    --card-pad: 1.15rem;
    --hero-image-opacity: 0.16;
  }

  main {
    padding-top: 7.6rem;
  }

  .section {
    padding: var(--section-space) 0;
  }

  .hero {
    padding-top: 1.6rem;
    padding-bottom: 2rem;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .hero-consult-card,
  .service-card,
  .trust-card,
  .review-card,
  .catalog-item {
    min-height: auto;
  }

  .section-intro {
    margin: -0.35rem 0 2rem;
  }

  .configurator-layout,
  .contact-final {
    padding: 1rem;
  }

  html.has-reveal .reveal {
    transition-delay: 0ms;
    transform: translate3d(0, 22px, 0);
    filter: blur(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-layer::before {
    animation: none;
  }

  html.has-reveal .reveal {
    transition: none;
    transform: none;
    filter: none;
  }
}

/* Overflow and background visibility fixes */
html {
  scroll-padding-top: 8.6rem;
}

body {
  background: #fbfaf6;
}

.background-layer {
  z-index: 0;
}

.background-layer::before {
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.78) 42%, rgba(251, 250, 246, 0.28) 100%),
    linear-gradient(180deg, rgba(251, 250, 246, 0.05), rgba(251, 250, 246, 0.62)),
    url("./assets/optimized/hero/pushkeen-muted-hero.webp");
  background-repeat: no-repeat;
  background-size: min(46vw, 620px) auto;
  background-position: right clamp(1rem, 5vw, 5rem) top clamp(7.2rem, 10vw, 9.5rem);
  opacity: 0.54;
}

.perf-tier-optimized .background-layer::before,
.background-layer::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.84) 34%, rgba(251, 250, 246, 0.26) 62%, rgba(251, 250, 246, 0.06) 100%),
    radial-gradient(640px 420px at 78% 22%, rgba(255, 255, 255, 0.08), transparent 66%),
    url("./assets/optimized/hero/pushkeen-muted-hero.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, min(70vw, 1050px) auto;
  background-position: center, center, right clamp(-2rem, 3vw, 3.5rem) top clamp(5.8rem, 7vw, 7.6rem);
  opacity: 1;
  filter: grayscale(0.08) saturate(0.92) contrast(1.04) brightness(0.98);
}

.perf-tier-optimized .background-layer::after,
.background-layer::after {
  opacity: 0.34;
  filter: none;
}

main,
.site-footer {
  position: relative;
  z-index: 4;
}

.section {
  scroll-margin-top: 8.6rem;
}

#catalog.section,
#services.section,
#portfolio.section {
  width: min(94vw, 1360px);
}

.hero-copy,
.hero-consult-card,
.trust-card,
.catalog-item,
.service-card,
.review-card,
.story-panel,
.configurator-layout,
.configurator-panel,
.configurator-preview,
.contact-final,
.contact-form,
.process-line,
.process-line li {
  min-width: 0;
}

.hero-copy *,
.hero-consult-card *,
.trust-card *,
.catalog-item *,
.service-card *,
.review-card *,
.story-panel *,
.configurator-layout *,
.contact-final * {
  max-width: 100%;
}

.catalog-list,
.services-grid,
.trust-grid,
.reviews-grid {
  align-items: stretch;
}

.catalog-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.catalog-item {
  min-height: 0;
  overflow: visible;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  padding: clamp(1.35rem, 2vw, 2rem);
}

.catalog-item > div {
  min-width: 0;
}

.catalog-item h3 {
  font-size: clamp(1.28rem, 1.7vw, 1.72rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.catalog-item h3,
.service-card h3,
.trust-card h3,
.process-line h3,
.hero-consult-card strong,
.hero-copy h1,
.section-title,
.story-panel h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.catalog-item p,
.service-card p,
.trust-card p,
.review-card p,
.process-line p,
.hero-subtext,
.section-intro,
.section-split-heading > p,
.contact-lead p {
  overflow-wrap: normal;
  hyphens: none;
}

.catalog-item::after {
  left: clamp(1.35rem, 2vw, 2rem);
  right: clamp(1.35rem, 2vw, 2rem);
  bottom: 5.8rem;
}

.item-cta,
.btn,
.header-call {
  white-space: normal;
  max-width: 100%;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6.2vw, 6.85rem);
  line-height: 0.9;
}

.hero-copy {
  overflow: hidden;
}

.hero-copy h1 .headline-accent {
  max-width: none;
}

.hero-consult-card strong {
  font-size: clamp(1.45rem, 2.35vw, 2.2rem);
}

.section-split-heading {
  align-items: start;
}

@media (max-width: 1160px) {
  #catalog.section,
  #services.section,
  #portfolio.section {
    width: min(94vw, 1040px);
  }

  .catalog-list,
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 8rem;
  }

  .section {
    scroll-margin-top: 8rem;
  }

  .background-layer::before {
    background-size: 88vw auto;
    background-position: center top 8.2rem;
    opacity: 0.24;
  }

  .catalog-list,
  .services-grid,
  .trust-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .catalog-item,
  .service-card,
  .trust-card,
  .review-card {
    padding: 1.25rem;
  }

  .catalog-item h3 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14.5vw, 4.2rem);
    line-height: 0.92;
  }
}

@media (max-width: 420px) {
  .catalog-item h3,
  .service-card h3,
  .trust-card h3 {
    font-size: clamp(1.25rem, 7vw, 1.7rem);
  }

  .hero-copy,
  .hero-consult-card,
  .configurator-layout,
  .contact-final {
    border-radius: 1.1rem;
  }
}

@media (max-width: 760px) {
  .perf-tier-optimized .background-layer::before,
  .background-layer::before {
    background-size: 100% 100%, 100% 100%, auto min(76vh, 680px);
    background-position: center, center, center top 6.6rem;
    opacity: 0.78;
    filter: grayscale(0.08) saturate(0.9) contrast(1.02) brightness(0.98);
  }

  .perf-tier-optimized .background-layer::after,
  .background-layer::after {
    opacity: 0.28;
  }
}

.portfolio-card--extra {
  grid-column: span 3;
  grid-row: span 3;
  min-height: clamp(220px, 21vw, 320px);
}

.portfolio-card--extra img {
  object-position: center 50%;
}

@media (max-width: 1160px) {
  .portfolio-card--extra {
    grid-column: span 4;
    grid-row: span 3;
  }
}

@media (max-width: 760px) {
  .portfolio-card--extra {
    grid-column: 1 / -1;
    grid-row: span 4;
    min-height: 260px;
  }
}

/* Hero screen background photo with gradient transition */
body {
  position: relative;
  background: #fbfaf6;
}

.background-layer {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(880px, 116svh, 1180px);
  min-height: 880px;
  background: #fbfaf6;
  overflow: visible;
}

.perf-tier-optimized .background-layer::before,
.background-layer::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.2), rgba(251, 250, 246, 0.3)),
    linear-gradient(90deg, rgba(251, 250, 246, 0.2), rgba(251, 250, 246, 0.06) 52%, rgba(251, 250, 246, 0.16)),
    url("./assets/optimized/hero/hero-main-screen.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center top, center top, center center;
  opacity: 1;
  filter: grayscale(0.02) saturate(1.02) contrast(1.06) brightness(0.92);
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.82) 70%,
    rgba(0, 0, 0, 0.38) 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.82) 70%,
    rgba(0, 0, 0, 0.38) 86%,
    transparent 100%
  );
  transform: none;
  animation: none;
  will-change: auto;
}

.perf-tier-optimized .background-layer::after,
.background-layer::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 46%;
  background:
    linear-gradient(
      180deg,
      rgba(251, 250, 246, 0) 0%,
      rgba(251, 250, 246, 0.12) 20%,
      rgba(251, 250, 246, 0.36) 46%,
      rgba(251, 250, 246, 0.7) 74%,
      #fbfaf6 100%
    ),
    radial-gradient(1100px 460px at 50% 30%, rgba(255, 255, 255, 0.12), transparent 78%);
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  will-change: auto;
}

@media (max-width: 760px) {
  .background-layer {
    height: clamp(980px, 138svh, 1320px);
    min-height: 980px;
  }

  .perf-tier-optimized .background-layer::before,
  .background-layer::before {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.24), rgba(251, 250, 246, 0.34)),
      linear-gradient(90deg, rgba(251, 250, 246, 0.12), rgba(251, 250, 246, 0.12)),
      url("./assets/optimized/hero/hero-main-screen.webp");
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, cover;
    background-position: center top, center top, center center;
    opacity: 1;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 62%,
      rgba(0, 0, 0, 0.72) 76%,
      rgba(0, 0, 0, 0.24) 91%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 62%,
      rgba(0, 0, 0, 0.72) 76%,
      rgba(0, 0, 0, 0.24) 91%,
      transparent 100%
    );
  }

  .perf-tier-optimized .background-layer::after,
  .background-layer::after {
    top: 58%;
    height: 42%;
  }
}

/* Hero fit and softer photo dissolve */
:root {
  --hero-photo-height: clamp(860px, 108svh, 1080px);
}

.background-layer {
  height: var(--hero-photo-height);
  min-height: 820px;
}

.hero {
  min-height: min(760px, calc(var(--hero-photo-height) - 8.5rem));
  padding-top: clamp(1rem, 2.2vw, 2.2rem);
  padding-bottom: clamp(2rem, 4vw, 3.8rem);
  align-items: start;
}

.hero-shell {
  align-items: stretch;
}

.hero-copy {
  padding: clamp(1.45rem, 3vw, 3rem);
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 4.9vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(1.55rem, 3.05vw, 3.55rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.hero-subtext {
  margin-top: 1.05rem;
}

.hero-actions,
.hero-checks {
  margin-top: 1.05rem;
}

.hero-checks span {
  min-height: 3.75rem;
  padding: 0.78rem;
}

.hero-consult-card {
  min-height: 280px;
  padding: clamp(1.15rem, 1.65vw, 1.65rem);
}

.hero-consult-card strong {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.02;
}

.hero-consult-card p {
  margin: 1rem 0 1.25rem;
}

.perf-tier-optimized .background-layer::before,
.background-layer::before {
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 64%,
    rgba(0, 0, 0, 0.9) 72%,
    rgba(0, 0, 0, 0.5) 84%,
    rgba(0, 0, 0, 0.18) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 64%,
    rgba(0, 0, 0, 0.9) 72%,
    rgba(0, 0, 0, 0.5) 84%,
    rgba(0, 0, 0, 0.18) 94%,
    transparent 100%
  );
}

.perf-tier-optimized .background-layer::after,
.background-layer::after {
  top: 60%;
  height: 52%;
  background:
    linear-gradient(
      180deg,
      rgba(251, 250, 246, 0) 0%,
      rgba(251, 250, 246, 0.08) 18%,
      rgba(251, 250, 246, 0.26) 42%,
      rgba(251, 250, 246, 0.62) 70%,
      #fbfaf6 100%
    ),
    radial-gradient(1200px 520px at 50% 34%, rgba(255, 255, 255, 0.18), transparent 80%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 100%);
}

@media (max-width: 760px) {
  :root {
    --hero-photo-height: clamp(980px, 132svh, 1280px);
  }

  .hero {
    min-height: auto;
    padding-top: 0.8rem;
    padding-bottom: 2.2rem;
  }

  .hero-copy {
    padding: 1.15rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.75rem);
    line-height: 0.96;
  }

  .hero-title-line {
    font-size: clamp(1.28rem, 7.6vw, 2.35rem);
    letter-spacing: -0.04em;
  }

  .hero-consult-card {
    min-height: 190px;
  }

  .perf-tier-optimized .background-layer::after,
  .background-layer::after {
    top: 60%;
    height: 54%;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* Phone and messenger emphasis outside the header */
.phone-emphasis {
  display: inline-block;
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.035em;
}

.hero-consult-card .phone-emphasis {
  font-size: clamp(0.95rem, 1.28vw, 1.2rem);
}

.contact-short .phone-emphasis {
  margin-top: 0.42rem;
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  letter-spacing: 0.02em;
}

.footer-brand-col .phone-emphasis,
.footer-messenger-link {
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  font-weight: 700;
  letter-spacing: 0.035em;
}

.footer-messenger-link {
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 760px) {
  .contact-short .phone-emphasis {
    font-size: clamp(1.3rem, 8vw, 2rem);
  }
}

/* Final mobile overflow guards */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .section,
  .hero,
  .hero-shell,
  .hero-copy,
  .hero-consult-card,
  .configurator-layout,
  .configurator-preview-wrap,
  .catalog-item,
  .service-card,
  .trust-card,
  .review-card,
  .contact-final,
  .contact-form,
  .site-footer,
  .footer-shell {
    max-width: 100%;
    min-width: 0;
  }

  .hero-shell {
    width: min(92vw, 560px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .hero-copy {
    width: 100%;
    margin-inline: auto;
    overflow: hidden;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 10.6vw, 3.28rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-title-line {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(1.02rem, 6.25vw, 1.92rem);
    letter-spacing: -0.035em;
    text-align: center;
  }

  .hero-subtext,
  .section-intro,
  .contact-lead p,
  .footer-brand-col p,
  .footer-links-col p {
    max-width: 100%;
    overflow-wrap: normal;
  }

  .configurator-preview-platform {
    left: 50%;
    width: min(78%, 240px);
    transform: translateX(-50%) scale(0.92);
  }

  .footer-brand {
    display: inline-block;
    max-width: 100%;
    transform: none;
    white-space: nowrap;
  }

  .btn,
  .item-cta,
  .header-call,
  .phone-emphasis,
  .footer-messenger-link {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: clamp(1.85rem, 9.8vw, 2.7rem);
  }

  .hero-title-line {
    font-size: clamp(0.92rem, 5.75vw, 1.5rem);
  }
}

/* Catalog slide-down previews */
.catalog-list {
  align-items: start;
}

.catalog-item {
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  isolation: isolate;
}

.catalog-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(140, 112, 72, 0.14)),
    radial-gradient(420px 190px at 50% 100%, rgba(140, 112, 72, 0.2), transparent 72%);
  transition: height 520ms cubic-bezier(0.2, 0.78, 0.18, 1), opacity 320ms ease;
}

.catalog-item::after {
  display: none;
}

.catalog-item > * {
  position: relative;
  z-index: 1;
}

.catalog-item-preview {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transform-origin: center bottom;
  overflow: hidden;
  border-radius: calc(var(--radius-card) - 0.65rem);
  background: #eee8dd;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition:
    max-height 560ms cubic-bezier(0.2, 0.78, 0.18, 1),
    margin-top 560ms cubic-bezier(0.2, 0.78, 0.18, 1),
    opacity 260ms ease,
    transform 560ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.catalog-item-preview img {
  display: block;
  width: 100%;
  height: clamp(150px, 16vw, 230px);
  object-fit: cover;
  transform: translateY(12px) scale(1.045);
  filter: contrast(1.04) saturate(0.96);
  transition: transform 620ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.catalog-item:hover::before,
.catalog-item:focus-visible::before,
.catalog-item:focus-within::before,
.catalog-item.is-hovered::before {
  height: 48%;
  opacity: 1;
}

.catalog-item:hover .catalog-item-preview,
.catalog-item:focus-visible .catalog-item-preview,
.catalog-item:focus-within .catalog-item-preview,
.catalog-item.is-hovered .catalog-item-preview {
  max-height: clamp(150px, 16vw, 230px);
  margin-top: 0.35rem;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.catalog-item:hover .catalog-item-preview img,
.catalog-item:focus-visible .catalog-item-preview img,
.catalog-item:focus-within .catalog-item-preview img,
.catalog-item.is-hovered .catalog-item-preview img {
  transform: translateY(0) scale(1);
}

@media (hover: none), (max-width: 760px) {
  .catalog-item::before {
    height: 45%;
    opacity: 1;
  }

  .catalog-item-preview {
    max-height: none;
    margin-top: 0.35rem;
    opacity: 1;
    transform: none;
  }

  .catalog-item-preview img {
    height: clamp(178px, 54vw, 270px);
    transform: none;
  }
}

/* Hero consultation heading wrap fix */
.hero-consult-card strong {
  max-width: min(100%, 18ch);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

@media (min-width: 761px) {
  .hero-consult-card strong {
    font-size: clamp(1.35rem, 1.9vw, 2rem);
  }
}

@media (max-width: 760px) {
  .hero-consult-card strong {
    max-width: 100%;
  }
}

/* Softer translucent hero text underlays */
.hero-copy,
.hero-consult-card {
  position: relative;
  overflow: visible;
  isolation: isolate;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.hero-copy::before,
.hero-consult-card::before {
  content: "";
  position: absolute;
  inset: clamp(-2.2rem, -3vw, -1.25rem);
  z-index: 0;
  pointer-events: none;
  border-radius: clamp(2.2rem, 5vw, 4.4rem);
  background:
    radial-gradient(86% 94% at 42% 44%, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.012) 58%, transparent 100%);
  filter: blur(38px);
  -webkit-backdrop-filter: blur(30px) saturate(1.04);
  backdrop-filter: blur(30px) saturate(1.04);
}

.hero-copy > *,
.hero-consult-card > * {
  position: relative;
  z-index: 1;
}

.hero-checks span {
  border-color: rgba(255, 255, 255, 0.02);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 46px rgba(34, 26, 16, 0.018);
  -webkit-backdrop-filter: blur(24px) saturate(1.04);
  backdrop-filter: blur(24px) saturate(1.04);
}

.hero-card-label {
  border-color: rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

@media (max-width: 760px) {
  .hero-copy::before,
  .hero-consult-card::before {
    inset: -1.25rem;
    filter: blur(28px);
    -webkit-backdrop-filter: blur(24px) saturate(1.04);
    backdrop-filter: blur(24px) saturate(1.04);
  }
}

/* Services hover feedback */
.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 18, 0.1);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 241, 231, 0.74)),
    radial-gradient(360px 210px at 88% 8%, rgba(140, 112, 72, 0.12), transparent 72%);
  box-shadow: var(--shadow-card);
  transition:
    transform 260ms cubic-bezier(0.2, 0.78, 0.18, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(420px 240px at 50% 100%, rgba(140, 112, 72, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(140, 112, 72, 0.08));
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.service-card > * {
  position: relative;
  z-index: 1;
  transition: transform 260ms cubic-bezier(0.2, 0.78, 0.18, 1), color 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(140, 112, 72, 0.42);
  box-shadow: 0 28px 68px rgba(42, 34, 22, 0.17);
}

.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover span,
.service-card:focus-within span {
  transform: translateY(-2px) scale(1.04);
  color: rgba(140, 112, 72, 0.92);
}

.service-card:hover h3,
.service-card:focus-within h3,
.service-card:hover p,
.service-card:focus-within p {
  transform: translateY(-3px);
}

.service-card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service-card a::after {
  content: "→";
  display: inline-block;
  transform: translateX(-4px);
  opacity: 0;
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.service-card:hover a,
.service-card:focus-within a {
  transform: translateY(-2px);
  color: var(--bronze);
}

.service-card:hover a::after,
.service-card:focus-within a::after {
  opacity: 1;
  transform: translateX(0);
}

.service-card--dark {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(23, 21, 18, 0.93), rgba(23, 21, 18, 0.82)),
    radial-gradient(300px 180px at 30% 0%, rgba(255, 255, 255, 0.14), transparent 70%);
}

.service-card--dark:hover,
.service-card--dark:focus-within {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 30px 74px rgba(23, 21, 18, 0.26);
}

.service-card--dark:hover a,
.service-card--dark:focus-within a,
.service-card--dark:hover span,
.service-card--dark:focus-within span {
  color: #f2d8a8;
}

@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
}

/* Hero text directly over the photo */
.perf-tier-optimized .background-layer::before,
.background-layer::before {
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.14), rgba(251, 250, 246, 0.2)),
    linear-gradient(90deg, rgba(251, 250, 246, 0.12), rgba(251, 250, 246, 0.04) 52%, rgba(251, 250, 246, 0.1)),
    url("./assets/optimized/hero/hero-main-screen.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center top, center top, center center;
  filter: grayscale(0.02) saturate(1.04) contrast(1.06) brightness(0.98);
}

.hero-copy,
.hero-consult-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.hero-copy > .section-eyebrow {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.hero-copy::before,
.hero-consult-card::before {
  display: none;
  content: none;
}

.hero-consult-card {
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.42);
}

.hero-consult-card p {
  color: rgba(23, 21, 18, 0.74);
}

.hero-consult-card a {
  color: var(--ink);
}

.hero-card-label {
  border-color: transparent;
  background: transparent;
  color: rgba(23, 21, 18, 0.7);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-checks span {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Lower hero photo dissolve */
.perf-tier-optimized .background-layer::before,
.background-layer::before {
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.88) 80%,
    rgba(0, 0, 0, 0.46) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.88) 80%,
    rgba(0, 0, 0, 0.46) 92%,
    transparent 100%
  );
}

.perf-tier-optimized .background-layer::after,
.background-layer::after {
  top: 68%;
  height: 44%;
  background:
    linear-gradient(
      180deg,
      rgba(251, 250, 246, 0) 0%,
      rgba(251, 250, 246, 0.05) 22%,
      rgba(251, 250, 246, 0.18) 48%,
      rgba(251, 250, 246, 0.56) 76%,
      #fbfaf6 100%
    ),
    radial-gradient(1200px 520px at 50% 34%, rgba(255, 255, 255, 0.12), transparent 80%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

@media (max-width: 760px) {
  .perf-tier-optimized .background-layer::before,
  .background-layer::before {
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 70%,
      rgba(0, 0, 0, 0.82) 80%,
      rgba(0, 0, 0, 0.38) 92%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 70%,
      rgba(0, 0, 0, 0.82) 80%,
      rgba(0, 0, 0, 0.38) 92%,
      transparent 100%
    );
  }

  .perf-tier-optimized .background-layer::after,
  .background-layer::after {
    top: 68%;
    height: 46%;
  }
}

/* Hero white text experiment */
.perf-tier-optimized .background-layer::before,
.background-layer::before {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.14), rgba(5, 5, 5, 0.2)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0.04) 54%, rgba(5, 5, 5, 0.12)),
    url("./assets/optimized/hero/hero-main-screen.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center top, center top, center center;
  filter: grayscale(0.02) saturate(1.04) contrast(1.06) brightness(0.86);
}

.hero-copy,
.hero-copy h1,
.hero-copy > .section-eyebrow,
.hero-subtext,
.hero-consult-card,
.hero-consult-card p,
.hero-consult-card a,
.hero-card-label {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.42);
}

.hero-copy h1 .headline-accent {
  color: #ffffff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.hero-actions .btn-primary {
  color: #171512;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.hero-actions .btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.1);
}

/* Natural wrapping: no mid-word breaks */
.hero-copy h1,
.hero-title-line,
.section-title,
.section-eyebrow,
.section-intro,
.hero-subtext,
.hero-consult-card strong,
.hero-consult-card p,
.catalog-item h3,
.catalog-item p,
.service-card h3,
.service-card p,
.trust-card h3,
.trust-card p,
.review-card p,
.process-line h3,
.process-line p,
.story-panel h2,
.story-panel p,
.materials-copy p,
.contact-lead p,
.section-split-heading > p,
.footer-brand-col p,
.footer-links-col p,
.btn,
.item-cta,
.header-call,
.phone-emphasis,
.footer-messenger-link,
.config-option,
.configurator-dimensions p,
.contact-form label,
.contact-form input,
.contact-form textarea,
.footer-links-col a {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-copy h1,
.section-title,
.catalog-item h3,
.service-card h3,
.trust-card h3,
.process-line h3,
.story-panel h2 {
  text-wrap: balance;
}

.hero-subtext,
.section-intro,
.catalog-item p,
.service-card p,
.trust-card p,
.review-card p,
.process-line p,
.story-panel p,
.contact-lead p,
.section-split-heading > p {
  text-wrap: pretty;
}

@media (max-width: 760px) {
  .catalog-item h3,
  .service-card h3,
  .trust-card h3,
  .process-line h3 {
    font-size: clamp(1.18rem, 6.2vw, 1.72rem);
    line-height: 1.12;
  }

  .section-title {
    font-size: clamp(1.95rem, 9.2vw, 3.45rem);
  }

  .btn,
  .item-cta,
  .header-call,
  .footer-messenger-link {
    letter-spacing: 0.08em;
  }
}
