:root {
  --bg: #151414;
  --surface: rgba(31, 27, 25, 0.84);
  --surface-strong: rgba(40, 35, 32, 0.95);
  --text: #f1e8db;
  --muted: #c3b19a;
  --line: rgba(201, 172, 136, 0.16);
  --accent: #bb8e64;
  --accent-deep: #7c5637;
  --shadow: 0 34px 84px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.22);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  color-scheme: dark;
  background:
    radial-gradient(circle at top left, rgba(205, 164, 123, 0.24), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(255, 247, 236, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(155, 113, 77, 0.18), transparent 28%),
    linear-gradient(180deg, #2a211c 0%, #382d26 38%, #241c18 100%);
}

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

button {
  font: inherit;
}

.page-shell {
  overflow: hidden;
}

.site-header,
.hero,
.home-editorial,
.services,
.about-section,
.collection,
.references-section,
.contact-section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.atelier {
  width: min(1460px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 0 18px;
}

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

.brand-logo {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow);
  background: #2b2b30;
}

.brand-kicker,
.eyebrow,
.card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--muted);
}

.brand h1,
.hero h2,
.section-heading h2,
.hero-floating-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  text-transform: capitalize;
  text-wrap: balance;
}

.brand-title,
.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
  text-transform: capitalize;
  text-wrap: balance;
}

.service-card h3,
.about-value h3,
.about-logo-card h3,
.mood-copy h3,
.reference-copy h3,
.preview-header h3,
.preview-stage-3d-spotlight h3,
.control-panel-intro h3,
.control-heading h3,
.contact-card h3,
.contact-item h3,
.preview-caption strong,
.hero-metrics strong,
.references-strip-card strong,
.preview-stage-3d-spec strong {
  text-transform: capitalize;
}

.brand h1 {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  max-width: 360px;
  letter-spacing: -0.015em;
}

.brand-title {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  max-width: 360px;
  letter-spacing: -0.015em;
}

.site-nav {
  display: flex;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 27, 25, 0.82);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.015em;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: #eadfce;
  transform: translateY(-1px);
}

.site-nav a.is-current:not(.nav-highlight-link) {
  color: #f4ecdf;
}

.nav-highlight-link {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  color: #f4ecdf !important;
  background: linear-gradient(135deg, rgba(187, 142, 100, 0.18), rgba(124, 86, 55, 0.14));
  box-shadow:
    inset 0 0 0 1px rgba(187, 142, 100, 0.18),
    0 12px 26px rgba(124, 86, 55, 0.16);
  animation: nav-highlight-pulse 1.8s ease-in-out infinite;
}

.nav-highlight-link::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(187, 142, 100, 0.18);
  opacity: 0;
  animation: nav-highlight-ring 1.8s ease-out infinite;
}

@keyframes nav-highlight-pulse {
  0%,
  100% {
    background: rgba(187, 142, 100, 0.1);
    box-shadow:
      inset 0 0 0 1px rgba(187, 142, 100, 0.16),
      0 0 0 rgba(187, 142, 100, 0);
    transform: translateY(0);
  }

  50% {
    background: rgba(187, 142, 100, 0.24);
    box-shadow:
      inset 0 0 0 1px rgba(187, 142, 100, 0.32),
      0 0 24px rgba(187, 142, 100, 0.18);
    transform: translateY(-1px);
  }
}

@keyframes nav-highlight-ring {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }

  40% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-highlight-link,
  .nav-highlight-link::after {
    animation: none;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 38px;
  align-items: start;
  padding: 54px 0 48px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6% 8% auto auto;
  width: 36vw;
  height: 36vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 177, 138, 0.12), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-copy,
.hero-collage-frame,
.hero-floating-card,
.service-card,
.preview-shell,
.control-panel,
.contact-item,
.mood-card {
  background:
    linear-gradient(180deg, rgba(35, 31, 29, 0.9), rgba(24, 22, 20, 0.92));
  border: 1px solid rgba(201, 172, 136, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 48px 46px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(228, 202, 170, 0.46), rgba(228, 202, 170, 0));
  z-index: -1;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(197, 151, 108, 0.1), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(44, 39, 36, 0.84);
  border: 1px solid rgba(201, 172, 136, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow-soft);
}

.hero-brand-chip-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
  background: #2b2b30;
}

.hero-brand-chip span {
  display: block;
  margin-top: 4px;
  font-size: 0.98rem;
  color: var(--muted);
}

.hero-editorial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-editorial-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 202, 173, 0.14);
  background: rgba(54, 45, 39, 0.66);
  color: #d7c4ad;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-editorial-tag:last-child {
  font-size: 0;
}

.hero-editorial-tag:last-child::before {
  content: "Arnavutkoy / Istanbul";
  font-size: 0.78rem;
}

.hero h2 {
  max-width: 11.6ch;
  margin-top: 16px;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.038em;
  line-height: 0.94;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  max-width: 11.6ch;
  margin-top: 16px;
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.038em;
  line-height: 0.94;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.1);
}

.hero-text {
  max-width: 36ch;
  margin-top: 24px;
  font-size: 1.08rem;
  line-height: 1.88;
  color: #d1bea8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.015em;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #c39367, #9c6d46);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(35, 31, 29, 0.9);
}

.button-tertiary {
  color: #fff;
  background: linear-gradient(135deg, #355943, #22392e);
}

.button-block {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.hero-metrics article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(37, 33, 31, 0.84);
  border: 1px solid rgba(201, 172, 136, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.hero-metrics strong,
.preview-caption strong {
  display: block;
  font-size: 1rem;
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.62;
  color: #cfbca5;
}

.hero-visual {
  position: relative;
  padding: 16px 0 214px 48px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 54px 24px 92px 0;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(89, 66, 48, 0.42), rgba(44, 34, 29, 0.08)),
    rgba(53, 40, 33, 0.28);
  border: 1px solid rgba(228, 202, 170, 0.08);
  transform: translate(-22px, -20px);
  pointer-events: none;
}

.hero-visual::after {
  content: "Editor Seckisi\A Isik, malzeme ve mimari dengeyi ayni karede hissettiren mutfak sahnesi.";
  position: absolute;
  left: 84px;
  top: 54px;
  z-index: 2;
  display: block;
  width: 250px;
  padding: 18px 20px;
  border-radius: 24px;
  white-space: pre-line;
  background: rgba(37, 31, 29, 0.72);
  border: 1px solid rgba(228, 202, 170, 0.12);
  color: #efe6da;
  font-size: 0.94rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.hero-collage-frame {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  min-height: 820px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 38px 90px rgba(0, 0, 0, 0.28);
}

.hero-collage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 12, 10, 0.02), rgba(14, 12, 10, 0.22)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%);
  pointer-events: none;
}

.hero-collage-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 820px;
  object-fit: cover;
  object-position: center 52%;
}

.hero-floating-card {
  position: absolute;
  left: -10px;
  bottom: -136px;
  max-width: 390px;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(39, 33, 30, 0.84), rgba(25, 22, 20, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow-soft);
}

.hero-floating-card h3 {
  margin-top: 10px;
  font-size: 2rem;
}

.hero-floating-card p:last-child {
  margin: 10px 0 0;
  line-height: 1.72;
  color: #d0bda6;
}

.hero-brand-chip .hero-visual-caption {
  display: none;
}

.services,
.about-section,
.collection,
.home-editorial,
.references-section,
.atelier,
.contact-section {
  padding: 68px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2.45rem, 3.7vw, 3.9rem);
  letter-spacing: -0.03em;
}

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

