/* Tempra Capital — landing system */
:root {
  --navy: #0A1B3D;
  --navy-dark: #060F26;
  --navy-mid: #1A2D5A;
  --gold: #C9A961;
  --gold-soft: #E8D9A8;
  --gold-mute: #F5EDD8;
  --slate: #475569;
  --slate-lite: #94A3B8;
  --ice: #E2E8F0;
  --cream: #F8FAFC;
  --white: #FFFFFF;

  --serif: 'Fraunces', Georgia, 'Cambria', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  font-feature-settings: "ss01" on, "kern" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.h-display {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  letter-spacing: -0.025em;
}
.h-xl    { font-size: clamp(2rem,  4.5vw, 3.75rem); }
.h-lg    { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.h-md    { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.italic  { font-style: italic; }
.serif   { font-family: var(--serif); }
.gold    { color: var(--gold); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--slate);
  max-width: 56ch;
  line-height: 1.6;
}

/* Layout primitives ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
section { padding-block: clamp(4rem, 10vh, 8rem); }
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.section-head-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.section-head-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--ice), transparent);
}

/* Header ─────────────────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ice);
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
}
.logo-rule {
  width: 1px;
  height: 22px;
  background: var(--gold);
  opacity: 0.5;
}
.wm { display: inline-flex; flex-direction: column; line-height: 1; }
.wm-t {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: inherit;
  letter-spacing: -0.01em;
}
.wm-c {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--slate);
  margin-top: 2px;
}
.logo.dark { color: var(--cream); }
.logo.dark .wm-c { color: var(--gold-soft); }
.logo.dark .logo-rule { background: var(--gold); opacity: 0.6; }
header.dark .wm-c { color: var(--gold-soft); }
nav.primary {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}
nav.primary a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate);
  transition: color .2s;
}
nav.primary a:hover { color: var(--navy); }
nav.primary a.active { color: var(--navy); }
@media (max-width: 760px) {
  nav.primary .nav-links { display: none; }
}

/* Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 27, 61, 0.18);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover {
  background: #b6985a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(232, 217, 168, 0.4);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.arrow::after {
  content: '→';
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover .arrow::after { transform: translateX(3px); }

/* HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(5rem, 14vh, 9rem) clamp(4rem, 10vh, 7rem);
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--cream);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 10%, rgba(201, 169, 97, 0.08), transparent 40%),
                    radial-gradient(circle at 80% 90%, rgba(201, 169, 97, 0.05), transparent 50%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin-inline: auto; }
}
.hero-eyebrow {
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 1.5rem;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .1s both;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.hero p.lead {
  color: var(--gold-soft);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .25s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) .4s both;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
}
.hero-constellation {
  width: 100%;
  height: 100%;
  animation: fadeIn 1.5s ease .3s both;
}
.hero-node {
  transform-origin: center;
  animation: nodePulse 4s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes nodePulse {
  0%, 100% { opacity: var(--n-op, 0.85); }
  50%      { opacity: 1; transform: scale(1.15); }
}

/* TRUST BAND ─────────────────────────────────────────────── */
.trust {
  background: var(--navy-dark);
  color: var(--cream);
  padding-block: clamp(2.5rem, 6vh, 4rem);
  border-block: 1px solid rgba(201, 169, 97, 0.18);
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
}
@media (max-width: 760px) {
  .trust .container { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
.trust-item .num {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.trust-item .num em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.trust-item .label {
  font-size: 0.85rem;
  color: var(--gold-soft);
  margin-top: 0.5rem;
  max-width: 30ch;
}

/* CARDS / GRIDS ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--ice);
  padding: 1.75rem 1.5rem 1.6rem;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 169, 97, 0.4);
  box-shadow: 0 14px 32px -16px rgba(10, 27, 61, 0.18);
}
.card.accent-gold::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}
.card.accent-pain::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #B91C1C;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.card p { font-size: 0.9rem; color: var(--slate); margin: 0; line-height: 1.55; }
.card .card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--slate-lite);
  margin-bottom: 0.6rem;
  display: block;
}
.card .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy);
  border-radius: 50%;
  margin-bottom: 1rem;
}
.card.dark {
  background: var(--navy);
  color: var(--cream);
  border-color: transparent;
}
.card.dark h3 { color: var(--cream); }
.card.dark p { color: var(--gold-soft); }
.card.dark .card-num { color: var(--gold); }

/* SPLIT SECTIONS ──────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* TIERS STRIP ─────────────────────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 900px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--white);
  border: 1px solid var(--ice);
  padding: 1.5rem 1.1rem 1.4rem;
  text-align: center;
  position: relative;
}
.tier::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.tier .tier-num {
  font-family: var(--serif);
  font-size: 2.75rem;
  color: var(--navy);
  line-height: 1;
}
.tier .tier-label-small {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--slate);
  display: block;
  margin: 0.5rem 0 0.3rem;
}
.tier .tier-label-big {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold);
}
.tier .tier-desc {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.3rem;
}

/* PILL ──────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--gold-mute);
  color: #856A2D;
}
.pill-dark {
  background: rgba(201, 169, 97, 0.2);
  color: var(--gold-soft);
}

/* STAT CALLOUTS ───────────────────────────────────────────── */
.stat-card {
  background: var(--white);
  border: 1px solid var(--ice);
  padding: 1.8rem 1.6rem;
  position: relative;
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.stat-card .num {
  font-family: var(--serif);
  font-size: 3.25rem;
  line-height: 0.95;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.03em;
  min-width: 4.5rem;
}
.stat-card .num em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.stat-card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.stat-card p {
  font-size: 0.875rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.55;
}

/* CTA SECTION ─────────────────────────────────────────────── */
.cta {
  background: var(--navy-dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(201, 169, 97, 0.08), transparent 50%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta h2 {
  color: var(--cream);
  margin-bottom: 1rem;
}
.cta h2 em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 3rem;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* FORM ────────────────────────────────────────────────────── */
form.signup {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 169, 97, 0.25);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
form.signup label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
form.signup .field { margin-bottom: 1.1rem; }
form.signup input,
form.signup select,
form.signup textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 217, 168, 0.2);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border-radius: 4px;
  transition: border-color .2s, background .2s;
}
form.signup input::placeholder,
form.signup textarea::placeholder { color: rgba(232, 217, 168, 0.4); }
form.signup input:focus,
form.signup select:focus,
form.signup textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}
form.signup textarea { min-height: 80px; resize: vertical; }
form.signup select option { background: var(--navy-mid); color: var(--cream); }
form.signup button[type="submit"] {
  width: 100%;
  margin-top: 0.6rem;
}
form.signup .helper {
  font-size: 0.75rem;
  color: var(--gold-soft);
  opacity: 0.7;
  margin-top: 1rem;
  font-style: italic;
}
form.signup .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 520px) { form.signup .row { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--gold);
  background: rgba(201, 169, 97, 0.08);
}
.form-success h3 { color: var(--gold); margin-bottom: 0.5rem; }
.form-success p { color: var(--gold-soft); font-size: 0.9rem; }

.form-error {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(185, 28, 28, 0.14);
  border: 1px solid rgba(185, 28, 28, 0.4);
  color: #FCA5A5;
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: 4px;
}
form.signup button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* NEXT STEPS ─────────────────────────────────────────────── */
.next-steps {
  display: grid;
  gap: 1rem;
}
.next-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--gold);
}
.next-step .step-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  min-width: 2rem;
}
.next-step h4 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.next-step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gold-soft);
  line-height: 1.55;
}

