/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #000;
}

a:visited {
    color: #000;
}

body {
    font-family: 'Fira Mono', monospace;
    font-weight: 500;
    background: #54e1b6;
    color: #000;
    min-height: 100vh;
    font-size: 14px;
}

main {
    margin-left: 220px;
    padding: 40px 0;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 180px;
    height: 100vh;
    background: #54e1b6;
    border-right: 1px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    justify-content: space-between;
}

.logo-container {
    margin: 24px 0 32px 0;
}

.nav-logo {
    width: 112px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-links li {
    width: 100%;
    display: block;
}

.nav-links a {
    display: block;
    width: 100%;
    padding: 14px 24px;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
    border-radius: 6px;
}

.nav-footer {
    margin: 32px 0 24px 0;
}

.nav-wordmark {
    width: 112px;
    height: auto;
    display: block;
}

/* Split Section Layout */
.split-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 120px auto;
    padding: 0 24px;
}

.section-title {
    flex: 0 0 160px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #222;
    text-align: right;
    margin-right: 32px;
    line-height: 1.2;
    padding-top: 3px;
}

.section-content {
    flex: 1 1 0;
    max-width: 550px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-content h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.section-content p {
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.section-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.video-container {
    margin: 32px 0 0 0;
    max-width: 600px;
}

.button-group {
    margin: 12px 0;
    white-space: nowrap;
}

.section-btn {
    display: inline-block;
    background: #000;
    color: #fff !important;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    margin-right: 12px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s;
    white-space: normal;
}

.section-btn:visited {
    color: #fff !important;
}

.section-btn:hover {
    background: #222;
    color: #fff !important;
}

.section-btn-secondary {
    display: inline-block;
    background: none;
    color: #000 !important;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 8px 22px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s;
    white-space: normal;
}

.section-btn-secondary:visited {
    color: #000 !important;
}

.section-btn-secondary:hover {
    background: #000;
    color: #fff !important;
}

/* Mobile Navigation */
#mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    #sidebar {
        display: none;
    }

    main {
        margin-left: 0;
        margin-right: 0;
        padding-bottom: 80px;
        align-items: stretch;
    }

    #mobile-nav {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100vw;
        z-index: 1200;
        background: none;
        border-top: solid #000;
    }

    #mobile-nav-toggle {
        width: 100vw;
        height: 56px;
        background: #54e1b6;
        border: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        cursor: pointer;
        transition: background 0.2s, border-color 0.3s cubic-bezier(.4,0,.2,1);
        position: relative;
        z-index: 1201;
    }

    .mobile-nav-toggle .nav-wordmark {
        width: 120px;
        height: auto;
    }

    .carat-icon {
        color: #000;
        transform: rotate(180deg);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    }

    .mobile-nav-overlay.open .carat-icon {
        transform: rotate(0deg);
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        left: 0;
        bottom: -100vh;
        width: 100vw;
        height: calc(100vh - 56px);
        background: rgba(84,225,182,0.98);
        z-index: 1100;
        transition: bottom 0.3s cubic-bezier(.4,0,.2,1);
        padding-top: env(safe-area-inset-top, 60px);
    }

    .mobile-nav-overlay.open {
        bottom: 56px;
    }

    .mobile-nav-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .mobile-nav-content .nav-logo {
        width: 80px;
        margin: 48px 0;
    }

    .mobile-nav-content .nav-links {
        display: flex;
        flex-direction: column;
        width: 100vw;
        text-align: center;
        justify-content: center;
        flex: 1;
        margin: 0;
    }

    .mobile-nav-content .nav-links li {
        width: 100%;
        display: block;
    }

    .mobile-nav-content .nav-links a {
        display: block;
        width: 100%;
        font-size: 2rem;
        padding: 18px 0;
        border-radius: 0;
        background: none;
        color: #000;
    }

    .split-section {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 0 18px;
    }

    .section-title {
        text-align: left;
        margin-right: 0;
        margin-bottom: 8px;
        padding-top: 0;
        width: 100%;
        flex: none;
    }

    .section-content {
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .section-content h1 {
        font-size: 36px !important;
    }
}

/* Focus styles */
#sidebar .nav-links a:focus {
    outline: none;
}

/* Only show focus outline when using keyboard navigation */
.nav-links a:focus-visible {
    outline: 2px solid #1bcd81;
    outline-offset: 2px;
}

.nav-links a:focus, 
.mobile-nav-content .nav-links a:focus {
    outline: none;
}

/* --- Split Section Layout --- */
.split-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 120px auto;
    padding: 0 24px;
}
.section-title {
    flex: 0 0 160px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #222;
    text-align: right;
    margin-right: 32px;
    line-height: 1.2;
    padding-top: 3px;
}
.section-content {
    flex: 1 1 0;
    max-width: 550px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.section-content h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.section-content p {
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.section-btn {
    display: inline-block;
    background: #000;
    color: #fff !important;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    margin-right: 12px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s;
    white-space: normal;
}
.section-btn:visited {
    color: #fff !important;
}
.section-btn:hover {
    background: #222;
    color: #fff !important;
}

/* Leadership grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.leader-card {
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 12px;
    min-width: 0;
}
.leader-avatar {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    margin-right: 16px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leader-info {
    min-width: 0;
}
.leader-name {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 2px;
    color: #000;
}
.leader-role {
    font-size: 1rem;
    color: #222;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 0 18px;
    }
    .section-title {
        text-align: left;
        margin-right: 0;
        margin-bottom: 8px;
        padding-top: 0;
        width: 100%;
        flex: none;
    }
    .section-content {
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Center main content area horizontally */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-left: 220px;
    margin-right: auto;
    max-width: 100vw;
    padding-bottom: 40px;
}
@media (max-width: 900px) {
    main {
        margin-left: 0;
        margin-right: 0;
        align-items: stretch;
    }
}

.fira-mono-regular {
  font-family: "Fira Mono", monospace;
  font-weight: 500;
  font-style: normal;
}

.fira-mono-medium {
  font-family: "Fira Mono", monospace;
  font-weight: 500;
  font-style: normal;
}

.fira-mono-bold {
  font-family: "Fira Mono", monospace;
  font-weight: 500;
  font-style: normal;
}

.content-section h1,
.content-section h2,
.section-title,
.section-content p,
.section-btn,
.leader-name,
.leader-role {
    font-weight: 500 !important;
}

.fira-mono-regular,
.fira-mono-bold {
    font-weight: 500 !important;
}

@media (max-width: 900px) {
    #leadership.content-section {
        flex-direction: column;
        align-items: center;
        text-align: left;
        padding: 0 8px;
    }
    #leadership .section-title {
        text-align: left;
        margin-right: 0;
        margin-bottom: 8px;
        padding-top: 0;
        width: 100%;
    }
    #leadership .section-content {
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }
    #leadership .section-content.leadership-grid {
        gap: 16px;
    }
}

@media (max-width: 500px) {
    .button-group {
        white-space: normal;
    }
    
    .section-btn,
    .section-btn-secondary {
        display: block;
        margin: 12px 0;
        text-align: center;
    }
} 