.about-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.about-copy-card,
.about-panel,
.reference-card,
.references-strip-card {
  background:
    linear-gradient(180deg, rgba(34, 31, 29, 0.9), rgba(24, 22, 20, 0.92));
  border: 1px solid rgba(201, 172, 136, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
  backdrop-filter: blur(18px);
}

.about-copy-card,
.about-panel {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.about-lead {
  margin: 0 0 14px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text);
}

.about-copy-card p,
.about-panel p,
.reference-copy p,
.references-strip-card span,
.about-stat span {
  line-height: 1.72;
  color: var(--muted);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.about-value {
  padding: 20px;
  border-radius: 22px;
  background: rgba(40, 35, 32, 0.82);
  border: 1px solid rgba(201, 172, 136, 0.1);
}

.about-value-index {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.about-value h3,
.reference-copy h3,
.about-logo-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.about-logo-card,
.about-note-card,
.about-stat {
  padding: 22px;
  border-radius: 24px;
  background: rgba(40, 35, 32, 0.84);
  border: 1px solid rgba(201, 172, 136, 0.1);
}

.about-logo-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.about-logo-image {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 22px;
  background: #2b2b30;
  box-shadow: var(--shadow-soft);
}

.about-note-card,
.about-stat-list {
  margin-top: 16px;
}

.about-stat-list {
  display: grid;
  gap: 14px;
}

.about-stat strong,
.references-strip-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.service-card,
.contact-item {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.service-card h3,
.contact-item h3,
.control-heading h3,
.contact-card h3,
.preview-header h3,
.control-panel-intro h3,
.mood-copy h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.control-heading h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #f4ecdf;
}

.service-card p,
.contact-item p,
.control-heading p,
.contact-card p,
.preview-caption p,
.hero-floating-card p,
.control-panel-intro p,
.mood-copy p,
.template-note {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.collection {
  position: relative;
}

.moodboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.mood-card {
  overflow: hidden;
  border-radius: 30px;
}

.mood-card-dark,
.mood-card-soft {
  min-height: 420px;
}

.mood-card-light,
.mood-card-editorial {
  min-height: 320px;
}

.mood-image {
  min-height: 250px;
  background-size: cover;
  background-repeat: no-repeat;
}

.mood-image-1 {
  min-height: 360px;
  background-image: url("./assets/editorial/black-white-brass-kitchen.webp");
  background-position: 52% 50%;
}

.mood-image-2 {
  min-height: 260px;
  background-image: url("./assets/editorial/warm-ivory-island-kitchen.webp");
  background-position: 50% 56%;
}

.mood-image-3 {
  min-height: 280px;
  background-image: url("./assets/editorial/walnut-concrete-kitchen.webp");
  background-position: 50% 54%;
}

.mood-image-4 {
  min-height: 340px;
  background-image: url("./assets/editorial/architectural-calacatta-kitchen.webp");
  background-position: 52% 50%;
}

.mood-copy {
  padding: 22px 22px 24px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  justify-content: center;
  gap: 18px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  max-width: 340px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(33, 29, 27, 0.9), rgba(22, 20, 19, 0.92));
  border: 1px solid rgba(201, 172, 136, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
  backdrop-filter: blur(18px);
}

.catalog-cover {
  position: relative;
  aspect-ratio: 4 / 5.35;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 172, 136, 0.12);
  background: rgba(24, 21, 20, 0.82);
}

.catalog-cover-link {
  display: block;
}

.catalog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 14, 13, 0.04), transparent 40%, rgba(16, 14, 13, 0.34)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 22%);
  pointer-events: none;
}

.catalog-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.catalog-cover-link:hover .catalog-cover-image {
  transform: scale(1.02);
}

.catalog-cover-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.catalog-badge,
.catalog-page-count,
.catalog-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 172, 136, 0.16);
  background: rgba(20, 17, 16, 0.72);
  backdrop-filter: blur(12px);
}

.catalog-badge,
.catalog-page-count {
  color: #f4ebdf;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.catalog-copy {
  padding: 18px 18px 20px;
}

.catalog-copy h3 {
  margin: 10px 0 10px;
}

.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.catalog-meta span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.catalog-copy p:last-of-type {
  margin-bottom: 0;
  line-height: 1.75;
  color: var(--muted);
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

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

.reference-card {
  overflow: hidden;
  border-radius: 30px;
}

.reference-visual {
  min-height: 270px;
  background-size: cover;
  background-repeat: no-repeat;
}

.reference-visual-1 {
  background-image: url("./assets/editorial/noir-luxury-kitchen.webp");
  background-position: 54% 50%;
}

.reference-visual-2 {
  background-image: url("./assets/editorial/soft-marble-kitchen.webp");
  background-position: 50% 52%;
}

.reference-visual-3 {
  background-image: url("./assets/editorial/walnut-concrete-kitchen.webp");
  background-position: 50% 54%;
}

.reference-copy {
  padding: 22px;
}

.references-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.references-strip-card {
  padding: 22px;
  border-radius: 24px;
}

.atelier-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.atelier > .section-heading {
  max-width: 880px;
  margin-bottom: 18px;
}

.atelier > .section-heading h2 {
  text-wrap: balance;
}

.preview-shell,
.control-panel {
  border-radius: var(--radius-xl);
}

.preview-shell {
  padding: 30px;
  border-color: rgba(201, 172, 136, 0.22);
  background:
    radial-gradient(circle at top right, rgba(187, 142, 100, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(35, 31, 29, 0.95), rgba(22, 20, 19, 0.93));
  position: sticky;
  top: 22px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201, 172, 136, 0.12);
}

.preview-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.view-toggle {
  display: flex;
  gap: 10px;
}

.view-toggle .chip {
  min-height: 46px;
  padding-inline: 18px;
}

.preview-reference-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(58, 46, 32, 0.44);
  border: 1px solid rgba(201, 172, 136, 0.22);
  color: #efe2d2;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.preview-shell[data-view="3d"] .preview-reference-chip {
  background: rgba(29, 42, 35, 0.86);
}

.preview-reference-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b6a45, #4f3d2f);
}

.preview-stage {
  --cabinet-top: #d7cabb;
  --cabinet-bottom: #a89584;
  --cabinet-sheen: rgba(255, 255, 255, 0.18);
  --counter-top: #f7f5f2;
  --counter-bottom: #dcd7d1;
  --counter-vein-1: rgba(123, 122, 120, 0.15);
  --counter-vein-2: rgba(168, 164, 156, 0.18);
  --counter-image: none;
  --counter-image-size: auto;
  --counter-image-position: center;
  --counter-face-image-size: auto;
  --counter-face-image-position: center;
  --counter-image-url: none;
  --counter-face-image-url: none;
  --backsplash-image-url: none;
  --backsplash-top: #efe8de;
  --backsplash-bottom: #d7ccbe;
  --backsplash-line: rgba(88, 78, 69, 0.05);
  --backsplash-shadow: rgba(80, 68, 55, 0.08);
  --cabinet-line: rgba(48, 39, 32, 0.12);
  --cabinet-frame: rgba(255, 255, 255, 0.09);
  --cabinet-handle: rgba(66, 57, 49, 0.78);
  --cabinet-handle-shadow: rgba(0, 0, 0, 0.18);
  --sink-top: #b4bbc1;
  --sink-bottom: #707882;
  --sink-left: 33%;
  --sink-width: 11.8%;
  --sink-height: 3.2%;
  --sink-outer-radius: 0 0 18px 18px;
  --sink-inner-radius: 0 0 14px 14px;
  --sink-cutout-left: 30.8%;
  --sink-cutout-width: 15.8%;
  --sink-cutout-radius: 16px 16px 24px 24px;
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(180deg, #e9e2d8 0%, #d8cec0 47%, #c9bba9 47%, #b29f8c 100%);
}

.preview-stage-3d {
  position: relative;
  min-height: 760px;
  overflow: visible;
  border-radius: 32px;
  background: #151311;
  margin-bottom: 268px;
}

.preview-stage-3d-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.preview-stage-3d-image,
.preview-stage-3d-vignette,
.preview-stage-3d-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.preview-stage-3d-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(1.015);
}

.preview-stage-3d-vignette {
  background:
    linear-gradient(180deg, rgba(11, 10, 10, 0.08), rgba(11, 10, 10, 0.26)),
    linear-gradient(
      90deg,
      transparent 0,
      transparent 10px,
      rgba(18, 15, 12, 0.04) 28px,
      transparent 68px,
      transparent calc(100% - 68px),
      rgba(18, 15, 12, 0.04) calc(100% - 28px),
      transparent calc(100% - 10px),
      transparent 100%
    );
}

.preview-stage-3d-glow {
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.2), transparent 16%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 20%);
  mix-blend-mode: screen;
}

.preview-stage-3d-badge,
.preview-stage-3d-spotlight,
.preview-stage-3d-specs {
  position: absolute;
  z-index: 2;
}

.preview-stage-3d-badge {
  display: none;
}

.preview-stage-3d-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c89b69, #6c4f35);
}

.preview-stage-3d-spotlight {
  left: 0;
  top: calc(100% + 18px);
  bottom: auto;
  width: min(480px, calc(100% - 404px));
  max-width: none;
  padding: 24px;
  border-radius: 28px;
  background: rgba(25, 22, 20, 0.76);
  border: 1px solid rgba(201, 172, 136, 0.14);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.preview-stage-3d-spotlight h3 {
  margin: 8px 0 10px;
  font-size: 2rem;
  line-height: 1.02;
}

.preview-stage-3d-spotlight p:last-child {
  margin: 0;
  line-height: 1.7;
  color: rgba(235, 225, 214, 0.82);
}

.preview-stage-3d-specs {
  right: 0;
  top: calc(100% + 18px);
  bottom: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 380px;
}

.preview-stage-3d-spec {
  padding: 18px;
  border-radius: 22px;
  background: rgba(24, 22, 21, 0.72);
  border: 1px solid rgba(201, 172, 136, 0.12);
  backdrop-filter: blur(14px);
}

.preview-stage-3d-spec span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(213, 188, 159, 0.8);
}

.preview-stage-3d-spec strong {
  display: block;
  line-height: 1.45;
  color: #f4ecdf;
}

.preview-shell[data-view="2d"] .preview-stage-3d {
  display: none;
}

.preview-shell[data-view="3d"] .preview-stage {
  display: none;
}

