/* ═══════════════════════════════════════════════════════════════
   ChromaArt Creator — Global Styles  v2
   Aesthetic: Clean Editorial / Light Luxury
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;400;500;600;700;800&family=Indie+Flower&family=Luckiest+Guy&family=Source+Code+Pro:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&family=Urbanist:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

/* ── Brand & Accent (change --accent to update the whole site) ── */
:root {
  /* ★ ACCENT: change this one value to retheme the site */
  --accent:        #7A9B6E;   /* change only this value for the secondary brand color */
  --accent-dark:   color-mix(in srgb, var(--accent) 74%, #232323);
  --accent-light:  color-mix(in srgb, var(--accent) 62%, #ffffff);
  --accent-bg:     color-mix(in srgb, var(--accent) 12%, #ffffff);

  /* Base palette */
  --bg:            #FFFFFF;
  --bg-2:          #F9F7F5;
  --bg-3:          #F2EEE9;
  --surface:       #EDEBE7;
  --surface-2:     #E5E1DB;
  --border:        rgba(35,35,35,0.08);
  --border-2:      rgba(35,35,35,0.15);

  /* Typography */
  --text:          #232323;
  --text-dim:      #6B6560;
  --text-faint:    #A8A29C;

  /* Misc */
  --radius:        0;
  --radius-lg:     10px;
  --radius-xl:     18px;
  --transition:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font:          'Urbanist', system-ui, sans-serif;
  --side-header:   94px;

  /* Shadow */
  --shadow-sm:     0 1px 3px rgba(35,35,35,0.07), 0 1px 2px rgba(35,35,35,0.05);
  --shadow-md:     0 4px 16px rgba(35,35,35,0.08), 0 2px 6px rgba(35,35,35,0.05);
  --shadow-lg:     0 12px 40px rgba(35,35,35,0.10);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}
button  { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button,
.btn-primary,
.btn-accent,
.btn-secondary,
.form-submit-btn,
.color-mode-toggle,
.combo-card,
.texture-btn {
  border-radius: 0;
}

/* ── App Loader ─────────────────────────────────────────────── */
#app-loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}
#app-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  display: block;
  width: clamp(210px, 22vw, 420px);
  aspect-ratio: 2 / 1;
  background: #232323;
  -webkit-mask: url("../assets/icons/preloader.svg") center / contain no-repeat;
  mask: url("../assets/icons/preloader.svg") center / contain no-repeat;
  animation: loaderColorPulse 1.45s ease-in-out infinite;
}
@keyframes loaderColorPulse {
  0%, 100% {
    background: #d7d7d7;
    opacity: 0.72;
  }
  50% {
    background: #232323;
    opacity: 1;
  }
}

/* ── Header ─────────────────────────────────────────────────── */
.creator-header {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 130;
  width: var(--side-header);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-right: 3px solid #232323;
  border-bottom: 0;
  padding: 26px 0;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
}
.header-logo img {
  width: 220px;
  height: auto;
  max-width: none;
  transform: rotate(-90deg);
  transform-origin: center;
  display: block;
}
.header-logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--text);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.header-quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 84px;
  padding: 0 18px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: var(--transition);
}
.header-quote-link:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent-dark);
}

/* Stat + button */
.stat-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  margin-left: 6px;
  margin-bottom: 4px;
  transition: var(--transition);
  flex-shrink: 0;
  vertical-align: middle;
}
.stat-add-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* Language selector */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  padding: 5px 10px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
}
.lang-btn.active {
  border-color: var(--border-2);
  color: var(--text);
  background: var(--bg-3);
}
.lang-btn:hover { color: var(--text); }

/* ── Step Indicator ─────────────────────────────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}
.header-process {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.header-socials {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.header-socials a,
.thankyou-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-2);
  border-radius: 0;
  color: var(--text);
  background: rgba(255,255,255,0.78);
  transition: var(--transition);
}
.header-socials a:hover,
.thankyou-socials a:hover {
  border-color: rgba(35,35,35,0.18);
  background: rgba(255,255,255,0.9);
  color: var(--text);
}
.social-icon {
  display: block;
  width: 17px;
  height: 17px;
  background: var(--icon) center / contain no-repeat;
  transition: opacity 0.18s ease, filter 0.18s ease;
}
.header-socials a:hover .social-icon,
.hero-socials a:hover .social-icon,
.thankyou-socials a:hover .social-icon {
  opacity: 0.72;
  filter: brightness(1.1) saturate(0.86);
}
.social-icon-whatsapp {
  --icon: url("../assets/icons/whatsapp.svg");
}
.social-icon-instagram {
  --icon: url("../assets/icons/instagram.svg");
}
.social-icon-mail {
  --icon: url("../assets/icons/mail.svg");
}
.social-icon-web {
  --icon: url("../assets/icons/web.svg");
}
.social-icon-linktree {
  --icon: url("../assets/icons/linktree.svg");
}
.side-process {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 125;
  width: 58px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding: 26px 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)),
    url("../assets/images/pattern.png");
  background-repeat: repeat, repeat;
  background-size: auto, auto;
  border-left: 2px solid #232323;
  backdrop-filter: blur(8px);
}
.side-process-title {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #232323;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.side-process button {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(35,35,35,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  color: var(--text-dim);
  font-size: 0.62rem;
  font-weight: 800;
  transition: var(--transition);
}
.side-process button::after {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: 1px;
  height: 7px;
  background: rgba(35,35,35,0.18);
}
.side-process button:last-child::after {
  display: none;
}
.side-process button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.side-process button.active,
.header-process button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.side-process button.completed,
.header-process button.completed {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.header-process button {
  position: relative;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: rgba(255,255,255,0.86);
  color: var(--text-faint);
  font-size: 0.56rem;
  font-weight: 800;
  transition: var(--transition);
}
.header-process button::after {
  content: "";
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  width: 1px;
  height: 7px;
  background: var(--border-2);
}
.header-process button:last-child::after {
  display: none;
}
.header-process button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.step-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-2);
  background: var(--bg);
  color: var(--text-faint);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  position: relative;
}
.step-dot.active {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent-dark);
}
.step-dot.completed {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
.step-dot.completed:hover { background: var(--accent-dark); }
.step-dot .dot-label {
  position: absolute; top: calc(100% + 5px);
  left: 50%; transform: translateX(-50%);
  font-size: 0.52rem; white-space: nowrap;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.step-dot.active .dot-label { color: var(--accent-dark); }
.step-line {
  width: 28px; height: 1px;
  background: var(--border-2);
  transition: var(--transition);
}
.step-line.filled { background: var(--accent); }

/* ── Screen Layout ──────────────────────────────────────────── */
.step-screens {
  position: relative;
  min-height: 100vh;
  margin-left: var(--side-header);
}
.step-screen {
  display: none;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.step-screen.active { display: block; opacity: 1; transform: translateX(0); }
.step-screen.enter-right  { transform: translateX(36px);  display: block; }
.step-screen.enter-left   { transform: translateX(-36px); display: block; }
.step-screen.exit-left    { transform: translateX(-36px); opacity: 0; }
.step-screen.exit-right   { transform: translateX(36px);  opacity: 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  background: var(--text);
  color: #fff;
  padding: 14px 36px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  padding: 14px 36px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-secondary {
  border: 1.5px solid var(--border-2);
  color: var(--text-dim);
  padding: 13px 28px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--transition);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-dark); }

/* ═══════════════════════════════════════════════════════════════
   STEP 1 — WELCOME
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.welcome-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  height: 100vh;
  min-height: 680px;
  max-height: 100vh;
  overflow: hidden;
}

/* Left column */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 108px 56px 34px 72px;
  position: relative;
  min-width: 0;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 9px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(3.4rem, 6.7vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 22px;
  max-width: 880px;
}
.hero-title .accent-word {
  color: var(--accent-dark);
  font-weight: 800;
  font-style: normal;
}
.hero-tagline {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.62;
  max-width: 620px;
  margin-bottom: 14px;
}
.hero-subline {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.65;
  max-width: 710px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.hero-cta-note {
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

.hero-socials {
  display: inline-flex;
  gap: 9px;
}
.hero-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-2);
  border-radius: 0;
  color: var(--text);
  transition: var(--transition);
}
.hero-socials a:hover {
  border-color: rgba(35,35,35,0.18);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  transform: translateY(-1px);
}
.hero-socials .social-icon {
  width: 20px;
  height: 20px;
}

.intro-process {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.intro-process button {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 800;
  background: #fff;
  transition: var(--transition);
}
.intro-process button::after {
  content: "";
  position: absolute;
  left: calc(100% + 1px);
  width: 8px;
  height: 1px;
  background: var(--border-2);
}
.intro-process button:last-child::after {
  display: none;
}
.intro-process button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* Stats counters */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 22px;
  max-width: 760px;
}
.stat-item {
  padding: 0 20px 0 0;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 12px; top: 10%; bottom: 10%;
  width: 1px; background: var(--border);
}
.stat-number {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 5px;
}
.stat-plus {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}
.stat-infinity {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.45;
}