/* FOOTER ─────────────────────────────────────────────────── */
footer.site {
  background: var(--navy-dark);
  color: var(--gold-soft);
  padding-block: 3.5rem 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
footer.site .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 760px) { footer.site .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer.site .container { grid-template-columns: 1fr; } }
footer.site h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 0.5rem; }
footer.site li a {
  color: var(--gold-soft);
  font-size: 0.85rem;
  opacity: 0.8;
  transition: opacity .2s, color .2s;
}
footer.site li a:hover { opacity: 1; color: var(--gold); }
footer.site .footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-soft);
  max-width: 32ch;
  margin: 1rem 0 0;
  line-height: 1.55;
}
footer.site .footer-bottom {
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(232, 217, 168, 0.6);
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  footer.site .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* Pull quote ─────────────────────────────────────────────── */
.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--navy);
  max-width: 38ch;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.pullquote .attribution {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* MICRO ANIMATIONS ───────────────────────────────────────── */
/* Progressive enhancement: content is visible by default; hidden only when JS marks the page */
.reveal { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .reveal { transition: none; }
}

/* utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.flex { display: flex; }
.flex-gap-1 { gap: 1rem; }
.items-center { align-items: center; }
.wrap { flex-wrap: wrap; }

/* Press & Blogs page-specific */
.hero.hero-newsroom { padding-block: clamp(4.5rem, 12vh, 7rem) clamp(3rem, 7vh, 5rem); }
.hero.hero-newsroom .container { grid-template-columns: 1fr; gap: 0; }
.hero.hero-newsroom .hero-text { max-width: 800px; }
.hero.hero-newsroom h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }

