/* ============================================
   PSU — Magazine Pitchbook (Option B / SEO-MAX)
   Child theme of Hello Elementor
   Only applies on the homepage (body.psu-home-active)
   ============================================ */

body.psu-home-active {
  --psu-bg: #F4EFE5;
  --psu-paper: #FBF8F0;
  --psu-ink: #0A0A0A;
  --psu-muted: #595550;
  --psu-line: #D9D2C2;
  --psu-gold: #B8893E;
  --psu-gold-deep: #8C6320;
  --psu-green: #1A6B3F;
  --psu-green-deep: #114B2C;
  --psu-red: #B91C1C;

  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--psu-bg);
  color: var(--psu-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

body.psu-home-active a { color: inherit; text-decoration: none; }
.psu-home, .psu-home * { box-sizing: border-box; }
.psu-home .container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* Top bar */
.psu-topbar { padding: 10px 0; border-bottom: 1px solid var(--psu-line); font-family: 'Fraunces', serif; font-size: 12px; letter-spacing: 0.03em; }
.psu-topbar-inner { display: flex; justify-content: space-between; align-items: center; color: var(--psu-muted); flex-wrap: wrap; gap: 12px; }
.psu-topbar .vol { font-weight: 700; color: var(--psu-ink); }
.psu-ticker-row { display: flex; gap: 18px; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.psu-ticker-row .pos { color: var(--psu-green); }
.psu-ticker-row .neg { color: var(--psu-red); }

/* Masthead */
.psu-masthead { padding: 30px 0 20px; text-align: center; border-bottom: 1px solid var(--psu-ink); }
.psu-mast-meta { font-family: 'Fraunces', serif; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--psu-muted); margin-bottom: 10px; }
.psu-logo-mast { font-family: 'Fraunces', serif; font-weight: 900; font-size: clamp(48px, 7vw, 88px); letter-spacing: -0.035em; line-height: 1; }
.psu-logo-mast .gold { color: var(--psu-gold-deep); font-style: italic; font-weight: 700; }
.psu-mast-tag { font-family: 'Fraunces', serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--psu-muted); margin-top: 14px; }

/* Section nav */
.psu-sections { padding: 14px 0; border-bottom: 1px solid var(--psu-line); font-family: 'Fraunces', serif; font-size: 12.5px; letter-spacing: 0.04em; }
.psu-sections-inner { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; font-weight: 600; }
.psu-sections-inner a:hover { color: var(--psu-gold-deep); }

/* Lead story */
.psu-lead { padding: 48px 0 40px; }
.psu-lead-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; }
@media (max-width: 980px) { .psu-lead-grid { grid-template-columns: 1fr; gap: 32px; } }

.psu-lead-tag { display: inline-block; padding: 5px 12px; background: var(--psu-ink); color: white; font-family: 'Fraunces', serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 22px; }
.psu-lead-h { font-family: 'Fraunces', serif; font-size: clamp(40px, 5.5vw, 76px); line-height: 0.96; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.psu-lead-h em { color: var(--psu-gold-deep); font-style: italic; font-weight: 700; }
.psu-lead-deck { font-family: 'Fraunces', serif; font-size: 22px; line-height: 1.42; color: var(--psu-muted); margin-bottom: 24px; max-width: 660px; font-weight: 500; }
.psu-byline { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--psu-muted); letter-spacing: 0.04em; margin-bottom: 24px; }
.psu-byline strong { color: var(--psu-ink); font-weight: 700; }
.psu-byline .ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--psu-gold), var(--psu-gold-deep)); display: flex; align-items: center; justify-content: center; color: white; font-family: 'Fraunces', serif; font-size: 14px; font-weight: 800; overflow: hidden; }
.psu-byline .ava img { width: 100%; height: 100%; object-fit: cover; display: block; }

