/* ==========================================================================
   SAVEN LEGACY LAW CORPORATION - GLOBAL STYLESHEET (styles.css)
   WCAG 2.1/2.2 Level AA Compliant | Responsive Desktop, Tablet & Mobile
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --forest: #244A40;
    --sage: #A8B7A0;
    --ivory: #F5F0E6;
    --brass: #B69B69;         /* Decorative borders, frames, dividers, and >= 3:1 large graphics */
    --brass-dark: #8C713E;    /* WCAG AA Accessible Deep Brass (>= 4.5:1 contrast with white & ivory) */
    --brass-light: #D4BE92;   /* WCAG AA Accessible Champagne Brass (>= 4.5:1 contrast on Forest Green) */
    --text-dark: #1C332B;
    --text-muted: #3D5249;
}

html, body { max-width: 100%; overflow-x: hidden; }
body {
    font-family: 'Arial', 'Aptos', sans-serif;
    background-color: var(--ivory);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin-top: 0;
    padding-top: 86px;
}

main#main-content {
    margin-top: 0;
    padding-top: 0;
}

h1, h2, h3, h4, .brand-logo {
    font-family: 'Batang', 'Georgia', serif;
    color: var(--forest);
    font-weight: normal;
}

/* ==========================================================================
   1. ACCESSIBILITY & GLOBAL CONTRAST SAFEGUARDS (WCAG 2.1/2.2 AA)
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--forest);
    color: #FFFFFF !important;
    padding: 1rem 2rem;
    z-index: 2000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 3px solid #FFFFFF; outline-offset: -3px; }

a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus, iframe:focus {
    outline: 3px solid var(--forest);
    outline-offset: 3px;
}
footer a:focus, footer button:focus {
    outline: 3px solid var(--brass-light) !important;
    outline-offset: 3px;
}

.form-control, input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    border: 1.5px solid #526B61 !important;
}

.hero-location-tag {
    font-family: 'Arial', sans-serif;
    font-size: 0.82rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brass-light) !important;
}

.most-protective-ribbon, .most-households-ribbon {
    position: absolute;
    top: -15px;
    right: 24px;
    background-color: var(--brass-dark) !important;
    color: #FFFFFF !important;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    letter-spacing: 0.6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

/* Global Brass-Underlined Inline Links */
.inline-resource-link, .inline-text-link, .faq-resource-link {
    color: var(--forest);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--brass);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.inline-resource-link:hover, .inline-resource-link:focus,
.inline-text-link:hover, .inline-text-link:focus,
.faq-resource-link:hover, .faq-resource-link:focus {
    color: var(--brass-dark);
    text-decoration-color: var(--forest);
}

/* Global Buttons */
.btn, .nav-btn, .submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brass-dark) !important;
    color: #FFFFFF !important;
    padding: 0.95rem 1.85rem;
    min-height: 44px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(140, 113, 62, 0.25);
    transition: all 0.2s ease;
}
.btn:hover, .nav-btn:hover, .submit-btn:hover {
    background-color: #735C31 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(140, 113, 62, 0.35);
}

