/* Dominion Prosperity Group site styles. r20: one skin (internal class on <html>; the skin name is internal only).
   Palette and type follow the approved CIP direction-A spec (03_directions/direction-A/palette-and-type.md):
   oxblood #380207 / #280004, gold #CEA651 / #E3C37A, bronze-gold #7A591B for gold text on light, parchment #FAF7F2, ink #141112;
   Cinzel display, Cormorant Garamond subheads, Plus Jakarta Sans body, IBM Plex Mono for numbers. No web fonts are shipped
   (no font files; CSP font-src 'self'), so every stack ends in fonts that exist on common systems. */
:root,
    .theme-sovereign-heritage {
      --dpg-oxblood: #380207;
      --dpg-oxblood-deep: #280004;
      --dpg-oxblood-mid: #46030A;
      --dpg-gold: #CEA651;
      --dpg-gold-bright: #E3C37A;
      --dpg-gold-bronze: #7A591B;
      --dpg-white: #FFFFFF;
      --dpg-parchment: #FAF7F2;
      --dpg-ink: #141112;
      --dpg-muted: #4E4447;
      --dpg-rule: #DED6C8;

      --bg-page: #FAF7F2;
      --bg-section-alt: #F3EDE2;
      --bg-card: #FFFFFF;
      --bg-card-elevated: #FFFDF9;
      --bg-hero: radial-gradient(circle at 30% 35%, #48030B 0%, #370006 55%, #240003 100%);
      --bg-nav: rgba(40, 0, 4, 0.97);
      --bg-dark-band: radial-gradient(circle at 50% 40%, #420209 0%, #350006 60%, #240003 100%);
      --text-main: #141112;
      --text-muted: #4E4447;
      --text-heading: #380207;
      --text-overline: #7A591B;
      --border-subtle: #DED6C8;
      --border-accent: #CEA651;
      --btn-primary-bg: linear-gradient(135deg, #E3C37A 0%, #CEA651 55%, #B58B37 100%);
      --btn-primary-text: #141112;
      --btn-secondary-bg: #380207;
      --btn-secondary-text: #FFFFFF;
      --badge-bg: rgba(206, 166, 81, 0.15);
      --badge-text: #7A591B;
      --table-head-bg: #380207;
      --table-head-text: #FFFFFF;
      --table-row-alt: #FAF7F2;
      --input-bg: #FFFFFF;
      --input-border: #857A6C;
      --focus-ring: #380207;
      --shadow-card: 0 12px 32px -8px rgba(40, 0, 4, 0.08), 0 4px 12px -2px rgba(20, 17, 18, 0.05);
      --radius-card: 6px;
      --radius-btn: 4px;
      --font-display: 'Cinzel', 'Trajan Pro', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
      --font-serif: 'Cormorant Garamond', 'Garamond', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
      --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-mono: 'IBM Plex Mono', 'JetBrains Mono', Consolas, monospace;
    }
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

    body {
      background-color: var(--bg-page);
      color: var(--text-main);
      font-family: var(--font-sans);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      transition: background-color 0.25s ease, color 0.25s ease;
    }

    :focus-visible {
      outline: 3px solid var(--dpg-gold);
      outline-offset: 3px;
    }

    .skip-link {
      position: absolute;
      top: -100px;
      left: 1rem;
      background: var(--dpg-gold);
      color: #141112;
      font-weight: 700;
      padding: 0.75rem 1.25rem;
      z-index: 10000;
      border-radius: 0 0 6px 6px;
      text-decoration: none;
    }
    .skip-link:focus {
      top: 0;
    }

    .dpg-inline-svg {
      width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin-inline: auto;
      padding-inline: 1.5rem;
    }

    .site-header {
      background: var(--bg-nav);
      color: #FFFFFF;
      border-bottom: 1px solid rgba(206, 166, 81, 0.35);
      position: sticky;
      top: 0;
      z-index: 950;
      backdrop-filter: blur(10px);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
      padding-block: 0.75rem;
    }

    .brand-link {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      text-decoration: none;
      color: #FFFFFF;
    }

    .brand-mark-wrap {
      width: 46px;
      height: 46px;
      flex-shrink: 0;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid rgba(206, 166, 81, 0.55);
    }

    .brand-wordmark {
      display: flex;
      flex-direction: column;
    }

    .brand-wordmark-top {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      color: #FFFFFF;
      line-height: 1.1;
    }

    .brand-wordmark-sub {
      font-family: var(--font-display);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.22em;
      color: #CEA651;
      margin-top: 0.15rem;
    }

    .primary-nav {
      display: flex;
      align-items: center;
      gap: 1.35rem;
      list-style: none;
    }

    .primary-nav a {
      color: #F8F5F0;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      transition: color 0.15s ease;
    }

    .primary-nav a:hover {
      color: #E3C37A;
    }

    .header-ctas {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .site-header .npn-pill {
      display: none;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-family: var(--font-sans);
      font-size: 0.875rem;
      font-weight: 700;
      text-decoration: none;
      padding: 0.75rem 1.35rem;
      min-height: 48px;
      border-radius: var(--radius-btn);
      border: 1px solid transparent;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
    }

    .btn-gold {
      background: var(--btn-primary-bg);
      color: var(--btn-primary-text);
      border-color: #E3C37A;
      box-shadow: 0 4px 16px rgba(206, 166, 81, 0.28);
    }

    .btn-outline-gold {
      background: rgba(255, 255, 255, 0.06);
      color: #FFFFFF;
      border-color: #CEA651;
    }

    .btn-outline-gold:hover {
      background: rgba(206, 166, 81, 0.18);
    }

    @media (max-width: 1024px) {
      .primary-nav {
        display: none;
      }
    }

    .hero-section {
      background: var(--bg-hero);
      color: #FFFFFF;
      padding-block: 4.5rem 5rem;
      border-bottom: 3px solid #CEA651;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 3rem;
      align-items: center;
    }

    @media (max-width: 960px) {
      .hero-grid {
        grid-template-columns: 1fr;
      }
    }

    .overline-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(206, 166, 81, 0.16);
      border: 1px solid rgba(206, 166, 81, 0.55);
      color: #E3C37A;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 0.4rem 0.85rem;
      border-radius: 4px;
      margin-bottom: 1.25rem;
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(2.1rem, 4vw, 3.35rem);
      font-weight: 700;
      line-height: 1.12;
      letter-spacing: 0.04em;
      color: #FFFFFF;
      margin-bottom: 1.25rem;
    }

    .hero-title span {
      color: #E3C37A;
      display: block;
    }

    .hero-lead {
      font-size: 1.125rem;
      line-height: 1.68;
      color: #F8F5F0;
      max-width: 64ch;
      margin-bottom: 1.75rem;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2.25rem;
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(206, 166, 81, 0.35);
    }

    @media (max-width: 640px) {
      .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .metric-item {
      display: flex;
      flex-direction: column;
    }

    .metric-val {
      font-family: var(--font-mono);
      font-size: 1rem;
      font-weight: 700;
      color: #E3C37A;
    }

    .metric-label {
      font-size: 0.75rem;
      color: #DED6C8;
      margin-top: 0.15rem;
    }

    .section {
      padding-block: 4.5rem;
      border-bottom: 1px solid var(--border-subtle);
    }

    .section-alt {
      background-color: var(--bg-section-alt);
    }

    .section-header {
      max-width: 780px;
      margin-bottom: 3rem;
    }

    .section-overline {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-overline);
      margin-bottom: 0.5rem;
      display: block;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 3vw, 2.35rem);
      font-weight: 700;
      color: var(--text-heading);
      line-height: 1.2;
      margin-bottom: 0.85rem;
    }

    .section-desc {
      font-size: 1.05rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 1.5rem;
    }

    .pillar-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-top: 4px solid var(--border-accent);
      border-radius: var(--radius-card);
      padding: 1.75rem;
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.2s ease;
    }

    .pillar-card:hover {
      transform: translateY(-3px);
    }

    .pillar-num {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--badge-text);
      background: var(--badge-bg);
      padding: 0.25rem 0.6rem;
      border-radius: 4px;
      display: inline-block;
      margin-bottom: 0.85rem;
    }

    .pillar-title {
      font-family: var(--font-display);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-heading);
      margin-bottom: 0.65rem;
    }

    .pillar-body {
      font-size: 0.9375rem;
      color: var(--text-muted);
      margin-bottom: 1.25rem;
    }

    .pillar-specs {
      list-style: none;
      border-top: 1px solid var(--border-subtle);
      padding-top: 1rem;
      font-size: 0.8125rem;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .pillar-specs li {
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .spec-key {
      color: var(--text-muted);
      font-weight: 600;
    }

    .spec-val {
      font-family: var(--font-mono);
      color: var(--text-main);
      font-weight: 600;
      text-align: right;
    }

    .qual-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    @media (max-width: 860px) {
      .qual-grid {
        grid-template-columns: 1fr;
      }
    }

    .qual-box {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-card);
      padding: 2rem;
      box-shadow: var(--shadow-card);
    }

    .qual-box.qual-positive {
      border-top: 4px solid #1E6B45;
    }

    .qual-box.qual-negative {
      border-top: 4px solid #9E2A2B;
    }

    .qual-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
      margin-top: 1.25rem;
    }

    .qual-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 0.9375rem;
    }

    .credentials-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 2.25rem;
      align-items: center;
    }

    @media (max-width: 920px) {
      .credentials-grid {
        grid-template-columns: 1fr;
      }
    }

    .replica-frame {
      border: 2px solid #CEA651;
      border-radius: var(--radius-card);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      background: #380207;
    }

    .intake-layout {
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 2.5rem;
      align-items: start;
    }

    @media (max-width: 920px) {
      .intake-layout {
        grid-template-columns: 1fr;
      }
    }

    .form-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-top: 4px solid var(--border-accent);
      border-radius: var(--radius-card);
      padding: 2.25rem;
      box-shadow: var(--shadow-card);
    }

    .form-group {
      margin-block-end: 1.25rem;
    }

    .form-label {
      display: inline-block;
      font-size: 0.875rem;
      font-weight: 700;
      color: var(--text-main);
      padding: 6px 0;
      margin-bottom: 0.25rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
      width: 100%;
      font-family: var(--font-sans);
      font-size: 1rem;
      padding: 0.75rem 0.9rem;
      min-height: 48px;
      background: var(--input-bg);
      color: var(--text-main);
      border: 1.5px solid var(--input-border);
      border-radius: var(--radius-btn);
      box-sizing: border-box;
    }

    @media (pointer: coarse) {
      .form-input,
      .form-select {
        min-height: 52px;
      }
    }

    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    @media (max-width: 600px) {
      .form-grid-2 {
        grid-template-columns: 1fr;
      }
    }

    .checkbox-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.65rem;
      margin-top: 0.35rem;
    }

    @media (max-width: 540px) {
      .checkbox-grid {
        grid-template-columns: 1fr;
      }
    }

    .checkbox-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.6rem 0.75rem;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-btn);
      background: var(--bg-card-elevated);
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
    }

    .checkbox-item input[type="checkbox"] {
      width: 1.15rem;
      height: 1.15rem;
      accent-color: #380207;
      cursor: pointer;
    }

    .form-feedback {
      display: none;
      margin-top: 1.25rem;
      padding: 1rem 1.25rem;
      border-radius: var(--radius-btn);
      background: rgba(30, 107, 69, 0.12);
      border: 1px solid #1E6B45;
      color: var(--text-main);
      font-size: 0.875rem;
    }

    .site-footer {
      background: #180103;
      color: #EAE3D5;
      padding-block: 4rem 2.5rem;
      border-top: 3px solid #CEA651;
      font-size: 0.875rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
      gap: 2.25rem;
      padding-bottom: 2.5rem;
      border-bottom: 1px solid rgba(206, 166, 81, 0.25);
    }

    @media (max-width: 960px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 560px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    .footer-heading {
      font-family: var(--font-display);
      font-size: 0.875rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #E3C37A;
      margin-bottom: 1rem;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .footer-links a {
      color: #EAE3D5;
      text-decoration: none;
    }

    .footer-links a:hover {
      color: #E3C37A;
    }

    .compliance-box {
      margin-top: 2rem;
      padding: 1.25rem 1.5rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(206, 166, 81, 0.35);
      border-radius: 6px;
      font-size: 0.78rem;
      line-height: 1.65;
      color: #C8B9A6;
    }

html { scroll-padding-top: 5.5rem; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.section a:not(.btn), .page-body a:not(.btn) { color: var(--text-heading); text-decoration: underline; text-underline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


.brand-mark-wrap img { width: 100%; height: 100%; object-fit: cover; }
.primary-nav a[aria-current="page"] { color: #E3C37A; text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; appearance: none; background: transparent; color: #FFFFFF; border: 1px solid #CEA651; border-radius: 4px; font: inherit; font-weight: 700; padding: 0.5rem 0.8rem; min-height: 44px; cursor: pointer; }
.header-phone { white-space: nowrap; }
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; width: 100%; order: 3; }
  .site-nav.is-open { display: block; }
  .site-nav.is-open .primary-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding-block: 0.75rem; }
  .site-nav.is-open .primary-nav a { display: block; padding: 0.5rem 0; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .header-ctas .header-phone { display: none; }
  .brand-wordmark-top { font-size: 1rem; }
}

.hero-logo { border: 1px solid rgba(206, 166, 81, 0.45); border-radius: var(--radius-card); overflow: hidden; background: #380207; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45); }
.hero-points { list-style: none; display: grid; gap: 0.5rem; margin-bottom: 1.5rem; color: #F8F5F0; }
.hero-points li { padding-left: 1.4rem; position: relative; }
.hero-points li::before { content: "\2726"; position: absolute; left: 0; color: #E3C37A; }
.page-hero { background: var(--bg-hero); color: #FFFFFF; padding-block: 3rem; border-bottom: 3px solid #CEA651; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.75rem); letter-spacing: 0.03em; line-height: 1.15; margin-bottom: 0.75rem; }
.page-hero p { color: #F8F5F0; max-width: 70ch; font-size: 1.0625rem; }
.page-body { padding-block: 3rem; }
.page-body h2 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.page-body h3 { color: var(--text-heading); font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }
.page-body p, .page-body li { max-width: 75ch; margin-bottom: 0.75rem; }
.page-body ul, .page-body ol { padding-left: 1.25rem; }
.prose-narrow { max-width: 820px; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 1.25rem 1.25rem 1.25rem 3.5rem; position: relative; box-shadow: var(--shadow-card); }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 1.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--btn-secondary-bg); color: var(--btn-secondary-text); display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; }
.cta-band { text-align: center; }
.cta-band .section-desc { margin: 0 auto 1.5rem; max-width: 60ch; }
.note { font-size: 0.875rem; color: var(--text-muted); }
.contact-list { list-style: none; padding: 0 !important; display: grid; gap: 0.6rem; }
.contact-list strong { display: inline-block; min-width: 6.5rem; }
.card-frame { border: 2px solid #CEA651; border-radius: var(--radius-card); overflow: hidden; background: #380207; max-width: 720px; }

.funnel-hero { background: var(--bg-hero); color: #FFFFFF; padding-block: 1.5rem 1.25rem; border-bottom: 3px solid #CEA651; }
.funnel-hero h1 { font-family: var(--font-display); font-size: clamp(1.35rem, 5vw, 2.25rem); line-height: 1.22; letter-spacing: 0.02em; margin-bottom: 0.6rem; }
.funnel-hero .funnel-sub { color: #F8F5F0; margin-bottom: 0.75rem; }
.funnel-call { display: inline-flex; gap: 0.4rem; align-items: center; color: #E3C37A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.funnel-header .header-inner { padding-block: 0.5rem; }
.funnel-main { padding-block: 1.25rem 2rem; }
.funnel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 960px) { .funnel-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }
.funnel-aside h2 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.35rem; margin-bottom: 1rem; }
.funnel-aside .steps { grid-template-columns: 1fr; }
.funnel-lower-cta { margin-top: 1.5rem; }
.funnel-facts { margin-top: 2rem; padding: 1rem 1.25rem; border: 1px dashed var(--border-accent); border-radius: 6px; background: var(--bg-card); color: var(--text-main); font-size: 0.9rem; }

.dpg-form { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-subtle); border-top: 4px solid var(--border-accent); border-radius: var(--radius-card); padding: 1.25rem; box-shadow: var(--shadow-card); }
@media (min-width: 600px) { .dpg-form { padding: 2rem; } }
.dpg-form h2 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.4rem; margin-bottom: 0.4rem; }
.dpg-form > p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 1rem; }
.dpg-form__summary { color: #9E2A2B; font-weight: 700; margin-bottom: 0.5rem; }
.dpg-form__summary:empty { display: none; }
.dpg-form__field { margin-bottom: 1rem; }
.dpg-form__field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.dpg-form input[type="text"], .dpg-form input[type="email"], .dpg-form select { width: 100%; font: inherit; font-size: 1rem; padding: 0.7rem 0.85rem; min-height: 48px; background: var(--input-bg); color: var(--text-main); border: 1.5px solid var(--input-border); border-radius: var(--radius-btn); }
.dpg-form input:focus-visible, .dpg-form select:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-color: var(--focus-ring); }
.dpg-form [aria-invalid="true"] { border-color: #9E2A2B; border-width: 2px; }
.dpg-form__hint { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.dpg-form__error { font-size: 0.8125rem; color: #9E2A2B; font-weight: 700; margin-top: 0.25rem; }
.dpg-form__error:empty { display: none; }
.dpg-form__optional { font-weight: 400; color: var(--text-muted); }
.dpg-form__consent { border: 1px solid var(--border-subtle); border-radius: var(--radius-btn); padding: 0.9rem 1rem; margin: 1.25rem 0; }
.dpg-form__consent legend { font-weight: 700; padding: 0 0.35rem; font-size: 0.9rem; }
.dpg-form__check { display: flex; gap: 0.75rem; align-items: flex-start; margin-top: 0.75rem; font-size: 0.8125rem; line-height: 1.5; }
.dpg-form__check input[type="checkbox"] { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 0.1rem; accent-color: #380207; cursor: pointer; }
.dpg-form__check input[type="checkbox"]:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.dpg-form__privacy a { color: var(--text-heading); text-decoration: underline; }
.dpg-form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.dpg-form__submit { width: 100%; font: inherit; font-weight: 700; font-size: 1rem; min-height: 52px; border-radius: var(--radius-btn); border: 1px solid #E3C37A; background: var(--btn-primary-bg); color: var(--btn-primary-text); cursor: pointer; }
.dpg-form__submit:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.dpg-form__submit:disabled { cursor: not-allowed; opacity: .75; }
.dpg-form__submit[aria-busy="true"] { cursor: progress; }
.dpg-form__privacy { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.75rem; line-height: 1.5; }
.dpg-form__license { font-size: 0.78rem; line-height: 1.6; color: #C8B9A6; }
.dpg-form__license a { color: #EAE3D5; }

.site-footer a:focus-visible { outline-color: #E3C37A; }
.footer-logo { max-width: 260px; margin-bottom: 1rem; border: 1px solid rgba(206, 166, 81, 0.35); border-radius: 6px; overflow: hidden; }
.footer-blurb { color: #C8B9A6; font-size: 0.8125rem; line-height: 1.6; }
.footer-contact { font-size: 0.8125rem; }
.footer-legal { margin-top: 1.5rem; display: grid; gap: 0.5rem; }

.ty-title:focus { outline: none; }
.ty-steps { margin: 1rem 0 1.5rem; }

.section :focus-visible, .page-body :focus-visible, .funnel-main :focus-visible { outline-color: var(--focus-ring); }
@media (max-width: 480px) {
}

/* r7: home hero funnel link and calculator teaser */
.hero-funnel-link { margin-top: -0.75rem; margin-bottom: 1.5rem; color: #F8F5F0; font-size: 0.9375rem; }
.hero-funnel-link a { color: #E3C37A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-funnel-link a:focus-visible { outline: 3px solid #E3C37A; outline-offset: 2px; }
.calc-teaser-section { padding-block: 3rem; }
.calc-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-left: 4px solid var(--border-accent); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.5rem 1.75rem; }
.calc-teaser > div { flex: 1 1 420px; }
.calc-teaser-title { font-family: var(--font-display); color: var(--text-heading); font-size: 1.4rem; margin-bottom: 0.4rem; }
.calc-teaser-body { color: var(--text-muted); font-size: 0.9375rem; max-width: 70ch; }

/* calculators page (r9: coming-soon placeholders only) */
.soon-header { margin-bottom: 1.75rem; }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.soon-card { position: relative; background: var(--bg-card-elevated); color: var(--text-main); border: 1.5px dashed var(--border-accent); border-radius: var(--radius-card); padding: 1.5rem; }
.soon-badge { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--badge-text); background: var(--badge-bg); border: 1px solid var(--border-accent); border-radius: 999px; padding: 0.2rem 0.65rem; margin-bottom: 0.85rem; }
.page-body .soon-title { font-family: var(--font-display); color: var(--text-heading); font-size: 1.15rem; margin: 0 0 0.5rem; }
.page-body .soon-body { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.soon-intro { margin-bottom: 2.5rem; }
.page-body .soon-cta-row { margin-top: 2.5rem; text-align: center; max-width: none; }
.soon-cta-row .btn { min-height: 52px; min-width: 16rem; }
@media (max-width: 599px) { .soon-cta-row .btn { width: 100%; min-width: 0; } }

/* r7: funnel/ question flow */
.qf { max-width: 720px; margin-inline: auto; background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-subtle); border-top: 4px solid var(--border-accent); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.25rem; }
@media (min-width: 600px) { .qf { padding: 2rem; } }
.qf-progress { margin-bottom: 1.25rem; }
.qf-progress-label { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-overline); margin-bottom: 0.45rem; }
.qf-bar { height: 10px; background: var(--bg-section-alt); border: 1px solid var(--border-subtle); border-radius: 999px; overflow: hidden; }
.qf-bar-fill { display: block; height: 100%; width: 20%; background: var(--btn-primary-bg); border-radius: 999px; transition: width 0.25s ease; }
.qf[data-step="2"] .qf-bar-fill { width: 40%; }
.qf[data-step="3"] .qf-bar-fill { width: 60%; }
.qf[data-step="4"] .qf-bar-fill { width: 80%; }
.qf[data-step="5"] .qf-bar-fill { width: 100%; }
.qf fieldset { border: 0; min-width: 0; }
.qf legend { padding: 0; width: 100%; }
.qf-q { font-family: var(--font-display); color: var(--text-heading); font-size: clamp(1.3rem, 4.5vw, 1.65rem); line-height: 1.25; margin-bottom: 1rem; }
.qf-q:focus { outline: none; }
.qf-q:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.qf-options { display: grid; gap: 0.6rem; }
.qf-option { display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.7rem 1rem; background: var(--input-bg); color: var(--text-main); border: 1.5px solid var(--input-border); border-radius: var(--radius-btn); cursor: pointer; font-weight: 600; }
.qf-option:hover { border-color: var(--border-accent); }
.qf-option input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--text-heading); cursor: pointer; }
.qf-option input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.qf-option:has(input:checked) { border-color: var(--border-accent); background: var(--badge-bg); box-shadow: inset 0 0 0 1px var(--border-accent); }
.qf-error { font-size: 0.875rem; color: #9E2A2B; font-weight: 700; margin-top: 0.6rem; }
.qf-error:empty { display: none; }
.qf .qf-option:has(input[aria-invalid="true"]) { border-color: #9E2A2B; }
.qf-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.qf-next { margin-left: auto; min-width: 9rem; font-size: 1rem; }
.qf-back { background: transparent; color: var(--text-heading); border-color: var(--input-border); font-size: 1rem; }
.qf-back:hover { border-color: var(--border-accent); }
.qf .btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.qf-step--done p { margin-bottom: 0.9rem; }
.qf-recap-title { font-size: 1rem; color: var(--text-heading); margin: 1rem 0 0.5rem; }
.qf-recap { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.35rem 1rem; padding: 0.85rem 1rem; background: var(--bg-section-alt); border: 1px solid var(--border-subtle); border-radius: var(--radius-btn); margin-bottom: 0.9rem; font-size: 0.9375rem; }
.qf-recap dt { color: var(--text-muted); }
.qf-recap dd { font-weight: 700; }
.qf-cta-row .btn { width: 100%; font-size: 1rem; min-height: 52px; }
@media (min-width: 600px) { .qf-cta-row .btn { width: auto; min-width: 16rem; } }
.qf-noscript { margin-top: 1rem; font-weight: 700; }
.qf-noscript a { color: var(--text-heading); text-decoration: underline; }
.qf-foot { max-width: 720px; margin: 1.5rem auto 0; }
.qf [hidden] { display: none !important; }

/* r16: About page owners section (two producers; r18: ownership titles per the draft ruling). Same card language as .pillar-card; local images only (CSP img-src 'self'). */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin: 1rem 0 1.5rem; }
.team-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-top: 4px solid var(--border-accent); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.5rem; text-align: center; }
.team-card picture { display: block; }
.team-photo { display: block; width: 180px; height: 180px; max-width: 100%; margin: 0 auto 1rem; object-fit: cover; border-radius: var(--radius-card); border: 2px solid var(--border-accent); background: var(--bg-section-alt); }
.team-name { margin: 0 0 0.25rem; font-size: 1.25rem; }
.team-role { margin: 0 0 0.35rem; color: var(--text-muted); }
.team-npn { margin: 0; font-family: var(--font-mono); font-size: 0.875rem; }
/* r16 (IUL dropped): one product card, and three hero metrics, without orphan gaps. r17: unused (IUL restored; kept for the r16 layout). */
.pillars-grid--single, .cards-2--single { grid-template-columns: minmax(0, 760px); }
.hero-metrics--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .hero-metrics--3 { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics--3 .metric-item:last-child { grid-column: 1 / -1; }
}

/* r19: funnel/ one-page landing: 3 benefit points beside the form */
.funnel-benefits { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.6rem; }
.funnel-benefits li { position: relative; padding-left: 1.6rem; color: var(--text-main); }
.funnel-benefits li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--text-overline); font-weight: 700; }

/* ---------- r20 skin details: restrained crest-like ornament (gold rules and a small diamond), no imagery ---------- */
.theme-sovereign-heritage .hero-section { border-bottom: 0; box-shadow: inset 0 -3px 0 #CEA651, inset 0 -7px 0 #280004, inset 0 -8px 0 rgba(206, 166, 81, 0.55); }
.theme-sovereign-heritage .section-overline { display: flex; align-items: center; gap: 0.6rem; }
.theme-sovereign-heritage .section-overline::before { content: ""; width: 0.5rem; height: 0.5rem; flex: 0 0 auto; background: #CEA651; transform: rotate(45deg); }
.theme-sovereign-heritage .section-overline::after { content: ""; flex: 0 0 2.5rem; height: 1px; background: #CEA651; }
.theme-sovereign-heritage .section-title, .theme-sovereign-heritage .pillar-title, .theme-sovereign-heritage .page-hero h1 { letter-spacing: 0.03em; }
.theme-sovereign-heritage .section-desc, .theme-sovereign-heritage .hero-lead { font-family: var(--font-sans); }
.theme-sovereign-heritage .pillar-card { border-top: 3px double #CEA651; }
.theme-sovereign-heritage .cta-band .section-title::after { content: ""; display: block; width: 4rem; height: 1px; margin: 0.9rem auto 0; background: #CEA651; }
.theme-sovereign-heritage .site-footer { border-top: 0; box-shadow: inset 0 3px 0 #CEA651, inset 0 7px 0 #180103, inset 0 8px 0 rgba(206, 166, 81, 0.55); }

/* ---------- r20: new content blocks (services, partner section, contact people, footer planning) ---------- */
.services-group-title { font-family: var(--font-display); color: var(--text-heading); font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 1rem; letter-spacing: 0.03em; }
.cards-2 + .services-group-title { margin-top: 2.75rem; }
.partner-section { margin-top: 2.75rem; background: var(--bg-section-alt); border: 1px solid var(--border-subtle); border-left: 4px solid var(--border-accent); border-radius: var(--radius-card); padding: 1.75rem; }
.partner-section h2 { font-family: var(--font-display); color: var(--text-heading); margin-bottom: 0.75rem; }
.partner-section h3 { font-family: var(--font-serif); color: var(--text-heading); font-size: 1.25rem; margin: 1.25rem 0 0.4rem; }
.partner-section p, .partner-section li { color: var(--text-main); margin-bottom: 0.6rem; }
.partner-section ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.partner-source { font-size: 0.8125rem; color: var(--text-muted); }
.contact-people { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.contact-person { background: var(--bg-card); border: 1px solid var(--border-subtle); border-left: 4px solid var(--border-accent); border-radius: var(--radius-card); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-card); }
.contact-person h3 { font-family: var(--font-display); color: var(--text-heading); font-size: 1.15rem; margin-bottom: 0.15rem; letter-spacing: 0.03em; }
.contact-person .contact-role { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.contact-person .contact-list { margin: 0; }
.footer-heading--sub { margin-top: 1.25rem; }

/* r20.12f: inline confirmation for the footer ads opt-out link (not a banner). */
#dpg-ads-opt-out-status { margin-left: 0.4em; }
#dpg-ads-opt-out-status[hidden] { display: none; }

/* --------------------------------------------------------------------------
   r21-liven (draft): graphical polish on the existing layout.
   No new sections, no re-layouts, no new hex or color opacities.
   -------------------------------------------------------------------------- */

/* Modest type refinement. Sizes stay close so composition does not change. */
.hero-title {
  font-size: clamp(2.15rem, 4.1vw, 3.45rem);
  letter-spacing: 0.03em;
}
.hero-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  margin-top: 1rem;
  background: #CEA651;
}
.hero-lead {
  font-family: var(--font-serif);
}
.section-title,
.theme-sovereign-heritage .section-title {
  letter-spacing: 0.03em;
}
.pillar-title {
  letter-spacing: 0.03em;
}

/* Hero and page-hero: gold corner ornaments and a faint existing-token texture. */
.hero-section,
.page-hero {
  position: relative;
  background-image:
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    linear-gradient(#CEA651, #CEA651),
    repeating-linear-gradient(-45deg, rgba(206, 166, 81, 0.15) 0, rgba(206, 166, 81, 0.15) 1px, transparent 1px, transparent 18px),
    var(--bg-hero);
  background-repeat: no-repeat;
  background-size:
    2.75rem 1px, 1px 2.75rem,
    2.75rem 1px, 1px 2.75rem,
    2.75rem 1px, 1px 2.75rem,
    2.75rem 1px, 1px 2.75rem,
    auto,
    auto;
  background-position:
    left 1rem top 1rem, left 1rem top 1rem,
    right 1rem top 1rem, right 1rem top 1rem,
    left 1rem bottom 1rem, left 1rem bottom 1rem,
    right 1rem bottom 1rem, right 1rem bottom 1rem,
    0 0,
    0 0;
}
.hero-grid,
.page-hero .container {
  position: relative;
  z-index: 1;
}
.hero-logo {
  border: 2px solid #CEA651;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 6px #240003,
    0 0 0 7px rgba(206, 166, 81, 0.55);
  padding: 0.65rem;
  background: #280004;
}
.hero-logo img {
  width: 100%;
  height: auto;
}

/* Metrics keep a single row; three items share the row evenly, with gold rules. */
.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric-item {
  padding-right: 1rem;
  border-right: 1px solid rgba(206, 166, 81, 0.35);
}
.metric-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.metric-val {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .metric-item {
    border-right: 0;
    border-top: 1px solid rgba(206, 166, 81, 0.35);
    padding: 0.85rem 0 0;
  }
  .metric-item:first-child { border-top: 0; padding-top: 0; }
}

/* Icons and a short bright-gold tick on the existing card top rule. */
.pillar-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  display: block;
  color: #CEA651;
}
.pillar-card {
  position: relative;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3.25rem;
  height: 4px;
  background: #E3C37A;
}
.pillar-card:hover {
  box-shadow:
    0 12px 32px -8px rgba(40, 0, 4, 0.08),
    0 4px 12px -2px rgba(20, 17, 18, 0.05),
    0 0 0 1px rgba(206, 166, 81, 0.35);
}

/* Steps keep the left-circle layout; gold ring and display numerals. */
.steps li {
  background: var(--bg-card-elevated);
  border-top: 3px solid #CEA651;
}
.steps li::before {
  font-family: var(--font-display);
  border: 1px solid #CEA651;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3px rgba(206, 166, 81, 0.55);
}

/* Closing CTA stays in place and on the page background; slightly clearer rule. */
.theme-sovereign-heritage .cta-band .section-title::after {
  width: 5rem;
  height: 2px;
}

/* Interior page titles get the same small gold rule. */
.page-hero h1::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  margin-top: 0.85rem;
  background: #CEA651;
}
.page-hero p {
  font-family: var(--font-serif);
}

/* Team portraits and the contact card: double gold frame, same size. */
.team-photo {
  box-shadow:
    0 0 0 4px #FFFFFF,
    0 0 0 5px #CEA651,
    0 12px 32px -8px rgba(40, 0, 4, 0.08);
}
.team-name {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.card-frame {
  box-shadow:
    0 0 0 6px #FFFFFF,
    0 0 0 7px #CEA651,
    0 12px 32px -8px rgba(40, 0, 4, 0.08);
}

/* How-we-work list: gold diamond markers on the existing bullets. */
.how-list {
  list-style: none;
  padding-left: 0 !important;
}
.how-list li {
  position: relative;
  padding-left: 1.5rem;
}
.how-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #CEA651;
  transform: rotate(45deg);
}

/* A little more depth on the teaser and contact/partner cards. */
.calc-teaser,
.partner-section,
.contact-person,
.form-card,
.dpg-form {
  background: var(--bg-card-elevated);
}

/* Header: a thin gold crown line. */
.site-header {
  box-shadow: inset 0 2px 0 #CEA651;
}
@media (max-width: 1024px) {
  .site-nav.is-open .primary-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0;
  }
}

/* CSS-only reveal and a slightly richer button hover. Respect reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-logo,
  .pillar-card,
  .steps li,
  .team-card,
  .calc-teaser,
  .contact-person {
    animation: dpg-liven-rise 0.65s ease both;
  }
  .hero-logo { animation-delay: 0.1s; }
  .pillar-card:nth-child(2),
  .team-card:nth-child(2),
  .steps li:nth-child(2) { animation-delay: 0.1s; }
  .steps li:nth-child(3) { animation-delay: 0.18s; }
  .btn:hover {
    box-shadow: 0 4px 16px rgba(206, 166, 81, 0.45);
  }
}
@keyframes dpg-liven-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Subtle parchment wash from existing tokens. */
body {
  background-image: linear-gradient(180deg, #FFFDF9 0%, #FAF7F2 12%, #FAF7F2 100%);
}
