@font-face {
  font-family: "TX Display";
  src: url("assets/fonts/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ── Core palette — Bold Editorial (black / paper / red) ── */
  --black: #0a0a0a;
  --black: oklch(8% 0.002 90);
  --soft-black: #141414;
  --soft-black: oklch(12% 0.002 90);
  --panel: #171412;
  --panel: oklch(14% 0.012 40);
  --cream: #f5f2ec;
  --cream: oklch(95% 0.012 80);
  --muted: #c9c3b8;
  --muted: oklch(80% 0.015 75);
  --walnut: #241a17;
  --walnut: oklch(16% 0.02 30);
  --gold: #a3111a;
  --gold: oklch(35% 0.19 25);
  --antique-gold: #7a0e16;
  --antique-gold: oklch(28% 0.17 25);
  --bullion-dark: #4a0509;
  --bullion-dark: oklch(18% 0.1 25);
  --bullion-mid: #c4272b;
  --bullion-mid: oklch(46% 0.19 25);
  --bullion-rich: #d1343a;
  --bullion-rich: oklch(52% 0.19 25);
  --bullion-light: #e8888c;
  --bullion-light: oklch(72% 0.12 25);
  --bullion-white: #f8e4e4;
  --bullion-white: oklch(92% 0.03 25);
  --champagne: #a3111a;
  --champagne: oklch(35% 0.19 25);
  --champagne-deep: #691014;
  --champagne-deep: oklch(25% 0.13 25);
  --ink: #070605;
  --ink: oklch(12.3% 0.004 70);
  --wine: #3d0508;
  --wine: oklch(15% 0.09 25);
  --espresso: #0a0a0a;
  --espresso: oklch(8% 0.002 90);
  --wood: #171412;
  --wood: oklch(14% 0.012 40);
  --taupe: var(--muted);

  /* RGB channels — keep for legacy rgba(var(--*-rgb), a) across CSS files */
  --cream-rgb: 245, 242, 236;
  --walnut-rgb: 36, 26, 23;
  --gold-rgb: 163, 17, 26;
  --champagne-rgb: 163, 17, 26;
  --wine-rgb: 61, 5, 8;
  --black-rgb: 10, 10, 10;
  --panel-rgb: 23, 20, 18;

  /* ── Status System — semantic state tokens (added 2026-09-10) ──
     Backs .status-badge / .status-message. See design doc for rationale:
     positive/pending/neutral get their own hues; negative reuses the
     brand accent since red already reads as "urgent" everywhere else. */
  --status-positive: #2fbf71;
  --status-positive-rgb: 47, 191, 113;
  --status-pending: #e8ab2e;
  --status-pending-rgb: 232, 171, 46;
  --status-negative: var(--gold);
  --status-negative-rgb: var(--gold-rgb);
  --status-neutral: #6e6a63;
  --status-neutral-rgb: 110, 106, 99;

  /* Semantic text (WCAG-minded alphas on near-black) */
  --text-primary: var(--cream);
  --text-secondary: color-mix(in oklch, var(--cream) 78%, transparent);
  --text-tertiary: color-mix(in oklch, var(--cream) 62%, transparent);
  --text-muted: var(--muted);
  --text-on-gold: var(--cream);
  --text-on-gold: var(--cream);

  /* Semantic surfaces & borders */
  --line: rgba(var(--walnut-rgb), 0.42);
  --line-soft: rgba(var(--champagne-rgb), 0.18);
  --line-strong: rgba(var(--gold-rgb), 0.42);
  --surface-elevated: color-mix(in oklch, var(--panel) 88%, var(--cream) 4%);
  --surface-inset: rgba(0, 0, 0, 0.34);
  --gold-glow: rgba(var(--gold-rgb), 0.22);
  --gold-glow-strong: rgba(var(--gold-rgb), 0.38);
  --cream-sheen: rgba(255, 244, 220, 0.14);

  /* Focus ring — high-contrast, gold-tinted, keyboard-only via :focus-visible */
  --focus-ring-color: color-mix(in oklch, var(--gold) 72%, white 18%);
  --focus-ring-color-fallback: rgba(var(--gold-rgb), 0.85);
  --focus-ring-width: 2px;
  --focus-ring-offset: 3px;
  --focus-ring-glow: 0 0 0 3px rgba(var(--gold-rgb), 0.18);
  --focus-outline: var(--focus-ring-width) solid var(--focus-ring-color-fallback);
  --focus-outline: var(--focus-ring-width) solid var(--focus-ring-color);

  /* Motion system */
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.22, 0.68, 0, 1.2);
  --duration-instant: 120ms;
  --duration-fast: 180ms;
  --duration-mid: 280ms;
  --duration-slow: 420ms;
  --duration-ambient: 90s;

  /* Radii & elevation */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  /* Typography */
  --font-sans: "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "TX Display", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  --font-display: var(--font-serif);

  /* Composed luxury surfaces */
  --luxury-panel:
    radial-gradient(circle at 18% 0%, rgba(var(--cream-rgb), 0.08), transparent 14rem),
    linear-gradient(150deg, rgba(28, 21, 15, 0.96), rgba(7, 6, 5, 0.98));
  --champagne-panel:
    radial-gradient(circle at 12% 0%, rgba(255, 248, 221, 0.5), transparent 11rem),
    linear-gradient(145deg, #e9d6a4 0%, #c99648 52%, #6c4217 100%);
  --champagne-panel:
    radial-gradient(circle at 12% 0%, color-mix(in oklch, var(--bullion-white) 50%, transparent), transparent 11rem),
    linear-gradient(
      145deg,
      color-mix(in oklch, var(--bullion-light) 70%, var(--gold)) 0%,
      var(--bullion-mid) 52%,
      var(--bullion-dark) 100%
    );
  --luxury-border: rgba(var(--champagne-rgb), 0.28);
  --luxury-shadow:
    0 28px 76px rgba(0, 0, 0, 0.48),
    inset 0 1px var(--cream-sheen),
    inset 0 -32px 56px rgba(0, 0, 0, 0.22);
  --surface-gradient:
    radial-gradient(circle at 18% 8%, rgba(var(--gold-rgb), 0.16), transparent 18rem),
    radial-gradient(circle at 86% 24%, rgba(var(--champagne-rgb), 0.1), transparent 22rem),
    linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 48%, var(--black) 100%);
  --btn-gold-gradient: var(--gold);
  --btn-gold-gradient-hover: var(--bullion-rich);
  --btn-gold-gradient-hover: var(--bullion-rich);
}

/* ══════════════════════════════════════════════════
   DIRECTORY — Premium Redesign
   ══════════════════════════════════════════════════ */

.directory-body {
  min-height: 100vh;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 15% 8%, rgba(var(--gold-rgb), 0.16), transparent 25rem),
    radial-gradient(circle at 88% 24%, rgba(var(--cream-rgb), 0.08), transparent 30rem),
    linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 50%, var(--black) 100%);
  background-attachment: fixed;
  animation: none;
}

/* ─── Layout & Container ─── */

.directory-main {
  padding: 52px 0 96px;
}

/* Higher-specificity override so the directory page uses slimmer side margins
   and a wider max-width, letting the listings + sidebar grid fill the page. */
.directory-body .directory-main {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.directory-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.22);
  color: rgba(var(--cream-rgb), 0.72);
  font-size: 0.72rem;
}

.directory-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.directory-footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.directory-footer-logo span {
  color: var(--gold);
}

/* ─── Hero ─── */

.dir-hero {
  text-align: center;
  padding: 52px 0 48px;
}

.dir-hero-eyebrow {
  margin: 0 0 18px;
  color: var(--champagne);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(var(--gold-rgb), 0.22);
}

.dir-hero-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  text-shadow:
    0 0 48px rgba(var(--gold-rgb), 0.18),
    0 20px 60px rgba(0, 0, 0, 0.5);
}

.dir-hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 22px auto;
  width: min(320px, 70%);
}

.dir-hero-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.6), transparent);
}

.dir-hero-diamond {
  color: var(--gold);
  font-size: 0.8rem;
  line-height: 1;
}

.dir-hero-subtitle {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.72);
  font-size: clamp(0.8rem, 1.4vw, 0.95rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* ─── Two-Column Layout — filters left, provider cards right ─── */

/* Default (mobile/tablet): stacked column. Desktop grid is defined in the
   min-width: 1024px block below (and reaffirmed after responsive overrides). */
.dir-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.dir-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  width: 100%;
  min-width: 0;
  display: none;
}

/* Reveal sidebar when filter panel is toggled open */
.dir-sidebar:has(.directory-filters.is-open) {
  display: block;
  margin-bottom: 24px;
}

.dir-content {
  min-width: 0;
  margin-top: 0;
}

/* ─── Desktop: single column — filter is a collapsible dropdown above cards ─── */
@media (min-width: 1024px) {
  .dir-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}

/* ─── Filter Form (vertical sidebar panel) ─── */

.directory-filters {
  position: relative;
  border: 1px solid rgba(var(--champagne-rgb), 0.3);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(var(--gold-rgb), 0.1), transparent 55%),
    radial-gradient(circle at 88% 96%, rgba(var(--walnut-rgb), 0.35), transparent 42%),
    linear-gradient(175deg, rgba(22, 15, 10, 0.88) 0%, rgba(10, 7, 5, 0.78) 48%, rgba(6, 4, 3, 0.82) 100%);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.48),
    0 4px 16px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 244, 220, 0.14),
    inset 0 0 0 1px rgba(var(--gold-rgb), 0.04);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  overflow: visible;
  isolation: isolate;
}

/* Soft gold rim light along the top edge */
.directory-filters::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(var(--gold-rgb), 0.45) 28%,
    rgba(255, 244, 220, 0.55) 50%,
    rgba(var(--gold-rgb), 0.45) 72%,
    transparent 96%
  );
  pointer-events: none;
  z-index: 1;
}

/* Mobile-only header inside the filter panel */
.directory-filter-heading {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 0;
  margin-bottom: 0;
}

.directory-filter-heading h2 {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.directory-filter-close {
  display: none;
  min-height: 36px;
  padding: 0 14px;
  color: rgba(var(--cream-rgb), 0.7);
  border: 1px solid rgba(var(--gold-rgb), 0.36);
  border-radius: 6px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 160ms, border-color 160ms;
}

.directory-filter-close:hover {
  color: var(--cream);
  border-color: rgba(var(--gold-rgb), 0.65);
}

/* ─── Sidebar panel heading ─── */

.dir-sidebar-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 16px;
  color: var(--champagne);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.12);
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.06), transparent);
}

.dir-sidebar-heading svg {
  flex-shrink: 0;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(var(--gold-rgb), 0.35));
}

.dir-sidebar-heading > span {
  flex: 1;
}

.dir-reset-btn {
  color: rgba(var(--cream-rgb), 0.48);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 5px 10px;
  margin: -5px -6px -5px 0;
  transition:
    color var(--duration-fast) var(--ease-soft),
    border-color var(--duration-fast) ease,
    background var(--duration-fast) ease;
}

.dir-reset-btn:hover {
  color: var(--champagne);
  border-color: rgba(var(--gold-rgb), 0.28);
  background: rgba(var(--gold-rgb), 0.08);
}

.dir-reset-btn:focus-visible {
  color: var(--cream);
  outline: var(--focus-outline);
  outline-offset: 2px;
  box-shadow: var(--focus-ring-glow);
}

/* ─── Primary filter row — now a vertical stack ─── */
.dir-filter-primary {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 20px 4px;
  min-height: 0;
}

/* Search field */
.dir-filter-search-wrap {
  flex: none;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 44px;
  height: 44px;
  border: 1px solid rgba(var(--champagne-rgb), 0.2);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.03), transparent 60%),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 244, 220, 0.04);
  transition:
    border-color var(--duration-fast) var(--ease-soft),
    box-shadow var(--duration-fast) var(--ease-soft),
    background var(--duration-fast) ease;
}

.dir-filter-search-icon {
  flex-shrink: 0;
  color: rgba(var(--champagne-rgb), 0.62);
  transition: color var(--duration-fast) ease;
}

.dir-filter-search-wrap input {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--cream);
  font-size: 0.88rem;
  font-family: inherit;
  letter-spacing: 0.01em;
  outline: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.dir-filter-search-wrap:hover {
  border-color: rgba(var(--champagne-rgb), 0.32);
}

.dir-filter-search-wrap:focus-within {
  border-color: rgba(var(--gold-rgb), 0.58);
  box-shadow:
    var(--focus-ring-glow),
    inset 0 1px 0 rgba(255, 244, 220, 0.08);
  background:
    linear-gradient(180deg, rgba(var(--gold-rgb), 0.06), transparent 70%),
    rgba(0, 0, 0, 0.38);
}

.dir-filter-search-wrap:focus-within .dir-filter-search-icon {
  color: var(--gold);
}

.dir-filter-search-wrap input:focus-visible {
  outline: none;
  box-shadow: none;
}

.dir-filter-search-wrap input::placeholder {
  color: rgba(var(--cream-rgb), 0.48);
}

/* Separator — hidden in sidebar layout */
.dir-filter-sep {
  display: none;
}

/* Select wrappers */
.dir-filter-select-wrap {
  flex: none;
  width: 100%;
  min-width: 0;
  position: relative;
}

.dir-filter-select-wrap .directory-custom-select,
.dir-filter-select-wrap .directory-custom-select-button {
  border: 1px solid rgba(var(--champagne-rgb), 0.2) !important;
  border-radius: var(--radius-md) !important;
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.03), transparent 60%),
    rgba(0, 0, 0, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 220, 0.04) !important;
  min-height: 44px !important;
  padding: 0 36px 0 14px !important;
  font-size: 0.83rem;
  color: var(--cream);
  width: 100%;
  transition:
    border-color var(--duration-fast) var(--ease-soft),
    box-shadow var(--duration-fast) var(--ease-soft),
    background var(--duration-fast) ease !important;
}

.dir-filter-select-wrap .directory-custom-select-button:hover {
  border-color: rgba(var(--champagne-rgb), 0.34) !important;
}

.dir-filter-select-wrap .directory-custom-select.is-open .directory-custom-select-button,
.dir-filter-select-wrap .directory-custom-select-button:focus-visible {
  border-color: rgba(var(--gold-rgb), 0.58) !important;
  box-shadow:
    var(--focus-ring-glow),
    inset 0 1px 0 rgba(255, 244, 220, 0.08) !important;
  background:
    linear-gradient(180deg, rgba(var(--gold-rgb), 0.06), transparent 70%),
    rgba(0, 0, 0, 0.38) !important;
}

.dir-filter-select-wrap .directory-custom-select-arrow {
  right: 14px;
}

/* Verified toggle */
.dir-verified-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 10px;
  margin: 0 -10px;
  min-height: 44px;
  border-radius: var(--radius-md);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
  width: calc(100% + 20px);
  transition: background var(--duration-fast) ease;
}

.dir-verified-toggle:hover {
  background: rgba(var(--gold-rgb), 0.06);
}

.dir-verified-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.dir-toggle-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(var(--champagne-rgb), 0.28);
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
  transition:
    background var(--duration-mid) var(--ease-soft),
    border-color var(--duration-mid) var(--ease-soft),
    box-shadow var(--duration-mid) ease;
}

.dir-toggle-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(var(--cream-rgb), 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition:
    transform var(--duration-mid) var(--ease-luxury),
    background var(--duration-mid) ease,
    box-shadow var(--duration-mid) ease;
}

.dir-verified-checkbox:checked ~ .dir-toggle-track {
  border-color: rgba(var(--gold-rgb), 0.72);
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.38), rgba(var(--gold-rgb), 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 220, 0.12),
    0 0 12px rgba(var(--gold-rgb), 0.15);
}

.dir-verified-checkbox:checked ~ .dir-toggle-track .dir-toggle-thumb {
  transform: translateX(16px);
  background: var(--gold);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.35),
    0 0 8px rgba(var(--gold-rgb), 0.4);
}

.dir-verified-text {
  color: rgba(var(--cream-rgb), 0.72);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) ease;
}

.dir-verified-toggle:hover .dir-verified-text {
  color: var(--cream);
}

.dir-verified-checkbox:focus-visible ~ .dir-toggle-track {
  outline: var(--focus-outline);
  outline-offset: 2px;
  box-shadow: var(--focus-ring-glow);
}

/* Hidden verified select (controlled by toggle) */
.dir-hidden-verified {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* Search submit button — full-width in sidebar actions */
.dir-search-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 24px;
  cursor: pointer;
  letter-spacing: 0.08em;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(var(--gold-rgb), 0.12);
  transition:
    filter var(--duration-fast) ease,
    transform var(--duration-mid) var(--ease-luxury),
    box-shadow var(--duration-mid) var(--ease-soft);
}

.dir-search-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(var(--gold-rgb), 0.2);
}

.dir-search-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Secondary filter row — always visible in sidebar */
.dir-filter-secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 6px 20px 20px;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), transparent 28px);
}

.dir-filter-group {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.07);
}

.dir-filter-group:last-of-type {
  border-bottom: none;
}

.directory-xync-filter[hidden],
.directory-xync-cta[hidden] {
  display: none;
}

.directory-xync-note {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.48);
  font-size: 0.7rem;
  line-height: 1.45;
}

.directory-xync-cta {
  margin: 10px 0 0;
  padding: 10px 0;
  color: rgba(var(--cream-rgb), 0.62);
  font-size: 0.76rem;
  line-height: 1.5;
}

.directory-xync-cta a {
  color: var(--gold);
  font-weight: 700;
}

/* Toggle group — no extra padding, just the toggle label */
.dir-filter-group--toggle {
  padding: 8px 0;
}

.dir-filter-group label:first-child:not(.dir-verified-toggle) {
  color: rgba(var(--cream-rgb), 0.58);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dir-filter-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding-top: 18px;
  border-top: none;
}

/* ─── Custom Select (shared) ─── */

.directory-filters select {
  -webkit-appearance: none;
  appearance: none;
}

.directory-filters option {
  color: var(--cream);
  background: #130b05;
}

.directory-filters select.directory-native-select {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.directory-custom-select {
  position: relative;
  width: 100%;
}

.directory-custom-select::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.directory-custom-select-button {
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  border: 1px solid rgba(var(--champagne-rgb), 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: border-color 160ms;
}

.directory-custom-select-button:focus-visible,
.directory-custom-select.is-open .directory-custom-select-button {
  border-color: rgba(var(--gold-rgb), 0.7);
  box-shadow: var(--focus-ring-glow);
  outline: var(--focus-outline);
  outline-offset: 1px;
}

.directory-custom-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.83rem;
}

.directory-custom-select-arrow {
  position: absolute;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(var(--gold-rgb), 0.7);
  border-bottom: 1.5px solid rgba(var(--gold-rgb), 0.7);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.directory-custom-select.is-open .directory-custom-select-arrow {
  transform: rotate(225deg) translate(-2px, -1px);
}

.directory-custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  padding: 6px;
  background:
    linear-gradient(155deg, rgba(71, 47, 27, 0.24), transparent 52%),
    rgba(12, 8, 5, 0.97);
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  border-top-color: rgba(var(--gold-rgb), 0.44);
  border-radius: 10px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 244, 220, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}

.directory-custom-select.is-open .directory-custom-select-menu {
  display: grid;
  gap: 2px;
}

.directory-custom-select-menu::-webkit-scrollbar {
  width: 6px;
}

.directory-custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.directory-custom-select-menu::-webkit-scrollbar-thumb {
  background: rgba(var(--gold-rgb), 0.36);
  border-radius: 999px;
}

.directory-custom-select-option {
  width: 100%;
  padding: 8px 12px;
  color: rgba(var(--cream-rgb), 0.8);
  font: inherit;
  font-size: 0.83rem;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background 120ms;
}

.directory-custom-select-option:hover {
  color: var(--cream);
  background: rgba(var(--gold-rgb), 0.14);
}

.directory-custom-select-option:focus-visible {
  color: var(--cream);
  background: rgba(var(--gold-rgb), 0.18);
  outline: var(--focus-outline);
  outline-offset: -2px;
  box-shadow: none;
}

.directory-custom-select-option.is-selected {
  color: #130b05;
  background: var(--gold);
}

/* ─── Filter inputs (used in secondary / mobile drawer) ─── */

.dir-filter-secondary input:not([type="range"]):not([type="checkbox"]),
.dir-filter-secondary select:not(.directory-native-select) {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--cream);
  border: 1px solid rgba(var(--champagne-rgb), 0.2);
  border-radius: var(--radius-md);
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.03), transparent 60%),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 244, 220, 0.04);
  font: inherit;
  font-size: 0.83rem;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    border-color var(--duration-fast) var(--ease-soft),
    box-shadow var(--duration-fast) var(--ease-soft),
    background var(--duration-fast) ease;
}

.dir-filter-secondary input:not([type="range"]):not([type="checkbox"]):hover,
.dir-filter-secondary select:not(.directory-native-select):hover {
  border-color: rgba(var(--champagne-rgb), 0.34);
}

.dir-filter-secondary input:not([type="range"]):not([type="checkbox"]):focus-visible,
.dir-filter-secondary select:not(.directory-native-select):focus-visible {
  border-color: rgba(var(--gold-rgb), 0.65);
  box-shadow: var(--focus-ring-glow);
  outline: var(--focus-outline);
  outline-offset: 1px;
}

.directory-filters input:focus,
.directory-filters select:focus {
  border-color: rgba(var(--gold-rgb), 0.7);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.1);
}

/* Price filter */
.directory-price-filter {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--champagne-rgb), 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.03), transparent 50%),
    rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 244, 220, 0.04);
}

.directory-price-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: rgba(var(--cream-rgb), 0.6);
  font-size: 0.78rem;
}

.directory-price-readout strong {
  color: var(--cream);
  font-size: 0.9rem;
}

.directory-filters input[type="range"] {
  min-height: 22px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  -webkit-appearance: none;
  appearance: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none !important;
}

.directory-filters input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.82), rgba(var(--gold-rgb), 0.2));
}

.directory-filters input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 2px solid #0d0906;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.45);
  cursor: grab;
  -webkit-appearance: none;
  appearance: none;
}

.directory-filters input[type="range"]:active::-webkit-slider-thumb {
  cursor: grabbing;
}

.directory-filters input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.82), rgba(var(--gold-rgb), 0.2));
}

.directory-filters input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #0d0906;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.45);
  cursor: grab;
}

.directory-price-poa {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: rgba(var(--cream-rgb), 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.directory-price-poa input {
  width: 14px;
  min-height: 14px;
  accent-color: var(--gold);
}

/* ─── Buttons ─── */

.directory-primary-button,
.directory-secondary-button,
.directory-view-switch button,
.directory-filter-close {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter 140ms, transform 140ms, background 140ms;
}

.directory-primary-button {
  color: var(--text-on-gold);
  border: 1px solid rgba(var(--champagne-rgb), 0.8);
  background: linear-gradient(180deg, var(--bullion-light) 0%, var(--bullion-rich) 54%, var(--bullion-dark) 100%);
  box-shadow:
    0 8px 28px rgba(var(--gold-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.directory-primary-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.directory-secondary-button {
  color: var(--champagne);
  border: 1px solid rgba(var(--champagne-rgb), 0.36);
  background: rgba(0, 0, 0, 0.22);
}

.directory-secondary-button:hover {
  border-color: rgba(var(--gold-rgb), 0.55);
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--cream);
}

.directory-view-switch {
  display: flex;
  border: 1px solid rgba(var(--champagne-rgb), 0.28);
  border-radius: 7px;
  overflow: hidden;
}

.directory-view-switch button {
  min-height: 36px;
  padding: 0 13px;
  color: rgba(var(--cream-rgb), 0.6);
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.72rem;
}

.directory-view-switch button + button {
  border-left: 1px solid rgba(var(--champagne-rgb), 0.22);
}

.directory-view-switch button:hover,
.directory-view-switch button.is-active {
  color: #130b05;
  background: var(--gold);
}

.directory-mobile-filter {
  display: inline-flex;
  align-items: center;
}

/* ─── Results meta bar ─── */

.dir-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.12);
  margin-bottom: 18px;
  margin-top: 0;
}

.dir-results-count {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(var(--cream-rgb), 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dir-results-count svg {
  color: rgba(var(--champagne-rgb), 0.5);
}

.dir-results-count span {
  color: var(--cream);
}

.dir-results-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dir-featured-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dir-featured-label svg {
  fill: var(--gold);
}

/* ─── Results section ─── */

.directory-results {
  margin-top: 0;
}

.directory-empty {
  padding: 36px;
  border: 1px solid rgba(var(--champagne-rgb), 0.22);
  border-radius: 10px;
  color: rgba(var(--cream-rgb), 0.58);
  text-align: center;
  font-size: 0.9rem;
}

/* ─── Card Grid ─── */

.directory-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Content area is the primary left zone — 2 cols by default, 3 at wider viewports */
.dir-content .directory-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

@media (min-width: 1220px) {
  .dir-content .directory-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ─── Provider Card ─── */

.directory-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--champagne-rgb), 0.24);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--gold-rgb), 0.07), transparent 55%),
    linear-gradient(175deg, rgba(18, 12, 8, 0.92) 0%, rgba(8, 5, 4, 0.86) 55%, rgba(5, 3, 2, 0.9) 100%);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 244, 220, 0.1);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--duration-mid) var(--ease-luxury),
    border-color var(--duration-mid) var(--ease-soft),
    box-shadow var(--duration-mid) var(--ease-soft);
}

/* Subtle gold hairline across the top edge */
.directory-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 6%,
    rgba(var(--gold-rgb), 0.35) 30%,
    rgba(255, 244, 220, 0.5) 50%,
    rgba(var(--gold-rgb), 0.35) 70%,
    transparent 94%
  );
  opacity: 0.7;
  pointer-events: none;
  transition: opacity var(--duration-mid) ease;
}

@media (hover: hover) and (pointer: fine) {
  .directory-card:hover {
    transform: translateY(-8px) scale(1.018);
    border-color: rgba(var(--gold-rgb), 0.52);
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.28),
      0 32px 72px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(var(--gold-rgb), 0.12),
      0 0 48px rgba(var(--gold-rgb), 0.12),
      inset 0 1px 0 rgba(255, 244, 220, 0.16);
  }

  .directory-card:hover::before {
    opacity: 1;
  }
}

.directory-card:focus-within {
  border-color: rgba(var(--gold-rgb), 0.55);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.22),
    0 20px 48px rgba(0, 0, 0, 0.4),
    var(--focus-ring-glow),
    inset 0 1px 0 rgba(255, 244, 220, 0.12);
}

.directory-card[hidden] {
  display: none;
}

/* Card media / image placeholder */
.dir-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.dir-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.06) brightness(0.97);
  transition:
    transform var(--duration-slow) var(--ease-luxury),
    filter var(--duration-mid) var(--ease-soft);
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .directory-card:hover .dir-card-media img {
    transform: scale(1.06);
    filter: saturate(0.98) contrast(1.08) brightness(1.02);
  }

  .directory-card:hover .dir-card-placeholder {
    transform: scale(1.04);
  }

  .directory-card:hover .dir-card-initial {
    color: rgba(var(--gold-rgb), 0.42);
  }
}

.dir-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform var(--duration-slow) var(--ease-luxury);
}

.dir-card-placeholder--1 {
  background:
    radial-gradient(circle at 32% 24%, rgba(180, 100, 60, 0.38), transparent 58%),
    radial-gradient(circle at 70% 80%, rgba(var(--walnut-rgb), 0.4), transparent 50%),
    linear-gradient(155deg, #2e1810 0%, #0e0704 100%);
}

.dir-card-placeholder--2 {
  background:
    radial-gradient(circle at 68% 30%, rgba(140, 80, 120, 0.3), transparent 58%),
    radial-gradient(circle at 20% 78%, rgba(var(--walnut-rgb), 0.35), transparent 50%),
    linear-gradient(145deg, #1e1018 0%, #080508 100%);
}

.dir-card-placeholder--3 {
  background:
    radial-gradient(circle at 44% 20%, rgba(80, 120, 180, 0.24), transparent 58%),
    radial-gradient(circle at 75% 75%, rgba(var(--gold-rgb), 0.08), transparent 45%),
    linear-gradient(150deg, #0f1220 0%, #050508 100%);
}

.dir-card-placeholder--4 {
  background:
    radial-gradient(circle at 55% 28%, rgba(190, 140, 60, 0.34), transparent 58%),
    radial-gradient(circle at 25% 80%, rgba(var(--walnut-rgb), 0.4), transparent 50%),
    linear-gradient(145deg, #261a08 0%, #080603 100%);
}

.dir-card-placeholder--5 {
  background:
    radial-gradient(circle at 30% 35%, rgba(60, 160, 120, 0.24), transparent 58%),
    radial-gradient(circle at 80% 70%, rgba(var(--champagne-rgb), 0.08), transparent 45%),
    linear-gradient(145deg, #0a1614 0%, #040808 100%);
}

.dir-card-placeholder--6 {
  background:
    radial-gradient(circle at 62% 22%, rgba(160, 80, 60, 0.3), transparent 58%),
    radial-gradient(circle at 20% 85%, rgba(var(--walnut-rgb), 0.38), transparent 50%),
    linear-gradient(148deg, #221210 0%, #080504 100%);
}

.dir-card-initial {
  font-family: var(--font-display);
  font-size: 4.75rem;
  font-weight: 400;
  color: rgba(var(--gold-rgb), 0.28);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
  line-height: 1;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  transition: color var(--duration-mid) var(--ease-soft);
}

/* Gradient overlay at bottom of image — richer falloff into card body */
.dir-card-media::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62%;
  background:
    linear-gradient(
      to top,
      rgba(6, 4, 3, 0.92) 0%,
      rgba(6, 4, 3, 0.45) 38%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Soft vignette on media edges */
.dir-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 90% 80% at 50% 40%, transparent 50%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity var(--duration-mid) ease;
}

@media (hover: hover) and (pointer: fine) {
  .directory-card:hover .dir-card-media::before {
    opacity: 0.55;
  }
}

/* Card badges (overlaid on image) */
.dir-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dir-card-badge--featured {
  color: var(--text-on-gold);
  background: linear-gradient(135deg, var(--bullion-light) 0%, var(--bullion-rich) 48%, var(--bullion-dark) 100%);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(var(--gold-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.dir-card-badge--verified {
  color: var(--cream);
  background: rgba(10, 8, 6, 0.68);
  border: 1px solid rgba(var(--champagne-rgb), 0.38);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dir-card-badge--new {
  color: var(--text-on-gold);
  background: linear-gradient(135deg, var(--bullion-light) 0%, var(--bullion-rich) 48%, var(--bullion-dark) 100%);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(var(--gold-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Card info section */
.dir-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 18px;
  gap: 6px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12) 100%);
}

.dir-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.dir-card-name {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.dir-card-verified-mark {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.92;
}

.dir-card-verified-mark svg {
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.35));
}

.dir-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  color: rgba(var(--cream-rgb), 0.52);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dir-card-location svg {
  flex-shrink: 0;
  color: rgba(var(--champagne-rgb), 0.48);
}

.dir-card-bio {
  margin: 0 0 auto;
  color: rgba(var(--cream-rgb), 0.66);
  font-size: 0.84rem;
  line-height: 1.58;
  padding-bottom: 12px;
  letter-spacing: 0.01em;
}

.dir-card-xync {
  display: block;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 10px;
  border: 1px solid rgba(var(--gold-rgb), 0.32);
  border-radius: var(--radius-pill);
  color: var(--champagne);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(var(--gold-rgb), 0.06);
}

.dir-card-xync[data-state="incomplete"] {
  border-color: rgba(var(--cream-rgb), 0.18);
  color: rgba(var(--cream-rgb), 0.5);
  background: transparent;
}

.dir-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.1);
  margin-top: auto;
}

/* Availability status */
.dir-card-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(var(--cream-rgb), 0.55);
}

.dir-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--cream-rgb), 0.3);
  flex-shrink: 0;
}

.dir-card-status--available .dir-status-dot {
  background: #4caf6e;
  box-shadow:
    0 0 0 3px rgba(76, 175, 110, 0.18),
    0 0 8px rgba(76, 175, 110, 0.35);
}

.dir-card-status--available {
  color: #6dda90;
}

.dir-card-status--tonight .dir-status-dot,
.dir-card-status--week .dir-status-dot {
  background: var(--gold);
  box-shadow:
    0 0 0 3px rgba(var(--gold-rgb), 0.18),
    0 0 8px rgba(var(--gold-rgb), 0.3);
}

.dir-card-status--tonight,
.dir-card-status--week {
  color: var(--champagne);
}

/* View Profile CTA */
.dir-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--champagne) !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid transparent !important;
  padding-bottom: 1px;
  transition:
    color var(--duration-fast) var(--ease-soft),
    border-color var(--duration-fast) ease,
    letter-spacing var(--duration-fast) ease,
    gap var(--duration-fast) ease;
  text-decoration: none;
}

.dir-card-cta:hover {
  color: var(--cream) !important;
  border-bottom-color: rgba(var(--gold-rgb), 0.65) !important;
  letter-spacing: 0.12em;
  gap: 8px;
}

.dir-card-cta:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 3px;
  border-radius: 2px;
}