.preview-shell[data-view="3d"] .preview-stage-3d {
  display: block;
}

.preview-stage-3d[data-scene="stone-island"] .preview-stage-3d-image {
  background-image: url("./assets/gallery-stone-island.webp");
  background-position: 52% 50%;
}

.preview-stage-3d[data-scene="black-gold"] .preview-stage-3d-image {
  background-image: url("./assets/gallery-black-gold.webp");
  background-position: 56% 48%;
}

.preview-stage-3d[data-scene="open-wood"] .preview-stage-3d-image {
  background-image: url("./assets/gallery-open-wood.webp");
  background-position: 50% 48%;
}

.preview-stage-3d[data-scene="light-marble"] .preview-stage-3d-image {
  background-image: url("./assets/gallery-light-marble.webp");
  background-position: 52% 52%;
}

.preview-stage-3d[data-scene="sink-granite"] .preview-stage-3d-image {
  background-image: url("./assets/gallery-sink-granite.webp");
  background-position: 40% 56%;
}

.preview-stage-3d {
  --photo-opacity: 0.18;
  --template-opacity: 0.92;
  --counter-fill-image: url("./assets/granite-test.webp");
  --counter-fill-color: rgba(36, 35, 38, 0.24);
  --counter-fill-blend: normal;
  --backsplash-fill-image: none;
  --backsplash-fill-blend: normal;
  --cabinet-fill-gradient: linear-gradient(180deg, rgba(248, 248, 245, 0.8), rgba(233, 231, 225, 0.64));
  --backsplash-fill-gradient: linear-gradient(180deg, rgba(241, 233, 222, 0.74), rgba(222, 212, 198, 0.5));
  --backsplash-fill-line: rgba(255, 255, 255, 0.22);
  --sink-fill-gradient: linear-gradient(180deg, rgba(78, 83, 89, 0.46), rgba(132, 140, 149, 0.2));
}

.preview-stage-3d-image {
  background-image: url("./assets/3d-kitchen-master.webp") !important;
  background-position: center center !important;
  opacity: var(--photo-opacity);
}

.preview-stage-3d-template {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.preview-stage-3d-template::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 8.6%;
  z-index: 0;
  background: linear-gradient(180deg, rgba(252, 252, 250, 0.96), rgba(245, 245, 242, 0.92));
  box-shadow: inset 0 0 0 1px rgba(199, 199, 194, 0.28);
}

.preview-stage-3d-template::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 8.2%;
  z-index: 0;
  opacity: 0;
  background-image: var(--counter-fill-image);
  background-color: var(--counter-fill-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: var(--counter-fill-blend);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 14px rgba(0, 0, 0, 0.08);
  transition: opacity 220ms ease;
}

.preview-stage-3d-zone {
  position: absolute;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.94);
  background: linear-gradient(180deg, rgba(252, 252, 250, 0.94), rgba(245, 245, 242, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(199, 199, 194, 0.36),
    0 18px 24px rgba(0, 0, 0, 0.06);
  transition: opacity 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.preview-stage-3d-zone-upper {
  inset: 0 0 auto 0;
  height: 33.4%;
}

.preview-stage-3d-zone-backsplash {
  inset: 34% 0 auto 0;
  height: 22.4%;
  border-radius: 0;
}

.preview-stage-3d-zone-lower-center {
  left: 38.3%;
  width: 37.5%;
  top: 68.2%;
  bottom: 0;
  border-radius: 0;
}

.preview-stage-3d-zone-lower-left {
  left: 0;
  width: 38.1%;
  top: 68.2%;
  bottom: 0;
  border-radius: 0;
}

.preview-stage-3d-zone-lower-right {
  right: 0;
  width: 24.2%;
  top: 68.2%;
  bottom: 0;
  border-radius: 0;
}

.preview-stage-3d-zone-counter-left,
.preview-stage-3d-zone-counter-mid-left,
.preview-stage-3d-zone-counter-right,
.preview-stage-3d-zone-counter-mid-right,
.preview-stage-3d-zone-sink,
.preview-stage-3d-zone-counter-face {
  border-radius: 0;
}

.preview-stage-3d-zone-counter-left {
  left: 0;
  width: 40.8%;
  top: 56%;
  height: 8.2%;
  clip-path: polygon(0 14%, 100% 14%, 77% 100%, 0 100%);
}

.preview-stage-3d-zone-counter-right {
  right: 0;
  width: 28.9%;
  top: 56%;
  height: 8.2%;
  clip-path: polygon(0 100%, 24% 14%, 100% 14%, 100% 100%);
}

.preview-stage-3d-zone-counter-mid-left {
  left: 32.2%;
  width: 17.1%;
  top: 56%;
  height: 8.2%;
  clip-path: polygon(0 100%, 74% 0, 100% 0, 58% 100%);
}

.preview-stage-3d-zone-counter-mid-right {
  right: 19.2%;
  width: 17.8%;
  top: 56%;
  height: 8.2%;
  clip-path: polygon(0 0, 76% 0, 100% 100%, 18% 100%);
}

.preview-stage-3d-zone-sink {
  z-index: 2;
  left: 44.5%;
  width: 11.8%;
  top: 55.8%;
  height: 8.6%;
  clip-path: polygon(12% 0, 88% 0, 94% 100%, 6% 100%);
  background: linear-gradient(180deg, rgba(251, 251, 249, 0.74), rgba(238, 238, 233, 0.52));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 8px 18px rgba(0, 0, 0, 0.16);
}

.preview-stage-3d-zone-sink::before,
.preview-stage-3d-zone-sink::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.preview-stage-3d-zone-sink::before {
  inset: 16% 12% 10%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.03) 20%, rgba(18, 20, 24, 0.24) 22%, rgba(35, 39, 44, 0.82) 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.16),
    inset 0 -12px 14px rgba(0, 0, 0, 0.26);
}

.preview-stage-3d-zone-sink::after {
  inset: 8% 10% 6%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  opacity: 0.7;
}

.preview-stage-3d[data-sink-shape="oval"] .preview-stage-3d-zone-sink::before,
.preview-stage-3d[data-sink-shape="oval"] .preview-stage-3d-zone-sink::after {
  border-radius: 999px;
}

.preview-stage-3d[data-sink-shape="square"] .preview-stage-3d-zone-sink::before,
.preview-stage-3d[data-sink-shape="square"] .preview-stage-3d-zone-sink::after {
  border-radius: 16px;
}

.preview-stage-3d-zone-counter-face {
  inset: 64.2% 0 auto 0;
  height: 3.7%;
}

.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-upper,
.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-lower-left,
.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-lower-right,
.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-lower-center {
  background: var(--cabinet-fill-gradient);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.44);
}

.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-upper {
  background:
    linear-gradient(90deg, transparent 0 24.2%, rgba(0, 0, 0, 0.14) 24.2% 24.42%, rgba(255, 255, 255, 0.16) 24.42% 24.74%, transparent 24.74% 49.2%, rgba(0, 0, 0, 0.14) 49.2% 49.42%, rgba(255, 255, 255, 0.16) 49.42% 49.74%, transparent 49.74% 74.2%, rgba(0, 0, 0, 0.14) 74.2% 74.42%, rgba(255, 255, 255, 0.16) 74.42% 74.74%, transparent 74.74% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 16%, transparent 82%, rgba(0, 0, 0, 0.08)),
    var(--cabinet-fill-gradient);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-lower-left,
.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-lower-right,
.preview-stage-3d[data-cabinet-fill="filled"] .preview-stage-3d-zone-lower-center {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 10px 16px rgba(0, 0, 0, 0.08);
}

.preview-stage-3d[data-backsplash-fill="filled"] .preview-stage-3d-zone-backsplash {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%),
    var(--backsplash-fill-image) center / cover no-repeat,
    var(--backsplash-fill-gradient);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 8px 12px rgba(0, 0, 0, 0.04);
}

.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-zone-counter-left,
.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-zone-counter-mid-left,
.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-zone-counter-right,
.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-zone-counter-mid-right {
  opacity: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-zone-counter-face {
  background-image: var(--counter-fill-image);
  background-color: var(--counter-fill-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: var(--counter-fill-blend);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 8px 14px rgba(0, 0, 0, 0.08);
}

.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-template::before {
  opacity: 0;
}

.preview-stage-3d[data-counter-fill="filled"] .preview-stage-3d-template::after {
  opacity: 1;
}

.preview-stage-3d[data-sink-fill="filled"] .preview-stage-3d-zone-sink {
  background: var(--sink-fill-gradient);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2);
}

.preview-stage-3d-faucet,
.preview-stage-3d-handles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preview-stage-3d-faucet {
  z-index: 3;
}

.preview-stage-3d-faucet::before,
.preview-stage-3d-faucet::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, rgba(241, 245, 248, 0.98), rgba(145, 155, 166, 0.94) 42%, rgba(68, 76, 86, 0.98));
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.preview-stage-3d-faucet::before {
  left: 50.1%;
  top: 42.2%;
  width: 1%;
  height: 20.4%;
  border-radius: 999px;
  transform: translateX(-50%);
}