/* ==========================================================================
   2. GLOBAL HEADER & NAVIGATION BAR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--ivory);
    border-bottom: 1px solid rgba(36, 74, 64, 0.15);
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(36, 74, 64, 0.04);
}
.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    min-height: 86px;
}
.brand-link {
    display: flex !important;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
}
.brand-logo-img {
    display: block !important;
    height: 44px;
    width: 44px;
    min-width: 44px;
    flex-shrink: 0;
    object-fit: contain !important;
}
.brand-text-stack { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; min-width: 0; }
.brand-logo { font-size: 1.32rem; letter-spacing: 0.9px; font-weight: bold; white-space: nowrap; display: block; }
.brand-logo span.logo-gold { color: var(--brass-dark); }
.brand-logo span.logo-green { color: var(--forest); font-weight: normal; margin-left: 4px; }
.brand-entity-sub {
    font-family: 'Arial', 'Aptos', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
    display: block;
}
.nav-right-group { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    background-color: transparent;
    border: 1.5px solid var(--forest);
    color: var(--forest);
    padding: 0.55rem 0.9rem;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-menu-toggle:hover { background-color: rgba(36, 74, 64, 0.06); }
.mobile-menu-toggle svg { width: 22px; height: 22px; stroke: var(--forest); fill: none; stroke-width: 2.2; stroke-linecap: round; }

nav { display: flex; align-items: center; gap: 1.75rem; }
nav > a, .dropdown-toggle {
    color: var(--forest);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0.6rem 0.35rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}
nav > a:hover, .dropdown-toggle:hover { color: var(--brass-dark); }
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--ivory);
    min-width: 320px;
    box-shadow: 0px 8px 24px rgba(36, 74, 64, 0.15);
    border: 1px solid rgba(36, 74, 64, 0.15);
    border-top: 4px solid var(--brass);
    padding: 0.65rem 0;
    margin-top: 0.35rem;
    border-radius: 4px;
    text-align: left;
    z-index: 1050;
}
.dropdown-content a {
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--forest);
    text-decoration: none;
    white-space: normal;
    line-height: 1.4;
}
.dropdown-content a:hover { background-color: rgba(36, 74, 64, 0.06); color: var(--brass-dark); }
.nav-phone {
    color: var(--forest);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.35rem;
    min-height: 44px;
    white-space: nowrap;
}
.nav-phone:hover { color: var(--brass-dark); }
.nav-btn { font-size: 0.95rem; padding: 0.7rem 1.35rem; white-space: nowrap; }

/* ==========================================================================
   3. UNIFIED SPLIT-PANEL HERO SYSTEM (540px Standard & 420px Legal Pages)
   ========================================================================== */
.split-hero,
.homepage-hero-canvas-block, .about-hero-canvas, .estate-split-hero,
.special-split-hero, .trust-split-hero, .tax-split-hero, .kpp-service-hero,
.advocacy-split-hero, .faq-hero-canvas-block, .articles-hero-canvas-block,
.ebook-split-hero, .kpp-split-hero, .review-split-hero, .audit-split-hero {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(340px, 420px) 1fr;
    background-color: var(--forest);
    border-bottom: 5px solid var(--brass);
    box-shadow: 0 12px 30px rgba(36, 74, 64, 0.15);
    overflow: hidden;
}

.article-split-hero {
    position: relative;
    width: 100%;
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(360px, 460px) 1fr;
    background-color: var(--forest);
    border-bottom: 5px solid var(--brass);
    box-shadow: 0 12px 30px rgba(36, 74, 64, 0.15);
    overflow: hidden;
}

.legal-split-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(340px, 420px) 1fr;
    background-color: var(--forest);
    border-bottom: 5px solid var(--brass);
    box-shadow: 0 12px 30px rgba(36, 74, 64, 0.15);
    overflow: hidden;
}