/* List view overrides */
.directory-cards.is-list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.directory-cards.is-list .directory-card {
  flex-direction: row;
  min-height: 0;
}

@media (hover: hover) and (pointer: fine) {
  .directory-cards.is-list .directory-card:hover {
    transform: translateY(-4px) scale(1.008);
  }
}

.directory-cards.is-list .dir-card-media {
  width: 148px;
  min-width: 148px;
  aspect-ratio: unset;
  height: 168px;
}

.directory-cards.is-list .dir-card-media::after {
  height: 100%;
  width: 45%;
  left: auto;
  right: 0;
  background: linear-gradient(to left, rgba(6, 4, 3, 0.55) 0%, transparent 100%);
}

.directory-cards.is-list .dir-card-info {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 18px 22px;
  background: none;
}

.directory-cards.is-list .dir-card-name-row {
  width: 100%;
  margin-bottom: 0;
}

.directory-cards.is-list .dir-card-bio {
  flex: 1;
  margin: 0;
  padding: 0;
  min-width: 160px;
}

.directory-cards.is-list .dir-card-footer {
  padding-top: 0;
  border-top: none;
  margin-left: auto;
}

/* ─── Quick Links ─── */

.dir-quick-links {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.18);
}

.dir-quick-links-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(var(--gold-rgb), 0.18);
  background: rgba(var(--gold-rgb), 0.14);
  border-radius: 10px;
  overflow: hidden;
}

.dir-quick-group {
  padding: 22px 24px;
  background: rgba(12, 8, 5, 0.88);
}

.dir-quick-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dir-quick-group nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
}

.dir-quick-group nav a {
  color: rgba(var(--cream-rgb), 0.62);
  font-size: 0.78rem;
  border-bottom: 1px solid transparent;
  transition: color 140ms, border-color 140ms;
}

.dir-quick-group nav a:hover {
  color: var(--gold);
  border-bottom-color: rgba(var(--gold-rgb), 0.5);
}

/* ─── Trust Bar ─── */

.dir-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid rgba(var(--gold-rgb), 0.14);
  background: rgba(var(--gold-rgb), 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.dir-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  background: rgba(10, 7, 4, 0.82);
}

.dir-trust-item svg {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.8;
}

.dir-trust-item strong {
  display: block;
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.dir-trust-item span {
  display: block;
  color: rgba(var(--cream-rgb), 0.48);
  font-size: 0.68rem;
  line-height: 1.4;
}

/* ─── Responsive — Sidebar collapses to stacked (≤1023px) ─── */

@media (max-width: 1023px) {
  .dir-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Clear desktop grid placement so stack order follows HTML source */
  .dir-content,
  .dir-sidebar {
    grid-column: auto;
    grid-row: auto;
  }

  .dir-sidebar {
    width: 100%;
    max-width: none;
    position: static;
  }

  /* Filter hidden until toggled (same pattern as desktop) */
  .directory-filters {
    display: none;
  }

  /* Stacked horizontal grid: 2 columns for primary filters */
  .dir-filter-primary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    padding: 14px 20px 8px;
  }

  .dir-filter-primary .dir-filter-group {
    padding: 10px 0;
  }

  .dir-filter-primary .dir-filter-group:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  .dir-filter-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
    padding: 8px 20px 20px;
  }

  .dir-filter-secondary .dir-filter-group {
    padding: 10px 0;
  }

  .dir-filter-secondary .dir-filter-group:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
  }

  /* Price range + actions span full width in 2-col grid */
  .dir-filter-secondary .dir-filter-group:last-of-type,
  .dir-filter-actions {
    grid-column: 1 / -1;
  }

  .dir-filter-actions {
    grid-column: 1 / -1;
    padding-top: 14px;
  }

  .dir-sidebar-heading {
    display: flex;
  }

  /* Cards: stay 2 cols in content area */
  .dir-content .directory-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* ─── Responsive — Tablet medium (≤1100px) ─── */

@media (max-width: 1100px) {
  .directory-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .dir-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Responsive — Mobile (≤700px) — drawer overlay ─── */

@media (max-width: 700px) {
  .directory-main {
    padding: 36px 0 72px;
  }

  .dir-hero {
    padding: 36px 0 36px;
  }

  .dir-hero-title {
    font-size: clamp(1.8rem, 7.5vw, 3.2rem);
    letter-spacing: 0.05em;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .dir-hero-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    padding: 0 8px;
  }

  /* Collapse the layout to a single column */
  .dir-layout {
    flex-direction: column;
    gap: 0;
  }

  /* Sidebar becomes invisible wrapper — the form inside it becomes the overlay */
  .dir-sidebar {
    display: contents;
  }

  /* Filter form: hidden by default on mobile, shown as fixed drawer */
  .directory-filters {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow-y: auto;
    padding: 0 0 max(56px, env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    border: none;
    background:
      radial-gradient(ellipse 100% 40% at 50% 0%, rgba(var(--gold-rgb), 0.14), transparent 55%),
      radial-gradient(circle at 85% 100%, rgba(var(--walnut-rgb), 0.4), transparent 40%),
      linear-gradient(175deg, rgba(14, 10, 7, 0.99) 0%, rgba(8, 6, 4, 0.99) 100%);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .directory-filters::before {
    border-radius: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent 2%,
      rgba(var(--gold-rgb), 0.5) 25%,
      rgba(255, 244, 220, 0.6) 50%,
      rgba(var(--gold-rgb), 0.5) 75%,
      transparent 98%
    );
  }

  .directory-filters.is-open {
    display: block;
    animation: dirFilterDrawerIn var(--duration-mid) var(--ease-luxury);
  }

  /* Show the mobile header inside the drawer */
  .directory-filter-heading {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 4;
    padding: max(16px, env(safe-area-inset-top, 0px)) 22px 14px;
    margin-bottom: 0;
    background:
      linear-gradient(180deg, rgba(14, 10, 7, 0.98) 60%, rgba(14, 10, 7, 0.85) 100%);
    border-bottom: 1px solid rgba(var(--champagne-rgb), 0.12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .directory-filter-heading h2 {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }

  .directory-filter-close {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    background: rgba(var(--gold-rgb), 0.08);
    border-color: rgba(var(--gold-rgb), 0.32);
  }

  .directory-filter-close:hover,
  .directory-filter-close:active {
    color: var(--cream);
    border-color: rgba(var(--gold-rgb), 0.55);
    background: rgba(var(--gold-rgb), 0.14);
  }

  /* Hide the desktop sidebar heading in the drawer */
  .dir-sidebar-heading {
    display: none;
  }

  /* Drawer: vertical primary filters */
  .dir-filter-primary {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    padding: 12px 22px 4px;
    gap: 0;
    min-height: 0;
  }

  .dir-filter-primary .dir-filter-group {
    padding: 11px 0;
  }

  .dir-filter-primary .dir-filter-group:nth-child(even) {
    padding-left: 0;
  }

  .dir-filter-search-wrap {
    height: 48px;
    min-height: 48px;
    padding: 0 14px;
  }

  .dir-filter-select-wrap .directory-custom-select-button {
    min-height: 48px !important;
  }

  .dir-verified-toggle {
    min-height: 48px;
    padding: 6px 10px;
    margin: 0 -10px;
    width: calc(100% + 20px);
  }

  /* Drawer: secondary filters */
  .dir-filter-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding: 4px 22px 28px;
  }

  .dir-filter-secondary .dir-filter-group {
    padding: 11px 0;
  }

  .dir-filter-secondary .dir-filter-group:nth-child(even) {
    padding-left: 0;
  }

  .dir-filter-group:last-of-type,
  .dir-filter-actions {
    grid-column: 1 / -1;
  }

  .dir-search-btn {
    min-height: 52px;
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.32),
      0 0 24px rgba(var(--gold-rgb), 0.14);
  }

  /* Results bar */
  .dir-results-bar {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
  }

  .dir-featured-label {
    display: none;
  }

  /* Show the mobile Filters button */
  .directory-mobile-filter {
    display: inline-flex;
    align-items: center;
  }

  /* Cards: single column — generous touch spacing */
  .directory-cards,
  .dir-content .directory-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .directory-card {
    border-radius: var(--radius-lg);
  }

  .dir-card-info {
    padding: 16px 16px 16px;
  }

  .dir-card-name {
    font-size: 1.1rem;
    letter-spacing: 0.14em;
  }

  .dir-card-badge {
    top: 12px;
    left: 12px;
  }

  .directory-cards.is-list .directory-card {
    flex-direction: column;
  }

  .directory-cards.is-list .dir-card-media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .directory-cards.is-list .dir-card-media::after {
    width: auto;
    height: 55%;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(6, 4, 3, 0.88) 0%, transparent 100%);
  }

  .directory-cards.is-list .dir-card-info {
    flex-direction: column;
    padding: 16px;
  }

  .directory-cards.is-list .dir-card-footer {
    margin-left: 0;
    border-top: 1px solid rgba(var(--champagne-rgb), 0.1);
    padding-top: 12px;
  }

  /* Quick links */
  .dir-quick-links-inner {
    grid-template-columns: 1fr;
  }

  /* Trust bar */
  .dir-trust-bar {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .directory-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 24px 0;
    min-height: 0;
  }
}

/* ─── Responsive — Extra Small (≤440px) ─── */

@media (max-width: 440px) {
  .dir-hero-title {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
    letter-spacing: 0.05em;
  }

  .dir-trust-bar {
    grid-template-columns: 1fr;
  }
}

/* ─── Desktop/tablet open filter panel — horizontal compact layout ─── */
@media (min-width: 701px) {
  .directory-filters.is-open {
    display: block;
  }

  .directory-filters.is-open .dir-filter-primary {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 0 16px;
    padding: 16px 24px 12px;
    align-items: end;
  }

  .directory-filters.is-open .dir-filter-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr auto;
    gap: 0 16px;
    padding: 12px 24px 16px;
    align-items: end;
    border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
  }

  /* Show the panel header with close affordance */
  .directory-filters.is-open .dir-sidebar-heading {
    display: flex;
    padding: 14px 24px 0;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  background: var(--black);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
}

/* Selection — cream on ink for readable, on-brand highlights */
::selection {
  background: color-mix(in oklch, var(--gold) 55%, var(--panel));
  color: var(--ink);
}

@supports not (background: color-mix(in oklch, white, black)) {
  ::selection {
    background: rgba(var(--gold-rgb), 0.72);
    color: #130b05;
  }
}

@keyframes backgroundDrift {
  0% {
    background-position: center bottom, center, 48% 58%, center;
  }

  50% {
    background-position: center bottom, center, 54% 52%, center;
  }

  100% {
    background-position: center bottom, center, 48% 58%, center;
  }
}

@keyframes ambientFlow {
  0%,
  100% {
    transform: translate3d(-1.5%, -1%, 0) scale(1.04) rotate(0deg);
    background-position: center, center, 0% 0%, 100% 0%, 48% 58%, center;
  }

  45% {
    transform: translate3d(1.8%, -2.6%, 0) scale(1.08) rotate(0.55deg);
    background-position: center, center, 26% 18%, 72% 34%, 55% 52%, center;
  }

  72% {
    transform: translate3d(-0.8%, 1.8%, 0) scale(1.06) rotate(-0.35deg);
    background-position: center, center, 12% 46%, 88% 22%, 43% 62%, center;
  }
}

@keyframes veilFlow {
  0%,
  100% {
    transform: translate3d(1%, 0, 0) scale(1.02);
    background-position: 12% 18%, 84% 88%, 50% 50%;
    opacity: 0.68;
  }

  50% {
    transform: translate3d(-2%, 2%, 0) scale(1.06);
    background-position: 38% 34%, 64% 58%, 50% 50%;
    opacity: 0.9;
  }
}

@keyframes authCardFloat {
  0%,
  100% {
    transform: translateY(0) rotateX(0.7deg) rotateY(-0.35deg);
  }

  50% {
    transform: translateY(-13px) rotateX(-0.25deg) rotateY(0.35deg);
  }
}

@keyframes liquidGlassShine {
  0%,
  100% {
    transform: translate3d(-12%, -5%, 0) rotate(-13deg);
    opacity: 0.48;
  }

  50% {
    transform: translate3d(18%, 8%, 0) rotate(-8deg);
    opacity: 0.82;
  }
}

@keyframes liquidGlassBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    border-radius: 46% 54% 58% 42% / 44% 42% 58% 56%;
  }

  50% {
    transform: translate3d(28px, 18px, 0) scale(1.12);
    border-radius: 58% 42% 43% 57% / 52% 59% 41% 48%;
  }
}

@keyframes chatCinematicMove {
  0% {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
    filter: blur(2px) saturate(0.82) brightness(0.72);
  }

  48% {
    transform: scale(1.2) translate3d(2%, -2.5%, 0);
    filter: blur(3px) saturate(1.02) brightness(0.86);
  }

  100% {
    transform: scale(1.15) translate3d(-0.5%, 2%, 0);
    filter: blur(2px) saturate(0.88) brightness(0.76);
  }
}

@keyframes chatLightDrift {
  0%,
  100% {
    background-position: 15% 12%, 84% 88%, 50% 50%;
    opacity: 0.72;
  }

  50% {
    background-position: 34% 28%, 68% 62%, 50% 50%;
    opacity: 0.92;
  }
}

/* Subtle micro-animations — used by interactive surfaces */
@keyframes luxRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes luxGoldPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(var(--gold-rgb), 0),
      inset 0 1px var(--cream-sheen);
  }

  50% {
    box-shadow:
      0 0 28px rgba(var(--gold-rgb), 0.16),
      inset 0 1px var(--cream-sheen);
  }
}

@keyframes luxShimmer {
  0% {
    background-position: 120% 50%;
  }

  100% {
    background-position: -20% 50%;
  }
}

body {
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse at 50% 92%, rgba(var(--gold-rgb), 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(3, 2, 1, 0.86)),
    url("assets/temptx-flow-background.jpeg"),
    linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 48%, var(--black) 100%);
  background-attachment: fixed;
  background-position: center bottom, center, 50% 56%, center;
  background-size: 100% 100%, 100% 100%, max(100vw, 780px) auto, 140% 140%;
  animation: backgroundDrift var(--duration-ambient) ease-in-out infinite;
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cinematic-background {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 96%, rgba(var(--gold-rgb), 0.16), transparent 26rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(3, 2, 1, 0.86)),
    url("assets/temptx-flow-background.jpeg"),
    var(--black);
  background-position: center bottom, center, 50% 58%, center;
  background-size: 100% 100%, 100% 100%, max(100vw, 780px) auto, auto;
  background-attachment: fixed;
}

.cinematic-background::before,
.cinematic-background::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
}

.cinematic-background::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.26), transparent 12%, transparent 88%, rgba(var(--gold-rgb), 0.24)),
    linear-gradient(180deg, rgba(18, 11, 7, 0.08), rgba(18, 11, 7, 0.38)),
    radial-gradient(circle at 16% 10%, rgba(var(--gold-rgb), 0.12), transparent 22rem),
    radial-gradient(circle at 84% 22%, rgba(var(--cream-rgb), 0.06), transparent 26rem),
    url("assets/temptx-flow-background.jpeg"),
    linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 46%, var(--black) 100%);
  background-position: center, center, center, center, 52% 58%, center;
  background-size: 100% 100%, 100% 100%, 120% 120%, 125% 125%, max(104vw, 820px) auto, 140% 140%;
  background-repeat: no-repeat;
  animation: ambientFlow 110s ease-in-out infinite;
  will-change: transform, background-position;
}

.cinematic-background::after {
  z-index: -1;
  background:
    radial-gradient(circle at 15% 12%, rgba(var(--gold-rgb), 0.06), transparent 28rem),
    radial-gradient(circle at 84% 88%, rgba(var(--cream-rgb), 0.04), transparent 32rem),
    linear-gradient(180deg, rgba(18, 11, 7, 0.1), rgba(18, 11, 7, 0.38));
  background-size: 125% 125%, 135% 135%, 100% 100%;
  animation: veilFlow 80s ease-in-out infinite;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  will-change: transform, background-position, opacity;
}

/* Global keyboard focus — gold ring, no permanent mouse outline */
:focus {
  outline: none;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
}

/* Prefer ring + soft glow on interactive controls */
:where(
  a,
  button,
  [role="button"],
  input,
  select,
  textarea,
  summary,
  [tabindex]:not([tabindex="-1"])
):focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  box-shadow: var(--focus-ring-glow);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body {
    animation: none;
  }

  .auth-card {
    animation: none;
  }

  .auth-card::before,
  .auth-card-glow {
    animation: none;
  }

  .cinematic-background::before,
  .cinematic-background::after {
    animation: none;
    will-change: auto;
  }

  .hero-panel,
  .hero-overlay,
  .home-hero-overlay {
    animation: none !important;
    will-change: auto;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile / low-power: kill fixed backgrounds & ambient layers (major GPU win) */
@media (max-width: 820px), (prefers-reduced-transparency: reduce) {
  body,
  .cinematic-background,
  .directory-body {
    background-attachment: scroll !important;
  }

  .cinematic-background::before,
  .cinematic-background::after {
    position: absolute;
    inset: 0;
    animation: none;
    will-change: auto;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Coarse pointers: no sticky hover lift; keep focus rings */
@media (hover: none), (pointer: coarse) {
  .directory-card:hover,
  .escort-card:hover,
  .advertiser-card:hover,
  .model-card:hover,
  .category-card:hover,
  .light-btn:hover,
  button:hover {
    transform: none;
  }

  .directory-card:hover .dir-card-media img,
  .directory-card:hover .dir-card-placeholder {
    transform: none;
  }
}

/* Respect reduced motion for card lift / drawer entrance */
@media (prefers-reduced-motion: reduce) {
  .directory-card,
  .directory-card .dir-card-media img,
  .directory-card .dir-card-placeholder,
  .directory-card .dir-card-initial,
  .dir-search-btn,
  .dir-card-cta {
    transition: none !important;
  }

  .directory-card:hover,
  .directory-cards.is-list .directory-card:hover,
  .dir-search-btn:hover {
    transform: none !important;
  }

  .directory-filters.is-open {
    animation: none !important;
  }
}

@keyframes dirFilterDrawerIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.gate-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-soft);
}

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(18, 11, 7, 0.94);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body.gate-open .age-gate {
  display: grid;
}

.age-gate.hidden {
  display: none;
}

.age-box {
  width: min(440px, 100%);
  padding: 36px;
  text-align: center;
  background:
    linear-gradient(155deg, rgba(36, 29, 23, 0.94), rgba(21, 17, 14, 0.98));
  border: 1px solid rgba(var(--gold-rgb), 0.24);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.52),
    inset 0 1px rgba(var(--cream-rgb), 0.12),
    inset 0 0 54px rgba(0, 0, 0, 0.24);
}

.age-box h1,
.brand-mark,
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.age-box h1 {
  margin: 0 0 12px;
  font-size: 3rem;
  line-height: 1;
}

.small-text,
.about-copy p,
.join-box p,
.form-note,
.feature-row p {
  color: var(--muted);
}

.age-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.store-header,
.storefront,
.footer {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

.store-header {
  position: relative;
  z-index: 700;
  margin-top: clamp(72px, 11vh, 150px);
  overflow: visible;
  background:
    radial-gradient(circle at 50% -20%, rgba(var(--champagne-rgb), 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(14, 12, 9, 0.94), rgba(6, 5, 4, 0.96));
  border: 1px solid var(--luxury-border);
  border-radius: 12px;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(0, 0, 0, 0.82),
    inset 0 1px rgba(255, 244, 220, 0.14),
    inset 0 -42px 68px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.store-header::before,
.store-header::after {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: min(560px, 54vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.34), #fff2b7, rgba(var(--gold-rgb), 0.34), transparent);
  box-shadow:
    0 0 14px rgba(var(--gold-rgb), 0.78),
    0 0 34px rgba(var(--gold-rgb), 0.26);
  content: "";
  transform: translateX(-50%);
}

.store-header::before {
  top: 0;
}

.store-header::after {
  bottom: 0;
}

.compact-site-header {
  width: min(1180px, calc(100% - 44px));
  margin-top: 28px;
  margin-bottom: 34px;
}

.compact-site-header .brand-row {
  min-height: 112px;
  padding: 18px 24px 10px;
}

.compact-site-header .brand-mark {
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.compact-site-header .brand-mark::after {
  margin-top: 11px;
  font-size: 0.5rem;
  letter-spacing: 0.24em;
  padding-left: 0;
}

.compact-site-header .store-nav {
  padding-bottom: 24px;
}

.content-site-header {
  border-radius: 22px 22px 0 0;
  margin-bottom: 0;
}

.content-site-header + .content-mobile-nav {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.content-site-header + .content-mobile-nav + .content-shell,
.content-site-header + .content-shell {
  border-top: 0;
  border-radius: 0 0 28px 28px;
}

#contentHeader {
  position: relative;
  z-index: 60;
}

#contentHeader + .content-shell {
  border-top: 0;
  border-radius: 0 0 28px 28px;
}

.announcement {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.2);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand-row {
  min-height: clamp(190px, 23vh, 260px);
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto minmax(90px, 1fr);
  justify-content: center;
  align-items: center;
  column-gap: clamp(42px, 8vw, 150px);
  padding: clamp(30px, 5vw, 56px) clamp(32px, 7vw, 150px) 28px;
}

.brand-mark {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-items: center;
  justify-content: center;
  align-items: baseline;
  column-gap: 0;
  color: var(--cream);
  font-size: clamp(5.2rem, 9.5vw, 9.3rem);
  letter-spacing: -0.07em;
  line-height: 0.76;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.64))
    drop-shadow(0 0 16px rgba(var(--gold-rgb), 0.16));
  font-kerning: normal;
  text-rendering: geometricPrecision;
  transform: scale(1.08);
  transform-origin: center;
}

.brand-word {
  color: var(--cream);
  background:
    linear-gradient(
      125deg,
      #fdf4df 0%,
      var(--cream) 26%,
      #cdbda7 47%,
      #fff2d8 62%,
      #d9cbb8 82%,
      #f7ead5 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.3px rgba(255, 247, 229, 0.28);
  filter: contrast(1.04);
  text-shadow:
    0 1px 0 rgba(255, 250, 235, 0.24),
    0 -1px 0 rgba(117, 96, 75, 0.28),
    0 0 13px rgba(var(--cream-rgb), 0.1),
    0 10px 24px rgba(0, 0, 0, 0.46);
}

.brand-x {
  margin-left: -0.025em;
  color: var(--gold);
}

.age-box h1 span,
.auth-logo strong,
.footer .logo span,
.directory-footer-logo span {
  color: var(--gold);
}

.auth-logo span {
  color: var(--cream);
  background:
    linear-gradient(125deg, #fdf4df 0%, var(--cream) 34%, #cdbda7 58%, #fff2d8 76%, #d9cbb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.2px rgba(255, 247, 229, 0.22);
  text-shadow:
    0 1px 0 rgba(255, 250, 235, 0.18),
    0 -1px 0 rgba(117, 96, 75, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.36);
}

.brand-mark::after {
  content: "Australia's Adult Industry Network";
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  margin-top: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: rgba(var(--gold-rgb), 0.58);
  display: block;
  font-size: clamp(0.56rem, 0.92vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.42em;
  padding-left: 0;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-tool {
  width: 22px;
  height: 22px;
  position: relative;
  justify-self: start;
}

.header-search {
  position: relative;
  z-index: 90;
  justify-self: end;
  width: 42px;
  transition: width 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.simple-discovery-link {
  width: 78px;
  height: 78px;
  position: relative;
  justify-self: end;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    filter 320ms ease,
    opacity 320ms ease;
}

.simple-discovery-link::before,
.simple-discovery-link::after {
  content: "";
  position: absolute;
  display: block;
}

.simple-discovery-link::before {
  width: 22px;
  height: 22px;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(var(--gold-rgb), 0.86);
  border-radius: 50%;
  transform: translate(-58%, -58%);
}

.simple-discovery-link::after {
  width: 15px;
  height: 2px;
  top: 50%;
  left: 50%;
  background: rgba(var(--gold-rgb), 0.86);
  transform: translate(4px, 8px) rotate(45deg);
  transform-origin: left center;
}

.simple-discovery-link:hover,
.simple-discovery-link:focus-visible {
  filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.42));
  opacity: 0.9;
}

.home-discovery-link {
  justify-self: start;
  color: rgba(var(--cream-rgb), 0.78);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-discovery-link:hover,
.home-discovery-link:focus-visible {
  color: var(--cream);
}

.legacy-discovery-dropdown {
  display: none;
}

.advanced-search-dropdown .dropdown-menu {
  top: 100%;
  min-width: 245px;
}

.advanced-search-dropdown > .nav-dropdown-label {
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.advanced-search-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -18px;
  left: -18px;
  height: 18px;
}

.advanced-search-dropdown.hover-dropdown .dropdown-menu {
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 240ms ease,
    visibility 0s linear 650ms;
}

.advanced-search-dropdown.hover-dropdown:hover .dropdown-menu,
.advanced-search-dropdown.hover-dropdown:focus-within .dropdown-menu {
  transition-delay: 0s;
}

.header-search:focus-within {
  width: min(230px, 24vw);
}

.header-text-link {
  display: inline-block;
  color: rgba(var(--cream-rgb), 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-text-link:hover {
  color: var(--cream);
}

.search-trigger {
  width: 100%;
  min-height: 38px;
  padding: 0 14px 0 40px;
  border: 1px solid rgba(var(--cream-rgb), 0.18);
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9bda9' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") center / 17px 17px no-repeat,
    rgba(42, 26, 16, 0.52);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition:
    border-color 320ms ease,
    background-position 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms ease;
}

.header-search:focus-within .search-trigger {
  background-position: 14px center;
  cursor: text;
}

.search-trigger[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  outline: 0;
}

.search-trigger::placeholder {
  color: rgba(var(--cream-rgb), 0.58);
  opacity: 1;
}

.header-search:hover .search-trigger,
.header-search:focus-within .search-trigger {
  border-color: rgba(var(--cream-rgb), 0.34);
  background: rgba(var(--cream-rgb), 0.06);
}

.header-search .dropdown-menu {
  left: 0;
  min-width: 360px;
  transform: none;
}

.search-menu {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  background:
    linear-gradient(145deg, rgba(42, 26, 16, 0.72), rgba(18, 11, 7, 0.68)),
    rgba(18, 11, 7, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.search-menu-intro {
  display: grid;
  gap: 3px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.12);
}

.search-menu-intro span {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.search-menu-intro small {
  color: rgba(var(--cream-rgb), 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-menu a {
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(var(--cream-rgb), 0.045);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.search-menu a:hover {
  border-color: rgba(var(--cream-rgb), 0.2);
  background: rgba(var(--cream-rgb), 0.1);
  transform: translateX(3px);
}

.profile-tool {
  width: 78px;
  height: 78px;
  position: relative;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition:
    filter 320ms ease,
    opacity 320ms ease;
}

.profile-tool:hover,
.profile-tool:focus-visible {
  filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.42));
  opacity: 0.9;
}

.account-dropdown {
  position: relative;
  z-index: 90;
  justify-self: start;
}

.account-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 10px;
}

.account-dropdown .dropdown-menu {
  top: calc(100% + 10px);
  right: auto;
  left: 50%;
  min-width: 180px;
  transform: translateX(-50%);
}

.account-menu a {
  color: rgba(var(--cream-rgb), 0.76);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-menu a:hover {
  color: var(--cream);
  background: rgba(var(--cream-rgb), 0.06);
}

.header-tool span,
.header-tool::before,
.header-tool::after {
  content: "";
  position: absolute;
  display: block;
}

.header-tool span {
  width: 12px;
  height: 12px;
  top: 3px;
  left: 3px;
  border: 1px solid rgba(var(--cream-rgb), 0.72);
  border-radius: 50%;
}

.header-tool::after {
  width: 7px;
  height: 1px;
  top: 15px;
  left: 14px;
  background: rgba(var(--cream-rgb), 0.72);
  transform: rotate(45deg);
  transform-origin: left center;
}

.profile-tool span {
  width: 10px;
  height: 10px;
  top: 50%;
  left: 50%;
  border-color: rgba(var(--gold-rgb), 0.86);
  border-radius: 50%;
  transform: translate(-50%, -18px);
}

.profile-tool::before {
  width: 27px;
  height: 14px;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(var(--gold-rgb), 0.86);
  border-radius: 10px 10px 3px 3px;
  transform: translate(-50%, 1px);
}

.profile-tool::after {
  display: none;
}

.store-nav {
  position: relative;
  z-index: 760;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px clamp(34px, 5vw, 74px);
  padding: 18px 30px 44px;
}

.store-nav .legacy-discovery-dropdown {
  display: none;
}

.store-nav a,
.nav-dropdown-label {
  color: rgba(245, 237, 222, 0.96);
  font-size: clamp(0.9rem, 1.15vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  text-shadow:
    0 1px 12px rgba(0, 0, 0, 0.72),
    0 0 10px rgba(var(--cream-rgb), 0.08);
}

.category-card > span:last-child,
.footer-links a {
  color: rgba(var(--cream-rgb), 0.76);
  font-size: 0.84rem;
  letter-spacing: 0.07em;
}

.store-nav a:hover,
.nav-dropdown-label:hover,
.hover-dropdown:hover .nav-dropdown-label,
.hover-dropdown:focus-within .nav-dropdown-label,
.category-card:hover > span:last-child,
.footer-links a:hover {
  color: var(--cream);
}

/* Active / current page nav link */
.store-nav a.nav-current,
.store-nav a[aria-current="page"] {
  color: var(--gold);
  text-shadow:
    0 0 14px rgba(var(--gold-rgb), 0.32),
    0 1px 8px rgba(0, 0, 0, 0.6);
}

.store-nav a.nav-current:hover,
.store-nav a[aria-current="page"]:hover {
  color: var(--bullion-light);
}

.nav-dropdown {
  position: relative;
  z-index: 780;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  right: -18px;
  left: -18px;
  height: 24px;
}

.nav-dropdown:hover,
.nav-dropdown:focus-within {
  z-index: 940;
}

.nav-dropdown-label {
  cursor: default;
  transition:
    color 420ms ease,
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-dropdown .nav-dropdown-label::after {
  content: none;
}

.hover-dropdown .dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -14px) scale(0.97);
  transform-origin: top center;
  filter: blur(3px);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 460ms ease,
    visibility 0s linear 480ms;
}

.hover-dropdown:hover .dropdown-menu,
.hover-dropdown:focus-within .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
  transition-delay: 90ms, 90ms, 90ms, 0s;
}

.hover-dropdown:hover .nav-dropdown-label::after,
.hover-dropdown:focus-within .nav-dropdown-label::after {
  transform: rotate(45deg);
}

.hover-dropdown:hover .nav-dropdown-label,
.hover-dropdown:focus-within .nav-dropdown-label {
  transform: translateY(-1px);
}

.header-search.hover-dropdown .dropdown-menu {
  transform: translateY(-14px) scale(0.97);
}

.header-search.hover-dropdown:hover .dropdown-menu,
.header-search.hover-dropdown:focus-within .dropdown-menu {
  transform: translateY(0) scale(1);
}

.join-dropdown .dropdown-menu {
  min-width: 280px;
}

.hub-dropdown .dropdown-menu {
  min-width: 330px;
}

.browse-dropdown .dropdown-menu {
  width: min(960px, calc(100vw - 60px));
  left: 50%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: 54px;
  padding: 30px 34px 34px;
}

.hover-dropdown.browse-dropdown .dropdown-menu {
  transform: translate(-26%, -14px) scale(0.97);
  transform-origin: top center;
}

.hover-dropdown.browse-dropdown:hover .dropdown-menu,
.hover-dropdown.browse-dropdown:focus-within .dropdown-menu {
  transform: translate(-26%, 0) scale(1);
}

.browse-column {
  display: block;
  align-content: start;
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid rgba(var(--cream-rgb), 0.1);
}

.dropdown-section-title {
  display: block;
  column-span: all;
  margin-bottom: 12px;
  padding: 0 0 13px;
  color: rgba(var(--cream-rgb), 0.92);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.34);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  min-width: 280px;
  max-height: min(68vh, 620px);
  overflow-y: auto;
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 7px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.2), transparent 15rem),
    linear-gradient(145deg, rgba(9, 7, 5, 0.96), rgba(3, 2, 1, 0.92));
  border: 1px solid rgba(var(--champagne-rgb), 0.46);
  border-top-color: rgba(var(--bullion-light), 0.74);
  border-radius: 12px;
  transform: translateX(-50%);
  box-shadow:
    0 32px 88px rgba(0, 0, 0, 0.72),
    0 0 34px rgba(var(--gold-rgb), 0.12),
    inset 0 1px rgba(255, 244, 220, 0.18),
    inset 0 -22px 42px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  backdrop-filter: blur(18px) saturate(132%);
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 16px;
}

.dropdown-menu a {
  min-height: 37px;
  padding: 10px 12px 9px;
  color: rgba(255, 246, 224, 0.78);
  border: 1px solid rgba(var(--champagne-rgb), 0.1);
  border-radius: 8px;
  background: rgba(var(--cream-rgb), 0.025);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 260ms ease,
    padding-left 340ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 260ms ease,
    background-color 260ms ease;
}

.dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(var(--gold-rgb), 0.4);
  border-radius: 999px;
}

.browse-column a {
  display: block;
  break-inside: avoid;
  min-height: 31px;
  padding: 8px 10px 7px;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.6rem;
  letter-spacing: 0.075em;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--bullion-light);
  border-color: rgba(var(--gold-rgb), 0.44);
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.12), rgba(var(--cream-rgb), 0.035));
  padding-left: 16px;
  transform: none;
}

.dropdown-menu a:last-child {
  border-bottom: 0;
}

.nav-dropdown-wide .dropdown-menu {
  width: min(330px, calc(100vw - 44px));
  grid-template-columns: 1fr;
}

.location-menu {
  min-width: 315px;
  overflow: visible;
}

.location-group {
  position: relative;
}

.location-group::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 26px;
}

.location-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.location-state::after {
  content: "›";
  color: rgba(var(--gold-rgb), 0.82);
  font-size: 0.9rem;
}

.location-submenu {
  position: absolute;
  top: -1px;
  left: calc(100% + 2px);
  z-index: 35;
  min-width: 260px;
  padding: 24px 26px;
  display: grid;
  gap: 0;
  background:
    linear-gradient(155deg, rgba(71, 47, 27, 0.2), transparent 48%),
    rgba(12, 8, 5, 0.92);
  border: 1px solid rgba(var(--cream-rgb), 0.15);
  border-left-color: rgba(var(--gold-rgb), 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px) scale(0.985);
  transform-origin: left top;
  transition:
    opacity 260ms ease,
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 300ms;
}

.location-group:hover .location-submenu,
.location-group:focus-within .location-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 60ms, 60ms, 0s;
}