/* Right column — image mosaic */
.hero-right {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 90px 34px 34px 0;
}
.hero-mosaic {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 0;
}
.mosaic-cell {
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.mosaic-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mosaic-cell:hover img { transform: scale(1.04); }

/* Span top-left cell taller */
.mosaic-cell.tall {
  grid-row: 1 / 3;
}
.slideshow-cell img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroFade 42s infinite;
}
.slideshow-cell img:nth-child(1) { animation-delay: 0s; }
.slideshow-cell img:nth-child(2) { animation-delay: 6s; }
.slideshow-cell img:nth-child(3) { animation-delay: 12s; }
.slideshow-cell img:nth-child(4) { animation-delay: 18s; }
.slideshow-cell img:nth-child(5) { animation-delay: 24s; }
.slideshow-cell img:nth-child(6) { animation-delay: 30s; }
.slideshow-cell img:nth-child(7) { animation-delay: 36s; }
@keyframes heroFade {
  0%, 13.45% { opacity: 1; }
  14.25%, 100% { opacity: 0; }
}
.statement-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,35,35,0.06), rgba(35,35,35,0.5));
}
.image-statement {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}
.image-statement span,
.image-statement strong {
  display: block;
  line-height: 0.92;
  letter-spacing: 0;
}
.image-statement span {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  font-weight: 300;
}
.image-statement strong {
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  font-weight: 800;
}
.mosaic-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  background: var(--bg-3);
}
.mosaic-placeholder-icon {
  font-size: 1.5rem;
  opacity: 0.25;
}
.mosaic-placeholder p {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* Overlay badge on hero image */
.hero-right-badge {
  position: absolute;
  bottom: 56px; left: 22px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 2;
  max-width: 250px;
}
.hero-right-badge .badge-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-right-badge .badge-sub {
  font-size: 0.65rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Intro v2 layout: 65 / 30 / 7 */
.intro-layout {
  grid-template-columns: minmax(0, 65fr) minmax(340px, 30fr) minmax(76px, 7fr);
  gap: 0;
  height: 100svh;
  min-height: 0;
  max-height: 100svh;
  padding-right: 58px;
  overflow: hidden;
  background: #fff;
}
.intro-layout .hero-left {
  order: 1;
  --intro-content-max: clamp(720px, 35vw, 980px);
  padding: 72px clamp(32px, 4.6vw, 72px) clamp(178px, 20vh, 238px) clamp(36px, 5vw, 78px);
  justify-content: center;
  align-items: center;
  text-align: center;
}
.intro-layout .hero-left > :not(.intro-footer) {
  width: 100%;
  max-width: var(--intro-content-max);
}
.intro-layout .hero-eyebrow {
  justify-content: center;
  gap: 14px;
  color: #232323;
  font-family: 'Google Sans Code', 'Urbanist', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.40em;
}
.intro-layout .hero-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.35em;
  font-size: 1.17rem;
  line-height: 1.05;
  letter-spacing: 2.75px;
  max-width: 900px;
  margin-bottom: 11px;
  white-space: nowrap;
}
.intro-layout .hero-title-main {
  display: inline;
  color: var(--text);
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}
.intro-layout .hero-title .accent-word {
  display: inline;
  color: var(--accent);
  font-size: 1em;
  font-weight: 800;
  line-height: 1;
  margin-top: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
.intro-layout .hero-title .accent-word span,
.intro-layout .hero-title .accent-word strong {
  display: inline-block;
  letter-spacing: 2.75px;
}
.intro-layout .hero-title .accent-word span {
  font-weight: 800;
}
.intro-layout .hero-title .accent-word strong {
  color: var(--accent);
  font-weight: 800;
  -webkit-text-stroke: 0;
  text-stroke: 0;
}
.hero-product-title {
  margin: 0 0 9px;
  color: #232323;
  text-transform: uppercase;
  line-height: 0.8;
}
.hero-product-title span,
.hero-product-title strong {
  display: block;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero-product-title span {
  font-size: clamp(4.00rem, min(6.75vw, 11.3vh), 9.45rem);
  font-weight: 300;
}
.hero-product-title strong {
  font-size: clamp(4.10rem, min(6.92vw, 11.6vh), 9.95rem);
  font-weight: 800;
  letter-spacing: 2px;
  -webkit-text-stroke: 1px #232323;
  text-stroke: 1px #232323;
}
.intro-layout .hero-tagline {
  max-width: 800px;
  margin-top: 7px;
  margin-bottom: 6px;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.51;
}
.intro-layout .hero-subline {
  max-width: 700px;
  margin-bottom: 28px;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.58;
}
.intro-layout .hero-cta-group {
  margin-bottom: 0;
  justify-content: center;
}
.intro-layout .hero-cta-group .btn-primary {
  padding: 15.4px 39.6px;
  font-size: 0.825rem;
}
.intro-layout .hero-cta-group .hero-socials {
  display: none;
}
.intro-footer {
  position: absolute;
  left: clamp(36px, 5vw, 78px);
  right: clamp(32px, 4.6vw, 72px);
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
}
.intro-footer::before {
  display: none;
}
.responsive-advisory {
  order: 0;
  position: relative;
  display: inline-grid;
  grid-template-columns: 72px minmax(360px, 600px);
  column-gap: 8px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(100%, 760px);
  min-height: 0;
  box-sizing: border-box;
  padding: 11px 11px;
  margin-bottom: 17px;
  border: 3px solid color-mix(in srgb, var(--accent) 50%, transparent);
  background: #fff;
  color: #232323;
  outline: none;
}
.responsive-advisory-icon {
  display: block;
  width: 72px;
  height: 47px;
  background: #232323;
  -webkit-mask: url("../assets/icons/responsive.svg") center / contain no-repeat;
  mask: url("../assets/icons/responsive.svg") center / contain no-repeat;
}
.responsive-advisory-text {
  display: block;
  color: #232323;
  font-family: 'Google Sans Code', 'Urbanist', monospace;
  font-size: clamp(0.5rem, 0.46vw, 0.58rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.42;
  text-align: center;
  text-transform: none;
}
.responsive-advisory-text strong {
  font-weight: 800;
}
.micro-menu {
  order: 1;
  justify-self: center;
  justify-content: center;
  display: inline-flex;
  gap: 12px;
  padding: 11px 33px;
  border: 1px solid var(--border-2);
}
.intro-footer .micro-menu {
  margin-bottom: 12px;
}
.micro-menu a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-family: 'Google Sans Code', 'Urbanist', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: var(--transition);
}
.micro-menu a:not(:last-child)::after {
  content: "|";
  margin-left: 12px;
  color: var(--text-faint);
  font-weight: 400;
}
.micro-menu a:hover {
  color: var(--accent-dark);
}
.footer-signature {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #232323;
  font-family: 'Google Sans Code', 'Urbanist', monospace;
  font-size: clamp(0.52rem, 0.46vw, 0.68rem);
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.footer-signature a {
  color: #232323;
  text-decoration: none;
  transition: var(--transition);
}
.footer-signature a:hover {
  color: var(--accent);
}
.footer-signature strong {
  font-weight: 800;
}
.footer-signature-mark {
  color: var(--accent);
  font-size: 0.92em;
  line-height: 1;
}
.footer-signature-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 23px;
}
.metric-column {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: center;
  column-gap: clamp(0px, 0.45vw, 18px);
  padding: 0;
  margin: 26px 0 17px;
  width: min(100%, 900px);
  min-width: 0;
  overflow: visible;
  background: #fff;
}
.metric-card {
  position: relative;
  width: 100%;
  overflow: visible;
  background: #fff;
  min-height: auto;
  display: flex;
  justify-content: center;
}
.metric-card img {
  display: none;
}
.metric-card::after {
  display: none;
}
.metric-card:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 34px;
  transform: translateY(-50%);
  background: rgba(35,35,35,0.32);
}
.metric-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 18px;
  color: #fff;
  text-align: center;
}
.metric-label strong {
  display: block;
  font-size: clamp(2.3rem, 3.15vw, 4.1rem);
  line-height: 0.84;
  font-weight: 800;
  letter-spacing: 0;
}
.metric-label > span {
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: clamp(0.92rem, 1.26vw, 1.72rem);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 0.95;
  text-transform: uppercase;
}
.metric-card .metric-label {
  display: flex;
  inset: 0;
  position: static;
  padding: 0;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.metric-card .metric-label strong {
  position: static;
  font-family: 'Luckiest Guy', var(--font);
  font-size: clamp(2.8rem, min(4.1vw, 7vh), 5.75rem);
  line-height: 0.84;
  font-weight: 400;
  color: transparent;
  letter-spacing: 2px;
  -webkit-text-stroke: 1px var(--accent);
  text-stroke: 1px var(--accent);
}
.metric-card .metric-label > span {
  position: static;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #232323;
  font-family: 'Indie Flower', var(--font);
  font-size: clamp(0.58rem, min(0.65vw, 1.1vh), 0.92rem);
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1;
}
.hero-feature {
  order: 2;
  box-sizing: border-box;
  padding: 3px 7px 3px 0;
  border-right: 3px solid var(--border-2);
  overflow: hidden;
  background: #fff;
}
.intro-random-strip {
  order: 3;
  min-width: 0;
  min-height: 0;
  padding: 3px 3px 3px 7px;
  overflow: hidden;
  background: #fff;
}
.intro-random-preview {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--accent-bg);
  background-position: center;
  background-repeat: repeat;
  background-size: 500px 500px;
}
.intro-random-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(35,35,35,0.04), rgba(35,35,35,0.08)),
    linear-gradient(90deg, rgba(255,255,255,0.12), transparent 48%, rgba(35,35,35,0.08));
  pointer-events: none;
}
.feature-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-2);
}
.feature-slideshow::after {
  display: none;
}
.feature-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-slideshow .image-statement {
  position: static;
  z-index: 3;
  color: #fff;
  mix-blend-mode: normal;
}
.feature-slideshow .image-statement span {
  font-size: clamp(2.55rem, 3.8vw, 5.6rem);
  font-weight: 300;
  text-transform: uppercase;
}
.feature-slideshow .image-statement strong {
  font-size: clamp(2.6rem, 3.75vw, 5.45rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  text-transform: uppercase;
}
.hero-floating-cta {
  position: static;
  z-index: 4;
  padding: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 4px;
  max-width: none;
}
.hero-floating-cta .btn-primary {
  width: auto;
  min-width: 300px;
  justify-content: center;
  padding-inline: 22px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  border: 2px solid #fff;
}
.feature-slideshow .hero-right-badge {
  position: static;
  max-width: none;
  z-index: 4;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  padding: 0;
  backdrop-filter: none;
}
.feature-copy-group {
  position: absolute;
  left: 23px;
  right: 23px;
  top: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  transform: none;
}
.feature-combo-stat {
  position: relative;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #fff;
}
.feature-combo-stat strong {
  display: block;
  font-family: 'Luckiest Guy', var(--font);
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-stroke: 1px #fff;
  font-size: clamp(3.21rem, 4.91vw, 6.62rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 2px;
}
.feature-combo-stat > span {
  display: inline-flex;
  padding: 5px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: clamp(0.51rem, 0.69vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
}
.feature-combo-and {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(92%, 390px);
  color: #fff;
  font-size: clamp(0.72rem, 0.88vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.42;
  text-transform: uppercase;
}
.feature-slideshow .hero-right-badge .badge-title {
  font-size: clamp(0.95rem, 1.4vw, 1.62rem);
  line-height: 1;
  max-width: none;
  letter-spacing: 2px;
  color: #fff;
  white-space: nowrap;
}
.feature-slideshow .hero-right-badge .badge-sub {
  margin-top: 6px;
  max-width: none;
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.67rem, 0.86vw, 0.9rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 1px;
  white-space: nowrap;
}
.hero-feature .intro-process {
  display: none;
}
.hero-feature .intro-process button {
  width: 24px;
  height: 24px;
  font-size: 0.55rem;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
}
.hero-feature .intro-process button::after {
  left: 50%;
  top: calc(100% + 1px);
  width: 1px;
  height: 7px;
}

@media (min-width: 961px) {
  .intro-layout .hero-title .accent-word {
    white-space: nowrap;
  }
}

/* Section below hero */
.welcome-features {
  padding: 80px 72px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.features-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
.features-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  max-width: 540px;
}
.features-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-dark);
}
.features-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.features-sub strong { font-weight: 700; color: var(--text); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}
.feature-card:hover::before { height: 100%; }
.feature-num {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  margin-bottom: 14px;
  text-transform: uppercase;
  border: 1px solid var(--border-2);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
}
.feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.feature-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.8;
  font-weight: 300;
}

/* ── Bottom CTA strip ───────────────────────────────────────── */
.welcome-cta-strip {
  padding: 64px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: var(--bg);
  gap: 40px;
}
.cta-strip-text .cta-strip-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.cta-strip-text .cta-strip-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 2 — PROCESS
   ═══════════════════════════════════════════════════════════════ */
#step-2.active {
  height: 100svh;
  overflow: hidden;
}
.process-layout {
  display: grid;
  grid-template-columns: 23fr 77fr;
  align-items: start;
  height: 100svh;
  min-height: 0;
  padding-right: 58px;
  background: #fff;
  overflow: hidden;
}
.process-visual {
  position: relative;
  top: 0;
  align-self: start;
  min-width: 0;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}
