:root {
  --bg: #0a0a0a;
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.68);
  --line-soft: rgba(255, 255, 255, 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: "Sora", "Segoe UI", sans-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(255, 255, 255, 0.34), transparent 70%),
    radial-gradient(900px 600px at 0% 56%, rgba(255, 255, 255, 0.1), transparent 70%),
    radial-gradient(900px 600px at 100% 50%, rgba(255, 255, 255, 0.1), transparent 72%),
    linear-gradient(180deg, #0a0a0a 0%, #111111 48%, #090909 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 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(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(940px 520px at 74% 62%, rgba(255, 255, 255, 0.14), transparent 64%);
  opacity: 0.34;
  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(255, 255, 255, 0.13), transparent 64%),
    radial-gradient(620px 340px at 26% 76%, rgba(255, 255, 255, 0.11), transparent 66%);
  opacity: 0.22;
  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;
  }
}

@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,
.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: anywhere;
  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: anywhere;
}

.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::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 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: anywhere;
  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/материалы/гранит.jpg");
  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/материалы/гранит.jpg");
  filter: saturate(0.95) brightness(0.86);
}

.material-preview[data-active-material="marble"] .material-preview-stone {
  --material-preview-image: url("./assets/материалы/мрамор.jpg");
  filter: saturate(0.88) brightness(1.02);
}

.material-preview[data-active-material="satin"] .material-preview-stone {
  --material-preview-image: url("./assets/материалы/сатин.jpg");
  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-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;
}

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

.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: "Teko", "Sora", sans-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;
  }
}
