/* ============================================================
   SOVEREIGN TAX ADVISORY — one font set (Choice 2A) and the cream team pages
   Adam and Tyler, Oct 26, 2026: the site stays navy and gold with the homepage
   photo; Source Serif 4 and Source Sans 3 everywhere; the team page and the
   profile pages are cream so they stand out (Choice 1B). The crest with the
   name stays (4B). Loaded last on every public page.
   ============================================================ */

/* ---------- 1. Fonts, on every page ---------- */
:root {
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wordmark: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Marcellus", "Source Serif 4", serif;
}

body { font-family: var(--sans); }

/* Source Serif sets larger than the old display face, so headings are a step
   smaller and a little heavier to keep the same presence. */
h1, h2, h3, h4, .h2 { font-family: var(--serif); }
h1 { font-weight: 600; letter-spacing: -0.01em; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.08; }
.h2, h2 { font-weight: 600; letter-spacing: -0.005em; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; }
h3 { font-weight: 600; }

/* Small capital labels in the sans face, slightly heavier. */
.eyebrow, .footer-col h4, .offer .offer-for, .rc-open, .tlink, .nav-links a, .btn-approach { font-family: var(--sans); font-weight: 600; }

/* The crest's name keeps its own lettering. */
.brand-name, .brand-sub { font-family: var(--logo); }

/* No italics anywhere. Emphasis is carried by colour. */
em, i, cite, .serif-italic, [class*="italic"] { font-style: normal; }
.statement .big em, .statement .sig, .rc-empty, .prose .lead-p { font-style: normal; }

/* Plain text links that had no style of their own read in the site gold. */
.post-next a, .post-body a, .prose a, p > a:not([class]), li > a:not([class]) { color: var(--gold-300); text-underline-offset: 3px; }
.post-next a:hover, .post-body a:hover, .prose a:hover, p > a:not([class]):hover, li > a:not([class]):hover { color: var(--on-navy); }

/* ---------- 2. Cream, on the team page, the profile pages, Our Approach and FAQ ---------- */
/* Oct 26: Our Approach and FAQ joined the team pages in cream so the team page is not the only light page (About at first, swapped at Elias's and Tyler's request). */
.team-page, .cream-page {
  --navy-900: #f6f4ef;
  --navy-850: #f1eee6;
  --navy-800: #f6f4ef;
  --navy-700: #ffffff;
  --navy-600: #ece6d8;
  --navy-500: #e2dac8;
  --paper: #ffffff;
  --cream: #ece6d8;
  --cream-2: #e4dccb;
  --on-navy: #14213d;
  --on-navy-soft: #3a4358;
  --on-navy-mute: #5f6678;
  --ink: #14213d;
  --ink-soft: #3a4358;
  --ink-mute: #5f6678;
  /* Gold darkened so small gold text stays readable on cream (4.5:1 or better). */
  --gold-200: #6a4f1d;
  --gold-300: #73561f;
  --gold-400: #7a5c22;
  --gold-500: #8a6a2b;
  --gold-600: #7a5c22;
  --gold-line: linear-gradient(90deg, transparent, #b8975a, transparent);
  --hairline: rgba(20, 33, 61, 0.14);
  --hairline-light: rgba(20, 33, 61, 0.12);
  background: #f6f4ef;
  color: #3a4358;
}
:is(.team-page, .cream-page) h1, :is(.team-page, .cream-page) h2, :is(.team-page, .cream-page) h3, :is(.team-page, .cream-page) h4, :is(.team-page, .cream-page) .h2 { color: #14213d; }

/* Headline effects built for navy wash out on cream: solid navy and gold. */
:is(.team-page, .cream-page) .gloss { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #14213d; -webkit-text-fill-color: currentColor; }
:is(.team-page, .cream-page) .gold-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #8a6a2b; -webkit-text-fill-color: currentColor; }

/* The crest's name in solid navy on cream; the light shimmer would disappear. */
:is(.team-page, .cream-page) .brand-name { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #14213d; -webkit-text-fill-color: #14213d; animation: none; }
:is(.team-page, .cream-page) .brand img { animation: none; filter: none; }

/* Menu bar. */
:is(.team-page, .cream-page) .nav.scrolled { background: rgba(246, 244, 239, 0.92); box-shadow: 0 14px 30px -26px rgba(20, 33, 61, 0.45); }
:is(.team-page, .cream-page) .nav-links a:hover { color: #14213d; }
:is(.team-page, .cream-page) .nav a.nav-portal { color: #14213d; border-color: #14213d; }
:is(.team-page, .cream-page) .nav a.nav-portal:hover { background: #14213d; color: #ffffff; box-shadow: none; }
:is(.team-page, .cream-page) .nav-toggle span { background: #14213d; }

/* Buttons: solid navy with white text. */
:is(.team-page, .cream-page) .btn-gold { background: #14213d; color: #ffffff; border-color: #14213d; box-shadow: none; }
:is(.team-page, .cream-page) .btn-gold:hover { background: #22325a; color: #ffffff; }
:is(.team-page, .cream-page) .btn-ghost { color: #14213d; border-color: rgba(20, 33, 61, 0.45); }
:is(.team-page, .cream-page) .btn-ghost:hover { background: #14213d; color: #ffffff; border-color: #14213d; }

/* Cards white on cream. */
:is(.team-page, .cream-page) .card, :is(.team-page, .cream-page) .adv-card, :is(.team-page, .cream-page) .person-card { background: #ffffff; border-color: var(--hairline); }

/* Footer in the alternate cream. */
:is(.team-page, .cream-page) .footer { background: var(--cream); border-top: 1px solid var(--hairline); }
:is(.team-page, .cream-page) .footer-col a:hover, :is(.team-page, .cream-page) .footer-bottom a:hover { color: var(--gold-400); }