.process-content {
  border-left: 3px solid var(--accent);
}
.process-slideshow {
  position: absolute;
  inset: 3px 3px 3px 3px;
  overflow: hidden;
}
.process-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: processFade 30s infinite;
  filter: none;
}
.process-slideshow img:nth-child(1) { animation-delay: 0s; }
.process-slideshow img:nth-child(2) { animation-delay: 6s; }
.process-slideshow img:nth-child(3) { animation-delay: 12s; }
.process-slideshow img:nth-child(4) { animation-delay: 18s; }
.process-slideshow img:nth-child(5) { animation-delay: 24s; }
@keyframes processFade {
  0%, 18.85% { opacity: 1; }
  19.95%, 100% { opacity: 0; }
}
.process-visual::after {
  display: none;
}
.process-section-title {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.18em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}
.process-section-title span,
.process-section-title strong {
  display: inline-block;
  letter-spacing: 0;
  line-height: 0.88;
  font-size: clamp(2.74rem, 4.54vw, 6.31rem);
}
.process-section-title span {
  font-weight: 300;
}
.process-section-title strong {
  font-weight: 800;
}
.process-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100svh;
  overflow: hidden;
  padding: 76px clamp(34px, 3.8vw, 70px) 24px;
  min-width: 0;
  text-align: center;
}
.process-main-group {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.process-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #232323;
  font-family: 'Google Sans Code', 'Urbanist', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.40em;
  text-transform: uppercase;
}
.process-kicker::before,
.process-kicker::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.process-content h2 {
  max-width: none;
  margin: 0;
  color: var(--accent-dark);
  font-size: 31px;
  font-family: 'Indie Flower', var(--font);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-align: center;
}
.process-lead {
  max-width: none;
  margin: 0;
  color: #232323;
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.38;
  white-space: nowrap;
  text-align: center;
}
.process-lead strong {
  color: var(--text);
  font-weight: 800;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 9px;
}
.process-card {
  position: relative;
  min-height: 222px;
  padding: 28px 22px 52px;
  border: 0;
  background: transparent;
  overflow: hidden;
  text-align: center;
}
.process-card::before {
  content: "1";
  position: absolute;
  left: 50%;
  top: 6px;
  z-index: 0;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1.7px var(--accent);
  text-stroke: 1.7px var(--accent);
  font-size: clamp(11.93rem, 17.04vw, 20.8rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0;
  opacity: 0.25;
  pointer-events: none;
}
.process-card:nth-child(2)::before {
  content: "2";
}
.process-card:nth-child(3)::before {
  content: "3";
}
.process-card::before {
  display: none;
}
.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  z-index: 4;
  width: 1px;
  background: rgba(35,35,35,0.16);
}
.process-step-badge {
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 22px;
  margin: 0 auto 9px;
  padding: 5px 9px;
  background: var(--accent);
  color: #fff;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.35;
  white-space: nowrap;
}
.process-step-badge-icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 57px;
  height: 57px;
  margin: 0 auto 7px;
  object-fit: contain;
}
.process-card .process-step-badge {
  background: var(--accent);
}
.process-card-icon {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 1;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.82;
}
.process-card h3 {
  position: relative;
  z-index: 2;
  max-width: 92%;
  margin: 0 auto 4px;
  color: #232323;
  font-size: clamp(1.044rem, 1.305vw, 1.584rem);
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.08;
  text-transform: uppercase;
}
.process-card p {
  position: relative;
  z-index: 2;
  max-width: 96%;
  margin: 0 auto;
  color: #232323;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35px;
  line-height: 1.11;
}
.process-notification {
  align-self: center;
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}
.process-icon-rail {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 9px;
}
.process-icon-rail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16.666%;
  right: 16.666%;
  z-index: 0;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}
.process-icon-node {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
}
.process-icon-node img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.process-actions {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 7px;
}
.process-bottom-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 27px;
  margin-top: auto;
}
.process-micro-menu {
  order: 0;
  justify-content: center;
  margin-bottom: 12px;
}
.process-footer.footer-signature-stack {
  gap: 0;
}

@media (max-height: 820px) and (min-width: 900px) {
  .process-section-title span,
  .process-section-title strong {
    font-size: clamp(2.12rem, 3.45vw, 4.49rem);
  }
  .process-content {
    gap: 0;
    padding-top: 46px;
    padding-bottom: 22px;
  }
  .process-main-group {
    gap: 10px;
  }
  .process-content h2 {
    max-width: none;
    font-size: 31px;
  }
  .process-lead {
    font-size: 0.9rem;
    line-height: 1.32;
  }
  .process-grid {
    gap: 0;
    margin-top: 9px;
  }
  .process-card {
    min-height: 188px;
    padding: 24px 14px 44px;
  }
  .process-card::before {
    left: 50%;
    right: auto;
    top: 2px;
    font-size: clamp(10.15rem, 14.66vw, 17.45rem);
  }
  .process-step-badge {
    top: auto;
    left: auto;
    min-width: 0;
    height: auto;
    margin-bottom: 7px;
    font-size: 0.67rem;
    line-height: 1.3;
  }
  .process-card-icon {
    width: 38px;
    height: 38px;
    left: 50%;
    right: auto;
    bottom: 10px;
  }
  .process-card h3 {
    max-width: 92%;
    margin-bottom: 4px;
    font-size: clamp(0.81rem, 0.99vw, 1.125rem);
    letter-spacing: 0.5px;
  }
  .process-card p {
    font-size: 0.69rem;
    letter-spacing: 0.35px;
    line-height: 1.11;
  }
  .process-notification {
    margin-top: 0;
    padding: 6px 14px;
    font-size: 0.67rem;
    line-height: 1.3;
  }
}

/* ═══════════════════════════════════════════════════════════════
   STEP 3 — CUSTOMIZER
   ═══════════════════════════════════════════════════════════════ */
#step-3.active {
  height: 100svh;
  overflow: hidden;
}
.customizer-layout {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(260px, 25fr) minmax(300px, 30fr);
  height: 100svh;
  min-height: 0;
  padding-right: 58px;
  overflow: hidden;
  background: #fff;
}
.customizer-pattern-column,
.customizer-control-column,
.customizer-preview-column {
  height: 100svh;
  min-width: 0;
  min-height: 0;
}
.customizer-pattern-column {
  display: flex;
  flex-direction: column;
  padding: 36px 24px 18px 34px;
  border-right: 3px solid var(--border-2);
  overflow: hidden;
}
.customizer-control-column {
  display: flex;
  flex-direction: column;
  padding: 36px 24px 24px;
  border-right: 3px solid var(--border-2);
  overflow: hidden;
}
.customizer-preview-column {
  display: flex;
  flex-direction: column;
  padding: 36px 34px 24px 24px;
  overflow: hidden;
}
.customizer-control-column #step2-next {
  display: none;
}
.panel-section { margin-bottom: 18px; }
.pattern-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 16px;
}
.panel-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.panel-title span {
  min-width: 0;
}
.panel-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.pattern-panel .panel-title,
.color-panel .panel-title,
.texture-panel .panel-title,
.preview-panel-title {
  color: #232323;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-weight: 800;
}
.pattern-panel .panel-title::after,
.color-panel .panel-title::after,
.texture-panel .panel-title::after,
.preview-panel-title::after {
  background: #232323;
}
.color-panel .panel-title {
  align-items: flex-start;
  line-height: 1.35;
  letter-spacing: 0.28em;
}
.color-panel .panel-title::after {
  margin-top: 0.42em;
}
.panel-description {
  margin: -8px 0 14px;
  color: #232323;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
}
.color-panel {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
}
.texture-panel {
  flex: 0 0 auto;
  margin: 21px 0 8px;
}
.category-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px;
}
.cat-tab {
  padding: 6px 14px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1.5px solid var(--border-2);
  color: var(--text-dim);
  border-radius: 20px;
  transition: var(--transition);
}
.cat-tab:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-bg);
}
.cat-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 92px));
  gap: 9px;
  align-content: start;
  justify-content: start;
}
.pattern-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}
.pattern-scroll::-webkit-scrollbar {
  width: 6px;
}
.pattern-scroll::-webkit-scrollbar-track {
  background: rgba(35,35,35,0.05);
}
.pattern-scroll::-webkit-scrollbar-thumb {
  background: rgba(35,35,35,0.22);
}
.pattern-card {
  border: 1.5px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  transition: var(--transition);
  background: var(--bg);
  cursor: pointer;
}
.pattern-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.pattern-card.selected {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}
.pattern-thumb {
  width: 100%; aspect-ratio: 1;
  background-color: #fff;
  position: relative; overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 85% 85%;
}
.thumb-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid rgba(35,35,35,0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: thumbSpin 0.72s linear infinite;
}
.thumb-error {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 1px;
  margin-left: -9px;
  background: rgba(35,35,35,0.24);
}
@keyframes thumbSpin {
  to { transform: rotate(360deg); }
}
.pattern-name {
  font-size: 0.62rem; font-weight: 700;
  color: #232323; padding: 7px 4px;
  letter-spacing: 0.08em; text-align: center; line-height: 1.2;
}
.pattern-card.selected .pattern-name { color: var(--accent-dark); font-weight: 600; }

