/* Zuleya by FBMI — base styles */
:root {
  --noir: #15100B;
  --ink: #231C16;
  --ink-2: #2E2620;
  --ivory: #FAF4EA;
  --bone: #EDE2D1;
  --line: #E5D9C6;
  --line-dark: #2A2018;
  --gold: #B0903F;
  --gold-2: #C9A85A;
  --madder: #8E3B2E;
  --indigo: #2E3D5A;
  --saffron: #C99A3A;
  --muted: #7A6F5F;
  --muted-dark: #A89881;
  --focus: #C9A85A;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}

.serif {
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Eyebrow */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.dark { color: var(--gold-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 180ms ease;
  background: transparent;
  color: inherit;
  border-radius: 0;
}
.btn-primary {
  background: var(--gold);
  color: var(--noir);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost-light {
  color: var(--ivory);
  border-color: rgba(250, 244, 234, 0.4);
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-ghost-dark {
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-dark:hover { background: var(--ink); color: var(--ivory); }
.btn-link {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: all 180ms ease;
}
.btn-link:hover { color: var(--gold); border-color: var(--gold); }
.btn-link.light { color: var(--ivory); border-color: rgba(250, 244, 234, 0.5); }
.btn-link.light:hover { color: var(--gold-2); border-color: var(--gold); }

.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Layout */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .container { padding: 0 24px; }
}

.section { padding: 120px 0; }
.section-lg { padding: 160px 0; }
.section-sm { padding: 80px 0; }
@media (max-width: 880px) {
  .section { padding: 80px 0; }
  .section-lg { padding: 100px 0; }
}

.noir { background: var(--noir); color: var(--ivory); }
.noir .muted { color: var(--muted-dark); }
.ivory { background: var(--ivory); color: var(--ink); }
.bone { background: var(--bone); color: var(--ink); }
.muted { color: var(--muted); }

.hr-gold {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  margin: 24px 0;
  width: 80px;
}

/* Display headings */
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
.h-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.015em;
}
.h-hero {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.018em;
}
.h-section {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h-sub {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}
.lead {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-2);
  max-width: 640px;
}
.noir .lead { color: #D9CFBF; }
.italic { font-style: italic; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 280ms ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid transparent;
}
.nav-transparent { background: transparent; }
.nav-transparent .nav-inner { border-bottom-color: rgba(250, 244, 234, 0.08); }
.nav-solid {
  background: rgba(250, 244, 234, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-solid .nav-inner { border-bottom-color: var(--line); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.nav-link {
  text-decoration: none;
  color: inherit;
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 160ms ease, color 160ms ease;
}
.nav-link:hover { opacity: 1; color: var(--gold); }
.nav-link.active { opacity: 1; color: var(--gold); }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.nav-logo .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-logo .subline {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 2px;
}
.nav-cta {
  padding: 11px 18px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 180ms ease;
}
.nav-solid .nav-cta:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.nav-transparent .nav-cta:hover { background: var(--gold); color: var(--noir); border-color: var(--gold); }

.nav-mobile-toggle { display: none; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-mobile-toggle {
    display: inline-flex;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px;
  }
  .nav-cta { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--noir);
  color: var(--ivory);
  z-index: 99;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-100%);
  transition: transform 320ms ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--ivory);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(250, 244, 234, 0.08);
  cursor: pointer;
}
.mobile-menu a.active { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--noir);
  color: var(--ivory);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 110px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  transform: scale(1.04);
  transition: transform 8s ease, opacity 1200ms ease;
}
.hero:hover .hero-bg { transform: scale(1.0); }
.hero-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 30% 20%, rgba(201, 168, 90, 0.18) 0%, rgba(201, 168, 90, 0) 55%),
    linear-gradient(
      180deg,
      rgba(35, 22, 10, 0.40) 0%,
      rgba(35, 22, 10, 0.18) 38%,
      rgba(21, 16, 11, 0.45) 72%,
      rgba(21, 16, 11, 0.92) 100%
    );
  mix-blend-mode: normal;
}
.hero-grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(176, 100, 36, 0.06);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* In-hero text accents — bump warm gold for contrast */
.hero .eyebrow { color: #E2BE6E; }
.hero .eyebrow::before { background: #E2BE6E; }
.hero-meta-top { color: #E2BE6E; }
.hero-stat .num { color: #E5C879; }
.hero-tail .quote .src { color: #E5C879; }
.hero-content {
  position: relative;
  padding: 56px 0 80px 0;
  width: 100%;
  margin-top: auto;
}
.hero-meta-top {
  position: relative;
  z-index: 3;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  flex-wrap: wrap;
}
.hero-meta-top > div { white-space: nowrap; }
.hero-meta-top .sep { opacity: 0.4; }
@media (max-width: 900px) {
  .hero-meta-top { font-size: 10px; gap: 12px; padding: 0 24px; }
  .hero-meta-top .sep { display: none; }
}
@media (max-width: 600px) {
  .hero-meta-top > div:nth-child(5) { display: none; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-tail {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 24px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(176, 144, 63, 0.3);
}
@media (max-width: 880px) {
  .hero-tail { grid-template-columns: 1fr 1fr; }
}

.hero-stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  color: var(--gold-2);
}
.hero-stat .lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #BFB29C;
  margin-top: 10px;
  max-width: 200px;
  line-height: 1.5;
}
.hero-tail .quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
  color: #D9CFBF;
  max-width: 320px;
}
.hero-tail .quote .src {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 14px;
  color: var(--gold-2);
}

/* Carpet card */
.carpet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.carpet-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .carpet-grid, .carpet-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .carpet-grid, .carpet-grid.cols-4 { grid-template-columns: 1fr; } }

.carpet-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.carpet-card .img-wrap {
  position: relative;
  background: var(--bone);
  aspect-ratio: 4/5;
  overflow: hidden;
}
.carpet-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.carpet-card:hover .img-wrap img { transform: scale(1.04); }
.carpet-card .collection-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(21,16,11,0.7);
  backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}
.carpet-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 20px;
  gap: 16px;
}
.carpet-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
}
.carpet-card .size {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.carpet-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  white-space: nowrap;
  color: var(--ink);
}
.carpet-card .price .from {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.carpet-card.dark .name, .carpet-card.dark .price { color: var(--ivory); }
.carpet-card.dark .img-wrap { background: var(--ink); }

/* Impact stats */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) { .impact-strip { grid-template-columns: repeat(2, 1fr); } }
.impact-stat {
  padding: 56px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.impact-stat:last-child { border-right: 0; }
.impact-stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  color: var(--ink);
}
.impact-stat .lbl {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* Process steps */
.craft-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 1100px) { .craft-steps { grid-template-columns: repeat(2, 1fr); } }
.craft-step .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.craft-step .num::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.craft-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
}
.craft-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Projects */
.project-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  transition: padding 200ms ease;
}
.project-card:hover { padding-left: 16px; }
.project-card:last-child { border-bottom: 0; }
.project-card .pimg {
  aspect-ratio: 16/10;
  background: #1F1812;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.project-card .pimg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(21,16,11,0.6));
}
.project-card .meta-row {
  display: flex;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.project-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  margin: 0 0 18px;
  line-height: 1.02;
}
.project-card p {
  color: #BFB29C;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 480px;
}
@media (max-width: 880px) {
  .project-card { grid-template-columns: 1fr; gap: 28px; }
}

/* Filter pills */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.filter-pill {
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: all 160ms ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill.active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.filter-pill .count {
  margin-left: 8px;
  opacity: 0.5;
  font-size: 10px;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 200ms ease;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-bottom-color: var(--gold); }
.form-field textarea { min-height: 80px; resize: vertical; line-height: 1.5; }
.form-field .help {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 720px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
.role-pill {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-align: left;
  transition: all 160ms ease;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 0;
}
.role-pill:hover { border-color: var(--ink); }
.role-pill.active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.role-pill .icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1;
}
.role-pill .lbl {
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.file-drop {
  border: 1px dashed var(--line);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 160ms ease;
}
.file-drop:hover { border-color: var(--gold); background: rgba(176,144,63,0.04); }
.file-drop .label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.file-drop .hint { font-size: 11px; color: var(--muted); margin-top: 6px; }
.file-drop.has-file { border-style: solid; border-color: var(--gold); }

/* Footer */
.footer {
  background: var(--noir);
  color: var(--ivory);
  padding: 96px 0 32px;
  border-top: 1px solid var(--line-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 24px;
  font-weight: 500;
}
.footer-col a, .footer-col .item {
  display: block;
  font-size: 14px;
  color: #BFB29C;
  text-decoration: none;
  padding: 6px 0;
  cursor: pointer;
  transition: color 160ms ease;
}
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C7E69;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.footer-wordmark .by {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-family: 'Inter', sans-serif;
  margin-top: 12px;
  display: block;
}

/* Generic */
.full-bleed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.wide-left { grid-template-columns: 1.3fr 1fr; }
.split.wide-right { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 880px) { .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; gap: 40px; } }

.aspect-tall { aspect-ratio: 4/5; background: var(--bone); overflow: hidden; }
.aspect-wide { aspect-ratio: 16/10; background: var(--bone); overflow: hidden; }
.aspect-square { aspect-ratio: 1/1; background: var(--bone); overflow: hidden; }

.diplomacy {
  background: var(--noir);
  color: var(--ivory);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.diplomacy-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.diplomacy .h-section {
  font-style: italic;
  color: var(--ivory);
}
.diplomacy .mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 24px;
}
.diplomacy-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 1;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  padding: 80px 0;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .cta-band-inner { grid-template-columns: 1fr; }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--ivory);
  padding: 18px 28px;
  border-left: 3px solid var(--gold);
  font-size: 13px;
  letter-spacing: 0.04em;
  z-index: 200;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
  max-width: 480px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Quick view modal */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(21,16,11,0.92);
  backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
  padding: 40px;
}
.modal-bg.open { opacity: 1; pointer-events: auto; }
.modal {
  max-width: 1200px;
  width: 100%;
  max-height: 88vh;
  background: var(--ivory);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.modal-bg.open .modal { transform: translateY(0); }
.modal .modal-img {
  background: var(--bone);
  background-size: cover;
  background-position: center;
  min-height: 480px;
}
.modal .modal-body {
  padding: 56px 48px;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(21,16,11,0.6);
  color: var(--ivory);
  border: 1px solid rgba(250,244,234,0.3);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: var(--gold); color: var(--noir); border-color: var(--gold); }
@media (max-width: 880px) {
  .modal { grid-template-columns: 1fr; }
  .modal .modal-img { min-height: 280px; }
  .modal .modal-body { padding: 32px 24px; }
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-row .k { color: var(--muted); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; align-self: center; }
.spec-row .v { color: var(--ink); }

/* Sticky enquiry FAB (mobile only) */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 14px 20px;
  z-index: 90;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-top: 1px solid var(--gold);
}
@media (max-width: 1100px) { .sticky-bar { display: block; } }

/* Step indicator (consultation) */
.steps-head {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.steps-head .step {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 14px;
  position: relative;
  cursor: pointer;
}
.steps-head .step.active { color: var(--ink); }
.steps-head .step.active::after {
  content: "";
  position: absolute;
  bottom: -17px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.steps-head .step .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  margin-right: 6px;
  color: var(--gold);
}

/* Tolerance carpet card */
.carpet-feature {
  background: var(--noir);
  color: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
@media (max-width: 880px) { .carpet-feature { grid-template-columns: 1fr; min-height: auto; } }
.carpet-feature .img {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}
.carpet-feature .txt {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 880px) { .carpet-feature .txt { padding: 48px 28px; } }

/* Subtle reveal animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp 600ms ease forwards; }

/* Tweaks bg variants override */
body[data-theme="warm"] { --ivory: #FAF4EA; --bone: #EDE2D1; }
body[data-theme="cool"] { --ivory: #F4F1EC; --bone: #E6E2DA; }
body[data-theme="papyrus"] { --ivory: #F1EADB; --bone: #E1D6BC; }
