/* Bart Harper v6.12: complete page stylesheet; preserve this file with the matching HTML. */
/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
    --primary-color: #1a3a52;
    --secondary-color: #c9a961;
    --accent-color: #2c5f7f;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===================================
   Layout
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 1rem auto;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.center {
    text-align: center;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-primary-nav {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
}

.btn-primary-nav::after {
    display: none;
}

.btn-primary-nav:hover {
    background: var(--accent-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.9) 0%, rgba(44, 95, 127, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* ===================================
   Introduction Section
   =================================== */

.section-intro {
    background: var(--bg-light);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
}

/* ===================================
   Differentiation Section
   =================================== */

.section-differentiation {
    background: var(--bg-white);
}

.differentiation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.diff-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.diff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.diff-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.diff-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.diff-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: justify;
}

/* ===================================
   Services Section
   =================================== */

.section-services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 1.5rem 1.5rem 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===================================
   Process Timeline Section
   =================================== */

.section-process {
    background: var(--bg-white);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 80px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--border-color);
}

.process-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
}

.process-content {
    flex: 1;
    padding-top: 0.5rem;
}

.process-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.process-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===================================
   Credentials Section
   =================================== */

.section-credentials {
    background: var(--bg-light);
}

.credentials-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.credential-item {
    text-align: center;
    padding: 2rem;
}