/* Color mode toggle */
.color-mode-toggle {
  display: flex; border: 1.5px solid var(--border-2);
  border-radius: 0; overflow: hidden; width: 100%; margin-bottom: 12px;
}
.color-mode-btn {
  flex: 1 1 0;
  min-height: 31px;
  padding: 7px 9px; font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.1em; color: var(--text-dim); transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.color-mode-btn.active { background: var(--text); color: #fff; }

.combo-scroll {
  max-height: calc((30px * 15) + (6px * 14) + 2px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 7px;
}
.combo-scroll::-webkit-scrollbar {
  width: 6px;
}
.combo-scroll::-webkit-scrollbar-track {
  background: rgba(35,35,35,0.05);
}
.combo-scroll::-webkit-scrollbar-thumb {
  background: rgba(35,35,35,0.26);
}
.combo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 90px);
  gap: 4px;
  justify-content: start;
}
.combo-card {
  width: 90px;
  height: 32px;
  border: 1.5px solid var(--border); border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 44px 46px;
  align-items: stretch;
  transition: var(--transition); background: var(--bg); cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}
.combo-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.combo-card.selected { border-color: var(--accent); background: var(--accent-bg); }
.combo-code {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #232323;
  color: #fff;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.combo-swatches {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  min-width: 0;
  box-sizing: border-box;
}
.combo-swatch {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid rgba(35,35,35,0.1);
}
.color-important-note {
  margin: auto 0 0;
  padding: 8px 10px;
  background: #ff0000;
  color: #fff;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.45;
  text-transform: uppercase;
}
.color-important-note strong {
  font-weight: 800;
}

/* Custom color swatches */
.custom-color-layout {
  height: calc((32px * 15) + (6px * 14) + 2px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
  box-sizing: border-box;
}
.custom-color-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
  border: 1px solid var(--accent);
  padding: 16px;
}
.color-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.58rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #232323; margin-bottom: 10px;
}
.color-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #232323;
}
.custom-color-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0;
}
.custom-color-scroll::-webkit-scrollbar {
  width: 5px;
}
.custom-color-scroll::-webkit-scrollbar-track {
  background: rgba(35,35,35,0.04);
}
.custom-color-scroll::-webkit-scrollbar-thumb {
  background: rgba(108,132,97,0.38);
}
.color-swatch-grid {
  display: grid;
  grid-template-columns: repeat(12, 25px);
  gap: 3px;
  justify-content: space-between;
  align-content: start;
}
.custom-color-section .color-swatch {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  max-width: 25px;
  max-height: 25px;
  aspect-ratio: 1 / 1;
  border-radius: 999px !important;
  border: 2px solid transparent;
  padding: 0;
  position: relative;
  transition: var(--transition);
  outline: 0;
  box-shadow: 0 0 0 0 transparent;
  appearance: none;
  -webkit-appearance: none;
  background-clip: padding-box;
  justify-self: center;
  align-self: center;
}
.custom-color-section .color-swatch:hover {
  transform: scale(1.04);
  border-color: var(--border-2);
}
.custom-color-section .color-swatch.selected {
  transform: scale(1.04);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px #fff;
}
.floating-swatch-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: min(240px, calc(100vw - 16px));
  background: #232323;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  padding: 5px 9px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.floating-swatch-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

/* Texture picker */
.texture-picker { display: grid; gap: 8px; }
.texture-select-wrap {
  display: grid;
  gap: 5px;
}
.texture-select-label {
  color: var(--text-faint);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.texture-select {
  width: 100%;
  height: 36px;
  border: 1.5px solid var(--border-2);
  border-radius: 0;
  background: #fff;
  color: #232323;
  padding: 0 10px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.texture-select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.texture-selected-preview {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 32px;
}
.texture-preview-thumb {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--border);
  background-color: var(--bg-3);
  flex: 0 0 auto;
}
.texture-preview-thumb.no-texture {
  border-style: dashed;
  background-image: none;
}
.texture-preview-text {
  color: var(--text-dim);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.texture-btn {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 7px 8px; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
  min-width: 58px; font-size: 0.56rem; font-weight: 500;
  color: var(--text-dim); letter-spacing: 0.06em;
}
.texture-btn:hover { border-color: var(--border-2); }
.texture-btn.selected { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-bg); }
.texture-thumb {
  width: 30px; height: 30px; border-radius: var(--radius);
  background: var(--bg-3); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--text-faint);
}
.texture-thumb.no-texture { border: 1.5px dashed var(--border-2); background: transparent; }

/* Right preview */
.preview-panel-title {
  flex: 0 0 auto;
}
.preview-container {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #232323;
  padding: 5px;
}
#preview-svg-layer {
  position: absolute;
  inset: 5px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: background 0.3s ease;
}
#preview-texture-layer {
  position: absolute; inset: 5px; pointer-events: none;
}
.preview-label {
  display: none;
}
.preview-label-inner {
  background: #232323;
  border: 1px solid #232323; padding: 6px 14px; font-size: 0.58rem;
  font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; border-radius: 0;
}
.preview-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--text-faint); pointer-events: none;
}
.preview-placeholder-icon {
  width: 52px; height: 52px; border: 1.5px dashed var(--border-2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; opacity: 0.4;
}
.preview-placeholder p {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  display: none;
}
.preview-wallpaper-btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.preview-footer {
  padding: 10px 0 0;
  border-top: 0;
  background: var(--bg);
}
.preview-selection-info {
  font-size: 0.7rem; color: var(--text-dim); margin-bottom: 9px; min-height: 20px;
}
.preview-info-grid {
  display: grid;
  gap: 6px;
}
.preview-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}
.preview-info-row span {
  color: #232323;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.preview-info-row strong {
  color: #232323;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-info-value.with-dot {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}
.preview-info-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1px solid rgba(35,35,35,0.15);
  border-radius: 50%;
}
.design-detail-preview {
  position: relative;
  flex: 1 1 auto;
  min-height: 112px;
  margin-top: 10px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #232323;
  padding: 5px;
}
#detail-svg-layer,
#detail-texture-layer {
  position: absolute;
  inset: 5px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 3000px 3000px;
}
#detail-texture-layer {
  pointer-events: none;
}
.design-detail-label {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: #fff;
  color: #232323;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 4 — MOCKUP
   ═══════════════════════════════════════════════════════════════ */
.mockup-screen { padding: 48px 56px; max-width: 1100px; margin: 0 auto; }
.screen-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600;
  color: var(--text); margin-bottom: 6px; letter-spacing: 0;
}
.screen-title em { font-style: italic; font-weight: 300; color: var(--accent-dark); }
.screen-subtitle {
  font-size: 0.82rem; color: var(--text-dim); margin-bottom: 32px; font-weight: 300;
}
.mockup-tabs {
  display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1.5px solid var(--border);
}
.mockup-tab-btn {
  padding: 10px 24px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim); border-bottom: 2px solid transparent;
  margin-bottom: -1.5px; transition: var(--transition);
}
.mockup-tab-btn.active { color: var(--text); border-bottom-color: var(--text); }
.mockup-tab-btn:hover { color: var(--text); }
.mockup-view { display: none; }
.mockup-view.active { display: block; }
.room-scene {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #F0EBE5; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.room-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 28%;
  background: linear-gradient(180deg, #E8E0D8 0%, #DDD5CB 100%);
}
.room-wall-area { position: absolute; top: 0; left: 0; right: 0; bottom: 28%; overflow: hidden; }
#mockup-wall { position: absolute; inset: 0; background-repeat: repeat; transition: background 0.3s ease; }
#mockup-wall-texture { position: absolute; inset: 0; background-repeat: repeat; pointer-events: none; }
.room-furniture { position: absolute; bottom: 0; left: 0; right: 0; pointer-events: none; }
.room-sofa {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 44%; height: 15%; background: #D8CFC6; border-radius: 6px 6px 0 0;
}
.room-sofa::before {
  content: ''; position: absolute; top: -30%; left: 5%; right: 5%;
  height: 35%; background: #E0D8CF; border-radius: 4px 4px 0 0;
}
.room-side-table {
  position: absolute; bottom: 0; right: 28%; width: 8%; height: 12%;
  background: #C8BFB5; border-radius: 2px;
}
.room-lamp {
  position: absolute; bottom: 12%; right: 27%; width: 3%; height: 22%;
}
.room-lamp::before {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 75%; background: #B8AFA5;
}
.room-lamp::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-bottom: 20px solid #C8BFB5;
}
.room-picture {
  position: absolute; top: 15%; left: 12%; width: 10%; aspect-ratio: 3/4;
  background: #E8E0D8; border: 1px solid rgba(35,35,35,0.08);
}
.room-shelf {
  position: absolute; top: 10%; right: 10%; width: 14%; height: 3px; background: #C8BFB5;
}
.flat-preview-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.flat-preview-panel {
  aspect-ratio: 3/4; position: relative; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
#mockup-flat-bg { position: absolute; inset: 0; background-repeat: repeat; transition: background 0.3s ease; }
#mockup-flat-texture { position: absolute; inset: 0; background-repeat: repeat; pointer-events: none; }
.flat-preview-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px 14px;
  background: linear-gradient(0deg, rgba(255,255,255,0.7) 0%, transparent 100%);
}
.flat-preview-label p {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-dim);
}
.mockup-selection-info { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.info-chip {
  display: flex; align-items: center; gap: 6px; padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 20px; font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.06em; background: var(--bg-2);
}
.info-label { color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; }
.info-color-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(35,35,35,0.1); flex-shrink: 0; }
.mockup-actions { display: flex; gap: 12px; margin-top: 32px; }