.location-submenu a {
  padding: 9px 2px 8px;
  white-space: nowrap;
}

.collection-hero {
  --hero-scroll: 0;
  min-height: clamp(310px, 39vh, 440px);
  margin-bottom: 88px;
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(var(--gold-rgb), 0.1), transparent 26rem),
    radial-gradient(ellipse at 12% 88%, rgba(var(--wine-rgb), 0.34), transparent 20rem),
    linear-gradient(180deg, rgba(7, 3, 4, 0.08), rgba(0, 0, 0, 0.48));
}

/* ── Hero depth layers ── */
.hero-panel {
  position: absolute;
  top: -12%;
  bottom: -18%;
  pointer-events: none;
  z-index: 0;
  border-radius: 2px;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.08),
    inset 0 -40px 72px rgba(0, 0, 0, 0.36),
    0 24px 64px rgba(0, 0, 0, 0.28);
}

.hero-panel-one {
  left: -4%;
  width: min(46%, 520px);
  z-index: 0;
  opacity: 0.94;
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 10px), 0);
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 58%, transparent 100%),
    radial-gradient(ellipse 80% 55% at 38% 22%, rgba(var(--cream-rgb), 0.14), transparent 62%),
    radial-gradient(circle at 78% 82%, rgba(var(--gold-rgb), 0.14), transparent 42%),
    radial-gradient(ellipse at 20% 70%, rgba(var(--wine-rgb), 0.55), transparent 58%),
    linear-gradient(148deg, var(--espresso) 0%, var(--wood) 42%, var(--wine) 78%, #1a0c0a 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, transparent 100%);
  animation: hero-panel-drift-a 28s var(--ease-soft) infinite alternate;
}

.hero-panel-two {
  left: 50%;
  width: min(54%, 640px);
  z-index: 1;
  opacity: 0.98;
  margin-left: calc(min(54%, 640px) / -2);
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 22px), 0);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.42) 100%),
    radial-gradient(ellipse 70% 48% at 52% 28%, rgba(var(--gold-rgb), 0.32), transparent 68%),
    radial-gradient(ellipse 50% 40% at 36% 72%, rgba(var(--cream-rgb), 0.08), transparent 60%),
    radial-gradient(circle at 70% 58%, rgba(var(--champagne-rgb), 0.1), transparent 36%),
    linear-gradient(155deg, #2a1610 0%, var(--panel) 38%, var(--wood) 68%, var(--wine) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.12),
    inset 0 0 80px rgba(var(--gold-rgb), 0.06),
    inset 0 -48px 80px rgba(0, 0, 0, 0.4),
    0 28px 72px rgba(0, 0, 0, 0.34);
  animation: hero-panel-drift-b 34s var(--ease-soft) infinite alternate;
}

.hero-panel-three {
  right: -4%;
  width: min(46%, 520px);
  z-index: 0;
  opacity: 0.92;
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 34px), 0);
  background:
    linear-gradient(255deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.14) 52%, transparent 100%),
    radial-gradient(ellipse 70% 50% at 68% 24%, rgba(var(--cream-rgb), 0.16), transparent 58%),
    radial-gradient(ellipse at 48% 78%, rgba(0, 0, 0, 0.72), transparent 54%),
    radial-gradient(circle at 24% 40%, rgba(var(--gold-rgb), 0.1), transparent 40%),
    linear-gradient(210deg, var(--panel) 0%, var(--espresso) 44%, var(--wood) 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, #000 62%, transparent 100%);
  animation: hero-panel-drift-c 31s var(--ease-soft) infinite alternate;
}

@keyframes hero-panel-drift-a {
  from { filter: brightness(1) saturate(1); }
  to { filter: brightness(1.06) saturate(1.08); }
}

@keyframes hero-panel-drift-b {
  from { filter: brightness(1) saturate(1.02); }
  to { filter: brightness(1.08) saturate(1.12); }
}

@keyframes hero-panel-drift-c {
  from { filter: brightness(0.98) saturate(1); }
  to { filter: brightness(1.05) saturate(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 22px;
  padding: clamp(36px, 5vh, 56px) 24px;
  text-align: center;
  will-change: transform;
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 8px), 0);
  background:
    radial-gradient(ellipse 55% 48% at 50% 46%, rgba(var(--gold-rgb), 0.08), transparent 72%),
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 28%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.36) 100%);
}

.script-line {
  margin: 0 0 -8px;
  font-family: var(--font-display);
  color: rgba(var(--cream-rgb), 0.9);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-style: italic;
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.52);
}

.hero-overlay h1 {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--cream);
  font-size: clamp(2.3rem, 5.8vw, 4.8rem);
}

.hero-overlay h1::after {
  content: "";
  width: min(280px, 54vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 106, 0.95), rgba(var(--cream-rgb), 0.9), rgba(197, 160, 106, 0.95), transparent);
  box-shadow: 0 0 12px rgba(197, 160, 106, 0.28);
}

.frame-label {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: rgba(var(--cream-rgb), 0.82);
  font-size: clamp(0.88rem, 1.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-tagline {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: rgba(var(--cream-rgb), 0.72);
  font-size: clamp(0.78rem, 1.1vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.light-btn,
button,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(var(--champagne-rgb), 0.48);
  border-radius: var(--radius-md);
  padding: 10px 24px;
  color: var(--text-on-gold);
  background: var(--btn-gold-gradient);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.42),
    inset 0 -12px 22px rgba(82, 50, 16, 0.18);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform var(--duration-mid) var(--ease-luxury),
    box-shadow var(--duration-mid) var(--ease-soft),
    border-color var(--duration-fast) ease,
    filter var(--duration-fast) ease,
    background var(--duration-mid) ease;
}

.hero-proof {
  margin: 18px 0 0;
  color: var(--text-tertiary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

@supports not (color: color-mix(in oklch, white, black)) {
  .hero-proof {
    color: rgba(var(--cream-rgb), 0.62);
  }
}

.outline-btn {
  color: var(--cream);
  background: transparent;
  border-color: rgba(var(--champagne-rgb), 0.24);
  box-shadow: inset 0 1px var(--cream-sheen);
}

.light-btn:hover,
button:hover {
  background: var(--btn-gold-gradient-hover);
}

.light-btn:focus-visible,
button:focus-visible,
.outline-btn:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  box-shadow:
    var(--focus-ring-glow),
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.42);
}

.light-btn:active,
button:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}

.hero-overlay .light-btn {
  min-width: min(320px, calc(100vw - 64px));
  min-height: 76px;
  padding: 20px 54px;
  color: var(--text-on-gold);
  border-color: color-mix(in oklch, var(--bullion-light) 62%, transparent);
  border-radius: 10px;
  background:
    linear-gradient(135deg, #fff3c7, #e7bf6a 45%, #a86f25 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.44),
    0 0 30px var(--gold-glow),
    inset 0 1px rgba(255, 255, 255, 0.5),
    inset 0 -16px 26px rgba(82, 50, 16, 0.18);
  font-size: clamp(0.92rem, 1.35vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  transition:
    transform var(--duration-slow) var(--ease-luxury),
    box-shadow var(--duration-slow) ease,
    background-color var(--duration-slow) ease,
    border-color var(--duration-slow) ease,
    filter var(--duration-mid) ease;
}

@supports not (border-color: color-mix(in oklch, white, black)) {
  .hero-overlay .light-btn {
    border-color: rgba(248, 223, 158, 0.62);
  }
}

.hero-overlay .light-btn:hover,
.hero-overlay .light-btn:focus-visible {
  color: var(--text-on-gold);
  border-color: color-mix(in oklch, var(--bullion-white) 86%, transparent);
  background: linear-gradient(135deg, #fff7dc, var(--bullion-light) 45%, var(--bullion-rich));
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.4),
    0 0 32px var(--gold-glow-strong),
    var(--focus-ring-glow);
}

.outline-btn:hover {
  background: rgba(var(--cream-rgb), 0.08);
  border-color: rgba(var(--champagne-rgb), 0.42);
}

.outline-btn:focus-visible {
  border-color: rgba(var(--gold-rgb), 0.55);
}

.category-section {
  padding: 58px clamp(24px, 10vw, 150px) 82px;
  background:
    radial-gradient(circle at 50% 4%, rgba(var(--champagne-rgb), 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(6, 5, 4, 0.74), rgba(10, 8, 6, 0.9));
  border-top: 1px solid rgba(var(--champagne-rgb), 0.14);
  box-shadow: inset 0 32px 76px rgba(0, 0, 0, 0.22);
  text-align: center;
}

.directory-search-status {
  margin: -8px auto 34px;
  color: rgba(var(--champagne-rgb), 0.76);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.category-section > h2 {
  margin: 0 auto 20px;
  max-width: 11ch;
  color: var(--gold);
  background:
    linear-gradient(110deg, #fff3c7 0%, var(--bullion-light) 22%, var(--gold) 46%, #b8782a 68%, #f4d692 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.86;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.46);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  max-width: 1060px;
  margin: 0 auto;
}

.category-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  position: relative;
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(var(--champagne-rgb), 0.22);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% -10%, rgba(var(--champagne-rgb), 0.09), transparent 13rem),
    linear-gradient(145deg, rgba(12, 10, 8, 0.98), rgba(4, 4, 3, 0.98));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px var(--cream-sheen),
    inset 0 -36px 58px rgba(0, 0, 0, 0.2);
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 900ms var(--ease-luxury),
    filter 900ms ease,
    border-color var(--duration-mid) ease,
    box-shadow var(--duration-mid) var(--ease-soft);
  will-change: auto;
}

.category-card::before {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(var(--champagne-rgb), 0.12);
  border-radius: 6px;
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.08),
    inset 0 0 34px rgba(0, 0, 0, 0.18);
  content: "";
  pointer-events: none;
}

.category-card::after {
  z-index: 1;
  justify-self: center;
  min-width: 126px;
  padding: 11px 20px;
  color: #120d08;
  border: 1px solid rgba(var(--bullion-white), 0.54);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bullion-white), var(--bullion-light) 42%, var(--gold));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.48);
  content: "Explore";
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.category-card:nth-child(2),
.category-card:nth-child(3) {
  color: #110c08;
  border-color: rgba(var(--gold-rgb), 0.34);
  background: var(--champagne-panel);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -44px 68px rgba(88, 51, 15, 0.16);
}

.category-card:nth-child(2)::before,
.category-card:nth-child(3)::before {
  border-color: rgba(70, 42, 14, 0.2);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.26),
    inset 0 0 34px rgba(120, 72, 19, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    z-index: 2;
    transform: translateY(-5px) scale(1.08);
    filter: brightness(1.08) drop-shadow(0 22px 34px rgba(0, 0, 0, 0.42));
  }
}

.category-card:focus-visible {
  z-index: 2;
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.06) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  box-shadow: var(--focus-ring-glow);
}

.category-card .category-image {
  transition:
    min-height 900ms var(--ease-luxury),
    transform 900ms var(--ease-luxury);
}

.category-card:hover .category-image,
.category-card:focus-visible .category-image {
  min-height: 172px;
  transform: translateY(-2px);
}

.category-card.is-hidden,
.advertiser-card.is-hidden {
  display: none;
}

.category-image {
  z-index: 1;
  min-height: 158px;
  display: block;
  background: var(--wine);
  border: 1px solid rgba(var(--champagne-rgb), 0.18);
  border-radius: 6px;
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.14),
    inset 0 0 52px rgba(0, 0, 0, 0.26),
    0 14px 32px rgba(0, 0, 0, 0.22);
}

.category-card > span:last-child {
  z-index: 1;
  display: block;
  align-self: start;
  max-width: 10ch;
  margin: 0 auto;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  text-align: center;
  text-transform: none;
}

.category-card:nth-child(2) > span:last-child,
.category-card:nth-child(3) > span:last-child {
  color: #120d08;
}

.category-one {
  background:
    radial-gradient(ellipse at 50% 25%, rgba(var(--champagne-rgb), 0.24), transparent 5rem),
    radial-gradient(circle at 80% 80%, rgba(var(--gold-rgb), 0.16), transparent 8rem),
    linear-gradient(145deg, #060504, #20140b);
}

.category-two {
  background:
    radial-gradient(circle at 72% 28%, rgba(var(--bullion-light), 0.42), transparent 4rem),
    radial-gradient(circle at 30% 68%, rgba(var(--cream-rgb), 0.1), transparent 5rem),
    linear-gradient(145deg, #25140c, #6f481f 52%, #120b07);
}

.category-three {
  background:
    radial-gradient(ellipse at 48% 50%, rgba(var(--champagne-rgb), 0.26), transparent 6rem),
    radial-gradient(circle at 18% 18%, rgba(var(--gold-rgb), 0.22), transparent 6rem),
    linear-gradient(145deg, #120d09, #2f1b10 52%, #080604);
}

.category-four {
  background:
    radial-gradient(circle at 58% 38%, rgba(var(--bullion-light), 0.46), transparent 4rem),
    radial-gradient(circle at 42% 60%, rgba(var(--cream-rgb), 0.1), transparent 4rem),
    linear-gradient(145deg, #1b120b, #9d6a30 48%, #130c07);
}

.featured-escorts-section,
.models-section {
  padding: 76px clamp(24px, 10vw, 150px) 82px;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
  background:
    radial-gradient(circle at 82% 8%, rgba(var(--champagne-rgb), 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(6, 5, 4, 0.9), rgba(22, 14, 9, 0.74));
  box-shadow: inset 0 34px 90px rgba(0, 0, 0, 0.24);
}

.section-heading-row {
  margin-bottom: 34px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading-row h2 {
  max-width: 12ch;
  margin-bottom: 16px;
}

.section-heading-row p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.92rem;
}

.section-link {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.escort-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(var(--champagne-rgb), 0.24);
  background: rgba(var(--champagne-rgb), 0.18);
  box-shadow: var(--luxury-shadow);
}

.escort-card {
  min-width: 0;
  display: grid;
  background:
    radial-gradient(circle at 18% 0%, rgba(var(--cream-rgb), 0.08), transparent 12rem),
    linear-gradient(145deg, rgba(23, 17, 12, 0.96), rgba(7, 6, 5, 0.98));
  box-shadow:
    inset 0 1px var(--cream-sheen),
    inset 0 0 44px rgba(0, 0, 0, 0.18);
  transition:
    transform var(--duration-slow) var(--ease-luxury),
    filter var(--duration-slow) ease,
    box-shadow var(--duration-mid) var(--ease-soft);
}

@media (hover: hover) and (pointer: fine) {
  .escort-card:hover {
    z-index: 2;
    transform: translateY(-4px);
    filter: brightness(1.08);
    box-shadow:
      0 20px 48px rgba(0, 0, 0, 0.35),
      0 0 28px rgba(var(--gold-rgb), 0.1),
      inset 0 1px var(--cream-sheen),
      inset 0 0 44px rgba(0, 0, 0, 0.18);
  }
}

.escort-card:focus-visible {
  z-index: 2;
  transform: translateY(-2px);
  filter: brightness(1.06);
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  box-shadow: var(--focus-ring-glow);
}

.escort-photo {
  min-height: 260px;
  display: block;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.14);
  background:
    radial-gradient(ellipse at 50% 22%, rgba(var(--champagne-rgb), 0.26), transparent 5rem),
    radial-gradient(circle at 72% 72%, rgba(var(--gold-rgb), 0.16), transparent 8rem),
    linear-gradient(145deg, #070605, #22170f);
}

.escort-photo-two {
  background:
    radial-gradient(ellipse at 46% 24%, rgba(var(--cream-rgb), 0.2), transparent 5rem),
    radial-gradient(circle at 20% 78%, rgba(var(--gold-rgb), 0.18), transparent 8rem),
    linear-gradient(145deg, var(--wine), var(--wood));
}

.escort-photo-three {
  background:
    radial-gradient(ellipse at 58% 26%, rgba(var(--cream-rgb), 0.22), transparent 5rem),
    radial-gradient(circle at 84% 22%, rgba(var(--gold-rgb), 0.18), transparent 7rem),
    linear-gradient(145deg, var(--panel), var(--espresso));
}

.escort-photo-four {
  background:
    radial-gradient(ellipse at 48% 24%, rgba(var(--cream-rgb), 0.2), transparent 5rem),
    radial-gradient(circle at 58% 70%, rgba(var(--gold-rgb), 0.2), transparent 8rem),
    linear-gradient(145deg, var(--wood), var(--wine));
}

.escort-photo-five {
  background:
    radial-gradient(ellipse at 54% 22%, rgba(var(--cream-rgb), 0.2), transparent 5rem),
    radial-gradient(circle at 12% 28%, rgba(var(--gold-rgb), 0.16), transparent 8rem),
    linear-gradient(145deg, var(--espresso), var(--panel));
}

.escort-photo-six {
  background:
    radial-gradient(ellipse at 50% 24%, rgba(var(--cream-rgb), 0.22), transparent 5rem),
    radial-gradient(circle at 78% 78%, rgba(var(--gold-rgb), 0.14), transparent 7rem),
    linear-gradient(145deg, var(--wine), var(--espresso));
}

.escort-photo-seven {
  background:
    radial-gradient(ellipse at 52% 24%, rgba(var(--cream-rgb), 0.22), transparent 5rem),
    radial-gradient(circle at 24% 74%, rgba(var(--gold-rgb), 0.2), transparent 8rem),
    linear-gradient(145deg, var(--panel), var(--wood));
}

.escort-photo-eight {
  background:
    radial-gradient(ellipse at 48% 22%, rgba(var(--cream-rgb), 0.2), transparent 5rem),
    radial-gradient(circle at 78% 18%, rgba(var(--gold-rgb), 0.16), transparent 7rem),
    linear-gradient(145deg, var(--espresso), var(--wine));
}

.escort-card-body {
  min-height: 164px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.escort-card-body strong {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
}

.escort-card-body small {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.escort-card-body span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .category-card {
    transition: none;
  }

}

.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(44px, 8vw, 88px);
  align-items: center;
  padding: 82px clamp(24px, 11vw, 160px) 86px;
  background:
    linear-gradient(180deg, rgba(24, 20, 16, 0.76), rgba(15, 12, 10, 0.66));
  border-top: 1px solid rgba(var(--cream-rgb), 0.1);
  box-shadow: inset 0 34px 70px rgba(0, 0, 0, 0.16);
}

.collage {
  min-height: 360px;
  position: relative;
  border: 1px solid rgba(var(--gold-rgb), 0.12);
  background: rgba(22, 18, 15, 0.3);
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.24),
    0 18px 46px rgba(0, 0, 0, 0.24);
}

.collage-card {
  position: absolute;
  display: block;
  border: 1px solid rgba(var(--cream-rgb), 0.08);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.42),
    inset 0 0 48px rgba(0, 0, 0, 0.2);
}

.collage-large {
  right: 8%;
  top: 38px;
  width: 66%;
  height: 265px;
  background:
    radial-gradient(ellipse at 64% 45%, rgba(var(--cream-rgb), 0.18), transparent 8rem),
    radial-gradient(circle at 16% 20%, rgba(var(--gold-rgb), 0.16), transparent 7rem),
    linear-gradient(145deg, var(--panel), var(--espresso) 58%, var(--wood));
}

.collage-left {
  left: 4%;
  bottom: 36px;
  width: 28%;
  height: 152px;
  background:
    radial-gradient(circle at 55% 28%, rgba(var(--cream-rgb), 0.2), transparent 4rem),
    radial-gradient(circle at 20% 70%, rgba(var(--gold-rgb), 0.09), transparent 6rem),
    linear-gradient(145deg, var(--espresso), var(--wood));
}

.collage-right {
  right: 0;
  top: 76px;
  width: 24%;
  height: 132px;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--gold-rgb), 0.34), transparent 4rem),
    linear-gradient(145deg, var(--panel), var(--wood));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 18px;
}

.about-copy .light-btn {
  margin-top: 10px;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: start;
  padding: 82px clamp(24px, 11vw, 160px) 88px;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
  background:
    radial-gradient(circle at 10% 12%, rgba(var(--champagne-rgb), 0.13), transparent 20rem),
    linear-gradient(180deg, rgba(7, 6, 5, 0.92), rgba(21, 13, 8, 0.72));
  box-shadow: inset 0 34px 84px rgba(0, 0, 0, 0.24);
}

.platform-intro {
  position: sticky;
  top: 28px;
}

.platform-intro h2 {
  max-width: 10ch;
  margin-bottom: 18px;
}

.platform-intro p:not(.eyebrow) {
  max-width: 42ch;
  margin: 0;
  color: rgba(var(--cream-rgb), 0.66);
  font-size: 0.92rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(var(--champagne-rgb), 0.24);
  background: rgba(var(--champagne-rgb), 0.16);
  box-shadow: var(--luxury-shadow);
}

.platform-grid article {
  min-height: 250px;
  padding: clamp(24px, 3.8vw, 38px);
  display: grid;
  align-content: start;
  gap: 18px;
  background: var(--luxury-panel);
  border-right: 1px solid rgba(var(--champagne-rgb), 0.14);
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.14);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.1),
    inset 0 0 44px rgba(0, 0, 0, 0.18);
}

.platform-grid article:nth-child(2),
.platform-grid article:nth-child(5) {
  color: #110c08;
  background: var(--champagne-panel);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.42),
    inset 0 -36px 62px rgba(94, 55, 16, 0.16);
}

.platform-grid article:nth-child(2) h3,
.platform-grid article:nth-child(5) h3,
.platform-grid article:nth-child(2) p,
.platform-grid article:nth-child(5) p,
.platform-grid article:nth-child(2) span,
.platform-grid article:nth-child(5) span {
  color: #130d08;
}

.platform-grid article:nth-child(even) {
  border-right: 0;
}

.platform-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.platform-grid span {
  color: rgba(var(--gold-rgb), 0.82);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.platform-grid h3 {
  margin: 0;
}

.platform-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.role-capabilities-section {
  padding: 82px clamp(24px, 11vw, 160px) 92px;
  background:
    radial-gradient(circle at 88% 18%, rgba(var(--champagne-rgb), 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(6, 5, 4, 0.98), rgba(20, 13, 8, 0.9));
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.12);
}

.role-capabilities-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.role-capabilities-intro h2 {
  max-width: 12ch;
  margin: 0;
}

.role-capabilities-intro p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.94rem;
  line-height: 1.8;
}

.role-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(var(--champagne-rgb), 0.24);
  background: rgba(var(--champagne-rgb), 0.18);
  box-shadow: var(--luxury-shadow);
}

.role-capability-card {
  display: grid;
  align-content: start;
  gap: 26px;
  min-height: 520px;
  padding: clamp(26px, 3.6vw, 42px);
  background: var(--luxury-panel);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.1),
    inset 0 0 50px rgba(0, 0, 0, 0.18);
}

.role-capability-card:nth-child(2) {
  color: #110c08;
  background: var(--champagne-panel);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.45),
    inset 0 -44px 70px rgba(94, 55, 16, 0.18);
}

.role-capability-card:nth-child(2) .role-card-heading span,
.role-capability-card:nth-child(2) .role-card-heading h3,
.role-capability-card:nth-child(2) li {
  color: #120d08;
}

.role-capability-card:nth-child(2) li::before {
  background: #120d08;
  box-shadow: none;
}

.role-card-heading {
  display: grid;
  gap: 12px;
}

.role-card-heading span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.role-card-heading h3 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  font-weight: 400;
  line-height: 1.08;
}

.role-capability-card ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-capability-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(var(--cream-rgb), 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.role-capability-card li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.42);
  content: "";
}

.faves-strip {
  padding: 30px clamp(24px, 11vw, 160px);
  background:
    linear-gradient(90deg, rgba(var(--champagne-rgb), 0.2), rgba(17, 12, 8, 0.96) 44%, rgba(6, 5, 4, 0.98));
  border-block: 1px solid rgba(var(--champagne-rgb), 0.14);
  box-shadow: inset 0 18px 44px rgba(0, 0, 0, 0.24);
}

.faves-strip h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.18);
}

.feature-row article {
  min-height: 190px;
  padding: 34px;
  background: var(--luxury-panel);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.1),
    inset 0 0 44px rgba(0, 0, 0, 0.18);
}

.advertiser-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.18);
  border-block: 1px solid rgba(var(--champagne-rgb), 0.16);
}

.advertiser-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--luxury-panel);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.1),
    inset 0 0 44px rgba(0, 0, 0, 0.18);
}

.advertiser-card:nth-child(2) {
  background: var(--champagne-panel);
}

.advertiser-card:nth-child(2),
.advertiser-card:nth-child(2) .eyebrow,
.advertiser-card:nth-child(2) h3,
.advertiser-card:nth-child(2) p {
  color: #120d08;
}

.advertiser-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.advertiser-image {
  min-height: 230px;
  display: block;
  margin-bottom: 8px;
  background: var(--wine);
  border: 1px solid rgba(var(--champagne-rgb), 0.22);
  border-radius: 6px;
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.12),
    inset 0 0 54px rgba(0, 0, 0, 0.24),
    0 16px 36px rgba(0, 0, 0, 0.24);
}

.advertiser-one {
  background:
    radial-gradient(ellipse at 54% 24%, rgba(var(--cream-rgb), 0.18), transparent 7rem),
    linear-gradient(145deg, var(--espresso), var(--wood));
}

.advertiser-two {
  background:
    radial-gradient(circle at 70% 40%, rgba(var(--gold-rgb), 0.3), transparent 6rem),
    radial-gradient(circle at 22% 74%, rgba(var(--cream-rgb), 0.06), transparent 7rem),
    linear-gradient(145deg, var(--wine), var(--wood));
}

.advertiser-three {
  background:
    radial-gradient(ellipse at 50% 52%, rgba(var(--cream-rgb), 0.16), transparent 8rem),
    linear-gradient(145deg, var(--panel), var(--wood));
}

.profile-header {
  margin-top: 92px;
}

.profile-page {
  background: rgba(18, 11, 7, 0.38);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  min-height: 620px;
  border-top: 1px solid rgba(var(--cream-rgb), 0.08);
  background: rgba(18, 11, 7, 0.36);
}

.profile-portrait {
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58)),
    radial-gradient(ellipse at 55% 24%, rgba(var(--cream-rgb), 0.38), transparent 12rem),
    radial-gradient(ellipse at 48% 68%, rgba(var(--gold-rgb), 0.28), transparent 14rem),
    linear-gradient(145deg, var(--espresso), var(--wood) 64%);
}

.profile-intro {
  display: grid;
  align-content: center;
  padding: clamp(42px, 8vw, 110px);
  border-left: 1px solid rgba(var(--champagne-rgb), 0.2);
}

.profile-intro h1 {
  max-width: 10ch;
  margin-bottom: 16px;
}

.profile-intro p,
.profile-copy p,
.profile-menu p,
.profile-enquiry p {
  color: var(--muted);
}

.profile-location {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.favourite-provider-button {
  transition:
    color 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.favourite-provider-button:hover,
.favourite-provider-button:focus-visible {
  border-color: rgba(var(--gold-rgb), 0.72);
  transform: translateY(-1px);
}

.favourite-provider-button.is-favourite {
  color: var(--black);
  border-color: var(--gold);
  background: var(--gold);
}

.profile-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.1fr;
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.12);
  border-radius: 8px;
  overflow: hidden;
}

.gallery-tile {
  min-height: 310px;
  display: block;
  background: var(--wine);
}

.gallery-one {
  background:
    radial-gradient(ellipse at 52% 30%, rgba(var(--cream-rgb), 0.16), transparent 8rem),
    linear-gradient(145deg, var(--espresso), var(--wood));
}

.gallery-two {
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--gold-rgb), 0.28), transparent 6rem),
    radial-gradient(circle at 80% 78%, rgba(var(--cream-rgb), 0.06), transparent 7rem),
    linear-gradient(145deg, var(--wine), var(--wood));
}

.gallery-three {
  background:
    radial-gradient(ellipse at 45% 44%, rgba(var(--cream-rgb), 0.16), transparent 7rem),
    linear-gradient(145deg, var(--panel), var(--wood));
}

.gallery-four {
  background:
    radial-gradient(circle at 55% 30%, rgba(var(--gold-rgb), 0.44), transparent 8rem),
    linear-gradient(145deg, var(--panel), var(--wood));
}

.profile-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.65fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
  padding: 86px clamp(24px, 11vw, 160px);
  border-top: 1px solid rgba(var(--cream-rgb), 0.08);
}

.profile-facts {
  border: 1px solid rgba(var(--champagne-rgb), 0.28);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 9, 6, 0.82), rgba(5, 4, 3, 0.7)),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 242, 214, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  backdrop-filter: blur(12px) saturate(126%);
}

.profile-facts dl {
  margin: 0;
}

.profile-facts div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
}

.profile-facts div:last-child {
  border-bottom: 0;
}

.profile-facts dt {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  color: var(--cream);
}

.profile-facts-wide dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-facts-wide div {
  min-height: 104px;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 8px;
  padding: 22px 24px;
}

.profile-facts-wide div:nth-child(odd) {
  border-right: 1px solid rgba(var(--cream-rgb), 0.08);
}

.profile-facts-wide dd {
  font-size: 1.02rem;
  line-height: 1.45;
}

.profile-facts-wide div:nth-last-child(2) {
  border-bottom: 0;
}

.profile-section,
.profile-table-section {
  padding: 76px clamp(24px, 11vw, 160px);
  border-top: 1px solid rgba(var(--cream-rgb), 0.08);
}

.section-title-row {
  max-width: 680px;
  margin-bottom: 30px;
}

.profile-note-card {
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(var(--champagne-rgb), 0.28);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(13, 9, 6, 0.82), rgba(5, 4, 3, 0.7)),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 242, 214, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  backdrop-filter: blur(12px) saturate(126%);
}

.profile-note-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.12);
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 242, 214, 0.08);
}

.profile-menu article {
  min-height: 230px;
  padding: 34px;
  background: linear-gradient(145deg, var(--wine), var(--wood));
}

.provider-xync-section[hidden] {
  display: none;
}

.provider-xync-intro {
  max-width: 52ch;
  color: var(--muted);
}

.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-social-chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  border-radius: 999px;
  background: rgba(var(--champagne-rgb), 0.06);
}

.profile-social-chip strong {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-social-chip span {
  color: var(--cream);
}

.provider-xync-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.12);
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--luxury-shadow);
}

.provider-xync-result {
  min-height: 150px;
  padding: 28px;
  background: linear-gradient(145deg, var(--wine), var(--wood));
}

.provider-xync-result h3 {
  margin-bottom: 16px;
  color: var(--gold);
}

.provider-xync-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-table {
  border: 1px solid rgba(var(--champagne-rgb), 0.28);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13, 9, 6, 0.82), rgba(5, 4, 3, 0.7)),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 242, 214, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  backdrop-filter: blur(12px) saturate(126%);
}

.table-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row span {
  padding: 17px 20px;
  color: var(--muted);
  border-right: 1px solid rgba(var(--cream-rgb), 0.08);
}

.table-row span:last-child {
  border-right: 0;
}

.table-head span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(var(--champagne-rgb), 0.12);
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 242, 214, 0.08);
}

.rates-grid article {
  padding: 34px;
  background: linear-gradient(145deg, var(--wine), var(--wood));
}

.rates-grid dl {
  margin: 24px 0 0;
}

.rates-grid div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
}

.rates-grid div:last-child {
  border-bottom: 0;
}

.rates-grid dt {
  color: var(--muted);
}

.rates-grid dd {
  margin: 0;
  color: var(--cream);
}

