@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   THE CAP COMPANY — STYLESHEET  ("Pressroom" direction)
   ------------------------------------------------------------
   BRAND COLORS & FONTS live in the :root block below.
   Change a value there once and it updates the entire site.
   Palette: ink black + warm bone + signal blaze (red) + gold.
   Type: Anton (display) / Archivo (labels & nav) / Inter (body).
   ============================================================ */

:root {
  /* ---- Brand colors (edit here) ---- */
  --navy:       #0B0B0C;   /* ink — nav, dark surfaces, headings */
  --navy-deep:  #000000;   /* deepest ink — footer */
  --red:        #E5341E;   /* signal blaze (brand red) */
  --red-dark:   #C42912;   /* blaze hover state */
  --white:      #FFFFFF;
  --gray-bg:    #F4F0E8;   /* warm bone — light page sections */
  --gray-line:  #E4DECF;   /* warm bone borders / dividers */
  --ink:        #15140F;   /* body text */
  --ink-soft:   #6B6760;   /* secondary text */
  --bone:       #F4F0E8;   /* warm off-white */
  --gold:       #C9A24B;   /* premium accent */

  /* ---- Fonts (edit here) ---- */
  --font-anton:   "Anton", "Oswald", sans-serif;                  /* giant display headings */
  --font-display: "Archivo", "Oswald", "Arial Narrow", sans-serif;/* nav, buttons, labels, headings */
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;   /* body text */

  /* ---- Layout ---- */
  --max-width: 1280px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 11, 12, 0.14);
  --transition: 180ms ease;
}

/* ---- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
button { font-family: inherit; cursor: pointer; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   HEADER (sticky)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
/* Text mark stands in for the logo image.
   SWAP: to use the real logo from carolinacap.com, replace the
   .logo-mark span in the header of every page with:
   <img src="https://carolinacap.com/path-to-logo.png" alt="The Cap Company logo" height="44">  */
.logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.05;
}
.logo-mark .logo-the { color: var(--red); display: block; font-size: 0.7rem; letter-spacing: 3px; }

.header-tagline {
  font-family: var(--font-display);
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  white-space: nowrap;
}
.header-signin {
  justify-self: end;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--navy);
  padding: 7px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.header-signin:hover { background: var(--navy); color: var(--white); }

/* ---- Nav bar with dropdowns ---- */
.site-nav {
  background: var(--navy);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  max-width: var(--max-width);
  margin-inline: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 26px;
  text-decoration: none;
  transition: background var(--transition);
}
.nav-link:hover, .nav-item.open .nav-link { background: var(--navy-deep); }
.nav-caret { font-size: 0.65rem; transform: translateY(1px); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 110;
}
.nav-item.open .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--gray-bg); color: var(--red); }
.dropdown .dropdown-style-num { color: var(--red); font-weight: 600; font-size: 0.78rem; margin-right: 6px; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero {
  position: relative;
  height: min(78vh, 640px);
  min-height: 420px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  color: var(--white);
  z-index: 2;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  letter-spacing: 2px;
  line-height: 0.95;
  margin: 0 0 14px;
  /* Signature: headline underscored by a hard red bar */
  border-bottom: 8px solid var(--red);
  padding-bottom: 10px;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 540px;
  margin: 0 0 28px;
  color: #E8EAEE;
}
.btn {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  padding: 15px 34px;
  transition: background var(--transition), transform var(--transition);
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  padding: 0;
  transition: background var(--transition);
}
.hero-dot.active, .hero-dot:hover { background: var(--red); border-color: var(--red); }

/* ============================================================
   CATALOG TOOLS: filter bar + search
   ============================================================ */
.catalog-tools {
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  padding: 18px 0;
}
.tools-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.filter-btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-line);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.search-wrap { max-width: 420px; width: 100%; }
.search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 16px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--navy); outline-offset: 0; }

/* ============================================================
   PRODUCT GRID — 5 columns desktop, 2 mobile
   ============================================================ */
.product-section { padding: 36px 0 60px; }
.section-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  font-size: 1.4rem;
  margin: 0 0 4px;
}
.section-sub { color: var(--ink-soft); margin: 0 0 24px; font-size: 0.95rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.product-card {
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.card-img-wrap { aspect-ratio: 1; background: var(--gray-bg); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 16px; }
.card-style {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 7px;
}
.card-name {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  margin: 0 0 6px;
}
.card-colors { color: var(--ink-soft); font-size: 0.8rem; }
.grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 60px 0;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.breadcrumb {
  padding: 10px 0 0;
  font-size: 0.88rem;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 48px;
  padding: 14px 0 64px;
}
.product-photo-wrap {
  position: sticky;
  top: 130px;
}
.product-photo {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-bg);
}
.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.product-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  overflow: hidden;
  background: #FFF;
  cursor: pointer;
  transition: border-color .15s;
}
.product-thumb.selected {
  border-color: var(--ink, #111);
  border-width: 2px;
}
.product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFF;
}
.product-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  /* contain (not cover) so the full cap is always visible —
     CDN photos vary in ratio and cover was cropping brims/crowns */
  object-fit: contain;
  background: #FFF;
  padding: 2px;
  box-sizing: border-box;
  /* keep the whole frame on screen on page load — no scrolling
     needed to see the full cap (header ~140px + breadcrumb) */
  max-height: calc(100vh - 200px);
}

