@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/nunito-sans-regular.ttf") format("truetype");
}
@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/nunito-sans-bold.ttf") format("truetype");
}

/* Brand tokens and base layout. */
:root {
    --mtb-navy: #03172b;
    --mtb-top: #04111e;
    --mtb-red: #ee3e35;
    --mtb-orange: #f58341;
    --mtb-slate: #555e7d;
    --mtb-width: 1186px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--mtb-slate); background: #fff; font: 16px/1.875 "Nunito Sans", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mtb-red); }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--mtb-orange); outline-offset: 5px; }
.container { width: min(var(--mtb-width), calc(100% - 80px)); margin-inline: auto; }
.header-container { width: min(1355px, calc(100% - 80px)); margin-inline: auto; }
.screen-reader-text { 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:focus { clip: auto; width: auto; height: auto; left: 15px; top: 15px; padding: 12px 20px; background: #fff; color: var(--mtb-navy); z-index: 100; }
.button { display: inline-block; border: 2px solid var(--mtb-navy); color: var(--mtb-navy); padding: 16px 46px; font-size: 16px; line-height: 24px; font-weight: 700; text-align: center; transition: background .2s, color .2s; }
.button:hover { background: var(--mtb-navy); color: #fff; }
.button--light { border-color: #fff; color: #fff; }
.button--light:hover { background: #fff; color: var(--mtb-red); }

/* All navigation lists, including submenus, are generated by WordPress. */
.menu, .menu .sub-menu { list-style: none; padding: 0; margin: 0; }
.site-header { position: relative; z-index: 20; background: var(--mtb-navy); color: #fff; }
.top-bar { background: var(--mtb-top); }
.top-bar__inner { display: flex; min-height: 55px; align-items: center; justify-content: space-between; }
.region-label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; white-space: nowrap; }
.region-label img { width: 20px; }
.utility-menu { display: flex; align-items: center; gap: 40px; }
.utility-menu a { display: block; font-size: 14px; font-weight: 700; line-height: 55px; }
.menu li { position: relative; }
.menu a:hover { color: inherit; text-decoration: underline; text-underline-offset: 5px; }
.nav-cart > a { padding-left: 38px; background: url("../images/icon-cart.svg") no-repeat left center / 24px; }
.nav-search > a { width: 20px; overflow: hidden; font-size: 0; background: url("../images/icon-search.svg") no-repeat center / 20px; }
.header-main { display: flex; min-height: 117px; align-items: center; gap: 28px; padding-block: 12px 30px; }
.site-branding { flex-shrink: 0; }
.brand, .custom-logo-link { display: block; }
.brand img, .custom-logo { display: block; width: 133px; height: 70px; object-fit: contain; }
.primary-nav { padding-top: 12px; }
.primary-menu { display: flex; align-items: center; gap: 40px; }
.primary-menu a { display: inline-block; font-size: 14px; font-weight: 700; line-height: 20px; white-space: nowrap; }
.menu .sub-menu { position: absolute; z-index: 30; top: 100%; left: -22px; min-width: 265px; padding: 14px 22px 22px; background: var(--mtb-navy); color: #fff; visibility: hidden; opacity: 0; pointer-events: none; }
.menu .sub-menu li { margin: 0; }
.menu .sub-menu a { display: block; padding: 5px 0; white-space: normal; font-size: 14px; line-height: 22px; }
.menu .sub-menu .sub-menu { top: 0; left: 100%; }
.menu li.is-open > .sub-menu { visibility: visible; opacity: 1; pointer-events: auto; }
.submenu-toggle { width: 21px; height: 28px; margin-left: 5px; padding: 0; border: 0; color: inherit; background: transparent; vertical-align: middle; }
.submenu-toggle::after { content: ""; display: inline-block; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.submenu-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.header-actions { margin-left: auto; padding-top: 12px; flex-shrink: 0; }
.action-menu { display: flex; gap: 16px; }
.action-menu > li > a { display: block; border: 2px solid var(--mtb-red); color: var(--mtb-red); padding: 16px 28px 14px; font-weight: 700; line-height: 22px; }
.action-menu > li > a:hover { color: #fff; background: var(--mtb-red); text-decoration: none; }
.menu-toggle { display: none; }
.mobile-navigation { display: none; }

/* Homepage hero: the offset photograph and overlapping copy follow the reference. */
.hero { position: relative; height: 688px; margin-bottom: 160px; background: var(--mtb-navy); color: #fff; }
.hero__slides { height: 748px; overflow: hidden; }
.hero__slide { position: relative; height: 748px; }
.hero__photo { position: absolute; top: 0; right: calc(max(40px, (100% - var(--mtb-width)) / 2) - 141px); width: 1100px; max-width: none; height: 730px; object-fit: cover; clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%); }
.hero__inner { height: 688px; display: flex; align-items: center; position: relative; }
.hero__copy { position: relative; width: 450px; z-index: 1; }
.hero__eyebrow { font-size: 20px; font-weight: 700; line-height: 36px; margin-bottom: 14px; }
.hero__title { color: var(--mtb-orange); font-size: 44px; line-height: 56px; margin-bottom: 70px; }
.hero__title span { color: var(--mtb-red); }
.hero__copy .button { padding-inline: 40px; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 36px; display: flex; align-items: center; gap: 22px; }
.hero__controls button { border: 0; padding: 0; color: var(--mtb-red); background: none; font-size: 26px; line-height: 20px; }
.hero__controls button:hover { color: #fff; }
.hero__counter { display: inline-flex; align-items: center; gap: 12px; margin-left: 22px; font-weight: 700; font-size: 14px; line-height: 20px; }
.hero__track { width: 57px; height: 2px; background: #aaa; }
.hero__track span { display: block; width: 20%; height: 2px; background: #fff; transition: width .2s; }

.home-intro { padding-bottom: 82px; text-align: center; }
.home-intro__lead { color: var(--mtb-navy); font-size: 38px; line-height: 56px; font-weight: 700; margin-bottom: 12px; }
.home-intro h2 { color: var(--mtb-orange); font-size: 38px; line-height: 56px; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature-card { position: relative; display: grid; place-items: center; min-height: 200px; padding: 20px 42px; border: 2px solid var(--mtb-orange); background: #fff; color: var(--mtb-orange); }
.feature-card__title { font-size: 30px; line-height: 42px; font-weight: 700; }
.feature-card__detail { position: absolute; inset: 0; padding: 18px; display: flex; align-items: center; background: var(--mtb-orange); color: var(--mtb-navy); font-size: 14px; line-height: 22px; }
.feature-card[aria-expanded="true"] .feature-card__title { visibility: hidden; }
.testimonial { background: linear-gradient(rgba(3, 23, 43, .7), rgba(3, 23, 43, .7)), url("../images/quote-cello.jpg") center / cover; padding: 151px 0 139px; color: #fff; }
.testimonial blockquote { position: relative; max-width: 850px; margin: 0 auto; padding-inline: 46px; text-align: center; }
.testimonial blockquote::before, .testimonial blockquote::after { content: ""; position: absolute; top: -20px; width: 29px; height: 72px; background: url("../images/quote-left.svg") no-repeat; }
.testimonial blockquote::before { left: 0; }
.testimonial blockquote::after { right: 0; background-image: url("../images/quote-right.svg"); }
.testimonial p { font-size: 18px; line-height: 32px; margin-bottom: 48px; }
.testimonial cite { font-style: normal; font-size: 16px; line-height: 30px; }
.home-news { padding-block: 100px; }
.home-news__heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.home-news__heading h2 { color: var(--mtb-navy); font-size: 30px; line-height: 40px; }
.home-news__heading > a { color: #737373; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.news-card__image { display: block; margin-bottom: 20px; }
.news-card__image img { display: block; width: 100%; aspect-ratio: 373 / 248; object-fit: cover; clip-path: polygon(0 0, 96% 0, 100% 100%, 0 100%); }
.news-card h2, .news-card h3 { font-size: 24px; line-height: 34px; color: var(--mtb-red); margin-bottom: 30px; }
.news-card h2 a, .news-card h3 a { color: inherit; }
.news-card p { margin-bottom: 20px; }

/* Shared footer, including appearance-only newsletter controls. */
.footer-cta { position: relative; background: var(--mtb-navy); color: #fff; overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 60%; border-left: 7px solid #fff; background: var(--mtb-red); transform: skewX(-8deg); }
.footer-cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 300px; }
.footer-cta h2 { font-size: 30px; line-height: 40px; margin-bottom: 27px; }
.footer-cta__entry { padding: 65px 100px 35px 0; }
.footer-cta__entry h2 span { color: var(--mtb-red); }
.footer-cta__links { display: flex; gap: 40px; align-items: center; }
.footer-cta__links .button { padding-inline: 46px; flex-shrink: 0; }
.already-account { text-decoration: underline; font-size: 16px; }
.footer-cta__newsletter { padding: 65px 47px 30px 87px; }
.footer-cta__newsletter h2 span { color: var(--mtb-navy); }
.newsletter-preview { margin-top: -10px; }
.newsletter-preview__row { display: flex; height: 60px; border: 2px solid #fff; }
.newsletter-preview__row input { min-width: 0; width: 100%; padding: 16px 18px; border: 0; color: #fff; background: transparent; font-size: 16px; }
.newsletter-preview__row input::placeholder { color: rgba(255, 255, 255, .75); }
.newsletter-preview__submit { padding: 0 28px; border: 0; border-left: 2px solid #fff; color: #fff; background: none; font-size: 16px; }
.newsletter-preview__submit:hover { background: #fff; color: var(--mtb-red); }
.newsletter-preview__consent { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; font-size: 12px; line-height: 20px; }
.newsletter-preview__consent input { appearance: none; width: 20px; height: 20px; margin: 0; border: 2px solid #fff; flex-shrink: 0; cursor: pointer; }
.newsletter-preview__consent input:checked { background: #fff; box-shadow: inset 0 0 0 4px var(--mtb-red); }
.newsletter-preview__consent a { text-decoration: underline; }
.footer-cta a:hover { color: #fff; }
#newsletter-status:not(.screen-reader-text) { font-size: 13px; line-height: 20px; margin-top: 8px; }
.site-footer { padding: 80px 0 36px; background: var(--mtb-slate); color: #fff; }
.footer-main { display: grid; grid-template-columns: 200px 200px 1fr; gap: 56px; }
.site-footer h2 { font-size: 20px; line-height: 30px; margin-bottom: 24px; }
.footer-menu a { display: block; font-size: 16px; line-height: 36px; }
.footer-social { margin-left: auto; width: 100%; padding-left: 100px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.footer-social nav { display: flex; align-items: center; gap: 20px; }
.footer-social h2 { margin-bottom: 0; white-space: nowrap; }
.social-menu { display: flex; gap: 20px; }
.social-menu a { display: block; width: 28px; height: 28px; font-size: 0; background-repeat: no-repeat; background-position: center; background-size: contain; }
.social-twitter > a { background-image: url("../images/icon-twitter.svg"); }
.social-facebook > a { background-image: url("../images/icon-facebook.svg"); width: 15px; }
.paypal-logo { width: 123px; height: auto; }
.footer-bottom { display: flex; align-items: center; gap: 36px; margin-top: 65px; font-size: 14px; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 28px; }
.footer-bottom > p { margin-left: auto; }

/* Standard WordPress and WooCommerce pages retain native content/templates. */
.content-page { padding-block: 80px; min-height: 45vh; }
.content-page > h1, .entry-content > h1 { margin-bottom: 36px; color: var(--mtb-navy); font-size: 44px; }
.entry-content h2, .entry-content h3 { color: var(--mtb-navy); margin: 36px 0 20px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 24px; }
.entry-content a:not(.button) { text-decoration: underline; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content .alignleft { float: left; margin: 0 24px 24px 0; }
.entry-content .alignright { float: right; margin: 0 0 24px 24px; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .alignwide { width: 100%; }
.entry-content .alignfull { max-width: none; width: calc(100% + 80px); margin-left: -40px; }
.content-page .news-grid { margin-bottom: 50px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-field { max-width: 100%; border: 1px solid var(--mtb-slate); padding: 12px; }
.search-submit { border: 2px solid var(--mtb-navy); background: var(--mtb-navy); color: #fff; padding: 10px 24px; cursor: pointer; }
.commerce-page h1, .woocommerce h2 { color: var(--mtb-navy); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border: 2px solid var(--mtb-navy); border-radius: 0; color: #fff; background: var(--mtb-navy); font-family: inherit; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--mtb-red); border-color: var(--mtb-red); color: #fff; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--mtb-orange); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { padding: 12px; border: 1px solid #b3b9bf; }
.wc-block-components-button { border-radius: 0; }

@media (min-width: 1024px) and (max-width: 1250px) {
    .header-main { gap: 20px; }
    .primary-menu { gap: 18px; }
    .action-menu { gap: 12px; }
    .action-menu > li > a { padding-inline: 18px; }
    .footer-main { grid-template-columns: 180px 180px 1fr; gap: 30px; }
    .footer-social { padding-left: 0; flex-wrap: wrap; }
    .footer-cta__entry { padding-right: 60px; }
    .footer-cta__newsletter { padding-left: 60px; padding-right: 0; }
    .footer-cta__links { gap: 25px; }
}
@media (max-width: 1023px) {
    .container, .header-container { width: calc(100% - 32px); }
    .top-bar, .primary-nav { display: none; }
    .site-header { position: sticky; top: 0; }
    .admin-bar .site-header { top: 32px; }
    .header-main { min-height: 94px; padding: 16px 0 22px; gap: 16px; }
    .brand img { width: 30px; height: 56px; }
    .custom-logo { width: auto; max-width: 90px; height: 56px; }
    .header-actions { padding-top: 0; }
    .action-menu { gap: 10px; }
    .action-menu > li > a { padding: 9px 14px 8px; font-size: 14px; line-height: 16px; }
    .menu-toggle { display: flex; align-items: center; width: 30px; height: 40px; padding: 0; border: 0; background: none; color: var(--mtb-red); }
    .menu-toggle__lines { width: 28px; height: 2px; background: currentColor; position: relative; }
    .menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; width: 28px; height: 2px; background: currentColor; }
    .menu-toggle__lines::before { top: -12px; }
    .menu-toggle__lines::after { top: 12px; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines { background: transparent; }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }
    .mobile-navigation:not([hidden]) { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--mtb-red); color: #fff; padding: 24px 26px 36px; max-height: calc(100dvh - 94px); overflow-y: auto; }
    .mobile-menu > li { border-bottom: 1px solid rgba(255, 255, 255, .3); }
    .mobile-menu > li > a { display: inline-block; padding: 8px 0; font-size: 20px; font-weight: 700; }
    .mobile-menu .submenu-toggle { float: right; margin-top: 12px; }
    .mobile-navigation .sub-menu { position: static; display: none; visibility: visible; opacity: 1; pointer-events: auto; padding: 0 16px 12px; min-width: 0; background: transparent; }
    .mobile-navigation li.is-open > .sub-menu { display: block; }
    .mobile-navigation .sub-menu .sub-menu { padding: 4px 16px; }
    .mobile-utility-menu { padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 25px; }
    .mobile-utility-menu a { display: block; line-height: 32px; font-weight: 700; }
    .mobile-utility-menu .nav-search a { height: 32px; }
    .hero { height: 454px; margin-bottom: 95px; }
    .hero__slides, .hero__slide { height: 514px; }
    .hero__inner { height: 454px; }
    .hero__photo { top: 0; right: -300px; width: 800px; height: 514px; }
    .hero__copy { width: 370px; }
    .hero__eyebrow { font-size: 16px; line-height: 24px; margin-bottom: 22px; }
    .hero__title { font-size: 36px; line-height: 46px; margin-bottom: 32px; }
    .hero__copy .button { padding: 13px 30px; font-size: 14px; line-height: 20px; }
    .hero__controls { bottom: 24px; }
    .home-intro { padding-bottom: 65px; }
    .home-intro__lead, .home-intro h2 { font-size: 28px; line-height: 42px; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .feature-card { padding-inline: 20px; min-height: 185px; }
    .feature-card__title { font-size: 24px; line-height: 34px; }
    .feature-card__detail { font-size: 13px; line-height: 19px; padding: 12px; }
    .testimonial { padding-block: 90px; }
    .testimonial blockquote { max-width: 750px; padding-inline: 40px; }
    .home-news { padding-block: 75px; }
    .news-grid { gap: 24px; }
    .news-card h2, .news-card h3 { font-size: 22px; line-height: 32px; }
    .news-card .button { padding-inline: 30px; }
    .footer-cta__entry { padding: 40px 40px 40px 0; }
    .footer-cta__newsletter { padding: 40px 0 40px 40px; }
    .footer-cta h2 { font-size: 24px; line-height: 34px; }
    .footer-cta__links { gap: 20px; flex-wrap: wrap; }
    .footer-cta__links .button { padding-inline: 28px; }
    .newsletter-preview__submit { padding-inline: 14px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-social { grid-column: 1 / -1; padding: 0; justify-content: flex-start; gap: 70px; }
    .footer-bottom { gap: 24px; flex-wrap: wrap; }
    .footer-bottom p { margin-left: 0; }
    .content-page { padding-block: 50px; }
    .entry-content .alignfull { width: calc(100% + 32px); margin-left: -16px; }
}
@media (max-width: 640px) {
    .header-main { gap: 14px; min-height: 90px; padding-block: 17px; }
    .admin-bar .site-header { top: 46px; }
    .action-menu > li > a { padding: 8px 11px; }
    .hero { height: 438px; margin-bottom: 50px; }
    .hero__slides, .hero__slide { height: 438px; }
    .hero__inner { height: 370px; align-items: flex-start; padding-top: 58px; }
    .hero__copy { width: 240px; }
    .hero__title { font-size: 24px; line-height: 34px; margin-bottom: 32px; }
    .hero__eyebrow { font-size: 16px; line-height: 24px; margin-bottom: 20px; }
    .hero__photo { top: 174px; right: -158px; width: 420px; height: 280px; }
    .hero__controls { bottom: 0; gap: 18px; height: 52px; width: 100%; padding-inline: 16px; background: var(--mtb-navy); }
    .hero__counter { margin-left: auto; }
    .home-intro__lead, .home-intro h2 { font-size: 20px; line-height: 31px; }
    .home-intro h2 { margin-bottom: 28px; }
    .feature-grid { grid-template-columns: 1fr; gap: 20px; }
    .feature-card { min-height: 150px; padding: 24px 48px; }
    .feature-card__title { font-size: 26px; line-height: 36px; }
    .feature-card__detail { padding: 18px; font-size: 14px; line-height: 21px; }
    .feature-card[aria-expanded="true"] { padding: 0; }
    .feature-card[aria-expanded="true"] .feature-card__title { display: none; }
    .feature-card[aria-expanded="true"] .feature-card__detail { position: static; min-height: 150px; }
    .testimonial { padding: 75px 0 65px; }
    .testimonial blockquote { padding-inline: 28px; }
    .testimonial blockquote::before, .testimonial blockquote::after { width: 17px; height: 44px; background-size: contain; }
    .testimonial p { font-size: 16px; line-height: 28px; margin-bottom: 32px; }
    .testimonial cite { font-size: 14px; line-height: 24px; }
    .home-news { padding-block: 60px; }
    .home-news__heading { margin-bottom: 30px; }
    .home-news__heading h2 { font-size: 24px; line-height: 34px; }
    .home-news__heading > a { font-size: 14px; }
    .news-grid { grid-template-columns: 1fr; gap: 60px; }
    .news-card h2, .news-card h3 { font-size: 22px; line-height: 32px; margin-bottom: 24px; }
    .news-card .button { padding: 12px 35px; font-size: 14px; line-height: 20px; }
    .footer-cta::before { display: none; }
    .footer-cta .container { width: 100%; }
    .footer-cta__inner { grid-template-columns: 1fr; }
    .footer-cta__entry { padding: 40px 16px; }
    .footer-cta__newsletter { padding: 40px 16px; background: var(--mtb-red); }
    .footer-cta__links { gap: 24px; }
    .footer-cta h2 { font-size: 24px; line-height: 34px; }
    .footer-cta__links .button { padding: 12px 28px; font-size: 14px; }
    .already-account { font-size: 14px; }
    .site-footer { padding-top: 50px; }
    .footer-main { gap: 40px 24px; }
    .site-footer h2 { font-size: 18px; line-height: 28px; margin-bottom: 20px; }
    .footer-menu a { font-size: 14px; line-height: 30px; }
    .footer-social { flex-wrap: wrap; gap: 30px; }
    .footer-social h2 { margin-bottom: 0; }
    .footer-bottom { margin-top: 45px; flex-direction: column; align-items: flex-start; gap: 25px; }
    .legal-menu { gap: 12px 24px; }
    .content-page > h1, .entry-content > h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