.preview-stage-3d-faucet::after {
  left: 49.7%;
  top: 41.4%;
  width: 5.3%;
  height: 9.8%;
  border-radius: 999px;
  clip-path: polygon(0 58%, 7% 38%, 26% 14%, 56% 0, 77% 7%, 92% 26%, 100% 50%, 90% 56%, 76% 37%, 58% 23%, 30% 27%, 10% 44%);
}

.preview-stage-3d-faucet > span {
  display: none;
}

.preview-stage-3d-faucet {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.28));
}

.preview-stage-3d-faucet:after {
  transform: translateX(-8%);
}

.preview-stage-3d-faucet:before {
  z-index: 1;
}

.preview-stage-3d-faucet {
  background:
    radial-gradient(circle at 50% 58.5%, rgba(239, 243, 247, 0.98) 0 0.32rem, rgba(125, 135, 145, 0.98) 0.36rem, transparent 0.44rem) no-repeat;
  background-size: 1.6rem 1.6rem;
  background-position: 49.95% 61.2%;
}

.preview-stage-3d-handles {
  z-index: 2;
}

.preview-stage-3d-handle {
  position: absolute;
  width: 10.2%;
  aspect-ratio: 2.35 / 1;
  background: url("./assets/cabinet-handle.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.24));
  opacity: 0.98;
}

.preview-stage-3d-handle.is-upper-1 { left: 8.9%; top: 16.9%; transform: rotate(90deg) scale(0.46); }
.preview-stage-3d-handle.is-upper-2 { left: 33.9%; top: 16.9%; transform: rotate(90deg) scale(0.46); }
.preview-stage-3d-handle.is-upper-3 { left: 58.9%; top: 16.9%; transform: rotate(90deg) scale(0.46); }
.preview-stage-3d-handle.is-upper-4 { left: 83.7%; top: 16.9%; transform: rotate(90deg) scale(0.46); }
.preview-stage-3d-handle.is-lower-1 { left: 5.9%; top: 71.6%; transform: scale(0.48); }
.preview-stage-3d-handle.is-lower-2 { left: 26.4%; top: 71.6%; transform: scale(0.48); }
.preview-stage-3d-handle.is-lower-3 { left: 46.3%; top: 71.6%; transform: scale(0.42); }
.preview-stage-3d-handle.is-lower-4 { left: 59.1%; top: 71.6%; transform: scale(0.48); }
.preview-stage-3d-handle.is-lower-5 { left: 79.6%; top: 71.6%; transform: scale(0.48); }

.preview-stage-3d[data-progress="4"] .preview-stage-3d-zone {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.scene-backdrop,
.scene-window,
.scene-window-glow,
.scene-upper-cabinets,
.scene-backsplash,
.scene-counter,
.scene-counter-face,
.scene-tall-unit,
.scene-lower-cabinets,
.scene-plinth,
.scene-sink,
.scene-faucet,
.scene-shadow,
.scene-highlight {
  position: absolute;
}

.scene-backdrop {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 26%),
    linear-gradient(180deg, #f4efe8 0%, #e6ddd2 47%, #c8bbaa 47%, #af9b87 100%);
}

.scene-window {
  top: 8%;
  right: 9%;
  width: 28%;
  height: 40%;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(225, 233, 240, 0.86)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 50%, rgba(0, 0, 0, 0.08) 50% 52%, transparent 52% 100%);
  box-shadow:
    inset 0 0 0 12px rgba(247, 244, 239, 0.88),
    0 28px 44px rgba(52, 42, 31, 0.09);
}

.scene-window-glow {
  top: 13%;
  right: 13%;
  width: 20%;
  height: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 68%);
  filter: blur(16px);
}

.scene-upper-cabinets,
.scene-lower-cabinets,
.scene-tall-unit {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--cabinet-sheen), transparent 30%),
    linear-gradient(180deg, var(--cabinet-top), var(--cabinet-bottom));
}

.scene-upper-cabinets {
  top: 9%;
  left: 7%;
  width: 52%;
  height: 24%;
  border-radius: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 18px 28px rgba(52, 39, 26, 0.08);
}

.scene-upper-cabinets::before,
.scene-lower-cabinets::before,
.scene-tall-unit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 24.15%, rgba(0, 0, 0, 0.12) 24.15% 24.45%, rgba(255, 255, 255, 0.14) 24.45% 24.8%, transparent 24.8% 49.15%, rgba(0, 0, 0, 0.12) 49.15% 49.45%, rgba(255, 255, 255, 0.14) 49.45% 49.8%, transparent 49.8% 74.15%, rgba(0, 0, 0, 0.12) 74.15% 74.45%, rgba(255, 255, 255, 0.14) 74.45% 74.8%, transparent 74.8% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.08)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 7%, transparent 93%, rgba(0, 0, 0, 0.08));
  box-shadow: inset 0 0 0 2px var(--cabinet-frame);
  opacity: 0.88;
}

.scene-upper-cabinets::after,
.scene-lower-cabinets::after,
.scene-tall-unit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-upper-cabinets::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 30%) top 0 left 0 / 100% 16% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.05)) left 2.6% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.05)) left 27.4% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.05)) left 52.2% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.05)) left 77% top 10% / 21% 72% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.06)) left 2.6% top 10% / 21% 72% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.06)) left 27.4% top 10% / 21% 72% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.06)) left 52.2% top 10% / 21% 72% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.06)) left 77% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 60%, rgba(0, 0, 0, 0.08) 100%) left 2.6% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 60%, rgba(0, 0, 0, 0.08) 100%) left 27.4% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 60%, rgba(0, 0, 0, 0.08) 100%) left 52.2% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 60%, rgba(0, 0, 0, 0.08) 100%) left 77% top 10% / 21% 72% no-repeat,
    linear-gradient(180deg, var(--cabinet-handle), var(--cabinet-handle)) top 66% left 11% / 2px 16% no-repeat,
    linear-gradient(180deg, var(--cabinet-handle), var(--cabinet-handle)) top 66% left 36% / 2px 16% no-repeat,
    linear-gradient(180deg, var(--cabinet-handle), var(--cabinet-handle)) top 66% left 61% / 2px 16% no-repeat,
    linear-gradient(180deg, var(--cabinet-handle), var(--cabinet-handle)) top 66% left 86% / 2px 16% no-repeat;
  filter: drop-shadow(0 1px 1px var(--cabinet-handle-shadow));
}

.scene-backsplash {
  left: 7%;
  right: 9%;
  top: 35%;
  height: 18%;
  border-radius: 18px 18px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 32%),
    var(--backsplash-image-url) center / cover no-repeat,
    linear-gradient(135deg, var(--backsplash-top), var(--backsplash-bottom));
  box-shadow:
    inset 0 -16px 24px var(--backsplash-shadow),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.scene-backsplash::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.scene-counter {
  left: 7%;
  right: 9%;
  top: 50%;
  height: 8%;
  z-index: 5;
  border-radius: 16px 16px 10px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 34%),
    var(--counter-image-url) center / cover no-repeat,
    linear-gradient(135deg, var(--counter-top), var(--counter-bottom));
  box-shadow:
    inset 0 -8px 14px rgba(0, 0, 0, 0.14),
    0 8px 18px rgba(55, 44, 34, 0.12);
}

.scene-counter::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.12), transparent 18%);
  pointer-events: none;
}

.scene-counter::after {
  content: "";
  position: absolute;
  left: var(--sink-cutout-left);
  top: 18%;
  width: var(--sink-cutout-width);
  height: 58%;
  border-radius: var(--sink-cutout-radius);
  background:
    linear-gradient(180deg, rgba(244, 246, 248, 0.22), rgba(255, 255, 255, 0.04) 18%, rgba(18, 20, 24, 0.26) 19%, rgba(34, 38, 42, 0.72) 52%, rgba(61, 68, 74, 0.62) 70%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.18),
    inset 0 -12px 16px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scene-counter-face {
  left: 7%;
  right: 9%;
  top: 56.9%;
  height: 2.4%;
  z-index: 5;
  border-radius: 0 0 10px 10px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.09), transparent),
    var(--counter-face-image-url) center / cover no-repeat,
    linear-gradient(180deg, rgba(173, 162, 149, 0.88), rgba(116, 105, 94, 0.92));
}

.scene-counter-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.scene-tall-unit {
  top: 12%;
  left: 60.5%;
  width: 15%;
  height: 60%;
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -14px 18px rgba(0, 0, 0, 0.08);
}

.scene-lower-cabinets {
  left: 7%;
  right: 9%;
  top: 58%;
  height: 24%;
  z-index: 3;
  border-radius: 22px 22px 20px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -16px 18px rgba(0, 0, 0, 0.08),
    0 22px 34px rgba(57, 42, 31, 0.1);
}

