/* MeasuredLux Architectural & Photometric Storefront Stylesheet (V6)
   Visual World: Warm Daylight Architectural Gallery & Photometric Spec-Bench
   Palette: Gallery Alabaster (#fbfaf7), Architectural Stone (#f4f1ea), Pure White (#ffffff),
            Tungsten Amber (#f59e0b / #d97706 / #92400e), Blueprint Teal (#0f766e),
            Technical Cobalt (#1d4ed8), Obsidian Slate Ink (#14171f)
   Fonts: Space Grotesk (600/700), Plus Jakarta Sans (500-800), IBM Plex Mono (500/600)
   WCAG 2.1 Contrast: Ink #14171f = 16.6:1, Mid #334155 = 10.1:1, Muted #4b5563 = 7.2:1 (AAA)
*/

:root {
  --alabaster: #fbfaf7;
  --surface: #f4f1ea;
  --surface-soft: #ede8dd;
  --card: #ffffff;

  --amber: #d97706;
  --amber-bright: #f59e0b;
  --amber-deep: #92400e;
  --amber-wash: #fef3c7;

  --teal: #0f766e;
  --teal-deep: #115e59;
  --teal-wash: #ccfbf1;

  --cobalt: #1d4ed8;
  --cobalt-deep: #1e40af;
  --cobalt-wash: #dbeafe;

  --sale-red: #b91c1c;
  --obsidian: #11151d;

  --ink: #14171f;
  --ink-mid: #334155;
  --ink-muted: #4b5563;
  --line: #e2ddd3;
  --line-strong: #cbc3b4;

  --display: "Space Grotesk", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1380px;
  --gutter: clamp(14px, 2.6vw, 36px);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 6px 20px rgba(20, 23, 31, 0.06);
  --shadow-hover: 0 14px 30px rgba(20, 23, 31, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--alabaster);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  background: var(--alabaster);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

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

button, input, select {
  font: inherit;
  color: inherit;
}

.mono {
  font-family: var(--mono);
}

.fine {
  font-size: 13px;
  color: var(--ink-muted);
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
}
.skip:focus {
  left: 12px;
}

/* Mandatory Hunter Thomas Feedback button rule: hidden until triggered */
#htfb-btn {
  display: none !important;
}
body.show-feedback #htfb-btn {
  display: inline-flex !important;
}

/* ---------------- Architectural Gallery Masthead ---------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--line-strong);
  box-shadow: 0 4px 18px rgba(20, 23, 31, 0.05);
}

.masthead-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  flex-shrink: 0;
}
.logo-crest {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(20, 23, 31, 0.16));
  transition: transform 0.2s ease;
}
.logo:hover .logo-crest {
  transform: translateY(-1px) scale(1.04);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark b {
  color: var(--amber-deep);
  font-weight: 700;
}
.wordmark-sub {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: 2px;
}

/* Main Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-mid);
  transition: background 0.16s ease, color 0.16s ease;
}
.nav a:hover,
.nav a.active {
  background: var(--surface-soft);
  color: var(--ink);
}
.nav a.nav-shop-pill {
  background: var(--ink);
  color: #ffffff;
  padding: 0 15px;
}
.nav a.nav-shop-pill:hover,
.nav a.nav-shop-pill.active {
  background: var(--teal-deep);
  color: #ffffff;
}
.nav a.nav-studio {
  background: var(--amber-wash);
  border: 1.5px solid #fcd34d;
  color: var(--ink);
}
.nav a.nav-studio:hover,
.nav a.nav-studio.active {
  background: var(--amber-bright);
  border-color: var(--amber);
  color: var(--ink);
}
.nav a.nav-sale {
  color: var(--sale-red);
}

/* Right utility links */
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.util-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.util-link:hover,
.util-link.active {
  border-color: var(--amber);
  background: var(--amber-wash);
  color: var(--ink);
}
.util-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.schedule-link svg {
  color: var(--amber-deep);
}
.schedule-link em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  border: 0;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.menu-ico {
  width: 16px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: relative;
}
.menu-ico::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 2px;
  background: currentColor;
}