.editorial-card {
  background: var(--white);
  border: 1px solid var(--ice);
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.editorial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 169, 97, 0.4);
  box-shadow: 0 14px 32px -16px rgba(10, 27, 61, 0.18);
}
.editorial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.editorial-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.editorial-card .card-meta .cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.editorial-card .card-meta .date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--slate);
}
.editorial-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 0.85rem;
  font-weight: 400;
}
.editorial-card p.standfirst {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex-grow: 1;
}
.read-more {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color .2s;
}
.read-more::after {
  content: '→';
  transition: transform .25s ease;
}
.read-more:hover { color: var(--gold); }
.read-more:hover::after { transform: translateX(3px); }

/* Full article body */
.article {
  background: var(--white);
  padding-block: clamp(4rem, 9vh, 6rem);
  border-top: 1px solid var(--ice);
  scroll-margin-top: 90px;
}
.article-wrap {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.article-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.article-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.article-title em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ice);
}
.article-meta .meta-item { font-family: var(--serif); font-style: italic; }
.article-meta .meta-item.dateline {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}
.article-content p {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--navy);
  margin: 0 0 1.4rem;
  font-weight: 400;
}
.article-content .lead-para {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-left: -0.25rem;
}
.article-content blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.article-content blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.back-to-top {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ice);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.back-to-top a { color: var(--slate); display: inline-flex; gap: 0.4rem; align-items: center; transition: color .2s; }
.back-to-top a:hover { color: var(--gold); }
.back-to-top .left::before { content: '↑'; margin-right: 0.4rem; }
@media (max-width: 540px) {
  .back-to-top { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   TEMPRA v2 COMPONENTS — added for the restructured web suite
   ═══════════════════════════════════════════════════════════ */

/* Accessibility floor ────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--cream);
  padding: 0.75rem 1.25rem; font-size: 0.85rem; font-weight: 600;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-node { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* Utility bar — the investor / sign-in strip above the nav ── */
.utility-bar {
  background: var(--navy-dark);
  color: var(--gold-soft);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(201,169,97,0.18);
}
.utility-bar .container {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 1.5rem; height: 38px;
}
.utility-bar a {
  color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color .2s;
}
.utility-bar a:hover { color: var(--white); }
.utility-bar .sep { width: 1px; height: 14px; background: rgba(201,169,97,0.3); }
.utility-bar .ub-hide { display: inline; }
@media (max-width: 620px) {
  .utility-bar .container { justify-content: center; gap: 1rem; }
  .utility-bar .ub-hide { display: none; }
}

/* Header additions — sign-in link + mobile drawer ─────────── */
nav.primary .nav-signin {
  font-weight: 600;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
nav.primary .nav-signin::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; margin-left: 0.25rem;
  color: var(--navy);
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: currentColor; margin: 4px 0;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 980px) {
  nav.primary .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.primary > .btn { display: none; }
}
.nav-drawer {
  display: none;
  border-bottom: 1px solid var(--ice);
  background: var(--white);
}
.nav-drawer.open { display: block; }
.nav-drawer .container { padding-block: 1.25rem 1.75rem; }
.nav-drawer a.d-link {
  display: block;
  padding: 0.7rem 0;
  font-size: 1rem; font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--ice);
}
.nav-drawer .d-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.nav-drawer .d-actions .btn { justify-content: center; }
@media (min-width: 981px) { .nav-drawer { display: none !important; } }

/* Sign-in band — invite advisors into the working platform ── */
.signin-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.signin-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(201,169,97,0.16), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(201,169,97,0.08), transparent 50%);
  pointer-events: none;
}
.signin-band .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .signin-band .container { grid-template-columns: 1fr; } }
.signin-band h2 { color: var(--cream); }
.signin-band .lead { color: var(--gold-soft); }
.signin-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,97,0.28);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 6px;
}
.signin-panel .url {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--gold);
  word-break: break-all; margin-bottom: 1.25rem;
}
.signin-panel ul { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.signin-panel li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.9rem; color: var(--gold-soft);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(232,217,168,0.12);
}
.signin-panel li:last-child { border-bottom: none; }
.signin-panel li::before {
  content: ''; flex: none;
  width: 5px; height: 5px; margin-top: 0.55rem;
  background: var(--gold); border-radius: 50%;
}
.signin-panel .btn { width: 100%; justify-content: center; }