#step-4.active {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}
.mockup-screen {
  height: 100svh;
  max-width: none;
  margin: 0;
  padding: 3px 74px 3px 3px;
  overflow: hidden;
}
.mockup-screen > .screen-title,
.mockup-screen > .screen-subtitle,
.mockup-screen > #mockup-selection-info,
.mockup-screen > .mockup-tabs,
.mockup-screen > .mockup-view,
.mockup-screen > .mockup-actions {
  display: none;
}
.mockup-main {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 70fr) minmax(320px, 30fr);
  gap: 3px;
  background: var(--border-2);
  overflow: hidden;
}
.mockup-room-column,
.mockup-sidebar {
  min-width: 0;
  min-height: 0;
  background: var(--bg);
  overflow: hidden;
}
.mockup-room-column {
  display: flex;
  flex-direction: column;
  padding: 34px 34px 22px;
}
.mockup-panel-title {
  color: #232323;
  font-weight: 800;
  margin-bottom: 16px;
}
.mockup-panel-title::after {
  background: #232323;
}
.mockup-stage {
  --mockup-ratio: 3 / 4;
  --mockup-ratio-value: 1.333333;
  position: relative;
  width: 100%;
  max-height: calc(100svh - 82px);
  aspect-ratio: var(--mockup-ratio);
  margin: 0;
  overflow: hidden;
  background: #f3f0ec;
  border: 1px solid #d7d7d7;
}
.mockup-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 1px solid rgba(35,35,35,0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.82);
  transition: opacity 140ms ease;
  animation: thumbSpin 0.72s linear infinite;
}
.mockup-stage.mockup-loading::after {
  opacity: 1;
}
.mockup-wall-layer,
.mockup-wall-texture {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-position: top left;
}
.mockup-wall-layer { z-index: 1; }
.mockup-wall-texture {
  z-index: 2;
  pointer-events: none;
}
.mockup-shadow-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  pointer-events: none;
}
.mockup-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.mockup-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 72px;
}
.mockup-copy {
  margin-bottom: 21px;
  background: #232323;
  padding: 11px;
}
.mockup-kicker {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mockup-scene-select-wrap {
  display: grid;
  gap: 8px;
  gap: 0;
  margin: 0;
}
.mockup-scene-select-wrap span {
  color: var(--text-faint);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.mockup-stage .mockup-scene-select-wrap span {
  display: none;
}
.mockup-scene-select {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--border);
  appearance: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(45deg, transparent 50%, #232323 50%),
    linear-gradient(135deg, #232323 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: #232323;
  padding: 0 34px 0 13px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: none;
  border-radius: 0;
}
.mockup-heading {
  color: #fff;
  font-size: clamp(0.94rem, 1.71vw, 1.88rem);
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: left;
}
.mockup-heading span,
.mockup-heading strong { display: inline; }
.mockup-heading span { font-weight: 300; }
.mockup-heading strong {
  font-weight: 800;
  margin-left: 0.18em;
}
.mockup-description {
  max-width: 440px;
  margin-top: 7px;
  color: #232323;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mockup-scene-section .mockup-description {
  margin: 11px 0 0;
  max-width: none;
  color: #232323;
  font-family: 'Source Sans 3', 'Source Sans Pro', var(--font);
  font-size: 0.765rem;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.5;
  text-transform: uppercase;
}
.mockup-scene-section .mockup-scene-select-wrap { margin-top: 0; }
.mockup-side-section { margin-bottom: 18px; }
.mockup-side-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 21px;
  border: 1px solid rgba(35,35,35,0.16);
  padding: 21px;
}
.mockup-side-group .mockup-side-section {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mockup-side-group .mockup-side-section:not(:last-child) {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
}
.mockup-side-group .mockup-side-section:not(:last-child)::after {
  content: none;
}
.mockup-scene-section,
.mockup-repeat-section,
.mockup-details-section {
  border: 1px solid rgba(35,35,35,0.16);
  padding: 20px 20px 21px;
  display: flex;
  flex-direction: column;
}
.mockup-scene-section {
  margin-top: 14px;
}
.mockup-side-title {
  color: #232323;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-weight: 800;
  margin-bottom: 11px;
  font-size: 0.62rem;
}
.mockup-side-title::after {
  background: #232323;
}
.mockup-scene-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.mockup-scene-btn {
  min-height: 38px;
  border: 1px solid var(--border-2);
  color: #232323;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
}
.mockup-scene-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.mockup-details-section .mockup-selection-info {
  display: grid;
  gap: 0;
  margin: 0;
}
.mockup-detail-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
  border-bottom: 1px solid var(--border);
  color: #232323;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mockup-detail-row:first-child { border-top: 1px solid var(--border); }
.mockup-detail-label {
  font-weight: 700;
  letter-spacing: 0.16em;
}
.mockup-detail-value {
  justify-self: end;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}
.mockup-detail-value.with-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mockup-detail-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(35,35,35,0.15);
  flex: 0 0 13px;
}
.mockup-note {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.mockup-stage .mockup-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 9;
  margin: 0;
}
.mockup-note-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff0000;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.mockup-note p {
  position: absolute;
  left: 32px;
  bottom: 0;
  width: min(310px, calc(100vw - 80px));
  padding: 8px 10px;
  background: #ff0000;
  color: #fff;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 20;
}
.mockup-stage .mockup-note p {
  left: auto;
  right: 0;
  bottom: 32px;
  width: min(330px, calc(100vw - 120px));
}
.mockup-note:hover p,
.mockup-note:focus-within p {
  opacity: 1;
  transform: translateY(0);
}
.mockup-note strong {
  font-weight: 800;
}
.mockup-sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 0;
}
.mockup-micro-menu {
  justify-content: flex-start;
  margin-bottom: 16px;
}
.mockup-repeat-description {
  color: #232323;
  font-family: 'Source Sans 3', 'Source Sans Pro', var(--font);
  font-size: 0.765rem;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 11px 0 0;
}
.mockup-repeat-description strong { font-weight: 800; }
.mockup-repeat-select-wrap {
  display: block;
}
.mockup-repeat-select {
  width: 100%;
  height: 38px;
  border: 2px solid var(--accent);
  appearance: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(45deg, transparent 50%, #232323 50%),
    linear-gradient(135deg, #232323 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: #232323;
  padding: 0 34px 0 13px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  border-radius: 0;
}
.mockup-actions.mockup-real-actions {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 0;
}
.mockup-actions.mockup-real-actions .btn-primary,
.mockup-actions.mockup-real-actions .btn-secondary {
  flex: 1 1 0;
  justify-content: center;
  padding-inline: 14px;
  white-space: nowrap;
}
.mockup-footer-signature {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  align-self: auto;
  max-width: 100%;
  padding-top: 0;
  justify-content: center;
  font-size: clamp(0.46rem, 0.42vw, 0.58rem);
  letter-spacing: 0.09em;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 5 — FORM
   ═══════════════════════════════════════════════════════════════ */
#step-5.active {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}
.quote-layout {
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(108px, 10fr) minmax(230px, 20fr) minmax(0, 70fr);
  gap: 0;
  padding-right: 58px;
  background: #fff;
  overflow: hidden;
}
.quote-slide-column,
.quote-summary-column,
.quote-form-column {
  min-width: 0;
  min-height: 0;
  background: #fff;
}
.quote-slide-column {
  position: relative;
  overflow: hidden;
  border-right: 3px solid #232323;
}
.quote-static-visual {
  position: absolute;
  inset: 5px;
  overflow: hidden;
  background: #fff;
}
.quote-static-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.quote-summary-column {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 24px;
  border-right: 3px solid var(--border-2);
}
.quote-summary-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(35,35,35,0.16);
  padding: 16px;
  background: #fff;
}
.quote-panel-title {
  color: #232323;
  margin-bottom: 14px;
}
.quote-panel-title::after {
  background: #232323;
}
.form-summary {
  flex: 0 0 auto;
  min-height: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
.quote-summary-back {
  width: min(150px, 100%);
  margin: 33px auto 0;
  padding: 12px 18px;
  justify-content: center;
  font-size: 0.58rem;
}
.quote-summary-preview {
  aspect-ratio: 1 / 1;
  border: 1.5px solid #232323;
  padding: 5px;
  background: #fff;
}
.quote-summary-preview.empty {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
}
.quote-summary-preview-inner {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.quote-summary-details {
  display: grid;
  gap: 0;
}
.quote-summary-row {
  min-height: 28px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #232323;
}
.quote-summary-row:first-child {
  border-top: 1px solid var(--border);
}
.quote-summary-row span {
  font-weight: 700;
}
.quote-summary-row strong {
  justify-self: end;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quote-summary-row .with-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.quote-summary-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(35,35,35,0.16);
}
.quote-summary-important-note {
  flex: 0 0 auto;
  margin: 10px 0 0;
  padding: 8px 10px;
  background: #ff0000;
  color: #fff;
  text-align: center;
  font-size: 0.56rem;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.quote-summary-important-note strong {
  font-weight: 800;
}
.quote-summary-empty {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.quote-summary-empty strong {
  max-width: 260px;
  font-family: var(--font);
  font-size: clamp(1.56rem, 2.16vw, 2.58rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quote-summary-empty span {
  max-width: 210px;
  font-size: 0.58rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote-summary-empty .btn-primary {
  width: 100%;
  max-width: 220px;
  padding: 12px 14px;
  border: 2px solid #fff;
  border-radius: 0;
  justify-content: center;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}
.quote-form-bottom {
  flex: 0 0 auto;
  padding-top: 10px;
}
.quote-important-note {
  display: flex;
  justify-content: center;
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  margin: 0 auto 11px;
  max-width: 100%;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.quote-important-note strong {
  font-weight: 800;
}
.quote-micro-menu {
  justify-content: center;
}
.quote-form-column {
  display: flex;
  flex-direction: column;
  padding: 34px 38px 24px;
  overflow: hidden;
}
.quote-form-header {
  flex: 0 0 auto;
  margin-bottom: 12px;
}
.quote-title {
  color: #232323;
  font-size: clamp(2.4rem, 3.6vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: 0;
}
.quote-title span {
  font-weight: 800;
}
.quote-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 300;
}
.quote-form-header p {
  margin-top: 8px;
  max-width: 720px;
  color: #232323;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}
.quote-progress {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 8px 0 16px;
}
.quote-progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: #232323;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.quote-progress-step::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--border);
}
.quote-progress-step span {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-2);
  border-radius: 50%;
  font-weight: 800;
}
.quote-progress-step.active span {
  background: #232323;
  border-color: #232323;
  color: #fff;
}
.quote-progress-step.completed span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.quote-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.quote-step-panel {
  display: none;
  flex: 1 1 auto;
  min-height: 0;
}
.quote-step-panel.active {
  display: flex;
  flex-direction: column;
}
.form-divider {
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 5px 0 10px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sample-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.sample-option {
  position: relative;
  min-height: 122px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  padding: 12px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  cursor: pointer;
}
.sample-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sample-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.sample-icon {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border-2);
  display: grid;
  place-items: center;
}
.sample-icon::after {
  content: "";
  width: 14px;
  height: 22px;
  border: 1.5px solid var(--border-2);
}
.sample-icon-large::after {
  width: 18px;
  height: 28px;
}
.sample-icon-mockup::after {
  width: 24px;
  height: 16px;
  background: var(--border);
}
.sample-svg-icon {
  width: 48px;
  height: 48px;
  display: inline-block;
  background: #232323;
  -webkit-mask: var(--sample-icon) center / contain no-repeat;
  mask: var(--sample-icon) center / contain no-repeat;
}
.sample-option strong {
  font-size: 0.68rem;
  color: #232323;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.sample-meta {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.sample-size {
  color: #232323;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}
.sample-option em {
  color: var(--accent);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}
.quote-only-option {
  position: relative;
  min-height: 44px;
  margin: 0 0 7px;
  padding: 10px 14px 10px 12px;
  display: grid;
  grid-template-columns: 32px minmax(0, max-content) minmax(0, 1fr);
  align-items: center;
  gap: 8px 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: #232323;
  cursor: pointer;
}
.quote-only-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quote-only-icon {
  width: 27px;
  height: 27px;
  display: inline-block;
  background: #232323;
  -webkit-mask: var(--sample-icon) center / contain no-repeat;
  mask: var(--sample-icon) center / contain no-repeat;
}
.quote-only-option .quote-only-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}
.quote-only-option small {
  justify-self: end;
  color: var(--text-dim);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: right;
}
.quote-only-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.quote-only-option:has(input:checked) .quote-only-label {
  color: #232323;
}
.quote-only-option:has(input:checked) .quote-only-icon {
  background: #232323;
}
.quote-inline-controls,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.form-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #232323;
}
.form-input,
.form-select {
  width: 100%;
  height: 38px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: #232323;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 0;
  outline: none;
  transition: var(--transition);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23232323' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 8px;
  cursor: pointer;
}
.form-input:focus,
.form-select:focus {
  border-color: var(--accent);
}
textarea.form-input {
  height: 58px;
  min-height: 58px;
  padding-top: 10px;
  line-height: 1.45;
  resize: none;
}
.wall-measurements {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.unit-toggle-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 8px;
}
.unit-toggle-preview {
  min-height: 54px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 8px 7px;
  border: 1px solid var(--border);
  background: #fff;
}
.unit-preview-label {
  color: #232323;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.unit-preview-track {
  position: relative;
  width: 96px;
  height: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.unit-preview-track::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.unit-preview-track b {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #232323;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.unit-preview-track b:first-child {
  color: #fff;
}
.unit-preview-switch .unit-preview-track {
  padding: 0 4px;
  background: color-mix(in srgb, #232323 13%, #fff);
  border-radius: 999px;
}
.unit-preview-switch .unit-preview-track::after {
  left: 4px;
  top: 4px;
  width: 42px;
  height: 16px;
  background: #232323;
  border-radius: 999px;
}
.unit-preview-block .unit-preview-track {
  width: 104px;
  height: 26px;
  border: 1.5px solid #232323;
}
.unit-preview-block .unit-preview-track::after {
  left: 0;
  top: 0;
  width: 52px;
  height: 100%;
  background: var(--accent);
}
.unit-preview-line .unit-preview-track {
  width: 104px;
  height: 26px;
  border-bottom: 1.5px solid #232323;
}
.unit-preview-line .unit-preview-track::after {
  left: 0;
  bottom: -1.5px;
  width: 52px;
  height: 4px;
  background: var(--accent);
}
.unit-preview-line .unit-preview-track b,
.unit-preview-line .unit-preview-track b:first-child {
  color: #232323;
}
.unit-preview-soft .unit-preview-track {
  width: 106px;
  height: 26px;
  padding: 0 5px;
  background: rgba(35,35,35,0.08);
  border: 1px solid rgba(35,35,35,0.08);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.85);
}
.unit-preview-soft .unit-preview-track::after {
  left: 5px;
  top: 5px;
  width: 43px;
  height: 16px;
  background: #232323;
  border-radius: 999px;
}
.measurement-unit-toggle {
  width: 100%;
  min-height: 42px;
  margin: 8px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 10px 6px 12px;
  border: 1.5px solid var(--border);
  background: var(--bg-2);
  border-radius: 0;
}
.measurement-unit-toggle > span {
  padding: 0;
  color: #232323;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.unit-switch-track {
  position: relative;
  width: 116px;
  height: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 4px;
  background: color-mix(in srgb, #232323 13%, #fff);
  border-radius: 999px;
}
.unit-switch-track::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 50px;
  height: 20px;
  background: #232323;
  border-radius: 999px;
  transition: transform 0.18s ease;
}
.unit-switch-track:has(input[value="INCH"]:checked)::after {
  transform: translateX(58px);
}
.measurement-unit-toggle.is-inch .unit-switch-track::after {
  transform: translateX(58px);
}
.measurement-unit-toggle label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  cursor: pointer;
}
.measurement-unit-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.measurement-unit-toggle b {
  min-width: 48px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #232323;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  transition: var(--transition);
}
.measurement-unit-toggle input:checked + b {
  color: #fff;
}
.measurement-unit-toggle.unit-toggle-block .unit-switch-track {
  width: 132px;
  height: 31px;
  padding: 0;
  background: #fff;
  border: 1.5px solid #232323;
  border-radius: 0;
}
.measurement-unit-toggle.unit-toggle-block .unit-switch-track::after {
  left: 0;
  top: 0;
  width: 66px;
  height: 100%;
  background: var(--accent);
  border-radius: 0;
}
.measurement-unit-toggle.unit-toggle-block .unit-switch-track:has(input[value="INCH"]:checked)::after {
  transform: translateX(66px);
}
.measurement-unit-toggle.unit-toggle-block.is-inch .unit-switch-track::after {
  transform: translateX(66px);
}
.measurement-unit-toggle.unit-toggle-block b {
  min-width: 66px;
  height: 31px;
}
.measurement-unit-toggle.unit-toggle-line .unit-switch-track {
  width: 132px;
  height: 30px;
  padding: 0;
  background: transparent;
  border-bottom: 1.5px solid #232323;
  border-radius: 0;
}
.measurement-unit-toggle.unit-toggle-line .unit-switch-track::after {
  left: 0;
  top: auto;
  bottom: -1.5px;
  width: 66px;
  height: 4px;
  background: var(--accent);
  border-radius: 0;
}
.measurement-unit-toggle.unit-toggle-line .unit-switch-track:has(input[value="INCH"]:checked)::after {
  transform: translateX(66px);
}
.measurement-unit-toggle.unit-toggle-line.is-inch .unit-switch-track::after {
  transform: translateX(66px);
}
.measurement-unit-toggle.unit-toggle-line b {
  min-width: 66px;
  height: 30px;
}
.measurement-unit-toggle.unit-toggle-line input:checked + b {
  color: #232323;
}
.measurement-unit-toggle.unit-toggle-soft .unit-switch-track {
  width: 144px;
  height: 31px;
  padding: 0 5px;
  background: #fff;
  border: 1.5px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.75);
}
.measurement-unit-toggle.unit-toggle-soft .unit-switch-track::after {
  left: 5px;
  top: 5px;
  width: 64px;
  height: 19px;
  background: #232323;
}
.measurement-unit-toggle.unit-toggle-soft .unit-switch-track:has(input[value="INCH"]:checked)::after {
  transform: translateX(69px);
}
.measurement-unit-toggle.unit-toggle-soft.is-inch .unit-switch-track::after {
  transform: translateX(69px);
}
.measurement-unit-toggle.unit-toggle-soft b {
  min-width: 64px;
  height: 31px;
}
.materials-info-panel {
  margin: 4px 0 12px;
  border: 0;
  background: #fff;
}
.materials-spec-bar {
  min-height: 28px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #232323;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.materials-info-body {
  display: block;
  padding: 4px 0 0;
}
.materials-info-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.material-card {
  display: grid;
  gap: 5px;
  padding: 7px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-align: center;
}
.material-card.is-default {
  border: 2px dashed var(--accent);
}
.material-card-category {
  color: color-mix(in srgb, #232323 18%, #fff);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.material-card-code {
  display: block;
  padding: 6px 5px;
  background: #232323;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.material-card-thumb {
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--border);
  background:
    linear-gradient(135deg, rgba(35,35,35,0.05), rgba(35,35,35,0)),
    color-mix(in srgb, var(--accent) 10%, #f7f5f1);
  background-position: center;
  background-size: cover;
}
.material-card-caption {
  color: #232323;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}
.material-guide-note {
  width: 90%;
  margin: 2px auto 12px;
  color: #232323;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}
.material-guide-note-bottom {
  margin: 10px auto 0;
}
.material-guide-note a {
  color: #232323;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.material-guide-note strong {
  font-weight: 800;
}
.materials-info-copy {
  display: grid;
  gap: 9px;
  justify-items: center;
  text-align: center;
}
.materials-info-copy h4 {
  margin: 0;
  color: #232323;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.material-default-note {
  margin: 0;
  padding: 6px 8px;
  border: 1.5px dashed var(--accent);
  color: #232323;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}
.material-default-note strong {
  font-weight: 900;
}
.materials-info-copy p:not(.material-default-note) {
  max-width: 260px;
  margin: 0;
  color: #232323;
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.45;
}
.materials-info-copy a {
  min-width: 146px;
  padding: 9px 16px;
  border: 1.5px solid #232323;
  color: #232323;
  background: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.wall-row {
  display: grid;
  grid-template-columns: 82px minmax(140px, 1.16fr) minmax(80px, 0.92fr) minmax(80px, 0.92fr) 104px;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 0;
  border: 1.5px solid var(--border);
  background: var(--bg-2);
  min-height: 48px;
}
.wall-row.optional {
  opacity: 1;
  grid-template-columns: 82px minmax(140px, 1.16fr) minmax(80px, 0.92fr) minmax(80px, 0.92fr) 104px;
}
.wall-row span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #232323;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wall-row.optional > span {
  background: #e7e7e7;
  color: #232323;
}
.wall-row.optional.has-value > span {
  background: #232323;
  color: #fff;
}
.wall-material-select {
  font-size: 0.72rem;
}
.measurement-input {
  position: relative;
  display: block;
}
.measurement-input .form-input {
  width: 100%;
  padding-right: 34px;
  text-align: right;
}
.measurement-input span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #232323;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
}
.measurement-input.has-value span {
  opacity: 1;
}
.measurement-input span[data-unit-label] {
  align-self: auto;
  display: block;
  justify-content: initial;
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #232323;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.wall-row > .form-input {
  text-align: right;
}
.wall-remove-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-2);
  background: #fff;
  color: #232323;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}
.wall-remove-btn:hover {
  border-color: #232323;
  background: #232323;
  color: #fff;
}
.wall-actions {
  display: flex;
  justify-content: flex-end;
}
.wall-helper-row {
  display: block;
  margin-top: 7px;
}
.wall-production-note {
  margin: 0 auto;
  text-align: center;
}
.measurement-help-note {
  width: 100%;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}
.measurement-help-note a,
.measurement-help-note strong {
  color: var(--accent);
}
.quote-checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 10px;
  color: #232323;
  font-size: 0.72rem;
  line-height: 1.45;
}
.quote-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.quote-form-actions {
  display: flex;
  gap: 7px;
  align-items: stretch;
  margin-top: auto;
  padding-top: 12px;
}
.quote-form-actions .btn-primary,
.quote-form-actions .btn-secondary,
.quote-form-actions .form-submit-btn {
  flex: 1 1 0;
  justify-content: center;
}
.form-submit-btn {
  background: #232323;
  color: #fff;
  padding: 14px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  transition: var(--transition);
  border-radius: 0;
}
.form-submit-btn:hover:not(:disabled) {
  background: var(--accent-dark);
}
.form-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.form-disclaimer {
  font-size: 0.81rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}
.form-hidden { display: none; }

#step-5 .quote-form-column {
  padding: 30px 38px 18px;
  align-items: center;
}
#step-5 .quote-form-header {
  width: min(1120px, calc(100% - 48px));
  margin: 10px auto 8px;
  text-align: center;
}
.quote-kicker {
  width: 100%;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--accent);
  font-family: 'Google Sans Code', 'Source Code Pro', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.40em;
  text-transform: uppercase;
  text-align: center;
}
.quote-kicker::before,
.quote-kicker::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
#step-5 .quote-main-title {
  margin: 0;
  color: #232323;
  font-size: clamp(0.95rem, 1.84vw, 2.27rem);
  line-height: 1;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 500;
}
#step-5 .quote-main-title span {
  font-weight: 500;
}
#step-5 .quote-main-title strong {
  font-weight: 500;
}
#step-5 .quote-intro {
  max-width: none;
  margin: 8px auto 0;
  color: #232323;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: clamp(0.58rem, 0.7vw, 0.72rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  white-space: nowrap;
}
#step-5 .quote-form-header,
#step-5 .quote-form-bottom,
#step-5 .quote-form {
  width: min(1170px, calc(100% - 24px));
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
}
#step-5 .quote-form {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin-bottom: 71px;
  max-height: none;
  border: 0;
  padding: 0 5px 16px;
  --quote-scroll-progress: 0%;
  background: #fff;
  display: block;
  scrollbar-width: none;
}
#step-5 .quote-form::before {
  content: "";
  position: sticky;
  top: 0;
  z-index: 25;
  display: block;
  width: 100%;
  height: 3px;
  margin: 0 0 10px;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / var(--quote-scroll-progress) 100% no-repeat,
    linear-gradient(rgba(35,35,35,0.14), rgba(35,35,35,0.14)) left top / 100% 100% no-repeat;
}
#step-5 .quote-form::-webkit-scrollbar {
  width: 0;
  height: 0;
}
#step-5 .quote-form::-webkit-scrollbar-thumb {
  background: transparent;
}
#step-5 .quote-progress {
  display: none;
}
#step-5 .quote-step-panel,
#step-5 .quote-step-panel.active {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: auto;
}
#step-5 .quote-step-panel + .quote-step-panel {
  margin-top: 10px;
}
#step-5 .quote-step-panel[data-quote-panel="1"] > .quote-form-actions {
  display: none;
}
#step-5 .form-divider {
  margin: 13px 0 5px;
  gap: 10px;
  color: #232323;
  font-size: 0.77rem;
  letter-spacing: 0.22em;
}
#step-5 .form-divider::before {
  content: attr(data-section-number);
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #232323;
  border: 1.5px solid #232323;
  color: #fff;
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}
#step-5 .form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #232323;
}
#step-5 .form-divider-experiment {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
#step-5 .form-divider-experiment::before {
  order: 1;
  flex: 0 0 34px;
  width: 34px;
  height: 32px;
  border-radius: 0;
  letter-spacing: 0.08em;
}
#step-5 .form-divider-experiment::after {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}
#step-5 .form-divider-experiment .form-divider-label {
  order: 3;
  margin-left: 0;
  color: #232323;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  white-space: nowrap;
  text-align: right;
}
#step-5 .form-section-note {
  width: 100%;
  max-width: none;
  margin: 2px 0 12px 0;
  color: var(--text-dim);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