.profile-enquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 64px clamp(24px, 11vw, 160px);
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.16), rgba(42, 26, 16, 0.95) 42%, rgba(18, 11, 7, 1));
}

h3 {
  margin-bottom: 0;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.join-section {
  padding: 78px clamp(24px, 11vw, 160px) 88px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--champagne-rgb), 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(18, 12, 8, 0.86), rgba(6, 5, 4, 0.96));
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
}

.join-box {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 44px;
  text-align: center;
  border: 1px solid rgba(var(--champagne-rgb), 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--champagne-rgb), 0.12), transparent 14rem),
    linear-gradient(155deg, rgba(17, 13, 10, 0.96), rgba(7, 6, 5, 0.98));
  box-shadow: var(--luxury-shadow);
}

.join-form {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.join-form label {
  color: var(--muted);
  font-size: 0.78rem;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  border: 1px solid rgba(var(--champagne-rgb), 0.22);
  border-radius: 6px;
  padding: 13px 15px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(255, 244, 220, 0.035), rgba(0, 0, 0, 0.06)),
    rgba(8, 7, 5, 0.76);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.08),
    inset 0 1px 16px rgba(0, 0, 0, 0.22);
}

.join-form textarea {
  min-height: 124px;
  resize: vertical;
}

.join-form input::placeholder,
.join-form textarea::placeholder {
  color: rgba(var(--cream-rgb), 0.45);
}

.form-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.form-note.success {
  color: var(--gold);
  font-weight: 700;
}

.footer {
  padding: 34px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--champagne-rgb), 0.08), transparent 18rem),
    linear-gradient(180deg, rgba(15, 11, 8, 0.98), var(--black));
  border-top: 1px solid rgba(var(--champagne-rgb), 0.18);
  box-shadow: inset 0 22px 48px rgba(0, 0, 0, 0.22);
}

.footer .logo {
  padding-left: clamp(24px, 5vw, 70px);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-links {
  margin: 0;
  padding: 0 clamp(24px, 5vw, 70px) 0 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

@media (max-width: 900px) {
  .store-header {
    margin-top: 34px;
  }

  .temptx-home .store-header {
    width: min(100%, calc(100% - 36px));
    margin-top: 36px;
  }

  .temptx-home .collection-hero {
    min-height: 560px;
    margin-bottom: 64px;
  }

  .brand-row {
    min-height: 158px;
    padding-inline: 28px;
  }

  .collection-hero,
  .about-section,
  .platform-section,
  .role-capabilities-intro,
  .role-capabilities-grid,
  .featured-escorts-section,
  .advertiser-preview,
  .profile-hero,
  .profile-details,
  .profile-gallery,
  .profile-menu,
  .profile-enquiry,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-panel {
    top: -8%;
    bottom: -12%;
  }

  .hero-panel-one,
  .hero-panel-three {
    width: min(52%, 420px);
  }

  .hero-panel-two {
    width: min(68%, 520px);
    margin-left: calc(min(68%, 520px) / -2);
  }

  .collection-hero {
    min-height: 540px;
    margin-bottom: 68px;
  }

  .hero-overlay {
    background:
      radial-gradient(ellipse 60% 50% at 50% 48%, rgba(var(--gold-rgb), 0.06), transparent 70%),
      radial-gradient(ellipse 100% 80% at 50% 50%, transparent 20%, rgba(0, 0, 0, 0.52) 100%);
  }

  .category-section,
  .featured-escorts-section,
  .about-section,
  .platform-section,
  .role-capabilities-section,
  .join-section {
    padding-inline: 28px;
  }

  .platform-section {
    grid-template-columns: 1fr;
  }

  .platform-intro {
    position: static;
  }

  .platform-intro h2,
  .platform-intro p:not(.eyebrow) {
    max-width: none;
  }

  .role-capabilities-intro h2,
  .role-capabilities-intro p:not(.eyebrow) {
    max-width: none;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .escort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-image {
    min-height: 220px;
  }

  .collage {
    min-height: 320px;
  }

  .profile-header {
    margin-top: 34px;
  }

  .profile-hero,
  .profile-portrait {
    min-height: 0;
  }

  .profile-portrait {
    min-height: 460px;
  }

  .profile-intro {
    border-left: 0;
    border-top: 1px solid rgba(var(--cream-rgb), 0.08);
  }

  .gallery-tile {
    min-height: 260px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .store-header,
  .storefront,
  .footer {
    box-sizing: border-box;
    max-width: 100vw;
    width: 100%;
  }

  .announcement {
    min-height: 0;
    padding: 8px 16px;
    text-align: center;
    font-size: 0.56rem;
    line-height: 1.4;
  }

  .temptx-home .store-header {
    width: 100%;
    margin-top: 0;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .brand-row {
    box-sizing: border-box;
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    justify-items: center;
    column-gap: 0;
    min-height: 174px;
    padding: 28px 18px 20px;
    overflow: hidden;
  }

  .brand-row .simple-discovery-link,
  .brand-row .home-discovery-link {
    display: none;
  }

  .brand-row .simple-discovery-link {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 48px;
    height: 48px;
    display: block;
    justify-self: auto;
  }

  .brand-row .simple-discovery-link::before {
    width: 14px;
    height: 14px;
    border-width: 1px;
  }

  .brand-row .simple-discovery-link::after {
    width: 11px;
    height: 1px;
    transform: translate(3px, 6px) rotate(45deg);
  }

  .brand-row .account-dropdown {
    position: absolute;
    top: 14px;
    right: 14px;
    justify-self: auto;
  }

  .brand-row .profile-tool {
    width: 48px;
    height: 48px;
  }

  .brand-row .profile-tool span {
    width: 8px;
    height: 8px;
    transform: translate(-50%, -14px);
  }

  .brand-row .profile-tool::before {
    width: 18px;
    height: 10px;
    border-width: 1px;
    transform: translate(-50%, -1px);
  }

  /* Scoped to the legacy .brand-row layout (superseded by .site-header —
     see style.css git history / the "Bold Editorial" rebrand — and no
     longer referenced by any .html or .js file). A bare `.brand-mark`
     selector here used to leak this absolute-positioning treatment onto
     the current header's small nav logo at this breakpoint, blowing it up
     to ~560px wide and centering it over the Sign In/Join buttons. */
  .brand-row .brand-mark {
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100vw - 36px);
    max-width: 560px;
    justify-self: auto;
    font-size: clamp(2.6rem, 15vw, 4.1rem);
    letter-spacing: -0.09em;
    transform: translate(-50%, -50%) scale(1.08);
  }

  .temptx-home .brand-mark {
    font-size: clamp(2.72rem, 14.6vw, 4.2rem);
  }

  .brand-row .brand-mark::after {
    margin-top: 10px;
    font-size: clamp(0.43rem, 2vw, 0.52rem);
    letter-spacing: 0.12em;
    padding-left: 0;
  }

  .header-search {
    width: 40px;
  }

  .header-search:focus-within {
    width: min(190px, 42vw);
  }

  .header-search .search-trigger {
    min-height: 40px;
    padding: 0 10px 0 36px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-align: left;
  }

  .header-search .dropdown-menu {
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    width: min(320px, calc(100vw - 24px));
    min-width: 0;
    margin: 0;
  }

  .store-nav {
    gap: 0;
    justify-content: flex-start;
    padding: 0 12px;
    border-top: 1px solid rgba(var(--cream-rgb), 0.08);
    overflow-x: auto;
    overflow-y: visible;
  }

  .temptx-home .store-nav {
    padding-inline: 10px;
  }

  .temptx-home .store-nav a,
  .temptx-home .nav-dropdown-label {
    min-width: 148px;
    font-size: 0.72rem;
  }

  .store-nav::-webkit-scrollbar {
    display: none;
  }

  .store-nav a {
    flex: 0 0 auto;
    min-width: 156px;
    min-height: 52px;
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(var(--cream-rgb), 0.08);
    border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
    padding: 0 8px;
    font-size: 0.75rem;
    text-align: center;
  }

  .nav-dropdown {
    flex: 0 0 auto;
    min-width: 156px;
  }

  .nav-dropdown-label {
    min-height: 52px;
    display: grid;
    place-items: center;
    border-right: 1px solid rgba(var(--cream-rgb), 0.08);
    border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
    padding: 0 8px;
    font-size: 0.7rem;
    text-align: center;
  }

  .dropdown-menu {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    width: min(390px, calc(100vw - 24px));
    min-width: 0;
    padding: 14px;
    margin: 0 auto;
    transform: none;
  }

  .hover-dropdown .dropdown-menu {
    transform: translateY(-6px) scale(0.985);
  }

  .hover-dropdown:hover .dropdown-menu,
  .hover-dropdown:focus-within .dropdown-menu {
    transform: translateY(0) scale(1);
  }

  .dropdown-menu a {
    padding: 13px 12px;
    white-space: normal;
  }

  .nav-dropdown-wide .dropdown-menu {
    grid-template-columns: 1fr;
  }

  .browse-dropdown .dropdown-menu {
    grid-template-columns: 1fr;
  }

  .browse-column {
    column-count: 1;
    column-rule: 0;
  }

  .hover-dropdown.browse-dropdown .dropdown-menu {
    left: 0;
    transform: translateY(-6px) scale(0.985);
    transform-origin: top;
  }

  .hover-dropdown.browse-dropdown:hover .dropdown-menu,
  .hover-dropdown.browse-dropdown:focus-within .dropdown-menu {
    transform: translateY(0) scale(1);
  }

  .location-menu {
    overflow: visible;
  }

  .location-state::after {
    content: "";
  }

  .location-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 10px 14px;
    display: grid;
    gap: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .location-submenu a {
    padding: 9px 12px;
    color: rgba(var(--cream-rgb), 0.62);
  }

  .collection-hero {
    min-height: 440px;
    margin-bottom: 52px;
    grid-template-columns: 1fr;
  }

  .temptx-home .collection-hero {
    min-height: 570px;
    margin-bottom: 46px;
  }

  .hero-panel-one,
  .hero-panel-three {
    opacity: 0.55;
    width: 58%;
  }

  .hero-panel-two {
    width: 88%;
    margin-left: -44%;
    opacity: 1;
  }

  .hero-overlay {
    padding: 34px 18px;
    transform: translate3d(0, calc(var(--hero-scroll, 0) * 6px - 8px), 0);
  }

  .temptx-home .hero-overlay {
    gap: 0;
    transform: translate3d(0, calc(var(--hero-scroll, 0) * 6px), 0);
  }

  .home-hero-overlay {
    padding: 42px 18px;
  }

  .home-hero-heading {
    max-width: 14ch;
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
  }

  .home-hero-eyebrow {
    letter-spacing: 0.26em;
    margin-bottom: 14px;
  }

  .home-hero-mission {
    max-width: 34ch;
    font-size: 0.9rem;
  }

  .home-hero-ctas {
    margin-top: 22px;
  }

  .script-line {
    margin-bottom: -4px;
    font-size: clamp(1.65rem, 12vw, 3.15rem);
  }

  h1 {
    max-width: 9ch;
    margin-bottom: 10px;
    font-size: clamp(2.75rem, 15vw, 4.7rem);
    line-height: 0.92;
  }

  .frame-label {
    max-width: calc(100vw - 40px);
    padding: 8px 12px;
    font-size: clamp(0.78rem, 4.2vw, 1.05rem);
    line-height: 1.2;
  }

  .temptx-home .frame-label {
    font-size: clamp(0.7rem, 3.5vw, 0.92rem);
    letter-spacing: 0.16em;
  }

  .light-btn,
  button,
  .outline-btn {
    width: 100%;
    max-width: 260px;
    min-height: 42px;
  }

  .temptx-home .hero-overlay .light-btn {
    min-height: 62px;
    max-width: 284px;
    font-size: 0.88rem;
  }

  .category-section {
    padding: 32px 18px 48px;
  }

  .featured-escorts-section,
  .models-section {
    padding: 46px 18px;
  }

  h2 {
    font-size: clamp(1.8rem, 11vw, 2.65rem);
    line-height: 1.05;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .category-card {
    min-height: 280px;
    padding: 22px 18px;
  }

  .category-card::before {
    inset: 18px;
  }

  .escort-grid {
    grid-template-columns: 1fr;
  }

  .category-image {
    min-height: 140px;
  }

  .about-section,
  .platform-section,
  .role-capabilities-section,
  .join-section {
    padding: 46px 18px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid article,
  .platform-grid article:nth-child(even),
  .platform-grid article:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
  }

  .platform-grid article:last-child {
    border-bottom: 0;
  }

  .role-capabilities-intro {
    gap: 18px;
    margin-bottom: 28px;
  }

  .role-capability-card {
    min-height: 0;
    padding: 28px 18px;
  }

  .collage {
    min-height: 290px;
    margin-bottom: 4px;
  }

  .collage-large {
    right: 4%;
    top: 34px;
    width: 74%;
    height: 210px;
  }

  .collage-left {
    left: 2%;
    bottom: 26px;
    width: 34%;
    height: 120px;
  }

  .collage-right {
    right: 2%;
    top: 58px;
    width: 28%;
    height: 104px;
  }

  .faves-strip {
    padding: 24px 18px;
  }

  .feature-row article {
    min-height: 0;
    padding: 28px 18px;
  }

  .advertiser-preview {
    grid-template-columns: 1fr;
  }

  .advertiser-card {
    padding: 22px 18px;
  }

  .advertiser-image {
    min-height: 230px;
  }

  .profile-portrait {
    min-height: 390px;
  }

  .profile-intro,
  .profile-details,
  .profile-enquiry {
    padding: 46px 18px;
  }

  .profile-intro h1 {
    max-width: 8ch;
  }

  .profile-actions {
    display: grid;
  }

  .gallery-tile {
    min-height: 230px;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }

  .profile-menu {
    grid-template-columns: 1fr;
  }

  .provider-xync-results {
    grid-template-columns: 1fr;
  }

  .profile-facts-wide dl,
  .rates-grid {
    grid-template-columns: 1fr;
  }

  .profile-facts-wide div:nth-last-child(2) {
    border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
  }

  .profile-facts-wide div:nth-child(odd) {
    border-right: 0;
  }

  .profile-section,
  .profile-table-section {
    padding: 46px 18px;
  }

  .profile-note-card,
  .rates-grid article {
    padding: 24px 18px;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .table-row span {
    padding: 12px 16px;
    border-right: 0;
  }

  .table-head {
    display: none;
  }

  .profile-menu article {
    min-height: 0;
    padding: 28px 18px;
  }

  .join-box {
    padding: 30px 18px;
  }

  .join-form {
    gap: 14px;
  }

  .join-form input,
  .join-form select,
  .join-form textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .age-box {
    padding: 30px 22px;
  }

  .age-buttons {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer .logo {
    padding-left: 18px;
  }

  .footer {
    padding: 28px 0 36px;
  }
}

@media (max-width: 360px) {
  .brand-row {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
  }

  .brand-mark {
    width: calc(100vw - 24px);
    transform: translate3d(-50%, -50%, 0) scale(1.08);
  }

  .header-tool {
    transform: scale(0.86);
  }

  .header-text-link {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .store-nav a {
    font-size: 0.69rem;
  }

  .nav-dropdown-label {
    font-size: 0.69rem;
  }

  h1 {
    font-size: 2.6rem;
  }
}

/* Messaging hub */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  background: #110905;
}

.chat-body::before,
.chat-body::after {
  content: "";
  position: fixed;
  inset: -6%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .chat-body::before,
  .chat-body::after {
    animation: none;
  }
}

.chat-body.modal-open {
  overflow: hidden;
}

.chat-header {
  position: relative;
  z-index: 2;
  width: min(1500px, calc(100% - 40px));
  min-height: 82px;
  margin: 20px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  background:
    linear-gradient(135deg, rgba(var(--cream-rgb), 0.04), transparent 46%),
    rgba(20, 15, 12, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

.chat-brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: grid;
  grid-template-columns: max-content;
  justify-items: center;
  width: max-content;
  font-size: 1.75rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.chat-brand::after {
  display: none;
}

.chat-brand-wordmark {
  grid-column: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.chat-brand small {
  grid-column: 1;
  margin-top: 8px;
  color: rgba(var(--cream-rgb), 0.56);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1;
  padding-left: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chat-brand .brand-x {
  margin-left: -0.025em;
}

.chat-top-nav {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 34px;
}

.chat-top-nav a {
  color: rgba(var(--cream-rgb), 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-top-nav a:hover,
.chat-top-nav a[aria-current="page"] {
  color: var(--cream);
}

.chat-header .account-dropdown {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.chat-shell {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 40px));
  height: calc(100vh - 122px);
  min-height: 620px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 330px minmax(420px, 1fr);
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  border-top: 0;
  overflow: hidden;
  background: rgba(23, 13, 8, 0.76);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  backdrop-filter: blur(14px) saturate(110%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
}

.chat-sidebar,
.chat-details {
  min-width: 0;
  background:
    radial-gradient(circle at 18% 4%, rgba(var(--gold-rgb), 0.1), transparent 15rem),
    rgba(30, 17, 10, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.chat-sidebar {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  border-right: 1px solid var(--line);
}

.chat-sidebar-heading {
  padding: 28px 24px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.chat-sidebar-heading h1 {
  margin: 5px 0 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
  overflow-wrap: normal;
}

.compact-btn,
.text-button,
.chat-tab,
.conversation-item,
.discover-groups-btn,
.details-close {
  border: 0;
  color: inherit;
  cursor: pointer;
}

.compact-btn {
  padding: 8px 10px;
  color: var(--cream);
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-btn:hover {
  border-color: rgba(var(--gold-rgb), 0.58);
  color: var(--gold);
}

.chat-search {
  padding: 0 24px 16px;
}

.chat-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(var(--cream-rgb), 0.075);
}

.chat-search input:focus {
  border-color: rgba(var(--gold-rgb), 0.64);
}

.chat-search input::placeholder {
  color: rgba(var(--cream-rgb), 0.58);
}

.chat-tabs {
  padding: 0 24px 16px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.08);
}

.chat-tab {
  padding: 7px 10px;
  color: rgba(var(--cream-rgb), 0.67);
  background: transparent;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-tab:hover,
.chat-tab.is-active {
  color: var(--cream);
  background: rgba(var(--cream-rgb), 0.14);
}

.conversation-list {
  min-height: 0;
  overflow-y: auto;
}

.conversation-item {
  width: 100%;
  min-height: 88px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.07);
  background: transparent;
}

.conversation-item:hover {
  background: rgba(var(--cream-rgb), 0.09);
}

.conversation-item.is-active {
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.24), transparent),
    rgba(var(--cream-rgb), 0.09);
  box-shadow: inset 2px 0 var(--gold);
}

.conversation-avatar,
.details-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.08);
  font-family: var(--font-display);
}

.conversation-avatar {
  width: 42px;
  height: 42px;
  font-size: 0.78rem;
}

.conversation-summary,
.conversation-title-row {
  min-width: 0;
}

.conversation-summary {
  display: grid;
  gap: 4px;
}

.conversation-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.conversation-title-row strong {
  overflow: hidden;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-title-row small {
  color: rgba(var(--cream-rgb), 0.56);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.conversation-preview {
  overflow: hidden;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unread-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  color: var(--black);
  border-radius: 999px;
  background: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
}

.conversation-empty {
  padding: 28px 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

.discover-groups-btn {
  min-height: 62px;
  margin: 14px 18px 18px;
  padding: 0 20px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(var(--cream-rgb), 0.12), rgba(var(--gold-rgb), 0.08));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(var(--cream-rgb), 0.12);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 360ms ease;
}

.discover-groups-btn:hover {
  color: var(--black);
  border-color: rgba(var(--gold-rgb), 0.72);
  background: rgba(var(--cream-rgb), 0.82);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.26),
    0 0 20px rgba(var(--gold-rgb), 0.18);
  transform: translateY(-2px);
}

.chat-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 78% 20%, rgba(var(--gold-rgb), 0.07), transparent 22rem),
    rgba(22, 13, 8, 0.75);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.conversation-header {
  min-height: 94px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.conversation-header h2 {
  margin: 2px 0 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.conversation-meta {
  margin: 5px 0 0;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.72rem;
}

.text-button,
.details-close {
  padding: 8px 0;
  color: rgba(var(--cream-rgb), 0.6);
  background: transparent;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-button:hover,
.details-close:hover {
  color: var(--gold);
}

.message-thread {
  min-height: 0;
  padding: 30px clamp(20px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.message-row {
  display: flex;
  justify-content: flex-start;
}

.message-row.is-mine {
  justify-content: flex-end;
}

.message-bubble {
  width: fit-content;
  max-width: min(620px, 76%);
  padding: 13px 16px 10px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  background: rgba(17, 16, 15, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.message-row.is-mine .message-bubble {
  color: var(--black);
  border-color: rgba(var(--gold-rgb), 0.62);
  background: var(--cream);
}

.message-bubble p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.message-bubble time {
  display: block;
  margin-top: 6px;
  color: rgba(var(--cream-rgb), 0.42);
  font-size: 0.62rem;
}

.message-row.is-mine .message-bubble time {
  color: rgba(23, 18, 13, 0.56);
}

.message-sender {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.68rem;
}

.message-composer {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: rgba(22, 16, 12, 0.84);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.standards-box {
  text-align: left;
}

.message-standards-gate {
  z-index: 95;
}

.standards-box h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-transform: none;
}

.standards-box .age-buttons {
  justify-content: flex-start;
}

.tip-button {
  width: 50px;
  min-width: 50px;
  min-height: 50px;
  padding: 0;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.48);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
  font-family: var(--font-display);
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition:
    color 260ms ease,
    background-color 260ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

#tipModal {
  z-index: 500;
}

#tipModal.is-open {
  display: grid;
}

.tip-button:hover,
.tip-button:focus-visible {
  color: var(--black);
  background: var(--gold);
  transform: translateY(-2px);
}

.message-bubble.is-tip {
  color: var(--black);
  border-color: rgba(var(--gold-rgb), 0.76);
  background: linear-gradient(135deg, #ead8b8, var(--gold));
}

.message-composer textarea {
  width: 100%;
  min-height: 50px;
  max-height: 130px;
  padding: 13px 15px;
  resize: vertical;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(var(--cream-rgb), 0.04);
}

.message-composer textarea:focus {
  border-color: rgba(var(--gold-rgb), 0.64);
}

.message-composer button,
.group-discovery-card button,
.new-group-form > button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--cream);
  color: var(--black);
  background: var(--cream);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.message-composer button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.message-composer .tip-button {
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  min-height: 38px;
  height: 38px;
  align-self: center;
  padding: 0;
  color: var(--gold);
  border-color: rgba(var(--gold-rgb), 0.48);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
  font-size: 1rem;
  letter-spacing: 0;
}

.message-composer button:hover,
.group-discovery-card button:hover,
.new-group-form > button:hover {
  color: var(--black);
  border-color: var(--gold);
  background: var(--gold);
}

.chat-details {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: min(360px, 90%);
  padding: 30px 24px;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.42);
  transition:
    transform 440ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 320ms ease,
    visibility 0s linear 440ms;
}

.chat-shell.show-details .chat-details {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.details-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.24);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
}

.details-avatar {
  width: 74px;
  height: 74px;
  margin: 18px 0 24px;
  font-size: 1.2rem;
}

.chat-details h2 {
  margin: 4px 0 12px;
  font-size: 1.8rem;
  line-height: 1.08;
}

.chat-details > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.8rem;
}

.details-card {
  padding: 16px 0;
  display: grid;
  gap: 4px;
  border-top: 1px solid rgba(var(--cream-rgb), 0.09);
}

.details-card span {
  color: rgba(var(--cream-rgb), 0.42);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.details-card strong {
  font-size: 0.76rem;
}

.details-action {
  width: 100%;
  margin-top: 24px;
}

.mobile-conversations-btn {
  display: none;
}

.group-browser[hidden] {
  display: none;
}

.group-browser {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(18, 11, 7, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.group-browser-panel {
  width: min(880px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  padding: clamp(24px, 5vw, 48px);
  overflow-y: auto;
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--gold-rgb), 0.2), transparent 18rem),
    rgba(42, 26, 16, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.54);
}

.group-browser-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.group-browser-header h2 {
  margin: 5px 0 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.group-browser-intro {
  max-width: 680px;
  margin: 20px 0 30px;
  color: var(--muted);
}

.group-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.group-discovery-card {
  min-width: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(var(--cream-rgb), 0.075), transparent),
    rgba(42, 26, 16, 0.82);
}

.group-discovery-card h3 {
  margin: 0 0 7px;
}

.group-discovery-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.group-discovery-card small {
  color: rgba(var(--cream-rgb), 0.46);
}

.group-discovery-card button {
  min-height: 42px;
  grid-column: 1 / -1;
}

.group-discovery-card button:disabled {
  color: rgba(var(--cream-rgb), 0.46);
  border-color: var(--line);
  background: transparent;
  cursor: default;
}

.new-group-form {
  width: min(580px, 100%);
  display: grid;
  gap: 22px;
}

.tip-form {
  width: min(520px, 100%);
  display: grid;
  gap: 22px;
}

.tip-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tip-options button {
  min-height: 54px;
  color: var(--cream);
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  background: rgba(var(--gold-rgb), 0.08);
}

.tip-options button.is-selected {
  color: var(--black);
  border-color: var(--gold);
  background: var(--gold);
}

.tip-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tip-form input {
  min-height: 50px;
  padding: 0 14px;
  color: var(--cream);
  border: 1px solid var(--line);
  background: rgba(var(--cream-rgb), 0.08);
}

.tip-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.new-group-form label {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.new-group-form input,
.new-group-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(var(--cream-rgb), 0.03);
  text-transform: none;
}

.new-group-form textarea {
  min-height: 120px;
  resize: vertical;
}

.new-group-form input:focus,
.new-group-form textarea:focus {
  border-color: rgba(var(--gold-rgb), 0.64);
}

@media (max-width: 1120px) {
  .chat-shell {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .chat-details {
    width: min(330px, 88%);
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.62);
  }

}

@media (max-width: 760px) {
  .chat-body {
    overflow: hidden;
  }

  .chat-header {
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 0 18px;
    grid-template-columns: 1fr auto 1fr;
    border-width: 0 0 1px;
  }

  .chat-brand {
    font-size: 1.4rem;
  }

  .chat-top-nav {
    display: none;
  }

  .chat-shell {
    width: 100%;
    height: calc(100vh - 68px);
    min-height: 0;
    margin: 0;
    grid-template-columns: 1fr;
    border: 0;
    transform: translateY(-4px);
    transform-origin: top;
  }

  .location-group:hover .location-submenu,
  .location-group:focus-within .location-submenu {
    transform: translateY(0);
  }

  .chat-sidebar {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: none;
    border-right: 0;
  }

  .chat-shell.show-conversations .chat-sidebar {
    display: grid;
  }

  .conversation-header {
    min-height: 82px;
    padding: 14px 16px;
  }

  .conversation-header h2 {
    font-size: 1.2rem;
  }

  .mobile-conversations-btn {
    display: block;
    padding: 7px 8px;
    border: 1px solid var(--line);
    color: var(--cream);
    background: transparent;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .message-thread {
    padding: 22px 14px;
  }

  .message-bubble {
    max-width: 88%;
  }

  .message-composer {
    padding: 12px;
  }

  .message-composer button {
    padding: 0 16px;
  }

  .message-composer .tip-button {
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  .group-discovery-grid {
    grid-template-columns: 1fr;
  }

  .group-browser {
    padding: 0;
  }

  .group-browser-panel {
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 28px 18px;
    border: 0;
  }
}

/* Account access */
.auth-announcement {
  position: relative;
  z-index: 10;
  padding: 11px 20px;
  color: var(--gold);
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.18);
  background:
    linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.06), transparent),
    rgba(0, 0, 0, 0.36);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
}

.auth-body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 24% 22%, rgba(var(--gold-rgb), 0.16), transparent 22rem),
    radial-gradient(circle at 78% 72%, rgba(var(--cream-rgb), 0.05), transparent 26rem),
    #08090c;
}

.auth-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 22px clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
}

.auth-logo-block,
.auth-back-link {
  position: relative;
  z-index: 1;
}

.auth-logo-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.auth-page::before {
  top: 16%;
  left: calc(50% - 280px);
  width: 230px;
  height: 230px;
  background: rgba(var(--gold-rgb), 0.26);
  box-shadow: 0 0 120px 36px rgba(var(--gold-rgb), 0.18);
}

.auth-page::after {
  right: calc(50% - 300px);
  bottom: 16%;
  width: 190px;
  height: 190px;
  background: rgba(106, 91, 78, 0.2);
  box-shadow: 0 0 110px 32px rgba(var(--cream-rgb), 0.08);
}

.auth-logo {
  width: fit-content;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  letter-spacing: 0.04em;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.12));
}

.auth-logo strong {
  font-weight: 400;
}

.auth-logo-tagline {
  margin: 5px 0 0;
  color: rgba(var(--gold-rgb), 0.52);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.auth-card {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: min(405px, 100%);
  min-height: min(720px, calc(100vh - 138px));
  margin: 26px auto;
  padding: clamp(46px, 8vh, 70px) clamp(26px, 6vw, 44px) 26px;
  display: flex;
  flex-direction: column;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 32px;
  background:
    radial-gradient(circle at 14% 6%, rgba(255, 255, 255, 0.22), transparent 27%),
    radial-gradient(circle at 88% 92%, rgba(var(--gold-rgb), 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.018) 48%),
    rgba(8, 9, 12, 0.18);
  -webkit-backdrop-filter: blur(52px) saturate(175%) contrast(108%);
  backdrop-filter: blur(52px) saturate(175%) contrast(108%);
  box-shadow:
    0 55px 130px rgba(0, 0, 0, 0.56),
    0 18px 48px rgba(var(--gold-rgb), 0.13),
    inset 0 2px 1px rgba(255, 255, 255, 0.34),
    inset 2px 0 1px rgba(255, 255, 255, 0.12),
    inset -1px -2px 1px rgba(255, 255, 255, 0.04),
    inset 0 0 42px rgba(255, 255, 255, 0.025);
  animation: authCardFloat 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

.auth-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -18%;
  left: -36%;
  width: 105%;
  height: 62%;
  pointer-events: none;
  border-radius: 48%;
  background:
    linear-gradient(
      115deg,
      transparent 8%,
      rgba(255, 255, 255, 0.04) 24%,
      rgba(255, 255, 255, 0.28) 43%,
      rgba(255, 255, 255, 0.055) 58%,
      transparent 74%
    );
  filter: blur(15px);
  mix-blend-mode: screen;
  animation: liquidGlassShine 9s ease-in-out infinite;
}

.auth-card-glow {
  position: absolute;
  z-index: -1;
  top: -105px;
  left: -90px;
  width: 285px;
  height: 235px;
  pointer-events: none;
  border-radius: 46% 54% 58% 42% / 44% 42% 58% 56%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 237, 204, 0.66), transparent 20%),
    radial-gradient(circle at 58% 55%, rgba(var(--gold-rgb), 0.58), transparent 64%);
  filter: blur(34px);
  opacity: 0.72;
  mix-blend-mode: screen;
  animation: liquidGlassBlob 10s ease-in-out infinite;
}

.auth-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -115px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  border-radius: 44% 56% 39% 61% / 60% 38% 62% 40%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.13), transparent 18%),
    radial-gradient(circle, rgba(var(--cream-rgb), 0.1), transparent 65%);
  filter: blur(22px);
  opacity: 0.8;
  transform: rotate(18deg);
}

@media (prefers-reduced-motion: reduce) {
  .auth-card {
    animation: none;
  }
}

.auth-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  text-align: center;
}

.auth-heading h1 {
  margin: 8px 0 4px;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1;
}

.auth-heading > p:last-child {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.52);
  font-size: 0.74rem;
}

.auth-mode-switch,
.account-type-switch {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(var(--cream-rgb), 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

/* account-type has 3 roles (Client / Creator / Provider) */
.account-type-switch {
  grid-template-columns: repeat(3, 1fr);
}

body[data-auth-mode] .auth-mode-switch,
body[data-auth-role] .account-type-switch {
  display: none;
}

.auth-mode-switch {
  margin-bottom: 10px;
}

.account-type-switch {
  margin-bottom: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.auth-mode-switch button,
.account-type-switch button {
  min-height: 34px;
  padding: 0 12px;
  color: rgba(var(--cream-rgb), 0.47);
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.auth-mode-switch button.is-active,
.account-type-switch button.is-active {
  color: var(--cream);
  background: rgba(var(--cream-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--cream-rgb), 0.09);
}

.auth-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 13px;
}

.auth-field[hidden],
.auth-form-row[hidden],
.auth-form[hidden] {
  display: none;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field > span:first-child,
.auth-field > label:first-child {
  padding-left: 14px;
  color: rgba(var(--cream-rgb), 0.48);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.18);
  border-radius: 999px;
  outline: 0;
  background: rgba(0, 0, 0, 0.24);
}

.auth-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(var(--gold-rgb), 0.86) 50%) calc(100% - 24px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.86) 50%, transparent 50%) calc(100% - 19px) 52% / 7px 7px no-repeat,
    rgba(0, 0, 0, 0.24);
}

.auth-field select option {
  color: var(--cream);
  background: var(--soft-black);
}

.auth-field input::placeholder {
  color: rgba(var(--cream-rgb), 0.32);
}

.auth-field input:focus,
.auth-field select:focus {
  border-color: rgba(var(--gold-rgb), 0.72);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.08);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 68px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 15px;
  padding: 5px;
  color: var(--gold);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.auth-form-row {
  padding: 2px 3px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.remember-option {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(var(--cream-rgb), 0.48);
  font-size: 0.65rem;
}

.remember-option input {
  accent-color: var(--gold);
}

.auth-link {
  padding: 0;
  color: var(--gold);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
}

.auth-link:hover {
  color: var(--cream);
}

.auth-submit {
  min-height: 48px;
  margin-top: 3px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: #15110c;
  background: var(--gold);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(var(--gold-rgb), 0.18);
}

.auth-submit:hover {
  border-color: var(--cream);
  background: var(--cream);
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

/* legacy — superseded by .status-message, kept until auth.html is confirmed fully migrated */
.auth-status {
  min-height: 0;
  margin-top: 14px;
  color: rgba(var(--cream-rgb), 0.58);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.auth-status:empty {
  display: none;
}

.auth-status.is-error {
  color: #d99a92;
}

.auth-status.is-success {
  color: #d7bb86;
}

.auth-privacy-note {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  padding-top: 18px;
  color: rgba(var(--cream-rgb), 0.3);
  border-top: 1px solid rgba(var(--cream-rgb), 0.08);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.auth-back-link {
  width: fit-content;
  justify-self: end;
  align-self: end;
  color: rgba(var(--cream-rgb), 0.48);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-back-link:hover {
  color: var(--gold);
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.auth-modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 38px;
  border: 1px solid rgba(var(--cream-rgb), 0.28);
  border-radius: 22px;
  background: #090a0d;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.7);
}

.auth-modal-card h2 {
  margin: 7px 0 10px;
  font-size: 2.25rem;
  line-height: 1;
}

.auth-modal-card > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.78rem;
}

.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(var(--cream-rgb), 0.48);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .auth-page {
    padding: 20px 14px;
  }

  .auth-card {
    min-height: 0;
    margin: 24px auto;
    padding: 36px 20px 26px;
    border-radius: 20px;
  }

  .auth-card::after {
    right: 16px;
  }

  .auth-back-link {
    justify-self: center;
  }

  .auth-modal-card {
    padding: 36px 20px 26px;
  }

  .password-control input {
    padding-right: 78px;
  }
}

/* Member settings */
.settings-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--gold-rgb), 0.22), transparent 24rem),
    radial-gradient(circle at 86% 30%, rgba(var(--cream-rgb), 0.07), transparent 26rem),
    #050505;
}

.settings-header {
  position: relative;
  z-index: 50;
}

.settings-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(4, 4, 4, 0.92);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.46);
}

