@font-face {
  font-family: Estedad;
  src: url("../fonts/estedad-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Estedad;
  src: url("../fonts/estedad-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Estedad;
  src: url("../fonts/estedad-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Estedad;
  src: url("../fonts/estedad-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070707;
  --bg-2: #10100e;
  --bg-3: #17140f;
  --ivory: #f3ecdf;
  --ink: #1a140d;
  --gold: #c6a15b;
  --gold-2: #f0e2c4;
  --gold-deep: #8c6b32;
  --cream: #f4efe4;
  --muted: #b7ad9d;
  --line: rgba(198, 161, 91, 0.28);
  --header: 84px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Estedad, Tahoma, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
body.nav-lock { overflow: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.6; }
h1 { font-size: clamp(1.85rem, 3.4vw, 3rem); margin-bottom: 0.35em; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin-bottom: 0.45em; }
h3 { font-size: 1.08rem; margin-bottom: 0.3em; font-weight: 600; }

.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute;
  right: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  font-family: Estedad, Tahoma, sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 42rem; }
.fine { color: var(--muted); font-size: 0.92rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2), var(--gold), transparent);
}
.site-header.is-solid {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 52px; width: auto; max-width: 168px; display: block; object-fit: contain; }
.is-home .site-header:not(.is-solid) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-inline-start: auto;
  flex-wrap: nowrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--gold-2); border-bottom-color: var(--gold); }
.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  text-decoration: none;
  background: transparent;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-call:hover,
.btn:hover,
.btn-fill {
  background: var(--gold);
  color: #16110b;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-inline-start: auto;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  position: relative;
}
.nav-toggle span:not(.sr-only) {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 1px;
  background: var(--gold-2);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }

.is-inner main { padding-top: calc(var(--header) + 12px); }
.is-home main { padding-top: 0; }

.reel { height: 175vh; background: #000; position: relative; }
.reel-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}
.reel-sticky video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  transform: translate(-50%, -50%) scale(1.04);
  background: #000;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.reel.is-ready video { opacity: 1; }