/* Mobile menu drawer */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(17, 21, 29, 0.58);
  display: flex;
  justify-content: flex-end;
}
.menu-sheet[hidden] {
  display: none;
}
.menu-panel {
  width: min(380px, 92vw);
  height: 100%;
  background: var(--alabaster);
  border-left: 2px solid var(--line-strong);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--line);
}
.menu-body {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.menu-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.menu-body a.active {
  color: var(--teal-deep);
}

/* ---------------- Architectural Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--amber);
}
.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 23, 31, 0.18);
}
.btn.primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn.amber {
  background: var(--amber-bright);
  border-color: var(--amber);
  color: var(--ink);
  font-weight: 800;
}
.btn.amber:hover {
  background: #fbbf24;
  border-color: var(--amber-deep);
  color: var(--ink);
}
.btn.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}
.btn.teal:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn.ghost {
  background: var(--card);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--surface);
  border-color: var(--amber);
  color: var(--ink);
}
.btn.sm {
  min-height: 44px;
  padding: 7px 15px;
  font-size: 13.5px;
}

/* ---------------- Product-First Warm Daylight Hero (#home) ---------------- */
.lux-hero {
  background:
    radial-gradient(circle at 14% 8%, rgba(245, 158, 11, 0.18), transparent 36%),
    radial-gradient(circle at 86% 6%, rgba(15, 118, 110, 0.09), transparent 36%),
    linear-gradient(180deg, #f6f2e8 0%, var(--alabaster) 320px);
  padding: 12px 0 24px;
  border-bottom: 1.5px solid var(--line-strong);
}

.lux-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.lux-hero-copy {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
}

.lux-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--amber-bright);
  border: 1.5px solid var(--amber);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.hero-stat-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
}
.hero-stat-pill a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: underline;
}

.lux-hero-h {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.lux-hero-h em {
  font-style: normal;
  color: var(--amber-deep);
  text-decoration: underline;
  text-decoration-color: var(--amber-bright);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.lux-hero-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 340px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
}

.hero-search-box {
  position: relative;
  flex: 1 1 210px;
  min-width: 0;
  max-width: 100%;
}
.hero-search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--amber-deep);
  stroke-width: 2.2;
  stroke-linecap: round;
  pointer-events: none;
}
.hero-search-box input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(20, 23, 31, 0.04);
}
.hero-search-box input::placeholder {
  color: var(--ink-muted);
  font-weight: 500;
}
.hero-search-box input:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

#home-sort {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.hero-calc-btn {
  white-space: nowrap;
}

/* Quick Category & Photometric Feature Filter Rail right above hero products */
.lux-filter-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 12px;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.cat-chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}
.cat-chip:hover,
.cat-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.cat-chip:hover em,
.cat-chip.active em {
  color: #fcd34d;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.16s ease;
}
.toggle-chip:hover {
  border-color: var(--teal);
}
.toggle-chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}
.toggle-chip.amber-chip {
  background: var(--amber-wash);
  border-color: #fcd34d;
}
.toggle-chip.amber-chip.active {
  background: var(--amber-bright);
  border-color: var(--amber);
  color: var(--ink);
}
.toggle-chip.sale-chip.active {
  background: var(--sale-red);
  border-color: var(--sale-red);
  color: #ffffff;
}

.hero-live-count {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ---------------- Visual Luminaire Product Cards ---------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 15px;
}

.pcard {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.hero-prod-grid .pcard-stage {
  aspect-ratio: 1 / 0.88;
  padding: 10px;
}
.hero-prod-grid .pcard-options {
  display: none;
}
.pcard:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.pcard-stage {
  position: relative;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-bottom: 1.5px solid var(--line);
  overflow: hidden;
}
.pcard-stage a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.28s ease;
}
.pcard:hover .pcard-stage img {
  transform: scale(1.04);
}