.settings-intro {
  padding: clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 6%, rgba(var(--gold-rgb), 0.14), transparent 18rem),
    linear-gradient(160deg, #11100e, #050505 68%);
}

.settings-intro h1 {
  max-width: none;
  margin: 10px 0 18px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
}

.settings-intro > p:not(.eyebrow) {
  max-width: 36ch;
  color: var(--muted);
}

.settings-identity {
  margin-top: 42px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.settings-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.46);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.08);
  font-family: var(--font-display);
}

.settings-identity div {
  min-width: 0;
  display: grid;
}

.settings-identity strong,
.settings-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-identity small {
  color: rgba(var(--cream-rgb), 0.48);
}

.settings-back {
  margin-top: 28px;
}

.settings-form {
  min-width: 0;
}

.settings-section {
  padding: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.settings-section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
}

.settings-section-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.settings-section-heading > p {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

/* ── Setup checklist (provider profile edit page + creator dashboard) ────── */
.setup-checklist {
  padding: clamp(30px, 5vw, 48px);
  margin-bottom: 18px;
}

.setup-checklist-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}

.setup-checklist-heading h2 {
  margin: 5px 0 0;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.05;
}

.setup-checklist-heading > p {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.setup-checklist-progress {
  margin-bottom: 26px;
}

.setup-checklist-progress-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(var(--cream-rgb), 0.1);
  border: 1px solid var(--line);
}

.setup-checklist-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--btn-gold-gradient, var(--gold));
  transition: width var(--duration-mid, 0.3s) var(--ease-soft, ease);
}

.setup-checklist-progress-label {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.setup-checklist-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(var(--champagne-rgb), 0.24);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.setup-checklist-row.is-complete {
  border-color: rgba(var(--gold-rgb), 0.5);
  background: rgba(var(--gold-rgb), 0.08);
}

.setup-checklist-row-text {
  min-width: 0;
}

.setup-checklist-row-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.setup-checklist-row-title strong {
  color: var(--cream);
  font-size: 0.92rem;
}

.setup-checklist-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  color: var(--gold);
  font-size: 0.7rem;
  line-height: 1;
}

.setup-checklist-row.is-complete .setup-checklist-check {
  background: rgba(var(--gold-rgb), 0.24);
}

.setup-checklist-row-description {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 0.76rem;
  max-width: 52ch;
}

.setup-checklist-row-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.setup-checklist-badge {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.setup-checklist-badge--status-complete {
  border-color: rgba(var(--gold-rgb), 0.55);
  color: var(--gold);
}

.setup-checklist-action {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .setup-checklist {
    padding: 30px 20px;
  }

  .setup-checklist-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .setup-checklist-row {
    flex-direction: column;
    align-items: stretch;
  }

  .setup-checklist-action {
    width: 100%;
  }
}

/* ── Verification Centre ──────────────────────────────────────────────── */
.trust-passport-hint {
  margin: 10px 0 0;
  color: rgba(var(--cream-rgb), 0.6);
  font-size: 0.78rem;
  line-height: 1.5;
}

.verification-learn-more {
  display: inline-block;
  margin-top: 14px;
  color: rgba(var(--cream-rgb), 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.verification-learn-more:hover {
  color: var(--gold);
}

.verification-page-error {
  margin: 0;
  padding: 16px clamp(34px, 5vw, 56px);
  color: #d99a92;
  border-bottom: 1px solid var(--line);
  background: rgba(217, 154, 146, 0.08);
}

.verification-channel-card .settings-section-heading {
  align-items: center;
}

/* ── Status Badge / Status Message — unified status system (added 2026-09-10) ──
   Replaces .verification-status-badge, .auth-status and .report-status.
   Badge = an entity's persistent state. Message = one-off action feedback.
   The old rules below are left in place until every page has migrated;
   remove them once nothing references .verification-status-badge/.auth-status/
   .report-status any more. */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--status-neutral);
  background: transparent;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.is-positive {
  color: var(--status-positive);
  border-color: rgba(var(--status-positive-rgb), 0.5);
  background: rgba(var(--status-positive-rgb), 0.1);
}

.status-badge.is-pending {
  color: var(--status-pending);
  border-color: rgba(var(--status-pending-rgb), 0.45);
  background: rgba(var(--status-pending-rgb), 0.1);
}

.status-badge.is-negative {
  color: var(--status-negative);
  border-color: rgba(var(--status-negative-rgb), 0.5);
  background: rgba(var(--status-negative-rgb), 0.08);
}

.status-badge.is-neutral {
  color: var(--status-neutral);
  border-color: var(--line);
}

.status-message {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--status-neutral);
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-message:empty {
  display: none;
}

.status-message::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

.status-message.is-success {
  color: var(--status-positive);
}

.status-message.is-error {
  color: var(--status-negative);
}

.status-message.is-loading {
  color: var(--status-pending);
}

.status-message.is-loading::before {
  animation: status-message-pulse 1.1s ease-in-out infinite;
}

@keyframes status-message-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .status-message.is-loading::before {
    animation: none;
  }
}

/* ── legacy — superseded by .status-badge above, kept until fully migrated ── */

.verification-status-badge {
  flex: 0 0 auto;
  padding: 6px 14px;
  color: rgba(var(--cream-rgb), 0.6);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.verification-status-badge.is-pending {
  color: var(--champagne);
  border-color: rgba(var(--champagne-rgb), 0.5);
}

.verification-status-badge.is-verified {
  color: var(--gold);
  border-color: rgba(var(--gold-rgb), 0.55);
  background: rgba(var(--gold-rgb), 0.08);
}

.verification-channel-step {
  display: grid;
  gap: 16px;
}

.verification-channel-step + .verification-channel-step {
  margin-top: 16px;
}

.verification-channel-target {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.7);
  font-size: 0.82rem;
}

.verification-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.verification-primary-btn {
  min-height: 46px;
  padding: 0 26px;
  color: var(--black);
  border: 1px solid var(--cream);
  background: var(--cream);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.verification-primary-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.verification-primary-btn:disabled {
  cursor: wait;
  opacity: 0.58;
}

.verification-channel-hint {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.48);
  font-size: 0.72rem;
}

.verification-channel-verified {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

.trust-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
  font-size: 0.8rem;
}

.verification-channel-error {
  margin: 14px 0 0;
  min-height: 1em;
  color: #d99a92;
  font-size: 0.78rem;
}

.verification-channel-error:empty {
  display: none;
}

@media (max-width: 620px) {
  .verification-channel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .verification-primary-btn {
    width: 100%;
  }
}

.settings-text-field {
  display: grid;
  gap: 8px;
}

.settings-text-field span,
.settings-readonly span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.settings-text-field input {
  min-height: 50px;
  padding: 0 15px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.025);
}

.settings-text-field input:focus {
  border-color: rgba(var(--gold-rgb), 0.64);
}

.settings-readonly {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(var(--cream-rgb), 0.08);
  background: rgba(255, 255, 255, 0.018);
}

.settings-readonly strong {
  overflow-wrap: anywhere;
}

.setting-row {
  min-height: 84px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(var(--cream-rgb), 0.08);
}

.setting-row > span {
  display: grid;
  gap: 3px;
}

.setting-row strong {
  font-size: 0.88rem;
}

.setting-row small {
  color: var(--muted);
  font-size: 0.73rem;
}

.setting-row input {
  width: 46px;
  height: 24px;
  flex: 0 0 auto;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(var(--cream-rgb), 0.28);
  border-radius: 999px;
  background: rgba(var(--cream-rgb), 0.08);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.setting-row input::before {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
  margin: 3px;
  border-radius: 50%;
  background: rgba(var(--cream-rgb), 0.68);
  transition: transform 160ms ease, background 160ms ease;
}

.setting-row input:checked {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.28);
}

.setting-row input:checked::before {
  background: var(--gold);
  transform: translateX(22px);
}

.provider-setting[hidden] {
  display: none;
}

.provider-directory-settings[hidden] {
  display: none;
}

.directory-choice-group {
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(var(--cream-rgb), 0.1);
}

.directory-choice-group + .directory-choice-group {
  margin-top: 24px;
}

.directory-choice-group legend {
  margin-bottom: 14px;
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.directory-choice-grid label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: rgba(var(--cream-rgb), 0.76);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  background: rgba(2, 2, 2, 0.18);
  font-size: 0.72rem;
  cursor: pointer;
}

.directory-choice-grid label:has(input:checked) {
  color: var(--cream);
  border-color: rgba(var(--gold-rgb), 0.62);
  background: rgba(var(--gold-rgb), 0.09);
}

.directory-choice-grid input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.directory-choice-note {
  margin: 24px 0 0;
  color: rgba(var(--cream-rgb), 0.56);
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .directory-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.settings-save-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  padding: 18px clamp(34px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(6, 6, 6, 0.94);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.settings-save-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.settings-save-bar p.is-success {
  color: var(--gold);
}

.settings-save-bar p.is-error {
  color: #d99a92;
}

.settings-save-bar button {
  min-height: 46px;
  padding: 0 26px;
  color: var(--black);
  border: 1px solid var(--cream);
  background: var(--cream);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.settings-save-bar button:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.settings-save-bar button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.settings-status-section {
  margin-bottom: 28px;
}

.settings-status-section > .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 12px;
  margin: 14px 0;
  border: 1px dashed rgba(var(--gold-rgb), 0.3);
  border-radius: 8px;
  background: rgba(var(--black-rgb), 0.3);
  overflow: hidden;
}

.logo-preview img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  border-radius: 4px;
}

.error-message {
  color: #ff6b6b;
  padding: 12px;
  border-left: 3px solid #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  border-radius: 4px;
}

.danger-zone {
  background: rgba(56, 10, 10, 0.11);
}

.danger-row {
  min-height: 96px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(205, 116, 105, 0.18);
}

.danger-row > span {
  display: grid;
  gap: 4px;
}

.danger-row strong {
  color: #e0c2bb;
  font-size: 0.9rem;
}

.danger-row small {
  max-width: 58ch;
  color: rgba(224, 194, 187, 0.58);
  font-size: 0.73rem;
}

.danger-button {
  min-height: 42px;
  padding: 0 18px;
  flex: 0 0 auto;
  color: #ddb4aa;
  border: 1px solid rgba(221, 180, 170, 0.34);
  background: transparent;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.danger-button:hover,
.danger-button.is-destructive {
  color: #f1d7d0;
  border-color: rgba(190, 73, 59, 0.7);
  background: rgba(131, 34, 24, 0.16);
}

.account-action-modal[hidden] {
  display: none;
}

.account-action-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.account-action-card {
  position: relative;
  width: min(480px, 100%);
  padding: 40px;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(205, 116, 105, 0.34);
  background:
    radial-gradient(circle at 10% 0%, rgba(131, 34, 24, 0.2), transparent 18rem),
    #090808;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.72);
}

.account-action-card h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1;
}

.account-action-card > p:not(.eyebrow) {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.account-action-submit {
  min-height: 48px;
  color: #160d0b;
  border: 1px solid #d4b0a7;
  background: #d4b0a7;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-action-submit.is-destructive {
  color: #f8e6e2;
  border-color: #9d382d;
  background: #75261e;
}

.account-action-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.account-action-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.account-action-status.is-error {
  color: #e0a099;
}

.account-action-status.is-success {
  color: var(--gold);
}

@media (max-width: 820px) {
  .settings-shell {
    width: 100%;
    margin: 0;
    grid-template-columns: 1fr;
    border: 0;
  }

  .settings-intro {
    padding: 42px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .settings-intro h1 {
    max-width: none;
  }

  .settings-section {
    padding: 36px 20px;
  }

  .settings-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .settings-save-bar {
    padding: 14px 20px;
  }
}

@media (max-width: 520px) {
  .danger-row {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-button {
    width: 100%;
  }

  .account-action-card {
    padding: 38px 20px 26px;
  }

  .settings-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-save-bar button {
    width: 100%;
  }
}

/* Softer espresso-brown surfaces across the full site */
.cinematic-background .store-header,
.cinematic-background .chat-header,
.content-header {
  background:
    linear-gradient(135deg, rgba(var(--cream-rgb), 0.055), transparent 44%),
    rgba(22, 16, 12, 0.78);
}

.cinematic-background .category-section,
.cinematic-background .about-section,
.cinematic-background .platform-section,
.cinematic-background .advertiser-preview,
.cinematic-background .join-section,
.cinematic-background .profile-hero,
.content-shell,
.settings-shell {
  background-color: rgba(20, 15, 12, 0.72);
}

.content-card,
.settings-section,
.settings-save-bar,
.auth-card,
.age-box {
  background-color: rgba(33, 19, 12, 0.88);
}

.cinematic-background .footer {
  background: rgba(24, 14, 9, 0.66);
}


/* Shared cinematic background surfaces */
body.cinematic-background {
  background:
    radial-gradient(ellipse at 50% 96%, rgba(var(--gold-rgb), 0.2), transparent 26rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(3, 2, 1, 0.88)),
    url("assets/temptx-flow-background.jpeg"),
    linear-gradient(180deg, #050403 0%, #090604 42%, #030302 100%);
  background-position: center bottom, center, 48% 58%, center;
  background-size: 100% 100%, 100% 100%, max(100vw, 780px) auto, auto;
  background-attachment: fixed;
  animation: backgroundDrift 96s ease-in-out infinite;
}

body.cinematic-background::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.38), transparent 8%, transparent 92%, rgba(var(--gold-rgb), 0.36)),
    radial-gradient(ellipse at 50% 100%, rgba(var(--champagne-rgb), 0.18), transparent 28rem),
    radial-gradient(ellipse at 8% 72%, rgba(var(--gold-rgb), 0.12), transparent 18rem),
    radial-gradient(ellipse at 92% 74%, rgba(var(--gold-rgb), 0.1), transparent 18rem),
    linear-gradient(180deg, transparent 0 58%, rgba(var(--gold-rgb), 0.08) 72%, rgba(0, 0, 0, 0.44) 100%);
  mix-blend-mode: screen;
  animation: veilFlow 86s ease-in-out infinite;
}

body.cinematic-background::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 28vh;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42)),
    radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb), 0.22), transparent 18rem);
  opacity: 0.8;
}

.cinematic-background .store-header,
.cinematic-background .chat-header {
  border: 1px solid rgba(var(--champagne-rgb), 0.52);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 34%, rgba(var(--gold-rgb), 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(6, 5, 4, 0.88), rgba(5, 4, 3, 0.72));
  -webkit-backdrop-filter: blur(11px) saturate(128%);
  backdrop-filter: blur(11px) saturate(128%);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.54),
    0 0 44px rgba(var(--gold-rgb), 0.08),
    inset 0 1px rgba(255, 244, 220, 0.2),
    inset 0 -44px 72px rgba(0, 0, 0, 0.24);
}

.cinematic-background .storefront,
.cinematic-background .footer {
  position: relative;
  z-index: 1;
}

.cinematic-background .collection-hero,
.cinematic-background .category-section,
.cinematic-background .about-section,
.cinematic-background .platform-section,
.cinematic-background .role-capabilities-section,
.cinematic-background .advertiser-preview,
.cinematic-background .join-section,
.cinematic-background .profile-hero {
  background-color: rgba(42, 26, 16, 0.18);
  -webkit-backdrop-filter: blur(3px) saturate(108%);
  backdrop-filter: blur(3px) saturate(108%);
}

.cinematic-background .collection-hero {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cinematic-background .hero-panel-one {
  background:
    linear-gradient(105deg, rgba(18, 11, 7, 0.42) 0%, rgba(18, 11, 7, 0.06) 60%, transparent 100%),
    radial-gradient(ellipse 80% 55% at 38% 22%, rgba(var(--cream-rgb), 0.12), transparent 62%),
    radial-gradient(circle at 78% 82%, rgba(var(--gold-rgb), 0.12), transparent 42%),
    radial-gradient(ellipse at 20% 70%, rgba(var(--wine-rgb), 0.4), transparent 58%),
    linear-gradient(148deg, rgba(10, 7, 5, 0.92) 0%, rgba(26, 16, 9, 0.88) 42%, rgba(42, 26, 16, 0.86) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(118%);
  backdrop-filter: blur(6px) saturate(118%);
}

.cinematic-background .hero-panel-two {
  background:
    linear-gradient(180deg, rgba(18, 11, 7, 0.1) 0%, rgba(8, 5, 3, 0.38) 100%),
    radial-gradient(ellipse 70% 48% at 52% 28%, rgba(var(--gold-rgb), 0.22), transparent 68%),
    radial-gradient(ellipse 50% 40% at 36% 72%, rgba(var(--cream-rgb), 0.07), transparent 60%),
    linear-gradient(155deg, rgba(42, 22, 16, 0.72) 0%, rgba(23, 17, 11, 0.78) 42%, rgba(18, 11, 7, 0.82) 100%);
  -webkit-backdrop-filter: blur(8px) saturate(122%);
  backdrop-filter: blur(8px) saturate(122%);
}

.cinematic-background .hero-panel-three {
  background:
    linear-gradient(255deg, rgba(18, 11, 7, 0.4) 0%, rgba(18, 11, 7, 0.08) 54%, transparent 100%),
    radial-gradient(ellipse 70% 50% at 68% 24%, rgba(var(--cream-rgb), 0.12), transparent 58%),
    radial-gradient(ellipse at 48% 78%, rgba(0, 0, 0, 0.55), transparent 54%),
    linear-gradient(210deg, rgba(23, 17, 11, 0.82) 0%, rgba(10, 7, 5, 0.88) 48%, rgba(26, 16, 9, 0.84) 100%);
  filter: none;
  -webkit-backdrop-filter: blur(6px) saturate(116%);
  backdrop-filter: blur(6px) saturate(116%);
}

.cinematic-background .hero-panel {
  border: 1px solid rgba(var(--walnut-rgb), 0.22);
  box-shadow:
    inset 0 1px rgba(255, 244, 220, 0.1),
    inset 0 -36px 64px rgba(0, 0, 0, 0.28),
    0 22px 56px rgba(0, 0, 0, 0.24);
}

.cinematic-background .hero-overlay {
  background:
    radial-gradient(ellipse 55% 48% at 50% 46%, rgba(var(--gold-rgb), 0.07), transparent 72%),
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 30%, rgba(12, 8, 5, 0.46) 100%),
    linear-gradient(180deg, rgba(10, 7, 5, 0.12) 0%, rgba(10, 7, 5, 0.04) 42%, rgba(8, 5, 3, 0.38) 100%);
}

.temptx-home .store-header {
  width: min(1286px, calc(100% - 96px));
  margin-top: clamp(88px, 14vh, 142px);
  border-color: rgba(var(--champagne-rgb), 0.68);
  background:
    linear-gradient(180deg, rgba(8, 6, 4, 0.84), rgba(4, 3, 2, 0.74)),
    radial-gradient(ellipse at 50% 28%, rgba(var(--champagne-rgb), 0.08), transparent 28rem);
  box-shadow:
    0 42px 126px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(0, 0, 0, 0.78),
    0 0 52px rgba(var(--gold-rgb), 0.08),
    inset 0 1px rgba(255, 244, 220, 0.22),
    inset 0 -40px 72px rgba(0, 0, 0, 0.28);
}

.temptx-home .brand-row {
  min-height: clamp(188px, 21vh, 244px);
  padding: clamp(36px, 4.8vw, 58px) clamp(56px, 8vw, 154px) 24px;
}

.temptx-home .brand-mark {
  font-size: clamp(5.2rem, 8.8vw, 8.6rem);
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 18px rgba(var(--gold-rgb), 0.18));
}

.temptx-home .brand-mark::after {
  color: rgba(var(--gold-rgb), 0.62);
  font-size: clamp(0.56rem, 0.88vw, 0.72rem);
  letter-spacing: 0.44em;
}

.temptx-home .simple-discovery-link,
.temptx-home .profile-tool {
  width: 76px;
  height: 76px;
}

.temptx-home .store-nav {
  gap: 18px clamp(34px, 5vw, 66px);
  padding: 16px 30px 38px;
}

.temptx-home .nav-dropdown-label::after {
  content: "+";
  display: inline-block;
  margin-left: 0.04em;
  transform: none;
}

.temptx-home .hover-dropdown:hover .nav-dropdown-label::after,
.temptx-home .hover-dropdown:focus-within .nav-dropdown-label::after {
  transform: none;
}

.temptx-home .store-nav a,
.temptx-home .nav-dropdown-label {
  color: rgba(255, 248, 232, 0.94);
  font-size: clamp(0.94rem, 1.04vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.temptx-home .collection-hero {
  min-height: clamp(455px, 54vh, 560px);
  margin-bottom: 92px;
}

.temptx-home .hero-overlay {
  gap: 22px;
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 8px - 4px), 0);
  background:
    radial-gradient(ellipse 50% 42% at 50% 52%, rgba(var(--gold-rgb), 0.1), transparent 70%),
    radial-gradient(ellipse 88% 68% at 50% 50%, transparent 32%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
}

.temptx-home .frame-label {
  color: rgba(255, 236, 198, 0.86);
  font-size: clamp(0.96rem, 1.34vw, 1.14rem);
  letter-spacing: 0.28em;
}

.temptx-home .hero-overlay .light-btn {
  min-width: min(315px, calc(100vw - 64px));
  min-height: 80px;
  border-color: rgba(var(--bullion-light), 0.76);
  background:
    linear-gradient(180deg, #ffe6aa 0%, #e0af59 52%, #9b6420 100%);
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.54),
    0 0 24px rgba(var(--gold-rgb), 0.28),
    0 86px 58px -44px rgba(var(--gold-rgb), 0.28),
    inset 0 1px rgba(255, 255, 255, 0.58),
    inset 0 -18px 28px rgba(82, 50, 16, 0.2);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  letter-spacing: 0.14em;
}

.temptx-home .pwa-install-button {
  right: clamp(18px, 2.6vw, 40px);
  bottom: clamp(18px, 3vh, 36px);
  min-width: 206px;
  min-height: 54px;
  justify-content: center;
  gap: 12px;
  color: var(--bullion-light);
  border-color: rgba(var(--gold-rgb), 0.74);
  background: rgba(5, 4, 3, 0.42);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.52),
    inset 0 0 0 1px rgba(0, 0, 0, 0.34);
  letter-spacing: 0.16em;
}

.temptx-home .pwa-install-button::before {
  content: "";
  width: 22px;
  height: 22px;
  display: inline-block;
  background:
    linear-gradient(currentColor, currentColor) 50% 18% / 2px 13px no-repeat,
    linear-gradient(135deg, transparent 45%, currentColor 48% 55%, transparent 58%) 45% 52% / 12px 12px no-repeat,
    linear-gradient(225deg, transparent 45%, currentColor 48% 55%, transparent 58%) 55% 52% / 12px 12px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 82% / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 18% 65% / 2px 9px no-repeat,
    linear-gradient(currentColor, currentColor) 82% 65% / 2px 9px no-repeat;
}

.cinematic-background .footer {
  border-top: 1px solid rgba(var(--champagne-rgb), 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--champagne-rgb), 0.08), transparent 18rem),
    rgba(6, 5, 4, 0.56);
  -webkit-backdrop-filter: blur(8px) saturate(118%);
  backdrop-filter: blur(8px) saturate(118%);
}

.cinematic-background .age-gate {
  background: rgba(18, 11, 7, 0.74);
}

.cinematic-background .age-box {
  background: rgba(42, 26, 16, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(125%);
  backdrop-filter: blur(28px) saturate(125%);
}

.cinematic-background.auth-body {
  background:
    radial-gradient(circle at 24% 22%, rgba(var(--gold-rgb), 0.14), transparent 22rem),
    radial-gradient(circle at 78% 72%, rgba(var(--cream-rgb), 0.04), transparent 26rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(3, 2, 1, 0.9)),
    url("assets/temptx-flow-background.jpeg"),
    linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 48%, var(--black) 100%);
  background-attachment: fixed;
  background-position: center, center, center, 48% 58%, center;
  background-size: 100% 100%, 100% 100%, 100% 100%, max(100vw, 780px) auto, auto;
  animation: backgroundDrift 96s ease-in-out infinite;
}

.cinematic-background.settings-body {
  background: transparent;
}

.cinematic-background .settings-shell {
  background: rgba(42, 26, 16, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
  backdrop-filter: blur(22px) saturate(118%);
}

.cinematic-background .settings-intro {
  background:
    radial-gradient(circle at 10% 6%, rgba(var(--gold-rgb), 0.16), transparent 18rem),
    rgba(7, 7, 7, 0.7);
}

.cinematic-background .settings-section,
.cinematic-background .settings-save-bar {
  background-color: rgba(6, 6, 6, 0.7);
}

/* Dedicated information pages */
.content-body {
  min-height: 100vh;
  padding: 28px;
}

.content-header {
  position: relative;
  z-index: 700;
  width: min(1180px, 100%);
  min-height: 88px;
  margin: 0 auto;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(var(--champagne-rgb), 0.5);
  border-radius: 14px 14px 0 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(7, 5, 3, 0.86), rgba(3, 2, 1, 0.72));
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.52),
    0 0 34px rgba(var(--gold-rgb), 0.08),
    inset 0 1px rgba(255, 244, 220, 0.2),
    inset 0 -22px 44px rgba(0, 0, 0, 0.2);
}

.content-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
}

.content-header nav a {
  color: rgba(255, 246, 224, 0.72);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-header nav a:hover {
  color: var(--cream);
}

.content-brand {
  justify-self: start;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  color: var(--cream);
  font-size: 1.45rem;
  letter-spacing: -0.045em;
  line-height: 1;
}

.content-brand::after {
  display: none;
}

.content-brand .brand-x {
  margin-left: -0.025em;
}

.content-header .account-dropdown {
  justify-self: end;
}

.content-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid rgba(var(--champagne-rgb), 0.36);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.1), transparent 26rem),
    linear-gradient(180deg, rgba(6, 5, 4, 0.78), rgba(5, 4, 3, 0.6));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow:
    0 44px 120px rgba(0, 0, 0, 0.58),
    inset 0 1px rgba(255, 244, 220, 0.12),
    inset 0 -46px 70px rgba(0, 0, 0, 0.18);
}

.content-hero {
  min-height: 430px;
  padding: clamp(62px, 10vw, 128px) clamp(28px, 10vw, 130px);
  display: grid;
  align-content: center;
  justify-items: start;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.26);
  background:
    radial-gradient(circle at 16% 0%, rgba(var(--gold-rgb), 0.2), transparent 24rem),
    radial-gradient(ellipse at 92% 70%, rgba(var(--gold-rgb), 0.08), transparent 22rem),
    linear-gradient(125deg, rgba(7, 5, 3, 0.26), rgba(3, 2, 1, 0.62));
}

.content-hero h1 {
  max-width: 12ch;
  margin: 12px 0 24px;
  color: var(--cream);
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.88;
  text-shadow:
    0 14px 34px rgba(0, 0, 0, 0.64),
    0 0 22px rgba(var(--gold-rgb), 0.12);
}

.content-hero > p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 246, 224, 0.74);
  font-size: clamp(0.88rem, 1.4vw, 1.08rem);
}

.content-action {
  margin-top: 30px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  min-height: 270px;
  padding: clamp(30px, 5vw, 58px);
  border-right: 1px solid rgba(var(--champagne-rgb), 0.16);
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.16);
  background:
    linear-gradient(155deg, rgba(var(--cream-rgb), 0.045), transparent 42%),
    rgba(4, 3, 2, 0.36);
  -webkit-backdrop-filter: blur(10px) saturate(112%);
  backdrop-filter: blur(10px) saturate(112%);
}

.content-card:nth-child(even) {
  border-right: 0;
}

.content-card > span {
  display: block;
  margin-bottom: 42px;
  color: var(--bullion-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.content-card h2 {
  margin: 0 0 16px;
  color: rgba(255, 246, 224, 0.96);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.content-card p {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 246, 224, 0.64);
  font-size: 0.8rem;
}

/* Pricing */
.pricing-body {
  min-height: 100vh;
}

.pricing-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 72px;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 54px) 46px;
  border: 1px solid rgba(var(--walnut-rgb), 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 12%, rgba(var(--gold-rgb), 0.18), transparent 20rem),
    radial-gradient(circle at 18% 68%, rgba(var(--cream-rgb), 0.08), transparent 18rem),
    linear-gradient(145deg, rgba(42, 26, 16, 0.58), rgba(18, 11, 7, 0.78));
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(var(--cream-rgb), 0.1);
}

.pricing-hero {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.pricing-hero h1 {
  margin: 8px 0 18px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: none;
}

.pricing-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: rgba(var(--cream-rgb), 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.billing-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.billing-toggle span {
  position: relative;
  width: 42px;
  height: 24px;
  border: 1px solid rgba(var(--gold-rgb), 0.44);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.9), rgba(var(--bullion-light), 0.62)),
    rgba(18, 11, 7, 0.76);
  box-shadow:
    0 0 28px rgba(var(--gold-rgb), 0.2),
    inset 0 1px rgba(var(--cream-rgb), 0.34);
}

.billing-toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.34);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pricing-card {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(var(--cream-rgb), 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(var(--gold-rgb), 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 35%),
    rgba(8, 7, 6, 0.42);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(var(--cream-rgb), 0.08);
}

.pricing-card-featured {
  border-color: rgba(var(--gold-rgb), 0.42);
  background:
    linear-gradient(rgba(var(--gold-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.04) 1px, transparent 1px),
    radial-gradient(circle at 50% 100%, rgba(var(--gold-rgb), 0.28), transparent 20rem),
    linear-gradient(180deg, rgba(18, 11, 7, 0.44), rgba(42, 26, 16, 0.56));
  background-size: 64px 64px, 64px 64px, auto, auto;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(var(--gold-rgb), 0.14),
    inset 0 1px rgba(var(--cream-rgb), 0.12);
}

.pricing-badge {
  position: absolute;
  top: 26px;
  right: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(var(--cream-rgb), 0.22);
  border-radius: 999px;
  color: #1a1009;
  background: linear-gradient(135deg, var(--bullion-light), var(--gold));
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-card-header {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.14);
}

.pricing-card h2 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1;
}

.pricing-card-header p {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.72);
}

.pricing-card-header strong {
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 600;
}

.pricing-card-header span {
  margin-left: 2px;
  color: rgba(var(--cream-rgb), 0.62);
}

.pricing-card ul {
  display: grid;
  gap: 19px;
  margin: 30px 0 36px;
  padding: 0;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.86rem;
  line-height: 1.45;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 22px;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cream);
}