/* Ask panel — the public wealth-help query box ────────────── */
.ask-panel {
  background: var(--white);
  border: 1px solid var(--ice);
  border-top: 3px solid var(--gold);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 24px 60px -32px rgba(10,27,61,0.35);
}
.ask-panel.on-navy {
  background: rgba(255,255,255,0.05);
  border-color: rgba(201,169,97,0.28);
  border-top-color: var(--gold);
  box-shadow: none;
}
.ask-panel h3 { margin-bottom: 0.6rem; }
.ask-panel .ask-sub { font-size: 0.95rem; color: var(--slate); margin: 0 0 1.5rem; max-width: 54ch; }
.ask-panel.on-navy h3 { color: var(--cream); }
.ask-panel.on-navy .ask-sub { color: var(--gold-soft); }
#start-chat-form {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
#start-chat-form input[type="text"] {
  flex: 1 1 280px;
  min-width: 0;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--ice);
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  transition: border-color .2s, background .2s;
}
#start-chat-form input[type="text"]::placeholder { color: var(--slate-lite); }
#start-chat-form input[type="text"]:focus {
  outline: none; border-color: var(--gold); background: var(--white);
}
.ask-panel.on-navy #start-chat-form input[type="text"] {
  background: rgba(255,255,255,0.06);
  border-color: rgba(232,217,168,0.25);
  color: var(--cream);
}
.ask-panel.on-navy #start-chat-form input[type="text"]::placeholder { color: rgba(232,217,168,0.45); }
#start-chat-form button[type="submit"] {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  border: none; border-radius: 999px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--gold); color: var(--navy-dark);
  cursor: pointer;
  transition: transform .2s ease, background .25s ease;
}
#start-chat-form button[type="submit"]:hover {
  background: var(--gold-soft); transform: translateY(-1px);
}
.ask-suggest {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem;
}
.ask-chip {
  font-size: 0.8rem; color: var(--slate);
  background: var(--cream);
  border: 1px solid var(--ice);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color .2s, color .2s, background .2s;
}
.ask-chip:hover { border-color: var(--gold); color: var(--navy); background: var(--gold-mute); }
.ask-panel.on-navy .ask-chip {
  background: rgba(255,255,255,0.04);
  border-color: rgba(232,217,168,0.2);
  color: var(--gold-soft);
}
.ask-panel.on-navy .ask-chip:hover { border-color: var(--gold); color: var(--white); }
.ask-note { font-size: 0.75rem; color: var(--slate-lite); margin: 1.25rem 0 0; line-height: 1.5; }
.ask-panel.on-navy .ask-note { color: rgba(232,217,168,0.55); }

/* Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: start;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plan {
  background: var(--white);
  border: 1px solid var(--ice);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  height: 100%;
  position: relative;
}
.plan.featured {
  background: var(--navy);
  border-color: var(--gold);
  color: var(--cream);
  box-shadow: 0 30px 70px -34px rgba(10,27,61,0.55);
}
@media (min-width: 981px) { .plan.featured { margin-block: -1.5rem; padding-block: 3.5rem 2.75rem; } }
.plan-flag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--gold); color: var(--navy-dark);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400;
  letter-spacing: -0.015em; margin: 0 0 0.4rem; color: var(--navy);
}
.plan.featured .plan-name { color: var(--cream); }
.plan-for { font-size: 0.85rem; color: var(--slate); margin: 0 0 1.75rem; min-height: 2.6em; line-height: 1.5; }
.plan.featured .plan-for { color: var(--gold-soft); }
.plan-price {
  display: flex; align-items: baseline; gap: 0.35rem;
  font-family: var(--serif); color: var(--navy);
  margin-bottom: 0.35rem;
}
.plan.featured .plan-price { color: var(--gold); }
.plan-price .amount { font-size: clamp(2.25rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.plan-price .unit { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--slate); }
.plan.featured .plan-price .unit { color: var(--gold-soft); }
.plan-billing { font-size: 0.78rem; color: var(--slate-lite); margin: 0 0 1.75rem; }
.plan.featured .plan-billing { color: rgba(232,217,168,0.7); }
.plan ul { list-style: none; margin: 0 0 2rem; padding: 0; flex: 1; }
.plan li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.88rem; color: var(--slate);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--ice);
  line-height: 1.5;
}
.plan li:last-child { border-bottom: none; }
.plan.featured li { color: var(--gold-soft); border-bottom-color: rgba(232,217,168,0.14); }
.plan li .tick { flex: none; margin-top: 0.15rem; color: var(--gold); font-size: 0.9rem; line-height: 1.4; }
.plan .btn { width: 100%; justify-content: center; }
.plan-foot { font-size: 0.75rem; color: var(--slate-lite); margin: 0.9rem 0 0; text-align: center; line-height: 1.5; }
.plan.featured .plan-foot { color: rgba(232,217,168,0.6); }

/* Comparison table ───────────────────────────────────────── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare {
  width: 100%; min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
table.compare th, table.compare td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--ice);
  text-align: left;
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  white-space: nowrap;
}
table.compare tbody th {
  font-family: var(--sans); font-weight: 600;
  color: var(--navy); width: 32%;
}
table.compare td { color: var(--slate); }
table.compare tbody tr:hover { background: var(--gold-mute); }
table.compare .yes { color: var(--gold); font-weight: 700; }
table.compare .no { color: var(--slate-lite); }
table.compare .grp th {
  background: var(--navy); color: var(--gold-soft);
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}

/* FAQ ────────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--ice); max-width: 820px; }
details.faq { border-bottom: 1px solid var(--ice); }
details.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-family: var(--serif); font-size: 1.15rem;
  color: var(--navy); position: relative;
  line-height: 1.35;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ''; position: absolute; right: 0.5rem; top: 1.85rem;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); transition: transform .25s ease;
}
details.faq[open] summary::after { transform: rotate(-135deg); top: 2rem; }
details.faq p { font-size: 0.92rem; color: var(--slate); margin: 0 0 1.4rem; max-width: 68ch; line-height: 1.65; }

/* Build-your-own — deployment steps ──────────────────────── */
.deploy-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 1rem; }
@media (max-width: 900px) { .deploy-track { grid-template-columns: 1fr; } }
.deploy-step {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 2px solid var(--ice);
  position: relative;
  padding-right: 1.75rem;
}
.deploy-step::before {
  content: ''; position: absolute; top: -6px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}
.deploy-step .stage {
  font-family: var(--serif); font-style: italic;
  font-size: 0.85rem; color: var(--gold); margin-bottom: 0.5rem;
}
.deploy-step h4 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 400;
  color: var(--navy); margin: 0 0 0.6rem; line-height: 1.25;
}
.deploy-step p { font-size: 0.85rem; color: var(--slate); margin: 0; line-height: 1.55; }

/* Preview mock of a white-labelled instance ──────────────── */
.wl-preview {
  background: var(--white);
  border: 1px solid var(--ice);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(10,27,61,0.4);
}
.wl-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--cream); border-bottom: 1px solid var(--ice);
}
.wl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ice); flex: none; }
.wl-url {
  flex: 1; margin-left: 0.6rem;
  font-size: 0.72rem; color: var(--slate);
  background: var(--white); border: 1px solid var(--ice);
  border-radius: 999px; padding: 0.3rem 0.85rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wl-body { padding: 1.5rem; }
.wl-logo-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--ice); margin-bottom: 1.25rem;
}
.wl-logo-mark {
  width: 30px; height: 30px; border-radius: 4px;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 0.95rem;
}
.wl-logo-name { font-family: var(--serif); font-size: 1rem; color: var(--navy); }
.wl-logo-sub { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-lite); }
.wl-rows { display: grid; gap: 0.6rem; }
.wl-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--slate);
  padding: 0.6rem 0.85rem;
  background: var(--cream); border-radius: 4px;
  border-left: 2px solid var(--gold);
}
.wl-row .v { font-family: var(--serif); color: var(--navy); }
.wl-foot {
  margin-top: 1.25rem; padding-top: 0.85rem;
  border-top: 1px solid var(--ice);
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-lite); text-align: right;
}