.badge-deal {
  position: absolute;
  top: 9px;
  left: 9px;
  background: var(--sale-red);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 9px;
  box-shadow: 0 3px 8px rgba(185, 28, 28, 0.25);
}
.badge-date {
  position: absolute;
  bottom: 9px;
  left: 9px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11.5px;
  border-radius: 999px;
  padding: 3px 9px;
}
.badge-spec {
  position: absolute;
  bottom: 9px;
  right: 9px;
  background: var(--amber-wash);
  border: 1.5px solid var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 9px;
}

.save-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
}
.save-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.save-btn:hover {
  background: var(--amber-wash);
  border-color: var(--amber);
  transform: scale(1.05);
}
.save-btn.saved {
  background: var(--ink);
  border-color: var(--ink);
  color: #fcd34d;
}
.save-btn.saved svg {
  fill: currentColor;
}

.pcard-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.pcard-brand {
  color: var(--teal-deep);
  font-weight: 800;
}
.pcard-brand:hover {
  text-decoration: underline;
}

.pcard-title {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.26;
  margin: 0 0 7px;
  color: var(--ink);
}
.pcard-title a:hover {
  color: var(--teal-deep);
}

.pcard-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.fclass-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.spec-tag-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--cobalt-wash);
  color: var(--cobalt-deep);
}
.spec-tag-pill.amber {
  background: var(--amber-wash);
  border: 1px solid #fcd34d;
  color: var(--ink);
}
.spec-tag-pill.wet {
  background: var(--teal-wash);
  color: var(--teal-deep);
}

.pcard-quote {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.44;
  color: var(--ink-mid);
  margin: 0 0 9px;
  padding: 6px 9px;
  background: var(--alabaster);
  border-left: 3px solid var(--amber);
  border-radius: 0 6px 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 9px;
}
.opt-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-mid);
}

.pcard-foot {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px;
}
.price-now {
  font-family: var(--display);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
}
.price-was {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: 12px;
  color: var(--sale-red);
  font-weight: 800;
}

.store-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.16s ease;
}
.store-go:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

/* ---------------- Lighting Makers Ribbon ---------------- */
.maker-marquee {
  background: var(--surface);
  border-bottom: 1.5px solid var(--line-strong);
  padding: 13px 0;
}
.maker-marquee-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.maker-marquee-label {
  font-family: var(--display);
  font-size: 14px;
  color: var(--teal-deep);
  font-weight: 700;
}
.maker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
.maker-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.16s ease;
}
.maker-list a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

