* {
    
}

.intro-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4rem;
    box-sizing: border-box;
}

.intro-heaader-inner {
    max-width: 800px;
    width: 100%;
}

.intro-title {
    font-weight: 900;
    font-size: 4rem;
    max-width: 1000px;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
}

.intro-copy {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 0 2.5rem 0;
}

.intro-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.intro-btn {
    border: 2px solid #022729;
    background-color: #fde2af;
    padding: 1rem 2rem;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-btn-primary {
    background-color: #016366;
    color: #fff;
    border: 2px solid #016366;
    box-shadow: 4px 4px 0px #022729;
}

.intro-btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #022729;

}

.intro-btn-secondary {
    background-color: #fde2af;
    color: #022729;
    box-shadow: 4px 4px 0px #022729;
}

.intro-btn-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #022729;
}

body {
    background-color: #fde2af;
    color: #016366;
    font-family: "Inter", sans-serif;
    margin: 0 auto;
}

main {
    padding: 0 2rem;
}

.inter-regular {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.scroll-section {
    display: none;
    align-items: flex-start;
}

.scroll-section.active-section {
    display:flex;
}

#section-10.active-cta {
    display: flex;
}

.sticky-left {
    width: 40%;
    position: sticky;
    top: 2rem;
    padding: 2rem;
    max-height: 110vh;
}

.steps-right {
    width: 60%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step {
    display: none;
}

.step.active {
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    align-items: center;
    background-color: #fff;
    border: 2px solid #022729;
    max-width: 500px;
    animation: slideUp 0.4s ease-out;
    padding: 2rem 1.5rem;
    font-size: 18pt;
}

.step[data-type="graphic"].active {
    background-color: transparent;
    border: 2px solid #022729;
    max-width: 100vw;
    width: 100vw;
    padding: 0;
}

.step[data-type="graphic"].active::after {
    display: none;
}

.step[data-type="graphic"] img {
    width: 100%;
    height: auto;
    display: block;
}

.step.active::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid #022729;
    background-color: #fff;
    z-index: -1;
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.section-video {
    display: none;
    width: 100%;
    margin-top: 1rem;
    border: 2px solid #022729;
    width: 315px;
    height: 560px;
}

.section-video.active {
    display: block;
}

p.vid-name {
    text-align: left;
    font-size: 20pt;
    font-weight: 800;
}

p.vid-quote {
    text-align: left;
    font-size: 18pt;
    font-weight: 400px;
}

.section {

}

h1 {
 font-weight: 800;
 font-size: 3rem;  
 text-align: left;
 text-transform: uppercase;
}

h2 {
 font-weight: 800;
 font-size: 2.5rem;
 text-align: left;
 text-transform: uppercase;
}

a {

}

#back-btn {
    position: fixed;
    bottom: 2rem;
    right: 9rem;
    background-color: #fde2af;
    color: #022729;
    border: 2px solid #022729;
    padding: 1rem 1.5rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#back-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

#next-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #fde2af;
    color: #022729;
    border: 2px solid #022729;
    padding: 1rem 1.5rem;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#next-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

#section-10 {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 2rem;
}

.cta-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
}

.cta-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border: 2px solid #022729;
    padding: 2rem;
    flex: 1;
    box-shadow: 6px 6px 0px #022729;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #022729;
}

.cta-card h3 {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cta-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cta-btn {
    background-color: #016366;
    color: #fff;
    border: 2px solid #022729;
    padding: 0.75rem 1.5rem;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
}

.cta-btn:hover {
    background-color: #022729;
}

#toc-sidebar {
    position: fixed;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#toc-sidebar.visible {
    opacity: 1;
    pointer-events: auto;
}

.toc-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
}

.toc-section-marker {
    width: 16px;
    height: 16px;
    border: 2px solid #022729;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.toc-step-list {
    display: none;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.toc-step-marker {
    width: 8px;
    height: 8px;
    background-color: #022729;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.toc-video-marker {
    width: 10px;
    height: 10px;
    background-color: #016366;
    opacity: 0.6;
}

.toc-group.active .toc-section-marker {
    background-color: #022729;
}

.toc-group.active .toc-step-list {
    display: flex;
}

.toc-step-marker.active {
    opacity: 1;
}

.toc-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    top: 0;
    background-color: #022729;
    color: #fde2af;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

.toc-tooltip {
    transition: opacity 0.15s ease;
}

.toc-group:hover .toc-tooltip {
    opacity: 1;
    transition: opacity 0.15s ease 0.12s;
}

@media (max-width: 768px) {

    main {
        padding: 0 1rem;
    }

    .scroll-section {
        flex-direction: column;
    }

    .sticky-left {
        width: 100%;
        position: static;
        padding: 2rem;
        max-height: none;
    }

    .steps-right {
        width: 100%;
        min-height: auto;
        padding-right: 2rem; /* clears TOC */
    }

    .step.active {
        font-size: 11pt;
        max-width: calc(100% - 2rem);
        max-height: 55vh;
        overflow-y: auto;
        box-sizing: border-box;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    #section-04 {
        display: none;
    }

    .section-video {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
    }

    #back-btn {
        right: auto;
        left: 1rem;
        bottom: 1rem;
    }

    #next-btn {
        right: 1rem;
        bottom: 1rem;
    }

    #toc-sidebar {
        left: auto;
        right: 0.25rem;
        pointer-events: none;
    }

    .toc-section-marker {
        width: 12px;
        height: 12px;
        pointer-events: none;
    }

    .toc-step-marker {
        pointer-events: none;
    }

    .cta-container {
        flex-direction: column;
    }

    #section-10 {
        padding: 2rem 1rem 6rem 1rem;
    }

    p.vid-name {
        font-size: 14pt;
    }

    p.vid-quote {
        font-size: 11pt;
    }
}