/* Marketplace / advisor directory ────────────────────────── */
.directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 900px) { .directory-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .directory-grid { grid-template-columns: 1fr; } }
.adv-card {
  background: var(--white);
  border: 1px solid var(--ice);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.adv-card:hover { border-color: rgba(201,169,97,0.45); box-shadow: 0 16px 36px -20px rgba(10,27,61,0.25); }
.adv-head { display: flex; align-items: center; gap: 0.85rem; }
.adv-avatar {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1rem;
}
.adv-name { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.adv-firm { font-size: 0.75rem; color: var(--slate-lite); }
.adv-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.adv-tag {
  font-size: 0.7rem; color: var(--slate);
  background: var(--cream); border: 1px solid var(--ice);
  border-radius: 999px; padding: 0.25rem 0.7rem;
}
.adv-card p { font-size: 0.85rem; color: var(--slate); margin: 0; line-height: 1.55; }
.adv-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--ice);
  font-size: 0.78rem; color: var(--slate);
}
.adv-foot .fee { font-family: var(--serif); color: var(--navy); }
.dir-note {
  background: var(--gold-mute);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.35rem;
  font-size: 0.85rem; color: var(--navy);
  line-height: 1.6;
}

/* Search / filter row ────────────────────────────────────── */
.dir-search {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--ice);
  border-top: 3px solid var(--gold);
  padding: 1.25rem;
  box-shadow: 0 20px 48px -28px rgba(10,27,61,0.3);
}
@media (max-width: 900px) { .dir-search { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dir-search { grid-template-columns: 1fr; } }
.dir-search input, .dir-search select {
  width: 100%;
  font-family: var(--sans); font-size: 0.92rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ice); border-radius: 4px;
  background: var(--cream); color: var(--navy);
}
.dir-search input:focus, .dir-search select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.dir-search .btn { justify-content: center; }

/* Value-proof strip ──────────────────────────────────────── */
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 820px) { .proof-row { grid-template-columns: 1fr; } }
.proof-item { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.proof-item h4 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 400;
  color: var(--navy); margin: 0 0 0.5rem; line-height: 1.25;
}
.proof-item p { font-size: 0.88rem; color: var(--slate); margin: 0; line-height: 1.6; }
.signin-band .proof-item h4 { color: var(--cream); }
.signin-band .proof-item p { color: var(--gold-soft); }

/* Form additions — file input + fieldset legends ──────────── */
form.signup input[type="file"] {
  padding: 0.55rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
}
form.signup input[type="file"]::file-selector-button {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  background: var(--gold); color: var(--navy-dark);
  border: none; border-radius: 999px;
  padding: 0.4rem 0.9rem; margin-right: 0.75rem;
  cursor: pointer;
}
form.signup .field-note {
  font-size: 0.72rem; color: rgba(232,217,168,0.55);
  margin: 0.4rem 0 0; line-height: 1.45;
}
form.signup .form-legend {
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; color: var(--gold);
  margin: 1.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(232,217,168,0.15);
}
form.signup .form-legend:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
form.signup .check {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.82rem; color: var(--gold-soft); line-height: 1.5;
  margin-bottom: 1.1rem;
}
form.signup .check input[type="checkbox"] {
  width: auto; flex: none; margin-top: 0.2rem;
  accent-color: var(--gold);
}

/* Page hero variant for interior pages ───────────────────── */
.hero.hero-page { padding-block: clamp(3.5rem, 9vh, 5.5rem) clamp(2.5rem, 6vh, 4rem); }
.hero.hero-page .container { grid-template-columns: 1fr; gap: 0; }
.hero.hero-page .hero-text { max-width: 780px; }
.hero.hero-page h1 { font-size: clamp(2.25rem, 5vw, 4rem); }

/* Outline button — the light-background counterpart to .btn-ghost,
   which is cream-on-navy and disappears on cream or white. */
.btn-outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px rgba(10, 27, 61, 0.25);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--navy);
}