.scene-lower-cabinets::before {
  background:
    linear-gradient(90deg, var(--cabinet-line) 0 1px, transparent 1px 18%, var(--cabinet-line) 18% 19%, transparent 19% 39%, var(--cabinet-line) 39% 40%, transparent 40% 58%, var(--cabinet-line) 58% 59%, transparent 59% 79%, var(--cabinet-line) 79% 80%, transparent 80% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 16%, transparent 82%, rgba(0, 0, 0, 0.09)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 6%, transparent 94%, rgba(0, 0, 0, 0.08));
}

.scene-lower-cabinets::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%) top 0 left 0 / 100% 14% no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 18% left 8% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 18% left 29% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 18% left 48% / 8% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 18% left 61% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 18% left 82% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 52% left 8% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 52% left 29% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 52% left 61% / 10% 2px no-repeat,
    linear-gradient(90deg, var(--cabinet-handle), var(--cabinet-handle)) top 52% left 82% / 10% 2px no-repeat;
  filter: drop-shadow(0 1px 1px var(--cabinet-handle-shadow));
}

.scene-tall-unit::before {
  background:
    linear-gradient(90deg, var(--cabinet-line) 0 1px, transparent 1px 49.5%, var(--cabinet-line) 49.5% 50.5%, transparent 50.5% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.1)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 6%, transparent 94%, rgba(0, 0, 0, 0.08));
}

.scene-tall-unit::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%) top 0 left 0 / 100% 12% no-repeat,
    linear-gradient(180deg, var(--cabinet-handle), var(--cabinet-handle)) top 24% left 36% / 2px 40% no-repeat,
    linear-gradient(180deg, var(--cabinet-handle), var(--cabinet-handle)) top 24% left 66% / 2px 40% no-repeat;
  filter: drop-shadow(0 1px 1px var(--cabinet-handle-shadow));
}

.scene-plinth {
  left: 9%;
  right: 11%;
  bottom: 14%;
  height: 2.6%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(77, 67, 58, 0.92), rgba(36, 31, 27, 0.92));
}

.scene-sink {
  left: var(--sink-left);
  top: 56.1%;
  width: var(--sink-width);
  height: var(--sink-height);
  z-index: 4;
  border-radius: var(--sink-outer-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(180deg, var(--sink-top), var(--sink-bottom));
  box-shadow:
    inset 0 6px 10px rgba(255, 255, 255, 0.08),
    inset 0 -10px 14px rgba(0, 0, 0, 0.24),
    0 3px 5px rgba(59, 52, 45, 0.08);
}

.scene-sink::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 8%;
  height: 62%;
  border-radius: var(--sink-inner-radius);
  background: linear-gradient(180deg, rgba(28, 33, 38, 0.82), rgba(88, 96, 106, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.scene-sink::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 7%;
  height: 16%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(76, 84, 94, 0.74);
}

.scene-faucet {
  left: 38.6%;
  top: 41.2%;
  width: 3.2%;
  height: 17.4%;
  z-index: 6;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 30%),
    linear-gradient(180deg, #9ca3ab, #5f676f);
  box-shadow: 0 6px 12px rgba(55, 55, 55, 0.16);
}

.scene-faucet::before {
  content: "";
  position: absolute;
  left: 38%;
  top: 2%;
  width: 110%;
  height: 34%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), transparent 28%),
    linear-gradient(180deg, #9ca3ab, #5f676f);
}

.scene-faucet::after {
  content: "";
  position: absolute;
  left: 46%;
  bottom: -10%;
  width: 16%;
  height: 16%;
  border-radius: 999px;
  background: #58616a;
}

.scene-shadow {
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 55%, rgba(41, 31, 25, 0.08) 72%, rgba(32, 25, 20, 0.16) 100%),
    linear-gradient(90deg, rgba(42, 31, 24, 0.06), transparent 16%, transparent 82%, rgba(42, 31, 24, 0.07));
  pointer-events: none;
}

.scene-highlight {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 24%),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.2), transparent 16%),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.16), transparent 14%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.preview-stage[data-cabinet="cashmere"] {
  --cabinet-top: #d7cabb;
  --cabinet-bottom: #a89584;
  --cabinet-sheen: rgba(255, 255, 255, 0.2);
  --cabinet-line: rgba(81, 63, 50, 0.14);
  --cabinet-frame: rgba(255, 255, 255, 0.1);
  --cabinet-handle: rgba(83, 68, 58, 0.9);
}

.preview-stage[data-cabinet="white"] {
  --cabinet-top: #fbfaf7;
  --cabinet-bottom: #e4ddd3;
  --cabinet-sheen: rgba(255, 255, 255, 0.36);
  --cabinet-line: rgba(116, 108, 99, 0.12);
  --cabinet-frame: rgba(255, 255, 255, 0.16);
  --cabinet-handle: rgba(122, 112, 100, 0.85);
}

.preview-stage[data-cabinet="ivory"] {
  --cabinet-top: #f2ede5;
  --cabinet-bottom: #d5cdc1;
  --cabinet-sheen: rgba(255, 255, 255, 0.28);
  --cabinet-line: rgba(119, 107, 95, 0.12);
  --cabinet-frame: rgba(255, 255, 255, 0.14);
  --cabinet-handle: rgba(118, 108, 98, 0.86);
}

.preview-stage[data-cabinet="greige"] {
  --cabinet-top: #cbc1b6;
  --cabinet-bottom: #a09386;
  --cabinet-sheen: rgba(255, 255, 255, 0.17);
  --cabinet-line: rgba(86, 74, 64, 0.14);
  --cabinet-frame: rgba(255, 255, 255, 0.1);
  --cabinet-handle: rgba(77, 67, 58, 0.88);
}

.preview-stage[data-cabinet="stone"] {
  --cabinet-top: #d8d0c5;
  --cabinet-bottom: #b6a99a;
  --cabinet-sheen: rgba(255, 255, 255, 0.18);
  --cabinet-line: rgba(95, 82, 69, 0.14);
  --cabinet-frame: rgba(255, 255, 255, 0.1);
  --cabinet-handle: rgba(82, 72, 64, 0.88);
}

.preview-stage[data-cabinet="oak"] {
  --cabinet-top: #ceb18f;
  --cabinet-bottom: #aa8156;
  --cabinet-sheen: rgba(255, 255, 255, 0.14);
  --cabinet-line: rgba(101, 72, 47, 0.16);
  --cabinet-frame: rgba(255, 255, 255, 0.08);
  --cabinet-handle: rgba(72, 52, 36, 0.9);
}

.preview-stage[data-cabinet="walnut"] {
  --cabinet-top: #936846;
  --cabinet-bottom: #62452f;
  --cabinet-sheen: rgba(255, 255, 255, 0.11);
  --cabinet-line: rgba(43, 30, 22, 0.26);
  --cabinet-frame: rgba(255, 255, 255, 0.06);
  --cabinet-handle: rgba(213, 190, 163, 0.78);
}

.preview-stage[data-cabinet="olive"] {
  --cabinet-top: #889077;
  --cabinet-bottom: #5f6654;
  --cabinet-sheen: rgba(255, 255, 255, 0.12);
  --cabinet-line: rgba(49, 56, 42, 0.2);
  --cabinet-frame: rgba(255, 255, 255, 0.08);
  --cabinet-handle: rgba(205, 191, 167, 0.72);
}

.preview-stage[data-cabinet="navy"] {
  --cabinet-top: #5b687a;
  --cabinet-bottom: #364152;
  --cabinet-sheen: rgba(255, 255, 255, 0.11);
  --cabinet-line: rgba(31, 38, 49, 0.22);
  --cabinet-frame: rgba(255, 255, 255, 0.07);
  --cabinet-handle: rgba(214, 198, 176, 0.72);
}

.preview-stage[data-cabinet="red"] {
  --cabinet-top: #b7484b;
  --cabinet-bottom: #7e2428;
  --cabinet-sheen: rgba(255, 255, 255, 0.1);
  --cabinet-line: rgba(74, 18, 23, 0.26);
  --cabinet-frame: rgba(255, 255, 255, 0.06);
  --cabinet-handle: rgba(231, 219, 202, 0.78);
}

.preview-stage[data-cabinet="burgundy"] {
  --cabinet-top: #7e3142;
  --cabinet-bottom: #4e1726;
  --cabinet-sheen: rgba(255, 255, 255, 0.09);
  --cabinet-line: rgba(48, 11, 22, 0.28);
  --cabinet-frame: rgba(255, 255, 255, 0.06);
  --cabinet-handle: rgba(229, 216, 199, 0.78);
}

.preview-stage[data-cabinet="graphite"] {
  --cabinet-top: #4d4d4f;
  --cabinet-bottom: #2f3135;
  --cabinet-sheen: rgba(255, 255, 255, 0.09);
  --cabinet-line: rgba(19, 19, 21, 0.28);
  --cabinet-frame: rgba(255, 255, 255, 0.05);
  --cabinet-handle: rgba(219, 204, 181, 0.72);
}