.credential-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.credential-item h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.credential-item p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.credential-detail {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===================================
   CTA Section
   =================================== */

.section-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.section-cta .btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.section-cta .btn-primary:hover {
    background: var(--text-white);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-heading {
    font-size: 1.125rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-register-verification {
    margin-top: 1rem;
}

.footer-register-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-register-link:hover,
.footer-register-link:focus {
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-policies {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-policies a:hover {
    color: var(--secondary-color);
}

.footer-policies .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* SVG Icon Styles */
.diff-icon svg,
.credential-icon svg,
.value-icon svg,
.expertise-icon svg {
    color: var(--secondary-color);
    stroke: var(--secondary-color);
}

.diff-icon,
.credential-icon,
.value-icon,
.expertise-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .services-grid,
    .differentiation-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .process-step:not(:last-child)::after {
        left: 35px;
        top: 70px;
    }

    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Text Justification for All Content */
.service-description,
.process-description,
.credential-item p,
.value-description,
.expertise-description,
.commitment-text,
.section-description,
p {
    text-align: justify;
}



/* ===================================
   Cookie Consent Banner
   =================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cookie-consent-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cookie-consent-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    text-align: justify;
}

.cookie-policy-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-policy-link:hover {
    color: var(--primary-color);
}

.cookie-options {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-option {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-option-header strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.cookie-status {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-option-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    text-align: justify;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.cookie-btn-primary {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.cookie-btn-primary:hover {
    background: #b8984f;
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.cookie-btn-secondary:hover {
    background: #0a2540;
    transform: translateY(-2px);
}

.cookie-btn-accept {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.cookie-btn-accept:hover {
    background: #218838;
}

.cookie-btn-reject {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.cookie-btn-reject:hover {
    background: #c82333;
}

.cookie-btn-accept.selected {
    background: #218838;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.cookie-btn-reject.selected {
    background: #c82333;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 1.5rem;
    }
    
    .cookie-consent-title {
        font-size: 1.25rem;
    }
    
    .cookie-option-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}



/* ===================================
   Team Preview Section
   =================================== */

.section-team {
    background: #f8f9fa;
}

.team-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.team-preview-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 30px;
    display: flex;
    gap: 25px;
    align-items: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-preview-photo {
    flex-shrink: 0;
}

.team-preview-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.team-preview-content {
    flex: 1;
}

.team-preview-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a365d;
    margin: 0 0 8px 0;
    font-family: 'Playfair Display', serif;
}

.team-preview-title {
    font-size: 1.05rem;
    color: #2c5282;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.team-preview-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.team-cta {
    text-align: center;
}

.btn-secondary {
    background: transparent;
    color: #1a365d;
    border: 2px solid #1a365d;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #1a365d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
}

@media (max-width: 768px) {
    .team-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-preview-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .team-preview-photo img {
        width: 120px;
        height: 120px;
    }
    
    .team-preview-name {
        font-size: 1.5rem;
    }
}


        .page-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
            padding: 8rem 0 4rem;
            margin-top: 80px;
            color: var(--text-white);
            text-align: center;
        }
        
        .page-title {
            font-size: 3.5rem;
            color: var(--text-white);
            margin-bottom: 1rem;
        }
        
        .page-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .contact-section {
            padding: 5rem 0;
            background: var(--bg-white);
        }
        
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-bottom: 4rem;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }
        
        .contact-item {
            padding: 2rem;
            background: var(--bg-light);
            border-radius: 8px;
            border-left: 4px solid var(--secondary-color);
        }
        
        .contact-item h3 {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .contact-item p {
            font-size: 1.05rem;
            color: var(--text-light);
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }
        
        .contact-item a {
            color: var(--accent-color);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .contact-item a:hover {
            color: var(--secondary-color);
        }
        
        .emergency-notice {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 1.5rem;
            margin-top: 1rem;
            border-radius: 4px;
        }
        
        .emergency-notice p {
            color: #856404;
            margin: 0;
            font-weight: 500;
        }
        
        .contact-form-container {
            background: var(--bg-light);
            padding: 3rem;
            border-radius: 8px;
        }
        
        .contact-form-container h3 {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 2rem;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.875rem;
            font-size: 1rem;
            font-family: var(--font-primary);
            border: 2px solid var(--border-color);
            border-radius: 4px;
            transition: var(--transition);
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--secondary-color);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .form-submit {
            width: 100%;
            padding: 1rem 2rem;
            font-size: 1.125rem;
            font-weight: 600;
            background: var(--primary-color);
            color: var(--text-white);
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .form-submit:hover {
            background: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        
        .map-section {
            padding: 0;
            background: var(--bg-light);
        }
        
        .map-container {
            width: 100%;
            height: 450px;
            border-top: 1px solid var(--border-color);
            overflow: hidden;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }
        
        @media (max-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .contact-form-container {
                padding: 2rem;
            }
        }
    
/* Bart Harper November 2026. No rules here target or transform the Yoshki badge. */
:root {
    --primary-color: #101b38;
    --secondary-color: #b89a48;
    --accent-color: #243253;
    --text-dark: #18213a;
    --text-light: #515969;
    --text-color: #515969;
    --bg-light: #f6f5f1;
    --border-color: #dfded8;
    --font-body: var(--font-primary);
    --gold-text: #836319;
    --nav-height: 90px;
}
html { scroll-padding-top: calc(var(--nav-height) + 24px); }
p { text-align: left; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 11000; padding: .75rem 1rem; background: var(--primary-color); color: white; }
.skip-link:focus { top: 1rem; }
.navbar { border-bottom: 1px solid #e7e4dc; }
.nav-wrapper { min-height: var(--nav-height); padding: 15px 0; }
.brand-logo { width: 254px; height: auto; }
.logo { flex-shrink: 0; }
.nav-menu { gap: 2rem; }
.nav-link { font-size: .94rem; }
.nav-link[aria-current="page"]::after { width: 100%; }
.btn, .btn-primary-nav { border-radius: 2px; }
.btn-primary-nav, .btn-primary { background: var(--primary-color); color: white; }
.btn-secondary { color: var(--primary-color); border-color: var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); }
.home-hero { margin-top: var(--nav-height); height: auto; min-height: 690px; padding: 85px 0 100px; }
.home-hero .container { width: 100%; }
.home-hero { background: #eee8de; }
.home-hero .hero-image picture { display: block; width: 100%; height: 100%; }
.home-hero .hero-image img { object-position: center; }
.home-hero .hero-overlay { background: linear-gradient(90deg, rgba(247,243,236,.97) 0%, rgba(247,243,236,.90) 39%, rgba(247,243,236,.44) 59%, rgba(247,243,236,.04) 100%); }
.home-hero .hero-content { max-width: 820px; }
.home-hero .hero-title { color: var(--primary-color); font-size: clamp(4rem, 7.4vw, 6.8rem); font-weight: 500; letter-spacing: -.045em; margin-bottom: 1.25rem; }
.hero-tagline { color: var(--primary-color); font-family: var(--font-heading); font-size: clamp(1.6rem,3vw,2.55rem); line-height: 1.28; margin-bottom: 1.8rem; }
.hero-rule { height: 2px; width: 70px; background: var(--secondary-color); margin: 0 0 1.8rem; }
.home-hero .hero-subtitle { color: var(--primary-color); font-size: 1.12rem; max-width: 480px; margin-bottom: 2rem; line-height: 1.7; }
.home-hero .btn-primary { background: var(--secondary-color); color: var(--primary-color); }
.home-hero .btn-primary:hover { background: #cfb66f; }
.home-hero .btn span { margin-left: 1.5rem; }
.home-features { background: var(--bg-light); }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.feature-card { padding: 2.25rem; border: 1px solid var(--border-color); background: white; display: flex; flex-direction: column; min-height: 320px; }
.card-number { display: block; font: 500 .7rem/1.5 var(--font-primary); letter-spacing: .13em; color: var(--gold-text); margin-bottom: 1.5rem; }
.feature-card h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.feature-card p { font-size: .98rem; line-height: 1.8; }
.feature-action { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.75rem; font-size: .88rem; font-weight: 600; color: var(--primary-color); }
.feature-card:hover { border-color: var(--secondary-color); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature-card-navy { background: var(--primary-color); border-color: var(--primary-color); }
.feature-card-navy h2, .feature-card-navy .feature-action { color: white; }
.feature-card-navy p { color: #d4d7e0; }
.feature-card-navy .card-number { color: #dac27e; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .17em; color: var(--gold-text); margin-bottom: 1.25rem; }
.gold-rule { height: 2px; width: 64px; background: var(--secondary-color); margin: 1.6rem 0; }
.story-section { padding-top: calc(var(--nav-height) + 85px); }
.story-grid { display: grid; grid-template-columns: .9fr 1.5fr; gap: 5rem; align-items: start; }
.story-heading h1 { font-size: clamp(3rem,5vw,4.5rem); font-weight: 500; }
.story-lead { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.5; color: var(--primary-color); }
.story-copy p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.6rem; }
.why-section { background: var(--bg-light); }
.why-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.why-heading h2 { font-size: clamp(2rem,4vw,3rem); }
.why-heading .section-description { margin: 0; max-width: 600px; }
.scroll-controls { display: flex; gap: .65rem; flex-shrink: 0; }
.scroll-button { width: 48px; height: 48px; border: 1px solid var(--primary-color); color: var(--primary-color); background: transparent; cursor: pointer; font-size: 1.3rem; }
.scroll-button:hover { background: var(--primary-color); color: white; }
.scroll-button:disabled { opacity: .35; cursor: default; }
.why-track { display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: .5rem .3rem 1.5rem; scrollbar-color: var(--secondary-color) #e4e2db; }
.why-card { padding: 2rem; background: white; border-top: 3px solid var(--secondary-color); scroll-snap-align: start; }
.why-card h3 { font-size: 1.85rem; }
.why-card p { font-size: .95rem; line-height: 1.8; }
.why-card .why-lead { color: var(--primary-color); font-weight: 600; margin-bottom: 1.25rem; }
.scroll-hint { margin: .5rem 0 0; font-size: .8rem; }
.page-header, .page-hero { margin-top: var(--nav-height); padding: 4.25rem 0; background: var(--primary-color); text-align: center; }
.page-title { color: white; font-size: clamp(2.1rem,4vw,3.5rem); overflow-wrap: break-word; }
.page-subtitle { text-align: center; max-width: 740px; margin: 0 auto; font-size: 1.12rem; line-height: 1.7; color: #d8dce7; }
.page-header .eyebrow { color: #dac27e; text-align: center; }
.practice-section { background: var(--bg-light); }
.practice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.75rem; align-items: start; }
.practice-card { position: relative; padding: 2.5rem; background: white; border: 1px solid var(--border-color); border-top: 3px solid var(--secondary-color); scroll-margin-top: calc(var(--nav-height) + 24px); }
.practice-card h2 { font-size: 2rem; line-height: 1.3; }
.practice-card p { font-size: 1rem; line-height: 1.85; }
.practice-card summary { color: var(--primary-color); cursor: pointer; font-weight: 600; padding: 1rem 0 .3rem; border-top: 1px solid var(--border-color); font-size: .9rem; }
.practice-expanded { padding-top: 1.5rem; }
.practice-highlights { background: var(--bg-light); border-left: 3px solid var(--secondary-color); padding: 1.25rem; margin-top: 1.5rem; }
.practice-highlights h3 { font-family: var(--font-primary); font-size: .95rem; }
.practice-highlights ul { list-style: disc; padding-left: 1.2rem; }
.practice-highlights li { font-size: .93rem; color: var(--text-light); margin: 0 0 .7rem; }
.anchor-alias { position: absolute; top: 0; scroll-margin-top: calc(var(--nav-height) + 24px); }
.team-member { border-top: 3px solid var(--secondary-color); }
.team-member-name { color: var(--primary-color); }
.team-member-header { border-color: var(--secondary-color); }
.team-member-title { color: var(--gold-text); text-align: left; }
.team-member-expertise { border-color: var(--secondary-color); background: var(--bg-light); }
.team-member-expertise h3 { color: var(--primary-color); }
.team-member-expertise li::before { color: var(--gold-text); }
.team-member-photo { top: calc(var(--nav-height) + 24px); }
.team-member-bio p { text-align: left; }
.team-member-bio ul { list-style: disc; padding-left: 1.2rem; color: var(--text-light); }
.team-member-bio li { margin-bottom: .7rem; }
.team-member-content { min-width: 0; }
.team-member-expertise ul { grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); }
.contact-grid { min-width: 0; }
.contact-form-container { min-width: 0; }
.form-notice { font-size: .94rem; line-height: 1.75; }
#formStatus { margin-top: 1.25rem; color: var(--primary-color); }
.contact-item { scroll-margin-top: calc(var(--nav-height) + 24px); }
.contact-item a { overflow-wrap: anywhere; }
.footer .container { max-width: 1280px; }
.footer-content { grid-template-columns: repeat(auto-fit,minmax(275px,1fr)); }
.footer-bottom p { text-align: center; color: #c5cad6; }
.footer-preferences { margin-top: 1rem; padding: .4rem; color: #d4d7e0; background: transparent; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .25em; font-size: .875rem; }
.footer-preferences:hover { color: var(--secondary-color); }
.policy-table-scroll { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; }
.policy-table-scroll table { min-width: 540px; }
.cookie-consent { max-height: min(86dvh,800px); overflow-y: auto; }
.cookie-consent-content { max-width: 850px; padding: 1.4rem 2rem; }
.cookie-consent-title { margin-bottom: .65rem; }
.cookie-consent-text { color: var(--text-light); text-align: left; }
.cookie-status, .cookie-btn-primary { color: var(--primary-color); }
.cookie-policy-link { color: var(--gold-text); }
.cookie-btn-accept { background: var(--primary-color); }
.cookie-btn-reject { background: #fff; color: var(--primary-color); border: 1px solid var(--primary-color); }
.cookie-btn-accept:hover, .cookie-btn-accept.selected { background: var(--accent-color); box-shadow: none; }
.cookie-btn-reject:hover, .cookie-btn-reject.selected { background: #e7e9ee; color: var(--primary-color); box-shadow: none; }
.cookie-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; margin: 1rem 0; }
.cookie-option { padding: .7rem; }
.cookie-option-header { margin-bottom: 0; }
.cookie-actions { margin-top: .8rem; }
@media (max-width: 1000px) {
    .brand-logo { width: 225px; }
    .nav-menu { gap: 1.4rem; }
    .feature-card { padding: 1.7rem; }
    .feature-card h2 { font-size: 1.7rem; }
    .story-grid { gap: 3rem; }
    .team-member { grid-template-columns: 230px minmax(0,1fr); gap: 2rem; padding: 2rem; }
}
@media (max-width: 768px) {
    :root { --nav-height: 80px; }
    .brand-logo { width: 220px; }
    .nav-wrapper { padding: 12px 0; }
    .mobile-menu-toggle { padding: 10px; }
    .nav-menu { top: var(--nav-height); height: calc(100dvh - var(--nav-height)); overflow-y: auto; justify-content: flex-start; }
    .home-hero { min-height: 610px; padding: 70px 0; }
    .home-hero .hero-title { color: var(--primary-color); font-size: clamp(3.5rem,11.5vw,5rem); }
    .hero-tagline { font-size: 1.7rem; }
    .feature-grid, .practice-grid, .story-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 265px; padding: 2rem; }
    .story-section { padding-top: calc(var(--nav-height) + 55px); }
    .story-grid { gap: 2rem; }
    .why-heading { flex-direction: column; align-items: start; }
    .why-track { grid-auto-columns: min(340px,87%); gap: 1rem; }
    .why-card { padding: 1.5rem; }
    .practice-card { padding: 1.7rem; }
    .practice-card h2 { font-size: 1.75rem; }
    .team-member { grid-template-columns: 1fr; padding: 1.5rem; }
    .team-member-photo { top: auto; position: relative; }
    .team-members { padding: 3rem 0; }
    .page-header, .page-hero { padding: 3rem 0; }
    .contact-form-container { padding: 1.5rem; }
    .cookie-consent-content { padding: 1.25rem; }
    .cookie-options { grid-template-columns: 1fr; }
    .cookie-option-header { flex-direction: row; align-items: center; }
    .cookie-actions { flex-direction: row; gap: .65rem; }
    .cookie-actions .cookie-btn { width: auto; flex: 1; padding: .7rem .6rem; font-size: .85rem; }
    .cookie-buttons .cookie-btn { padding: .4rem .6rem; width: auto; }
}
@media (max-width: 360px) {
    .brand-logo { width: 205px; }
    .home-hero .hero-title { color: var(--primary-color); font-size: 3.5rem; }
    .home-hero .hero-tagline { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* v6.12: keep closed mobile links out of keyboard/screen-reader navigation. */
@media (max-width: 768px) {
    .nav-menu:not(.active) { visibility: hidden; pointer-events: none; }
    .nav-menu.active { visibility: visible; pointer-events: auto; }
}
/* Let very narrow footer columns fit without modifying the supplied badge. */
.footer-content { grid-template-columns: repeat(auto-fit, minmax(min(100%,275px),1fr)); }
@media (max-width: 360px) {
    .brand-logo { width: min(205px,calc(100vw - 110px)); }
}

/* v6.13: justified body copy. Titles, navigation and controls retain their approved alignment. */
p:not(.eyebrow):not(.hero-tagline):not(.team-member-title),
main li,
.footer-contact li,
blockquote,
figcaption,
td {
    text-align: justify !important;
    text-align-last: start;
    text-justify: inter-word;
    word-spacing: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
    hyphenate-limit-chars: 8 3 3;
    overflow-wrap: break-word;
}