.psu-perf-card { background: var(--psu-paper); border: 1.5px solid var(--psu-ink); padding: 20px 24px; margin-bottom: 24px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.psu-perf-card .num { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: var(--psu-green-deep); line-height: 1; letter-spacing: -0.02em; }
.psu-perf-card .num small { font-size: 24px; }
.psu-perf-card .lbl { font-size: 12px; color: var(--psu-muted); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.4; }
.psu-perf-card .vs { font-family: 'Fraunces', serif; font-size: 15px; color: var(--psu-ink); margin-left: auto; }

.psu-lead-body { font-family: 'Fraunces', serif; }
.psu-lead-body p { font-size: 18px; line-height: 1.7; margin-bottom: 18px; color: var(--psu-ink); }
.psu-lead-body p:first-of-type::first-letter { font-family: 'Fraunces', serif; font-size: 60px; font-weight: 800; float: left; line-height: 0.85; padding: 4px 12px 0 0; color: var(--psu-gold-deep); }
.psu-lead-body strong { font-weight: 700; }
.psu-lead-body a { color: var(--psu-gold-deep); border-bottom: 1px solid var(--psu-gold-deep); padding-bottom: 1px; }

/* Sidebar */
.psu-lead-sidebar { padding-top: 12px; }
.psu-sidebar-h { font-family: 'Fraunces', serif; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--psu-gold-deep); padding-bottom: 10px; border-bottom: 2px solid var(--psu-ink); margin-bottom: 16px; }
.psu-alert-item { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--psu-line); align-items: start; }
.psu-alert-item:last-child { border-bottom: none; }
.psu-alert-num { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: var(--psu-gold-deep); line-height: 1; }
.psu-alert-ticker { font-weight: 800; font-size: 14px; }
.psu-alert-ticker .pct { color: var(--psu-green); margin-left: 6px; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.psu-alert-headline { font-family: 'Fraunces', serif; font-size: 15.5px; font-weight: 700; line-height: 1.25; margin-top: 4px; }
.psu-alert-meta { font-size: 11px; color: var(--psu-muted); margin-top: 6px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Sub-band signup */
.psu-sub-band { padding: 56px 0; background: var(--psu-ink); color: white; }
.psu-sub-band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .psu-sub-band-grid { grid-template-columns: 1fr; } }
.psu-sub-band h2 { font-family: 'Fraunces', serif; font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 18px; }
.psu-sub-band h2 em { color: var(--psu-gold); font-style: italic; font-weight: 600; }
.psu-sub-band p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 480px; line-height: 1.55; }
.psu-sub-band ul { list-style: none; margin-top: 18px; padding: 0; }
.psu-sub-band li { font-size: 14.5px; padding: 4px 0; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 10px; }
.psu-sub-band li::before { content: '✓'; color: var(--psu-gold); font-weight: 800; font-size: 16px; }

.psu-sub-form { background: var(--psu-paper); color: var(--psu-ink); padding: 28px; }
.psu-sub-form .form-h { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.psu-sub-form .form-sub { font-size: 13.5px; color: var(--psu-muted); margin-bottom: 16px; }

/* CF7 form override */
.psu-sub-form .wpcf7 form .wpcf7-form-control,
.psu-sub-form input[type="email"],
.psu-sub-form input[type="tel"],
.psu-sub-form input[type="text"],
.psu-sub-form input[type="number"] {
  width: 100%; padding: 13px 14px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--psu-ink); background: white; margin-bottom: 10px;
  color: var(--psu-ink); border-radius: 0; -webkit-appearance: none;
}
.psu-sub-form input:focus { outline: 2px solid var(--psu-gold); outline-offset: 1px; }
.psu-sub-form .wpcf7-submit,
.psu-sub-form input[type="submit"],
.psu-sub-form button[type="submit"] {
  width: 100%; padding: 14px; font-family: 'Fraunces', serif; font-size: 13.5px; font-weight: 700;
  background: var(--psu-green-deep); color: white; border: none; cursor: pointer;
  letter-spacing: 0.04em; text-transform: uppercase; transition: background .15s; border-radius: 0;
}
.psu-sub-form .wpcf7-submit:hover,
.psu-sub-form input[type="submit"]:hover,
.psu-sub-form button[type="submit"]:hover { background: var(--psu-green); }
.psu-sub-form .micro-trust { font-size: 11.5px; color: var(--psu-muted); margin-top: 10px; line-height: 1.5; }
.psu-sub-form .micro-trust span::before { content: '✓ '; color: var(--psu-green-deep); font-weight: 800; }