.split-hero-left,
.hero-content-box-layer, .about-hero-content, .estate-hero-left,
.special-hero-left, .trust-hero-left, .tax-hero-left, .kpp-service-hero-left,
.advocacy-hero-left, .article-hero-left, .legal-hero-left, .ebook-hero-left, .kpp-hero-left, .review-hero-left, .audit-hero-left {
    position: relative;
    background: linear-gradient(155deg, #163029 0%, var(--forest) 58%, #2D5C50 100%);
    padding: 3.5rem 2.25rem 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    z-index: 3;
    box-shadow: 8px 0 28px rgba(15, 34, 29, 0.35);
}
.split-hero-left::before,
.hero-content-box-layer::before, .about-hero-content::before, .estate-hero-left::before,
.special-hero-left::before, .trust-hero-left::before, .tax-hero-left::before, .kpp-service-hero-left::before,
.advocacy-hero-left::before, .article-hero-left::before, .legal-hero-left::before,
.ebook-hero-left::before, .kpp-hero-left::before, .review-hero-left::before, .audit-hero-left::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    bottom: 1.25rem;
    width: 3px;
    background: linear-gradient(to bottom, var(--brass), rgba(182, 155, 105, 0.25));
    pointer-events: none;
}
.hero-brass-eyebrow, .hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.hero-brass-line, .hero-eyebrow-line {
    display: inline-block;
    width: 38px;
    height: 3px;
    background-color: var(--brass);
}
.hero-brass-diamond, .hero-eyebrow-diamond {
    color: var(--brass);
    font-size: 0.9rem;
    line-height: 1;
}
.hero-brass-divider, .hero-divider-rule {
    width: 68px;
    height: 3px;
    background-color: var(--brass);
    margin-bottom: 1.35rem;
}
.split-hero-left h1,
.hero-content-box-layer h1, .about-hero-content h1, .estate-hero-left h1,
.special-hero-left h1, .trust-hero-left h1, .tax-hero-left h1, .kpp-service-hero-left h1,
.advocacy-hero-left h1, .legal-hero-left h1, .ebook-hero-left h1,
.kpp-hero-left h1, .review-hero-left h1, .audit-hero-left h1 {
    font-family: 'Batang', 'Georgia', serif;
    font-weight: normal;
    font-size: 2.6rem;
    line-height: 1.18;
    margin-bottom: 1.35rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.article-hero-left .hero-banner-heading {
    font-family: 'Batang', 'Georgia', serif;
    font-weight: normal;
    font-size: 2.35rem;
    line-height: 1.2;
    margin-bottom: 1.35rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.split-hero-left p,
.hero-content-box-layer p, .about-hero-content p, .estate-hero-left p,
.special-hero-left p, .trust-hero-left p, .tax-hero-left p, .kpp-service-hero-left p,
.advocacy-hero-left p, .article-hero-left p, .legal-hero-left p,
.ebook-hero-left p, .kpp-hero-left p, .review-hero-left p, .audit-hero-left p {
    font-family: 'Arial', 'Aptos', sans-serif;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #FFFFFF;
    opacity: 0.98;
    font-weight: normal;
    margin-bottom: 1.75rem;
}
.split-hero-right,
.hero-image-frame-layer, .about-hero-image-layer, .estate-hero-right,
.special-hero-right, .trust-hero-right, .tax-hero-right, .kpp-service-hero-right,
.advocacy-hero-right, .article-hero-right, .legal-hero-right,
.ebook-hero-right, .kpp-hero-right, .review-hero-right, .audit-hero-right {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 540px;
    overflow: hidden;
}
.legal-hero-right { min-height: 420px; }
.split-hero-right img,
.hero-image-frame-layer img, .about-hero-image-layer img, .estate-hero-right img,
.special-hero-right img, .trust-hero-right img, .tax-hero-right img, .kpp-service-hero-right img,
.advocacy-hero-right img, .article-hero-right img, .legal-hero-right img,
.ebook-hero-right img, .kpp-hero-right img, .review-hero-right img, .audit-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.split-hero-right::after,
.hero-image-frame-layer::after, .about-hero-image-layer::after, .estate-hero-right::after,
.special-hero-right::after, .trust-hero-right::after, .tax-hero-right::after, .kpp-service-hero-right::after,
.advocacy-hero-right::after, .article-hero-right::after, .legal-hero-right::after,
.ebook-hero-right::after, .kpp-hero-right::after, .review-hero-right::after, .audit-hero-right::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 44px;
    background: linear-gradient(to right, rgba(36, 74, 64, 0.85), rgba(36, 74, 64, 0));
    pointer-events: none;
}

/* ==========================================================================
   4. EDITORIAL SPLIT BANDS & ACCESSIBLE IMAGE FRAMES
   ========================================================================== */
.editorial-about-band {
    padding: 3.5rem 2rem;
    background-color: rgba(36, 74, 64, 0.02);
    border-bottom: 1px solid rgba(36, 74, 64, 0.08);
}
.editorial-about-container, .about-container { max-width: 1200px; margin: 0 auto; }
.editorial-story-grid {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 4rem;
    align-items: center;
}
.editorial-story-content h2 {
    font-family: 'Batang', 'Georgia', serif;
    font-weight: normal;
    font-size: 2.05rem;
    line-height: 1.25;
    color: var(--forest);
    margin-bottom: 1rem;
}
.editorial-story-content p {
    font-family: 'Arial', 'Aptos', sans-serif;
    font-size: 1.04rem;
    color: var(--text-dark);
    line-height: 1.65;
    margin-bottom: 1rem;
    text-align: left;
}
.editorial-story-content p:last-child { margin-bottom: 0; }
.editorial-image-column, .about-image-column { width: 100%; }
.homepage-accessible-frame, .about-accessible-frame, .estate-accessible-frame,
.special-accessible-frame, .trust-accessible-frame, .tax-accessible-frame,
.kpp-accessible-frame {
    width: 100%;
    max-width: 650px;
    min-height: 440px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 6px;
    border: 6px solid var(--brass);
    box-shadow: 0 12px 30px rgba(36, 74, 64, 0.15);
    display: block;
}
.caption-block {
    margin-top: 0.75rem;
    text-align: left;
    border-left: 4px solid var(--brass);
    padding-left: 0.85rem;
}
.caption-block h3 {
    font-family: 'Batang', 'Georgia', serif;
    font-weight: normal;
    font-size: 1.15rem;
    color: var(--forest);
    margin-bottom: 0.15rem;
}
.caption-block p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}
.highlight-quote {
    font-family: 'Batang', 'Georgia', serif;
    font-size: 1.25rem;
    line-height: 1.4;
    color: var(--forest);
    border-left: 5px solid var(--brass);
    padding: 0.75rem 1.1rem 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background-color: rgba(182, 155, 105, 0.1);
    border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   5. CONTENT SECTIONS, 3-COLUMN GRIDS & COMPARISON CARDS
   ========================================================================== */
.content-section {
    padding: 3.75rem 2rem 4.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-center-heading, .compact-center-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
}
.section-center-heading h2, .compact-center-heading h2 {
    font-family: 'Batang', 'Georgia', serif;
    font-size: 2.15rem;
    line-height: 1.3;
    color: var(--forest);
    font-weight: normal;
    margin-bottom: 0.75rem;
}
.section-center-heading p, .compact-center-heading p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin: 0;
}
.matrix-six-grid, .matrix-three-grid, .services-grid-balanced, .kpp-risks-grid, .resource-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.65rem;
    margin-bottom: 4rem;
}
.matrix-tile, .service-card-uniform, .kpp-risk-card, .resource-card, .discovery-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(182, 155, 105, 0.45);
    border-top: 5px solid var(--brass);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 6px 15px rgba(36, 74, 64, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.matrix-tile:hover, .service-card-uniform:hover, .kpp-risk-card:hover, .resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(36, 74, 64, 0.06);
}
.matrix-tile:focus-within, .service-card-uniform:focus-within, .resource-card:focus-within {
    outline: 3px solid var(--forest);
    outline-offset: 4px;
}
.matrix-tile h3, .service-card-uniform h3, .kpp-risk-card h3, .resource-card h3, .discovery-card h3 {
    font-family: 'Batang', 'Georgia', serif;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    color: var(--forest);
    font-weight: bold;
    line-height: 1.28;
}
.matrix-tile p, .service-card-uniform p, .kpp-risk-card p, .resource-card p, .discovery-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}
.counselor-relationship-panel {
    background-color: #FFFFFF;
    border: 1px solid rgba(36, 74, 64, 0.12);
    border-left: 6px solid var(--forest);
    padding: 2.75rem 3rem;
    border-radius: 4px 8px 8px 4px;
    box-shadow: 0 8px 30px rgba(36, 74, 64, 0.03);
    margin-bottom: 4rem;
    text-align: left;
}
.counselor-relationship-panel h2 {
    font-family: 'Batang', 'Georgia', serif;
    font-size: 2.05rem;
    color: var(--forest);
    margin-bottom: 1.25rem;
    font-weight: normal;
}
.counselor-relationship-panel p { margin-bottom: 1.25rem; line-height: 1.65; }
.counselor-relationship-panel p:last-child { margin-bottom: 0; }

