/* Psychic Source Site Kit — competitor-inspired layout */

:root {
  --ps-navy: #0f2740;
  --ps-navy-2: #173552;
  --ps-gold: #c9a227;
  --ps-gold-2: #e0bc4a;
  --ps-ink: #1c2430;
  --ps-muted: #667384;
  --ps-line: #e6e1d6;
  --ps-bg: #f6f3ec;
  --ps-white: #ffffff;
  --ps-radius: 16px;
  --ps-shadow: 0 14px 34px rgba(15, 39, 64, 0.10);
  --ps-display: "Cormorant Garamond", Georgia, serif;
  --ps-body: "Source Sans 3", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ps-body);
  color: var(--ps-ink);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(201,162,39,.10), transparent 60%),
    radial-gradient(800px 380px at 100% 8%, rgba(15,39,64,.06), transparent 55%),
    var(--ps-bg);
}

h1,h2,h3,h4 { font-family: var(--ps-display); color: var(--ps-navy); letter-spacing: .01em; }

/* Header */
.site-header,
.main-header-bar,
.ast-primary-header-bar {
  background: rgba(15,39,64,.97) !important;
  border-bottom: 1px solid rgba(201,162,39,.28) !important;
}
.site-title a,
.ast-site-title-wrap .site-title a,
.main-header-menu > .menu-item > a,
.ast-builder-menu-1 .menu-link,
.ast-builder-menu-mobile .menu-link {
  color: #f4efe4 !important;
  font-weight: 600;
}
.main-header-menu > .menu-item > a:hover,
.ast-builder-menu-1 .menu-link:hover { color: var(--ps-gold-2) !important; }
.custom-logo-link img { max-height: 52px; width: auto; }

/* Dropdown / submenu — high-contrast navy + gold */
.main-header-menu .sub-menu,
.ast-builder-menu-1 .sub-menu,
.ast-desktop .main-header-menu > .menu-item > .sub-menu,
.ast-desktop .ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu,
.ast-builder-menu-mobile .sub-menu,
.ast-mobile-popup-content .sub-menu {
  background: #071521 !important;
  border: 1px solid #c9a227 !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
  padding: 0.35rem 0 !important;
}
.main-header-menu .sub-menu .menu-link,
.ast-builder-menu-1 .sub-menu .menu-link,
.ast-builder-menu-mobile .sub-menu .menu-link,
.ast-mobile-popup-content .sub-menu .menu-link,
.main-header-menu .sub-menu .menu-item > .menu-link {
  color: #ffe9a8 !important;
  background: transparent !important;
  font-weight: 700 !important;
  border: 0 !important;
}
.main-header-menu .sub-menu .menu-link:hover,
.ast-builder-menu-1 .sub-menu .menu-link:hover,
.ast-builder-menu-mobile .sub-menu .menu-link:hover,
.main-header-menu .sub-menu .menu-item:hover > .menu-link,
.main-header-menu .sub-menu .menu-item.focus > .menu-link,
.main-header-menu .sub-menu .current-menu-item > .menu-link {
  color: #071521 !important;
  background: #e0bc4a !important;
}
.ast-desktop .main-header-menu .sub-menu .menu-item .menu-link {
  padding: 0.7rem 1.15rem !important;
}

/* Quiet outbound text link */
.ps-quiet-link,
.ps-quiet-link:visited {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: inherit;
}
.ps-quiet-link:hover {
  color: var(--ps-muted) !important;
}

/* Legal / sitemap */
.ps-legal { padding: 3.5rem 0 4rem; }
.ps-legal h1 { margin-top: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.ps-legal h2 { margin-top: 1.75rem; font-size: 1.45rem; }
.ps-legal p, .ps-legal li { color: var(--ps-muted); line-height: 1.7; }
.ps-sitemap-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.ps-sitemap-list li { margin: 0.45rem 0; }
.ps-sitemap-list a { color: var(--ps-navy); font-weight: 600; text-decoration: none; }
.ps-sitemap-list a:hover { color: var(--ps-gold); }
.ps-form label { display: block; font-weight: 700; margin: 0.85rem 0 0.35rem; color: var(--ps-navy); }
.ps-form input, .ps-form textarea {
  width: 100%; max-width: 560px; padding: 0.75rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--ps-line); background: #fff; font: inherit;
}
.ps-form textarea { min-height: 140px; }

/* Hide Astra page title — keep one H1 in content */
.page .entry-header,
.home .entry-header,
header.entry-header.ast-no-thumbnail { display: none !important; }
.ast-separate-container .ast-article-single {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.page .entry-content, .home .entry-content { margin: 0; max-width: none; }

.ps-wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.ps-section { padding: 4.25rem 0; }
.ps-section--soft { background: rgba(255,255,255,.55); }
.ps-eyebrow {
  display: inline-block; margin-bottom: .7rem;
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ps-gold);
}
.ps-lead { max-width: 40rem; color: var(--ps-muted); font-size: 1.08rem; line-height: 1.7; }