.pricing-button {
  margin-top: auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--cream-rgb), 0.18);
  border-radius: 8px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(var(--cream-rgb), 0.1), rgba(255, 255, 255, 0.02)),
    rgba(18, 11, 7, 0.72);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.36),
    inset 0 1px rgba(var(--cream-rgb), 0.14);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-button-primary {
  color: #1a1009;
  border-color: rgba(var(--gold-rgb), 0.5);
  background: linear-gradient(135deg, var(--bullion-light), var(--gold) 58%, var(--bullion-mid));
  box-shadow:
    0 18px 42px rgba(var(--gold-rgb), 0.22),
    inset 0 1px rgba(255, 255, 255, 0.38);
}

.pricing-button:hover,
.pricing-button:focus-visible {
  color: #1a1009;
  border-color: rgba(var(--gold-rgb), 0.58);
  background: var(--cream);
}

.pricing-note {
  max-width: 820px;
  margin: 30px auto 0;
  color: rgba(var(--cream-rgb), 0.54);
  font-size: 0.74rem;
  line-height: 1.65;
  text-align: center;
}

.pwa-install-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  min-height: 42px;
  padding: 0 18px;
  color: var(--black);
  border: 1px solid rgba(var(--cream-rgb), 0.4);
  border-radius: 999px;
  background: rgba(var(--cream-rgb), 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pwa-install-button[hidden] {
  display: none;
}

.pwa-install-button:hover {
  border-color: var(--gold);
  background: var(--gold);
}

@media (max-width: 820px) {
  .content-body {
    padding: 0;
  }

  .pricing-body .compact-site-header {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .pricing-shell {
    width: 100%;
    margin: 0;
    padding: 54px 18px 34px;
    border-width: 0;
    border-radius: 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pricing-card {
    min-height: 0;
  }

  .content-header {
    min-height: 72px;
    padding: 16px 20px;
    grid-template-columns: 1fr auto;
    border-width: 0 0 1px;
    border-radius: 0;
  }

  .content-header nav {
    display: none;
  }

  .content-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-card,
  .content-card:nth-child(even) {
    min-height: 0;
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .pricing-hero {
    margin-bottom: 26px;
  }

  .pricing-hero h1 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  .pricing-card {
    padding: 26px 20px;
  }

  .pricing-badge {
    top: 22px;
    right: 18px;
  }

  .pricing-card ul {
    gap: 16px;
    font-size: 0.82rem;
  }

  .content-hero {
    min-height: 390px;
    padding: 70px 22px;
  }

  .content-hero h1 {
    font-size: clamp(2.8rem, 16vw, 4.7rem);
  }

  .content-card {
    padding: 34px 22px 40px;
  }

  .content-card > span {
    margin-bottom: 28px;
  }
}

/* Phase 1: trust, safety and mobile foundations */
body.cinematic-background {
  background-color: #110905;
}

.prototype-notice {
  margin: 0;
  padding: 10px 18px;
  color: rgba(var(--cream-rgb), 0.86);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.24);
  background: rgba(56, 32, 18, 0.82);
  font-size: 0.76rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-align: center;
}

.prototype-notice a,
.age-policy-links a,
.auth-policy-links a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.app-prototype-notice {
  width: min(1180px, calc(100% - 40px));
  margin: 10px auto 0;
  border: 1px solid rgba(var(--gold-rgb), 0.22);
}

.age-policy-links {
  margin: 18px 0 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.78rem;
}

.auth-policy-links {
  margin: 14px 12px 0;
  color: rgba(var(--cream-rgb), 0.62);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.auth-nav-hint {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(var(--cream-rgb), 0.45);
}

.auth-nav-hint a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.auth-nav-hint a:hover {
  color: var(--cream);
}

/* ── Provider profile editor ─────────────────────────────────────────────── */

.settings-text-field textarea {
  min-height: 120px;
  padding: 12px 15px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.025);
  resize: vertical;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.55;
}

.settings-text-field textarea:focus {
  border-color: rgba(var(--gold-rgb), 0.64);
}

/* Profile details two-column grid */
.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.settings-text-field select {
  min-height: 50px;
  padding: 0 15px;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.025);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c5a06a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.settings-text-field select:focus {
  border-color: rgba(var(--gold-rgb), 0.64);
}

.settings-text-field select option {
  background: #1a100a;
  color: var(--cream);
}

@media (max-width: 640px) {
  .profile-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Photo upload */
.profile-photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.profile-photo-thumb {
  position: relative;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border: 1px solid rgba(var(--cream-rgb), 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.profile-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-photo-thumb--saved {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: rgba(var(--cream-rgb), 0.5);
  font-size: 0.6rem;
  text-align: center;
  word-break: break-all;
}

.profile-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--cream);
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.profile-photo-remove:hover {
  background: rgba(180, 40, 40, 0.9);
}

.profile-photo-upload {
  display: inline-flex;
  cursor: pointer;
}

.profile-photo-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.profile-photo-upload span {
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  color: rgba(var(--cream-rgb), 0.72);
  border: 1px solid rgba(var(--champagne-rgb), 0.42);
  background: rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}

.profile-photo-upload:hover span {
  color: var(--champagne);
  border-color: rgba(var(--champagne-rgb), 0.72);
}

/* Dynamic row tables (availability & tours) */
.profile-edit-table {
  margin-bottom: 14px;
  border: 1px solid rgba(var(--cream-rgb), 0.1);
}

.profile-edit-table-head,
.profile-edit-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr auto;
  align-items: center;
  gap: 0;
}

.profile-edit-table-head {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.1);
}

.profile-edit-table-head span {
  color: var(--gold);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-edit-row {
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.06);
}

.profile-edit-row:last-child {
  border-bottom: 0;
}

.profile-edit-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--cream);
  border: 0;
  border-right: 1px solid rgba(var(--cream-rgb), 0.06);
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
}

.profile-edit-input:focus {
  background: rgba(var(--gold-rgb), 0.05);
  border-right-color: rgba(var(--gold-rgb), 0.3);
}

.profile-edit-row div:last-child {
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.profile-edit-remove-btn {
  padding: 6px 10px;
  color: rgba(var(--cream-rgb), 0.38);
  border: 1px solid rgba(var(--cream-rgb), 0.12);
  background: transparent;
  cursor: pointer;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.profile-edit-remove-btn:hover {
  color: #d99a92;
  border-color: rgba(180, 60, 60, 0.5);
}

.profile-edit-add-btn {
  margin-top: 4px;
  font-size: 0.64rem;
}

/* Rates grid */
.profile-rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.profile-rates-group {
  padding: 0;
  border: 0;
  display: grid;
  gap: 18px;
}

.profile-rates-group legend {
  padding: 0 0 14px;
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .profile-edit-table-head,
  .profile-edit-row {
    grid-template-columns: 1fr 1fr auto;
  }

  .profile-edit-table-head span:nth-child(3),
  .profile-edit-row input:nth-child(3) {
    display: none;
  }

  .profile-rates-grid {
    grid-template-columns: 1fr;
  }
}

/* ── End provider profile editor ─────────────────────────────────────────── */

.password-requirements {
  padding: 0 14px;
  color: rgba(var(--cream-rgb), 0.58);
  font-size: 0.72rem;
  line-height: 1.5;
}

.policy-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(var(--cream-rgb), 0.7);
  font-size: 0.72rem;
  line-height: 1.55;
}

.policy-consent[hidden] {
  display: none;
}

.policy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.policy-consent a,
.auth-help-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-help-link {
  justify-self: center;
  font-size: 0.72rem;
}

.recovery-key-card {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  background: rgba(var(--gold-rgb), 0.06);
  text-align: center;
}

.recovery-key-card[hidden] {
  display: none;
}

.recovery-key-card h2 {
  margin: 6px 0 14px;
  font-size: 1.7rem;
}

.recovery-key-card code {
  display: block;
  padding: 12px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.recovery-key-card p:not(.eyebrow) {
  color: rgba(var(--cream-rgb), 0.66);
  font-size: 0.74rem;
}

.join-form label span,
.report-form label span {
  color: rgba(var(--cream-rgb), 0.58);
  font-weight: 400;
}

.content-menu-button {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-mobile-nav {
  position: relative;
  z-index: 49;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-inline: 1px solid rgba(var(--cream-rgb), 0.14);
  background: rgba(6, 4, 3, 0.96);
}

.content-mobile-nav[hidden] {
  display: none;
}

.content-mobile-nav a {
  min-height: 48px;
  padding: 10px;
  display: grid;
  place-items: center;
  color: rgba(var(--cream-rgb), 0.86);
  background: rgba(var(--cream-rgb), 0.045);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  border-top: 1px solid rgba(var(--cream-rgb), 0.12);
}

.report-header > .header-text-link {
  justify-self: end;
  margin-left: 28px;
  padding: 9px 14px;
  border: 1px solid rgba(var(--cream-rgb), 0.18);
  border-radius: 999px;
}

.report-header {
  column-gap: 28px;
}

.report-form,
.report-guidance {
  padding: clamp(30px, 6vw, 70px);
}

.report-form {
  display: grid;
  gap: 18px;
  border-right: 1px solid rgba(var(--cream-rgb), 0.12);
}

.report-form-heading {
  margin-bottom: 12px;
}

.report-form h2,
.report-guidance h2 {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.report-form-heading > p:last-child,
.report-guidance li {
  color: rgba(var(--cream-rgb), 0.72);
}

.report-form label {
  display: grid;
  gap: 8px;
  color: rgba(var(--cream-rgb), 0.86);
  font-size: 0.86rem;
  font-weight: 700;
}

.report-form input,
.report-form select,
.report-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.22);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.3);
  font-size: 16px;
}

.report-form textarea {
  min-height: 180px;
  resize: vertical;
}

.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.1);
}

.report-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 400 !important;
  line-height: 1.55;
}

.report-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.report-form button {
  min-height: 52px;
  color: #17110b;
  border: 1px solid var(--gold);
  background: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-form button:disabled {
  opacity: 0.58;
}

/* legacy — superseded by .status-message, kept until blacklist.html is confirmed fully migrated */
.report-status {
  min-height: 1.5em;
  margin: 0;
  color: rgba(var(--cream-rgb), 0.72);
}

.report-status.is-success {
  color: #dfc58e;
}

.report-status.is-error {
  color: #e6a49b;
}

.report-guidance {
  background: rgba(var(--gold-rgb), 0.055);
}

.report-guidance ul {
  margin: 24px 0 30px;
  padding-left: 22px;
  display: grid;
  gap: 14px;
  line-height: 1.6;
}

.report-status-form {
  margin-top: 42px;
  padding-top: 34px;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(var(--cream-rgb), 0.14);
}

.report-status-form h2 {
  margin: 0 0 10px;
  font-size: 2.2rem;
}

.report-status-form label {
  display: grid;
  gap: 7px;
  color: rgba(var(--cream-rgb), 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.report-status-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.2);
  background: rgba(0, 0, 0, 0.28);
  font-size: 16px;
}

.report-status-form button {
  min-height: 48px;
  color: var(--cream);
  border: 1px solid rgba(var(--cream-rgb), 0.24);
  background: transparent;
  font-weight: 800;
  text-transform: uppercase;
}

.report-status-result {
  min-height: 1.5em;
  color: rgba(var(--cream-rgb), 0.68);
  font-size: 0.82rem;
}

.report-status-result.is-success {
  padding: 14px;
  display: grid;
  gap: 5px;
  color: var(--cream);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: rgba(var(--gold-rgb), 0.06);
}

.report-status-result.is-error {
  color: #e6a49b;
}

@media (max-width: 820px) {
  .content-site-header .brand-row {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .content-site-header .simple-discovery-link {
    display: block;
    position: absolute;
    top: 16px;
    left: 68px;
    width: 42px;
    height: 42px;
    justify-self: auto;
  }

  .content-site-header .simple-discovery-link::before {
    width: 13px;
    height: 13px;
    border-width: 1px;
  }

  .content-site-header .simple-discovery-link::after {
    width: 10px;
    height: 1px;
    transform: translate(3px, 5px) rotate(45deg);
  }

  .content-site-header .store-nav {
    display: none;
  }

  .content-site-header .content-menu-button {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .content-site-header .content-menu-button::before {
    content: "☰";
    font-size: 1rem;
    line-height: 1;
  }

  .content-site-header .brand-mark {
    grid-column: 2;
  }

  .content-site-header .account-dropdown {
    grid-column: 3;
    justify-self: end;
  }

  .content-header {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .content-menu-button {
    display: block;
  }

  .content-header .account-dropdown .dropdown-menu,
  .report-header .account-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    width: min(300px, calc(100vw - 24px));
    min-width: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
  }

  .content-header .account-dropdown:hover .dropdown-menu,
  .content-header .account-dropdown:focus-within .dropdown-menu {
    transform: translateY(0) scale(1);
  }

  .report-layout {
    grid-template-columns: 1fr;
  }

  .report-form {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--cream-rgb), 0.12);
  }
}

@media (max-width: 640px) {
  body.cinematic-background {
    background:
      radial-gradient(ellipse at 50% 94%, rgba(var(--gold-rgb), 0.18), transparent 20rem),
      linear-gradient(180deg, rgba(18, 11, 7, 0.22), rgba(18, 11, 7, 0.82)),
      url("assets/temptx-flow-background.jpeg"),
      linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 46%, var(--black) 100%);
    background-position: center bottom, center, 48% 68%, center;
    background-size: 100% 100%, 100% 100%, auto 100vh, 160% 160%;
    animation: backgroundDrift 80s ease-in-out infinite;
  }

  .cinematic-background::before,
  .cinematic-background::after {
    display: none;
  }

  .account-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    width: min(300px, calc(100vw - 24px));
    min-width: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
  }

  .account-dropdown:hover .dropdown-menu,
  .account-dropdown:focus-within .dropdown-menu {
    transform: translateY(0) scale(1);
  }

  .content-mobile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prototype-notice {
    font-size: 0.78rem;
    padding-inline: 18px;
    white-space: normal;
  }

  .app-prototype-notice {
    width: 100%;
    margin-top: 0;
    border-inline: 0;
  }

  .auth-policy-links,
  .auth-privacy-note {
    font-size: 0.7rem;
  }

  .content-card p,
  .content-hero > p:not(.eyebrow) {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .report-header {
    grid-template-columns: 1fr auto;
  }

  .report-header nav {
    display: none;
  }

  .report-form,
  .report-guidance {
    padding: 34px 22px 42px;
  }
}

/* Site-wide homepage visual system */
body.directory-body {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 50% 96%, rgba(var(--gold-rgb), 0.2), transparent 23rem),
    linear-gradient(180deg, rgba(16, 9, 5, 0.2), rgba(16, 9, 5, 0.86)),
    url("assets/temptx-flow-background.jpeg"),
    linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 46%, var(--black) 100%);
  background-attachment: fixed;
  background-position:
    center bottom,
    center,
    50% 64%,
    center;
  background-size:
    100% 100%,
    100% 100%,
    min(1200px, 130vw) auto,
    150% 150%;
  animation: backgroundDrift 96s ease-in-out infinite;
}

body.directory-body::before,
body.directory-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.directory-body::before {
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.12), transparent 16%, transparent 84%, rgba(var(--gold-rgb), 0.12)),
    radial-gradient(circle at 50% 42%, rgba(var(--champagne-rgb), 0.08), transparent 22rem);
}

body.directory-body::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 42%, rgba(0, 0, 0, 0.58));
}

.directory-body .store-header,
.directory-body .directory-main,
.directory-body .directory-footer,
.cinematic-background .store-header,
.cinematic-background .content-site-header,
.cinematic-background .compact-site-header,
.cinematic-background .profile-header,
.cinematic-background .report-header,
.cinematic-background .chat-header,
.cinematic-background .settings-header,
.cinematic-background main,
.cinematic-background footer {
  position: relative;
  z-index: 1;
}

.cinematic-background .compact-site-header,
.cinematic-background .content-site-header,
.cinematic-background .profile-header,
.cinematic-background .report-header,
.cinematic-background .chat-header,
.cinematic-background .settings-header,
.directory-body .store-header {
  width: min(1288px, calc(100% - 72px));
  margin-inline: auto;
  border: 1px solid rgba(var(--champagne-rgb), 0.54);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(6, 5, 4, 0.9), rgba(8, 5, 3, 0.72)),
    rgba(0, 0, 0, 0.58);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 244, 216, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
  backdrop-filter: blur(14px) saturate(128%);
}

.content-shell,
.pricing-shell,
.settings-shell,
.chat-shell,
.directory-main,
.profile-page,
.report-layout,
.auth-shell,
.models-section {
  width: min(1288px, calc(100% - 72px));
}

.content-hero,
.pricing-hero,
.directory-hero,
.profile-hero,
.settings-hero,
.chat-hero,
.report-hero,
.auth-card,
.models-hero {
  border: 1px solid rgba(var(--champagne-rgb), 0.45);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--champagne-rgb), 0.12), transparent 24rem),
    linear-gradient(180deg, rgba(9, 6, 4, 0.86), rgba(5, 4, 3, 0.7));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 242, 212, 0.1);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

.content-card,
.pricing-card,
.directory-empty,
.settings-section,
.setup-checklist,
.chat-sidebar,
.chat-panel,
.chat-details,
.report-form,
.report-guidance,
.category-card,
.escort-card,
.advertiser-card,
.model-card,
.message-card,
.conversation-list,
.conversation-item {
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(13, 9, 6, 0.82), rgba(5, 4, 3, 0.7)),
    rgba(0, 0, 0, 0.42);
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 242, 214, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(126%);
  backdrop-filter: blur(12px) saturate(126%);
}

/* Directory cards & filters own their surfaces in the DIRECTORY block above —
   kept out of the shared panel rule so premium elevation is not flattened. */

.content-hero h1,
.pricing-hero h1,
.directory-hero h1,
.profile-hero h1,
.settings-hero h1,
.chat-hero h1,
.report-hero h1,
.auth-card h1,
.models-hero h1 {
  color: var(--cream);
  font-family: var(--font-display);
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(var(--gold-rgb), 0.2),
    0 18px 42px rgba(0, 0, 0, 0.6);
}

.content-hero .eyebrow,
.pricing-eyebrow,
.directory-eyebrow,
.profile-eyebrow,
.settings-eyebrow,
.chat-eyebrow,
.report-eyebrow,
.auth-eyebrow,
.models-eyebrow {
  color: var(--champagne);
  letter-spacing: 0.28em;
  text-shadow: 0 0 16px rgba(var(--gold-rgb), 0.2);
}

.content-card h2,
.pricing-card h2,
.directory-card h2,
.profile-section h2,
.settings-section h2,
.chat-panel h2,
.report-guidance h2,
.category-card h2,
.escort-card h3,
.advertiser-card h3,
.model-card h3 {
  color: var(--cream);
  font-family: var(--font-display);
  letter-spacing: 0;
}

.content-card p,
.pricing-card p,
.directory-card p,
.profile-section p,
.settings-section p,
.chat-panel p,
.report-guidance p,
.category-card p,
.escort-card p,
.advertiser-card p,
.model-card p {
  color: rgba(var(--cream-rgb), 0.74);
}

.content-card a,
.directory-card a,
.profile-section a,
.settings-section a,
.chat-panel a,
.report-guidance a,
.pricing-card a,
.models-section a {
  color: var(--champagne);
}

.auth-card input,
.auth-card select,
.directory-filters input,
.directory-filters select,
.profile-enquiry input,
.profile-enquiry textarea,
.settings-section input,
.settings-section select,
.settings-section textarea,
.report-form input,
.report-form select,
.report-form textarea,
.chat-composer textarea,
.chat-composer input {
  color: var(--cream);
  border: 1px solid rgba(var(--champagne-rgb), 0.26);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(13, 9, 6, 0.36)),
    rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 244, 218, 0.06);
}

.auth-card input:focus,
.auth-card select:focus,
.directory-filters input:focus,
.directory-filters select:focus,
.profile-enquiry input:focus,
.profile-enquiry textarea:focus,
.settings-section input:focus,
.settings-section select:focus,
.settings-section textarea:focus,
.report-form input:focus,
.report-form select:focus,
.report-form textarea:focus,
.chat-composer textarea:focus,
.chat-composer input:focus {
  border-color: rgba(var(--champagne-rgb), 0.72);
  box-shadow:
    0 0 0 3px rgba(var(--gold-rgb), 0.12),
    inset 0 1px 0 rgba(255, 244, 218, 0.08);
  outline: none;
}

.auth-card input:focus-visible,
.auth-card select:focus-visible,
.directory-filters input:focus-visible,
.directory-filters select:focus-visible,
.profile-enquiry input:focus-visible,
.profile-enquiry textarea:focus-visible,
.settings-section input:focus-visible,
.settings-section select:focus-visible,
.settings-section textarea:focus-visible,
.report-form input:focus-visible,
.report-form select:focus-visible,
.report-form textarea:focus-visible,
.chat-composer textarea:focus-visible,
.chat-composer input:focus-visible {
  border-color: color-mix(in oklch, var(--gold) 70%, var(--champagne));
  box-shadow:
    var(--focus-ring-glow),
    0 0 0 1px rgba(var(--gold-rgb), 0.35),
    inset 0 1px 0 rgba(255, 244, 218, 0.1);
  outline: var(--focus-outline);
  outline-offset: 1px;
}

.light-btn,
.auth-submit,
.pricing-button-primary,
.directory-primary-button,
.directory-search-button,
.profile-enquiry button,
.settings-save-bar button,
.report-form button,
.chat-send-button,
.models-cta {
  color: var(--text-on-gold);
  border: 1px solid rgba(var(--champagne-rgb), 0.8);
  background:
    linear-gradient(180deg, var(--bullion-light) 0%, var(--bullion-mid) 54%, var(--bullion-dark) 100%),
    var(--gold);
  box-shadow:
    0 16px 44px rgba(var(--gold-rgb), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition:
    transform var(--duration-fast) var(--ease-luxury),
    filter var(--duration-fast) ease,
    box-shadow var(--duration-mid) var(--ease-soft),
    border-color var(--duration-fast) ease;
}

.ghost-btn,
.pricing-button-secondary,
.directory-secondary-button,
.settings-save-bar a,
.report-status-form button,
.auth-secondary,
.chat-secondary-button {
  color: var(--champagne);
  border: 1px solid rgba(var(--champagne-rgb), 0.42);
  background: rgba(0, 0, 0, 0.24);
  transition:
    transform var(--duration-fast) var(--ease-luxury),
    background var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    box-shadow var(--duration-mid) ease;
}

.light-btn:hover,
.auth-submit:hover,
.pricing-button-primary:hover,
.directory-primary-button:hover,
.directory-search-button:hover,
.profile-enquiry button:hover,
.settings-save-bar button:hover,
.report-form button:hover,
.chat-send-button:hover,
.models-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 18px 48px rgba(var(--gold-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.light-btn:focus-visible,
.auth-submit:focus-visible,
.pricing-button-primary:focus-visible,
.directory-primary-button:focus-visible,
.directory-search-button:focus-visible,
.profile-enquiry button:focus-visible,
.settings-save-bar button:focus-visible,
.report-form button:focus-visible,
.chat-send-button:focus-visible,
.models-cta:focus-visible,
.ghost-btn:focus-visible,
.pricing-button-secondary:focus-visible,
.directory-secondary-button:focus-visible,
.auth-secondary:focus-visible,
.chat-secondary-button:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  box-shadow: var(--focus-ring-glow);
}

.ghost-btn:hover,
.pricing-button-secondary:hover,
.directory-secondary-button:hover,
.auth-secondary:hover,
.chat-secondary-button:hover {
  border-color: rgba(var(--gold-rgb), 0.5);
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--bullion-light);
}

.escort-card,
.advertiser-card,
.model-card {
  overflow: hidden;
}

.escort-card img,
.advertiser-card img,
.model-card img {
  filter: saturate(0.95) contrast(1.04);
}

.directory-footer,
.content-footer,
.pricing-footer,
.profile-footer,
.settings-footer {
  color: rgba(var(--cream-rgb), 0.72);
}

@media (max-width: 820px) {
  .cinematic-background .compact-site-header,
  .cinematic-background .content-site-header,
  .cinematic-background .profile-header,
  .cinematic-background .report-header,
  .cinematic-background .chat-header,
  .cinematic-background .settings-header,
  .directory-body .store-header,
  .content-shell,
  .pricing-shell,
  .settings-shell,
  .chat-shell,
  .directory-main,
  .profile-page,
  .report-layout,
  .auth-shell,
  .models-section {
    width: min(100% - 28px, 1288px);
  }
}

@media (max-width: 640px) {
  body.directory-body {
    background:
      radial-gradient(ellipse at 50% 94%, rgba(var(--gold-rgb), 0.18), transparent 20rem),
      linear-gradient(180deg, rgba(18, 11, 7, 0.22), rgba(18, 11, 7, 0.82)),
      url("assets/temptx-flow-background.jpeg"),
      linear-gradient(145deg, var(--panel) 0%, var(--soft-black) 46%, var(--black) 100%);
    background-position: center bottom, center, 48% 68%, center;
    background-size: 100% 100%, 100% 100%, auto 100vh, 160% 160%;
    animation: backgroundDrift 80s ease-in-out infinite;
  }

  body.directory-body::before,
  body.directory-body::after {
    display: none;
  }
}

/* Slightly pulled-back presentation scale */
body.cinematic-background {
  background-position: center bottom, center, 48% 52%, center;
  background-size: 100% 100%, 100% 100%, max(92vw, 700px) auto, auto;
}

body.directory-body {
  background-position:
    center bottom,
    center,
    50% 58%,
    center;
  background-size:
    100% 100%,
    100% 100%,
    min(1060px, 112vw) auto,
    150% 150%;
}

.temptx-home .store-header {
  width: min(1340px, calc(100% - 132px));
  margin-top: clamp(62px, 10vh, 108px);
}

.temptx-home .brand-row {
  min-height: clamp(158px, 18vh, 212px);
  padding: clamp(28px, 3.8vw, 46px) clamp(52px, 7vw, 134px) 20px;
}

.temptx-home .brand-mark {
  font-size: clamp(4.45rem, 7.45vw, 7.25rem);
}

.temptx-home .brand-mark::after {
  font-size: clamp(0.5rem, 0.78vw, 0.64rem);
}

.temptx-home .simple-discovery-link,
.temptx-home .profile-tool {
  width: 66px;
  height: 66px;
}

.temptx-home .store-nav {
  gap: 14px clamp(28px, 4vw, 54px);
  padding: 12px 28px 30px;
}

.temptx-home .store-nav a,
.temptx-home .nav-dropdown-label {
  font-size: clamp(0.86rem, 0.94vw, 0.98rem);
}

.temptx-home .collection-hero {
  min-height: clamp(410px, 48vh, 520px);
  margin-bottom: 84px;
}

.temptx-home .hero-overlay {
  gap: 20px;
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 8px - 10px), 0);
}

.temptx-home .frame-label {
  font-size: clamp(0.86rem, 1.1vw, 1rem);
}

.temptx-home .hero-overlay .light-btn {
  min-width: min(286px, calc(100vw - 64px));
  min-height: 72px;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.content-shell,
.pricing-shell,
.settings-shell,
.chat-shell,
.directory-main,
.profile-page,
.report-layout,
.auth-shell,
.models-section {
  width: min(1360px, calc(100% - 112px));
}

.content-hero,
.pricing-hero,
.directory-hero,
.profile-hero,
.settings-hero,
.chat-hero,
.report-hero,
.models-hero {
  min-height: 0;
}

@media (max-width: 820px) {
  .temptx-home .store-header {
    width: min(100% - 36px, 1340px);
    margin-top: clamp(34px, 7vh, 64px);
  }

  .temptx-home .brand-mark {
    font-size: clamp(3.25rem, 13vw, 5.1rem);
  }

  .content-shell,
  .pricing-shell,
  .settings-shell,
  .chat-shell,
  .directory-main,
  .profile-page,
  .report-layout,
  .auth-shell,
  .models-section {
    width: min(100% - 32px, 1360px);
  }
}

@media (max-width: 640px) {
  body.cinematic-background,
  body.directory-body {
    background-size: 100% 100%, 100% 100%, auto 92vh, 160% 160%;
  }

  .temptx-home .brand-row {
    min-height: 150px;
    padding: 24px 18px 18px;
  }

  .temptx-home .collection-hero {
    min-height: 520px;
  }
}

/* Keep header dropdowns above page content */
.cinematic-background .store-header,
.directory-body .store-header,
.content-site-header,
.compact-site-header,
#contentHeader {
  position: relative;
  z-index: 2200;
  overflow: visible;
}

.store-header .brand-row,
.store-header .store-nav,
.compact-site-header .brand-row,
.compact-site-header .store-nav,
.content-site-header .brand-row,
.content-site-header .store-nav {
  overflow: visible;
}

.store-header .hover-dropdown,
.store-header .nav-dropdown,
.store-header .account-dropdown,
.content-site-header .hover-dropdown,
.content-site-header .account-dropdown {
  z-index: 2250;
}

.store-header .hover-dropdown:hover,
.store-header .hover-dropdown:focus-within,
.content-site-header .hover-dropdown:hover,
.content-site-header .hover-dropdown:focus-within {
  z-index: 2300;
}

.store-header .dropdown-menu,
.content-site-header .dropdown-menu,
.compact-site-header .dropdown-menu {
  z-index: 2400;
}

@media (max-width: 640px) {
  .store-header .store-nav {
    overflow: visible;
  }

  .store-header .dropdown-menu {
    max-height: min(72vh, 520px);
  }
}

/* Reference-style homepage frame */
.temptx-home .brand-row {
  position: relative;
  grid-template-columns: 1fr;
}

.temptx-home .brand-mark {
  grid-column: 1;
  justify-self: center;
}

.temptx-home .account-dropdown {
  position: absolute;
  top: 50%;
  right: clamp(28px, 6vw, 96px);
  grid-column: auto;
  justify-self: auto;
  transform: translateY(-50%);
}

.temptx-home .store-header {
  width: min(1540px, calc(100% - 52px));
  margin-top: 26px;
  border-color: rgba(var(--champagne-rgb), 0.46);
  border-bottom-color: rgba(var(--champagne-rgb), 0.18);
  border-radius: 10px 10px 0 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(var(--champagne-rgb), 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(3, 3, 2, 0.9), rgba(1, 1, 1, 0.76));
  box-shadow:
    0 32px 104px rgba(0, 0, 0, 0.68),
    inset 0 1px rgba(255, 244, 220, 0.12);
}

.temptx-home .store-header::after {
  display: none;
}

.temptx-home .brand-row {
  min-height: 212px;
  padding: 16px clamp(72px, 12vw, 210px) 28px;
}

.temptx-home .brand-mark {
  font-size: clamp(5.4rem, 8.2vw, 8.4rem);
}

.brand-mark::after {
  content: "Australia's Adult Network";
}

.temptx-home .brand-mark::after {
  color: rgba(var(--cream-rgb), 0.64);
  letter-spacing: 0.42em;
}

.temptx-home .profile-tool {
  width: 62px;
  height: 62px;
}

.temptx-home .store-nav {
  width: min(1110px, calc(100% - 120px));
  margin: 0 auto;
  padding: 24px 0 28px;
  gap: 0;
  border-block: 1px solid rgba(var(--champagne-rgb), 0.11);
}

.temptx-home .store-nav > * {
  flex: 0 0 auto;
  min-width: 0;
  display: block;
  padding: 0 clamp(28px, 3.6vw, 50px);
}

.temptx-home .store-nav > * + * {
  border-left: 1px solid rgba(var(--gold-rgb), 0.36);
}

.temptx-home .store-nav a,
.temptx-home .nav-dropdown-label {
  width: auto;
  color: rgba(255, 248, 232, 0.94);
  font-size: clamp(0.68rem, 0.86vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.temptx-home .nav-dropdown-label::after,
.temptx-home .hover-dropdown .nav-dropdown-label::after {
  content: none;
}

.temptx-home .advanced-search-dropdown .dropdown-menu {
  top: calc(100% + 24px);
  left: 0;
  transform: translateY(-12px) scale(0.985);
  transform-origin: top left;
}

.temptx-home .advanced-search-dropdown:hover .dropdown-menu,
.temptx-home .advanced-search-dropdown:focus-within .dropdown-menu {
  transform: translateY(0) scale(1);
}

.temptx-home .hover-dropdown.browse-dropdown .dropdown-menu {
  transform: translateY(-12px) scale(0.985);
}

.temptx-home .hover-dropdown.browse-dropdown:hover .dropdown-menu,
.temptx-home .hover-dropdown.browse-dropdown:focus-within .dropdown-menu {
  transform: translateY(0) scale(1);
}

.temptx-home .store-nav .legacy-discovery-dropdown {
  display: none;
}

.temptx-home .storefront {
  box-sizing: border-box;
  width: min(1540px, calc(100% - 52px));
  margin: 0 auto 26px;
  border: 1px solid rgba(var(--champagne-rgb), 0.46);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background:
    linear-gradient(90deg, rgba(157, 100, 40, 0.13), transparent 13%, transparent 84%, rgba(157, 100, 40, 0.13)),
    radial-gradient(ellipse at 50% 92%, rgba(var(--gold-rgb), 0.2), transparent 20rem),
    linear-gradient(180deg, rgba(2, 2, 1, 0.62), rgba(0, 0, 0, 0.88));
  overflow: hidden;
  box-shadow:
    0 32px 104px rgba(0, 0, 0, 0.68),
    inset 0 -1px rgba(255, 244, 220, 0.1);
}

.temptx-home .collection-hero {
  min-height: clamp(520px, 52vh, 620px);
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 12, 8, 0.42), transparent 28%, transparent 70%, rgba(42, 28, 18, 0.42)),
    radial-gradient(ellipse at 50% 100%, rgba(var(--gold-rgb), 0.18), transparent 20rem),
    radial-gradient(ellipse at 50% 0%, rgba(var(--champagne-rgb), 0.05), transparent 16rem),
    rgba(0, 0, 0, 0.12);
}