/* Checkbox rows are sentences, not field labels — undo the
   uppercase/tracked treatment that form.signup label applies. */
form.signup label.check {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}

/* Aside panel for the left column of a CTA grid */
.cta-aside {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--gold);
}
.cta-aside h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 1.1rem; color: var(--cream);
  margin: 0 0 0.75rem;
}
.cta-aside p { font-size: 0.87rem; color: var(--gold-soft); margin: 0 0 0.75rem; line-height: 1.6; }
.cta-aside p:last-child { margin-bottom: 0; }

/* Header layout — declared here rather than inline so the mobile
   media queries below can actually take effect. */
nav.primary .nav-links { display: flex; gap: 1.5rem; align-items: center; }
@media (max-width: 1120px) { nav.primary .nav-links { gap: 1.1rem; } nav.primary a { font-size: 0.82rem; } }
@media (max-width: 980px) {
  nav.primary .nav-links,
  nav.primary .nav-signin,
  nav.primary > .btn { display: none; }
  nav.primary { gap: 0; }
}
/* Nothing on the page may cause a horizontal scrollbar. */
html, body { max-width: 100%; overflow-x: hidden; }

/* Advisor desk showcase ──────────────────────────────────── */
.desk-section { background: var(--cream); border-block: 1px solid var(--ice); }
.desk-figure { margin: 0; }
.desk-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 40px 90px -40px rgba(10, 27, 61, 0.45);
}
.desk-caption {
  font-size: 0.75rem;
  color: var(--slate-lite);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}
.desk-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
@media (max-width: 820px) { .desk-legend { grid-template-columns: 1fr; } }
.desk-cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2.25rem;
}
@media (max-width: 560px) { .desk-cta .btn { width: 100%; justify-content: center; } }

/* Utility bar sign-in pair ───────────────────────────────── */
.ub-label {
  color: rgba(232, 217, 168, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.ub-toggle {
  display: inline-flex;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 999px;
  overflow: hidden;
}
.ub-toggle a {
  padding: 0.24rem 0.85rem;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-soft);
  transition: background .2s, color .2s;
}
.ub-toggle a + a { border-left: 1px solid rgba(201, 169, 97, 0.4); }
.ub-toggle a:hover { background: var(--gold); color: var(--navy-dark); }
.ub-toggle a .ub-dot {
  display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  margin-right: 0.4rem;
  vertical-align: middle;
}
.ub-toggle a:hover .ub-dot { background: var(--navy-dark); }
@media (max-width: 700px) {
  .ub-label { display: none; }
  .utility-bar .container { gap: 0.85rem; }
  .ub-toggle a { padding: 0.24rem 0.65rem; font-size: 0.68rem; }
}
@media (max-width: 420px) {
  .utility-bar .container { justify-content: space-between; gap: 0.5rem; }
  .ub-toggle a .ub-dot { display: none; }
}

/* Below ~760px the dashboard is too dense to read scaled down, so let it
   keep a legible width and pan horizontally instead of shrinking to mush. */
.desk-hint { display: none; }
@media (max-width: 760px) {
  .desk-figure {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.5rem;
  }
  .desk-svg { min-width: 760px; }
  .desk-hint {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
  }
}

/* Book-direct panel — the instant-scheduling path shown beside the
   demo form, for people who would rather pick a slot than write a brief. */
.book-direct {
  background: rgba(201, 169, 97, 0.10);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.6rem;
  margin-bottom: 0.5rem;
}
.book-direct .book-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.book-direct h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--cream);
  margin: 0 0 0.6rem;
}
.book-direct p {
  font-size: 0.87rem;
  color: var(--gold-soft);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.book-direct .btn { width: 100%; justify-content: center; }
.book-or {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: rgba(232, 217, 168, 0.6);
  text-align: center;
}
.book-direct.on-light { background: var(--gold-mute); border-color: rgba(201,169,97,0.4); }
.book-direct.on-light h4 { color: var(--navy); }
.book-direct.on-light p { color: var(--slate); }
.book-direct.on-light .book-or { color: var(--slate-lite); }

.form-success .success-book {
  display: block;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  font-size: 0.85rem;
  color: var(--gold-soft);
  line-height: 1.6;
}
.form-success .success-book a { color: var(--gold); text-decoration: underline; }
