/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Montserrat:wght@400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --font-serif: 'Cormorant', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, sans-serif;

  /* Light (day) */
  --bg-page:       #f7f5f0;
  --bg-surface:    #ffffff;
  --bg-raised:     #ffffff;
  --bg-subtle:     #f0ece4;
  --text-primary:  #0f0f0f;
  --text-secondary:#3d3d3d;
  --text-muted:    #6b6b6b;
  --text-accent:   #9a7540;
  --border:        #d8d2c8;
  --border-subtle: #e8e3da;
  --accent:        #b08040;
  --accent-text:   #1a0e04;
  --btn-primary-bg:#1a1a1a;
  --btn-primary-fg:#ffffff;
  --nav-bg:        rgba(255,255,255,0.92);
  --nav-border:    #ece8df;
  --card-bg:       #ffffff;
  --card-border:   #ece8df;
  --badge-ph-bg:   #f5f0e8;
  --badge-ph-fg:   #8a6a40;
  --badge-vi-bg:   #eaeef5;
  --badge-vi-fg:   #2a4070;
  --badge-co-bg:   #eaf3ec;
  --badge-co-fg:   #1e5030;
  --av-ph-bg:      #f5f0e8;
  --av-ph-fg:      #a08060;
  --av-vi-bg:      #eaeef5;
  --av-vi-fg:      #3a5080;
  --av-co-bg:      #eaf3ec;
  --av-co-fg:      #2d6040;
  --step-num:      #e8e3da;
  --step-num-fg:   #c8b89a;
  --pjv-bg:        #fff;
  --pjv-border:    #e8e3da;
  --pjv-tag-bg:    #f0ece4;
  --pjv-tag-fg:    #8a6a40;
  --footer-bg:     #1a1a1a;
  --footer-fg:     #d0c8b8;
  --footer-muted:  #888;
  --bnav-bg:       #ffffff;
  --bnav-border:   #ece8df;
  --bnav-fg:       #bbbbbb;
  --bnav-active:   #1a1a1a;
  --hero-grid:     rgba(180,165,140,0.12);
  --post-job-bg:   #1a1a1a;
  --post-job-fg:   #f0e8d8;
  --post-job-muted:#888;
  --city-color:    #050505;
}

@media (prefers-color-scheme: dark) {
  :root { --is-dark: 1; }
}

[data-theme="dark"] {
  --bg-page:       #0d0c0b;
  --bg-surface:    #141310;
  --bg-raised:     #191917;
  --bg-subtle:     #1a1a18;
  --text-primary:  #f5ede0;
  --text-secondary:#c0b8a8;
  --text-muted:    #888880;
  --text-accent:   #d4a860;
  --border:        #2a2a28;
  --border-subtle: #222220;
  --accent:        #c8a26a;
  --accent-text:   #1a0e04;
  --btn-primary-bg:#c8a26a;
  --btn-primary-fg:#1a0e04;
  --nav-bg:        rgba(13,12,11,0.95);
  --nav-border:    #222220;
  --card-bg:       #141310;
  --card-border:   #222220;
  --badge-ph-bg:   #2a1e0a;
  --badge-ph-fg:   #c8a26a;
  --badge-vi-bg:   #0a1020;
  --badge-vi-fg:   #6a90c0;
  --badge-co-bg:   #0a180a;
  --badge-co-fg:   #6aaa80;
  --av-ph-bg:      #2a1e0a;
  --av-ph-fg:      #c8a26a;
  --av-vi-bg:      #0a1020;
  --av-vi-fg:      #6a90c0;
  --av-co-bg:      #0a180a;
  --av-co-fg:      #6aaa80;
  --step-num:      #1e1c18;
  --step-num-fg:   #5a4a30;
  --pjv-bg:        #141310;
  --pjv-border:    #2a2820;
  --pjv-tag-bg:    #2a1e0a;
  --pjv-tag-fg:    #c8a26a;
  --footer-bg:     #080706;
  --footer-fg:     #d0c8b8;
  --footer-muted:  #555;
  --bnav-bg:       #0d0c0b;
  --bnav-border:   #222220;
  --bnav-fg:       #444440;
  --bnav-active:   #c8a26a;
  --hero-grid:     rgba(200,162,106,0.06);
  --post-job-bg:   #080706;
  --post-job-fg:   #f0e8d8;
  --post-job-muted:#666;
  --city-color:    #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-page:       #0d0c0b;
    --bg-surface:    #141310;
    --bg-raised:     #191917;
    --bg-subtle:     #1a1a18;
    --text-primary:  #f5ede0;
    --text-secondary:#c0b8a8;
    --text-muted:    #888880;
    --text-accent:   #d4a860;
    --border:        #2a2a28;
    --border-subtle: #222220;
    --accent:        #c8a26a;
    --accent-text:   #1a0e04;
    --btn-primary-bg:#c8a26a;
    --btn-primary-fg:#1a0e04;
    --nav-bg:        rgba(13,12,11,0.95);
    --nav-border:    #222220;
    --card-bg:       #141310;
    --card-border:   #222220;
    --badge-ph-bg:   #2a1e0a;
    --badge-ph-fg:   #c8a26a;
    --badge-vi-bg:   #0a1020;
    --badge-vi-fg:   #6a90c0;
    --badge-co-bg:   #0a180a;
    --badge-co-fg:   #6aaa80;
    --av-ph-bg:      #2a1e0a;
    --av-ph-fg:      #c8a26a;
    --av-vi-bg:      #0a1020;
    --av-vi-fg:      #6a90c0;
    --av-co-bg:      #0a180a;
    --av-co-fg:      #6aaa80;
    --step-num:      #1e1c18;
    --step-num-fg:   #5a4a30;
    --pjv-bg:        #141310;
    --pjv-border:    #2a2820;
    --pjv-tag-bg:    #2a1e0a;
    --pjv-tag-fg:    #c8a26a;
    --footer-bg:     #080706;
    --footer-fg:     #d0c8b8;
    --footer-muted:  #555;
    --bnav-bg:       #0d0c0b;
    --bnav-border:   #222220;
    --bnav-fg:       #444440;
    --bnav-active:   #c8a26a;
    --hero-grid:     rgba(200,162,106,0.06);
    --post-job-bg:   #080706;
    --post-job-fg:   #f0e8d8;
    --post-job-muted:#666;
    --city-color:    #ffffff;
  }
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── LAYOUT ── */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  min-height: 48px;
  touch-action: manipulation;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  min-height: 48px;
  touch-action: manipulation;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--text-muted); }

/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.section-title em { font-style: italic; color: var(--text-accent); }
.section-header { margin-bottom: 48px; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-mark {
  /* Square monogram — no crop needed, so contain rather than cover.
     Sized up to stand out inside the 64px nav. */
  height: 56px;
  width: 56px;
  display: block;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 10px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.nav-logo-slogan {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-accent);
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-logo-mark {
  height: 64px;
  width: 64px;
  display: block;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  border-radius: 12px;
}
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--footer-fg);
  display: block;
}
.footer-logo-slogan {
  font-family: var(--font-sans);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: color 0.2s, border-color 0.2s;
}
.theme-toggle:hover { color: var(--text-primary); }
.nav-cta { padding: 10px 20px; min-height: 40px; font-size: 11px; }
.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 8px 24px 16px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-mobile-menu .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 20px;
  min-height: 50px;
  border-bottom: none;
  border-radius: 999px;
}