.temptx-home .collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.28) 100%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(var(--gold-rgb), 0.08), transparent 70%);
  opacity: 0.9;
}

.temptx-home .hero-panel {
  opacity: 1;
}

.temptx-home .hero-overlay {
  position: absolute;
  z-index: 2;
  gap: 20px;
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 8px - 12px), 0);
}

.temptx-home .frame-label {
  color: rgba(255, 236, 198, 0.82);
  font-size: clamp(0.86rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.46em;
}

.frame-rule {
  width: 52px;
  height: 1px;
  display: block;
  background: rgba(var(--gold-rgb), 0.68);
  box-shadow: 0 0 13px rgba(var(--gold-rgb), 0.32);
}

.temptx-home .hero-overlay .light-btn {
  min-width: min(306px, calc(100vw - 64px));
  min-height: 68px;
  border-radius: 7px;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  letter-spacing: 0.18em;
}

.home-audience-strip {
  width: min(760px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
}

.home-audience-strip a {
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 9px;
  color: rgba(var(--cream-rgb), 0.8);
  border-left: 1px solid rgba(var(--champagne-rgb), 0.18);
  text-align: center;
}

.home-audience-strip a:first-child {
  border-left: 0;
}

.home-audience-strip span {
  color: var(--gold);
  font-size: 1.28rem;
  line-height: 1;
}

.home-audience-strip small {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.temptx-home .category-section {
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
}

@media (max-width: 820px) {
  .temptx-home .store-header,
  .temptx-home .storefront,
  .temptx-home .site-header {
    width: min(100% - 28px, 1540px);
  }

  .temptx-home .brand-row {
    padding-inline: 26px;
  }

  .temptx-home .account-dropdown {
    right: 24px;
  }

  .temptx-home .store-nav {
    width: min(100% - 24px, 1110px);
    overflow-x: auto;
    justify-content: flex-start;
  }

  .temptx-home .store-nav > * {
    min-width: max-content;
    padding: 0 28px;
  }

  .home-audience-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .temptx-home .store-header,
  .temptx-home .storefront,
  .temptx-home .site-header {
    width: 100%;
    margin-inline: 0;
    border-inline: 0;
    border-radius: 0;
  }

  .temptx-home .site-header {
    margin-top: 0;
    border-top: 0;
  }

  .temptx-home .brand-row {
    overflow: visible;
  }

  .temptx-home .account-dropdown {
    top: 14px;
    right: 14px;
    transform: none;
  }

  .temptx-home .store-nav {
    width: 100%;
  }

  .temptx-home .collection-hero {
    min-height: 560px;
  }

  .temptx-home .frame-label {
    max-width: 92%;
    line-height: 1.8;
  }

  .home-audience-strip {
    width: min(100% - 28px, 430px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }
}

/* ── Mobile Responsiveness Fixes ──────────────────────────────────────────── */

@media (max-width: 640px) {

  /* Fix 1 — The broad `button { width: 100%; max-width: 260px }` rule at this
     breakpoint breaks utility buttons that must stay auto-width. */

  /* Password show/hide toggle is position:absolute inside the input wrapper;
     100% width would stretch it across the entire input field. */
  .password-toggle {
    width: auto;
    max-width: none;
    min-height: 0;
  }

  /* Modal close button is position:absolute; must not span the card. */
  .auth-modal-close {
    width: auto;
    max-width: none;
    min-height: 0;
  }

  /* Inline text-link in the auth form row (forgot password / switch mode). */
  .auth-link {
    width: auto;
    max-width: none;
    min-height: 0;
  }

  /* Segmented grid/list toggle buttons in directory results header. */
  .directory-view-switch button {
    width: auto;
    min-height: 0;
  }

  /* Slide-in conversations button in the chat panel. */
  .mobile-conversations-btn {
    width: auto;
    min-height: 0;
  }

  /* Inline remove buttons inside provider profile availability/tour rows. */
  .profile-edit-remove-btn {
    width: auto;
    min-height: 0;
  }

  /* Fix 2 — Submit buttons inside full-width form contexts should span the
     full column, not be capped at 260px (which is narrower than the inputs). */
  .join-form button[type="submit"],
  .report-form button[type="submit"],
  .report-status-form button[type="submit"] {
    width: 100%;
    max-width: none;
  }

  /* Fix 3 — iOS safari auto-zooms any focused input whose computed
     font-size is below 16px.  Apply 16px to all interactive fields that
     don't already declare it. */
  .auth-field input,
  .auth-field select,
  .settings-text-field input,
  .settings-text-field select,
  .settings-text-field textarea,
  .directory-filters input,
  .directory-filters select,
  .directory-custom-select-button,
  .profile-enquiry input,
  .profile-enquiry textarea {
    font-size: 16px;
  }
}

/* Fix 4 — Directory settings choice grid: 2 columns is too cramped on
   phones narrower than 480 px (e.g. older or small-screen Android). */
@media (max-width: 480px) {
  .directory-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix 5 — Prevent horizontal overflow on pages that use decorative
   absolute/fixed elements outside the normal flow. */
body.settings-body,
body.creator-dashboard-body {
  overflow-x: hidden;
}

/* ── Directory v2 — overrides for global cinematic-background rules ── */

/* Sidebar search input: transparent inside its bordered wrapper */
.directory-body .dir-filter-search-wrap input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  font-size: 0.88rem !important;
}

.directory-body .dir-filter-search-wrap input:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.directory-body .dir-filter-search-wrap:focus-within {
  border-color: rgba(var(--gold-rgb), 0.55) !important;
  box-shadow: var(--focus-ring-glow) !important;
}

/* Sidebar select buttons: use the bordered sidebar style */
.directory-body .dir-filter-select-wrap .directory-custom-select-button {
  border: 1px solid rgba(var(--champagne-rgb), 0.22) !important;
  border-radius: 8px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  box-shadow: none !important;
  min-height: 44px !important;
  padding: 0 36px 0 14px !important;
}

/* Prevent iOS zoom */
@media (max-width: 640px) {
  .directory-body .dir-filter-search-wrap input {
    font-size: 16px !important;
  }
}


/* ══════════════════════════════════════════════════
   HOME — Trust-Focused Redesign
   ══════════════════════════════════════════════════ */

/* ─── Simplified Home Navigation ─── */

.home-nav {
  justify-content: center;
  gap: clamp(24px, 4vw, 54px);
}

.home-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── Home Hero ─── */

.home-hero {
  min-height: clamp(360px, 48vh, 560px);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse at center 28%, rgba(var(--gold-rgb), 0.08), transparent 28rem),
    radial-gradient(ellipse at 18% 72%, rgba(var(--champagne-rgb), 0.04), transparent 18rem),
    linear-gradient(180deg, rgba(7, 3, 4, 0.06), rgba(0, 0, 0, 0.28));
}

.home-hero .hero-panel-one {
  opacity: 0.88;
}

.home-hero .hero-panel-two {
  opacity: 0.96;
}

.home-hero .hero-panel-three {
  opacity: 0.86;
}

.temptx-home .hero-overlay.home-hero-overlay,
.home-hero-overlay {
  position: relative;
  z-index: 2;
  gap: 0;
  padding: clamp(48px, 7vh, 72px) clamp(20px, 4vw, 40px);
  transform: translate3d(0, calc(var(--hero-scroll, 0) * 6px), 0);
  background:
    radial-gradient(ellipse 58% 52% at 50% 48%, rgba(var(--gold-rgb), 0.07), transparent 68%),
    radial-gradient(ellipse 92% 72% at 50% 50%, transparent 26%, rgba(4, 3, 2, 0.52) 100%);
  animation: home-hero-overlay-in 900ms var(--ease-luxury) both;
}

@keyframes home-hero-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.home-hero-eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: clamp(0.62rem, 0.85vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(var(--gold-rgb), 0.28);
}

.home-hero-heading {
  margin: 0 0 20px;
  max-width: 18ch;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-transform: none;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.35),
    0 14px 42px rgba(0, 0, 0, 0.48),
    0 0 48px rgba(var(--gold-rgb), 0.08);
}

.home-hero-heading::after {
  display: none;
}

.home-hero-mission {
  max-width: 40ch;
  margin: 0 auto 8px;
  color: rgba(var(--cream-rgb), 0.68);
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1.2vw, 1.02rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.7;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.home-hero-rule {
  display: block;
  width: min(160px, 32vw);
  height: 1px;
  margin: 0 auto 22px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(var(--gold-rgb), 0.28) 18%,
    rgba(var(--cream-rgb), 0.78) 50%,
    rgba(var(--gold-rgb), 0.28) 82%,
    transparent 100%
  );
  box-shadow: 0 0 14px rgba(var(--gold-rgb), 0.28);
}

.home-hero-tagline {
  margin: 0 auto;
  max-width: 46ch;
  color: rgba(var(--cream-rgb), 0.62);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: none;
  text-shadow: none;
}

.home-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-hero-ctas .light-btn {
  min-width: 200px;
  min-height: 52px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(var(--gold-rgb), 0.12),
    inset 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -8px 16px rgba(82, 50, 16, 0.12);
}

.home-outline-btn {
  min-width: 190px;
  min-height: 52px;
  color: rgba(var(--cream-rgb), 0.88);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px rgba(255, 244, 220, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  transition:
    background var(--duration-mid) ease,
    border-color var(--duration-mid) ease,
    color var(--duration-mid) ease,
    box-shadow var(--duration-mid) ease,
    transform var(--duration-mid) var(--ease-luxury);
}

.home-outline-btn:hover {
  color: var(--cream);
  background: rgba(var(--cream-rgb), 0.08);
  border-color: rgba(var(--champagne-rgb), 0.52);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(var(--gold-rgb), 0.08),
    inset 0 1px rgba(255, 244, 220, 0.12);
  transform: translateY(-1px);
}

/* ─── Home Pillars Section ─── */

.home-pillars {
  padding: 80px clamp(24px, 8vw, 120px) 88px;
  text-align: center;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.04), transparent 28rem),
    linear-gradient(180deg, rgba(8, 6, 4, 0.88), rgba(18, 12, 8, 0.96));
  box-shadow: inset 0 28px 64px rgba(0, 0, 0, 0.16);
}

.home-pillars-inner {
  max-width: 960px;
  margin: 0 auto;
}

.home-pillars h2 {
  margin-bottom: 16px;
  color: var(--cream);
}

.home-pillars-intro {
  max-width: 52ch;
  margin: 0 auto 56px;
  color: rgba(var(--cream-rgb), 0.54);
  font-size: 0.92rem;
  line-height: 1.7;
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(var(--champagne-rgb), 0.16);
  background: rgba(var(--champagne-rgb), 0.1);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 244, 220, 0.08);
}

.home-pillar {
  padding: 40px 24px 36px;
  background:
    linear-gradient(145deg, rgba(20, 15, 10, 0.97), rgba(7, 6, 5, 0.99));
  text-align: center;
  transition: background 320ms ease;
}

.home-pillar:hover {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.06), transparent 10rem),
    linear-gradient(145deg, rgba(26, 18, 12, 0.98), rgba(9, 7, 5, 0.99));
}

.home-pillar-mark {
  display: block;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  text-shadow: none;
}

.home-pillar h3 {
  margin-bottom: 12px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
}

.home-pillar p {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.52);
  font-size: 0.82rem;
  line-height: 1.65;
}

/* ─── Home Featured Profiles ─── */

.home-featured {
  border-top: 1px solid rgba(var(--champagne-rgb), 0.12);
}

.home-escort-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
}

.home-featured-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.home-featured-cta .light-btn {
  min-width: 240px;
  min-height: 54px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

/* ─── Home Footer ─── */

.home-footer {
  padding: 64px 0 0;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.16);
}

.home-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.1);
  margin-bottom: 40px;
}

.home-footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--cream);
  line-height: 1;
}

.home-footer-brand .logo span {
  color: var(--gold);
}

.home-footer-tagline {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.34);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px clamp(24px, 4vw, 52px);
  padding-bottom: 52px;
}

.home-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-footer-col-title {
  display: block;
  margin-bottom: 4px;
  color: rgba(var(--cream-rgb), 0.9);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-footer-col a {
  color: rgba(var(--cream-rgb), 0.44);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: color 220ms ease;
}

.home-footer-col a:hover {
  color: var(--gold);
}

.home-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(var(--champagne-rgb), 0.1);
}

.home-footer-legal {
  margin: 0;
  color: rgba(var(--cream-rgb), 0.28);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.home-footer-links {
  display: flex;
  gap: 24px;
}

.home-footer-links a {
  color: rgba(var(--cream-rgb), 0.38);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.home-footer-links a:hover {
  color: var(--gold);
}

/* ─── Home Responsive ─── */

@media (max-width: 900px) {
  .home-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-escort-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 600px;
  }

  .home-escort-grid .escort-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  .home-footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-pillars-grid {
    grid-template-columns: 1fr;
  }

  .home-escort-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .home-escort-grid .escort-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .home-footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .home-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .home-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-ctas .light-btn,
  .home-outline-btn {
    min-width: unset;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}


/* ══════════════════════════════════════════════════
   JOIN PAGE — Role Chooser
   ══════════════════════════════════════════════════ */

.join-page-hero {
  padding: 72px clamp(24px, 8vw, 120px) 64px;
  text-align: center;
  border-bottom: 1px solid rgba(var(--champagne-rgb), 0.1);
  background:
    radial-gradient(ellipse at center 30%, rgba(var(--gold-rgb), 0.05), transparent 26rem),
    linear-gradient(180deg, rgba(7, 3, 4, 0.04), rgba(0, 0, 0, 0.22));
}

.join-page-title {
  margin: 8px 0 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: none;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.36);
}

.join-page-subtitle {
  max-width: 44ch;
  margin: 18px auto 0;
  color: rgba(var(--cream-rgb), 0.52);
  font-size: clamp(0.86rem, 1.2vw, 0.98rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.68;
}

/* ─── Role Grid ─── */

.join-roles {
  padding: 80px clamp(24px, 8vw, 120px) 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.04), transparent 28rem),
    linear-gradient(180deg, rgba(8, 6, 4, 0.88), rgba(18, 12, 8, 0.96));
}

.join-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1020px;
  margin: 0 auto;
  border: 1px solid rgba(var(--champagne-rgb), 0.16);
  background: rgba(var(--champagne-rgb), 0.1);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.32),
    inset 0 1px rgba(255, 244, 220, 0.08);
}

.join-role-card {
  display: flex;
  flex-direction: column;
  padding: 48px 36px 44px;
  background: linear-gradient(145deg, rgba(20, 15, 10, 0.97), rgba(7, 6, 5, 0.99));
  text-align: center;
  transition: background 300ms ease;
}

.join-role-card:hover {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.06), transparent 12rem),
    linear-gradient(145deg, rgba(26, 18, 12, 0.98), rgba(9, 7, 5, 0.99));
}

.join-role-card-center {
  border-left: 1px solid rgba(var(--champagne-rgb), 0.1);
  border-right: 1px solid rgba(var(--champagne-rgb), 0.1);
}

.join-role-mark {
  display: block;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
}

.join-role-name {
  margin: 0 0 14px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
}

.join-role-desc {
  margin: 0 0 24px;
  color: rgba(var(--cream-rgb), 0.52);
  font-size: 0.84rem;
  line-height: 1.65;
}

.join-role-points {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.join-role-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(var(--cream-rgb), 0.58);
  font-size: 0.8rem;
  line-height: 1.5;
}

.join-role-points li::before {
  content: "—";
  flex-shrink: 0;
  color: rgba(var(--gold-rgb), 0.6);
  font-size: 0.7rem;
  margin-top: 2px;
}

.join-role-cta {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px rgba(255, 255, 255, 0.38);
}

.join-page-note {
  max-width: 56ch;
  margin: 48px auto 0;
  text-align: center;
  color: rgba(var(--cream-rgb), 0.3);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

/* ─── Join Page Responsive ─── */

@media (max-width: 760px) {
  .join-roles-grid {
    grid-template-columns: 1fr;
  }

  .join-role-card-center {
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(var(--champagne-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--champagne-rgb), 0.1);
  }

  .join-role-card {
    padding: 40px 28px 36px;
  }
}


/* ══════════════════════════════════════════════════
   JOIN — Role Selection Page
   ══════════════════════════════════════════════════ */

.join-select-main {
  display: flex;
  flex-direction: column;
}

.join-select-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(30px, 6vh, 62px) clamp(18px, 5vw, 48px) clamp(48px, 8vh, 88px);
}

.join-select-panel {
  position: relative;
  isolation: isolate;
  width: min(430px, 100%);
  min-height: min(760px, calc(100vh - 188px));
  padding: clamp(42px, 7vh, 68px) clamp(24px, 5vw, 42px) 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(var(--champagne-rgb), 0.32);
  background:
    radial-gradient(circle at 16% 5%, rgba(var(--cream-rgb), 0.12), transparent 24%),
    radial-gradient(circle at 84% 92%, rgba(var(--gold-rgb), 0.1), transparent 32%),
    linear-gradient(150deg, rgba(var(--cream-rgb), 0.075), rgba(var(--cream-rgb), 0.012) 52%),
    rgba(6, 5, 4, 0.4);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.6),
    0 14px 42px rgba(var(--gold-rgb), 0.08),
    inset 0 1.5px 1px rgba(255, 244, 216, 0.2),
    inset 0 -1px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(42px) saturate(154%);
  backdrop-filter: blur(42px) saturate(154%);
}

.join-select-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% auto auto -34%;
  width: 105%;
  height: 58%;
  pointer-events: none;
  border-radius: 48%;
  background: linear-gradient(115deg, transparent 8%, rgba(var(--cream-rgb), 0.05) 28%, rgba(var(--cream-rgb), 0.18) 45%, rgba(var(--cream-rgb), 0.04) 62%, transparent 78%);
  filter: blur(16px);
  mix-blend-mode: screen;
}

.join-select-eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.join-select-title {
  margin: 0;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.18;
  text-transform: none;
}

.join-select-rule {
  display: block;
  width: 48px;
  height: 1px;
  margin: 22px auto 20px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.7), transparent);
}

.join-select-subtitle {
  margin: 0 0 30px;
  color: rgba(var(--cream-rgb), 0.46);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ─── Account Type Sections ─── */

.join-select-section {
  margin-bottom: 14px;
}

.join-select-section-biz {
  margin-top: 8px;
  margin-bottom: 0;
}

.join-select-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.join-select-section-heading {
  flex-shrink: 0;
  margin: 0;
  color: rgba(var(--cream-rgb), 0.44);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.join-select-section-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--champagne-rgb), 0.18), transparent);
}

/* ─── Role Cards Grid ─── */

.join-select-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.join-select-grid-3 {
  grid-template-columns: 1fr;
}

.join-select-grid-1 {
  grid-template-columns: 1fr;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* Business card — slightly wider centered treatment */
.join-select-card-biz {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 20px 18px;
}

.join-select-card-biz .join-select-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.join-select-card-biz .join-select-desc {
  margin-bottom: 0;
  flex: 1;
}

.join-select-card-biz .join-select-cta {
  flex-shrink: 0;
  margin-top: 0;
}

.join-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 128px;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(var(--champagne-rgb), 0.18);
  background:
    linear-gradient(160deg, rgba(var(--cream-rgb), 0.05) 0%, rgba(var(--cream-rgb), 0.01) 100%),
    rgba(0, 0, 0, 0.24);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 260ms ease, background 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}

.join-select-card:hover {
  border-color: rgba(var(--gold-rgb), 0.38);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--gold-rgb), 0.06), transparent 14rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.015) 100%),
    rgba(4, 5, 7, 0.36);
  transform: translateY(-4px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(var(--gold-rgb), 0.14);
}

.join-select-card:hover .join-select-cta {
  color: var(--gold);
  border-color: rgba(var(--gold-rgb), 0.38);
  background: rgba(var(--gold-rgb), 0.05);
}

.join-select-icon {
  display: block;
  margin-bottom: 12px;
  color: rgba(var(--gold-rgb), 0.7);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 240ms ease;
}

.join-select-card:hover .join-select-icon {
  color: var(--gold);
}

.join-select-role {
  margin: 0 0 8px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
}

.join-select-desc {
  margin: 0 0 14px;
  color: rgba(var(--cream-rgb), 0.46);
  font-size: 0.8rem;
  line-height: 1.65;
  flex: 1;
}

.join-select-cta {
  display: inline-block;
  margin-top: auto;
  padding: 8px 18px;
  border: 1px solid rgba(var(--champagne-rgb), 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(var(--cream-rgb), 0.6);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 260ms ease, border-color 260ms ease, background 260ms ease;
}

.join-select-note {
  max-width: 54ch;
  margin: auto auto 0;
  color: rgba(var(--cream-rgb), 0.26);
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

/* ─── Join Select — Responsive ─── */

@media (max-width: 860px) {
  .join-select-panel {
    min-height: 0;
  }
}

/* ─── Mobile: all → 1-col ─── */
@media (max-width: 600px) {
  .join-select-grid,
  .join-select-grid-3,
  .join-select-grid-1 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .join-select-grid-1 {
    max-width: 100%;
  }

  .join-select-card {
    min-height: 0;
    padding: 20px 16px 18px;
  }

  .join-select-card-biz {
    flex-direction: column;
    text-align: center;
    padding: 26px 22px 22px;
    gap: 0;
  }

  .join-select-card-biz .join-select-icon {
    margin-bottom: 14px;
  }

  .join-select-card-biz .join-select-desc {
    margin-bottom: 20px;
  }

  .join-select-card-biz .join-select-cta {
    margin-top: 0;
  }

  .join-select-section-label {
    gap: 10px;
  }
}

/* ══════════════════════════════════════════════════
   AUTH — Minimal underline form style
   ══════════════════════════════════════════════════ */

/* ─── Heading — left-aligned, clean ─── */

.auth-body .auth-heading {
  text-align: left;
  margin-bottom: 30px;
}

.auth-body .auth-heading .eyebrow {
  letter-spacing: 0.22em;
  font-size: 0.6rem;
  color: rgba(var(--gold-rgb), 0.7);
  margin: 0 0 10px;
}

.auth-body .auth-heading h1 {
  font-size: clamp(1.85rem, 6vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 6px;
}

.auth-body .auth-heading > p:last-child {
  font-size: 0.76rem;
  color: rgba(var(--cream-rgb), 0.42);
}

/* ─── Inputs — underline only ─── */

.auth-body .auth-field > span:first-child,
.auth-body .auth-field > label:first-child {
  padding-left: 0;
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  color: rgba(var(--cream-rgb), 0.4);
}

.auth-body .auth-field input,
.auth-body .auth-field select {
  min-height: 44px;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--cream);
  font-size: 0.9rem;
}

.auth-body .auth-field input::placeholder {
  color: rgba(var(--cream-rgb), 0.28);
}

.auth-body .auth-field input:focus,
.auth-body .auth-field select:focus {
  border-bottom-color: rgba(var(--gold-rgb), 0.75);
  box-shadow: 0 1px 0 rgba(var(--gold-rgb), 0.22);
  outline: none;
}

.auth-body .auth-field input:focus-visible,
.auth-body .auth-field select:focus-visible {
  border-bottom-color: var(--gold);
  box-shadow:
    0 1px 0 rgba(var(--gold-rgb), 0.35),
    0 0 0 3px rgba(var(--gold-rgb), 0.14);
  outline: none;
  border-radius: 2px;
}

/* ─── Select arrow repositioned for underline ─── */

.auth-body .auth-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 28px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(var(--gold-rgb), 0.8) 50%) calc(100% - 14px) 54% / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.8) 50%, transparent 50%) calc(100% - 9px) 54% / 6px 6px no-repeat,
    transparent;
  cursor: pointer;
}

/* ─── Password show/hide ─── */

.auth-body .password-control input {
  padding-right: 52px;
}

.auth-body .password-toggle {
  right: 0;
  color: rgba(var(--gold-rgb), 0.7);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.auth-body .password-toggle:hover {
  color: var(--gold);
}

/* ─── Form gap & row ─── */

.auth-body .auth-form {
  gap: 18px;
}

.auth-body .auth-form-row {
  padding: 4px 0 0;
}

/* ─── Forgot / auth-link ─── */

.auth-body .auth-link {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(var(--gold-rgb), 0.65);
}

.auth-body .auth-link:hover {
  color: var(--gold);
}

/* ─── Remember me ─── */

.auth-body .remember-option {
  gap: 7px;
  color: rgba(var(--cream-rgb), 0.42);
  font-size: 0.62rem;
}

/* ─── Submit button — full-width pill ─── */

.auth-body .auth-submit {
  margin-top: 10px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* ─── Privacy note / nav hint ─── */

.auth-body .auth-privacy-note {
  font-size: 0.62rem;
  color: rgba(var(--cream-rgb), 0.26);
  border-top: 1px solid rgba(var(--cream-rgb), 0.07);
  padding-top: 15px;
  margin-top: auto;
  text-align: left;
}

.auth-body .auth-nav-hint {
  text-align: center;
  font-size: 0.69rem;
  margin-top: 14px;
  color: rgba(var(--cream-rgb), 0.38);
}

/* ─── Policy consent checkbox row ─── */

.auth-body .policy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
  color: rgba(var(--cream-rgb), 0.4);
  font-size: 0.68rem;
  line-height: 1.55;
  cursor: pointer;
}

.auth-body .policy-consent input[type="checkbox"] {
  min-height: unset;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(var(--champagne-rgb), 0.3);
  border-radius: 3px;
  background: transparent;
  accent-color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
}

.auth-body .policy-consent a {
  color: var(--gold);
  text-decoration: none;
}

.auth-body .policy-consent a:hover {
  color: var(--cream);
}

/* ─── Requirements hint ─── */

.auth-body .password-requirements {
  color: rgba(var(--cream-rgb), 0.32);
  font-size: 0.6rem;
  line-height: 1.5;
  padding-left: 0;
}

/* ─── Auth card — enhanced glass ─── */

.auth-body .auth-card {
  border: 1px solid rgba(var(--champagne-rgb), 0.34);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 5%, rgba(var(--cream-rgb), 0.13), transparent 24%),
    radial-gradient(circle at 82% 88%, rgba(var(--gold-rgb), 0.08), transparent 28%),
    linear-gradient(150deg, rgba(var(--cream-rgb), 0.08), rgba(var(--cream-rgb), 0.012) 52%),
    rgba(6, 5, 4, 0.38);
  -webkit-backdrop-filter: blur(42px) saturate(154%);
  backdrop-filter: blur(42px) saturate(154%);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.6),
    0 14px 42px rgba(var(--gold-rgb), 0.08),
    inset 0 1.5px 1px rgba(255, 244, 216, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2);
}

.auth-body .auth-status,
.auth-body .recovery-key-card,
.auth-body .auth-policy-links {
  position: relative;
  z-index: 1;
}


/* ══════════════════════════════════════════════════
   SITE HEADER — Compact horizontal nav bar
   ══════════════════════════════════════════════════ */

.site-header {
  position: relative;
  z-index: 700;
  width: min(1360px, calc(100% - 48px));
  margin: clamp(10px, 1.4vh, 16px) auto 0;
  overflow: visible;
  background:
    radial-gradient(circle at 50% -20%, rgba(var(--champagne-rgb), 0.1), transparent 20rem),
    linear-gradient(180deg, rgba(14, 12, 9, 0.94), rgba(6, 5, 4, 0.96));
  border: 1px solid var(--luxury-border);
  border-radius: 12px;
  box-shadow:
    0 18px 56px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 0, 0, 0.82),
    inset 0 1px rgba(255, 244, 220, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header::before,
.site-header::after {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: min(480px, 54vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.3), #fff2b7, rgba(var(--gold-rgb), 0.3), transparent);
  box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.44);
  content: "";
  transform: translateX(-50%);
}

.site-header::before { top: 0; }
.site-header::after  { bottom: 0; }

/* ─── Header Bar ─── */

.site-header-bar {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 10px clamp(20px, 3vw, 32px);
}

/* ─── Logo in bar (use .site-header prefix for specificity) ─── */

.site-header .site-header-bar .brand-mark {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  flex-shrink: 0;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* Hide subtitle ::after text if present */
.site-header .site-header-bar .brand-mark::after {
  display: none;
}

/* ─── Nav in bar — override old .temptx-home / .compact-site-header rules ─── */

.site-header .site-header-bar .store-nav {
  flex: 1;
  width: auto;
  padding: 0;
  gap: clamp(16px, 3vw, 44px);
  justify-content: center;
  border-block: none;
  overflow: visible;
}

.site-header .site-header-bar .store-nav > * {
  flex: 0 0 auto;
  min-width: 0;
  padding: 0;
  border-left: none;
}

.site-header .site-header-bar .store-nav > * + * {
  border-left: none;
}

/* ─── Account dropdown — reset absolute positioning from old brand-row ─── */

.site-header .site-header-bar .account-dropdown {
  position: relative;
  top: auto;
  right: auto;
  flex-shrink: 0;
  transform: none;
}

.site-header .site-header-bar .store-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.site-header .site-header-bar .store-nav a:hover {
  color: var(--bullion-light);
  text-shadow:
    0 0 14px rgba(var(--gold-rgb), 0.42),
    0 1px 8px rgba(0, 0, 0, 0.6);
}

.site-header .site-header-bar .store-nav a:focus-visible {
  color: var(--bullion-light);
  text-shadow:
    0 0 14px rgba(var(--gold-rgb), 0.42),
    0 1px 8px rgba(0, 0, 0, 0.6);
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}

.site-header .site-header-bar .store-nav a:active,
.site-header .site-header-bar .store-nav a.is-pressed {
  color: var(--gold);
  text-shadow:
    0 0 18px rgba(var(--gold-rgb), 0.54),
    0 1px 8px rgba(0, 0, 0, 0.62);
  transform: translateY(1px);
}

.site-header .site-header-bar .store-nav a.nav-current,
.site-header .site-header-bar .store-nav a[aria-current="page"] {
  color: var(--gold);
  text-shadow:
    0 0 14px rgba(var(--gold-rgb), 0.36),
    0 1px 8px rgba(0, 0, 0, 0.62);
}

.site-header .site-header-bar .profile-tool {
  border: 1px solid transparent;
  transition:
    filter 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.site-header .site-header-bar .profile-tool:hover,
.site-header .site-header-bar .account-dropdown:focus-within .profile-tool {
  filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.42));
  opacity: 1;
}

.site-header .site-header-bar .profile-tool:focus-visible {
  filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.42));
  opacity: 1;
  outline: var(--focus-outline);
  outline-offset: var(--focus-ring-offset);
  border-radius: var(--radius-sm);
}

.site-header .site-header-bar .profile-tool:active,
.site-header .site-header-bar .profile-tool.is-pressed,
.site-header .site-header-bar .account-dropdown:hover .profile-tool {
  filter: drop-shadow(0 0 16px rgba(var(--gold-rgb), 0.52));
  transform: translateY(1px);
}

/* ─── Cinematic/homepage variant — restrained transparency ─── */

.cinematic-background .site-header {
  background: rgba(10, 8, 6, 0.72);
  border-color: rgba(var(--champagne-rgb), 0.22);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(0, 0, 0, 0.7),
    inset 0 1px rgba(255, 244, 220, 0.1);
}

/*
 * Homepage: attach compact nav to the storefront/hero frame.
 * Same width, continuous side borders, top-only radius on header,
 * bottom-only radius on storefront — one even shell, no floating gap.
 */
.temptx-home .site-header {
  box-sizing: border-box;
  width: min(1540px, calc(100% - 52px));
  margin: clamp(12px, 1.6vh, 20px) auto 0;
  border: 1px solid rgba(var(--champagne-rgb), 0.46);
  border-bottom-color: rgba(var(--champagne-rgb), 0.2);
  border-radius: 12px 12px 0 0;
  box-shadow:
    0 -6px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.72),
    inset 0 1px rgba(255, 244, 220, 0.12);
}

.temptx-home .site-header::after {
  display: none;
}

.temptx-home.cinematic-background .site-header,
.cinematic-background.temptx-home .site-header {
  border-color: rgba(var(--champagne-rgb), 0.46);
  border-bottom-color: rgba(var(--champagne-rgb), 0.2);
  background: rgba(10, 8, 6, 0.88);
  box-shadow:
    0 -6px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.72),
    inset 0 1px rgba(255, 244, 220, 0.1);
}