#step-5 .sample-intro-note {
  color: #232323;
  font-weight: 500;
}
#step-5 .quote-step-panel[data-quote-panel="1"] > .form-divider:first-child {
  margin-bottom: 17px;
}
#step-5 .sample-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}
#step-5 .sample-option {
  min-height: 218px;
  padding: 22px 24px 20px;
  align-content: start;
  justify-items: center;
  gap: 5px;
  text-align: center;
}
#step-5 .sample-svg-icon {
  position: relative;
  top: auto;
  left: auto;
  width: 61px;
  height: 61px;
  display: block;
  background: #232323;
  -webkit-mask: var(--sample-icon) center / contain no-repeat;
  mask: var(--sample-icon) center / contain no-repeat;
}
#step-5 .sample-svg-icon::after {
  content: none;
}
#step-5 .sample-option strong,
#step-5 .sample-option .sample-meta,
#step-5 .sample-option .sample-size,
#step-5 .sample-option small {
  justify-self: center;
  width: 100%;
  text-align: center;
}
#step-5 .sample-option small {
  color: var(--text-dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.65;
  font-weight: 400;
}
#step-5 .sample-option strong {
  font-family: 'Indie Flower', cursive;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}
#step-5 .sample-option .sample-meta {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
#step-5 .sample-option .sample-size {
  font-size: 11px;
  letter-spacing: 0.04em;
}
#step-5 .sample-option.sample-option-small,
#step-5 .sample-option.sample-option-large {
  min-height: 218px;
  padding: 28px 34px 24px;
  grid-template-columns: minmax(0, 1fr) 78px;
  grid-template-areas:
    "title icon"
    "meta icon"
    "size icon"
    "rule rule"
    "desc desc";
  justify-items: stretch;
  align-content: start;
  column-gap: 18px;
  row-gap: 0;
  text-align: left;
}
#step-5 .sample-option.sample-option-small::before,
#step-5 .sample-option.sample-option-large::before {
  content: "";
  grid-area: rule;
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--border-2);
}
#step-5 .sample-option.sample-option-small .sample-svg-icon,
#step-5 .sample-option.sample-option-large .sample-svg-icon {
  grid-area: icon;
  justify-self: end;
  align-self: end;
  width: 72px;
  height: 72px;
}
#step-5 .sample-option.sample-option-small strong,
#step-5 .sample-option.sample-option-small .sample-meta,
#step-5 .sample-option.sample-option-small .sample-size,
#step-5 .sample-option.sample-option-large strong,
#step-5 .sample-option.sample-option-large .sample-meta,
#step-5 .sample-option.sample-option-large .sample-size {
  justify-self: stretch;
  text-align: left;
}
#step-5 .sample-option.sample-option-small strong,
#step-5 .sample-option.sample-option-large strong {
  grid-area: title;
  font-size: 18px;
  line-height: 1;
}
#step-5 .sample-option.sample-option-small .sample-meta,
#step-5 .sample-option.sample-option-large .sample-meta {
  grid-area: meta;
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1;
  margin-top: 3px;
}
#step-5 .sample-option.sample-option-small .sample-size,
#step-5 .sample-option.sample-option-large .sample-size {
  grid-area: size;
  color: #232323;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-top: 3px;
}
#step-5 .sample-option.sample-option-small small,
#step-5 .sample-option.sample-option-large small {
  grid-area: desc;
  justify-self: stretch;
  width: 100%;
  color: var(--text-dim);
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}
#step-5 .form-group,
#step-5 .measurement-input,
#step-5 .quote-checkbox,
#step-5 .sample-options,
#step-5 .quote-only-option {
  position: relative;
}
#step-5 .form-input.is-invalid,
#step-5 .form-select.is-invalid {
  border-color: #ff0000;
  box-shadow: inset 0 0 0 1px #ff0000;
}
#step-5 .measurement-input.is-invalid {
  outline: 1px solid #ff0000;
  outline-offset: 2px;
}
#step-5 .quote-checkbox.is-invalid,
#step-5 .sample-options.is-invalid,
#step-5 .quote-only-option.is-invalid {
  border-color: #ff0000;
  box-shadow: inset 0 0 0 1px #ff0000;
}
#step-5 .sample-options.is-invalid {
  outline: 1px solid #ff0000;
  outline-offset: 3px;
}
#step-5 .field-error-message {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 60;
  width: max-content;
  max-width: 230px;
  margin: 0;
  padding: 6px 8px;
  background: rgba(35, 35, 35, 0.92);
  color: #fff;
  font-family: 'Source Code Pro', 'Google Sans Code', monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(35,35,35,0.16);
}
#step-5 .field-error-message.is-visible {
  display: block;
}
#step-5 .field-error-message::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 100%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(35, 35, 35, 0.92);
}
#step-5 .sample-field-error {
  top: auto;
  bottom: calc(100% + 6px);
  left: 0;
  width: max-content;
  max-width: 320px;
  text-align: left;
}
#step-5 .sample-field-error::before {
  top: 100%;
  bottom: auto;
  border-top: 5px solid rgba(35, 35, 35, 0.92);
  border-bottom: 0;
}
#step-5 .sample-shared-note {
  margin: 9px 0 14px;
  color: #232323;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}
