/* ==========================================================================
   Stanwardsworth – site styles
   Colors: gold #D3A800, dark #222222
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #ffffff;
    color: #4B4F58;
    font-family: 'Assistant', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 10px 16px;
    background: #ffffff;
    color: #222222;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 10px;
}

.container.narrow {
    max-width: 767px;
}

.center {
    text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: #222222;
    color: #D3A800;
}

.site-title {
    margin: 0;
    padding: 10px 15px 0;
    text-align: center;
    font-size: 45px;
    font-weight: 400;
    line-height: 60px;
}

.site-title a {
    color: #D3A800;
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 15px 17px;
}

.site-tagline {
    margin: 0;
    max-width: 180px;
    font-size: 14px;
    line-height: 19px;
    font-weight: 400;
    color: #D3A800;
}

/* Navigation (mobile first: hamburger + stacked menu) */
.site-nav {
    position: relative;
}

.nav-toggle {
    display: block;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #D3A800;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 22px;
    height: 3px;
    background: currentColor;
    border-radius: 1px;
}

.nav-toggle-bars {
    position: relative;
    margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle-bars::before {
    top: -7px;
}

.nav-toggle-bars::after {
    top: 7px;
}

.menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    width: 280px;
    background: #222222;
    border-top: 1px solid #3a3a3a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.menu.is-open {
    display: block;
}

.menu-item {
    position: relative;
    border-bottom: 1px solid #333333;
}

.menu-item > a,
.sub-menu a {
    display: block;
    padding: 12px 50px 12px 18px;
    font-size: 17px;
    line-height: 24px;
    color: #D3A800;
    transition: color 0.2s, background 0.2s;
}

.menu-item > a:hover,
.menu-item.current > a,
.sub-menu a:hover {
    color: #ffffff;
}

.sub-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #D3A800;
}

.sub-toggle svg {
    width: 10px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s;
}

.has-sub.is-open > .sub-toggle svg {
    transform: rotate(180deg);
}

.sub-menu {
    display: none;
    background: #2c2c2c;
}

.has-sub.is-open > .sub-menu {
    display: block;
}

.sub-menu a {
    padding-left: 32px;
    font-size: 16px;
}

/* Desktop navigation */
@media (min-width: 1025px) {
    .site-tagline {
        max-width: none;
        font-size: 17px;
        line-height: 24px;
    }

    .header-bar {
        padding: 6px 30px 14px;
    }

    .nav-toggle {
        display: none;
    }

    .menu {
        display: flex;
        position: static;
        width: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .menu-item {
        border: 0;
    }

    .menu-item > a {
        padding: 10px 18px;
    }

    .sub-toggle {
        display: none;
    }

    .has-sub > a {
        padding-right: 18px;
    }

    .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 60;
        min-width: 290px;
        background: #222222;
        border-top: 2px solid #D3A800;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .has-sub:hover > .sub-menu,
    .has-sub:focus-within > .sub-menu {
        display: block;
    }

    .sub-menu a {
        padding: 11px 18px;
        font-size: 16px;
        border-bottom: 1px solid #333333;
    }
}

/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
    position: relative;
    padding: 250px 0;
    background-color: #222222;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #181818;
    opacity: 0.5;
}

.hero-inner {
    position: relative;
    max-width: 767px;
    margin: 0 auto;
    padding: 0 10px;
}

.hero-quote {
    margin: 0;
    color: #D3A800;
}

.hero-quote p {
    margin: 0 0 12px;
    text-align: center;
    font-size: 22px;
    line-height: 35px;
    font-weight: 400;
}

.hero-quote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
}

/* ==========================================================================
   About
   ========================================================================== */

.slider {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: #222222;
}

.slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.slider .slide.is-active {
    opacity: 1;
}

.section-mission {
    padding-top: 35px;
}

.section-vision {
    padding-top: 20px;
}

.section-heading {
    margin: 0;
    font-size: 40px;
    line-height: 52px;
    font-weight: 600;
    color: #444444;
}

.divider {
    display: block;
    margin: 12px auto 16px;
    height: 0;
    border-top: 2px solid #D3A800;
}

.divider-sm {
    width: 40px;
}

.divider-md {
    width: 60px;
}

.section-lead {
    margin: 0;
    font-size: 21px;
    line-height: 32px;
    color: #3c3c3c;
}

.section-bio {
    padding: 40px 0 10px;
}

.bio p {
    margin: 0 0 27px;
    font-size: 17px;
    line-height: 25px;
    color: #202020;
}

.bio-photo {
    display: block;
}

.section-video {
    padding: 20px 0 35px;
}

.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-banner {
    height: 501px;
    margin: 0;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
}

.section-contact {
    padding: 0 0 60px;
}

.contact-title {
    margin: 0;
    font-size: 36px;
    line-height: 47px;
    font-weight: 400;
    text-align: center;
    color: #000000;
}

.contact-intro {
    margin: 10px auto 0;
    max-width: 727px;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    color: #222324;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.contact-info {
    padding: 0 10px;
}

.contact-info p {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 27px;
    color: #000000;
}

.contact-info a:hover {
    color: #D3A800;
}

.contact-social-label {
    font-weight: 600;
}

.contact-social {
    display: flex;
    gap: 10px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #69727D;
    transition: color 0.2s;
}

.contact-social a:hover {
    color: #D3A800;
}

.contact-social svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.contact-form-wrap {
    padding: 0 10px;
}

.contact-form p {
    margin: 0 0 19px;
}

.contact-form label {
    display: block;
    font-size: 15px;
    color: #4B4F58;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 11px;
    margin-top: 4px;
    font: inherit;
    font-size: 15px;
    color: #666666;
    background: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 2px;
}

.contact-form textarea {
    height: 272px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: #D3A800;
}

.contact-form input[type="submit"] {
    padding: 18px 30px;
    border: 0;
    border-radius: 0;
    font: inherit;
    font-size: 15px;
    line-height: 15px;
    color: #000000;
    background: #D3A800;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form input[type="submit"]:hover {
    background: #b89000;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field-error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #dc3232;
}

.form-notice {
    margin: 0 0 19px;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid;
}

.form-notice-success {
    color: #2c6e2c;
    border-color: #46b450;
}

.form-notice-error {
    color: #a12a2a;
    border-color: #dc3232;
}

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

.site-footer {
    padding: 0 15px 27px;
    background: #222222;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding-top: 27px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    opacity: 0.75;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.social-facebook svg  { fill: #385CD7; }
.social-youtube svg   { fill: #FE2828; }
.social-instagram svg { fill: #FF5656; }

.footer-credit {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #D3A800;
}

.footer-credit a {
    color: #8a8a8a;
}

.footer-credit a:hover {
    color: #D3A800;
}

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

@media (max-width: 1024px) {
    .slider {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .site-title {
        font-size: 30px;
        line-height: 44px;
    }

    .hero {
        padding: 90px 0;
    }

    .hero-quote p {
        font-size: 18px;
        line-height: 28px;
    }

    .slider {
        height: 280px;
    }

    .section-heading {
        font-size: 32px;
        line-height: 42px;
    }

    .section-lead {
        font-size: 18px;
        line-height: 28px;
    }

    .contact-banner {
        height: 260px;
    }

    .contact-title {
        font-size: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form textarea {
        height: 200px;
    }
}
