/* Small release-safety layer. Page-specific design remains in styles.css/HTML. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #111827;
    border-radius: 0.375rem;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

main,
.nav-container,
.nav-container nav,
.nav-menu,
.contact-container,
.story-grid,
.founder-grid,
.book-layout,
.book-layout > * {
    min-width: 0;
}

.nav-container {
    gap: 1rem;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a,
.direct-contact-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

img {
    max-width: 100%;
}

.direct-contact-actions {
    display: grid;
    gap: 0.75rem;
}

.direct-contact-button {
    width: 100%;
    padding: 0.9rem 1.25rem;
    color: #fff;
    background: #6d28d9;
    border: 2px solid #6d28d9;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.direct-contact-button-secondary {
    color: #5b21b6;
    background: #fff;
}

.contact-safety-note {
    margin-top: 1.5rem;
    padding: 1rem;
    color: #374151;
    background: #f3f4f6;
    border-left: 4px solid #6d28d9;
}

.book-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)) !important;
}

@media (max-width: 768px) {
    .nav-container nav,
    .nav-menu {
        width: 100%;
    }

    .nav-menu {
        justify-content: center;
        gap: 0.25rem;
    }

    .nav-menu a {
        padding: 0.625rem 0.75rem;
    }

    .faq-grid,
    .values-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 400px) {
    .contact-container,
    .about-container {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

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

/* September responsive corrections */
.about-container .founder-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 35%}#denny-frye{scroll-margin-top:130px}@media(max-width:768px){#denny-frye{scroll-margin-top:250px}}
.book-author-profile{display:grid;grid-template-columns:140px minmax(0,1fr);gap:1.5rem;align-items:center;margin-bottom:2.5rem}.book-author-profile img{display:block;width:100%;height:auto;border-radius:10px}.book-author-profile p{margin-top:0}@media(max-width:620px){.book-author-profile{grid-template-columns:1fr;gap:1rem}.book-author-profile img{width:140px}}
.courses-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr))!important}.course-card,.event-card,.course-panel,.contact-container>*{min-width:0}.course-card h3,.course-title{overflow-wrap:anywhere} .filter-reset{padding:.7rem 1rem;margin-top:1rem;border:2px solid #6d28d9;border-radius:6px;background:#fff;color:#5b21b6;cursor:pointer} #course-results{margin:1rem 0}.partner-copy>a{color:#fff;text-decoration:underline} main{outline:none} @media(max-width:768px){.nav-container{flex-wrap:wrap}.course-layout{grid-template-columns:1fr!important}.courses-grid{grid-template-columns:1fr!important}.event-actions{flex-wrap:wrap}main[style]{padding:2rem 1rem!important}.course-panel{padding:1rem!important}.contact-container{grid-template-columns:1fr!important}.contact-form-section,.contact-info-section{padding:1.25rem!important}.story-grid,.founder-grid,.book-layout{grid-template-columns:1fr!important}}

.btn-social.btn-youtube{background:#b91c1c!important}.cta-section .btn-white{color:#047857!important}

.pti-book img,.about-container img{height:auto}.btn-social.youtube{background:#b91c1c!important}.btn-social[style*="ff0000"]{background:#b91c1c!important}.cta-section a[style*="color: #10b981"],.onsite-training-section a{color:#047857!important}.info-card-content a{color:#1d4ed8!important}

.trust-strip__inner p{white-space:normal!important}.courses-hero h1{overflow-wrap:anywhere}.course-details{flex-wrap:wrap}.btn-register{background:#047857!important;color:#fff!important}.event-date{background:#1d4ed8!important}.location-badge{color:#5b21b6!important}.event-year{opacity:1!important}.brand__mark{font-size:1.15rem!important}

.corporate-callout .button--ghost{background:#fff;color:#084d9e}.nav-menu .nav-cta,.btn-solid{background:#047857!important;color:#fff!important}.filter-btn.active{background:#1d4ed8;border-color:#1d4ed8}.btn-outline{color:#1d4ed8;border-color:#1d4ed8}.footer a,.footer .logo-text{color:#bfdbfe!important}.pti-course a[style*="color: #10b981"]{color:#047857!important}.pti-course a[style*="background: #10b981"]{background:#047857!important}.course-title{font-size:1.3rem}

.search-box{min-width:0;width:100%;flex-basis:18rem}.trust-strip__inner>*{min-width:0}.trust-list{display:flex;flex-wrap:wrap;justify-content:center}.pti-course main div,.pti-book main div{min-width:0} .pti-course main,.pti-book main{overflow-wrap:anywhere} @media(max-width:768px){.pti-course main [style*="grid-template-columns"],.pti-book main [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}.pti-course main [style*="display: flex"]{flex-wrap:wrap}.pti-course main [style*="padding: 2rem"],.pti-book main [style*="padding: 3rem 2rem"]{padding:1rem!important}.pti-course .footer-content{flex-wrap:wrap}.trust-list{gap:1rem!important}.trust-strip__inner p{max-width:100%}}