#step-5 .quote-step-panel[data-quote-panel="2"] > .form-section-note {
  color: #232323;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
#step-5 .quote-inline-controls {
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
}
#step-5 .wall-measurements {
  margin-top: 9px;
}
#step-5 .wall-row {
  grid-template-columns: 82px minmax(140px, 1.16fr) minmax(80px, 0.92fr) minmax(80px, 0.92fr) 104px;
}
#step-5 .wall-row.optional {
  grid-template-columns: 82px minmax(140px, 1.16fr) minmax(80px, 0.92fr) minmax(80px, 0.92fr) 104px;
}
.add-wall-btn {
  width: max-content;
  margin: 0;
  padding: 9px 14px;
  border: 1.5px solid var(--border-2);
  color: #232323;
  background: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.add-wall-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.add-wall-btn:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  border-color: var(--border);
  color: var(--text-faint);
}
.wall-add-mini {
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #232323;
  background: #232323;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
}
.wall-add-mini:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.wall-add-mini:disabled {
  background: #fff;
  color: var(--text-faint);
}
.quote-field-note {
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.64rem;
  line-height: 1.35;
  font-weight: 400;
}
.quote-field-notes {
  margin-top: 7px;
}
.quote-field-note a {
  color: #232323;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quote-field-note strong {
  font-weight: 800;
}
#step-5 .form-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 15px;
}
#step-5 textarea.form-input {
  height: 98px;
  min-height: 98px;
}
.quote-consent-group {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}
#step-5 .quote-checkbox {
  margin-top: 0;
  font-size: 0.64rem;
}
#step-5 .quote-checkbox strong {
  font-weight: 800;
}
#step-5 .quote-checkbox a {
  color: #232323;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#step-5 .newsletter-option {
  min-height: 38px;
  align-items: center;
  padding: 9px 10px;
  border: 1.5px solid var(--border);
  background: #fff;
}
#step-5 .newsletter-option span {
  color: var(--text-dim);
  font-size: 0.68rem;
  line-height: 1.35;
}
#step-5 .quote-form-actions {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
#step-5 .quote-form-bottom {
  flex: 0 0 auto;
  width: min(1170px, calc(100% - 24px));
  max-width: 1170px;
  margin: 0 auto 17px;
  padding-top: 0;
  text-align: center;
}
#step-5 .quote-important-note {
  display: flex;
  width: 100%;
  max-width: 100%;
  background: var(--accent);
  padding: 7px 16px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   STEP 6 — THANK YOU
   ═══════════════════════════════════════════════════════════════ */