/* Dashboard pill in the mobile menu — gold to match the site's primary
   actions, and readable on both the light and dark grounds. */
.nav-mobile-menu a#mob-dashboard {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0 4px;
  padding: 15px 20px;
  min-height: 50px;
  border: none;
  border-bottom: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.2s, transform 0.12s;
}
.nav-mobile-menu a#mob-dashboard:hover { background: var(--text-accent); }
.nav-mobile-menu a#mob-dashboard:active { transform: scale(0.985); }

/* Sign out sits directly under it, quiet by comparison */
.nav-mobile-menu a#mob-signout {
  justify-content: center;
  text-align: center;
  border-bottom: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-page);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 80px;
  max-width: 720px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 20px;
  opacity: 0;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-italic { font-style: italic; color: var(--text-accent); }
.hero-line-inner { display: block; transform: translateY(110%); }
.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 36px;
  opacity: 0;
}
.hero-signup-mobile { display: none !important; }

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}
.stat-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  animation: scrollFade 2s ease 2s forwards;
}
.hero-scroll-hint i { font-size: 14px; animation: bounce 1.6s ease infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }
@keyframes scrollFade { to { opacity: 1; } }

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step { position: relative; }
.step-num {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  color: var(--step-num);
  line-height: 1;
  margin-bottom: -16px;
  color: var(--step-num-fg);
}
.step-icon {
  font-size: 28px;
  color: var(--text-accent);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── DIRECTORY ── */
.directory {
  padding: 100px 0 80px;
  background: var(--bg-page);
}
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-chip {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  min-height: 44px;
  touch-action: manipulation;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--text-muted); color: var(--text-primary); }
.filter-chip.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
}
.filter-dropdowns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-select {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 9px 34px 9px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-primary);
  min-height: 40px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-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='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s;
}
.filter-select:focus { border-color: var(--accent); }
.rate-filter-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}
.rate-filter-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}
.rate-slider {
  width: 100%;
  accent-color: var(--accent);
  height: 4px;
  cursor: pointer;
}
/* Legacy alias — no longer used but keep for any references */
.state-select { font-family: var(--font-sans); font-size: 12px; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* PROFILE CARD */
.profile-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  touch-action: manipulation;
  opacity: 0;
  transform: translateY(24px);
}
.profile-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}
.avatar-ph { background: var(--av-ph-bg); color: var(--av-ph-fg); }
.avatar-vi { background: var(--av-vi-bg); color: var(--av-vi-fg); }
.avatar-co { background: var(--av-co-bg); color: var(--av-co-fg); }
.card-info { flex: 1; min-width: 0; }
.card-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-location {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--city-color);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-specialty-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  align-self: flex-start;
  margin-left: auto;
}
.badge-ph { background: var(--badge-ph-bg); color: var(--badge-ph-fg); }
.badge-vi { background: var(--badge-vi-bg); color: var(--badge-vi-fg); }
.badge-co { background: var(--badge-co-bg); color: var(--badge-co-fg); }
.card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.meta-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}
.card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.card-rate {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}
.card-rate span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.btn-message {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-accent);
  border-color: var(--text-accent);
  opacity: 0.8;
  touch-action: manipulation;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.btn-message:hover { opacity: 1; background: var(--badge-ph-bg); }

/* ── POST A JOB ── */
.post-job {
  background: var(--post-job-bg);
  padding: 100px 0;
}
.post-job-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.post-job-text .section-eyebrow { color: var(--text-accent); }
.post-job-text .section-title { color: var(--post-job-fg); }
.post-job-text p {
  font-size: 15px;
  font-weight: 300;
  color: var(--post-job-muted);
  line-height: 1.7;
  margin: 20px 0 32px;
}
.post-job-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.pjv-card {
  display: none; /* replaced by pjv-mobile-jobs on all screen sizes */
}
.pjv-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--pjv-tag-bg);
  color: var(--pjv-tag-fg);
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}
.pjv-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.pjv-detail {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.pjv-applicants {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pjv-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  margin-left: -8px;
  border: 2px solid var(--pjv-bg);
}
.pjv-av:first-child { margin-left: 0; }
.pjv-av1 { background: var(--av-ph-bg); color: var(--av-ph-fg); }
.pjv-av2 { background: var(--av-vi-bg); color: var(--av-vi-fg); }
.pjv-av3 { background: var(--av-co-bg); color: var(--av-co-fg); }
.pjv-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: 4px;
}

/* ── POST JOB — JOB LIST (all screen sizes) ── */
.pjv-mobile-jobs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}
.pjv-ml-item {
  background: var(--pjv-bg);
  border: 1px solid var(--pjv-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pjv-ml-left { flex: 1; min-width: 0; }
.pjv-ml-left .pjv-tag { margin-bottom: 7px; }
.pjv-ml-left .pjv-title { font-size: 16px; margin-bottom: 4px; }
.pjv-ml-left .pjv-detail { font-size: 12px; color: var(--text-secondary); margin-bottom: 0; font-weight: 300; }
.pjv-ml-right {
  display: flex; align-items: flex-end; flex-shrink: 0;
  flex-direction: column; gap: 5px;
}
/* Freshly posted jobs carry a gold "New" pip instead of an applicant count */
.pjv-count-new {
  margin-left: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb, 176,128,64), 0.14);
  border: 1px solid rgba(var(--accent-rgb, 176,128,64), 0.35);
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pjv-posted {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--text-muted);
  white-space: nowrap;
}
.pjv-see-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-accent) !important;
  border: 1px solid var(--text-accent);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.pjv-see-more-btn:hover { background: rgba(200,162,106,0.08); }

/* ── FOOTER ── */
.site-footer {
  background: var(--footer-bg);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
  color: var(--footer-fg);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  color: var(--footer-muted);
  max-width: 280px;
  line-height: 1.6;
}
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--footer-fg);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  font-weight: 300;
  color: var(--footer-muted);
  transition: color 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  min-height: unset;
}
.footer-col a:hover { color: var(--footer-fg); }
.footer-bottom {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--footer-muted);
  max-width: 1120px;
  margin: 0 auto;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ── MOBILE BOTTOM NAV ── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--bnav-bg);
  border-top: 1px solid var(--bnav-border);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bnav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--bnav-fg);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  min-height: 44px;
  touch-action: manipulation;
  transition: color 0.2s;
  text-decoration: none;
}
.bnav-tab i { font-size: 20px; }
.bnav-tab.active { color: var(--bnav-active); }
.bnav-tab:hover { color: var(--bnav-active); }

/* ── HIDDEN CARDS ── */
.profile-card.hidden { display: none; }

/* ────────────────────────────────────────────
   CARD ENHANCEMENTS
   ──────────────────────────────────────────── */