/* Picks grid */
.psu-picks { padding: 56px 0; border-top: 1px solid var(--psu-ink); }
.psu-picks-h { font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.psu-picks-sub { font-family: 'Fraunces', serif; font-size: 16px; color: var(--psu-muted); margin-bottom: 32px; }
.psu-picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .psu-picks-grid { grid-template-columns: repeat(2, 1fr); } }
.psu-pick { background: var(--psu-paper); border: 1.5px solid var(--psu-ink); padding: 22px; }
.psu-pick-ticker { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 800; line-height: 1; }
.psu-pick-name { font-size: 11px; color: var(--psu-muted); margin: 4px 0 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.psu-pick-pct { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 900; color: var(--psu-green-deep); letter-spacing: -0.02em; line-height: 1; }
.psu-pick-meta { font-size: 11px; color: var(--psu-muted); margin-top: 6px; letter-spacing: 0.04em; }

/* Coverage */
.psu-coverage { padding: 56px 0; border-top: 1px solid var(--psu-ink); background: var(--psu-paper); }
.psu-coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .psu-coverage-grid { grid-template-columns: repeat(2, 1fr); } }
.psu-cov { border-top: 3px solid var(--psu-ink); padding-top: 16px; display: block; }
.psu-cov .lbl { font-family: 'Fraunces', serif; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--psu-gold-deep); margin-bottom: 6px; }
.psu-cov h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 800; line-height: 1.15; margin: 0 0 8px; }
.psu-cov p { font-size: 14px; color: var(--psu-muted); line-height: 1.55; margin-bottom: 10px; }
.psu-cov a.read { font-family: 'Fraunces', serif; font-size: 13px; font-weight: 700; color: var(--psu-gold-deep); border-bottom: 1.5px solid var(--psu-gold-deep); padding-bottom: 1px; }

/* Author E-E-A-T */
.psu-author { padding: 56px 0; border-top: 1px solid var(--psu-ink); }
.psu-author-grid { display: grid; grid-template-columns: 140px 1fr; gap: 32px; align-items: start; }
@media (max-width: 720px) { .psu-author-grid { grid-template-columns: 1fr; } }
.psu-author .ava-lg { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, var(--psu-gold), var(--psu-gold-deep)); display: flex; align-items: center; justify-content: center; color: white; font-family: 'Fraunces', serif; font-size: 50px; font-weight: 800; overflow: hidden; }
.psu-author .ava-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.psu-author .role { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--psu-gold-deep); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.psu-author h3 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 800; margin: 0 0 10px; }
.psu-author p { font-family: 'Fraunces', serif; font-size: 17px; color: var(--psu-muted); line-height: 1.55; margin-bottom: 14px; max-width: 720px; }
.psu-author-creds { font-size: 12.5px; color: var(--psu-muted); display: flex; gap: 18px; flex-wrap: wrap; }
.psu-author-creds span::before { content: '· '; color: var(--psu-gold-deep); }
.psu-author-creds span:first-child::before { content: ''; }

/* FAQ */
.psu-faq-section { padding: 56px 0; border-top: 1px solid var(--psu-ink); }
.psu-faq-section h2 { font-family: 'Fraunces', serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
.psu-faq-section details { background: var(--psu-paper); border: 1px solid var(--psu-line); margin-bottom: 8px; }
.psu-faq-section details[open] { border-color: var(--psu-gold-deep); }
.psu-faq-section summary { cursor: pointer; padding: 18px 22px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.psu-faq-section summary::-webkit-details-marker { display: none; }
.psu-faq-section summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--psu-muted); }
.psu-faq-section details[open] summary::after { content: '−'; color: var(--psu-gold-deep); }
.psu-faq-section details p { padding: 0 22px 18px; font-family: 'Fraunces', serif; color: var(--psu-muted); line-height: 1.6; font-size: 16px; margin: 0; }

/* Footer */
.psu-footer { padding: 36px 0 24px; border-top: 2px solid var(--psu-ink); font-size: 12.5px; color: var(--psu-muted); }
.psu-footer p { margin-bottom: 8px; }
.psu-footer a { text-decoration: underline; color: var(--psu-muted); }
.psu-footer a:hover { color: var(--psu-ink); }