/* Comparison Blocks */
.split-comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    margin-bottom: 4rem;
    align-items: stretch;
}
.comparison-block {
    background-color: #FFFFFF;
    border: 2px solid var(--brass);
    border-top: 6px solid var(--brass);
    border-radius: 8px;
    padding: 2.25rem 2.5rem;
    box-shadow: 0 6px 18px rgba(36, 74, 64, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.comparison-block.trust-premium-card {
    background: linear-gradient(155deg, #163029 0%, var(--forest) 65%, #2B594D 100%);
    border: 2px solid var(--forest);
    border-top: 6px solid var(--brass);
    box-shadow: 0 12px 30px rgba(36, 74, 64, 0.14);
    color: #FFFFFF;
}
.comparison-block h3 {
    font-family: 'Batang', 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(182, 155, 105, 0.45);
    font-weight: normal;
}
.comparison-block.trust-premium-card h3 {
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.comparison-block p { margin-bottom: 1.15rem; line-height: 1.62; }
.comparison-block.trust-premium-card p { color: #FFFFFF; opacity: 0.98; }
.tier-feature-list, .comparison-diamond-list, .article-feature-list, .highlight-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tier-feature-list li, .comparison-diamond-list li, .article-feature-list li, .highlight-check-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.75rem;
    font-size: 1.02rem;
    line-height: 1.58;
    color: var(--text-dark);
}
.tier-feature-list li::before, .comparison-diamond-list li::before,
.article-feature-list li::before, .highlight-check-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--brass);
    font-size: 0.85rem;
}
.comparison-block.trust-premium-card .tier-feature-list li,
.comparison-block.trust-premium-card .comparison-diamond-list li {
    color: #FFFFFF;
}

/* ==========================================================================
   6. LEAD CAPTURE CARDS & FORMS
   ========================================================================== */
.capture-card {
    background: #FFFFFF;
    padding: 2.75rem 3rem;
    border-radius: 8px;
    border: 1px solid rgba(182, 155, 105, 0.45);
    border-top: 6px solid var(--brass);
    box-shadow: 0 12px 30px rgba(36, 74, 64, 0.06);
    text-align: left;
}
.capture-card h2 {
    font-family: 'Batang', 'Georgia', serif;
    font-weight: normal;
    font-size: 1.9rem;
    color: var(--forest);
    margin-bottom: 0.5rem;
}
.capture-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.25rem; text-align: left; }
.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: bold;
    color: var(--forest);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    min-height: 44px;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--ivory);
}
.capture-card .submit-btn { width: 100%; margin-top: 0.5rem; margin-bottom: 1.15rem; }
.privacy-notice {
    font-size: 0.88rem !important;
    text-align: center;
    margin: 0 !important;
    color: var(--text-muted) !important;
}