.temptx-home .site-header + .storefront {
  box-sizing: border-box;
  margin-top: 0;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

/* ─── Responsive: stack on small screens ─── */

@media (max-width: 820px) {
  .temptx-home .site-header {
    width: min(100% - 28px, 1540px);
  }
}

@media (max-width: 640px) {
  .temptx-home .site-header {
    width: 100%;
    margin: 0;
    border-inline: 0;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .temptx-home .site-header + .storefront {
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .site-header-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 18px;
  }

  .site-header-bar .store-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
    overflow-x: auto;
  }

  .site-header-bar .account-dropdown {
    margin-left: auto;
  }
}

/* ══════════════════════════════════════════════════
   DESIGN SYSTEM POLISH — a11y, motion, performance
   ══════════════════════════════════════════════════ */

/* Skip / interactive link underline micro-feedback (luxury, not browser-default) */
a:hover {
  text-decoration-thickness: from-font;
}

/* Cards & surfaces: shared enter-feel on fine pointers only */
@media (hover: hover) and (pointer: fine) {
  .advertiser-card,
  .model-card {
    transition:
      transform var(--duration-mid) var(--ease-luxury),
      border-color var(--duration-fast) ease,
      box-shadow var(--duration-mid) var(--ease-soft),
      filter var(--duration-mid) ease;
  }

  .advertiser-card:hover,
  .model-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--gold-rgb), 0.42);
    box-shadow:
      0 22px 56px rgba(0, 0, 0, 0.42),
      0 0 28px rgba(var(--gold-rgb), 0.1);
  }
}

/* Primary CTAs — soft gold shimmer on hover (GPU-light gradient shift) */
@media (hover: hover) and (pointer: fine) {
  .light-btn,
  .auth-submit,
  .pricing-button-primary,
  .directory-primary-button,
  .directory-search-button,
  .models-cta {
    background-size: 140% 140%;
    background-position: 50% 50%;
  }

  .light-btn:hover,
  .auth-submit:hover,
  .pricing-button-primary:hover,
  .directory-primary-button:hover,
  .directory-search-button:hover,
  .models-cta:hover {
    background-position: 30% 40%;
  }
}

/* Dropdown / menu items — clearer keyboard path */
.dropdown-menu a:focus-visible,
.nav-dropdown a:focus-visible,
.account-dropdown a:focus-visible {
  outline: var(--focus-outline);
  outline-offset: -2px;
  background: rgba(var(--gold-rgb), 0.12);
  color: var(--bullion-light);
  box-shadow: none;
}

/* Improve low-contrast secondary copy used as body helper text */
.dir-hero-eyebrow,
.frame-label {
  color: color-mix(in oklch, var(--champagne) 92%, white);
}

@supports not (color: color-mix(in oklch, white, black)) {
  .dir-hero-eyebrow,
  .frame-label {
    color: var(--champagne);
  }
}

/* Content images: avoid layout jank + respect reduced data */
img,
video {
  max-width: 100%;
  height: auto;
}

/* Respect forced-colors (Windows High Contrast) */
@media (forced-colors: active) {
  :root {
    --focus-ring-color: Highlight;
    --focus-outline: 2px solid Highlight;
    --luxury-border: CanvasText;
  }

  .light-btn,
  button,
  .outline-btn,
  a {
    forced-color-adjust: auto;
  }

  :focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }
}

/* Battery / low-power preference: drop ambient GPU layers */
@media (prefers-reduced-motion: reduce), (update: slow) {
  body,
  .cinematic-background,
  .directory-body {
    animation: none !important;
    background-attachment: scroll !important;
  }

  .cinematic-background::before,
  .cinematic-background::after,
  body.directory-body::before,
  body.directory-body::after {
    animation: none !important;
    will-change: auto !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* Mobile: reduce expensive blurs on glass panels */
@media (max-width: 700px) {
  .directory-filters,
  .directory-custom-select-menu,
  .dropdown-menu,
  .age-gate,
  .header-search,
  .nav-dropdown .dropdown-menu {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .category-card {
    will-change: auto;
    transition:
      transform var(--duration-mid) var(--ease-luxury),
      filter var(--duration-mid) ease;
  }

  .category-card:hover,
  .category-card:focus-visible {
    transform: translateY(-2px) scale(1.02);
  }
}

/* Utility: optional gold-pulse accent for featured chips/badges */
.lux-pulse {
  animation: luxGoldPulse 3.6s var(--ease-soft) infinite;
}

.lux-rise {
  animation: luxRise var(--duration-slow) var(--ease-luxury) both;
}

/* Ensure disabled controls are clearly non-interactive */
:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.15);
  pointer-events: none;
}

/* Prefer visible caret & form text on dark fields */
input,
textarea,
select {
  caret-color: var(--gold);
  color-scheme: dark;
}

/* Smooth theme-consistent scrollbar (WebKit / Chromium) */
@supports (scrollbar-color: auto) {
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--gold-rgb), 0.35) rgba(var(--black-rgb), 0.4);
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(var(--black-rgb), 0.55);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.45), rgba(var(--walnut-rgb), 0.7));
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.65), rgba(var(--champagne-rgb), 0.55));
  background-clip: padding-box;
}

/* ══════════════════════════════════════════════════
   DIRECTORY LAYOUT FORCE — two-column desktop grid
   High-specificity override: filters left, cards right
   ══════════════════════════════════════════════════ */

.dir-layout {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
}

@media (min-width: 1024px) {
  .dir-sidebar {
    grid-column: 1 !important;
    width: 100% !important;
  }
  .dir-content {
    grid-column: 2 !important;
  }
}

/* Mobile/tablet: restore stack + drawer (counter the force grid above) */
@media (max-width: 1023px) {
  .dir-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 20px !important;
  }

  .dir-sidebar,
  .dir-content {
    grid-column: auto !important;
  }
}

@media (max-width: 700px) {
  .dir-layout {
    gap: 0 !important;
  }

  .dir-sidebar {
    display: contents !important;
  }
}



/* ══════════════════════════════════════════════════
   DISTRICT — standalone business marketplace
   All styles intentionally scoped to .district-page.
   Bold Editorial: flat, hard-edged black/paper/red,
   using the site's own tokens (no local palette).
   ══════════════════════════════════════════════════ */
.district-page {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(ellipse 55% 40% at 88% 0%, rgba(var(--gold-rgb), 0.07), transparent 55%),
    radial-gradient(ellipse 40% 30% at 8% 18%, rgba(255, 255, 255, 0.03), transparent 50%),
    linear-gradient(180deg, #0c0c0c 0%, var(--black) 40%, #080808 100%);
  font-family: var(--font-sans);
}
.district-page .district-brand-label {
  margin-left: 8px;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.district-page .district-main {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 36px 0 80px;
}
.district-page .district-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* —— Hero —— */
.district-page .district-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.district-page .district-hero-copy { max-width: 560px; }
.district-page .district-hero h1 {
  margin: 0;
  color: var(--cream);
  font: 400 clamp(3rem, 6vw, 4.6rem) / 0.94 var(--font-display);
  letter-spacing: -0.03em;
}
.district-page .district-support {
  max-width: 420px;
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.district-page .district-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.district-page .district-search-field {
  display: flex;
  flex: 1 1 260px;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
}
.district-page .district-search-icon { display: grid; color: var(--gold); opacity: 0.9; }
.district-page .district-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  color: var(--cream);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
}
.district-page .district-search input::placeholder { color: rgba(var(--cream-rgb), 0.38); }
.district-page .district-browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--cream);
  background: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-soft), border-color var(--duration-fast) var(--ease-soft);
}
.district-page .district-browse-btn:hover {
  background: var(--bullion-rich);
  border-color: var(--bullion-rich);
}
.district-page .district-browse-icon { display: grid; }

/* Hero glance panel — live storefront/city/category counts */
.district-page .district-hero-glance {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px 24px;
}
.district-page .district-glance-title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.district-page .district-glance-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.district-page .district-glance-stat strong {
  display: block;
  color: var(--cream);
  font: 400 1.7rem var(--font-display);
}
.district-page .district-glance-stat span {
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.district-page .district-glance-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

/* —— Visual category row —— */
.district-page .district-category-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
}
.district-page .district-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px 16px;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-soft), border-color var(--duration-fast) var(--ease-soft);
  border: 1px solid transparent;
}
.district-page .district-category-item:hover {
  border-color: var(--line);
  background: rgba(var(--gold-rgb), 0.05);
}
.district-page .district-category-icon { color: var(--gold); }
.district-page .district-category-item strong {
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.district-page .district-category-item small {
  color: var(--muted);
  font-size: 0.68rem;
}

/* —— Featured business banner —— */
.district-page .district-featured { margin-top: 42px; }
.district-page .district-featured-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.district-page .district-featured-media {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  color: rgba(var(--gold-rgb), 0.4);
  font: 400 4rem / 1 var(--font-display);
  letter-spacing: 0.08em;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35)),
    radial-gradient(circle at 30% 20%, rgba(var(--gold-rgb), 0.18), transparent 42%),
    linear-gradient(145deg, #221715 0%, #0e0e0e 55%, #1a1210 100%);
}
.district-page .district-featured-media[data-tone="2"] { background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35)), radial-gradient(circle at 70% 30%, rgba(var(--gold-rgb), 0.12), transparent 45%), linear-gradient(150deg, #1e1815, #0a0a0a 60%, #14100e); }
.district-page .district-featured-media[data-tone="3"] { background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35)), radial-gradient(circle at 40% 80%, rgba(74, 5, 9, 0.42), transparent 45%), linear-gradient(150deg, #1c1210, #090909 60%, #150c0b); }
.district-page .district-featured-media[data-tone="4"] { background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35)), radial-gradient(circle at 20% 40%, rgba(209, 52, 58, 0.16), transparent 45%), linear-gradient(150deg, #1e1414, #0a0a0a 60%, #171011); }
.district-page .district-featured-media[data-tone="5"] { background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35)), radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.05), transparent 45%), linear-gradient(150deg, #1a1a1a, #090909 60%, #131313); }
.district-page .district-featured-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: var(--soft-black);
}
.district-page .district-featured-body h3 {
  margin: 0;
  color: var(--cream);
  font: 400 1.75rem / 1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.district-page .district-featured-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.district-page .district-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}
.district-page .district-featured-meta > span,
.district-page .district-featured-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.district-page .district-featured-verified { color: var(--gold); }
.district-page .district-featured-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}
.district-page .district-featured-cta {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.district-page .district-featured-cta:hover { text-decoration: underline; }

/* —— Explore / precincts — directory board —— */
.district-page .district-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.district-page .district-section-heading h2 {
  margin: 0;
  color: var(--cream);
  font: 400 clamp(1.35rem, 2.2vw, 1.7rem) / 1.1 var(--font-display);
  letter-spacing: -0.015em;
}
.district-page .district-section-heading > p,
.district-page .district-section-link {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.district-page .district-section-link:hover { text-decoration: underline; }
.district-page .district-precinct-section { margin-top: 44px; }
.district-page .district-precincts {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
}
.district-page .district-precinct {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  column-gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-soft), padding-left var(--duration-fast) var(--ease-soft);
}
.district-page .district-precincts .district-precinct:last-child { border-bottom: 0; }
.district-page .district-precinct:hover {
  background: rgba(var(--gold-rgb), 0.06);
  padding-left: 28px;
}
.district-page .district-precinct > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  color: var(--gold);
  font: 1.5rem / 1 var(--font-display);
}
.district-page .district-precinct strong {
  grid-column: 2;
  grid-row: 1;
  color: var(--cream);
  font: 400 1.05rem / 1.2 var(--font-display);
  letter-spacing: 0.01em;
}
.district-page .district-precinct small {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
}
.district-page .district-precinct::after {
  grid-column: 3;
  grid-row: 1 / span 2;
  content: "→";
  color: var(--gold);
  font-weight: 700;
}
.district-page .precinct-education::after {
  content: "External";
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* —— Compact storefront cards —— */
.district-page .district-businesses { margin-top: 44px; }
.district-page .district-filters-panel {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: var(--soft-black);
}
.district-page .district-filters-panel > summary {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.district-page .district-filters-panel > summary::-webkit-details-marker { display: none; }
.district-page .district-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 14px;
  border: 0;
  background: transparent;
}
.district-page .district-filter-title {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
}
.district-page .district-filter-title button {
  border: 0;
  color: var(--gold);
  background: none;
  font: inherit;
  cursor: pointer;
}
.district-page .district-filters label {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
}
.district-page .district-filters input,
.district-page .district-filters select {
  width: 100%;
  min-height: 36px;
  margin-top: 5px;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(0, 0, 0, 0.35);
  font: inherit;
  font-size: 0.72rem;
}
.district-page .district-toggle {
  display: flex !important;
  align-items: center;
  gap: 8px;
  align-self: end;
  min-height: 36px;
  color: var(--muted) !important;
}
.district-page .district-toggle input {
  width: 15px;
  min-height: 15px;
  margin: 0;
  accent-color: var(--gold);
}
.district-page .district-business-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.district-page .district-business-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color var(--duration-fast) var(--ease-soft), transform var(--duration-mid) var(--ease-luxury);
}
.district-page .district-business-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.district-page .district-business-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.district-page .district-business-media {
  position: relative;
  display: grid;
  min-height: 132px;
  place-items: center;
  color: rgba(var(--gold-rgb), 0.45);
  background:
    radial-gradient(circle at 35% 20%, rgba(var(--gold-rgb), 0.2), transparent 40%),
    linear-gradient(150deg, #241816, #0c0c0c 70%);
  font: 400 1.8rem / 1 var(--font-display);
  letter-spacing: 0.06em;
}
.district-page .district-business-card[data-tone="2"] .district-business-media { background: radial-gradient(circle at 70% 25%, rgba(var(--gold-rgb), 0.13), transparent 42%), linear-gradient(150deg, #1f1a18, #0b0b0b 70%); }
.district-page .district-business-card[data-tone="3"] .district-business-media { background: radial-gradient(circle at 40% 70%, rgba(74, 5, 9, 0.42), transparent 42%), linear-gradient(150deg, #1c1210, #0b0b0b 70%); }
.district-page .district-business-card[data-tone="4"] .district-business-media { background: radial-gradient(circle at 25% 30%, rgba(209, 52, 58, 0.18), transparent 42%), linear-gradient(150deg, #1e1414, #0b0b0b 70%); }
.district-page .district-business-card[data-tone="5"] .district-business-media { background: radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.05), transparent 42%), linear-gradient(150deg, #1a1a1a, #0b0b0b 70%); }
.district-page .district-business-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
}
.district-page .district-business-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.district-page .district-business-body h3 {
  margin: 0;
  color: var(--cream);
  font: 400 1rem / 1.2 var(--font-display);
}
.district-page .district-verified-mark {
  display: grid;
  color: var(--gold);
  flex: 0 0 auto;
}
.district-page .district-business-kind {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.district-page .district-business-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.64rem;
}
.district-page .district-business-place {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.district-page .district-business-place span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.district-page .district-business-pill {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.district-page .district-empty {
  margin-top: 18px;
  color: var(--muted);
}

/* —— Owner strip —— */
.district-page .district-owner-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  background: var(--soft-black);
}
.district-page .district-owner-strip h2 {
  margin: 0 0 6px;
  color: var(--cream);
  font: 400 1.6rem / 1.1 var(--font-display);
}
.district-page .district-owner-strip p:not(.district-kicker) {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 0.84rem;
}
.district-page .district-gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 0;
  color: var(--cream);
  background: var(--gold);
  font: 800 0.72rem var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-soft), border-color var(--duration-fast) var(--ease-soft);
}
.district-page .district-gold-button:hover {
  background: var(--bullion-rich);
  border-color: var(--bullion-rich);
}

/* —— Footer —— */
.district-page .district-footer {
  display: grid;
  grid-template-columns: 1.25fr 2.3fr 1.1fr;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  background: #080808;
}
.district-page .district-footer .home-footer-bottom { grid-column: 1 / -1; }
.district-page .district-footer .logo small {
  margin-left: 7px;
  color: var(--gold);
  font: 700 0.56rem var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.district-page .district-social-links { display: flex; gap: 12px; margin-top: 14px; }
.district-page .district-social-links a {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}
.district-page .district-footer-signup { align-self: start; }
.district-page .district-footer-signup label {
  color: var(--cream);
  font: 400 1rem var(--font-display);
}
.district-page .district-footer-signup p {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 0.67rem;
}
.district-page .district-footer-signup div {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
}
.district-page .district-footer-signup input {
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 0;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.35);
}
.district-page .district-footer-signup button {
  width: 42px;
  border: 0;
  border-radius: 0;
  color: var(--cream);
  background: var(--gold);
  cursor: pointer;
}
.district-page .district-footer-signup button:hover { background: var(--bullion-rich); }

@media (max-width: 1100px) {
  .district-page .district-business-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .district-page .district-hero { grid-template-columns: 1fr; gap: 24px; }
  .district-page .district-category-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .district-page .district-featured-banner { grid-template-columns: 1fr; }
  .district-page .district-filters { grid-template-columns: 1fr 1fr; }
  .district-page .district-owner-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 650px) {
  .district-page .district-main { width: min(100% - 28px, 1180px); padding-top: 22px; }
  .district-page .district-hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .district-page .district-search { flex-direction: column; }
  .district-page .district-browse-btn { width: 100%; }
  .district-page .district-category-row {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 18px;
  }
  .district-page .district-category-item { flex: 0 0 120px; }
  .district-page .district-precinct { grid-template-columns: 36px 1fr auto; padding: 14px 16px; }
  .district-page .district-filters { grid-template-columns: 1fr; }
  .district-page .district-business-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .district-page .district-footer { grid-template-columns: 1fr; gap: 20px; }
  .district-page .district-footer .home-footer-bottom { grid-column: auto; }
}
@media (max-width: 420px) {
  .district-page .district-business-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .district-page .district-precinct,
  .district-page .district-business-card {
    transition: none;
  }
  .district-page .district-precinct:hover,
  .district-page .district-business-card:hover {
    transform: none;
  }
}

/* ══════════════════════════════════════════════════
   BOLD EDITORIAL — shared header / banner / footer / buttons
   Flat, hard-edged, black/paper/red system layered over the
   token-driven styles above (same custom properties, new shapes).
   ══════════════════════════════════════════════════ */

.site-header {
  position: relative;
  z-index: 700;
  width: 100%;
  margin: 0;
  overflow: visible;
  background: var(--black);
  border: none;
  border-bottom: 2px solid var(--cream);
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.cinematic-background .site-header {
  background: var(--black);
  border-color: var(--cream);
  box-shadow: none;
}

.site-header::before,
.site-header::after {
  content: none;
  display: none;
}

.announcement {
  min-height: 0;
  display: block;
  place-items: unset;
  overflow: hidden;
  border-bottom: 2px solid var(--cream);
  background: var(--champagne-deep);
  color: var(--cream);
  padding: 10px 0;
}

.temptx-home .announcement {
  border-bottom: 2px solid var(--cream);
}

.tx-banner-track {
  display: flex;
  width: max-content;
  animation: txBannerScroll 55s linear infinite;
}

/* Loops by exactly one phrase-block's width, however many blocks
   script.js has cloned in (see "Announcement banner" comment there) —
   always a clean loop, regardless of how many copies exist. */
@keyframes txBannerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / var(--tx-banner-copies, 8))); }
}

@media (prefers-reduced-motion: reduce) {
  .tx-banner-track { animation: none; }
}

.tx-banner-set {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  padding-right: 14px;
}

.tx-banner-set .tx-dot {
  color: var(--muted);
}

.site-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 3vw, 32px);
}

.site-header .site-header-bar .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  flex-shrink: 0;
  letter-spacing: 0.01em;
  line-height: 1;
  transform: none;
  filter: none;
}

.tx-nav-left {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  min-width: 0;
}

.site-header .site-header-bar .store-nav {
  flex: 0 1 auto;
  width: auto;
  padding: 0;
  gap: clamp(10px, 1.4vw, 17px);
  justify-content: flex-start;
  border-block: none;
  overflow: visible;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-header .site-header-bar .store-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  color: var(--cream);
  transition: color 180ms ease;
}

.site-header .site-header-bar .store-nav a:hover,
.site-header .site-header-bar .store-nav a:focus-visible {
  color: var(--cream);
  text-shadow: none;
  outline: none;
}

.site-header .site-header-bar .store-nav a:active,
.site-header .site-header-bar .store-nav a.is-pressed {
  color: var(--cream);
  text-shadow: none;
  transform: none;
}

.site-header .site-header-bar .store-nav a.nav-current,
.site-header .site-header-bar .store-nav a[aria-current="page"] {
  color: var(--cream);
  text-shadow: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.site-header .site-header-bar .account-dropdown {
  position: relative;
  top: auto;
  right: auto;
  flex-shrink: 0;
  transform: none;
}

.site-header .site-header-bar .profile-tool {
  border: none;
  filter: none;
}

.site-header .site-header-bar .profile-tool:hover,
.site-header .site-header-bar .account-dropdown:focus-within .profile-tool,
.site-header .site-header-bar .profile-tool:active,
.site-header .site-header-bar .profile-tool.is-pressed,
.site-header .site-header-bar .account-dropdown:hover .profile-tool {
  filter: none;
  transform: none;
}

.tx-join-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border: 2px solid var(--gold);
  padding: 11px 24px;
  border-radius: 0;
  background: var(--gold);
  transition: background 180ms ease, border-color 180ms ease;
}

.tx-join-btn:hover,
.tx-join-btn:focus-visible {
  color: var(--cream);
  background: var(--bullion-rich);
  border-color: var(--bullion-rich);
}

.tx-signin-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
}

.tx-signin-link:hover,
.tx-signin-link:focus-visible {
  color: var(--muted);
}

/* ─── Footer wordmark now inherits Anton via var(--font-display) already ─── */

.home-footer-brand .logo { letter-spacing: 0.01em; }

/* ─── Buttons — flat, square-edged ─── */

.light-btn,
button,
.outline-btn {
  border-radius: 0;
  box-shadow: none;
}

.hero-overlay .light-btn {
  border-radius: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-overlay .light-btn:hover,
.hero-overlay .light-btn:focus-visible {
  transform: none;
  box-shadow: none;
}

/* ─── Mobile nav toggle — hamburger button + collapsible nav panel ───
   Hidden entirely on desktop; below 900px it replaces the always-visible
   .store-nav link row (which .tx-nav-left .store-nav { display:none }
   removes outright) with a button that reveals the same links as a
   full-width dropdown panel. Visibility is driven purely by the button's
   aria-expanded state via the sibling combinator below, so script.js only
   has to flip one attribute — no class-name syncing between CSS and JS. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header-bar { flex-wrap: nowrap; }

  .nav-toggle { display: inline-flex; }

  .site-header .site-header-bar .store-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 18px;
    margin: 0;
    background: var(--black);
    border-bottom: 2px solid var(--cream);
    z-index: 650;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-toggle[aria-expanded="true"] ~ .store-nav {
    display: flex;
  }

  .site-header .site-header-bar .store-nav a {
    justify-content: flex-start;
    width: 100%;
    padding: 14px clamp(20px, 6vw, 32px);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--line);
  }

  .site-header .site-header-bar .store-nav a.nav-current,
  .site-header .site-header-bar .store-nav a[aria-current="page"] {
    border-bottom: 1px solid var(--line);
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: calc(clamp(20px, 6vw, 32px) - 3px);
  }
}

/* Body-level scroll lock while the mobile nav panel is open (toggled by
   script.js alongside aria-expanded) — the panel isn't position:fixed, so
   without this the page can scroll the open panel out from under itself. */
body.nav-open {
  overflow: hidden;
}

/* ══════════════════════════════════════════════════
   BOLD EDITORIAL — homepage-only hero / pillars / featured
   ══════════════════════════════════════════════════ */

.tx-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-bottom: 2px solid var(--cream);
  position: relative;
  overflow: hidden;
}

/* Full-width photo that bleeds behind both columns */
.tx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right,
      #0a0a0a 0%,
      #0a0a0a 18%,
      rgba(10, 10, 10, 0.85) 34%,
      rgba(10, 10, 10, 0.22) 52%,
      rgba(10, 10, 10, 0.08) 66%,
      transparent 78%,
      rgba(10, 10, 10, 0.55) 92%,
      #0a0a0a 100%),
    url("assets/temptx-hero-photo.jpg");
  background-size: cover, contain;
  background-position: right center;
  background-repeat: no-repeat;
}

.tx-hero-copy {
  padding: clamp(40px, 6vw, 70px) clamp(20px, 4vw, 48px) 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.tx-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 700;
}

.tx-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 5.75rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  color: var(--cream);
}

.tx-hero h1 .tx-x-mark {
  font-style: normal;
  color: var(--gold);
  font-size: 1.18em;
  display: inline-block;
  line-height: 1;
  vertical-align: -0.03em;
}

.tx-hero-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 44px;
  flex-wrap: wrap;
  border-top: 2px solid var(--cream);
  margin-top: 30px;
  padding-top: 20px;
  padding-bottom: 56px;
}

.tx-hero-mission {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 320px;
  margin: 0;
}

.tx-hero-actions {
  display: flex;
  gap: 12px;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.tx-btn-solid {
  background: var(--gold);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  text-decoration: none;
  display: inline-block;
}

.tx-btn-outline {
  border: 2px solid var(--cream);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  text-decoration: none;
  display: inline-block;
}

.tx-hero-art {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  z-index: 1;
  /* border-left removed — photo now spans full hero width */
}

.tx-hero-art::before {
  /* Photo handled by .tx-hero::before; only keep the warm gold accent */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(var(--gold-rgb), 0.25), transparent 55%);
}

.tx-hero-art .tx-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.tx-hero-art .tx-frame-line {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(var(--cream-rgb), 0.22);
}

.tx-hero-art .tx-cap {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--cream-rgb), 0.55);
}

.tx-section {
  padding: clamp(44px, 7vw, 76px) clamp(20px, 4vw, 48px);
  border-bottom: 2px solid var(--cream);
}

.tx-section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.tx-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 14px;
}

.tx-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 16px;
  color: var(--cream);
}

.tx-section-intro {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

.tx-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(var(--cream-rgb), 0.25);
}

.tx-pillar {
  padding: 34px 28px;
  border-right: 1px solid rgba(var(--cream-rgb), 0.25);
}

.tx-pillar:last-child { border-right: none; }

.tx-pillar .tx-mark {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin: 0 0 22px;
  display: block;
}

.tx-pillar .tx-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tx-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--cream);
}

.tx-pillar p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.tx-section--flush {
  border-bottom: none;
}

.tx-feat-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.tx-feat-head-row .tx-section-head {
  margin-bottom: 0;
}

.tx-section-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-decoration: none;
}

.tx-escort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 44px;
  background: rgba(var(--cream-rgb), 0.25);
}

.tx-escort-card {
  background: var(--black);
  text-decoration: none;
  color: var(--cream);
  display: flex;
  flex-direction: column;
}

.tx-escort-photo {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.tx-escort-photo::after {
  content: attr(data-initial);
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-family: var(--font-serif-fallback, Georgia, serif);
  font-style: italic;
  font-size: 4rem;
  color: rgba(var(--cream-rgb), 0.16);
  line-height: 1;
}

.tx-escort-photo-a { background: radial-gradient(120% 90% at 30% 10%, #3a1416, transparent 60%), linear-gradient(200deg, #1c1010, #0a0a0a 75%); }
.tx-escort-photo-b { background: radial-gradient(120% 90% at 70% 15%, #241f1a, transparent 60%), linear-gradient(200deg, #181614, #0a0a0a 75%); }
.tx-escort-photo-c { background: radial-gradient(120% 90% at 50% 0%, #2a1012, transparent 60%), linear-gradient(210deg, #161212, #0a0a0a 75%); }

.tx-escort-body { padding: 22px 22px 28px; }
.tx-escort-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--cream);
}
.tx-escort-body small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.tx-escort-body span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .tx-hero { grid-template-columns: 1fr; }
  .tx-hero-art { border-left: none; border-top: none; min-height: 260px; }
  .tx-pillars { grid-template-columns: 1fr 1fr; }
  .tx-pillar { border-bottom: 1px solid rgba(var(--cream-rgb), 0.25); }
  .tx-escort-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   BOLD EDITORIAL — homepage-specific overrides
   (.temptx-home .site-header carried the old floating-pill
   shell at higher specificity than a bare .site-header rule;
   matched here so the flat full-bleed header always wins)
   ══════════════════════════════════════════════════ */

.temptx-home .site-header,
.temptx-home.cinematic-background .site-header,
.cinematic-background.temptx-home .site-header {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: none;
  border-bottom: 2px solid var(--cream);
  border-radius: 0;
  background: var(--black);
  box-shadow: none;
}

.temptx-home .site-header::after {
  display: none;
}

.temptx-home .site-header + .storefront {
  margin-top: 0;
  border: none;
  border-radius: 0;
}

@media (max-width: 900px) {
  .temptx-home .site-header,
  .temptx-home .storefront,
  .temptx-home .store-header {
    width: 100%;
    margin-inline: 0;
    border-inline: 0;
    border-radius: 0;
  }

  .temptx-home .account-dropdown {
    right: auto;
  }
}

/* ══════════════════════════════════════════════════
   LOGO FLIP + PAGE-LOAD PRELOADER + QUICK TRANSITIONS
   Layers motion + the approved bracket wordmark onto the
   persistent nav logo, splash and transition overlay that
   script.js injects on every page. Scoped tightly to the
   header nav mark (.site-header .site-header-bar .brand-mark)
   plus the splash/exit overlay — the large hero lockup with
   the tagline, the footer "TemptX", and the age-gate heading
   are untouched and keep the original gold-gradient treatment.
   ══════════════════════════════════════════════════ */

.brand-x {
  display: inline-block;
  animation: tx-flip 4s cubic-bezier(.6, .05, .2, 1) infinite;
}

@keyframes tx-flip {
  0%, 55% { transform: rotateY(0deg); }
  70%     { transform: rotateY(360deg); }
  100%    { transform: rotateY(360deg); }
}

/* ── Bracket wordmark — nav logo only ──
   "[" / "]" are injected as real DOM spans by script.js rather than
   ::before/::after, because ::after is already the tagline slot on
   the large hero brand-mark variant elsewhere in this file — reusing
   it here would collide with that on any page using both. */
.site-header .site-header-bar .brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand-bracket {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}

.site-header .site-header-bar .brand-bracket {
  font-size: 1.35em;
  font-weight: 400;
}

.site-header .site-header-bar .brand-bracket-l {
  margin-right: 0.22em;
}

.site-header .site-header-bar .brand-bracket-r {
  margin-left: 0.22em;
}

.site-header .site-header-bar .brand-word {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  -webkit-text-stroke: 0;
  filter: none;
  text-shadow: none;
  color: #e8e8e8;
  font-weight: 700;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.site-header .site-header-bar .brand-x {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  color: #d4341f;
}

/* Full-screen splash — first page load of a browser session only
   (see script.js). Reuses .brand-word / .brand-x so it automatically
   matches the site's real gold-gradient wordmark treatment. */
#tx-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tx-loader-out 700ms ease forwards;
  animation-delay: 2300ms;
}
#tx-loader.tx-skip {
  display: none !important;
}
@keyframes tx-loader-out {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.tx-loader-mark {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.tx-loader-mark .brand-bracket {
  font-size: clamp(1.8rem, 5.4vw, 3.7rem);
  font-weight: 400;
}
.tx-loader-mark .brand-bracket-l {
  margin-right: 0.2em;
  animation: tx-slide-l 0.9s cubic-bezier(.2, .8, .2, 1) both;
}
.tx-loader-mark .brand-bracket-r {
  margin-left: 0.2em;
  animation: tx-slide-r 0.9s cubic-bezier(.2, .8, .2, 1) both;
}
.tx-loader-mark .brand-word {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #e8e8e8;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  -webkit-text-stroke: 0;
  filter: none;
  text-shadow: none;
  animation: tx-fade-up 0.9s 0.25s ease both;
}
.tx-loader-mark .brand-x {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 700;
  color: #d4341f;
  transform-style: preserve-3d;
  animation:
    tx-pop-in 0.6s 0.85s cubic-bezier(.34, 1.56, .64, 1) both,
    tx-flip 4s 1.5s cubic-bezier(.6, .05, .2, 1) infinite;
}
@keyframes tx-fade-up { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes tx-pop-in  { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes tx-slide-l { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes tx-slide-r { from { transform: translateX(-40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Quick exit transition — every internal nav click AFTER the first
   page load this session. See script.js for the sessionStorage logic. */
#tx-exit-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
#tx-exit-overlay.tx-exit-active {
  opacity: 1;
  pointer-events: all;
}
#tx-exit-overlay .brand-x {
  font-size: 2.4rem;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  color: #d4341f;
  display: inline-block;
  transform-style: preserve-3d;
}
#tx-exit-overlay.tx-exit-active .brand-x {
  animation: tx-flip-once 280ms linear both;
}
@keyframes tx-flip-once { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .brand-x,
  .tx-loader-mark .brand-word,
  .tx-loader-mark .brand-x,
  #tx-loader,
  #tx-exit-overlay .brand-x {
    animation: none !important;
  }
  #tx-loader {
    display: none !important;
  }
}