/* ---------------- Section Headers & Page Headers ---------------- */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 42px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--line-strong);
}
.sec-kicker,
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.eyebrow a {
  text-decoration: underline;
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.sec-head p {
  margin: 6px 0 0;
  color: var(--ink-mid);
  max-width: 66ch;
  font-size: 15px;
}

.page-head {
  padding: 28px 0 20px;
  border-bottom: 1.5px solid var(--line-strong);
  margin-bottom: 22px;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
}
.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 70ch;
  margin: 0;
}
.head-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ---------------- 10 Photometric Calculators Directory & Workbench (#planners) ---------------- */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.planner-grid.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.planner-card {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.planner-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.planner-card.active-calc {
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 3px var(--amber-wash);
}
.planner-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--obsidian);
  border-bottom: 1.5px solid var(--line);
  overflow: hidden;
}
.planner-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.planner-card:hover .planner-shot img {
  transform: scale(1.03);
}
.planner-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--obsidian);
  color: #ffffff;
  border: 1px solid #fcd34d;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.planner-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--amber-bright);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.planner-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.planner-body h3 {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.22;
  margin: 0;
  color: var(--ink);
}
.planner-grid.compact .planner-body h3 {
  font-size: 15.5px;
}
.planner-who {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-deep);
}
.planner-gets {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.48;
  flex: 1;
}
.planner-grid.compact .planner-who {
  display: none;
}
.planner-grid.compact .planner-gets {
  font-size: 12.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.planner-actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

/* Interactive Inline Calculator Workbench */
.planner-workbench {
  background: var(--obsidian);
  color: #f8fafc;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 28px;
  box-shadow: 0 16px 36px rgba(17, 21, 29, 0.16);
}
.workbench-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.workbench-title-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.workbench-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fcd34d;
}
.workbench-title-group h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  color: #ffffff;
}
.workbench-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.workbench-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.wb-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wb-tab:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.wb-tab.active {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
  color: var(--ink);
}
.planner-frame-wrap {
  background: var(--obsidian);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.planner-iframe {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
  background: var(--obsidian);
}

/* ---------------- Curated Spec Kits (#kits) ---------------- */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.kit-card {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.kit-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.kit-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--surface);
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.kit-thumbs div {
  background: #ffffff;
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.kit-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.kit-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.kit-card h3 {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.24;
  margin: 0 0 8px;
}
.kit-card p {
  font-size: 14px;
  color: var(--ink-mid);
  margin: 0 0 14px;
  flex: 1;
}
.kit-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------------- Filter Toolbar ---------------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.toolbar input[type="search"] {
  flex: 1 1 240px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  font-size: 14.5px;
  font-weight: 600;
}
.toolbar select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.toolbar-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mid);
}