/* Visually hidden honeypot field (invisible to users & screen readers, catches spam bots) */
.hp-field-wrapper {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   7. EDITORIAL ARTICLES, KEY TAKEAWAYS & SIDEBAR SYSTEM
   ========================================================================== */
.article-reading-canvas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 5.5rem 2rem;
}
.back-to-articles-bar { margin-bottom: 1.75rem; }
.article-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.75rem;
    align-items: start;
}
.key-takeaways-panel {
    background: linear-gradient(155deg, #163029 0%, var(--forest) 65%, #2B594D 100%);
    border: 2px solid var(--forest);
    border-top: 6px solid var(--brass);
    border-radius: 8px;
    padding: 2.25rem 2.5rem;
    margin-bottom: 2.25rem;
    color: #FFFFFF;
    box-shadow: 0 10px 26px rgba(36, 74, 64, 0.14);
    text-align: left;
}
.key-takeaways-panel h2 {
    font-family: 'Batang', 'Georgia', serif;
    font-weight: normal;
    font-size: 1.75rem;
    color: #FFFFFF;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.takeaways-list { list-style: none; padding: 0; margin: 0; }
.takeaways-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.95rem;
    font-size: 1.04rem;
    line-height: 1.62;
    color: #FFFFFF;
    opacity: 0.98;
}
.takeaways-list li:last-child { margin-bottom: 0; }
.takeaways-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--brass-light);
    font-size: 0.9rem;
}
.article-body-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(182, 155, 105, 0.45);
    border-top: 6px solid var(--brass);
    border-radius: 8px;
    padding: 3.25rem 3.5rem;
    box-shadow: 0 8px 28px rgba(36, 74, 64, 0.04);
    text-align: left;
}
.article-body-card h1 {
    font-size: 2.15rem;
    line-height: 1.26;
    margin-bottom: 1rem;
}
.article-published-date {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-top: -0.35rem;
    margin-bottom: 1.75rem;
}
.article-lead-callout {
    font-size: 1.15rem;
    line-height: 1.68;
    color: var(--forest);
    background-color: rgba(245, 240, 230, 0.65);
    border-left: 5px solid var(--brass);
    padding: 1.35rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 2rem;
}
.article-body-card h2 {
    font-size: 1.8rem;
    line-height: 1.28;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(182, 155, 105, 0.35);
}
.article-body-card p { font-size: 1.06rem; line-height: 1.72; margin-bottom: 1.35rem; }
.article-references-card, .educational-notice-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(182, 155, 105, 0.45);
    border-left: 5px solid var(--brass);
    border-radius: 6px;
    padding: 1.65rem 2rem;
    margin-top: 2.25rem;
    box-shadow: 0 4px 14px rgba(36, 74, 64, 0.03);
    text-align: left;
}
.article-references-card h2, .educational-notice-card h2 {
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--forest);
    margin: 0 0 0.75rem 0;
    padding: 0;
    border: none;
}
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 110px;
}
.author-sidebar-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(182, 155, 105, 0.45);
    border-top: 6px solid var(--brass);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 24px rgba(36, 74, 64, 0.05);
    text-align: center;
}
.author-sidebar-photo {
    width: 190px;
    height: 190px;
    border-radius: 8px;
    border: 4px solid var(--brass);
    object-fit: cover;
    object-position: center 15%;
    display: block;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 8px 20px rgba(36, 74, 64, 0.14);
}
.author-sidebar-card h2 { font-size: 1.45rem; margin-bottom: 0.85rem; }
.author-sidebar-card p { font-size: 0.96rem; line-height: 1.62; text-align: left; margin-bottom: 1.15rem; }
.sidebar-consult-card {
    background: linear-gradient(155deg, #163029 0%, var(--forest) 65%, #2B594D 100%);
    border-top: 5px solid var(--brass);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    color: #FFFFFF;
    text-align: left;
    box-shadow: 0 8px 24px rgba(36, 74, 64, 0.12);
}
.sidebar-consult-card h2 {
    font-size: 1.45rem;
    line-height: 1.28;
    color: #FFFFFF;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 1rem;
}
.sidebar-consult-card p { font-size: 0.96rem; line-height: 1.65; color: #FFFFFF; opacity: 0.98; margin-bottom: 1.5rem; }
.sidebar-consult-card .btn { width: 100%; }

/* ==========================================================================
   8. GLOBAL FOOTER
   ========================================================================== */
footer {
    background: linear-gradient(135deg, #163029 0%, var(--forest) 50%, #2D5C50 100%);
    color: var(--ivory);
    padding: 5.5rem 2rem 3.5rem 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    clear: both;
    display: block;
    overflow-x: hidden;
}
.footer-split-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}
.footer-left, .footer-right { min-width: 0; width: 100%; text-align: left; }
.footer-left h2 {
    color: var(--ivory);
    font-size: 1.5rem;
    margin-bottom: 1.35rem;
    border-bottom: 1px solid rgba(245, 240, 230, 0.25);
    padding-bottom: 0.5rem;
}
.office-details { font-style: normal; margin-bottom: 1.75rem; font-size: 1.05rem; line-height: 1.8; color: var(--ivory); opacity: 0.98; }
.footer-contact-link {
    color: var(--ivory) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--brass) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.2rem 0;
}
.footer-contact-link:hover, .footer-contact-link:focus { color: var(--brass-light) !important; text-decoration-color: var(--ivory) !important; }
.office-hours { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(245, 240, 230, 0.15); font-size: 0.98rem; line-height: 1.65; color: var(--ivory); }
.footer-right { display: flex; flex-direction: column; justify-content: flex-start; }
.footer-right h2 { color: var(--ivory); font-size: 2.35rem; line-height: 1.22; margin-bottom: 1rem; }
.footer-right p { color: var(--ivory); font-size: 1.15rem; line-height: 1.65; margin-bottom: 1.75rem; }
.footer-cta-btn { align-self: flex-start; margin-bottom: 1rem; }
.social-container { margin: 2rem 0 0 0; width: 100%; display: block; }
.social-heading { color: var(--ivory) !important; font-size: 0.9rem !important; letter-spacing: 2px !important; text-transform: uppercase !important; margin-bottom: 1rem !important; font-family: 'Arial', sans-serif !important; font-weight: bold !important; }
.social-links { display: flex !important; justify-content: flex-start !important; align-items: center !important; flex-wrap: wrap !important; gap: 1rem !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
a.social-icon-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border: 1.5px solid var(--brass) !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
a.social-icon-wrapper:hover { background-color: rgba(182, 155, 105, 0.22) !important; border-color: var(--brass-light) !important; }
.social-icon-wrapper svg { width: 18px !important; height: 18px !important; fill: var(--brass-light) !important; display: block !important; }
.footer-bottom-compliance {
    max-width: 1200px;
    width: 100%;
    margin: 3rem auto 0 auto;
    border-top: 1px solid rgba(245, 240, 230, 0.2);
    padding-top: 2rem;
    text-align: center !important;
}
.policy-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.75rem 1.75rem !important;
    margin: 0 auto 1.25rem auto !important;
    font-size: 0.92rem;
}
.policy-links a {
    color: var(--ivory) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--brass) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px;
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.policy-links a:hover, .policy-links a:focus { color: var(--brass-light) !important; text-decoration-color: var(--ivory) !important; }
.footer-copyright { width: 100%; margin-top: 0.5rem; font-size: 0.88rem; opacity: 0.88; color: var(--ivory); text-align: center !important; }

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1220px) {
    .nav-right-group { gap: 1.15rem; }
    nav { gap: 1.1rem; }
    .brand-logo { font-size: 1.18rem; }
    .brand-entity-sub { font-size: 0.62rem; }
}
@media (max-width: 1100px) {
    .matrix-six-grid, .matrix-three-grid, .kpp-risks-grid, .resource-grid-three {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1024px) {
    body { padding-top: 76px; }
    .nav-container { min-height: 76px; padding: 0.75rem 1rem; }
    .mobile-menu-toggle { display: inline-flex; }
    .nav-right-group {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        background-color: var(--ivory);
        border-top: 1px solid rgba(36, 74, 64, 0.12);
        border-bottom: 4px solid var(--brass);
        box-shadow: 0 16px 32px rgba(36, 74, 64, 0.16);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1.25rem 1.5rem 2rem 1.5rem;
    }
    .nav-right-group.is-open { display: flex; }
    nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    nav > a, .dropdown { width: 100%; border-bottom: 1px solid rgba(36, 74, 64, 0.1); }
    nav > a { display: flex; align-items: center; padding: 0.95rem 0; font-size: 1.08rem; font-weight: bold; }
    .dropdown-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0; font-size: 1.08rem; font-weight: bold; }
    .dropdown-content {
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border: none;
        border-left: 4px solid var(--brass);
        background-color: rgba(36, 74, 64, 0.03);
        margin: 0 0 0.75rem 0;
        padding: 0.35rem 0;
    }
    .nav-phone { justify-content: center; padding: 1.15rem 0; font-size: 1.05rem; font-weight: bold; }
    .nav-btn { width: 100%; padding: 1rem 1.5rem; font-size: 1.05rem; }

    /* Stack Split Heroes on Tablet/Mobile */
    .split-hero, .homepage-hero-canvas-block, .about-hero-canvas, .estate-split-hero,
    .special-split-hero, .trust-split-hero, .tax-split-hero, .kpp-service-hero,
    .advocacy-split-hero, .article-split-hero, .legal-split-hero,
    .faq-hero-canvas-block, .articles-hero-canvas-block,
    .ebook-split-hero, .kpp-split-hero, .review-split-hero, .audit-split-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .split-hero-right, .hero-image-frame-layer, .about-hero-image-layer, .estate-hero-right,
    .special-hero-right, .trust-hero-right, .tax-hero-right, .kpp-service-hero-right,
    .advocacy-hero-right, .article-hero-right, .legal-hero-right,
    .ebook-hero-right, .kpp-hero-right, .review-hero-right, .audit-hero-right {
        order: 1;
        min-height: 360px;
        max-height: 440px;
    }
    .split-hero-right::after, .hero-image-frame-layer::after, .about-hero-image-layer::after,
    .estate-hero-right::after, .special-hero-right::after, .trust-hero-right::after,
    .tax-hero-right::after, .kpp-service-hero-right::after, .advocacy-hero-right::after,
    .article-hero-right::after, .legal-hero-right::after, .ebook-hero-right::after,
    .kpp-hero-right::after, .review-hero-right::after, .audit-hero-right::after {
        display: none;
    }
    .split-hero-left, .hero-content-box-layer, .about-hero-content, .estate-hero-left,
    .special-hero-left, .trust-hero-left, .tax-hero-left, .kpp-service-hero-left,
    .advocacy-hero-left, .article-hero-left, .legal-hero-left,
    .ebook-hero-left, .kpp-hero-left, .review-hero-left, .audit-hero-left {
        order: 2;
        padding: 3rem 2rem 3rem 2.25rem;
        box-shadow: none;
    }

    /* Full Uncropped Images Below 1024px */
    .homepage-accessible-frame, .about-accessible-frame, .estate-accessible-frame,
    .special-accessible-frame, .trust-accessible-frame, .tax-accessible-frame,
    .kpp-accessible-frame {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: initial !important;
        display: block !important;
    }
    .editorial-story-grid, .split-comparison-container, .services-grid-balanced {
        grid-template-columns: 1fr;
    }
    .editorial-story-content { order: 1; }
    .editorial-image-column, .about-image-column { order: 2; }
    .article-editorial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .article-sidebar { position: static; }
    .author-sidebar-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        gap: 1.75rem;
        text-align: left;
        align-items: center;
    }
    .author-sidebar-photo { width: 180px; height: 180px; margin: 0; }
}
@media (max-width: 900px) {
    footer { padding: 4rem 1.5rem 3rem 1.5rem; }
    .footer-split-container { grid-template-columns: 1fr; gap: 2.75rem; }
    .footer-right h2 { font-size: 2rem; }
}
@media (max-width: 650px) {
    .matrix-six-grid, .matrix-three-grid, .kpp-risks-grid, .resource-grid-three {
        grid-template-columns: 1fr;
    }
    .split-hero-right, .hero-image-frame-layer, .about-hero-image-layer, .estate-hero-right,
    .special-hero-right, .trust-hero-right, .tax-hero-right, .kpp-service-hero-right,
    .advocacy-hero-right, .article-hero-right, .legal-hero-right,
    .ebook-hero-right, .kpp-hero-right, .review-hero-right, .audit-hero-right {
        min-height: 260px;
    }
    .split-hero-left, .hero-content-box-layer, .about-hero-content, .estate-hero-left,
    .special-hero-left, .trust-hero-left, .tax-hero-left, .kpp-service-hero-left,
    .advocacy-hero-left, .article-hero-left, .legal-hero-left,
    .ebook-hero-left, .kpp-hero-left, .review-hero-left, .audit-hero-left {
        padding: 2.5rem 1.5rem 2.5rem 1.85rem;
    }
    .split-hero-left h1, .hero-content-box-layer h1, .about-hero-content h1, .estate-hero-left h1,
    .special-hero-left h1, .trust-hero-left h1, .tax-hero-left h1, .kpp-service-hero-left h1,
    .advocacy-hero-left h1, .legal-hero-left h1, .ebook-hero-left h1,
    .kpp-hero-left h1, .review-hero-left h1, .audit-hero-left h1 {
        font-size: 2.15rem;
    }
    .article-body-card, .capture-card, .counselor-relationship-panel, .comparison-block {
        padding: 2rem 1.5rem;
    }
    .author-sidebar-card { grid-template-columns: 1fr; text-align: center; }
    .author-sidebar-photo { margin: 0 auto 1rem auto; }
}
@media (max-width: 600px) {
    footer { padding: 3.25rem 1.25rem 2.5rem 1.25rem; }
    .footer-cta-btn { width: 100%; align-self: stretch; text-align: center; }
    .policy-links { flex-direction: column !important; gap: 0.35rem !important; }
}
@media (max-width: 540px) {
    .brand-link { gap: 0.5rem; }
    .brand-logo-img { width: 36px !important; height: 36px !important; min-width: 36px !important; }
    .brand-logo { font-size: 0.98rem; letter-spacing: 0.3px; white-space: normal; line-height: 1.15; }
    .brand-entity-sub { font-size: 0.56rem; letter-spacing: 0.25px; white-space: normal; line-height: 1.2; }
    .mobile-menu-toggle { padding: 0.45rem 0.65rem; font-size: 0.88rem; }
    .mobile-menu-label { display: none; }
}