.pd-style {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 3px;
}
.pd-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--navy);
  margin: 10px 0 12px;
}
.pd-desc { color: var(--ink-soft); margin: 0 0 22px; }
.pd-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--navy);
  margin: 22px 0 10px;
}

/* Color swatches */
.swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gray-line);
  padding: 0;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.swatch:hover { transform: scale(1.12); }
.swatch.selected {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--red);
}
/* Thumbnail colorway gallery (styles with grouped colorways, e.g. 1112) */
.swatch-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.swatch-filters button {
  font-size: 0.72rem; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--gray-line); background: #fff; color: #444;
  cursor: pointer; font-weight: 600;
}
.swatch-filters button.on { background: #111; border-color: #111; color: #fff; }
.swatch-filters button.pop.on { background: #e6b400; border-color: #e6b400; color: #111; }
.swatch-grid.thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px;
}
.swatch.thumb {
  width: auto; height: auto; aspect-ratio: 1 / 0.84; border-radius: 9px;
  border: 1px solid var(--gray-line); background: #fbfaf7; overflow: hidden; padding: 0;
}
.swatch.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.swatch.thumb:hover { transform: none; border-color: #999; }
.swatch.thumb.selected { border-color: #111; box-shadow: 0 0 0 2px #111; }
.selected-color-name { margin: 10px 0 0; font-size: 0.92rem; }
.build-own {
  display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 0;
  padding: 11px 18px; border: 1px solid var(--gray-line); border-radius: 8px;
  background: #fff; color: #111; text-decoration: none; font-size: 0.9rem;
  font-weight: 600; transition: border-color var(--transition), background var(--transition);
}
.build-own:hover { border-color: #e6b400; background: #faf6e7; }
/* Nav search pill */
.nav-item.nav-search { margin-left: auto; display: flex; align-items: center; }
.nav-search-form { display: flex; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; }
.nav-search-form input { border: 0; background: transparent; color: #fff; padding: 7px 4px 7px 14px; font-size: 0.82rem; width: 128px; outline: none; }
.nav-search-form input::placeholder { color: rgba(255,255,255,.6); }
.nav-search-form button { border: 0; background: transparent; color: #fff; padding: 6px 12px 6px 6px; cursor: pointer; font-size: 0.85rem; line-height: 1; }
.nav-search-form:focus-within { border-color: var(--red); background: rgba(255,255,255,.2); }
@media (max-width: 700px) { .nav-item.nav-search { margin-left: 0; width: 100%; } .nav-search-form { width: 100%; } .nav-search-form input { flex: 1; width: auto; } }

/* Home page search bar (legacy — no longer used in hero) */
.hp-search { display: flex; gap: 8px; margin: 18px 0 0; max-width: 460px; }
.hp-search input {
  flex: 1; padding: 13px 16px; border: 1px solid var(--gray-line); border-radius: 8px;
  font-size: 0.95rem; background: #fff; color: #111;
}
.hp-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,20,60,.12); }
.hp-search button {
  padding: 13px 20px; border: 0; border-radius: 8px; background: var(--red); color: #fff;
  font-weight: 700; cursor: pointer; white-space: nowrap; font-size: 0.95rem;
}
.hp-search button:hover { filter: brightness(1.08); }
@media (max-width: 520px) { .hp-search { flex-wrap: wrap; } .hp-search input { min-width: 0; } }
.selected-color-name strong { color: var(--navy); }

/* Pricing table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.pricing-table th, .pricing-table td {
  border: 1px solid var(--gray-line);
  padding: 10px 8px;
  text-align: center;
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.78rem;
}
.pricing-table td { font-weight: 600; color: var(--ink); }
.pricing-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 8px; }

.pd-features { padding-left: 20px; margin: 0; color: var(--ink-soft); }
.pd-features li { margin-bottom: 5px; }
.pd-cta { margin-top: 26px; }

/* ============================================================
   QUOTE MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 29, 54, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--red);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  transform: translateY(14px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin: 0 0 4px;
  font-size: 1.4rem;
}
.modal-sub { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 18px; }
.modal-close {
  position: absolute;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  margin: -6px 0 0;
  float: right;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--red); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.72rem;
  color: var(--navy);
  margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.93rem;
  padding: 10px 12px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 84px; }
.form-submit { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; margin: 0; }
.form-status.success { color: #1E7A3C; font-weight: 600; }
.form-status.error { color: var(--red); font-weight: 600; }

/* ============================================================
   CONTENT PAGES (about / customize)
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 2px;
  margin: 0 0 10px;
  border-bottom: 6px solid var(--red);
  display: inline-block;
  padding-bottom: 8px;
}
.page-hero p { max-width: 640px; color: #DDE3EC; margin: 0; }

.content-section { padding: 48px 0; }
.content-section.alt { background: var(--gray-bg); }
.content-section h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  font-size: 1.5rem;
  margin: 0 0 14px;
}
.content-section p { max-width: 760px; color: var(--ink-soft); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1;
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 26px;
}
.option-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 22px;
}
.option-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.option-card p { font-size: 0.9rem; margin: 0; }

.coming-soon {
  display: inline-block;
  background: var(--gray-bg);
  border: 1px dashed var(--ink-soft);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.85rem;
  padding: 8px 14px;
  margin-top: 18px;
}

.inline-form {
  max-width: 640px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 26px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: #C7CEDB;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
}
.footer-brand .logo-mark { color: var(--white); }
.footer-tagline { font-size: 0.85rem; margin: 8px 0 0; color: #97A2B8; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a {
  color: #C7CEDB;
  text-decoration: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.78rem;
  color: #97A2B8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-grid, .option-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-bar { grid-template-columns: auto 1fr auto; }
  .header-tagline { font-size: 0.7rem; letter-spacing: 1.5px; white-space: normal; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .product-photo-wrap { position: static; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .header-tagline { display: none; }   /* keeps the mobile header clean */
  .header-bar { grid-template-columns: 1fr auto; }
  .nav-link { padding: 12px 16px; font-size: 0.8rem; letter-spacing: 1px; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-grid, .option-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 360px; }
  .card-name { font-size: 0.82rem; }
}
@media (max-width: 380px) {
  .stat-grid, .option-grid { grid-template-columns: 1fr; }
}

/* ---- Decoration option cards (real photography) ---- */
.option-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  background: #EEE;
}
.option-tagline {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red, #C8102E);
  margin: 0 0 6px;
}

/* ---- Header logo image ---- */
.logo-img { display: block; height: 44px; width: auto; }

/* ---- Decoration detail page ---- */
.deco-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.deco-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #EEE;
}
.deco-tagline {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin: 0 0 8px;
}
.deco-name {
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.deco-desc { margin: 0 0 22px; }
.deco-specs th {
  text-align: left;
  font-weight: 600;
  padding-right: 18px;
  white-space: nowrap;
}
.deco-type-features {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
}
.deco-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 18px 0 48px;
}
.deco-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #EEE;
}
.deco-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid #E3E3E3;
  font-weight: 600;
}
.deco-pager a { color: inherit; text-decoration: none; }
.deco-pager a:hover { color: var(--red); }