/* ---------------- Brand Photometric Report Cards (#brands) ---------------- */
.brand-toolbar {
  gap: 12px;
}
.brand-sort-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.bcard {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bcard:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.bcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.bcard-title-col {
  min-width: 0;
}
.bcard-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.bcard-head h3 {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.15;
  margin: 0;
}
.bcard-deal-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sale-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}
.bcard-submeta {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-mid);
}
.bcard-grade {
  text-align: right;
  background: var(--amber-wash);
  border: 1.5px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  flex-shrink: 0;
}
.bcard-grade strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.bcard-grade small {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-mid);
}
.bcard-focus {
  margin: 0;
  color: var(--ink-mid);
  font-size: 14.5px;
  line-height: 1.5;
}
.bcard-ph {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.bcard-ph-cell {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.bcard-ph-cell:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
.bcard-ph-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bcard-ph-tag.sale {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--sale-red);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 1px 6px;
}
.bcard-ph-price {
  position: absolute;
  right: 5px;
  bottom: 5px;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 6px;
}
.rc-bar {
  display: flex;
  height: 10px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}
.rc-seg-pendant { background: #d97706; }
.rc-seg-vanity { background: #1d4ed8; }
.rc-seg-commercial { background: #0f766e; }
.rc-seg-exterior { background: #b45309; }
.rc-seg-task { background: #4338ca; }

.rc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.rc-stats div {
  background: var(--alabaster);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}
.rc-stats span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.rc-stats b {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
}
.bcard-policies {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink-mid);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bcard-policies a {
  color: var(--teal-deep);
  text-decoration: underline;
  font-weight: 700;
}
.bcard-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Luminaire Cut-Sheet Detail View (#item-*) ---------------- */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  padding: 20px 0 34px;
  align-items: start;
}
.detail-photo {
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.detail-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.detail-prices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.detail-prices .price-now {
  font-size: 26px;
}
.spec-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.spec-kpi {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 11px;
}
.spec-kpi span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.spec-kpi strong {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
}
.spec-sheet-box {
  margin: 18px 0;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.spec-sheet-box h2 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 8px;
}
.spec-sheet-quote {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}
.spec-sheet-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec-sheet-list a {
  color: var(--teal-deep);
  text-decoration: underline;
  font-weight: 700;
}
.detail-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

/* ---------------- Videos & Creators (#videos, #creators) ---------------- */
.home-creators-band {
  margin: 44px 0 24px;
  padding: 26px;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vcard {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.vcard-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--obsidian);
  overflow: hidden;
}
.vcard-thumb img,
.vcard-thumb iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border: 0;
}
.vcard-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(17, 21, 29, 0.92);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 7px;
}
.play-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 44px;
  background: rgba(17, 21, 29, 0.2);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.play-btn:hover {
  background: rgba(15, 118, 110, 0.28);
}
.play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: 2.5px solid #ffffff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(17, 21, 29, 0.35);
}
.play-circle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.vcard-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.vcard-lane {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
}
.vcard-title {
  font-family: var(--display);
  font-size: 16.5px;
  line-height: 1.3;
  margin: 0;
}
.vcard-meta {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}
.ccard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--alabaster);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
}
.ccard-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ccard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--obsidian);
  color: #fcd34d;
  border: 2px solid var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.ccard-meta h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink);
}
.ccard-meta span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.ccard-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.52;
  color: var(--ink-mid);
}
.ccard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.soc-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.soc-ico-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--soc, var(--ink));
  color: var(--soc-on, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.soc-ico-btn:hover {
  transform: scale(1.06);
  opacity: 0.92;
}
.soc-ico-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------------- Trust & Legal Pages ---------------- */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.legal-card {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 22px;
}
.legal-card h2 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 10px;
}
.legal-card p {
  margin: 0 0 10px;
  color: var(--ink-mid);
}
.legal-card a {
  color: var(--teal-deep);
  text-decoration: underline;
  font-weight: 700;
}
.partners-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 44px;
  align-items: start;
}
.faq-list details {
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq-list summary {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.remove-box {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 24px;
}
.remove-box h2 {
  font-family: var(--display);
  margin: 0 0 10px;
}

.empty-box {
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
}
.more-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 150;
  background: var(--obsidian);
  color: #ffffff;
  border: 2px solid var(--amber-bright);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Obsidian Architectural Footer ---------------- */
.foot {
  margin-top: 64px;
  background: var(--obsidian);
  color: #f1f5f9;
  border-top: 4px solid var(--amber-bright);
  padding: 48px 0 42px;
}
.foot .wordmark {
  color: #ffffff;
}
.foot .wordmark b {
  color: #fbbf24;
}
.foot-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
}
.foot-tag {
  margin: 12px 0;
  max-width: 52ch;
  color: #cbd5e1;
  font-size: 15px;
}
.foot-fine {
  font-size: 13.5px;
  color: #94a3b8;
  max-width: 56ch;
}
.foot-fee {
  font-size: 13.5px;
  color: #fbbf24;
  font-weight: 700;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.foot-col-title {
  font-family: var(--display);
  font-size: 15px;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 6px;
}
.foot-col a,
.foot-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
}
.foot-col a:hover,
.foot-link:hover {
  color: #fbbf24;
}
.foot-fb-dot {
  align-self: flex-start;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: 0;
  color: #94a3b8;
  cursor: pointer;
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 1180px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .detail-grid,
  .partners-wrap,
  .foot-inner {
    grid-template-columns: 1fr;
  }
  .planner-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .prod-grid,
  .kit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .brand-grid,
  .video-grid,
  .legal-grid,
  .planner-grid {
    grid-template-columns: 1fr;
  }
  .planner-grid.compact,
  .prod-grid,
  .kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rc-stats,
  .spec-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hide-sm {
    display: none;
  }
  .lux-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lux-hero-copy,
  .lux-hero-controls {
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
  }
  .hero-search-box {
    flex: 1 1 100%;
    width: 100%;
  }
  .planner-iframe {
    height: 560px;
  }
}

@media (max-width: 640px) {
  .masthead-inner {
    gap: 6px;
    min-height: 60px;
  }
  .logo {
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
  }
  .logo-crest {
    width: 36px;
    height: 36px;
  }
  .masthead .wordmark {
    font-size: 19px;
  }
  .wordmark-sub {
    display: none;
  }
  .top-actions {
    gap: 4px;
    flex: none;
  }
  .util-link[href="#search"] {
    display: none;
  }
  .util-link {
    min-width: 44px;
    justify-content: center;
    padding: 0 8px;
    gap: 4px;
  }
  .menu-btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  .menu-btn > span:not(.menu-ico) {
    display: none;
  }
  .creator-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  select,
  input {
    max-width: 100%;
    min-width: 0;
  }
}

/* ---------------- Retail Filter Bar & Mobile Filter Drawer ---------------- */
body.flt-drawer-open {
  overflow: hidden;
}
.hero-cta-wrap {
  flex-shrink: 0;
}
.shop-compact-head {
  padding: 16px 0 10px;
  margin-bottom: 4px;
}
.shop-compact-head h1 {
  margin: 4px 0 4px;
}
.shop-compact-head .lede {
  margin-top: 4px;
}

.flt-shell {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  max-width: 100%;
}
.flt-desk,
.flt-deals-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
}
.flt-deals-bar {
  margin-bottom: 16px;
}
.flt-mob {
  display: none;
}