.thankyou-layout {
  display: grid;
  grid-template-columns: minmax(320px, 40fr) minmax(0, 60fr);
  min-height: 100vh;
  background: #fff;
}
.thankyou-image-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 0 5px 0 5px;
  border-right: 3px solid var(--border-2);
}
.thankyou-image-frame {
  flex: 1 1 auto;
  min-height: 0;
  background-color: #f4f3ef;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-left: 0;
  overflow: hidden;
}
.thankyou-content-panel {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(36px, 4vw, 70px) clamp(52px, 6vw, 124px) 24px;
}
.thankyou-screen {
  flex: 1 1 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0; min-height: 0;
}
.thankyou-check {
  width: 81px; height: 81px; border: 1.5px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.82rem;
  color: var(--accent); margin-bottom: 22px;
  animation: checkAppear 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes checkAppear {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
.thankyou-kicker {
  margin: 0 0 16px;
  color: #232323;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.55em;
  line-height: 1.2;
  text-transform: uppercase;
}
.thankyou-title {
  font-size: clamp(1.2rem, 2.08vw, 2.47rem);
  font-weight: 500;
  letter-spacing: 0;
  margin: 11px 0 27px;
  line-height: 1.08;
  text-transform: none;
}
.thankyou-title em { font-style: italic; font-weight: 300; color: var(--accent-dark); }
.thankyou-name {
  color: #232323;
  font-family: 'Urbanist', sans-serif;
  font-size: 1em;
  font-weight: 300;
  line-height: inherit;
}
.thankyou-name:empty {
  display: none;
}
.thankyou-subtitle {
  width: 88%;
  max-width: 980px;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.75;
  letter-spacing: 1px;
  margin-bottom: 34px;
  font-weight: 400;
}
.thankyou-subtitle strong {
  color: #232323;
  font-weight: 800;
}
#step-6 .process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 94%;
  max-width: 1120px;
  margin-bottom: 30px;
  padding: 14px 0;
  border: 1px solid var(--border);
  text-align: left;
}
#step-6 .process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 182px;
  padding: 0 22px 18px;
}
#step-6 .process-step:not(:last-child) {
  border-right: 1px solid var(--border);
}
#step-6 .process-step-num {
  min-width: 0;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--accent) 50%, transparent);
  font-family: var(--font);
  font-size: 2.66rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 1px;
  -webkit-text-stroke: 0 transparent;
  text-stroke: 0 transparent;
}
#step-6 .process-step-text strong {
  display: block;
  color: #232323;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}
#step-6 .process-step-text span {
  color: var(--text-dim);
  font-family: 'Google Sans Code', 'Urbanist', monospace;
  font-size: clamp(0.57rem, 0.51vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.thankyou-explore {
  width: 100%;
  max-width: none;
  margin: 0 0 26px;
  color: #232323;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.75px;
  line-height: 1.7;
  text-transform: uppercase;
  white-space: nowrap;
}
.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.thankyou-actions .btn-secondary {
  min-width: 188px;
  justify-content: center;
}
.thankyou-footer {
  justify-content: center;
  flex: 0 0 auto;
  padding-top: 23px;
  gap: 0;
}
.thankyou-socials {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.thankyou-socials a {
  width: 44px;
  height: 44px;
}
.thankyou-socials .social-icon {
  width: 22px;
  height: 22px;
}
.thankyou-micro-menu {
  justify-content: center;
  margin-bottom: 12px;
}

/* ── Toast ──────────────────────────────────────────────────── */
#chroma-toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: var(--text); color: #fff;
  padding: 10px 22px; font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.06em; border-radius: var(--radius);
  opacity: 0; pointer-events: none; z-index: 9999; white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#chroma-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

button,
.btn-primary,
.btn-accent,
.btn-secondary,
.form-submit-btn,
.color-mode-toggle,
.combo-card,
.texture-btn {
  border-radius: 0 !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .welcome-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
  }
  .intro-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding-right: 0;
    overflow: visible;
  }
  .hero-right { display: none; }
  .metric-column { display: none; }
  .side-process { display: none; }
  .hero-left,
  .intro-layout .hero-left {
    min-height: 100svh;
    padding: 56px 28px 92px;
    justify-content: center;
  }
  .hero-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }
  .intro-layout .hero-title {
    font-size: clamp(2.35rem, 10.5vw, 4.5rem);
    line-height: 1;
  }
  .intro-layout .hero-title .accent-word {
    white-space: normal;
  }
  .intro-layout .hero-cta-group {
    margin-bottom: 36px;
  }
  .intro-footer {
    left: 28px;
    right: 28px;
    bottom: 22px;
    grid-template-columns: 1fr;
  }
  .intro-footer::before { display: none; }
  .micro-menu {
    justify-self: start;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .customizer-layout { grid-template-columns: 1fr; }
  .customizer-right { position: relative; top: auto; height: 280px; }
  .creator-header { width: 76px; padding: 20px 0; }
  .step-screens { margin-left: 76px; }
  .header-logo { height: 210px; }
  .header-logo img { width: 190px; }
  .step-dot .dot-label { display: none; }
  .step-line { width: 14px; }
  .welcome-features, .welcome-cta-strip { padding: 48px 32px; }
  .features-grid { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 600px) {
  .creator-header {
    width: 64px;
  }
  .step-screens {
    margin-left: 64px;
    width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
    overflow-x: hidden;
  }
  .header-logo {
    height: 190px;
  }
  .header-logo img {
    width: 170px;
  }
  .header-socials a {
    width: 30px;
    height: 30px;
  }
  .intro-layout .hero-left {
    width: 100%;
    max-width: 100%;
    padding: 44px 20px 92px 24px;
    overflow: hidden;
  }
  .hero-eyebrow,
  .intro-layout .hero-title,
  .intro-layout .hero-tagline,
  .intro-layout .hero-subline,
  .intro-layout .hero-cta-group,
  .intro-footer {
    width: 100%;
    max-width: calc(100vw - 108px);
  }
  .hero-eyebrow {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }
  .hero-eyebrow::after {
    width: 18px;
    flex: 0 0 18px;
  }
  .intro-layout .hero-title {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }
  .intro-layout .hero-tagline {
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.48;
  }
  .intro-layout .hero-subline {
    max-width: 100%;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    line-height: 1.58;
  }
  .btn-primary {
    max-width: 100%;
  }
  .micro-menu {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 12px;
    row-gap: 7px;
  }
  .micro-menu a {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }
  .micro-menu a:not(:last-child)::after {
    display: none;
  }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .pattern-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .combo-list { grid-template-columns: 1fr 1fr; }
  .flat-preview-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .features-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-height: 820px) and (min-width: 961px) {
  .header-logo img {
    width: 188px;
  }
  .intro-layout .hero-left {
    padding-top: 0;
    padding-bottom: 147px;
  }
  .intro-layout .hero-title {
    font-size: 1.17rem;
    line-height: 1.05;
    margin-bottom: 10px;
  }
  .hero-eyebrow {
    margin-bottom: 6px;
  }
  .intro-layout .hero-tagline {
    font-size: 1.18rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.58;
    margin-bottom: 2px;
  }
  .intro-layout .hero-subline {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 26px;
  }
  .intro-layout .hero-cta-group {
    margin-bottom: 0;
  }
  .intro-footer {
    bottom: 16px;
  }
  .feature-copy-group {
    top: 0;
    bottom: 0;
  }
}