/* Buttons */
.ps-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 46px; padding: .8rem 1.35rem; border-radius: 999px;
  border: 1px solid transparent; font-weight: 700; text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ps-btn:hover { transform: translateY(-1px); }
.ps-btn--gold {
  background: linear-gradient(135deg, var(--ps-gold), #a88416);
  color: #111 !important; box-shadow: 0 10px 22px rgba(201,162,39,.28);
}
.ps-btn--dark { background: var(--ps-navy); color: #fff !important; }
.ps-btn--outline { background: transparent; border-color: var(--ps-navy); color: var(--ps-navy) !important; }
.ps-btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff !important; }
.ps-btn--block { width: 100%; }

/* Hero — full-bleed dark plane */
.ps-hero {
  position: relative; overflow: hidden; color: #f7f3ea;
  padding: 4.8rem 0 4rem;
  background:
    linear-gradient(115deg, rgba(15,39,64,.94), rgba(23,53,82,.78)),
    radial-gradient(circle at 78% 18%, rgba(201,162,39,.28), transparent 42%),
    linear-gradient(160deg, #0f2740, #1a3d5c 50%, #0f2740);
}
.ps-hero .ps-wrap {
  position: relative; z-index: 1;
  display: grid; gap: 2rem;
}
.ps-hero h1 {
  margin: 0 0 1rem; color: #fff;
  font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.05; max-width: 15ch;
}
.ps-hero .ps-lead { color: rgba(247,243,234,.88); }
.ps-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.ps-hero-stats {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.8rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; color: rgba(247,243,234,.8);
}
.ps-hero-stats strong { color: var(--ps-gold-2); }
.ps-hero-side {
  background: rgba(255,255,255,.08); border: 1px solid rgba(201,162,39,.32);
  border-radius: var(--ps-radius); padding: 1.4rem 1.5rem; color: #f7f3ea;
}
.ps-hero-side h2 { color: #fff; margin: 0 0 .8rem; font-size: 1.55rem; }
.ps-hero-side ul { margin: 0; padding-left: 1.1rem; color: rgba(247,243,234,.88); }
.ps-hero-side li + li { margin-top: .4rem; }

/* Promise strip */
.ps-promise {
  display: grid; gap: 1rem; margin-top: -2.2rem; position: relative; z-index: 2;
}
.ps-promise-item {
  background: var(--ps-white); border: 1px solid var(--ps-line);
  border-radius: var(--ps-radius); padding: 1.2rem 1.3rem; box-shadow: var(--ps-shadow);
}
.ps-promise-item h3 { margin: 0 0 .35rem; font-size: 1.28rem; }
.ps-promise-item p { margin: 0; color: var(--ps-muted); }

/* Category chips */
.ps-cat-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.2rem 0 0; }
.ps-cat-chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: .4rem .9rem;
  border-radius: 999px; border: 1px solid var(--ps-line); background: #fff;
  color: var(--ps-navy) !important; text-decoration: none !important; font-weight: 700; font-size: .9rem;
}
.ps-cat-chip:hover { border-color: var(--ps-gold); color: #8a6d10 !important; }

/* Advisor cards — marketplace style */
.ps-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.6rem;
}
.ps-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.ps-card {
  display: flex; flex-direction: column;
  background: var(--ps-white); border: 1px solid rgba(15,39,64,.08);
  border-radius: 18px; overflow: hidden; box-shadow: 0 10px 26px rgba(15,39,64,.07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ps-card:hover { transform: translateY(-4px); box-shadow: var(--ps-shadow); }
.ps-card-media {
  position: relative; aspect-ratio: 1 / 1; background: #dfe5ec; overflow: hidden;
}
.ps-card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.ps-card-badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  padding: .28rem .65rem; border-radius: 999px;
  background: rgba(201,162,39,.96); color: #111;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.ps-card-status {
  position: absolute; right: .75rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .55rem; border-radius: 999px;
  background: rgba(15,39,64,.78); color: #fff; font-size: .72rem; font-weight: 700;
}
.ps-card-status i {
  width: .45rem; height: .45rem; border-radius: 50%; background: #3dd68c; display: inline-block;
}
.ps-card-body {
  display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.05rem 1.15rem; flex: 1;
}
.ps-card-name { margin: 0; font-size: 1.45rem; line-height: 1.15; }
.ps-card-role { margin: 0; color: var(--ps-gold); font-weight: 700; font-size: .92rem; }
.ps-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ps-card-tags span {
  padding: .18rem .5rem; border-radius: 999px; background: rgba(15,39,64,.06);
  color: var(--ps-navy); font-size: .72rem; font-weight: 700;
}
.ps-card-blurb { margin: 0; color: var(--ps-muted); font-size: .92rem; line-height: 1.5; flex: 1; }
.ps-card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
}
.ps-card-rating { font-size: .88rem; }
.ps-card-rating span { color: var(--ps-gold); letter-spacing: .04em; }
.ps-card-rating em { color: var(--ps-muted); font-style: normal; }
.ps-card-rate { font-weight: 800; color: var(--ps-navy); font-size: .9rem; }
.ps-card-channels { display: flex; flex-wrap: wrap; gap: .35rem; }
.ps-card-channels span {
  padding: .18rem .45rem; border-radius: 6px; border: 1px solid var(--ps-line);
  font-size: .72rem; font-weight: 700; color: var(--ps-muted);
}

/* Steps / content */
.ps-steps { display: grid; gap: 1rem; margin-top: 1.5rem; }
.ps-step {
  padding: 1.25rem 1.3rem; border-radius: var(--ps-radius);
  background: rgba(255,255,255,.8); border: 1px solid rgba(15,39,64,.08);
}
.ps-step-num {
  display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem;
  margin-bottom: .65rem; border-radius: 50%; background: var(--ps-navy); color: var(--ps-gold-2); font-weight: 800;
}
.ps-two { display: grid; gap: 1.5rem; align-items: start; }
.ps-panel {
  padding: 1.35rem; border-radius: var(--ps-radius); background: #fff; border: 1px solid rgba(15,39,64,.08);
}
.ps-list { margin: .9rem 0 0; padding-left: 1.1rem; color: var(--ps-muted); }
.ps-list li + li { margin-top: .4rem; }

/* Reviews */
.ps-reviews { display: grid; gap: 1rem; }
.ps-review {
  padding: 1.25rem; border-radius: var(--ps-radius); background: #fff; border: 1px solid var(--ps-line);
}
.ps-review p { margin: 0 0 .7rem; color: var(--ps-muted); line-height: 1.6; }
.ps-review strong { color: var(--ps-navy); }

/* FAQ */
.ps-faq details {
  background: #fff; border: 1px solid rgba(15,39,64,.08); border-radius: 12px;
  padding: .95rem 1.1rem; margin-bottom: .7rem;
}
.ps-faq summary { cursor: pointer; font-weight: 700; color: var(--ps-navy); }
.ps-faq details p { margin: .7rem 0 0; color: var(--ps-muted); line-height: 1.65; }

/* CTA band */
.ps-cta-band {
  margin-top: 1rem; padding: 2.4rem 1.4rem; border-radius: 18px; text-align: center; color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(201,162,39,.24), transparent 42%),
    linear-gradient(135deg, #0f2740, #1c4464);
}
.ps-cta-band h2 { color: #fff; margin: 0 0 .7rem; }
.ps-cta-band p { margin: 0 auto 1.2rem; max-width: 34rem; color: rgba(247,243,234,.85); }
.ps-disclose { margin-top: .9rem; font-size: .78rem; color: rgba(247,243,234,.62); }
.ps-note {
  margin-top: 1.4rem; padding: .9rem 1rem; border-radius: 12px;
  background: rgba(15,39,64,.04); color: var(--ps-muted); font-size: .84rem; line-height: 1.55;
}

@media (min-width: 640px) {
  .ps-promise { grid-template-columns: repeat(3, 1fr); }
  .ps-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-steps { grid-template-columns: repeat(3, 1fr); }
  .ps-reviews { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .ps-hero .ps-wrap { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .ps-grid { grid-template-columns: repeat(3, 1fr); }
  .ps-two { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 767px) {
  .ps-section { padding: 3rem 0; }
  .ps-hero { padding: 3.6rem 0 3rem; }
  .ps-hero h1 { max-width: none; }
  .ps-hero-cta .ps-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .ps-hero h1, .ps-hero .ps-lead, .ps-hero-cta { animation: psRise .65s ease both; }
  .ps-hero .ps-lead { animation-delay: .06s; }
  .ps-hero-cta { animation-delay: .12s; }
  .ps-card { animation: psRise .5s ease both; }
  .ps-card:nth-child(2){animation-delay:.05s}
  .ps-card:nth-child(3){animation-delay:.1s}
  .ps-card:nth-child(4){animation-delay:.15s}
  .ps-card:nth-child(5){animation-delay:.2s}
  .ps-card:nth-child(6){animation-delay:.25s}
}
@keyframes psRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