.flt-search-wrap {
  position: relative;
  flex: 1 1 210px;
  min-width: 170px;
  max-width: 100%;
}
.flt-search-wrap svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber-deep);
  pointer-events: none;
}
.flt-search-wrap input {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px 8px 36px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.flt-search-wrap input:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

.flt-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  padding: 8px 32px 8px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%2314171f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-overflow: ellipsis;
}
.flt-select:hover {
  border-color: var(--teal);
}
.flt-select.is-active {
  border-color: var(--teal);
  background-color: var(--teal-wash);
  color: var(--teal-deep);
}
.flt-full-select {
  width: 100%;
  border-radius: var(--radius-sm);
}

.flt-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.flt-toggle:hover {
  border-color: var(--teal);
}
.flt-toggle.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}
.flt-toggle.amber-toggle.active {
  background: var(--amber-bright);
  border-color: var(--amber);
  color: var(--ink);
}
.flt-toggle.sale-toggle.active {
  background: var(--sale-red);
  border-color: var(--sale-red);
  color: #ffffff;
}

.flt-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px dashed var(--line-strong);
  background: transparent;
  color: var(--sale-red);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.flt-clear:hover {
  border-color: var(--sale-red);
  background: #fef2f2;
}

.flt-drawer {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(17, 21, 29, 0.56);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.flt-drawer[hidden] {
  display: none !important;
}
.flt-drawer-panel {
  width: 100%;
  max-width: 520px;
  max-height: 88dvh;
  background: var(--alabaster);
  border-radius: 20px 20px 0 0;
  border-top: 1.5px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 32px rgba(20, 23, 31, 0.22);
}
.flt-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 20px 20px 0 0;
}
.flt-drawer-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}
.flt-drawer-close {
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--alabaster);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.flt-drawer-body {
  padding: 14px 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.flt-sec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flt-sec-lbl {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.flt-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flt-chip {
  min-height: 44px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.flt-chip.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}
.flt-chip.amber-chip.active {
  background: var(--amber-bright);
  border-color: var(--amber);
  color: var(--ink);
}
.flt-chip.sale-chip.active {
  background: var(--sale-red);
  border-color: var(--sale-red);
  color: #ffffff;
}
.flt-drawer-foot {
  padding: 12px 18px;
  border-top: 1.5px solid var(--line);
  background: var(--card);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}

/* Integrated Editorial & Shopping Feed Posts (#home) */
.lux-feed-shell {
  border-bottom: 0;
  padding-bottom: 32px;
}
.feed-sentinel {
  width: 100%;
  height: 4px;
}
.more-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.ifd-post {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}
.ifd-post-planner {
  background:
    radial-gradient(circle at 90% 18%, rgba(245, 158, 11, 0.14), transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
  border-color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ifd-planner-copy {
  flex: 1 1 400px;
  min-width: 0;
}
.ifd-planner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ifd-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ifd-title {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
}
.ifd-title a:hover {
  color: var(--teal);
}
.ifd-dek {
  margin: 8px 0 12px;
  max-width: 66ch;
  font-size: 14.5px;
  color: var(--ink-mid);
}
.ifd-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ifd-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-wash);
  border: 1px solid var(--amber);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.ifd-vid-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ifd-vid-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.ifd-vid-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--obsidian);
}
.ifd-vid-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ifd-vid-trig {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--obsidian);
  cursor: pointer;
  display: block;
}
.ifd-vid-trig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ifd-play-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17, 21, 29, 0.92);
  color: #fcd34d;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}