.preview-stage[data-counter="calacatta"] {
  --counter-top: #f7f5f2;
  --counter-bottom: #dcd7d1;
  --counter-vein-1: rgba(123, 122, 120, 0.15);
  --counter-vein-2: rgba(168, 164, 156, 0.18);
}

.preview-stage[data-backsplash="white"] {
  --backsplash-top: #f7f7f4;
  --backsplash-bottom: #e6e1d7;
  --backsplash-line: rgba(148, 139, 126, 0.12);
  --backsplash-shadow: rgba(96, 84, 71, 0.1);
}

.preview-stage[data-backsplash="black"] {
  --backsplash-top: #52565c;
  --backsplash-bottom: #2c3035;
  --backsplash-line: rgba(255, 255, 255, 0.12);
  --backsplash-shadow: rgba(0, 0, 0, 0.24);
}

.preview-stage[data-backsplash="brown"] {
  --backsplash-top: #8d6d57;
  --backsplash-bottom: #5e4332;
  --backsplash-line: rgba(255, 245, 232, 0.14);
  --backsplash-shadow: rgba(65, 44, 31, 0.18);
}

.preview-stage[data-backsplash="blue"] {
  --backsplash-top: #7f9db6;
  --backsplash-bottom: #537189;
  --backsplash-line: rgba(239, 247, 255, 0.18);
  --backsplash-shadow: rgba(44, 61, 79, 0.18);
}

.preview-stage[data-backsplash="green"] {
  --backsplash-top: #7d9580;
  --backsplash-bottom: #516955;
  --backsplash-line: rgba(236, 247, 237, 0.16);
  --backsplash-shadow: rgba(39, 54, 43, 0.18);
}

.preview-stage[data-backsplash="red"] {
  --backsplash-top: #b24c56;
  --backsplash-bottom: #7d2730;
  --backsplash-line: rgba(255, 234, 236, 0.15);
  --backsplash-shadow: rgba(78, 29, 35, 0.2);
}

.preview-stage[data-backsplash="burgundy"] {
  --backsplash-top: #7d3243;
  --backsplash-bottom: #4d1725;
  --backsplash-line: rgba(255, 231, 238, 0.14);
  --backsplash-shadow: rgba(48, 16, 24, 0.22);
}

.preview-stage[data-counter="granite"] .scene-counter {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(18, 16, 15, 0.04), rgba(18, 16, 15, 0.14)),
    url("./assets/granite-test.webp") 54% 51% / 158% auto no-repeat;
  box-shadow:
    inset 0 -8px 14px rgba(0, 0, 0, 0.2),
    0 8px 18px rgba(55, 44, 34, 0.18);
}

.preview-stage[data-counter="granite"] .scene-counter-face {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.02)),
    url("./assets/granite-test.webp") 52% 68% / 148% auto no-repeat;
}

.preview-stage[data-counter="graphite"] {
  --counter-top: #5c5c60;
  --counter-bottom: #2b2c31;
  --counter-vein-1: rgba(255, 255, 255, 0.08);
  --counter-vein-2: rgba(163, 163, 163, 0.12);
}

.preview-stage[data-counter="sand"] {
  --counter-top: #e2d3be;
  --counter-bottom: #bea384;
  --counter-vein-1: rgba(184, 160, 120, 0.15);
  --counter-vein-2: rgba(150, 131, 97, 0.16);
}

.preview-stage[data-sink-material="metal"] {
  --sink-top: #b4bbc1;
  --sink-bottom: #707882;
}

.preview-stage[data-sink-material="stone"] {
  --sink-top: #dad0c6;
  --sink-bottom: #aa9d91;
}

.preview-stage[data-sink-shape="square"] {
  --sink-left: 33%;
  --sink-width: 11.8%;
  --sink-height: 3.2%;
  --sink-outer-radius: 0 0 18px 18px;
  --sink-inner-radius: 0 0 14px 14px;
  --sink-cutout-left: 30.8%;
  --sink-cutout-width: 15.8%;
  --sink-cutout-radius: 16px 16px 24px 24px;
}

.preview-stage[data-sink-shape="oval"] {
  --sink-left: 32.7%;
  --sink-width: 12.5%;
  --sink-height: 3.5%;
  --sink-outer-radius: 0 0 999px 999px;
  --sink-inner-radius: 0 0 999px 999px;
  --sink-cutout-left: 30.4%;
  --sink-cutout-width: 16.6%;
  --sink-cutout-radius: 999px;
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 6px 0;
}

.template-note {
  max-width: 210px;
  text-align: right;
}

.control-panel {
  padding: 26px;
  position: sticky;
  top: 22px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  align-self: start;
  background:
    radial-gradient(circle at top right, rgba(187, 142, 100, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(33, 30, 28, 0.95), rgba(22, 20, 19, 0.93));
}

.preview-shell::-webkit-scrollbar,
.control-panel::-webkit-scrollbar {
  width: 10px;
}

.preview-shell::-webkit-scrollbar-track,
.control-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.preview-shell::-webkit-scrollbar-thumb,
.control-panel::-webkit-scrollbar-thumb {
  background: rgba(187, 142, 100, 0.38);
  border-radius: 999px;
}

.control-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(187, 142, 100, 0.9), rgba(124, 86, 55, 0.2));
}

.control-panel-intro {
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(201, 172, 136, 0.12);
}

.control-panel-intro h3 {
  max-width: 17ch;
}

.control-group + .control-group {
  margin-top: 22px;
}

.control-heading p {
  max-width: 34ch;
}

.surface-browser {
  margin-top: 14px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(201, 172, 136, 0.12);
  background: rgba(34, 30, 28, 0.78);
}

.surface-browser-toolbar {
  display: grid;
  gap: 12px;
}

.surface-brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.surface-brand-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(42, 37, 34, 0.86);
  color: var(--muted);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.surface-brand-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.surface-search {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.surface-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(201, 172, 136, 0.14);
  border-radius: 16px;
  background: rgba(24, 21, 20, 0.9);
  color: var(--text);
  font: inherit;
}

.surface-search-input:focus {
  outline: 1px solid rgba(187, 142, 100, 0.56);
  border-color: rgba(187, 142, 100, 0.42);
}

.surface-selected {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(201, 172, 136, 0.1);
  background: rgba(25, 22, 20, 0.76);
}

.surface-selected-visual {
  width: 100%;
  aspect-ratio: 1.1;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

.surface-selected-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface-selected-copy {
  min-width: 0;
}

.surface-selected-copy strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--text);
}

.surface-selected-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 430px;
  margin-top: 16px;
  padding-right: 4px;
  overflow: auto;
}

.surface-card {
  padding: 10px;
  border: 1px solid rgba(201, 172, 136, 0.12);
  border-radius: 20px;
  background: rgba(28, 24, 22, 0.86);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.surface-card:hover {
  transform: translateY(-1px);
  border-color: rgba(187, 142, 100, 0.34);
}

.surface-card.is-active {
  border-color: rgba(187, 142, 100, 0.78);
  background: rgba(52, 40, 31, 0.9);
  box-shadow: inset 0 0 0 1px rgba(187, 142, 100, 0.26);
}

.surface-card-image {
  width: 100%;
  aspect-ratio: 1.65;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}

.surface-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface-card-copy {
  margin-top: 10px;
}

.surface-card-copy strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.4;
}