/* ---- Fabric palette swatch grids ---- */
.palette-block { margin: 0 0 36px; }
.palette-block h3 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.palette-count {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: none;
  color: #777;
  margin-left: 10px;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.palette-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}
.palette-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  flex: 0 0 auto;
}
.palette-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Customize card link + tall dropdown ---- */
.option-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--red);
  text-decoration: none;
}
.option-more:hover { text-decoration: underline; }
.dropdown-tall { max-height: 70vh; overflow-y: auto; }

@media (max-width: 760px) {
  .deco-layout { grid-template-columns: 1fr; gap: 22px; }
}

/* ---- Collapsible swatch grid (styles with big color programs) ---- */
.swatch-grid.collapsed {
  max-height: 77px; /* exactly two rows of 34px swatches + one 9px gap */
  overflow: hidden;
}
.swatch-toggle {
  display: inline-block;
  margin-top: 12px;
  background: none;
  border: 1px solid var(--gray-line);
  border-radius: 4px;
  padding: 7px 14px;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.swatch-toggle:hover { border-color: var(--red); color: var(--red); }

/* ---- Fabric availability chart (Fabric Colors page) ---- */
.fabric-chart-sub { color: #666; font-size: 0.88rem; margin: 4px 0 14px; }
.fabric-chart-new-note { color: var(--red); font-weight: 600; }
.fabric-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 14px;
}
.fabric-legend-item { display: inline-flex; align-items: center; gap: 7px; }
.fabric-legend-swatch {
  width: 20px; height: 14px;
  display: inline-block;
  border-radius: 2px;
}
.fabric-legend-empty { background: #FFF; border: 1.5px solid #d1d5db; }
.fabric-legend-newcell { background: #C3B091; outline: 2px solid #ef4444; outline-offset: -2px; }
.fabric-reset { margin: 0; }

.fabric-chart-scroll { overflow-x: auto; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; }
.fabric-chart { border-collapse: collapse; width: 100%; }
.fabric-chart th, .fabric-chart td {
  border-right: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.fabric-corner { background: #FFF; position: sticky; left: 0; z-index: 3; }
.fabric-col-head { background: #FFF; padding: 0; vertical-align: bottom; }
.fabric-col-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 6px 10px;
  width: 44px;
}
.fabric-col-btn span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  white-space: nowrap;
}
.fabric-col-head.active .fabric-col-btn span { color: #000; }
.fabric-color-name {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #FFF;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  padding: 5px 12px;
  white-space: nowrap;
}
.fabric-row.alt .fabric-color-name, .fabric-row.alt .fabric-cell { background: #FAFAFA; }
.fabric-row:hover .fabric-color-name, .fabric-row:hover .fabric-cell { background: rgba(0,0,0,0.05); }
.fabric-color-name.is-new { color: var(--red); }
.fabric-new-badge, .fabric-camo-badge {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 2px 5px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: 1px;
}
.fabric-new-badge { color: #ef4444; border: 1px solid #fca5a5; }
.fabric-cell { width: 44px; height: 28px; padding: 0; transition: opacity 0.15s ease; background: #FFF; }
.fabric-cell.dimmed, .fabric-col-head.dimmed { opacity: 0.3; }
.fabric-swatch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
}
.fabric-swatch.light { outline: 1.5px solid #d1d5db; outline-offset: -2px; }
.fabric-swatch.new-cell { outline: 2px solid #ef4444; outline-offset: -2px; }
.fabric-camo-badge { background: #d97706; color: #FFF; border: 0; }
.fabric-color-name.camo { color: #92400e; background: #FFFBEB; }
.fabric-camo-cell {
  font-size: 0.72rem;
  font-weight: 600;
  color: #92400e;
  padding: 8px 14px;
  background: #FFFBEB;
}
.fabric-chart-note { color: rgba(0,0,0,0.5); font-size: 0.74rem; margin-top: 12px; }

/* ---- Decoration types section extras (closure types etc.) ---- */
.deco-types-intro {
  color: #666;
  max-width: 640px;
  margin: 6px 0 22px;
}
.option-img.contain {
  object-fit: contain;
  background: #F6F6F6;
  padding: 10px;
  box-sizing: border-box;
}
.deco-help-cta {
  margin-top: 36px;
  background: var(--gray-bg, #F6F6F6);
  border: 1px solid var(--gray-line, #E3E3E3);
  border-radius: 12px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.deco-help-cta h3 { margin: 0 0 4px; }
.deco-help-cta p { margin: 0; color: #666; font-size: 0.9rem; }

/* ---- Hero per-slide captions + arrows ---- */
.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.04;
}
.hero-caption p {
  max-width: 640px;
  margin: 0 auto 18px;
  font-size: 1.02rem;
  color: #EAEEF4;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}
.hero-slide .hero-caption { pointer-events: none; }
.hero-slide.active .hero-caption { pointer-events: auto; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: #222;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: background var(--transition);
}
.hero-arrow:hover { background: var(--white); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
@media (max-width: 760px) {
  .hero-caption { bottom: 54px; }
  .hero-arrow { width: 36px; height: 36px; }
}

/* ---- Wholesale quote page ---- */
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}
.quote-badge { margin-bottom: 14px; }
.quote-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.quote-callout {
  border: 1px solid var(--gray-line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: var(--gray-bg);
  padding: 16px 18px;
  margin-bottom: 18px;
}
.quote-callout h3 { margin: 0 0 6px; }
.quote-callout p { margin: 0; font-size: 0.9rem; }
.quote-blurb { font-size: 0.95rem; margin: 0 0 24px; }
.quote-facts { margin: 0; }
.quote-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--gray-line);
  font-size: 0.88rem;
}
.quote-facts dt { font-weight: 600; white-space: nowrap; }
.quote-facts dd { margin: 0; text-align: right; }
.quote-section-head {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy, #1B2A4C);
}
.quote-form .quote-section-head:first-child { margin-top: 0; }
.opt { font-weight: 400; color: #888; font-size: 0.8em; text-transform: none; letter-spacing: 0; }
.field-hint { margin: 4px 0 0; font-size: 0.75rem; color: #888; }

.dropzone {
  border: 2px dashed var(--gray-line);
  border-radius: 10px;
  background: var(--gray-bg);
  text-align: center;
  padding: 34px 20px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.dropzone.over, .dropzone:hover { border-color: var(--red); background: #FDF6F6; }
.dz-title { font-weight: 600; margin: 0 0 4px; }
.dz-sub { margin: 0 0 10px; color: #777; font-size: 0.88rem; }
.dz-formats { margin: 0; color: #999; font-size: 0.74rem; }
.dz-files { list-style: none; margin: 12px 0 0; padding: 0; }
.dz-files li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  background: #FFF;
}
.dz-file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-file-size { color: #999; font-size: 0.78rem; }
.dz-remove {
  background: none;
  border: 1px solid #fca5a5;
  color: #ef4444;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  cursor: pointer;
}
.reseller-confirm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 26px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  background: var(--gray-bg);
  font-size: 0.86rem;
  cursor: pointer;
}
.reseller-confirm input { margin-top: 3px; flex: 0 0 auto; }
.quote-forward-note { font-size: 0.82rem; color: #777; margin: 18px 0; }
.quote-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
}
.quote-success h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2.2rem;
  margin: 0 0 14px;
}
.quote-success p { max-width: 560px; margin: 0 auto 24px; }
@media (max-width: 860px) {
  .quote-layout { grid-template-columns: 1fr; gap: 30px; }
}

/* ---- Features & Services list (product pages) ---- */
.feature-services { margin-top: 34px; }
.fs-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.fs-square { width: 8px; height: 8px; background: var(--red); flex: 0 0 auto; }
.fs-list { display: grid; grid-template-columns: 1fr; gap: 8px; }
.fs-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  background: #FFF;
  transition: border-color var(--transition), background var(--transition);
}
.fs-item:hover { border-color: rgba(0,0,0,0.2); background: #FCFCFC; }
.fs-icon { font-size: 1.15rem; line-height: 1.3; flex: 0 0 auto; }
.fs-item h3 { margin: 0 0 2px; font-size: 0.88rem; }
.fs-item p { margin: 0; font-size: 0.78rem; color: #888; }

/* ============================================================
   HERO UPGRADES — Ken Burns drift, hover wake-up, kinetic
   headline reveal, cursor spotlight + parallax, progress dots
   ============================================================ */

/* 1) Idle state: subdued + slow Ken Burns drift */
.hero-slide img {
  filter: saturate(0.72) brightness(0.9);
  transition: filter 0.6s ease, transform 0.6s ease;
  will-change: transform;
}
.hero-slide.active img {
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(calc(var(--px, 0px) + 0px), 0, 0); }
  to   { transform: scale(1.1)  translate3d(calc(var(--px, 0px) - 14px), -8px, 0); }
}
.hero-slide::after { transition: opacity 0.6s ease; }

/* Hover wake-up: gradient melts, color snaps to life, caption lifts */
.hero.awake .hero-slide.active img { filter: saturate(1.12) brightness(1.04); }
.hero.awake .hero-slide.active::after { opacity: 0.45; }
.hero.awake .hero-slide.active .hero-caption { transform: translateY(-6px); }
.hero.awake .hero-slide.active .hero-caption .btn {
  box-shadow: 0 0 0 3px rgba(200,16,46,0.25), 0 6px 26px rgba(200,16,46,0.55);
}
.hero-caption { transition: transform 0.5s ease; }
.hero-caption .btn { transition: box-shadow 0.4s ease, background var(--transition); }

/* 2) Kinetic headline reveal on each slide change */
.hero-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-word { display: inline-block; transform: translateY(110%); }
.hero-slide.active .hero-word {
  animation: wordUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s + var(--w, 0) * 0.13s);
}
@keyframes wordUp { to { transform: translateY(0); } }
.hero-caption p, .hero-caption .btn { opacity: 0; }
.hero-slide.active .hero-caption p {
  animation: riseIn 0.5s ease forwards;
  animation-delay: calc(0.3s + var(--words, 3) * 0.13s);
}
.hero-slide.active .hero-caption .btn {
  animation: riseIn 0.5s ease forwards;
  animation-delay: calc(0.45s + var(--words, 3) * 0.13s);
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 3) Cursor spotlight + parallax depth */
.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 45%),
    rgba(255, 246, 230, 0.28) 0%,
    rgba(255, 246, 230, 0.10) 35%,
    rgba(0, 0, 0, 0) 70%
  );
  mix-blend-mode: screen;
}
.hero.awake .hero-spotlight { opacity: 1; }

/* 4) Dots become 6-second progress bars */
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 30px;
  height: 5px;
  border-radius: 3px;
  border: 0;
  background: rgba(255,255,255,0.35);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.hero-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--red);
  border-radius: 3px;
}
.hero-dot.active::before { animation: dotFill 6s linear forwards; }
.hero.awake .hero-dot.active::before { animation-play-state: paused; }
.hero-dot:hover { background: rgba(255,255,255,0.6); }

@keyframes dotFill { from { width: 0; } to { width: 100%; } }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active img { animation: none; }
  .hero-word { transform: none; animation: none !important; }
  .hero-caption p, .hero-caption .btn { opacity: 1; animation: none !important; }
  .hero-dot.active::before { animation: none; width: 100%; }
}

/* Override the legacy round-dot active/hover fill so the progress
   bar inside .hero-dot.active::before stays visible. */
.hero-dots .hero-dot,
.hero-dots .hero-dot.active,
.hero-dots .hero-dot:hover {
  background: rgba(255,255,255,0.35);
  border: 0;
}
.hero-dots .hero-dot:hover { background: rgba(255,255,255,0.6); }

/* ============================================================
   PRESSROOM DIRECTION — site-wide additions
   ============================================================ */

/* Anton on marquee headings across the site */
.page-hero h1, .pd-name, .deco-name, .quote-title, .quote-success h2,
.modal h2, .section-heading, .content-section h2, .stat-num {
  font-family: var(--font-anton);
  font-weight: 400;
  letter-spacing: .01em;
}

/* Announcement bar (injected by main.js on every page) */
.announce { background: var(--navy); color: #CFC9BC; text-align: center; padding: 9px 12px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.announce span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .22em; font-size: 10.5px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.announce b { color: #fff; font-weight: 700; }
.announce .dot { color: var(--red); }
@media (max-width: 640px) { .announce { gap: 11px; } .announce span { font-size: 9px; letter-spacing: .12em; } }

/* Reseller Quote button (repurposed sign-in link) */
.header-signin { border-color: var(--navy); background: var(--navy); color: var(--white); }
.header-signin:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---- Homepage (Pressroom), hp- prefixed ---- */
.hp-wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.hp-eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .28em; font-size: 11px; font-weight: 700; color: var(--red); }

.hp-hero { position: relative; background: var(--navy); color: var(--bone); overflow: hidden; }
.hp-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 600px; }
.hp-hero-l { display: flex; flex-direction: column; justify-content: center; padding: 64px 30px 64px 0; }
.hp-hero-l .in { max-width: 560px; margin-left: auto; padding-left: 40px; }
.hp-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hp-kicker .rule { height: 1px; width: 46px; background: var(--red); }
.hp-kicker span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em; font-size: 11px; font-weight: 700; color: var(--gold); }
.hp-hero h1 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .9; letter-spacing: .01em; color: #fff; margin: 0; }
.hp-hero h1 .bz { color: var(--red); }
.hp-hero p { margin: 24px 0 0; color: #C7C2B6; font-size: 16.5px; line-height: 1.65; max-width: 450px; }
.hp-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hp-btn { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .15em; font-size: 12.5px; font-weight: 800; text-decoration: none; padding: 16px 26px; display: inline-block; }
.hp-btn.red { background: var(--red); color: #fff; }
.hp-btn.ghost { border: 1.5px solid rgba(255,255,255,.4); color: var(--bone); }
.hp-hero-r { position: relative; background: #1A1A1D; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 420px; }
.hp-hero-r .big { position: absolute; font-family: var(--font-anton); font-size: 230px; color: rgba(255,255,255,.045); right: -10px; top: 0; line-height: 1; }
.hp-hero-r img { position: relative; width: 90%; }
.hp-chips { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(11,11,12,.85)); padding: 38px 26px 20px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hp-chip { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; font-weight: 700; color: var(--bone); border: 1px solid rgba(255,255,255,.28); padding: 7px 12px; border-radius: 40px; }

.hp-stats { background: #141416; color: var(--bone); border-top: 1px solid rgba(255,255,255,.1); }
.hp-stats .hp-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-stat { padding: 26px 0; border-right: 1px solid rgba(255,255,255,.1); }
.hp-stat:last-child { border-right: 0; }
.hp-stat .v { font-family: var(--font-anton); font-size: 40px; line-height: 1; color: #fff; }
.hp-stat .v b { color: var(--red); font-weight: 400; }
.hp-stat .l { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; color: #8C887F; margin-top: 9px; font-weight: 600; }

.hp-sec { padding: 84px 0; }
.hp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.hp-sec-head h2 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.2rem); line-height: .94; letter-spacing: .01em; margin: 8px 0 0; color: var(--navy); }
.hp-sec-head p { color: var(--ink-soft); max-width: 360px; font-size: 15px; line-height: 1.6; text-align: right; }

.hp-cap { background: var(--bone); }
.hp-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.hp-cell { position: relative; overflow: hidden; background: #1D1D20; display: block; color: inherit; text-decoration: none; }
a.hp-chip { text-decoration: none; transition: border-color .25s ease, color .25s ease; }
a.hp-chip:hover { border-color: var(--gold); color: var(--gold); }
.hp-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hp-cell:hover img { transform: scale(1.06); }
.hp-cell .ov { position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(11,11,12,.82)); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.hp-cell .num { font-family: var(--font-display); font-size: 10.5px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.hp-cell h3 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: 21px; color: #fff; line-height: 1; margin: 6px 0 0; }
.hp-cell p { font-family: var(--font-display); font-size: 11px; letter-spacing: .04em; color: #C7C2B6; margin: 5px 0 0; text-transform: uppercase; font-weight: 600; }
.hp-w2 { grid-column: span 2; } .hp-h2 { grid-row: span 2; }

.hp-showcase { background: #fff; border-top: 1px solid var(--gray-line); border-bottom: 1px solid var(--gray-line); }
.hp-stage-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hp-stage { position: relative; aspect-ratio: 1/1; background: #fff; border: 1px solid var(--gray-line); }
.hp-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 7%; opacity: 0; transition: opacity .7s ease; }
.hp-stage img.on { opacity: 1; }
.hp-stage .badge { position: absolute; left: 18px; top: 16px; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--red); z-index: 2; }
.hp-stage .nm { position: absolute; left: 18px; bottom: 16px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--navy); z-index: 2; }
.hp-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hp-swatch { position: relative; aspect-ratio: 1/1; background: #fff; border: 1px solid var(--gray-line); cursor: pointer; transition: border-color .2s; }
.hp-swatch img { width: 100%; height: 100%; object-fit: contain; padding: 9%; }
.hp-swatch.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.hp-perm { display: flex; align-items: flex-end; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--gray-line); }
.hp-perm .n { font-family: var(--font-anton); font-size: 72px; line-height: .78; color: var(--navy); }
.hp-perm .n b { color: var(--red); font-weight: 400; }
.hp-perm .l { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--ink-soft); line-height: 1.55; }

.hp-factory { background: var(--navy); color: var(--bone); }
.hp-factory .hp-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 80px 40px; }
.hp-factory h2 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.1rem); line-height: .95; color: #fff; margin: 14px 0 0; }
.hp-factory h2 .bz { color: var(--red); }
.hp-factory p { color: #C7C2B6; font-size: 16px; line-height: 1.7; margin: 18px 0 0; max-width: 440px; }
.hp-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.hp-step { background: var(--navy); padding: 24px 22px; }
.hp-step .n { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; color: var(--red); font-weight: 700; }
.hp-step .t { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: 21px; color: #fff; margin: 8px 0 0; }
.hp-step .d { font-size: 13px; color: #8C887F; margin: 7px 0 0; line-height: 1.5; }

@media (max-width: 860px) {
  .hp-hero-grid { grid-template-columns: 1fr; }
  .hp-hero-l { padding: 48px 24px; }
  .hp-hero-l .in { padding-left: 0; }
  .hp-stats .hp-wrap { grid-template-columns: repeat(2, 1fr); }
  .hp-stat:nth-child(2n) { border-right: 0; }
  .hp-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .hp-w2 { grid-column: span 2; } .hp-h2 { grid-row: span 1; }
  .hp-stage-grid { grid-template-columns: 1fr; gap: 28px; }
  .hp-factory .hp-wrap { grid-template-columns: 1fr; gap: 30px; padding: 56px 24px; }
  .hp-sec-head { flex-direction: column; align-items: flex-start; }
  .hp-sec-head p { text-align: left; max-width: none; }
}

/* ============================================================
   CAP OF THE MONTH  (cotm-)  — dark spotlight + multi-angle gallery
   ============================================================ */
.cotm { position: relative; background: var(--navy); color: var(--bone); overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.cotm-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(58% 80% at 88% 10%, rgba(229,52,30,.16), transparent 60%),
    radial-gradient(55% 75% at 6% 94%, rgba(36,66,150,.20), transparent 60%); }
.cotm-watermark { position: absolute; right: -1.5%; top: -10%; z-index: 0; font-family: var(--font-anton); font-size: 36vh; line-height: 1; color: rgba(255,255,255,.035); letter-spacing: -.02em; pointer-events: none; user-select: none; }
.cotm-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center; padding: 88px 40px; }

/* gallery */
.cotm-stage { position: relative; aspect-ratio: 1/1; background: #0F0F11; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 34px 80px -34px rgba(0,0,0,.85); }
.cotm-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 3; background: linear-gradient(90deg, var(--red) 0 33.33%, #fff 33.33% 66.66%, #1b3a6b 66.66% 100%); }
.cotm-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, transform 7s ease; }
.cotm-stage:hover .cotm-main { transform: scale(1.04); }
.cotm-badge { position: absolute; left: 16px; top: 18px; z-index: 4; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: #fff; background: var(--red); padding: 7px 12px; }
.cotm-month { position: absolute; right: 16px; top: 18px; z-index: 4; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; color: var(--gold); }
.cotm-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.cotm-thumb { position: relative; aspect-ratio: 1/1; padding: 0; border: 1px solid rgba(255,255,255,.14); background: #0F0F11; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.cotm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.cotm-thumb span { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: 9.5px; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.82)); padding: 16px 6px 5px; text-align: center; }
.cotm-thumb:hover img { transform: scale(1.08); }
.cotm-thumb:hover { border-color: rgba(255,255,255,.42); }
.cotm-thumb.on { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }

/* info */
.cotm-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cotm-eyebrow .rule { height: 1px; width: 46px; background: var(--red); }
.cotm-eyebrow span:last-child { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em; font-size: 11px; font-weight: 700; color: var(--gold); }
.cotm-info h2 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: .88; letter-spacing: .01em; color: #fff; margin: 0; }
.cotm-info h2 .bz { color: var(--red); }
.cotm-style { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: #C7C2B6; margin: 14px 0 0; }
.cotm-lead { color: #C7C2B6; font-size: 16px; line-height: 1.7; margin: 18px 0 0; max-width: 480px; }
.cotm-specs { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; max-width: 480px; }
.cotm-specs li { position: relative; padding-left: 22px; font-size: 13.5px; line-height: 1.45; color: #E6E2D8; }
.cotm-specs li::before { content: ""; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; background: var(--gold); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.cotm-foot { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.cotm-price { display: flex; align-items: baseline; gap: 6px; }
.cotm-price .from { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; color: #8C887F; }
.cotm-price .amt { font-family: var(--font-anton); font-size: 40px; line-height: 1; color: #fff; }
.cotm-price .unit { font-family: var(--font-display); font-size: 12px; color: #8C887F; }
.cotm-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cotm-cta .hp-btn.ghost:hover { border-color: var(--gold); color: #fff; }

/* scroll reveal */
.cotm [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.cotm.in [data-reveal] { opacity: 1; transform: none; }
.cotm.in [data-reveal="2"] { transition-delay: .07s; }
.cotm.in [data-reveal="3"] { transition-delay: .14s; }
.cotm.in [data-reveal="4"] { transition-delay: .21s; }
@media (prefers-reduced-motion: reduce) {
  .cotm [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cotm-main, .cotm-thumb img, .cotm-stage:hover .cotm-main { transition: none; }
}

@media (max-width: 860px) {
  .cotm-grid { grid-template-columns: 1fr; gap: 34px; padding: 56px 22px; }
  .cotm-watermark { font-size: 24vh; }
  .cotm-specs { grid-template-columns: 1fr 1fr; }
  .cotm-info h2 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
}
@media (max-width: 460px) {
  .cotm-specs { grid-template-columns: 1fr; }
}

/* ---- Cap of the Month PAGE (cap-of-the-month.html) ---- */
.cotmp-head { position: relative; background: var(--navy); color: var(--bone); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.cotmp-head .cotm-glow { z-index: 0; }
.cotmp-head .hp-wrap { position: relative; z-index: 1; padding: 52px 40px 0; }
.cotmp-eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em; font-size: 11px; font-weight: 700; color: var(--gold); }
.cotmp-head h1 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: .9; letter-spacing: .01em; color: #fff; margin: 10px 0 0; }
.cotmp-head h1 .bz { color: var(--red); }
.cotmp-head p { color: #C7C2B6; font-size: 16px; line-height: 1.65; max-width: 600px; margin: 16px 0 30px; }
.cotm-months { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 28px; }
.cotm-tab { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: #C7C2B6; border: 1px solid rgba(255,255,255,.22); background: transparent; padding: 11px 20px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cotm-tab:hover { border-color: var(--gold); color: #fff; }
.cotm-tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.cotm-tab .tm-theme { color: inherit; opacity: .7; font-weight: 600; }

.cotm-month-panel { display: none; }
.cotm-month-panel.on { display: block; }

/* the per-page featured spotlight reuses .cotm; trim its top padding under the head */
.cotm-month-panel .cotm .cotm-grid { padding-top: 70px; padding-bottom: 70px; }

/* wide (16:9) hero shots show full-frame instead of the square crop */
.cotm-stage.wide { aspect-ratio: 16 / 9; }

/* "more this month" product grid heading on the dark-to-light transition */
.cotmp-picks { background: var(--gray-bg); padding: 64px 0 74px; }
.cotmp-picks .hp-wrap { padding: 0 40px; }
.cotmp-picks .hp-sec-head { margin-bottom: 26px; }
.cotmp-picks h2 { font-family: var(--font-anton); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: .96; color: var(--navy); margin: 8px 0 0; }
.cotmp-empty { color: var(--ink-soft); font-size: 15px; padding: 30px 0; }

@media (max-width: 860px) {
  .cotmp-head .hp-wrap { padding: 40px 22px 0; }
  .cotmp-picks .hp-wrap { padding: 0 22px; }
}


/* ============================================================
   BUILD FAMILY PICKER (1115-style: fabric cards + rope adder)
   ============================================================ */
.build-picker { margin: 18px 0 6px; }
.build-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #666; margin: 0 0 8px; }
.build-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.build-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 12px 14px; border: 2px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; font: inherit; }
.build-card:hover { border-color: #999; }
.build-card.on { border-color: #111; box-shadow: 0 0 0 1px #111 inset; }
.build-card strong { font-size: 0.95rem; }
.build-card span { font-size: 0.8rem; color: #555; line-height: 1.35; }
.build-card em { font-style: normal; font-size: 0.75rem; color: #888; }
.rope-row { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; padding: 12px 14px; border: 1.5px dashed #b9a875; border-radius: 10px; background: #faf8f2; cursor: pointer; font-size: 0.9rem; line-height: 1.4; }
.rope-row input { margin-top: 3px; accent-color: #111; width: 16px; height: 16px; flex: none; }
.rope-note { font-size: 0.78rem; color: #777; margin: 6px 0 0; line-height: 1.5; }
.rope-price-note { font-size: 0.85rem; margin: 8px 0 0; color: #333; }
@media (max-width: 720px) { .build-cards { grid-template-columns: 1fr; } }
.pricing-build-note { font-size: 0.85rem; color: #555; margin: 0 0 8px; }


/* fabric palette + contact-pricing (single-photo styles) */
.fabric-palette { margin: 16px 0 4px; }
.fabric-palette h4 { margin: 12px 0 6px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: #555; }
.fabric-palette h4 span { color: #999; font-weight: 400; text-transform: none; letter-spacing: 0; }
.pal-dots { display: flex; flex-wrap: wrap; gap: 7px; }
.pal-dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.18); display: inline-block; cursor: help; }
.pal-note { font-size: 0.78rem; color: #777; margin: 10px 0 0; line-height: 1.45; }
.contact-pricing { font-size: 0.92rem; line-height: 1.5; background: #faf8f2; border: 1.5px dashed #b9a875; border-radius: 10px; padding: 12px 14px; margin: 6px 0 0; }

/* TEMP-TESTING-BANNER — delete this block to remove the site-wide testing header */
body::before{content:"New Site: Currently in Testing Mode";display:block;background:#b21e1e;color:#fff;text-align:center;font:600 13px/1.5 Oswald,Arial,sans-serif;letter-spacing:.06em;padding:6px 14px;position:relative;z-index:9999}
