@font-face {
    font-family: NGDisplay;
    src: url('assets/fonts/NotoSansDisplay-ExtraCondensedBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: InterDisplay;
    src: url('assets/fonts/InterDisplay-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Lato;
    src: url('assets/fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Lato;
    src: url('assets/fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #142340;
    --navy-2: #1a2d50;
    --ink: #17243d;
    --cream: #f0f1e9;
    --paper: #f7f7f1;
    --red: #d9362e;
    --muted: #b7c0d0;
    --line: rgba(255, 255, 255, .18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Lato, Arial, sans-serif;
}

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

button,
input {
    font: inherit;
}

.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;
}

/* ===========================
   HEADER
=========================== */

.site-header {
    height: 94px;
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 8.1%;
    border-bottom: 1px solid #d9d9d2;
    position: relative;
    z-index: 10;
}

.brand {
    font-family: NGDisplay, Impact, sans-serif;
    font-size: 29px;
    letter-spacing: -0.8px;
    color: var(--navy);
}

.brand span,
.red {
    color: var(--red);
}

.nav {
    display: flex;
    gap: 38px;
    align-items: center;
    justify-content: center;
    font-family: InterDisplay, Arial, sans-serif;
    font-size: 16px;
    color: #566174;
}

.nav a {
    padding: 35px 0 14px;
    position: relative;
}

.nav a.active {
    color: var(--navy);
}

.nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--red);
}

.header-cta {
    justify-self: end;
    background: var(--navy);
    color: #fff;
    padding: 16px 25px;
    font-family: InterDisplay, monospace;
    font-size: 14px;
    letter-spacing: 1.2px;
}

.header-cta span {
    font-size: 18px;
}

.menu-toggle {
    display: none;
}

/* ===========================
   HERO SECTION
=========================== */

.hero {
    min-height: calc(100vh - 94px);
    position: relative;
    overflow: visible;
    background: linear-gradient(112deg, #142747 0%, #17284b 42%, #2d263d 100%);
    color: #f6f6f0;
    display: flex;
    flex-direction: column;
}

.hero-inner {
    min-height: calc(100vh - 94px);
    padding: 128px 8.1% 150px;
    position: relative;
    flex: 1;
}

.copy {
    max-width: 760px;
}

.eyebrow {
    font-family: InterDisplay, monospace;
    font-size: 13px;
    letter-spacing: 3px;
    color: #afbdd5;
    margin: 0 0 26px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.eyebrow i {
    display: inline-block;
    width: 25px;
    height: 1px;
    background: #aebbd0;
}

h1 {
    font-family: NGDisplay, Impact, sans-serif;
    font-weight: 900;
    font-size: 96px;
    line-height: 0.98;
    letter-spacing: -2px;
    margin: 0 0 32px;
}

h1 em {
    font-style: normal;
    color: var(--red);
}

.boarding {
    font-family: InterDisplay, monospace;
    font-size: 20px;
    letter-spacing: 1px;
    margin: 0 0 30px;
}

.boarding strong {
    color: #e23c31;
    margin-left: 10px;
}

.intro {
    font-size: 20px;
    line-height: 1.58;
    max-width: 700px;
    color: #eef0f2;
    margin: 0 0 42px;
}

.actions {
    display: flex;
    gap: 19px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    padding: 0 34px;
    font-family: InterDisplay, monospace;
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--red);
    color: #fff;
}

.btn-primary:hover {
    background: #ee463c;
}

.btn-outline {
    border-color: #667590;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: #aab5c8;
    background: rgba(255, 255, 255, .05);
}

.stats {
    position: absolute;
    right: 8.1%;
    bottom: 111px;
    width: 42%;
    min-width: 530px;
    border: 1px solid rgba(211, 219, 233, .2);
    background: rgba(255, 255, 255, .055);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 27px 32px 25px;
}

.stat strong {
    display: block;
    font-family: NGDisplay, Impact, sans-serif;
    font-size: 48px;
    line-height: 1;
    color: #f5f5ef;
}

.stat strong span {
    font-size: .72em;
}

.stat small {
    display: block;
    margin-top: 8px;
    font-family: InterDisplay, monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: #afbad0;
}

/* ===========================
   STRIPE
=========================== */

.stripe {
    position: relative;
    width: 100%;
    height: 9px;
    background: repeating-linear-gradient(135deg, var(--red) 0 11px, #fff 11px 22px, #265a99 22px 33px, #fff 33px 44px);
    margin: 0;
    flex-shrink: 0;
}

/* ===========================
   PANELS
=========================== */

.panel {
    padding: 110px 8.1%;
    background: var(--paper);
}

.panel.alt {
    background: #eceee6;
}

.panel>div {
    max-width: 1280px;
    margin: auto;
}

.eyebrow.dark {
    color: #667087;
    margin-bottom: 18px;
}

.eyebrow.dark i {
    background: #788298;
}

h2 {
    font-family: NGDisplay, Impact, sans-serif;
    font-size: 74px;
    line-height: 0.98;
    letter-spacing: -1px;
    margin: 0 0 28px;
}

h2 span {
    color: var(--red);
}

.panel p {
    max-width: 720px;
    font-size: 19px;
    line-height: 1.65;
    color: #596277;
}

.search-form {
    display: flex;
    max-width: 760px;
    margin-top: 28px;
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid #bfc5cc;
    border-right: 0;
    background: #fff;
    padding: 0 20px;
    min-height: 62px;
    outline: none;
}

.search-form input:focus {
    border-color: var(--navy);
}

.form-result {
    margin-top: 15px !important;
    font-family: InterDisplay, monospace;
    font-size: 13px !important;
    color: var(--red) !important;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.cards article {
    border: 1px solid #cdd1d0;
    padding: 28px;
    background: #f8f8f3;
}

.cards small,
.event-list b {
    font-family: InterDisplay, monospace;
    letter-spacing: 2px;
    font-size: 11px;
    color: #6a7382;
}

.cards h3 {
    font-family: NGDisplay, Impact, sans-serif;
    font-size: 43px;
    margin: 16px 0 8px;
}

.cards p {
    font-size: 16px !important;
    margin: 0;
}

.event-list {
    border-top: 1px solid #c7cbd0;
}

.event-list>div {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #c7cbd0;
}

.event-list b {
    color: var(--red);
}

.event-list span,
.event-list strong {
    font-family: InterDisplay, monospace;
    font-size: 13px;
    letter-spacing: 1px;
}

.event-list strong {
    font-size: 11px;
    color: #6b7482;
}

.wide-copy {
    max-width: 820px !important;
}

/* ===========================
   HOW IT WORKS
=========================== */

.route-section {
    padding: 90px 0;
    background: #f7f5ef;
    border-top: 3px solid var(--red);
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.route-section .container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.route-title {
    font-size: 4rem;
    color: #142341;
    margin: 18px 0;
    text-transform: uppercase;
}

.route-intro {
    color: #5a6780;
    font-size: 1.15rem;
    margin-bottom: 50px;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #ddd;
}

.route-card {
    padding: 40px;
    border-right: 1px solid #ddd;
}

.route-card:last-child {
    border-right: none;
}

.route-card small {
    color: #d94b37;
    font-weight: 700;
    letter-spacing: 1px;
}

.route-card h3 {
    margin: 18px 0;
    color: #132240;
    font-size: 2rem;
    text-transform: uppercase;
}

.route-card p {
    color: #56627b;
    line-height: 1.8;
}

.route-card a {
    display: inline-block;
    margin-top: 28px;
    text-decoration: none;
    color: #3658c6;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===========================
   ABOUT PAGE
=========================== */

.about-page {
    background: #f6f4ef;
    display: block; /* Ensure it's visible */
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.about-hero {
    padding: 90px 0 50px;
}

.about-title {
    font-size: 4rem;
    line-height: .95;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #132240;
    margin: 20px 0;
    max-width: 900px;
}

.about-intro {
    max-width: 650px;
    color: #555;
    font-size: 1.1rem;
}

.founders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding-bottom: 90px;
}

.founder-card {
    background: white;
    border: 1px solid #ddd;
    padding: 40px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5b6cb7, #d94d4d);
    color: #fff;
    font-weight: bold;
    margin-bottom: 25px;
}

.founder-card h3 {
    margin: 0;
    text-transform: uppercase;
    color: #132240;
}

.founder-card span {
    display: block;
    color: #777;
    margin: 6px 0 18px;
    font-size: .9rem;
}

.founder-card p {
    color: #555;
    line-height: 1.9;
}

.about-story {
    background: #162341;
    color: white;
    padding: 120px 20px;
}

.story-content {
    width: min(760px, 90%);
    margin: auto;
}

blockquote {
    font-size: 2.3rem;
    line-height: 1.3;
    font-weight: 300;
    margin-bottom: 25px;
}

blockquote span {
    color: #d9513c;
}

.story-content small {
    color: #9ea6bd;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.story-content p {
    margin-top: 35px;
    color: #cfd5e2;
    line-height: 1.9;
}

/* ===========================
   ABOUT CTA
=========================== */

.about-cta {
    background: #162341;
    color: white;
    text-align: center;
    padding: 80px 20px 120px;
}

.about-cta small {
    color: #c5cad6;
    letter-spacing: 3px;
}

.about-cta h2 {
    margin: 18px 0;
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
}

.about-cta span {
    color: #d9513c;
}

.about-cta p {
    max-width: 520px;
    margin: 25px auto 40px;
    color: #d7dce8;
    line-height: 1.8;
}

/* ===========================
   BOTTOM CTA
=========================== */

.bottom-cta {
    background: #182646;
    color: white;
    text-align: center;
    padding: 90px 20px 120px;
}

.bottom-cta small {
    letter-spacing: 4px;
    color: #cfd4e2;
}

.bottom-cta h2 {
    margin: 18px auto;
    max-width: 900px;
    font-size: 5rem;
    line-height: .95;
    text-transform: uppercase;
}

.bottom-cta span {
    color: #d94b37;
}

.bottom-cta p {
    max-width: 620px;
    margin: 30px auto 40px;
    color: #d4dae6;
    line-height: 1.8;
}

.bottom-cta .btn {
    padding: 18px 42px;
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
    background: #172442;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 38px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.footer-logo .red {
    color: #d94b37;
}

.footer-nav {
    display: flex;
    gap: 34px;
}

.footer-nav a {
    color: #c7cedd;
    text-decoration: none;
    font-size: .95rem;
    transition: .3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-copy {
    color: #c7cedd;
    font-size: .95rem;
    letter-spacing: .5px;
}

/* ===========================
   NAVBAR TOGGLE
=========================== */

main:not(.is-active),
.panel:not(.is-active) {
    display: none;
}

main.is-active,
.panel.is-active {
    display: block;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 1100px) {
    .site-header {
        padding: 0 5%;
    }
    
    .nav {
        gap: 22px;
    }
    
    .hero-inner {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .stats {
        right: 5%;
    }
    
    .panel {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .site-footer {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    h1 {
        font-size: 84px;
    }
}

@media (max-width: 900px) {
    .route-grid {
        grid-template-columns: 1fr;
    }
    
    .route-card {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .route-title {
        font-size: 2.6rem;
    }
    
    .bottom-cta h2 {
        font-size: 3rem;
    }
    
    .founders {
        grid-template-columns: 1fr;
    }
    
    .about-title {
        font-size: 2.7rem;
    }
    
    blockquote {
        font-size: 1.7rem;
    }
    
    .about-cta h2 {
        font-size: 2.6rem;
    }
    
    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 800px) {
    .site-header {
        height: 78px;
        display: flex;
        justify-content: space-between;
        padding: 0 6%;
    }
    
    .brand {
        font-size: 24px;
    }
    
    .menu-toggle {
        display: flex;
        background: none;
        border: 0;
        width: 42px;
        height: 42px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        order: 3;
    }
    
    .menu-toggle>span:not(.sr-only) {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--navy);
    }
    
    .nav {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--cream);
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 10px 6% 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    }
    
    .nav.open {
        display: flex;
    }
    
    .nav a {
        padding: 14px 0;
    }
    
    .nav a.active:after {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero,
    .hero-inner {
        min-height: 0;
    }
    
    .hero-inner {
        padding: 74px 6% 145px;
    }
    
    h1 {
        font-size: 65px;
        letter-spacing: -1px;
    }
    
    .intro {
        font-size: 17px;
    }
    
    .stats {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        min-width: 0;
        margin-top: 65px;
    }
    
    .stat strong {
        font-size: 38px;
    }
    
    .stat small {
        font-size: 8px;
        letter-spacing: 1.3px;
    }
    
    .panel {
        padding: 75px 6%;
    }
    
    h2 {
        font-size: 57px;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .event-list>div {
        grid-template-columns: 60px 1fr;
    }
    
    .event-list strong {
        grid-column: 2;
    }
    
    .site-footer {
        padding: 25px 6%;
        flex-direction: column;
        gap: 10px;
    }
    
    main.is-active,
    .panel.is-active {
        display: block;
    }
}

@media (max-width: 520px) {
    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
        line-height: 1.5;
    }
    
    h1 {
        font-size: 54px;
    }
    
    .boarding {
        font-size: 16px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .stat {
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }
    
    .stat:last-child {
        border-bottom: 0;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form input {
        border-right: 1px solid #bfc5cc;
        border-bottom: 0;
    }
    
    .search-form .btn {
        width: 100%;
    }
    
    h2 {
        font-size: 48px;
    }
}