.surface-card-copy span {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.surface-empty {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(201, 172, 136, 0.18);
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.chip-group[data-control="cabinet"] .chip,
.chip-group[data-control="backsplash"] .chip,
.chip-group[data-control="sink"] .chip {
  padding-inline: 14px;
}

.control-group + .control-group {
  margin-top: 22px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(42, 37, 34, 0.86);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.chip-swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

.chip-swatch-granite { background: url("./assets/granite-test.webp") center center / cover no-repeat; }
.chip-swatch-calacatta { background: linear-gradient(135deg, #f7f5f2, #dcd7d1); }
.chip-swatch-graphite { background: linear-gradient(135deg, #5c5c60, #2b2c31); }
.chip-swatch-sand { background: linear-gradient(135deg, #e2d3be, #bea384); }
.chip-swatch-cashmere { background: #c4b3a1; }
.chip-swatch-white { background: #f8f6f1; }
.chip-swatch-ivory { background: #eee8de; }
.chip-swatch-greige { background: #b7aa9d; }
.chip-swatch-stone { background: #cbc0b3; }
.chip-swatch-oak { background: #b48757; }
.chip-swatch-walnut { background: #7b5739; }
.chip-swatch-olive { background: #6f775f; }
.chip-swatch-navy { background: #445061; }
.chip-swatch-red { background: #a83238; }
.chip-swatch-burgundy { background: #6c2235; }
.chip-swatch-graphite-dark { background: #3d4043; }
.chip-swatch-metal { background: linear-gradient(135deg, #c2c8ce, #76808b); }
.chip-swatch-stone-sink { background: linear-gradient(135deg, #d4c9be, #aa9d91); }
.chip-swatch-backsplash-white { background: linear-gradient(135deg, #faf9f6, #e9e3db); }
.chip-swatch-backsplash-black { background: linear-gradient(135deg, #52565c, #2c3035); }
.chip-swatch-backsplash-brown { background: linear-gradient(135deg, #8d6d57, #5e4332); }
.chip-swatch-backsplash-blue { background: linear-gradient(135deg, #7f9db6, #537189); }
.chip-swatch-backsplash-green { background: linear-gradient(135deg, #7d9580, #516955); }
.chip-swatch-backsplash-red { background: linear-gradient(135deg, #b24c56, #7d2730); }
.chip-swatch-backsplash-burgundy { background: linear-gradient(135deg, #7d3243, #4d1725); }

.contact-card {
  margin-top: 24px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(187, 142, 100, 0.12), transparent 36%),
    var(--surface-strong);
  border: 1px solid rgba(201, 172, 136, 0.18);
  position: relative;
}

.contact-card::before {
  content: "Mutfak Atölyesi";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(187, 142, 100, 0.14);
  border: 1px solid rgba(201, 172, 136, 0.18);
  color: var(--text);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-text {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contact-button {
  min-width: 218px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(201, 172, 136, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.floating-contact-instagram {
  background: linear-gradient(135deg, rgba(60, 34, 53, 0.96), rgba(127, 69, 49, 0.92));
  color: #fff1e3;
}

.floating-contact-whatsapp {
  background: linear-gradient(135deg, rgba(26, 58, 45, 0.96), rgba(43, 91, 71, 0.92));
  color: #eef9f1;
}

.floating-contact-label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.floating-contact-button strong {
  display: block;
  font-size: 0.98rem;
}

.contact-card::before {
  content: "Mutfak Atölyesi";
}

.page-intro,
.home-overview,
.home-cta,
.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.page-main {
  padding-bottom: 74px;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 24px;
  align-items: stretch;
  padding: 20px 0 26px;
}

.page-intro-card,
.page-intro-visual,
.page-link-card,
.home-cta-card,
.site-footer {
  border-radius: 32px;
  border: 1px solid rgba(201, 172, 136, 0.12);
  background:
    linear-gradient(180deg, rgba(35, 31, 29, 0.9), rgba(24, 22, 20, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
}

.page-intro-card,
.home-cta-card {
  padding: 34px;
}

.page-intro-card h1 {
  margin: 14px 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 4vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-intro-card p:last-of-type,
.home-cta-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.page-intro-actions,
.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.page-intro-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.page-intro-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 16, 15, 0.18), rgba(19, 16, 15, 0.56)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%);
}

.page-intro-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  max-width: 320px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(23, 19, 18, 0.74);
  border: 1px solid rgba(201, 172, 136, 0.16);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    var(--shadow-soft);
}

.page-intro-note strong {
  display: block;
  margin-top: 10px;
  color: #f4ecdf;
  font-size: 1.08rem;
  line-height: 1.5;
  text-wrap: balance;
}

.page-intro-services {
  background-image: url("./assets/editorial/warm-ivory-island-kitchen.webp");
  background-position: 50% 52%;
}

.page-intro-about {
  background-image: url("./assets/editorial/walnut-concrete-kitchen.webp");
  background-position: 50% 58%;
}

.page-intro-catalogs {
  background-image: url("./assets/gallery-light-marble.webp");
  background-position: 50% 54%;
}

.page-intro-references {
  background-image: url("./assets/editorial/noir-luxury-kitchen.webp");
  background-position: 52% 52%;
}

.page-intro-atelier {
  background-image: url("./assets/gallery-sink-granite.webp");
  background-position: 46% 54%;
}

.page-intro-contact {
  background-image: url("./assets/editorial/soft-marble-kitchen.webp");
  background-position: 50% 54%;
}

.home-overview {
  padding: 10px 0 24px;
}

.home-editorial {
  padding: 10px 0 24px;
}

.editorial-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.editorial-scene-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(201, 172, 136, 0.12);
  background:
    linear-gradient(180deg, rgba(35, 31, 29, 0.9), rgba(24, 22, 20, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    var(--shadow);
}

.editorial-scene-visual {
  min-height: clamp(280px, 28vw, 340px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.editorial-scene-visual-1 {
  background-image: url("./assets/editorial/warm-ivory-island-kitchen.webp");
  background-position: 52% 50%;
}

.editorial-scene-visual-2 {
  background-image: url("./assets/editorial/graphite-minimal-kitchen.webp");
  background-position: 50% 48%;
}

.editorial-scene-visual-3 {
  background-image: url("./assets/editorial/architectural-calacatta-kitchen.webp");
  background-position: 52% 50%;
}

.editorial-scene-copy {
  padding: 22px 22px 24px;
}

.editorial-scene-copy h3 {
  margin: 10px 0 12px;
  font-size: 1.28rem;
  line-height: 1.22;
  text-wrap: balance;
}

.editorial-scene-copy p:last-child {
  margin: 0;
  line-height: 1.74;
  color: var(--muted);
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.page-link-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 172, 136, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 26px 58px rgba(0, 0, 0, 0.28);
}

.page-link-card.is-featured {
  background:
    radial-gradient(circle at top right, rgba(187, 142, 100, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(35, 31, 29, 0.94), rgba(24, 22, 20, 0.96));
}

.page-link-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 172, 136, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.page-link-card h3 {
  margin: 10px 0 12px;
  font-size: 1.3rem;
  line-height: 1.22;
  text-wrap: balance;
}

.page-link-card p:not(.card-label) {
  margin: 0;
  line-height: 1.72;
  color: var(--muted);
}

.page-link-cta {
  margin-top: auto;
  padding-top: 18px;
  color: #f0dfcb;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-cta {
  padding: 12px 0 0;
}

.home-cta-card {
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(187, 142, 100, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(35, 31, 29, 0.92), rgba(24, 22, 20, 0.96));
}

.home-cta-card h2,
.site-footer-copy h2 {
  margin: 12px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 0.98;
  text-wrap: balance;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 24px;
  margin-top: 18px;
  padding: 30px;
}

.site-footer-copy h2 {
  margin-bottom: 0;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  align-content: start;
}

.site-footer-links a,
.site-footer-meta a,
.site-footer-meta p {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer-meta {
  display: grid;
  gap: 10px;
  align-content: start;
}

@media (max-width: 1080px) {
  .hero::before,
  .hero-visual::before,
  .hero-visual::after {
    content: none;
  }

  .hero,
  .page-intro,
  .about-layout,
  .atelier-layout,
  .editorial-scene-grid,
  .moodboard-grid,
  .references-grid,
  .references-strip,
  .service-grid,
  .contact-grid,
  .page-link-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .page-intro-visual {
    min-height: 280px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
  }

  .editorial-scene-visual {
    min-height: 340px;
  }

  .hero-visual {
    padding: 0 0 28px;
  }

  .hero-collage-frame,
  .hero-collage-image {
    min-height: 540px;
  }

  .hero-floating-card {
    position: relative;
    max-width: none;
    left: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .control-panel {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .preview-shell {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .preview-stage {
    min-height: 680px;
  }

  .preview-stage-3d {
    min-height: 700px;
    margin-bottom: 248px;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 0 8px;
  }

  .brand {
    align-items: center;
    gap: 14px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .brand h1 {
    max-width: 100%;
    font-size: 1.18rem;
  }

  .brand-title {
    max-width: 100%;
    font-size: 1.18rem;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px;
    padding: 12px;
    border-radius: 28px;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
  }

  .nav-highlight-link {
    padding: 0 10px;
  }

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

  .about-values {
    grid-template-columns: 1fr;
  }

  .preview-header,
  .preview-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .preview-header-actions {
    width: 100%;
    align-items: flex-start;
  }

  .view-toggle {
    flex-wrap: wrap;
  }

  .template-note {
    max-width: none;
    text-align: left;
  }

  .surface-selected {
    grid-template-columns: 1fr;
  }

  .preview-shell {
    position: sticky;
    top: 14px;
    z-index: 5;
    max-height: calc(100vh - 26px);
    overflow-y: auto;
  }

  .site-footer {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-bottom: 112px;
  }

  .site-header,
  .hero,
  .page-intro,
  .home-overview,
  .home-cta,
  .services,
  .about-section,
  .collection,
  .references-section,
  .atelier,
  .contact-section,
  .site-footer {
    width: min(100% - 18px, 1220px);
  }

  .site-header {
    gap: 14px;
    padding: 16px 0 8px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 66px;
    height: 66px;
    border-radius: 16px;
  }

  .brand-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .brand h1 {
    max-width: 190px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .brand-title {
    max-width: 190px;
    font-size: 1rem;
    line-height: 1.12;
  }

  .page-main {
    padding-bottom: 112px;
  }

  .page-intro {
    padding: 10px 0 18px;
  }

  .page-intro-card,
  .home-cta-card,
  .site-footer,
  .page-link-card {
    border-radius: 26px;
  }

  .page-intro-card,
  .home-cta-card {
    padding: 24px 20px;
  }

  .page-intro-card h1 {
    font-size: 2.28rem;
  }

  .site-nav {
    gap: 8px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(28, 24, 22, 0.9);
    border-color: rgba(201, 172, 136, 0.14);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 18px 34px rgba(0, 0, 0, 0.18);
  }

  .site-nav a {
    min-height: 44px;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #d8cab7;
  }

  .site-nav .nav-highlight-link {
    box-shadow:
      inset 0 0 0 1px rgba(201, 172, 136, 0.22),
      0 10px 24px rgba(124, 86, 55, 0.18);
  }

  .hero-copy,
  .preview-shell,
  .control-panel,
  .service-card,
  .about-copy-card,
  .about-panel,
  .reference-copy,
  .references-strip-card,
  .contact-item,
  .hero-floating-card,
  .mood-copy {
    border-radius: 26px;
    border-color: rgba(201, 172, 136, 0.14);
    background:
      linear-gradient(180deg, rgba(35, 30, 28, 0.94), rgba(24, 21, 20, 0.94));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.03),
      0 20px 42px rgba(0, 0, 0, 0.22);
  }

  .hero-copy {
    padding: 22px 20px;
  }

  .hero-brand-chip {
    gap: 12px;
    padding: 11px 12px;
    border-radius: 20px;
    background: rgba(44, 38, 35, 0.88);
    border-color: rgba(201, 172, 136, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .hero-brand-chip span {
    font-size: 0.95rem;
    color: #cdbca8;
  }

  .hero {
    gap: 20px;
    padding: 20px 0 28px;
  }

  .hero-brand-chip-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .hero h2 {
    max-width: 10.6ch;
    margin-top: 16px;
    font-size: clamp(2rem, 8.8vw, 2.52rem);
    line-height: 0.97;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  }

  .hero h1 {
    max-width: 10.6ch;
    margin-top: 16px;
    font-size: clamp(2rem, 8.8vw, 2.52rem);
    line-height: 0.97;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  }

  .hero-text {
    max-width: 28ch;
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.72;
    color: #cab8a3;
  }

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

  .hero-actions .button,
  .contact-actions .button,
  .catalog-actions .button {
    width: 100%;
  }

  .page-intro-actions,
  .home-cta-actions {
    gap: 10px;
  }

  .page-intro-actions .button,
  .home-cta-actions .button {
    width: 100%;
    justify-content: center;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  }

  .button-primary {
    background: linear-gradient(135deg, #c39467, #9a6b45);
  }

  .button-secondary {
    background: rgba(39, 34, 31, 0.92);
    border-color: rgba(201, 172, 136, 0.16);
  }

  .button-tertiary {
    background: linear-gradient(135deg, #315540, #224032);
  }

  .hero-metrics {
    gap: 12px;
    margin-top: 20px;
  }

  .hero-metrics article {
    padding: 12px;
    border-radius: 16px;
    background: rgba(34, 30, 28, 0.9);
    border-color: rgba(201, 172, 136, 0.1);
  }

  .hero-collage-frame,
  .hero-collage-image {
    min-height: 320px;
  }

  .page-link-card {
    padding: 22px 20px;
  }

  .page-intro-visual {
    min-height: 244px;
    background-position: center;
  }

  .page-intro-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .site-footer {
    gap: 18px;
    padding: 22px 20px;
  }

  .editorial-scene-visual {
    min-height: 246px;
  }

  .editorial-scene-copy {
    padding: 18px 18px 20px;
  }

  .editorial-scene-copy h3 {
    font-size: 1.12rem;
    line-height: 1.26;
  }

  .hero-floating-card {
    padding: 18px;
  }

  .atelier-layout {
    gap: 16px;
  }

  .preview-shell {
    position: sticky;
    top: 12px;
    z-index: 6;
    max-height: calc(100vh - 24px);
    padding: 20px;
    overflow-y: auto;
  }

  .preview-header {
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .preview-header h3 {
    max-width: 17ch;
    font-size: 1.06rem;
    line-height: 1.26;
    text-wrap: balance;
  }

  .preview-header-actions {
    gap: 10px;
  }

  .preview-reference-chip {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 11px 12px;
    border-radius: 18px;
    text-align: center;
    font-size: 0.82rem;
    color: #e7d8c6;
  }

  .view-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .view-toggle .chip {
    width: 100%;
    justify-content: center;
    min-height: 41px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .preview-stage {
    min-height: 360px;
    border-radius: 26px;
  }

  .preview-stage-3d {
    min-height: 390px;
    margin-bottom: 0;
    border-radius: 26px;
    overflow: hidden;
  }

  .preview-stage-3d-spotlight,
  .preview-stage-3d-specs {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: 100%;
    max-width: none;
    margin: 14px 0 0;
  }

  .preview-stage-3d-spotlight {
    padding: 18px;
    border-radius: 22px;
    background: rgba(28, 24, 22, 0.84);
  }

  .preview-stage-3d-spotlight h3 {
    margin-bottom: 8px;
    font-size: 1.34rem;
    line-height: 1.02;
  }

  .preview-stage-3d-specs {
    grid-template-columns: 1fr;
    width: auto;
  }

  .preview-stage-3d-spec {
    padding: 14px;
    border-radius: 18px;
    background: rgba(25, 22, 21, 0.82);
  }

  .control-panel {
    padding: 20px;
    border-radius: 26px;
  }

  .control-panel-intro h3 {
    max-width: none;
    font-size: 1.04rem;
    line-height: 1.32;
    text-wrap: balance;
  }

  .control-heading h3 {
    font-size: 1.06rem;
    letter-spacing: 0.05em;
  }

  .control-heading p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .surface-browser-toolbar,
  .surface-search {
    gap: 10px;
  }

  .surface-brand-tabs {
    gap: 8px;
  }

  .surface-brand-tab {
    min-height: 37px;
    padding: 0 12px;
    font-size: 0.86rem;
    border-radius: 999px;
  }

  .surface-search-input {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .surface-selected {
    gap: 12px;
    padding: 13px;
    border-radius: 20px;
    background: rgba(30, 26, 24, 0.82);
  }

  .surface-selected-visual {
    aspect-ratio: 1.48;
    border-radius: 16px;
  }

  .surface-selected-copy strong {
    font-size: 0.92rem;
  }

  .surface-selected-copy p {
    font-size: 0.84rem;
    line-height: 1.56;
  }

  .surface-grid {
    grid-template-columns: 1fr;
    max-height: 320px;
    gap: 12px;
  }

  .surface-card {
    padding: 9px;
    border-radius: 20px;
    background: rgba(31, 27, 25, 0.9);
  }

  .surface-card-image {
    aspect-ratio: 2.12;
    border-radius: 14px;
  }

  .surface-card-copy {
    margin-top: 9px;
  }

  .surface-card-copy strong {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .surface-card-copy span {
    margin-top: 4px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .chip-group {
    gap: 8px;
  }

  .chip {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 0.86rem;
    border-color: rgba(201, 172, 136, 0.14);
  }

  .catalog-cover-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-card {
    max-width: none;
  }

  .floating-contact {
    flex-direction: column;
    align-items: flex-end;
    right: 8px;
    left: auto;
    bottom: 12px;
    gap: 6px;
  }

  .floating-contact-button {
    flex: 0 0 auto;
    min-width: 88px;
    padding: 9px 12px;
    border-radius: 14px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 10px 16px rgba(0, 0, 0, 0.16);
  }

  .floating-contact-label {
    display: block;
    margin: 0;
    font-size: 0.66rem;
    line-height: 1;
    letter-spacing: 0.07em;
    opacity: 0.88;
  }

  .floating-contact-button strong {
    display: none;
  }
}

/* Mobile atelier: keep the preview and choices in one natural page flow. */
@media (max-width: 640px) {
  .atelier .preview-shell {
    position: relative;
    top: auto;
    z-index: 1;
    max-height: none;
    overflow: visible;
  }

  .atelier .surface-brand-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .atelier .surface-brand-tab {
    flex: 0 0 auto;
    min-height: 42px;
    scroll-snap-align: start;
  }

  .atelier .surface-selected {
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
  }

  .atelier .surface-selected-visual {
    aspect-ratio: 1;
  }

  .atelier .surface-selected-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .atelier .surface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 410px;
    padding-right: 4px;
  }

  .atelier .surface-card {
    min-width: 0;
  }

  .atelier .surface-card-image {
    aspect-ratio: 1.55;
  }

  .atelier .surface-card-copy strong {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.65em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .atelier .control-group > .chip-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atelier .control-group > .chip-group .chip {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
  }

  .atelier .preview-stage-3d {
    min-height: 0;
    overflow: visible;
    background: transparent;
  }

  .atelier .preview-stage-3d-frame {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 220px;
    aspect-ratio: 16 / 10;
    background: #151311;
  }

  .atelier .preview-stage-3d-spotlight,
  .atelier .preview-stage-3d-specs {
    position: relative;
    z-index: 1;
  }

  .atelier .preview-stage-3d-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
