/* ═══════════════════════════════════════════════════════════════════
   SURERENT AVANT PUBLIC · avant-public.css — flagship public-shell layer
   Concept: "The Survey Ledger" — deed-registry × Lagos modernism.
   Loads AFTER premium.css in base.html only (public shell). Dashboards
   untouched. Tokens consumed from tokens.css; extensions prefixed --av-*.
   One bold move: survey-grid + brass seal + mono folio ledger. Rest quiet.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --av-abyss: #060f1e;
  --av-ink: var(--sr-primary, #0d1f35);
  --av-ink-2: var(--sr-ink-steel, #1a3550);
  --av-brass: var(--sr-gold, #c9a84c);
  --av-brass-hi: var(--sr-gold-bright, #e8cf83);
  --av-brass-ink: var(--sr-gold-dark, #8a651a);
  --av-paper: var(--sr-paper, #f7f4ee);
  --av-paper-deep: #ece5d3;
  --av-line: rgba(201, 168, 76, 0.22);
  --av-grid-ink: rgba(201, 168, 76, 0.10);
  --av-grid-paper: rgba(13, 31, 53, 0.055);
  --av-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --av-radius: 22px;
}

/* ── Global public-shell base ─────────────────────────────────── */
body:not(.sr-home-page) main#mainContent { padding-top: 118px; }
::selection { background: #c9a84c; color: #081526; }
:focus-visible { outline: 3px solid var(--av-brass); outline-offset: 3px; border-radius: 6px; }

/* Survey grid utilities */
.av-grid-ink {
  background-image:
    linear-gradient(var(--av-grid-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--av-grid-ink) 1px, transparent 1px);
  background-size: 44px 44px;
}
.av-grid-paper {
  background-image:
    linear-gradient(var(--av-grid-paper) 1px, transparent 1px),
    linear-gradient(90deg, var(--av-grid-paper) 1px, transparent 1px);
  background-size: 44px 44px;
}
.av-mono { font-family: var(--av-mono); }
.av-folio {
  font-family: var(--av-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--av-brass-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.av-folio::before { content: ""; width: 26px; height: 1px; background: var(--av-brass); display: inline-block; }
.on-ink .av-folio { color: var(--av-brass-hi); }

/* ── Header v2 ────────────────────────────────────────────────── */
.sr-utility-strip {
  background: var(--av-abyss);
  color: rgba(244, 247, 250, 0.78);
  font-family: var(--av-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 7px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2001;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}
.sr-utility-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sr-utility-strip a { color: var(--av-brass-hi); text-decoration: none; }
.sr-utility-strip .dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; display: inline-block; margin-right: 7px; box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15); }
.sr-header-main { top: 30px !important; padding: 12px 0 !important; transition: background 0.3s ease, box-shadow 0.3s ease, top 0.3s ease; }
.sr-header-main.scrolled { background: rgba(6, 15, 30, 0.9) !important; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(201, 168, 76, 0.22), 0 18px 44px -18px rgba(0, 0, 0, 0.6); border-bottom: 1px solid rgba(201, 168, 76, 0.3); }
.sr-header-main.scrolled .seal-mini { color: var(--av-brass-hi) !important; border-color: rgba(232, 207, 131, 0.55) !important; }
.sr-home-page .sr-header-main:not(.scrolled):not(.menu-open) { background: linear-gradient(180deg, rgba(6,15,30,.72), transparent) !important; }
.sr-home-page .sr-header-main:not(.scrolled):not(.menu-open) .nav-link { color: #fff !important; }
.sr-home-page .sr-header-main:not(.scrolled):not(.menu-open) .sr-logo span { color: #fff !important; }
.sr-home-page .sr-header-main:not(.scrolled):not(.menu-open) .sr-btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.35) !important; }
.sr-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.sr-logo span { font-family: var(--sr-font-display); font-size: 1.7rem; font-weight: 700; color: var(--av-ink); letter-spacing: -0.01em; }
.sr-logo img { box-shadow: 0 6px 18px rgba(13,31,53,.25); }
.sr-logo .seal-mini {
  font-family: var(--av-mono); font-size: 0.58rem; letter-spacing: 0.12em;
  border: 1px solid var(--av-brass); color: var(--av-brass-ink);
  border-radius: 999px; padding: 3px 9px; margin-left: 2px; white-space: nowrap;
}
.sr-home-page .sr-header-main:not(.scrolled) .seal-mini { color: var(--av-brass-hi); border-color: rgba(232,207,131,.6); }
.navbar-nav .nav-link {
  position: relative; font-weight: 600; font-size: 0.95rem;
  color: var(--av-ink) !important; padding: 10px 14px !important;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--av-brass); transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--sr-ease-out, ease);
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--av-brass-ink) !important; }
.sr-nav-actions { display: flex; gap: 10px; }
.sr-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--sr-border-strong); color: var(--av-ink);
  border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none !important; transition: all 0.25s ease; background: transparent;
}
.sr-btn-ghost:hover { border-color: var(--av-brass); color: var(--av-brass-ink); transform: translateY(-1px); }
.sr-btn-primary, .sr-home-cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #d9b95c 0%, #c9a84c 45%, #9a7a30 100%);
  color: #081526 !important; border: none; border-radius: 999px;
  padding: 12px 26px; font-weight: 800; font-size: 0.93rem;
  text-decoration: none !important; box-shadow: 0 12px 30px -8px rgba(201,168,76,.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sr-btn-primary:hover, .sr-home-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(201,168,76,.65); color: #081526 !important; }
.sr-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--av-brass); color: var(--av-brass-ink);
  border-radius: 999px; padding: 12px 26px; font-weight: 700;
  text-decoration: none !important; transition: all 0.25s ease; background: transparent;
}
.sr-btn-outline:hover { background: var(--av-brass); color: #081526 !important; transform: translateY(-2px); }

/* ── Ticker tape ──────────────────────────────────────────────── */
.av-ticker {
  background: var(--av-abyss); color: rgba(244,247,250,.85);
  border-top: 1px solid rgba(201,168,76,.3); border-bottom: 1px solid rgba(201,168,76,.3);
  overflow: hidden; white-space: nowrap; padding: 11px 0;
  font-family: var(--av-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.av-ticker-track { display: inline-flex; gap: 3rem; padding-left: 2rem; animation: avTick 38s linear infinite; }
.av-ticker b { color: var(--av-brass-hi); font-weight: 700; }
.av-ticker .sep { color: var(--av-brass); }
@keyframes avTick { to { transform: translateX(-50%); } }

/* ── Hero: The Survey Ledger ──────────────────────────────────── */
.sr-home-hero {
  padding: 172px 0 90px !important;
  min-height: 96vh !important;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(201,168,76,.22) 0%, transparent 55%),
    radial-gradient(50rem 30rem at -10% 110%, rgba(37,211,102,.06) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6,15,30,.82) 0%, rgba(13,31,53,.9) 60%, rgba(6,15,30,.96) 100%),
    url("../images/home-hero.d963d7b8ae4b.jpg") center / cover no-repeat !important;
  overflow: hidden;
}
.sr-home-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 80% at 50% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, black 30%, transparent 100%);
}
.sr-home-hero .container { position: relative; z-index: 2; }
.sr-ledger-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--av-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--av-brass-hi); border: 1px solid rgba(201,168,76,.5);
  background: rgba(201,168,76,.1); padding: 9px 18px; border-radius: 999px; margin-bottom: 26px;
}
.sr-ledger-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: avPulse 2.2s infinite; }
@keyframes avPulse { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.sr-home-title { font-size: clamp(2.9rem, 1.4rem + 5vw, 5.2rem) !important; line-height: 1.0 !important; letter-spacing: -0.02em !important; max-width: 14ch; }
.sr-home-title .deed-underline {
  color: var(--av-brass-hi); font-style: italic; position: relative; white-space: nowrap;
  text-decoration: underline; text-decoration-color: rgba(201,168,76,.6);
  text-decoration-thickness: 3px; text-underline-offset: 10px;
}
.sr-home-subtitle { font-size: 1.13rem !important; max-width: 52ch !important; color: rgba(244,247,250,.78) !important; }
.sr-home-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.sr-home-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.3); color: #fff !important;
  border-radius: 999px; padding: 12px 26px; font-weight: 700; text-decoration: none !important;
  backdrop-filter: blur(8px); transition: all 0.25s ease;
}
.sr-home-cta-ghost:hover { border-color: var(--av-brass-hi); color: var(--av-brass-hi) !important; transform: translateY(-2px); }
.sr-home-coords {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--av-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244,247,250,.6);
}
.sr-home-coords b { display: block; font-size: 1.45rem; letter-spacing: 0; color: #fff; font-family: var(--sr-font-display); text-transform: none; }
.sr-home-coords b em { color: var(--av-brass-hi); font-style: normal; }

/* Search console card */
.sr-home-search-card {
  border-radius: 26px !important; padding: 0 !important; overflow: hidden;
  border: 1px solid rgba(201,168,76,.4) !important;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.55), 0 0 0 8px rgba(201,168,76,.08) !important;
  position: relative;
}
.sr-console-bar {
  display: flex; align-items: center; gap: 8px;
  background: #0a1828; padding: 14px 22px; border-bottom: 1px solid rgba(201,168,76,.25);
  font-family: var(--av-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,247,250,.6);
}
.sr-console-bar .lights { display: flex; gap: 6px; margin-right: 8px; }
.sr-console-bar .lights i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.sr-console-body { padding: 30px 30px 32px; background: #fff; }
.sr-console-body .sr-home-search-head h2 { font-family: var(--sr-font-display); font-size: 1.65rem !important; letter-spacing: -0.01em; }
.sr-home-field input, .sr-home-field select { border-radius: 14px !important; height: 54px !important; border: 1.5px solid #e4dfd4 !important; background: #faf8f2 !important; font-weight: 600; }
.sr-home-field input:focus, .sr-home-field select:focus { border-color: var(--av-brass) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(201,168,76,.16) !important; }
.sr-home-search-button { border-radius: 14px !important; background: linear-gradient(135deg,#0d1f35,#1a3550) !important; font-size: 1rem; letter-spacing: 0.01em; }
.sr-home-search-button:hover { box-shadow: 0 16px 34px rgba(13,31,53,.35) !important; }
.sr-seal-stamp {
  position: absolute; top: 118px; right: -14px; width: 118px; height: 118px; z-index: 5;
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 3px double var(--av-brass); border-radius: 50%; color: var(--av-brass-ink);
  background: rgba(247,244,238,.92); backdrop-filter: blur(4px);
  font-family: var(--av-mono); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  transform: rotate(12deg); box-shadow: 0 14px 34px rgba(13,31,53,.25);
  animation: avStampIn 0.7s cubic-bezier(.2,1.4,.4,1) 0.35s both;
}
.sr-seal-stamp small { display: block; font-size: 1.05rem; color: var(--av-brass-ink); }
@keyframes avStampIn { from { opacity: 0; transform: rotate(12deg) scale(1.6); } to { opacity: 1; transform: rotate(12deg) scale(1); } }

/* ── Section furniture: folio ledger ──────────────────────────── */
.sr-home-section { padding: 96px 0 !important; position: relative; }
.sr-folio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 46px; }
.sr-folio-head h2 { font-family: var(--sr-font-display); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem) !important; letter-spacing: -0.015em; color: var(--av-ink); margin: 10px 0 0 !important; padding: 0 !important; }
.sr-folio-head h2::after { display: none !important; }
.sr-folio-head p { color: var(--sr-muted); max-width: 46ch; margin: 12px 0 0 !important; }
.sr-folio-num {
  font-family: var(--sr-font-display); font-size: clamp(3.4rem, 3rem + 3vw, 5.4rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(201,168,76,.75);
  user-select: none;
}

/* Spotlight lead card + ledger rows (featured) */
.curated-grid { grid-template-columns: 1.15fr 1fr 1fr !important; gap: 24px !important; }
.curated-grid .curated-card:first-child { grid-row: span 1; }
.curated-card { border-radius: 22px !important; border: 1px solid var(--sr-border) !important; box-shadow: var(--sr-shadow-md) !important; }
.curated-card:hover { transform: translateY(-8px) !important; border-color: var(--av-brass) !important; box-shadow: 0 30px 60px -18px rgba(13,31,53,.28) !important; }
.curated-badge { background: rgba(6,15,30,.88) !important; border: 1px solid rgba(201,168,76,.6); color: var(--av-brass-hi) !important; font-family: var(--av-mono); letter-spacing: 0.08em; }
.curated-type { font-family: var(--av-mono) !important; font-size: 0.7rem !important; letter-spacing: 0.12em; color: var(--av-brass-ink) !important; }
.curated-content h3 { font-family: var(--sr-font-display); font-size: 1.45rem !important; letter-spacing: -0.01em; }
.curated-price { font-family: var(--sr-font-display); }
.curated-footer { background: #faf8f1 !important; border-top: 1px dashed var(--sr-border-strong); }
.curated-view-btn { background: var(--av-ink) !important; }
.curated-card:hover .curated-view-btn { background: var(--av-brass) !important; color: #081526 !important; }

/* Trust: seal cards, not identical SaaS cards */
.sr-home-trust-card { border-radius: 24px !important; text-align: left !important; padding: 36px 32px !important; position: relative; overflow: hidden; }
.sr-home-trust-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--av-brass), transparent); opacity: 0; transition: opacity 0.3s; }
.sr-home-trust-card:hover::after { opacity: 1; }
.sr-home-trust-card:nth-child(1) { background: #fff; }
.sr-home-trust-icon { margin: 0 0 22px !important; border-radius: 16px !important; width: 58px !important; height: 58px !important; }
.sr-home-trust-card h3 { font-family: var(--sr-font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.sr-home-trust-card .av-mono-step { font-family: var(--av-mono); font-size: 0.7rem; letter-spacing: 0.14em; color: var(--av-brass-ink); text-transform: uppercase; }

/* Ink vault band */
.band-ink {
  background:
    linear-gradient(rgba(201,168,76,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.07) 1px, transparent 1px),
    linear-gradient(135deg, #060f1e 0%, #0d1f35 55%, #14293f 100%);
  background-size: 44px 44px, 44px 44px, cover;
  border-top: 1px solid rgba(201,168,76,.3); border-bottom: 1px solid rgba(201,168,76,.3);
  border-radius: 32px;
}
.sr-home-final-card { background: transparent !important; border: none !important; box-shadow: none !important; padding: 88px 32px !important; }

/* Top agents: ledger table on desktop */
.top-agents-grid { grid-template-columns: repeat(5, 1fr); }
.agent-card { border-radius: 20px !important; overflow: hidden; }
.agent-rank { font-family: var(--av-mono) !important; background: var(--av-ink) !important; color: var(--av-brass-hi) !important; border: 1px solid rgba(201,168,76,.5); }

/* ── Page heroes (listings / agents / about / contact / detail) ── */
.sr-page-hero-section {
  background:
    radial-gradient(50rem 22rem at 85% -20%, rgba(201,168,76,.2) 0%, transparent 55%),
    linear-gradient(rgba(201,168,76,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.07) 1px, transparent 1px),
    linear-gradient(135deg, #060f1e 0%, #0d1f35 60%, #152c49 100%) !important;
  background-size: auto, 44px 44px, 44px 44px, cover !important;
  border-bottom: 1px solid rgba(201,168,76,.35);
  padding: 76px 0 66px !important;
  position: relative; overflow: hidden;
}
.sr-page-hero-section::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.7), transparent);
}
.sr-page-hero-section h1 { font-family: var(--sr-font-display); letter-spacing: -0.015em; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem) !important; }
.sr-page-hero-section h1 .text-accent, .sr-page-hero-section .text-accent { color: var(--av-brass-hi) !important; }
.sr-page-hero-section .lead { color: rgba(244,247,250,.75) !important; max-width: 60ch; }
.breadcrumb-item a { color: var(--av-brass-hi) !important; font-family: var(--av-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.breadcrumb-item.active { color: rgba(255,255,255,.5) !important; }

/* Filter consoles */
.sr-filter-top-card {
  border-radius: 22px !important; border: 1px solid var(--sr-border-strong) !important;
  box-shadow: var(--sr-shadow-lg) !important; margin-top: -34px; position: relative; z-index: 5;
}
.sr-filter-top-card h5 { font-family: var(--sr-font-display); font-size: 1.35rem; }
.sr-agents-filter-bar {
  background: rgba(255,255,255,.08) !important; border: 1px solid rgba(201,168,76,.35);
  backdrop-filter: blur(10px); border-radius: 20px !important;
}

/* Property cards: sharper geometry */
.sr-prop-card, .sr-agent-card { border-radius: 20px !important; }
.sr-prop-card:hover, .sr-agent-card:hover { border-color: var(--av-brass) !important; }

/* ── Auth v2: ledger desk ─────────────────────────────────────── */
.sr-auth-page main#mainContent { padding-top: 132px !important; }
.sr-auth-shell { padding: 1rem 0 5rem !important; position: relative; }
.sr-auth-shell::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 340px; pointer-events: none;
  background:
    radial-gradient(40rem 18rem at 50% -30%, rgba(201,168,76,.25), transparent 60%),
    linear-gradient(180deg, #060f1e 0%, rgba(6,15,30,0) 100%);
}
.sr-auth-layout { position: relative; z-index: 1; }
.sr-auth-panel { border: 1px solid rgba(201,168,76,.35) !important; border-radius: 28px !important; }
.sr-auth-panel::before { background: radial-gradient(circle, rgba(201,168,76,.3), transparent 70%) !important; }
.sr-auth-kicker { font-family: var(--av-mono) !important; text-transform: uppercase; letter-spacing: 0.14em !important; font-size: 0.72rem !important; }
.sr-auth-hero-title { font-family: var(--sr-font-display); font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem) !important; line-height: 1.04 !important; letter-spacing: -0.015em; max-width: 16ch !important; }
.sr-auth-card { border-radius: 28px !important; border: 1px solid var(--sr-border-strong) !important; box-shadow: 0 30px 80px -20px rgba(6,15,30,.3) !important; }
.sr-auth-card-head h2 { font-family: var(--sr-font-display); letter-spacing: -0.01em; }
.sr-auth-field input, .sr-auth-field select { border-radius: 14px !important; background: #faf8f2 !important; border: 1.5px solid #e4dfd4 !important; }
.sr-auth-field input:focus, .sr-auth-field select:focus { border-color: var(--av-brass) !important; box-shadow: 0 0 0 4px rgba(201,168,76,.16) !important; background: #fff !important; }
.sr-auth-submit { border-radius: 14px !important; min-height: 56px; font-size: 1rem; }
.verify-shell { position: relative; z-index: 1; }
.verify-card { border-radius: 26px !important; border: 1px solid var(--sr-border-strong) !important; overflow: hidden; }
.verify-head { background: linear-gradient(135deg, #060f1e 0%, #0d1f35 60%, #1a3550 100%) !important; border-bottom: 1px solid rgba(201,168,76,.4); }
.verify-timer { font-family: var(--av-mono) !important; }

/* ── Footer v2: registry colophon ─────────────────────────────── */
.sr-footer {
  background:
    linear-gradient(rgba(201,168,76,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.06) 1px, transparent 1px),
    linear-gradient(180deg, #060f1e 0%, #0a192e 100%) !important;
  background-size: 44px 44px, 44px 44px, cover !important;
  border-top: 1px solid rgba(201,168,76,.35) !important;
  padding: 80px 0 34px !important; color: rgba(244,247,250,.75) !important;
}
.sr-footer .footer-heading {
  font-family: var(--av-mono); font-size: 0.72rem !important; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--av-brass-hi) !important; margin-bottom: 20px;
}
.sr-footer .footer-links { list-style: none; padding: 0; display: grid; gap: 12px; }
.sr-footer .footer-links a, .footer-link-btn {
  color: rgba(244,247,250,.72) !important; text-decoration: none !important; font-size: 0.95rem;
  background: none; border: none; padding: 0; cursor: pointer;
}
.sr-footer .footer-links a:hover, .footer-link-btn:hover { color: var(--av-brass-hi) !important; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,.4); color: var(--av-brass-hi) !important; font-size: 1.1rem;
  transition: all 0.25s ease;
}
.social-btn:hover { background: var(--av-brass); color: #081526 !important; transform: translateY(-3px); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(201,168,76,.2); padding-top: 26px; margin-top: 10px;
  font-family: var(--av-mono); font-size: 0.74rem; letter-spacing: 0.06em;
}
.footer-bottom a { color: rgba(244,247,250,.6) !important; text-decoration: none !important; }
.footer-colophon { display: flex; align-items: center; gap: 10px; }
.footer-seal {
  width: 42px; height: 42px; border-radius: 50%; border: 2px double var(--av-brass);
  display: inline-flex; align-items: center; justify-content: center; color: var(--av-brass-hi); font-size: 1.1rem;
}

/* Back-to-top */
.sr-back-to-top {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(201,168,76,.55);
  background: rgba(6,15,30,.9); color: var(--av-brass-hi); backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(6,15,30,.4);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .vault-rail-note, .vault-chip { display: none; }
  .av-terra-grid { grid-template-columns: 1fr 1fr; }
  .sr-header-main { top: 0 !important; }
  body:not(.sr-home-page) main#mainContent { padding-top: 92px; }
  .sr-auth-page main#mainContent { padding-top: 100px !important; }
  .sr-home-hero { padding: 130px 0 70px !important; }
  .curated-grid { grid-template-columns: 1fr 1fr !important; }
  .sr-seal-stamp { display: none; }
  .sr-folio-num { display: none; }
}
@media (max-width: 767px) {
  .sr-home-title { font-size: clamp(2.5rem, 10vw, 3.2rem) !important; }
  .curated-grid { grid-template-columns: 1fr !important; }
  .sr-console-body { padding: 24px 20px 26px; }
  .sr-home-section { padding: 64px 0 !important; }
  .sr-nav-actions { flex-direction: column; align-items: stretch !important; padding: 14px 0 6px; }
  .top-agents-grid { grid-template-columns: 1fr 1fr !important; }
  .vault-scene { padding: 120px 0 64px; }
  .vault-dossier { border-radius: 22px; }
  .vault-filetab { left: 20px; }
  .av-terra-grid, .av-doors { grid-template-columns: 1fr; }
  .vault-steps { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}

/* ── Agents hero: survey vault ────────────────────────────────── */
.sr-agents-hero {
  background:
    radial-gradient(50rem 22rem at 85% -20%, rgba(201,168,76,.2) 0%, transparent 55%),
    linear-gradient(rgba(201,168,76,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(6,15,30,.96) 0%, rgba(13,31,53,.94) 60%, rgba(21,44,73,.94) 100%),
    url("../images/agents-hero.ada2f00a0da8.jpg") center / cover no-repeat !important;
  border-bottom: 1px solid rgba(201,168,76,.35);
  padding: 76px 0 66px !important;
}
.sr-agents-hero h1 { font-family: var(--sr-font-display); letter-spacing: -0.015em; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem) !important; }
.sr-agents-hero p { color: rgba(244,247,250,.75) !important; max-width: 62ch; margin-left: auto; margin-right: auto; }

/* ── Liquid button system: water rises on hover ────────────────
   Every public call-to-action gets the same physics — a bright tide
   with a wavy crest rises from the bottom, struck with drifting
   shimmer. One motion language, every button. */
.sr-btn-primary, .sr-home-cta-primary, .sr-home-search-button,
.sr-btn-outline, .sr-home-cta-ghost, .agent-contact,
.sr-btn-ghost, .sr-auth-btn, .sr-auth-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sr-btn-primary > *, .sr-home-cta-primary > *,
.sr-home-search-button > *, .sr-btn-outline > *,
.sr-home-cta-ghost > *, .agent-contact > *,
.sr-btn-ghost > *, .sr-auth-btn > *, .sr-auth-submit > * {
  position: relative;
  z-index: 1;
}
/* The tide: oversized disc with an elliptical crest, parked below. */
.sr-btn-primary::before, .sr-home-cta-primary::before,
.sr-home-search-button::before, .sr-btn-outline::before,
.sr-home-cta-ghost::before, .agent-contact::before,
.sr-btn-ghost::before, .sr-auth-btn::before, .sr-auth-submit::before {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -45%;
  width: 140%;
  height: 190%;
  z-index: 0;
  border-radius: 46% 54% 0 0 / 30px 36px 0 0;
  transform: translateY(82%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
/* Gold buttons flood brighter gold + drifting shimmer. */
.sr-btn-primary::before, .sr-home-cta-primary::before,
.sr-auth-submit.sr-btn-primary::before {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.28) 0 12px, rgba(255, 255, 255, 0) 12px 26px),
    linear-gradient(180deg, #f6e3ae 0%, #e8cf83 55%, #d9b95c 100%);
}
/* Dark console button floods gold — text dives to ink. */
.sr-home-search-button::before {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.3) 0 12px, rgba(255, 255, 255, 0) 12px 26px),
    linear-gradient(180deg, #e8cf83 0%, #c9a84c 60%, #9a7a30 100%);
}
/* Outlines + hero ghost flood solid. */
.sr-btn-outline::before {
  background: linear-gradient(180deg, #e8cf83 0%, #c9a84c 100%);
}
.sr-home-cta-ghost::before {
  background:
    repeating-linear-gradient(115deg, rgba(201, 168, 76, 0.25) 0 12px, rgba(201, 168, 76, 0) 12px 26px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 237, 214, 0.98) 100%);
}
/* Nav ghost floods ink. */
.sr-btn-ghost::before {
  background: linear-gradient(180deg, #1a3550 0%, #0d1f35 100%);
}
/* WhatsApp green floods brighter. */
.agent-contact::before {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.3) 0 12px, rgba(255, 255, 255, 0) 12px 26px),
    linear-gradient(180deg, #4be584 0%, #25d366 60%, #128c7e 100%);
}
/* Auth secondary floods ink wash. */
.sr-auth-btn-secondary::before {
  background: linear-gradient(180deg, #1a3550 0%, #0d1f35 100%);
}
.sr-btn-primary:hover::before, .sr-home-cta-primary:hover::before,
.sr-home-search-button:hover::before, .sr-btn-outline:hover::before,
.sr-home-cta-ghost:hover::before, .agent-contact:hover::before,
.sr-btn-ghost:hover::before, .sr-auth-btn:hover::before,
.sr-auth-submit:hover::before {
  transform: translateY(6%);
}
/* Shimmer drifts while the tide is up. */
.sr-btn-primary:hover::before, .sr-home-cta-primary:hover::before,
.sr-home-search-button:hover::before, .sr-home-cta-ghost:hover::before,
.agent-contact:hover::before {
  animation: avShimmer 1.6s linear infinite;
}
@keyframes avShimmer {
  to { background-position: 37px 0, 0 0; }
}
/* Ink-contrast text over the flood. */
.sr-home-search-button:hover { color: #081526 !important; }
.sr-btn-outline:hover { color: #081526 !important; border-color: #c9a84c !important; }
.sr-home-cta-ghost:hover { color: #081526 !important; border-color: #fff !important; }
.sr-btn-ghost:hover { color: #f4f7fa !important; border-color: #0d1f35 !important; }
.sr-auth-btn-secondary:hover { color: #f4f7fa !important; }
/* Droplet press. */
.sr-btn-primary:active, .sr-home-cta-primary:active,
.sr-home-search-button:active, .sr-btn-outline:active,
.sr-home-cta-ghost:active, .agent-contact:active,
.sr-btn-ghost:active {
  transform: translateY(0) scale(0.97) !important;
}

/* ── Breadcrumb pill: modern glass crumb for every hero ───────── */
.sr-page-hero-section .breadcrumb,
.sr-agents-hero .breadcrumb,
.av-crumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 18px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-family: var(--av-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sr-page-hero-section .breadcrumb .breadcrumb-item,
.sr-agents-hero .breadcrumb .breadcrumb-item,
.av-crumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.sr-page-hero-section .breadcrumb .breadcrumb-item a,
.sr-agents-hero .breadcrumb .breadcrumb-item a,
.av-crumb .breadcrumb-item a {
  color: var(--av-brass-hi) !important;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.sr-page-hero-section .breadcrumb .breadcrumb-item a:hover,
.sr-agents-hero .breadcrumb .breadcrumb-item a:hover,
.av-crumb .breadcrumb-item a:hover {
  color: #fff !important;
}
.sr-page-hero-section .breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.sr-agents-hero .breadcrumb .breadcrumb-item + .breadcrumb-item::before,
.av-crumb .breadcrumb-item + .breadcrumb-item::before {
  float: none;
  content: "›";
  color: var(--av-brass);
  font-size: 1rem;
  line-height: 1;
  padding: 0 10px;
}
.sr-page-hero-section .breadcrumb .breadcrumb-item.active,
.sr-agents-hero .breadcrumb .breadcrumb-item.active,
.av-crumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6) !important;
}
/* Detail-page crumb (paper surface, ink text). */
.sr-breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--sr-border-strong);
  border-radius: 999px;
  box-shadow: var(--sr-shadow-sm);
  font-family: var(--av-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sr-breadcrumb-premium { padding: 18px 0 0; }
.sr-breadcrumb-nav li { display: inline-flex; align-items: center; }
.sr-breadcrumb-nav a {
  color: var(--av-brass-ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sr-breadcrumb-nav a:hover { color: var(--av-ink) !important; }
.sr-breadcrumb-nav li [class*="chevron"] { color: var(--av-brass); font-size: 0.7rem; margin: 0 8px; }
.sr-breadcrumb-nav [aria-current="page"] { color: var(--sr-muted); }

/* ── Glassmorphism: frosted consoles ───────────────────────────
   Search console, filter desks, auth card and crumbs go frosted —
   translucent fills, backdrop blur + saturation, hairline light edge
   with an inner top highlight. Content stays razor sharp. */
.sr-console-body {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}
.sr-console-bar {
  background: rgba(10, 24, 40, 0.72) !important;
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.sr-filter-top-card {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(13, 31, 53, 0.04),
    0 24px 60px -18px rgba(13, 31, 53, 0.28) !important;
}
.sr-agents-filter-bar {
  background: rgba(13, 31, 53, 0.42) !important;
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 50px rgba(0, 0, 0, 0.35) !important;
}
.sr-auth-card {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 80px -20px rgba(6, 15, 30, 0.35) !important;
}
.sr-auth-card-head {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sr-home-search-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

/* ── Claymorphism: puffy stamp pads ─────────────────────────────
   Spent in ONE place — the protocol cards — plus the small bubble
   buttons. Thick light borders, twin soft shadows (lift + press),
   inner highlights: soft-toy 3D you want to poke. */
.sr-home-trust-card {
  background: linear-gradient(145deg, #fffdf8 0%, #f4eddc 100%) !important;
  border: 3px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 28px !important;
  box-shadow:
    10px 10px 24px rgba(13, 31, 53, 0.12),
    -10px -10px 24px rgba(255, 255, 255, 0.9),
    inset 2px 2px 6px rgba(255, 255, 255, 0.85),
    inset -4px -4px 10px rgba(13, 31, 53, 0.06) !important;
}
.sr-home-trust-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  border-color: rgba(201, 168, 76, 0.55) !important;
  box-shadow:
    16px 16px 34px rgba(13, 31, 53, 0.16),
    -10px -10px 24px rgba(255, 255, 255, 0.9),
    inset 2px 2px 6px rgba(255, 255, 255, 0.85),
    inset -4px -4px 10px rgba(13, 31, 53, 0.05) !important;
}
.sr-home-trust-card::after {
  left: 14px !important;
  top: 14px !important;
  bottom: 14px !important;
  width: 5px !important;
  border-radius: 99px !important;
}
.sr-home-trust-icon {
  border-radius: 20px !important;
  background: linear-gradient(145deg, #16293f 0%, #0d1f35 100%) !important;
  border: 2px solid rgba(201, 168, 76, 0.55) !important;
  box-shadow:
    6px 6px 14px rgba(13, 31, 53, 0.35),
    -3px -3px 8px rgba(255, 255, 255, 0.6),
    inset 2px 2px 4px rgba(255, 255, 255, 0.28),
    inset -2px -2px 5px rgba(0, 0, 0, 0.35) !important;
}
/* Clay bubbles: wishlist, view arrows, ranks, avatars. */
.curated-view-btn, .curated-wishlist {
  border: 2px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow:
    4px 4px 10px rgba(13, 31, 53, 0.28),
    -2px -2px 6px rgba(255, 255, 255, 0.55),
    inset 1px 1px 2px rgba(255, 255, 255, 0.5),
    inset -2px -2px 4px rgba(0, 0, 0, 0.18) !important;
}
.agent-rank {
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    3px 3px 8px rgba(13, 31, 53, 0.3),
    inset 1px 1px 2px rgba(255, 255, 255, 0.5) !important;
}
.agent-avatar {
  border: 3px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow:
    6px 6px 14px rgba(13, 31, 53, 0.22),
    -4px -4px 10px rgba(255, 255, 255, 0.7),
    inset 2px 2px 5px rgba(255, 255, 255, 0.3),
    inset -3px -3px 6px rgba(0, 0, 0, 0.25) !important;
}
.sr-home-metric strong {
  text-shadow: 0 2px 12px rgba(201, 168, 76, 0.35);
}

/* ── Live rail: self-driving sealed-home cards ────────────────── */
.av-rail-wrap {
  background:
    linear-gradient(rgba(201, 168, 76, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, #060f1e 0%, #0a1a30 100%);
  background-size: 44px 44px, 44px 44px, cover;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  padding: 72px 0 80px;
  overflow: hidden;
}
.av-rail-head h2 {
  font-family: var(--sr-font-display);
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem);
  letter-spacing: -0.015em;
  color: #fff;
  margin: 10px 0 0;
}
.av-rail-head p { color: rgba(244, 247, 250, 0.65); margin: 10px 0 0; max-width: 44ch; }
.av-rail-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--av-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 247, 250, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
}
.av-rail-status .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: avPulse 2.2s infinite;
}
.av-rail {
  margin-top: 40px;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.av-rail-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 6px 4px 18px;
  animation: avRail 48s linear infinite;
}
.av-rail:hover .av-rail-track,
.av-rail:focus-within .av-rail-track {
  animation-play-state: paused;
}
@keyframes avRail {
  to { transform: translateX(calc(-50% - 10px)); }
}
.av-rail-card {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 340px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 20px;
  padding: 12px 16px 12px 12px;
  text-decoration: none !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.av-rail-card:hover {
  border-color: var(--av-brass-hi);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}
.av-rail-thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(201, 168, 76, 0.4);
}
.av-rail-thumb-fallback {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  color: var(--av-brass-hi);
  font-size: 1.6rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
}
.av-rail-card small {
  font-family: var(--av-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--av-brass-hi);
  display: block;
  margin-bottom: 3px;
}
.av-rail-card strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.av-rail-card span.loc {
  display: block;
  font-size: 0.8rem;
  color: rgba(244, 247, 250, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.av-rail-card em {
  display: block;
  font-style: normal;
  font-family: var(--sr-font-display);
  font-size: 1.05rem;
  color: #fff;
  margin-top: 2px;
}

/* ── Solid button system (tide retired) ─────────────────────────
   The water overlay is gone: it could paint over raw text labels.
   Hover states are flat, opaque fills on the element itself — text
   can never be covered. Depth comes from lift + shadow + press. */
.sr-btn-primary::before, .sr-home-cta-primary::before,
.sr-home-search-button::before, .sr-btn-outline::before,
.sr-home-cta-ghost::before, .sr-home-cta-ghost::after,
.sr-btn-primary::after, .sr-home-cta-primary::after,
.sr-home-search-button::after, .sr-btn-outline::after,
.agent-contact::before, .agent-contact::after,
.sr-btn-ghost::before, .sr-btn-ghost::after,
.sr-auth-btn::before, .sr-auth-btn::after,
.sr-auth-submit::before, .sr-auth-submit::after {
  content: none !important;
}
.sr-btn-primary, .sr-home-cta-primary,
.sr-home-search-button, .sr-btn-outline,
.sr-home-cta-ghost, .agent-contact,
.sr-btn-ghost, .sr-auth-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
}
.sr-btn-primary:hover, .sr-home-cta-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  color: #081526 !important;
  box-shadow: 0 18px 40px -8px rgba(201, 168, 76, 0.65);
}
.sr-home-search-button:hover {
  background: linear-gradient(135deg, #e8cf83 0%, #c9a84c 100%) !important;
  color: #081526 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201, 168, 76, 0.45) !important;
}
.sr-btn-outline:hover {
  background: var(--av-brass) !important;
  color: #081526 !important;
  border-color: var(--av-brass) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(201, 168, 76, 0.6);
}
.sr-home-cta-ghost:hover {
  background: #fff !important;
  color: #081526 !important;
  border-color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.sr-btn-ghost:hover {
  background: var(--av-ink) !important;
  color: #f4f7fa !important;
  border-color: var(--av-ink) !important;
  transform: translateY(-1px);
}
/* On the dark glass header, ghost buttons flood gold instead. */
.sr-header-main .sr-btn-ghost:hover {
  background: var(--av-brass) !important;
  border-color: var(--av-brass) !important;
  color: #081526 !important;
  transform: translateY(-1px);
}
.agent-contact:hover {
  background: #1fbf5b !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}
.sr-auth-btn-primary:hover { filter: brightness(1.12); transform: translateY(-2px); }
.sr-auth-btn-secondary:hover { background: rgba(16, 36, 61, 0.14) !important; transform: translateY(-2px); }
.sr-btn-primary:active, .sr-home-cta-primary:active,
.sr-home-search-button:active, .sr-btn-outline:active,
.sr-home-cta-ghost:active, .agent-contact:active,
.sr-btn-ghost:active, .sr-auth-btn:active {
  transform: translateY(0) scale(0.97) !important;
}

/* ── Glass wins over page-level sheets ──────────────────────────
   Page <style> blocks load after this sheet, so frosted fills that
   must survive need the extra weight. */
.sr-filter-top-card {
  background: rgba(255, 255, 255, 0.72) !important;
}
.sr-home-search-card {
  background: rgba(255, 255, 255, 0.65) !important;
}
.sr-agents-filter-bar {
  background: rgba(13, 31, 53, 0.42) !important;
}

/* ── VAULT DESK: auth rebuilt ───────────────────────────────────
   Full-bleed ink scene, giant ghost file-word, mono ledger rails,
   one centered paper dossier with brass seal + file tab. The form
   guts keep their sr-auth-* names so every backend hook survives;
   only the room around them is new. */
.sr-auth-page main#mainContent { padding-top: 0 !important; }
.vault-scene {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 150px 0 90px;
  background:
    radial-gradient(55rem 28rem at 50% -12%, rgba(201, 168, 76, 0.2) 0%, transparent 60%),
    radial-gradient(40rem 26rem at 108% 110%, rgba(37, 211, 102, 0.05) 0%, transparent 55%),
    linear-gradient(rgba(201, 168, 76, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.08) 1px, transparent 1px),
    linear-gradient(160deg, #060f1e 0%, #0d1f35 55%, #12283f 100%);
  background-size: auto, auto, 44px 44px, 44px 44px, cover;
}
.vault-ghost {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--sr-font-display);
  font-weight: 700;
  font-size: clamp(6rem, 22vw, 20rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 168, 76, 0.22);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.vault-rail-note {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--av-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 207, 131, 0.5);
  z-index: 1;
}
.vault-rail-note.left { left: 26px; }
.vault-rail-note.right { right: 26px; transform: translateY(-50%); }
.vault-stack { position: relative; z-index: 2; }
.vault-dossier {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fffdf8 0%, #faf6ec 100%);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 28px;
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.65),
    0 0 0 10px rgba(201, 168, 76, 0.08);
  padding: clamp(30px, 5vw, 48px);
}
.vault-dossier--wide { max-width: 780px; }
.vault-dossier--slim { max-width: 520px; }
.vault-filetab {
  position: absolute;
  top: -16px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--av-abyss);
  color: var(--av-brass-hi);
  font-family: var(--av-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.6);
  border-radius: 999px;
  padding: 8px 18px;
}
.vault-filetab .dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.vault-seal {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3px double var(--av-brass);
  background: radial-gradient(circle at 35% 30%, #14304d 0%, #0d1f35 70%);
  color: var(--av-brass-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 6px auto 20px;
  box-shadow: 0 14px 30px rgba(13, 31, 53, 0.35);
}
.vault-dossier .sr-auth-brand { display: none; }
.vault-dossier .sr-auth-card-head { text-align: center; margin-bottom: 1.6rem; background: transparent !important; position: static; padding: 0; }
.vault-dossier .sr-auth-card-head h2 {
  font-family: var(--sr-font-display);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  letter-spacing: -0.015em;
  color: var(--av-ink);
  margin-bottom: 0.4rem;
}
.vault-dossier .sr-auth-card-head p { color: var(--sr-muted); max-width: 40ch; margin: 0 auto; }
/* Ledger fields: mono labels, paper inputs, brass focus. */
.vault-dossier .sr-auth-field label,
.vault-dossier .sr-auth-field > label {
  font-family: var(--av-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--av-brass-ink);
}
.vault-dossier .sr-auth-field input,
.vault-dossier .sr-auth-field select {
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid #e0d9c6;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
  color: var(--av-ink);
}
.vault-dossier .sr-auth-field input:focus,
.vault-dossier .sr-auth-field select:focus {
  outline: none;
  border-color: var(--av-brass);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.18);
}
.vault-dossier .sr-auth-text-link { color: var(--av-brass-ink); }
.vault-dossier .sr-auth-text-link:hover { color: var(--av-ink); }
.vault-dossier .sr-auth-check { background: #f4efe1; border: 1px dashed rgba(138, 101, 26, 0.4); }
.vault-dossier .sr-auth-submit { min-height: 58px; font-size: 1.02rem; }
/* Checkpoint stepper for the signup wizard. */
.vault-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.vault-steps .sr-mw-step { text-align: center; }
.vault-steps .sr-mw-dot {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #efe8d4;
  border: 1.5px solid #ddd2b8;
  font-family: var(--av-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: #8a7c55;
  margin-bottom: 6px;
}
.vault-steps .sr-mw-step small {
  font-family: var(--av-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sr-muted);
}
.vault-steps .sr-mw-step.active .sr-mw-dot {
  background: var(--av-ink);
  border-color: var(--av-ink);
  color: var(--av-brass-hi);
  box-shadow: 0 10px 22px rgba(13, 31, 53, 0.35);
}
.vault-steps .sr-mw-step.active small { color: var(--av-brass-ink); }
.vault-steps .sr-mw-step.done .sr-mw-dot {
  background: var(--av-brass);
  border-color: var(--av-brass);
  color: #081526;
}
/* Floating glass chips around the dossier (desktop only). */
.vault-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  animation: avFloat 7s ease-in-out infinite;
}
.vault-chip i { color: var(--av-brass-hi); font-size: 1.3rem; }
.vault-chip small { display: block; font-family: var(--av-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--av-brass-hi); margin-bottom: 2px; }
.vault-chip-1 { top: 6%; left: -260px; }
.vault-chip-2 { top: 42%; right: -260px; animation-delay: -2.4s; }
.vault-chip-3 { bottom: 4%; left: -240px; animation-delay: -4.8s; }
@keyframes avFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.vault-alt { text-align: center; margin-top: 1.4rem; color: var(--sr-muted); font-size: 0.95rem; }
/* Verify cards ride the vault scene. */
.vault-scene .verify-shell { margin: 0 auto; }
.vault-scene .verify-card { border: 1px solid rgba(201, 168, 76, 0.45); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.65), 0 0 0 10px rgba(201, 168, 76, 0.08); }

/* ── HOME+: territories, two doors, FAQ ledger ────────────────── */
.av-terra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.av-terra {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 28px;
  border-radius: 22px;
  text-decoration: none !important;
  color: #fff !important;
  background:
    linear-gradient(rgba(201, 168, 76, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.08) 1px, transparent 1px),
    linear-gradient(150deg, #0d1f35 0%, #060f1e 80%);
  background-size: 34px 34px, 34px 34px, cover;
  border: 1px solid rgba(201, 168, 76, 0.35);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.av-terra:hover { transform: translateY(-6px); border-color: var(--av-brass-hi); box-shadow: 0 26px 54px -18px rgba(6, 15, 30, 0.6); }
.av-terra small { font-family: var(--av-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--av-brass-hi); }
.av-terra h3 { font-family: var(--sr-font-display); font-size: 2rem; letter-spacing: -0.01em; margin: 6px 0 12px; }
.av-terra .go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(244, 247, 250, 0.75);
}
.av-terra .go i {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--av-brass);
  color: #081526;
  transition: transform 0.3s ease;
}
.av-terra:hover .go i { transform: translateX(6px); }
.av-terra .idx {
  position: absolute;
  top: 14px; right: 20px;
  font-family: var(--sr-font-display);
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.5);
}
.av-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.av-door {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(28px, 4vw, 44px);
  text-decoration: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.av-door:hover { transform: translateY(-6px); }
.av-door-renter { background: linear-gradient(150deg, #fffdf8, #f3ecdb); border: 1px solid var(--sr-border-strong); color: var(--av-ink) !important; box-shadow: var(--sr-shadow-lg); }
.av-door-agent { background: linear-gradient(150deg, #0d1f35, #060f1e); border: 1px solid rgba(201, 168, 76, 0.45); color: #fff !important; box-shadow: 0 30px 70px -20px rgba(6, 15, 30, 0.6); }
.av-door .blob {
  width: 66px; height: 66px;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.av-door-renter .blob { background: linear-gradient(145deg, #16293f, #0d1f35); color: var(--av-brass-hi); border: 2px solid rgba(201, 168, 76, 0.55); box-shadow: 6px 6px 14px rgba(13, 31, 53, 0.3), inset 2px 2px 4px rgba(255, 255, 255, 0.28); }
.av-door-agent .blob { background: linear-gradient(145deg, #e8cf83, #c9a84c); color: #081526; border: 2px solid rgba(255, 255, 255, 0.4); box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.4), inset 2px 2px 4px rgba(255, 255, 255, 0.5); }
.av-door h3 { font-family: var(--sr-font-display); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.3rem); letter-spacing: -0.015em; margin-bottom: 10px; }
.av-door p { opacity: 0.72; max-width: 38ch; margin-bottom: 20px; }
.av-door ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.av-door ul li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; font-weight: 600; }
.av-door ul li i { color: var(--av-brass); }
.av-door-agent ul li i { color: var(--av-brass-hi); }
.av-faq { margin-top: 40px; border-bottom: 1px solid var(--sr-border-strong); }
.av-faq details { border-top: 1px solid var(--sr-border-strong); padding: 22px 6px; }
.av-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--sr-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--av-ink);
}
.av-faq summary::-webkit-details-marker { display: none; }
.av-faq summary::marker { content: ""; }
.av-faq summary .pm {
  flex: none;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--av-brass);
  color: var(--av-brass-ink);
  font-size: 1.2rem;
  font-family: var(--sr-font-body);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.av-faq details[open] summary .pm { transform: rotate(45deg); background: var(--av-brass); color: #081526; }
.av-faq details p { margin: 14px 0 4px; color: var(--sr-muted); max-width: 70ch; line-height: 1.7; }
.av-faq details p:first-of-type { margin-top: 14px; }

/* ── LEDGER LIGHT: auth goes Stripe-crisp ───────────────────────
   The vault scene pivots light — airy paper, hairline card, precise
   rhythm, solid ink action. Same DOM, calmer room. Later rules win. */
.vault-scene {
  background:
    radial-gradient(48rem 22rem at 50% -8%, rgba(201, 168, 76, 0.16) 0%, transparent 60%),
    linear-gradient(rgba(13, 31, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 31, 53, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #faf7f0 0%, #f3eee1 100%);
  background-size: auto, 44px 44px, 44px 44px, cover;
  padding: 132px 0 84px;
}
.vault-ghost, .vault-rail-note, .vault-chip { display: none !important; }
.vault-dossier {
  background: #fff;
  border: 1px solid #e7e1d0;
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(13, 31, 53, 0.05),
    0 12px 32px -8px rgba(13, 31, 53, 0.12),
    0 32px 80px -24px rgba(13, 31, 53, 0.18);
  animation: vaultIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes vaultIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.vault-filetab { top: -15px; box-shadow: 0 10px 24px rgba(6, 15, 30, 0.3); }
.vault-seal {
  width: 60px;
  height: 60px;
  font-size: 1.4rem;
  margin: 2px auto 18px;
  box-shadow: 0 12px 26px rgba(13, 31, 53, 0.3);
}
/* Stripe-style fields: plain labels, precise inputs, brass ring. */
.vault-dossier .sr-auth-field label,
.vault-dossier .sr-auth-field > label {
  font-family: var(--sr-font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #334155;
}
.vault-dossier .sr-auth-field input,
.vault-dossier .sr-auth-field select {
  min-height: 52px;
  border-radius: 12px;
  border: 1.5px solid #ddd6c2;
  background: #fff;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vault-dossier .sr-auth-field input:hover,
.vault-dossier .sr-auth-field select:hover {
  border-color: #c9bfa4;
}
.vault-dossier .sr-auth-field input:focus,
.vault-dossier .sr-auth-field select:focus {
  border-color: var(--av-brass);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.18);
}
.vault-dossier .sr-auth-password-toggle {
  background: rgba(13, 31, 53, 0.05);
}
/* Solid ink action — Stripe-crisp, zero gradient wash. */
.vault-dossier .sr-btn-primary,
.vault-dossier .sr-auth-submit {
  background: #0d1f35 !important;
  background-image: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 26px -10px rgba(13, 31, 53, 0.55) !important;
  filter: none !important;
}
.vault-dossier .sr-btn-primary:hover,
.vault-dossier .sr-auth-submit:hover {
  background: #1a3550 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(13, 31, 53, 0.55) !important;
}
.vault-dossier .sr-btn-ghost:hover {
  background: #0d1f35 !important;
  border-color: #0d1f35 !important;
  color: #fff !important;
}
/* Slim checkpoint bar for the signup wizard. */
.vault-steps { gap: 10px; }
.vault-steps .sr-mw-dot {
  height: 6px;
  border-radius: 99px;
  border: none;
  background: #e7e0cd;
  font-size: 0;
  margin-bottom: 8px;
  box-shadow: none;
}
.vault-steps .sr-mw-step.active .sr-mw-dot { background: var(--av-ink); box-shadow: none; }
.vault-steps .sr-mw-step.done .sr-mw-dot { background: var(--av-brass); box-shadow: none; }
/* Trust strip pinned to the dossier foot. */
.vault-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #eee7d3;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}
.vault-trust i { color: var(--av-brass-ink); margin-right: 6px; }
.vault-alt { margin-top: 1.1rem; }
/* Verify cards ride the light scene. */
.vault-scene .verify-shell { margin: 0 auto; }
.vault-scene .verify-card {
  border: 1px solid #e7e1d0;
  border-radius: 24px;
  box-shadow:
    0 1px 2px rgba(13, 31, 53, 0.05),
    0 12px 32px -8px rgba(13, 31, 53, 0.12),
    0 32px 80px -24px rgba(13, 31, 53, 0.18);
  animation: vaultIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── WATER TIDE buttons: deep blue rises, label stays dry ───────
   Twin inset shadows climb from the bottom edge on hover — a deep
   #0d1f35 flood with a lighter crest line. Inset shadows paint
   above the background but BELOW the label, so even raw text nodes
   can never be covered. Every button floods deep blue; every label
   turns white. Idle states park a zero-size tide so the rise
   animates instead of jumping. */
.sr-btn-primary, .sr-home-cta-primary,
.sr-home-search-button, .sr-btn-outline,
.sr-home-cta-ghost, .agent-contact,
.sr-btn-ghost, .sr-auth-btn-primary, .sr-auth-btn-secondary,
.sr-auth-submit, .btn-outline-primary, .btn-outline-secondary,
.btn-outline-light {
  transition: transform 0.28s ease, box-shadow 0.32s ease, background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}
.sr-btn-primary, .sr-home-cta-primary {
  box-shadow: 0 12px 30px -8px rgba(201, 168, 76, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 0 rgba(13, 31, 53, 0), inset 0 0 0 0 rgba(42, 77, 117, 0);
}
.sr-home-search-button, .sr-btn-outline, .sr-home-cta-ghost,
.agent-contact, .sr-btn-ghost,
.sr-auth-btn-primary, .sr-auth-btn-secondary, .sr-auth-submit,
.btn-outline-primary, .btn-outline-secondary, .btn-outline-light {
  box-shadow: inset 0 0 0 0 rgba(13, 31, 53, 0), inset 0 0 0 0 rgba(42, 77, 117, 0);
}
.sr-btn-primary:hover, .sr-home-cta-primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 18px 40px -10px rgba(13, 31, 53, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.sr-home-search-button:hover {
  background-color: #0d1f35;
  background-image: none;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 31, 53, 0.5), inset 0 -160px 0 0 #081526, inset 0 -172px 0 0 #1a3550;
}
.sr-btn-outline:hover {
  background: transparent;
  color: #fff !important;
  border-color: #0d1f35 !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(13, 31, 53, 0.5), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.sr-home-cta-ghost:hover {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.sr-btn-ghost:hover, .sr-header-main .sr-btn-ghost:hover {
  background: transparent;
  color: #fff !important;
  border-color: #0d1f35 !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(13, 31, 53, 0.45), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.agent-contact:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 31, 53, 0.45), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.sr-auth-btn-primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 14px 30px -8px rgba(13, 31, 53, 0.5), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.sr-auth-btn-secondary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(13, 31, 53, 0.5), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.btn-outline-primary:hover {
  background-color: transparent !important;
  background-image: none !important;
  border-color: #0d1f35 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(13, 31, 53, 0.45), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75 !important;
}
.btn-outline-secondary:hover {
  background-color: transparent;
  border-color: #0d1f35 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(13, 31, 53, 0.45), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
.btn-outline-light:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4), inset 0 -160px 0 0 #0d1f35, inset 0 -172px 0 0 #2a4d75;
}
/* Vault dossier action joins the tide (darker flood on ink). */
.vault-dossier .sr-btn-primary, .vault-dossier .sr-auth-submit {
  box-shadow: 0 12px 26px -10px rgba(13, 31, 53, 0.55), inset 0 0 0 0 rgba(6, 15, 30, 0), inset 0 0 0 0 rgba(26, 53, 80, 0);
}
.vault-dossier .sr-btn-primary:hover, .vault-dossier .sr-auth-submit:hover {
  background: #0d1f35 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(13, 31, 53, 0.55), inset 0 -160px 0 0 #060f1e, inset 0 -172px 0 0 #1a3550;
}

/* ── AGENTS: dossier desks ────────────────────────────────────
   Photo-ring medallions, Cormorant names, mono agencies, pill
   stats, certified badges and a ledger footer strip per card. */
.sr-agents-section { background: var(--sr-paper); }
.sr-agent-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fffdf8 0%, #faf6ec 100%) !important;
  border: 1px solid var(--sr-border-strong) !important;
  border-radius: 22px !important;
  box-shadow: var(--sr-shadow-md);
  overflow: hidden;
}
.sr-agent-card:hover {
  transform: translateY(-8px);
  border-color: var(--av-brass) !important;
  box-shadow: 0 30px 60px -18px rgba(13, 31, 53, 0.28);
}
.sr-agent-card-photo {
  border: 3px solid rgba(201, 168, 76, 0.6) !important;
  box-shadow: 0 12px 26px rgba(13, 31, 53, 0.25);
}
.sr-agent-card-info h3 {
  font-family: var(--sr-font-display);
  letter-spacing: -0.01em;
  font-size: 1.4rem !important;
}
.sr-agent-agency {
  font-family: var(--av-mono) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--av-brass-ink) !important;
}
.sr-agent-card-stats { flex-wrap: wrap; }
.sr-agent-card-stats > span:first-child {
  background: #f4efe1;
  border: 1px solid var(--sr-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
}
.sr-agent-card-badge {
  background: var(--av-ink) !important;
  color: var(--av-brass-hi) !important;
  border: 1px solid rgba(201, 168, 76, 0.55);
  font-family: var(--av-mono);
  font-size: 0.66rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sr-agent-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px -30px -30px;
  padding: 16px 24px;
  background: #faf8f1;
  border-top: 1px dashed var(--sr-border-strong);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--av-ink);
}
.sr-agent-card-go {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--av-ink);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 4px 4px 10px rgba(13, 31, 53, 0.28), inset 1px 1px 2px rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease, transform 0.3s ease;
}
.sr-agent-card:hover .sr-agent-card-go { background: var(--av-brass); color: #081526; transform: translateX(5px); }
/* Agents empty state rides the shared seal language. */
.sr-empty-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px double var(--sr-gold);
  background: radial-gradient(circle at 35% 30%, #14304d 0%, #0d1f35 70%);
  color: var(--sr-gold-bright);
  font-size: 1.8rem;
  box-shadow: 0 14px 30px rgba(13, 31, 53, 0.3);
}
.sr-empty-folio {
  margin: 0 0 6px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sr-gold-dark);
}
.sr-agents-empty {
  background: var(--sr-surface);
  border: 1px solid var(--sr-border);
  border-radius: 24px;
  box-shadow: var(--sr-shadow-md);
  position: relative;
  overflow: hidden;
}
.sr-agents-empty::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sr-gold), transparent);
}
.sr-agents-empty h3 {
  font-family: var(--sr-font-display);
  letter-spacing: -0.01em;
  color: var(--sr-primary);
}

/* ── ADA: AI customer care ────────────────────────────────────
   Corner orb launcher + frosted ink concierge panel. Bot replies
   are static strings (never user input), user text renders as text. */
.sr-back-to-top { bottom: 102px !important; right: 28px; width: 46px; height: 46px; }
.sr-ai-launcher {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 1600;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.7);
  background: radial-gradient(circle at 35% 30%, #1a3550 0%, #060f1e 75%);
  color: #e8cf83;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 44px rgba(6, 15, 30, 0.55), 0 0 0 8px rgba(201, 168, 76, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.sr-ai-launcher:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 24px 54px rgba(6, 15, 30, 0.6), 0 0 0 10px rgba(201, 168, 76, 0.14); }
.sr-ai-launcher .sr-ai-orb { display: inline-flex; animation: avFloat 5s ease-in-out infinite; }
.sr-ai-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #25d366;
  border: 2.5px solid #060f1e;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: avPulse 2.4s infinite;
}
.sr-ai-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: rgba(6, 15, 30, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: #e8cf83;
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sr-ai-launcher:hover .sr-ai-tip, .sr-ai-launcher:focus-visible .sr-ai-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
.sr-ai-panel {
  position: fixed;
  right: 22px;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 1600;
  width: min(384px, calc(100vw - 32px));
  height: min(584px, calc(100dvh - 150px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(8, 19, 34, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.4);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: aiIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: bottom right;
}
@keyframes aiIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.sr-ai-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.1), transparent);
}
.sr-ai-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #081526;
  background: linear-gradient(135deg, #e8cf83, #c9a84c);
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.4);
}
.sr-ai-who { flex: 1; min-width: 0; }
.sr-ai-who strong { display: block; color: #fff; font-size: 0.98rem; }
.sr-ai-live {
  flex: none;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #081526;
  background: linear-gradient(135deg, #e8cf83, #c9a84c);
  border-radius: 999px;
  padding: 5px 11px;
}
.sr-ai-who small { display: flex; align-items: center; gap: 6px; color: rgba(244, 247, 250, 0.6); font-size: 0.72rem; }
.sr-ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; display: inline-block; }
.sr-ai-x {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.sr-ai-x:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.sr-ai-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sr-ai-row { display: flex; gap: 8px; align-items: flex-end; }
.sr-ai-row.user { justify-content: flex-end; }
.sr-ai-mini {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #081526;
  background: linear-gradient(135deg, #e8cf83, #c9a84c);
}
.sr-ai-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.sr-ai-row.bot .sr-ai-bubble {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f7fa;
  border-bottom-left-radius: 6px;
}
.sr-ai-row.user .sr-ai-bubble {
  background: linear-gradient(135deg, #e8cf83, #c9a84c);
  color: #081526;
  font-weight: 600;
  border-bottom-right-radius: 6px;
}
.sr-ai-bubble a { color: #e8cf83; font-weight: 700; }
.sr-ai-row.user .sr-ai-bubble a { color: #081526; }
.sr-ai-typing { display: inline-flex; gap: 5px; padding: 14px 17px !important; }
.sr-ai-typing span { width: 7px; height: 7px; border-radius: 50%; background: #e8cf83; animation: aiBlink 1.1s infinite; }
.sr-ai-typing span:nth-child(2) { animation-delay: 0.18s; }
.sr-ai-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes aiBlink {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.sr-ai-chips {
  display: flex;
  gap: 8px;
  padding: 10px 16px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sr-ai-chips::-webkit-scrollbar { display: none; }
.sr-ai-chips button {
  flex: none;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: #e8cf83;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.sr-ai-chips button:hover { background: #c9a84c; color: #081526; }
.sr-ai-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 6px;
}
.sr-ai-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 16px;
  font-size: 0.88rem;
}
.sr-ai-form input::placeholder { color: rgba(244, 247, 250, 0.45); }
.sr-ai-form input:focus { outline: none; border-color: #c9a84c; box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.2); }
.sr-ai-send {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #e8cf83, #c9a84c);
  color: #081526;
  font-size: 1.05rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.sr-ai-send:hover { transform: translateY(-2px); filter: brightness(1.07); }
.sr-ai-human {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 16px 14px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #7de8a6;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.sr-ai-human:hover { background: #25d366; color: #062e1a; }

/* ── AGENTS DIRECTORY: spotlight + ledger index ─────────────────
   No card grid: one featured desk band, then ranked ledger rows. */
.sr-desk-spotlight { margin-bottom: 18px; }
.sr-spot-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 34px 36px;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  background:
    radial-gradient(30rem 14rem at 90% -20%, rgba(201, 168, 76, 0.25) 0%, transparent 60%),
    linear-gradient(rgba(201, 168, 76, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #0d1f35 0%, #060f1e 80%);
  background-size: auto, 34px 34px, 34px 34px, cover;
  border: 1px solid rgba(201, 168, 76, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.sr-spot-card:hover { transform: translateY(-4px); border-color: #e8cf83; box-shadow: 0 30px 70px -20px rgba(6, 15, 30, 0.65); }
.sr-spot-rank {
  font-family: var(--sr-font-display);
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 168, 76, 0.7);
  user-select: none;
}
.sr-spot-photo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.14);
  border: 3px solid rgba(201, 168, 76, 0.65);
  color: #e8cf83;
  font-size: 2.6rem;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.sr-spot-photo img { width: 100%; height: 100%; object-fit: cover; }
.sr-spot-main small {
  font-family: var(--av-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8cf83;
}
.sr-spot-main strong {
  display: block;
  font-family: var(--sr-font-display);
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  letter-spacing: -0.015em;
  margin: 6px 0 10px;
}
.sr-spot-main strong i { color: #c9a84c; font-size: 0.7em; }
.sr-spot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: rgba(244, 247, 250, 0.72);
}
.sr-spot-meta .sr-stars { color: #c9a84c; }
.sr-spot-go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  white-space: nowrap;
}
.sr-spot-go i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #c9a84c;
  color: #081526;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.sr-spot-card:hover .sr-spot-go i { transform: translateX(6px); }
.sr-desk-index { display: flex; flex-direction: column; gap: 12px; }
.sr-desk-row {
  display: grid;
  grid-template-columns: 64px 64px 1fr auto auto 46px;
  align-items: center;
  gap: 18px;
  padding: 18px 24px 18px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8, #faf6ec);
  border: 1px solid var(--sr-border-strong);
  text-decoration: none !important;
  color: var(--av-ink) !important;
  box-shadow: var(--sr-shadow-sm);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}
.sr-desk-row:hover { transform: translateX(8px); border-color: var(--av-brass); box-shadow: var(--sr-shadow-lg); background: #fff; }
.sr-desk-num {
  font-family: var(--sr-font-display);
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(138, 101, 26, 0.65);
  text-align: center;
  user-select: none;
}
.sr-desk-thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--av-ink);
  border: 2px solid rgba(201, 168, 76, 0.6);
  color: #e8cf83;
  font-weight: 800;
  font-size: 1.4rem;
  transition: transform 0.28s ease;
}
.sr-desk-row:hover .sr-desk-thumb { transform: scale(1.08); }
.sr-desk-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sr-desk-main strong { display: block; font-size: 1.08rem; }
.sr-desk-main strong i { color: var(--av-brass); font-size: 0.85em; }
.sr-desk-main small {
  font-family: var(--av-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--av-brass-ink);
}
.sr-desk-stats { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--sr-muted); white-space: nowrap; }
.sr-desk-stats .sr-stars { color: var(--av-brass-ink); }
.sr-desk-seal {
  font-family: var(--av-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e8cf83;
  background: var(--av-ink);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
}
.sr-desk-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f4efe1;
  border: 1.5px solid var(--sr-border-strong);
  color: var(--av-ink);
  font-size: 1.05rem;
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s ease;
}
.sr-desk-row:hover .sr-desk-arrow { background: var(--av-ink); color: #e8cf83; transform: translateX(5px); }
.sr-desk-cta { margin-top: 26px; }
@media (max-width: 991px) {
  .sr-spot-card { grid-template-columns: auto 1fr; gap: 20px; padding: 28px 24px; }
  .sr-spot-rank { display: none; }
  .sr-spot-go { grid-column: 1 / -1; }
  .sr-desk-row { grid-template-columns: 52px 1fr 46px; gap: 14px; }
  .sr-desk-num { font-size: 1.5rem; }
  .sr-desk-thumb { width: 52px; height: 52px; font-size: 1.1rem; }
  .sr-desk-stats, .sr-desk-seal { display: none; }
}

/* ── AI panel above the fixed header ────────────────────────────
   Header sits at z 2000–2001; the concierge must clear it so the
   close button is never covered. Mobile menu (2500) still wins. */
.sr-ai-launcher, .sr-ai-panel { z-index: 2100; }
.sr-ai-panel { height: min(584px, calc(100dvh - 210px)); }

/* ── REGISTER HERO: the agents register ─────────────────────────
   Editorial broadsheet: ghost numeral, display headline, stat
   chips, then a docked filter console overlapping below. */
.sr-register-hero {
  position: relative;
  overflow: hidden;
  text-align: left !important;
  padding: 96px 0 120px !important;
  background:
    radial-gradient(46rem 20rem at 82% -18%, rgba(201, 168, 76, 0.22) 0%, transparent 55%),
    linear-gradient(rgba(201, 168, 76, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.07) 1px, transparent 1px),
    linear-gradient(150deg, #060f1e 0%, #0d1f35 60%, #152c49 100%) !important;
  background-size: auto, 44px 44px, 44px 44px, cover !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
}
.sr-register-ghost {
  position: absolute;
  right: -1%;
  bottom: -6%;
  font-family: var(--sr-font-display);
  font-weight: 700;
  font-size: clamp(7rem, 24vw, 19rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 168, 76, 0.28);
  user-select: none;
  pointer-events: none;
}
.sr-register-hero h1 {
  font-family: var(--sr-font-display);
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 18px !important;
  max-width: 16ch;
}
.sr-register-hero h1 em { font-style: italic; color: #e8cf83; }
.sr-register-sub {
  color: rgba(244, 247, 250, 0.72) !important;
  font-size: 1.1rem;
  max-width: 58ch;
  margin-bottom: 30px !important;
}
.sr-register-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.sr-register-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--av-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 247, 250, 0.65);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sr-register-chip b {
  font-family: var(--sr-font-display);
  font-size: 1.3rem;
  letter-spacing: 0;
  color: #e8cf83;
}
/* Docked console drawer overlapping the hero. */
.sr-register-console {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 26px 28px 28px;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 30px 70px -20px rgba(6, 15, 30, 0.35);
}
.sr-register-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 18px;
}
.sr-register-console-head strong {
  display: block;
  font-family: var(--sr-font-display);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--av-ink);
}
.sr-register-console-head small {
  font-family: var(--av-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--av-brass-ink);
}
.sr-register-console-seal {
  width: 48px;
  height: 48px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #16293f, #0d1f35);
  color: #e8cf83;
  font-size: 1.2rem;
  border: 2px solid rgba(201, 168, 76, 0.55);
  box-shadow: 5px 5px 12px rgba(13, 31, 53, 0.3), inset 2px 2px 4px rgba(255, 255, 255, 0.25);
}
.sr-register-console label {
  display: block;
  font-family: var(--av-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--av-brass-ink);
  margin-bottom: 8px;
}
.sr-register-console select {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1.5px solid #e0d9c6;
  background: #fff;
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--av-ink);
}
.sr-register-console select:focus {
  outline: none;
  border-color: var(--av-brass);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.18);
}
.sr-register-search { position: relative; }
.sr-register-search i {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--av-brass-ink);
}
.sr-register-search input {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1.5px solid #e0d9c6;
  background: #fff;
  padding: 0 16px 0 46px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--av-ink);
}
.sr-register-search input:focus {
  outline: none;
  border-color: var(--av-brass);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.18);
}
.sr-register-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid var(--sr-border-strong);
  color: var(--sr-muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.sr-register-clear:hover { border-color: var(--av-ink); color: var(--av-ink); transform: translateY(-1px); }
/* Empty branch with ghost numeral. */
.sr-register-empty { padding: 70px 30px !important; }
.sr-register-empty-ghost {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sr-font-display);
  font-size: 7rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 168, 76, 0.4);
  user-select: none;
  pointer-events: none;
}
@media (max-width: 767px) {
  .sr-register-hero { padding: 80px 0 110px !important; }
  .sr-register-console { padding: 22px 18px; border-radius: 20px; }
  .sr-register-ghost { font-size: 8rem; }
}

/* ── LEGACY CLASH FIX: agents.css ambush rules ──────────────────
   agents.css loads AFTER this sheet and still carries old rules like
   `.sr-agents-empty i { font-size: 60px; display: block }` — which
   grabs icons INSIDE buttons and detonates them. These overrides use
   higher specificity so the new design always wins. */
.sr-agents-page .sr-agents-empty { text-align: center; }
.sr-agents-page .sr-agents-empty h3 {
  font-family: var(--sr-font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  letter-spacing: -0.015em;
  color: var(--sr-primary);
  margin-bottom: 10px;
}
.sr-agents-page .sr-agents-empty p { color: var(--sr-muted); }
.sr-agents-empty button i, .sr-agents-empty a i, .sr-agents-empty .btn i {
  font-size: 1em !important;
  display: inline-block !important;
  margin: 0 !important;
}
.sr-agents-page .sr-agents-empty .sr-empty-seal i {
  font-size: 1.5rem !important;
  display: inline-block !important;
  margin: 0 !important;
}

/* ── Ada escalation: in-chat team transfer ────────────────────── */
.sr-ai-transfer {
  margin-top: 10px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.6);
  color: #e8cf83;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: inherit;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.sr-ai-transfer:hover { background: #c9a84c; color: #081526; }
.sr-ai-esc { display: grid; gap: 10px; margin-top: 4px; }
.sr-ai-esc strong { color: #fff; font-size: 0.92rem; }
.sr-ai-esc > span { font-size: 0.78rem; color: rgba(244, 247, 250, 0.6); }
.sr-ai-esc label { display: grid; gap: 6px; font-size: 0.74rem; font-weight: 700; color: #e8cf83; }
.sr-ai-esc input, .sr-ai-esc textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-family: inherit;
  resize: vertical;
}
.sr-ai-esc input:focus, .sr-ai-esc textarea:focus { outline: none; border-color: #c9a84c; }
.sr-ai-esc button[type="submit"] {
  background: linear-gradient(135deg, #e8cf83, #c9a84c);
  color: #081526;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  padding: 12px;
  cursor: pointer;
}
.sr-ai-esc button[type="submit"]:hover { filter: brightness(1.07); }
button.sr-ai-human { font-family: inherit; font-size: 0.82rem; cursor: pointer; }

/* ── Motion discipline: one load sequence only ────────────────── */
@media (prefers-reduced-motion: reduce) {
  .av-ticker-track, .sr-ledger-tag .pulse, .sr-seal-stamp,
  .av-rail-track, .av-rail-status .pulse, .vault-chip,
  .vault-dossier, .vault-scene .verify-card,
  .sr-ai-launcher .sr-ai-orb, .sr-ai-ping, .sr-ai-panel, .sr-ai-typing span { animation: none !important; }
  .av-rail { overflow-x: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