/* Experience sub-line */
.card-exp {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Badge column: badge + availability dot stacked */
.card-badge-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.card-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Availability dot */
.avail-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.avail-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}
.avail-on  { background: #3ecf72; }
.avail-on::after  { border: 1.5px solid rgba(62,207,114,0.35); }
.avail-off { background: #f0a040; }
.avail-off::after { border: 1.5px solid rgba(240,160,64,0.35); animation: none; }

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Gear block */
.card-gear {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
}
.card-gear i {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}
.gear-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.gear-lens {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Category tag */
.card-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-accent);
  padding: 4px 10px;
  border: 1.5px solid var(--text-accent);
  border-radius: 20px;
  margin-bottom: 14px;
  opacity: 1;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}
.card-cat-tag:hover { opacity: 1; background: rgba(var(--accent-rgb), 0.07); }
.card-cat-tag i { font-size: 8px; }

/* Portfolio + CTA area */
.btn-portfolio {
  display: block;
  width: 100%;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  background: none;
  border: none;
  text-align: center;
  padding: 6px 0 10px;
  cursor: pointer;
  transition: color 0.15s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.btn-portfolio:hover {
  color: var(--text-accent);
  text-decoration-color: var(--text-accent);
}

/* CTA row: save + message */
.card-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.btn-save-card {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-save-card:hover {
  border-color: var(--text-accent);
  color: var(--text-accent);
}
.btn-save-card.saved {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--text-accent);
  color: var(--text-accent);
}
.btn-message {
  flex: 1;
}

/* Filter match count + saved chip */
.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.filter-meta strong { color: var(--text-primary); }
.filter-chip-saved {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip-saved.active {
  background: rgba(var(--accent-rgb), 0.1);
  border-color: var(--text-accent);
  color: var(--text-accent);
}
.filter-chip-saved i { font-size: 11px; }

/* ────────────────────────────────────────────
   BROWSE BY CATEGORY SECTION
   ──────────────────────────────────────────── */
.browse-categories {
  padding: 80px 0 60px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.cat-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-accent);
  text-align: center;
  margin-bottom: 14px;
}
.cat-section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.15;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.cat-tile {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 16px 22px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cat-tile:hover {
  border-color: var(--text-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.cat-tile.active {
  border-color: var(--text-accent);
  background: rgba(var(--accent-rgb), 0.06);
}
.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-accent);
}
.cat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
  .browse-categories { padding: 60px 0 40px; }
  .cat-tile { padding: 20px 12px 16px; gap: 10px; }
  .cat-icon { width: 44px; height: 44px; font-size: 17px; }
  .cat-label { font-size: 12px; }
}

/* ── RESPONSIVE CARD UPDATES (new elements) ── */
@media (min-width: 1025px) {
  .gear-lens { display: none; } /* too cramped at 5 cols */
}
/* On mobile (≤768px) card-exp and gear-lens are shown — overridden in .mobile card block above */

/* ── Accent RGB for transparent backgrounds ── */
[data-theme="light"] { --accent-rgb: 180,120,0; }
[data-theme="dark"]  { --accent-rgb: 201,168,76; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) { --accent-rgb: 201,168,76; } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  /* Hide sign-in text link on mobile — hamburger handles all nav */
  .nav-cta-link { display: none !important; }
  .nav-hamburger { display: flex; }
  .nav-actions { gap: 8px; }
  /* Compress logo text on mobile — slogan stays visible, just tighter */
  .nav-logo-name { font-size: 13px; letter-spacing: 0.12em; }
  .nav-logo-slogan {
    display: block;
    font-size: 7px;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .hero-headline { font-size: clamp(42px, 12vw, 64px); }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }

  .steps-grid { grid-template-columns: 1fr; gap: 40px; }

  /* 2-column cards, fills viewport with no overflow */
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .post-job-inner { grid-template-columns: 1fr; gap: 28px; }
  .post-job-visual { justify-content: flex-start; }
  .pjv-mobile-jobs { max-width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 32px; }

  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 64px; }

  .section-inner { padding: 0 16px; }
  .how-it-works, .directory, .post-job { padding: 60px 0; }

  /* State filter: stack neatly on mobile */
  .state-filter-wrap { flex-direction: column; align-items: flex-start !important; gap: 8px !important; }
  .state-select { width: 100%; }

  /* Filter bar: smaller chips that wrap cleanly */
  .filter-chip { font-size: 10px; padding: 7px 12px; min-height: 38px; }
  .filter-meta { font-size: 11px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .filter-meta span:last-child { display: none; }

  /* Portfolio section — category tiles: full 2-col width */
  .cat-grid { max-width: 100% !important; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary { width: 100%; max-width: 280px; }
  .hero-signup-mobile { display: flex !important; }
}

/* ── PORTFOLIO FAN ── */
.portfolio-fan {
  padding: 100px 0 130px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.fan-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 24px;
}
.fan-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: visible;
}
.fan-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 224px;
  margin-left: -80px;
  margin-top: -112px;
  border-radius: 14px;
  overflow: hidden;
  will-change: transform;
  cursor: pointer;
  border: 1.5px solid var(--card-border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}
.fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.fan-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.fan-card:hover .fan-card-label,
.fan-card.is-center .fan-card-label { opacity: 1; }
.fan-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 30;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.fan-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: color 0.2s, background 0.2s;
}
.fan-arrow:hover { color: var(--text-primary); background: var(--bg-subtle); }
.fan-dots { display: flex; align-items: center; gap: 7px; }
.fan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.fan-dot.active {
  background: var(--text-primary);
  transform: scale(1.4);
}

@media (max-width: 1024px) {
  .fan-container { height: 330px; }
  .fan-card { width: 130px; height: 182px; margin-left: -65px; margin-top: -91px; }
}
@media (max-width: 768px) {
  .fan-container { height: 270px; }
  .fan-card { width: 108px; height: 152px; margin-left: -54px; margin-top: -76px; }
  .portfolio-fan { padding: 72px 0 100px; }
}
@media (max-width: 640px) {
  .fan-container { height: 320px; }
  .fan-card { width: 130px; height: 182px; margin-left: -65px; margin-top: -91px; }
  /* Always show nav on mobile so users know they can cycle */
  .fan-nav { display: flex !important; }
  .portfolio-fan { padding: 60px 0 80px; }
}
@media (max-width: 480px) {
  .fan-container { height: 280px; }
  .fan-card { width: 110px; height: 154px; margin-left: -55px; margin-top: -77px; }
  .fan-nav { display: flex !important; }
}

@media (max-width: 480px) {
  .fan-card-label { font-size: 8px; padding: 16px 4px 6px; }
}

/* ── TABLET GRID ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

/* ── MOBILE GRID — 1 column full-width (must be last to win cascade) ── */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ── COMPACT CARDS (5-col desktop & 2-col mobile) ── */
@media (min-width: 1025px) {
  .profile-card { padding: 16px 14px; }
  .avatar { width: 56px; height: 56px; font-size: 19px; }
  .card-name { font-size: 16px; }
  .card-meta { gap: 10px; }
  .meta-val { font-size: 12px; }
  .card-rate { font-size: 22px; }
  .btn-message { font-size: 9px; padding: 8px 12px; min-height: 38px; }
}
/* ── MOBILE + TABLET CARD LAYOUT — framed photo on the right ──
   Desktop (>1024px) keeps its original layout untouched. */