.ifd-vid-meta {
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ifd-vid-creator {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ifd-vid-meta h4 {
  margin: 0;
  font-family: var(--display);
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--ink);
}
.ifd-post-kit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-wash) 100%);
  border-color: var(--teal);
}
.ifd-kit-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.ifd-kit-price {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink-mid);
}
.ifd-kit-price b {
  color: var(--ink);
  font-size: 16px;
}
.ifd-cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ifd-kit-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.ifd-kit-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ifd-kit-tile:hover {
  border-color: var(--teal);
}
.ifd-kit-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.ifd-kit-tile span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ifd-brand-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ifd-brand-mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.ifd-brand-mini h3 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 17px;
}

@media (max-width: 768px) {
  .hero-cta-wrap {
    display: none;
  }
  .lux-hero {
    padding: 10px 0 18px;
  }
  .lux-hero-top {
    margin-bottom: 8px;
  }
  .lux-hero-h {
    font-size: 1.35rem;
  }
  .flt-desk {
    display: none;
  }
  .flt-mob {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .flt-mob .flt-search-wrap {
    flex: none;
    min-width: 0;
    width: 100%;
  }
  .flt-mob-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }
  .flt-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1.5px solid var(--line-strong);
    background: var(--card);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    min-width: 0;
  }
  .flt-open-btn.has-active {
    border-color: var(--teal);
    background: var(--teal-wash);
    color: var(--teal-deep);
  }
  .flt-badge {
    font-style: normal;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--teal);
    color: #ffffff;
  }
  .flt-mob-sort {
    width: 100%;
  }
  .flt-mob-clear-row {
    display: flex;
    justify-content: flex-end;
  }
  .pcard-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .store-go {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .ifd-vid-pair,
  .ifd-post-kit,
  .ifd-brand-pair {
    grid-template-columns: 1fr;
  }
  .ifd-kit-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ifd-post {
    padding: 15px 14px;
  }
}

@media (max-width: 600px) {
  .pcard-meta > span {
    display: none;
  }
}

@media (max-width: 540px) {
  .planner-grid.compact,
  .kit-grid,
  .foot-cols {
    grid-template-columns: 1fr;
  }
  /* Keep 2 visual product cards side-by-side on mobile phones so listings stay immediate above the fold */
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pcard-stage {
    padding: 8px;
  }
  .pcard-body {
    padding: 10px;
  }
  .pcard-title {
    font-size: 14px;
  }
  .pcard-quote,
  .pcard-options,
  .pcard-badges-row {
    display: none;
  }
  .price-now {
    font-size: 15.5px;
  }
  .store-go {
    padding: 0 10px;
    font-size: 12px;
  }
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-creators-band {
    padding: 16px;
  }
  .lux-filter-rail {
    flex-wrap: wrap;
  }
  .hero-live-count {
    display: none;
  }
}

@media (max-width: 374px) {
  .wrap {
    padding: 0 8px;
  }
  .masthead .wordmark {
    font-size: 17px;
  }
  .logo-crest {
    width: 32px;
    height: 32px;
  }
  .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .pcard-body {
    padding: 8px;
  }
  .pcard-title {
    font-size: 12.5px;
  }
  .price-now {
    font-size: 14.5px;
  }
}

@media print {
  .masthead, .foot, .toast, .save-btn {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
}