.reel-intro {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 9vh;
  width: min(680px, calc(100% - 64px));
  transform: translateX(-50%);
  padding: 28px 32px 24px;
  text-align: center;
  color: #f7f1e6;
  background: rgba(8, 7, 6, 0.42);
  border: 1px solid rgba(198, 161, 91, 0.38);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.reel-kicker {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}
.reel-intro h1 {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.reel-intro p {
  margin: 0 auto;
  max-width: 38rem;
  color: #f4efe4;
  font-weight: 400;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.9;
}
.reel-cue {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.reel-status {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  margin: 0;
  color: #f4efe4;
  font-size: 0.95rem;
}
.reel-notes {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.reel-note {
  position: absolute;
  margin: 0;
  max-width: min(420px, 42vw);
  padding: 10px 18px;
  color: #f7f1e6;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  line-height: 1.55;
  background: rgba(8, 7, 6, 0.5);
  border-inline-start: 3px solid var(--gold);
  backdrop-filter: blur(6px);
  opacity: 0;
}
.reel-note[data-place="tr"] { top: 20%; right: 6%; }
.reel-note[data-place="ml"] { top: 46%; left: 6%; }
.reel-note[data-place="br"] { bottom: 14%; right: 7%; }
.reel-note[data-place="tl"] { top: 28%; left: 7%; }
.reel-progress {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: rgba(198, 161, 91, 0.18);
}
.reel-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  transform: scaleX(0);
  transform-origin: right center;
}

.section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; }

.manifest {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.manifest .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.quote {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  font-size: 1.2rem;
  line-height: 2;
}
.quote span { display: block; margin-top: 12px; color: var(--gold-2); font-size: 1rem; }

.band-ivory { background: var(--ivory); color: var(--ink); }
.band-ivory .eyebrow { color: var(--gold-deep); }
.band-ivory .lead,
.band-ivory .fine { color: #5e5346; }
.install-grid,
.points,
.steps,
.cat-grid,
.info-grid,
.faq {
  display: grid;
  gap: 16px;
}
.install-grid { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.install-card,
.point,
.step,
.cat-card,
.info-card,
.faq article,
.paybox,
.panel {
  border: 1px solid var(--line);
  background: rgba(16, 14, 12, 0.72);
  padding: 24px;
}
.band-ivory .install-card {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(140, 107, 50, 0.28);
}
.install-card strong,
.point strong,
.step strong { display: block; font-size: 1.2rem; margin: 8px 0; }
.index {
  font-family: Estedad, Tahoma, sans-serif;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}
.band-ivory .index { color: var(--gold-deep); }

.carpet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carpet-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #100e0c;
  border: 1px solid var(--line);
  min-height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.carpet-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.carpet-card__art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a140f;
  overflow: hidden;
}
.carpet-card h3 {
  font-size: 1.02rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carpet-card__art img,
.carpet-card__art .carpet-svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.carpet-svg { padding: 8px; display: block; }
.product-art { overflow: hidden; }
.product-art img,
.product-art .carpet-svg {
  width: 100%;
  height: min(70vh, 620px);
  object-fit: cover;
  display: block;
}
.product-art .swatch-note { position: static; display: inline-block; margin: 10px 12px 14px; }
.badge,
.swatch-note {
  position: absolute;
  z-index: 2;
  font-size: 0.78rem;
  letter-spacing: 0;
}
.badge {
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #1a140d;
  padding: 3px 9px;
}
.swatch-note {
  left: 12px;
  bottom: 12px;
  color: var(--gold-2);
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 8px;
}
.carpet-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.carpet-card__cat { margin: 0; color: var(--gold); font-size: 0.85rem; }
.carpet-card__meta { margin: 0; color: var(--muted); font-size: 0.92rem; }
.carpet-card__price { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; }
.carpet-card__price strong { font-size: 1rem; }
.carpet-card__price span { color: var(--muted); font-size: 0.86rem; }

.cat-grid { grid-template-columns: repeat(3, 1fr); }
.cat-card { text-decoration: none; display: block; }
.cat-card:hover { border-color: var(--gold); }
.cat-card span { color: var(--gold-2); font-size: 0.9rem; }

.points,
.steps { grid-template-columns: 1fr 1fr; }
.steps { grid-template-columns: repeat(3, 1fr); }

.page-hero { padding: 28px 0 10px; }
.page-hero .lead { margin-bottom: 0; }

.filters { display: flex; gap: 10px; align-items: center; margin: 18px 0; }
.filters input,
.field input,
.field textarea,
.field select,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  background: #120f0c;
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: inherit;
  color-scheme: dark;
}
.filters input { flex: 1; min-width: 0; }
.filters .btn { flex: 0 0 auto; }
.field textarea,
.admin-form textarea { min-height: 140px; resize: vertical; }
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 6px 12px;
  color: var(--muted);
}
.chips a.is-on,
.chips a:hover { color: #1a140d; background: var(--gold); border-color: var(--gold); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 28px;
}
.product-art {
  background: #120f0c;
  border: 1px solid var(--line);
  position: relative;
}
.product-art .swatch-note { position: static; display: inline-block; margin: 10px; }
.specs { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 18px 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.paybox { margin-top: 8px; }
.paybox strong { color: var(--gold-2); }

.form-grid,
.admin-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label,
.check { display: block; margin-bottom: 6px; color: var(--gold-2); }
.check { display: flex; gap: 8px; align-items: center; color: var(--cream); }
.contact-layout,
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.phone-row,
.phone-list { display: grid; gap: 10px; }
.phone-chip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 14px 16px;
  background: #120f0c;
}
.phone-chip:hover { border-color: var(--gold); }
.phone-list { list-style: none; padding: 0; margin: 0; }
.phone-list li { display: flex; justify-content: space-between; gap: 12px; }
.phone-list a { color: var(--gold-2); text-decoration: none; }

.faq { grid-template-columns: 1fr 1fr; }
.calc {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(140, 107, 50, 0.28);
  background: rgba(255, 255, 255, 0.5);
}
.calc label { display: block; margin-bottom: 8px; }
.calc select { width: 100%; font: inherit; padding: 12px; background: #fffdf8; color: var(--ink); }
#install-out,
[data-install-out] { display: grid; gap: 6px; margin-top: 14px; }
.crumbs { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.crumbs a { color: var(--gold-2); }

.flash {
  margin: 18px 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #142018;
}
.flash--err { background: #2a1614; }
.empty { color: var(--muted); padding: 20px 0 40px; }
.related { padding-bottom: 70px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #050505;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.8fr 1fr; gap: 28px; }
.footer-logo { height: 72px; width: auto; }
.site-footer h2 { font-size: 1rem; color: var(--gold-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(198, 161, 91, 0.14);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-base p { margin: 0; }

.callbar {
  display: none;
  position: fixed;
  z-index: 45;
  inset: auto 0 0 0;
  background: #100e0c;
  border-top: 1px solid var(--line);
}
.callbar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 12px 8px;
  color: var(--gold-2);
}
.callbar a + a { border-right: 1px solid var(--line); }

.info-grid { grid-template-columns: 1fr 1fr; }
.prose { max-width: 46rem; }
.prose p, .prose li { color: var(--muted); }
.legal h2 { margin-top: 1.5em; font-size: 1.2rem; }
.legal ul { margin: 0 0 1em; padding-inline-start: 1.25rem; }
.legal li { margin-bottom: 0.35em; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(198, 161, 91, 0.14);
}
.footer-legal a { color: var(--gold-2); text-decoration: none; font-weight: 500; }
.footer-legal a:hover { color: var(--cream); }

@media (min-width: 900px) {
  .reel { height: 185vh; }
}

@media (max-width: 980px) {
  .manifest,
  .product-layout,
  .contact-layout,
  .split,
  .footer-grid { grid-template-columns: 1fr; }
  .carpet-grid,
  .cat-grid,
  .install-grid,
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .header-call { display: none; }
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    background: rgba(7, 7, 7, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px 40px;
    gap: 4px;
    overflow: auto;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 1.08rem; }
}

@media (max-width: 680px) {
  .carpet-grid,
  .cat-grid,
  .install-grid,
  .points,
  .steps,
  .faq,
  .info-grid,
  .form-row,
  .specs { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: stretch; }
  .callbar { display: flex; }
  body { padding-bottom: 58px; }
  .brand img { height: 44px; }
  .reel-intro { bottom: 76px; width: calc(100% - 28px); padding: 18px 16px 16px; }
  .reel-intro h1 { font-size: 1.65rem; }
  .reel-progress { bottom: 58px; }
  .reel-note { font-size: 1.05rem; max-width: 78vw; padding: 8px 12px; }
  .reel-note[data-place="tr"] { top: 16%; right: 5%; }
  .reel-note[data-place="ml"] { top: 40%; left: 5%; }
  .reel-note[data-place="br"] { right: 5%; bottom: 92px; }
  .reel-note[data-place="tl"] { top: 26%; left: 5%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel { height: 100dvh; }
  .reel-sticky { position: relative; height: 100dvh; }
  .reel-progress,
  .reel-cue { display: none; }
  .reel-intro { opacity: 1 !important; transform: translateX(-50%) !important; }
  .carpet-card { transition: none; }
}