@media (max-width: 1024px) {
  .directory .section-inner { padding: 0 12px; }
  /* One card per row so the framed photo has room to breathe */
  .cards-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; }

  /* ── MOBILE / TABLET CARD: portrait photo framed on the right ──
     `.card-top { display: contents }` lifts the avatar, info and badge
     column out of their wrapper so they become grid items of the card
     itself — that lets the photo span the full height on the right
     without touching the desktop markup or layout. */
  .profile-card {
    padding: 18px 16px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--card-border);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 116px;
    grid-template-areas:
      "info   info   photo"
      "gear   badges photo"
      "rate   rate   photo"
      "footer footer footer"
      "cat    cat    cat";
    align-items: start;
    column-gap: 12px;
    row-gap: 0;
  }
  .card-top       { display: contents; }
  .card-info      { grid-area: info; min-width: 0; }
  .card-badge-col { grid-area: badges; }
  .card-gear      { grid-area: gear; }
  .card-rate      { grid-area: rate; }
  .card-footer    { grid-area: footer; }
  .card-cat-tag   { grid-area: cat; }

  /* The framed photo — spans the three content rows on the right */
  .avatar {
    grid-area: photo;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    align-self: stretch;
    border-radius: 12px;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Initials fallback, centred in the frame */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    overflow: hidden;
  }

  .card-name {
    font-size: 21px; font-weight: 700; line-height: 1.1;
    letter-spacing: -0.01em; color: var(--text-primary);
    white-space: normal; overflow: visible; text-overflow: clip;
  }
  .card-exp {
    display: block; margin-top: 5px;
    font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--text-muted);
    white-space: nowrap;
  }
  .card-location {
    display: flex; align-items: center; gap: 5px; margin-top: 5px;
    font-size: 12.5px; font-weight: 700; color: var(--text-primary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .card-location i { font-size: 12px; flex-shrink: 0; }

  .star-rating { display: flex; align-items: center; gap: 5px; margin-top: 6px; }
  .stars { font-size: 13px; letter-spacing: 0.5px; }
  .rating-val { font-size: 13px; font-weight: 800; }
  .rating-count { font-size: 11px; font-weight: 600; color: var(--text-muted); }

  /* Badge column — sits beside the gear row */
  .card-badge-col { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; padding: 11px 0; }
  .card-badge-row { display: flex; align-items: center; gap: 5px; }
  .card-specialty-badge {
    font-size: 8.5px; font-weight: 800; padding: 4px 7px;
    letter-spacing: 0.05em; border-radius: 5px; white-space: nowrap;
  }
  .avail-dot { width: 9px; height: 9px; flex-shrink: 0; }
  .tier-badge {
    font-size: 9px; font-weight: 800; padding: 4px 9px;
    letter-spacing: 0.08em; border-radius: 5px;
  }

  /* Gear row */
  .card-gear {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 11px 0; font-size: 13px; font-weight: 700;
    border-top: 1px solid var(--border-subtle);
  }
  .card-gear i { font-size: 13px; flex-shrink: 0; margin-top: 2px; }
  .gear-name { display: block; font-size: 13px; font-weight: 700; color: var(--text-primary); }
  .gear-lens {
    display: block; margin-left: 0; margin-top: 2px;
    font-size: 12px; font-weight: 600; color: var(--text-muted);
  }

  /* Rate */
  .card-rate {
    font-size: 26px; line-height: 1; font-weight: 700;
    letter-spacing: -0.01em; padding: 6px 0 14px;
  }
  .card-rate span { font-size: 12px; font-weight: 600; }

  /* Footer — bookmark + full-width Message */
  .card-footer {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 12px; padding-top: 12px; margin-top: 4px;
    border-top: 1px solid var(--border-subtle);
  }
  .btn-portfolio { display: none; }
  .btn-calendar  { display: none; }
  .card-cta-row { display: flex; gap: 10px; margin-left: 0; width: 100%; }
  .btn-save-card {
    width: 48px; height: 48px; min-width: 48px;
    font-size: 16px; border-radius: 8px;
    border: 1.5px solid var(--border); flex-shrink: 0;
  }
  .btn-message {
    flex: 1; min-height: 48px; border-radius: 8px;
    border: 1.5px solid var(--accent);
    font-size: 12px; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase;
  }

  /* Category tag — centred pill under the actions */
  .card-cat-tag {
    justify-self: center; margin: 2px 0 0;
    font-size: 11px; font-weight: 800; opacity: 1;
    padding: 9px 22px; border-radius: 999px;
    letter-spacing: 0.1em; text-transform: uppercase;
    border: 1.5px solid var(--accent);
  }
  .card-cat-tag i { margin-right: 6px; }
}

/* Narrow phones: the photo leaves too little room for gear + badges
   side by side, so give each its own full-width row. */
@media (max-width: 620px) {
  .profile-card {
    grid-template-columns: minmax(0, 1fr) 116px;
    grid-template-areas:
      "info   photo"
      "gear   photo"
      "badges photo"
      "rate   photo"
      "footer footer"
      "cat    cat";
  }
  .card-gear { padding: 10px 0 6px; }
  .gear-name, .gear-lens { white-space: nowrap; }
  .card-badge-col {
    flex-direction: row; align-items: center; justify-content: flex-start;
    flex-wrap: wrap; gap: 6px; padding: 0 0 4px;
  }
  .card-rate { padding: 8px 0 14px; }
}

/* ── PORTFOLIO MODAL ── */
.pm-overlay {
  position: fixed;
  inset: 0;
  /* Above the returning-user banner (9990) and the bottom nav —
     otherwise they cover the top and bottom of the modal. */
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.pm-overlay.open { opacity: 1; pointer-events: auto; }
.pm-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.28s cubic-bezier(.22,.9,.27,1);
  box-sizing: border-box;
}
.pm-overlay.open .pm-box { transform: translateY(0); }

/* Quick-compose status line */
.qc-status {
  font-size: 12.5px; line-height: 1.5; margin: 10px 0 0; min-height: 1px;
}
.qc-status.ok  { color: #2e7d4f; font-weight: 600; }
.qc-status.err { color: #c0392b; font-weight: 600; }

/* ── PEER REVIEWS (portfolio modal) ── */
.pm-reviews {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.pm-reviews-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.pm-reviews-head .pm-gallery-label { margin: 0; }
.pm-reviews-summary {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
}
.pm-reviews-summary .pm-summary-stars { color: var(--accent); letter-spacing: 1px; }

.pm-reviews-list { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.pm-review {
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-subtle);
}
.pm-review-top {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.pm-review-stars { color: var(--accent); font-size: 13px; letter-spacing: 1.5px; }
.pm-review-author { font-size: 12.5px; font-weight: 700; color: var(--text-primary); }
.pm-review-date { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.pm-review-body { font-size: 13px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.pm-reviews-empty { font-size: 12.5px; color: var(--text-muted); margin: 12px 0 0; line-height: 1.6; }

/* Leave-a-review form */
.pm-review-form {
  margin-top: 18px; padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-surface);
}
.pm-review-form-title {
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-primary); margin: 0 0 6px;
}
.pm-review-form-hint {
  font-size: 12px; line-height: 1.55; color: var(--text-muted); margin: 0 0 12px;
}
.pm-star-picker { display: flex; gap: 4px; margin-bottom: 12px; }
.pm-star {
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; padding: 0 2px;
  color: var(--border); transition: color 0.12s, transform 0.12s;
}
.pm-star:hover { transform: scale(1.12); }
.pm-star.on { color: var(--accent); }
.pm-review-text {
  width: 100%; box-sizing: border-box;
  padding: 11px 13px; border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-page); color: var(--text-primary);
  font-family: var(--font-sans); font-size: 13px; line-height: 1.55;
  resize: vertical;
}
.pm-review-text:focus { outline: none; border-color: var(--accent); }
.pm-review-actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; flex-wrap: wrap;
}
.pm-review-submit { padding: 11px 26px; font-size: 11px; }
.pm-review-status { font-size: 12px; font-weight: 600; }
.pm-review-status.ok  { color: #2e7d4f; }
.pm-review-status.err { color: #c0392b; }
.pm-review-gate {
  margin-top: 16px; font-size: 12.5px; color: var(--text-muted); line-height: 1.6;
}
.pm-review-gate a { color: var(--accent); font-weight: 700; }

@media (max-width: 620px) {
  .pm-review-form { padding: 14px; }
  .pm-star { font-size: 30px; }
  .pm-review-submit { width: 100%; }
  .pm-review-date { margin-left: 0; width: 100%; }
}

/* Photo lightbox */
.ph-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ph-lightbox.open { opacity: 1; pointer-events: auto; }
.ph-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.ph-lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.pm-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.pm-close:hover { color: var(--text-primary); background: var(--bg-raised); }
.pm-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pm-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500;
  flex-shrink: 0;
}
.pm-avatar.is-ph { background: var(--av-ph-bg); color: var(--av-ph-fg); }
.pm-avatar.is-vi { background: var(--av-vi-bg); color: var(--av-vi-fg); }
.pm-avatar.is-co { background: var(--av-co-bg); color: var(--av-co-fg); }
.pm-info { flex: 1; min-width: 0; }
.pm-name {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 500;
  color: var(--text-primary); line-height: 1.2;
}
.pm-sub {
  font-size: 13px; color: var(--text-secondary);
  margin-top: 2px;
}
.pm-rate {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 500;
  color: var(--accent); margin-top: 4px;
}
.pm-cta-btn { white-space: nowrap; flex-shrink: 0; }
.pm-bio {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.pm-gallery-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 10px;
}
.pm-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.pm-gallery .pm-img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.2s;
  cursor: zoom-in;
}
.pm-gallery .pm-img:hover { transform: scale(1.02); }
.pm-video-wrap { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; }
.pm-video-wrap:hover { transform: scale(1.02); transition: transform 0.2s; }
.pm-video-play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: rgba(0,0,0,0.55); color: #fff; font-size: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.pm-video-wrap:hover .pm-video-play-badge { background: rgba(200,162,106,0.8); }
.pm-gallery .pm-img:nth-child(1),
.pm-gallery .pm-img:nth-child(2) { grid-column: span 3; aspect-ratio: 4/3; }
/* Items 1-2 lead large; everything after them is a uniform 3-across strip.
   nth-child(n+3) rather than a hand-listed 3,4,5 — the gallery shows up to
   12 items, and unmatched tiles get no span and no aspect-ratio, which
   collapses them to slivers. */
.pm-gallery .pm-img:nth-child(n+3) { grid-column: span 2; aspect-ratio: 3/4; }
@media (max-width: 768px) {
  .pm-overlay {
    padding: 0;
    align-items: stretch;
  }
  .pm-box {
    /* Full-screen sheet: own scroll, safe-area aware, nothing clipped */
    padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px));
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
    border-radius: 0;
    border: none;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100%;
    width: 100%;
    position: fixed;
    inset: 0;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(.22,.9,.27,1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .pm-overlay.open .pm-box { transform: translateY(0); }

  /* Close button stays reachable while the sheet scrolls */
  .pm-close {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
    z-index: 3;
    width: 38px; height: 38px;
    background: var(--bg-surface);
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  }

  /* Header: avatar + name + badges all visible, no overlap with close */
  .pm-header {
    gap: 12px; margin-bottom: 14px; padding-right: 46px;
    flex-wrap: wrap; align-items: flex-start;
  }
  .pm-avatar { width: 64px; height: 64px; font-size: 20px; flex-shrink: 0; }
  .pm-info { min-width: 0; flex: 1; }
  .pm-name { font-size: 21px; font-weight: 700; line-height: 1.15; }
  .pm-sub  { font-size: 12px; font-weight: 500; line-height: 1.5; }
  .pm-rate { font-size: 15px; font-weight: 700; }
  .pm-bio  { font-size: 13.5px; line-height: 1.65; }

  /* Message CTA drops to its own full-width row instead of squeezing */
  .pm-header .pm-cta-btn {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    justify-content: center;
    min-height: 50px;
    margin-top: 2px;
    font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  }

  /* Any other action rows: full width too */
  .pm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
  .pm-actions button,
  .pm-actions a { width: 100%; justify-content: center; min-height: 48px; font-size: 12px; }

  .pm-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .pm-gallery .pm-img:nth-child(n) { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ── SIGN-UP GATE MODAL ── */
.sg-overlay {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.sg-overlay.open { opacity: 1; pointer-events: auto; }
.sg-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(.22,.9,.27,1);
}
.sg-overlay.open .sg-box { transform: translateY(0) scale(1); }
.sg-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px; line-height: 1;
  transition: color 0.2s;
}
.sg-close:hover { color: var(--text-primary); }
.sg-lock {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  color: var(--accent);
}
.sg-box h3 {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.sg-box p {
  font-size: 14px; font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}
.sg-cta { width: 100%; margin-bottom: 14px; }
.sg-login {
  font-size: 13px; color: var(--text-muted); margin-bottom: 0 !important;
}
.sg-login a { color: var(--text-accent); text-decoration: underline; }

/* ── POST JOB MEMBERS BADGE ── */
.pjv-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: var(--pjv-tag-bg);
  color: var(--pjv-tag-fg);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

/* ── SCROLL ANIMATION READY STATES ── */
.step { opacity: 0; transform: translateY(32px); }

/* ══════════════════════════════════════
   TIER BADGES
══════════════════════════════════════ */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tier-badge-pro {
  background: rgba(201,162,106,0.18);
  color: #c8a26a;
  border: 1px solid rgba(201,162,106,0.35);
}
.tier-badge-studio {
  background: linear-gradient(135deg, rgba(201,162,106,0.25), rgba(255,210,100,0.15));
  color: #e8c47a;
  border: 1px solid rgba(201,162,106,0.5);
  box-shadow: 0 0 8px rgba(201,162,106,0.12);
}
.tier-badge-studio i { font-size: 7px; }

/* Verified checkmark on Studio cards */
.verified-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  background: #c8a26a;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   STAR RATINGS
══════════════════════════════════════ */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
}
.star-rating .stars { color: #c8a26a; letter-spacing: 1px; }
.star-rating .rating-val {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 2px;
}
.star-rating .rating-count {
  font-size: 9px;
  color: var(--text-muted);
}

/* Interactive star picker (dashboard / rate form) */
.star-picker {
  display: flex;
  gap: 6px;
}
.star-picker .sp-star {
  font-size: 24px;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
  background: none; border: none; padding: 0;
}
.star-picker .sp-star.lit,
.star-picker .sp-star:hover ~ .sp-star { color: var(--border); }
.star-picker:hover .sp-star { color: #c8a26a; }
.star-picker .sp-star:hover ~ .sp-star { color: var(--border); }
.star-picker .sp-star.lit { color: #c8a26a; }

/* ══════════════════════════════════════
   AVAILABILITY DAY PICKER
══════════════════════════════════════ */
.day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.day-chip {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.day-chip.active {
  background: rgba(201,162,106,0.15);
  border-color: #c8a26a;
  color: #c8a26a;
}

/* ══════════════════════════════════════
   PLAN / TIER UPGRADE CARDS (dashboard)
══════════════════════════════════════ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .plan-grid { grid-template-columns: 1fr; gap: 12px; }
}

.plan-card {
  border-radius: 16px;
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #141414;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.plan-card.current { border-color: rgba(201,168,76,0.4); }
.plan-card.featured {
  border-color: rgba(201,168,76,0.6);
  background: linear-gradient(160deg, #1a1608, #141414 60%);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.15) inset;
}
.plan-card .plan-current-tag {
  position: absolute; top: 12px; right: 12px;
  font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
  background: rgba(201,168,76,0.15); color: #c8a26a; border: 1px solid rgba(201,168,76,0.3);
}
.plan-tier-eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #555; margin-bottom: 8px;
}
.plan-name {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 600; color: #f5f0e8;
  margin-bottom: 6px;
}
.plan-price {
  margin-bottom: 18px;
}
.plan-price-amount {
  font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 700; color: #c8a26a; line-height: 1;
}
.plan-price-period {
  font-size: 0.72rem; font-weight: 500; color: #555; margin-left: 4px; letter-spacing: 0.04em;
}
.plan-price-free {
  font-size: 1.1rem; font-weight: 700; color: #666; letter-spacing: 0.04em;
}
.plan-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 16px; }
.plan-features {
  list-style: none; padding: 0; margin: 0 0 20px;
  flex: 1;
}
.plan-features li {
  font-size: 0.74rem; color: #888; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; gap: 8px; align-items: flex-start;
  line-height: 1.4;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: #c8a26a; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.plan-features li.no::before { content: '✗'; color: #333; }
.plan-features li.no { color: #3d3d3d; }
.plan-cta {
  width: 100%; padding: 12px 16px;
  background: var(--color-gold, #c8a26a); color: #0a0a0a;
  border: none; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: opacity 0.2s;
  margin-top: auto;
}
.plan-cta:hover { opacity: 0.88; }
.plan-cta.ghost {
  background: none; color: #444;
  border: 1px solid rgba(255,255,255,0.08);
}
.plan-cta.ghost:hover { border-color: rgba(255,255,255,0.18); color: #777; }

@media (max-width: 700px) {
  .plan-card { padding: 20px 18px; }
  .plan-price-amount { font-size: 2rem; }
  .plan-name { font-size: 1.2rem; }
}

/* ══════════════════════════════════════
   PHOTO / PORTFOLIO UPLOAD UI
══════════════════════════════════════ */
.upload-avatar-wrap {
  position: relative; display: inline-block; cursor: pointer;
}
.upload-avatar-wrap:hover .upload-avatar-overlay { opacity: 1; }
.upload-avatar-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: #fff;
  opacity: 0; transition: opacity 0.2s;
  text-transform: uppercase;
}

.portfolio-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.portfolio-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  width: 100%;
  background: #1a1a1a;
  position: relative;
}
.portfolio-thumb-wrap {
  position: relative; border-radius: 8px; overflow: hidden;
}
.portfolio-thumb-wrap:hover .portfolio-delete { opacity: 1; }
/* Video badge overlay */
.portfolio-video-badge {
  position: absolute; bottom: 6px; left: 6px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 10px; padding: 2px 7px; border-radius: 20px;
  pointer-events: none; backdrop-filter: blur(4px);
}
.portfolio-thumb-wrap video.portfolio-thumb {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 8px; background: #111;
}
.portfolio-delete {
  position: absolute; top: 5px; right: 5px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(220,50,50,0.85); color: #fff;
  border: none; font-size: 11px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s;
}
.portfolio-add-slot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px 28px; margin-top: 14px;
  background: var(--color-gold); color: #0a0a0a;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; border-radius: 999px; cursor: pointer;
  transition: background 0.2s;
}
.portfolio-add-slot:hover { background: var(--color-gold-lt); }
.portfolio-add-slot i { font-size: 0.85rem; }
.portfolio-limit-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.68rem; color: #555; margin-top: 8px;
}
.portfolio-limit-bar .pct {
  height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px;
  flex: 1; margin: 0 10px;
}
.portfolio-limit-bar .pct-fill {
  height: 100%; background: #c8a26a; border-radius: 2px;
  transition: width 0.3s;
}

/* ══════════════════════════════════════
   PROFILE ANALYTICS WIDGET
══════════════════════════════════════ */
.analytics-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.analytics-tile {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 16px;
}
.analytics-tile .at-val {
  font-family: var(--font-serif);
  font-size: 1.8rem; font-weight: 600; color: #f5f0e8;
}
.analytics-tile .at-label {
  font-size: 0.65rem; color: #555; letter-spacing: 0.08em;
  text-transform: uppercase; margin-top: 4px;
}

/* ══════════════════════════════════════
   ADMIN REAL-TIME TOAST
══════════════════════════════════════ */
.rt-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: #1a1a10; border: 1px solid rgba(201,168,76,0.4);
  border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  max-width: 340px;
  animation: toast-in 0.3s ease;
}
.rt-toast .toast-icon { font-size: 1.2rem; }
.rt-toast .toast-body { flex: 1; }
.rt-toast .toast-title { font-size: 0.76rem; font-weight: 700; color: #f5f0e8; margin-bottom: 2px; }
.rt-toast .toast-msg   { font-size: 0.7rem; color: #888; }
.rt-toast .toast-close { background: none; border: none; color: #555; cursor: pointer; font-size: 1rem; padding: 0; }
.rt-toast .toast-close:hover { color: #ccc; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   CALENDAR AVAILABILITY BUTTON (card + modal)
══════════════════════════════════════ */
.btn-calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.2);
  color: #c8a26a;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.btn-calendar:hover {
  background: rgba(201,168,76,0.14);
  border-color: rgba(201,168,76,0.4);
}
.btn-calendar i { font-size: 0.78rem; }

.pm-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  margin-top: 8px;
  border-radius: 8px;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  color: #c8a26a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.15s;
}
.pm-calendar-link:hover { background: rgba(201,168,76,0.14); }

/* ── Performance-adaptive styles ── */
/* Low-end devices: kill all animations and transitions */
[data-perf="low"] *,
[data-perf="low"] *::before,
[data-perf="low"] *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
}
[data-perf="low"] .card { box-shadow: none !important; }

/* Returning-user banner on homepage */
#fm-returning-banner {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 9990;
  background: linear-gradient(90deg, #1a1500, #0f0e08);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 10px 24px;
  align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-sans, 'Montserrat', sans-serif);
}
#fm-returning-banner.visible { display: flex; }
#fm-returning-banner span { font-size: 0.76rem; color: #c8a26a; }
#fm-returning-banner a {
  background: #c8a26a; color: #0a0a0a;
  padding: 6px 18px; border-radius: 6px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background 0.15s;
}
#fm-returning-banner a:hover { background: #e0b87a; }
@media (max-width: 600px) {
  #fm-returning-banner { flex-direction: column; align-items: flex-start; }
}

/* ── QUICK COMPOSE MODAL ── */
.qc-overlay {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
@media (min-width: 640px) {
  .qc-overlay { align-items: center; padding: 16px; }
}
.qc-overlay.open { opacity: 1; pointer-events: auto; }
.qc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 520px;
  padding: 28px 24px 36px;
  position: relative;
}
@media (min-width: 640px) {
  .qc-box { border-radius: 20px; }
}
.qc-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.qc-close:hover { background: var(--bg-subtle); }
.qc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.qc-header i { font-size: 16px; color: var(--accent); }
.qc-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}
.qc-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.qc-sub strong { color: var(--text-secondary); }
.qc-textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  resize: none;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.qc-textarea:focus { border-color: var(--accent); }
.qc-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.qc-send {
  flex: 1;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 12px 20px;
}
.qc-cancel {
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.qc-cancel:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* ── JOB LISTING CLICKABLE ── */
.pjv-ml-item[data-job-clickable] {
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.pjv-ml-item[data-job-clickable]:hover {
  background: var(--bg-subtle);
  border-color: var(--accent);
}

/* ── MOBILE FILTER DROPDOWNS ── */
@media (max-width: 768px) {
  .filter-dropdowns {
    gap: 8px;
  }
  .filter-select {
    flex: 1;
    min-width: 130px;
    font-size: 11px;
    padding: 8px 28px 8px 11px;
    min-height: 38px;
  }
  .rate-filter-wrap {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }
  .rate-filter-label { white-space: nowrap; }
  .rate-slider { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   MEMBER ACCENT COLOURS
   Each member picks a palette key; the card carries data-accent and
   resolves --card-accent. Two shades per key — a deeper one for day
   mode, a lighter one for night — so every choice stays legible on
   both the light ground and the near-black one. Falls back to the
   brand gold when unset.
   ═══════════════════════════════════════════════════════════════ */
[data-accent="gold"]    { --card-accent: #b08040; --card-accent-soft: rgba(176,128,64,0.13); }
[data-accent="crimson"] { --card-accent: #b03a4a; --card-accent-soft: rgba(176,58,74,0.13); }
[data-accent="ocean"]   { --card-accent: #2a6f97; --card-accent-soft: rgba(42,111,151,0.13); }
[data-accent="forest"]  { --card-accent: #2d6a4f; --card-accent-soft: rgba(45,106,79,0.13); }
[data-accent="violet"]  { --card-accent: #6b4a9e; --card-accent-soft: rgba(107,74,158,0.13); }
[data-accent="ember"]   { --card-accent: #c05621; --card-accent-soft: rgba(192,86,33,0.13); }
[data-accent="rose"]    { --card-accent: #b0476b; --card-accent-soft: rgba(176,71,107,0.13); }
[data-accent="slate"]   { --card-accent: #4a5568; --card-accent-soft: rgba(74,85,104,0.13); }

/* Night-mode shades — lighter, so they lift off the dark ground */
[data-theme="dark"] [data-accent="gold"]    { --card-accent: #c8a26a; --card-accent-soft: rgba(200,162,106,0.16); }
[data-theme="dark"] [data-accent="crimson"] { --card-accent: #e0697a; --card-accent-soft: rgba(224,105,122,0.16); }
[data-theme="dark"] [data-accent="ocean"]   { --card-accent: #5fa8d3; --card-accent-soft: rgba(95,168,211,0.16); }
[data-theme="dark"] [data-accent="forest"]  { --card-accent: #74c69d; --card-accent-soft: rgba(116,198,157,0.16); }
[data-theme="dark"] [data-accent="violet"]  { --card-accent: #a685e2; --card-accent-soft: rgba(166,133,226,0.16); }
[data-theme="dark"] [data-accent="ember"]   { --card-accent: #f0894a; --card-accent-soft: rgba(240,137,74,0.16); }
[data-theme="dark"] [data-accent="rose"]    { --card-accent: #e58aa8; --card-accent-soft: rgba(229,138,168,0.16); }
[data-theme="dark"] [data-accent="slate"]   { --card-accent: #94a3b8; --card-accent-soft: rgba(148,163,184,0.16); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-accent="gold"]    { --card-accent: #c8a26a; --card-accent-soft: rgba(200,162,106,0.16); }
  :root:not([data-theme="light"]) [data-accent="crimson"] { --card-accent: #e0697a; --card-accent-soft: rgba(224,105,122,0.16); }
  :root:not([data-theme="light"]) [data-accent="ocean"]   { --card-accent: #5fa8d3; --card-accent-soft: rgba(95,168,211,0.16); }
  :root:not([data-theme="light"]) [data-accent="forest"]  { --card-accent: #74c69d; --card-accent-soft: rgba(116,198,157,0.16); }
  :root:not([data-theme="light"]) [data-accent="violet"]  { --card-accent: #a685e2; --card-accent-soft: rgba(166,133,226,0.16); }
  :root:not([data-theme="light"]) [data-accent="ember"]   { --card-accent: #f0894a; --card-accent-soft: rgba(240,137,74,0.16); }
  :root:not([data-theme="light"]) [data-accent="rose"]    { --card-accent: #e58aa8; --card-accent-soft: rgba(229,138,168,0.16); }
  :root:not([data-theme="light"]) [data-accent="slate"]   { --card-accent: #94a3b8; --card-accent-soft: rgba(148,163,184,0.16); }
}

/* Apply the member's accent to their own card */
.profile-card .avatar      { border-color: var(--card-accent, var(--accent)); }
.profile-card .btn-message { border-color: var(--card-accent, var(--accent)); color: var(--card-accent, var(--accent)); }
.profile-card .btn-message:hover { background: var(--card-accent-soft, rgba(var(--accent-rgb),0.1)); }
.profile-card .card-cat-tag { border-color: var(--card-accent, var(--accent)); }

/* ═══════════════════════════════════════════════════════════════
   GLASS CARDS
   Enabled by <html data-cards="glass"> in index.html.
   TO REVERT: change that attribute to data-cards="classic" (or delete
   it) — every rule below is scoped to the glass value, so the original
   card design returns untouched. Nothing else needs changing.
   ═══════════════════════════════════════════════════════════════ */
[data-cards="glass"] .profile-card {
  position: relative;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.18) 42%, rgba(255,255,255,0.05) 100%),
    var(--card-bg);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 10px 30px -12px rgba(20,16,10,0.28),
    0 2px 6px rgba(20,16,10,0.06),
    inset 0 1px 0 rgba(255,255,255,0.85);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.22,.9,.27,1), box-shadow 0.35s, border-color 0.25s;
}
/* Specular sweep across the top edge — the "pane of glass" read */
[data-cards="glass"] .profile-card::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 38%);
  opacity: 0.85;
}
/* A wash of the member's own colour, so the glass picks up their accent */
[data-cards="glass"] .profile-card::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 88% 4%, var(--card-accent-soft, rgba(176,128,64,0.13)) 0%, transparent 62%);
}
[data-cards="glass"] .profile-card > * { position: relative; z-index: 1; }

[data-cards="glass"] .profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent));
  box-shadow:
    0 22px 46px -16px rgba(20,16,10,0.34),
    0 3px 10px rgba(20,16,10,0.08),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

/* Night mode: darker glass, edge-lit rather than white-frosted */
[data-theme="dark"] [data-cards="glass"] .profile-card,
[data-cards="glass"][data-theme="dark"] .profile-card {
  background:
    linear-gradient(150deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.035) 44%, rgba(255,255,255,0.01) 100%),
    var(--card-bg);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow:
    0 12px 34px -14px rgba(0,0,0,0.72),
    inset 0 1px 0 rgba(255,255,255,0.10);
}
[data-theme="dark"] [data-cards="glass"] .profile-card::before {
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 40%);
}
[data-theme="dark"] [data-cards="glass"] .profile-card:hover {
  box-shadow:
    0 26px 52px -18px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"])[data-cards="glass"] .profile-card {
    background:
      linear-gradient(150deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.035) 44%, rgba(255,255,255,0.01) 100%),
      var(--card-bg);
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow:
      0 12px 34px -14px rgba(0,0,0,0.72),
      inset 0 1px 0 rgba(255,255,255,0.10);
  }
  :root:not([data-theme="light"])[data-cards="glass"] .profile-card::before {
    background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 40%);
  }
}

/* Touch devices get the finish without the lift — no hover to leave */
@media (hover: none) {
  [data-cards="glass"] .profile-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-cards="glass"] .profile-card { transition: none; }
  [data-cards="glass"] .profile-card:hover { transform: none; }
}


/* ── Verified badge ─────────────────────────────────── */
.verified-check{
  display:inline-flex;align-items:center;justify-content:center;
  width:16px;height:16px;border-radius:50%;
  background:var(--card-accent,#2a6f97);color:#fff;
  font-size:10px;font-weight:900;line-height:1;vertical-align:middle;
  margin-left:2px;box-shadow:0 1px 3px rgba(0,0,0,.25);
}
[data-theme="dark"] .verified-check{background:var(--card-accent,#5fa8d3);}

.card-name-link{color:inherit;text-decoration:none}
.card-name-link:hover{text-decoration:underline;text-decoration-color:var(--card-accent,var(--accent))}


/* ── Featured Studio spotlight ─────────────────────────── */
.spotlight{margin:0 0 26px;padding:18px 18px 20px;border-radius:16px;
  background:linear-gradient(135deg,rgba(201,162,106,0.10),rgba(255,210,100,0.05));
  border:1px solid rgba(201,162,106,0.28)}
.spotlight-head{font-family:'Montserrat',sans-serif;font-size:0.72rem;font-weight:600;letter-spacing:0.12em;
  text-transform:uppercase;color:var(--accent,#b08040);margin-bottom:14px;display:flex;align-items:center;gap:8px}
.spotlight-head i{color:#e0b451}
.spotlight-row{display:flex;gap:14px;overflow-x:auto;padding-bottom:4px}
.spot-card{flex:0 0 auto;width:150px;text-align:center;background:var(--card-bg,#fff);
  border:1px solid var(--border-subtle,rgba(0,0,0,0.08));border-radius:14px;padding:16px 12px;cursor:pointer;
  transition:transform .18s,box-shadow .18s}
.spot-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px -12px rgba(20,16,10,0.3)}
.spot-av{width:60px;height:60px;border-radius:50%;margin:0 auto 10px;background-size:cover;background-position:center;
  border:2px solid var(--card-accent,var(--accent,#b08040));display:flex;align-items:center;justify-content:center;
  font-family:'Cormorant',serif;font-size:1.3rem;color:var(--card-accent,#b08040)}
.spot-name{font-weight:600;font-size:0.84rem;display:flex;align-items:center;justify-content:center;gap:4px}
.spot-spec{font-size:0.68rem;color:var(--text-muted,#888);margin-top:3px}

/* ═══════════════════════════════════════════════════════════════
   DIM WARM PANELS IN DARK MODE
   The Post-a-job band and the Featured Studio spotlight render as a
   subtle dark-warm panel in dark mode (well over 80% dimmer than the
   page's light beige), with light text. Daylight mode is untouched.
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] .post-job,
[data-theme="dark"] #spotlight { color:#efe7d7; }
[data-theme="dark"] .post-job {
  background:#211e19;
    --post-job-bg:#211e19; --post-job-fg:#efe7d7; --post-job-muted:#9a8f7e;
    --text-accent:#d4a860; --text-primary:#efe7d7; --text-secondary:#c0b8a8; --text-muted:#8a8175;
    --pjv-bg:#2b2721; --pjv-border:#3a352d; --pjv-tag-bg:#2a1e0a; --pjv-tag-fg:#c8a26a;
    --av-ph-bg:#2a2418; --av-ph-fg:#c8a878; --av-vi-bg:#1a2438; --av-vi-fg:#88a8d8; --av-co-bg:#182a1e; --av-co-fg:#88c8a0;
}
[data-theme="dark"] #spotlight {
  background:#211e19; border-color:#3a352d;
    --card-bg:#2b2721; --border-subtle:#3a352d; --text-muted:#9a8f7e; --accent:#d4a860; --card-accent:#d4a860;
}
[data-theme="dark"] #spotlight .spotlight-head { color:#d4a860; }
[data-theme="dark"] #spotlight .spot-name { color:#efe7d7; }
[data-theme="dark"] #spotlight .spot-spec { color:#9a8f7e; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .post-job,
  :root:not([data-theme="light"]) #spotlight { color:#efe7d7; }
  :root:not([data-theme="light"]) .post-job {
    background:#211e19;
    --post-job-bg:#211e19; --post-job-fg:#efe7d7; --post-job-muted:#9a8f7e;
    --text-accent:#d4a860; --text-primary:#efe7d7; --text-secondary:#c0b8a8; --text-muted:#8a8175;
    --pjv-bg:#2b2721; --pjv-border:#3a352d; --pjv-tag-bg:#2a1e0a; --pjv-tag-fg:#c8a26a;
    --av-ph-bg:#2a2418; --av-ph-fg:#c8a878; --av-vi-bg:#1a2438; --av-vi-fg:#88a8d8; --av-co-bg:#182a1e; --av-co-fg:#88c8a0;
  }
  :root:not([data-theme="light"]) #spotlight {
    background:#211e19; border-color:#3a352d;
    --card-bg:#2b2721; --border-subtle:#3a352d; --text-muted:#9a8f7e; --accent:#d4a860; --card-accent:#d4a860;
  }
  :root:not([data-theme="light"]) #spotlight .spotlight-head { color:#d4a860; }
  :root:not([data-theme="light"]) #spotlight .spot-name { color:#efe7d7; }
  :root:not([data-theme="light"]) #spotlight .spot-spec { color:#9a8f7e; }
}

/* ── Hero intro video (plays once per session, then reveals the hero) ── */
#hero-intro{
  position:absolute; inset:0; z-index:30;
  background:var(--bg-page);            /* themed — no flash before the video paints */
  opacity:1; transition:opacity .8s ease;
}
#hero-intro.done{ opacity:0; pointer-events:none; }
#hero-intro-video{ width:100%; height:100%; object-fit:cover; display:block; }
#hero-intro-skip{
  position:absolute; bottom:24px; right:24px; z-index:31;
  background:rgba(10,10,10,.5); color:#fff; border:1px solid rgba(255,255,255,.45);
  padding:9px 18px; border-radius:9px; font-family:var(--font-sans);
  font-size:.76rem; letter-spacing:.06em; cursor:pointer; backdrop-filter:blur(4px);
  transition:background .2s;
}
#hero-intro-skip:hover{ background:rgba(10,10,10,.75); }
@media (prefers-reduced-motion: reduce){ #hero-intro{ display:none; } }

/* ── Intro video as its own section on mobile & tablet ──
   On phones/tablets the video is pulled out of the hero (the overlay is
   disabled) and shown full-width between the process and job sections.
   Desktop keeps the hero overlay and never shows this section. */
.mobile-video-section{ display:none; }
@media (max-width: 1024px){
  #hero-intro{ display:none !important; }        /* overlay off on mobile (also removed via JS) */
  .mobile-video-section{
    display:block; background:var(--bg-page); padding:6px 0 2px; line-height:0;
  }
  .mobile-video-section video{ width:100%; height:auto; display:block; }
}
