.chapter-divider {
    background: #000;
    color: #fff;
    margin: clamp(32px, 6vw, 96px) 0;
    padding: clamp(48px, 3.5vw, 144px) 16px;
    text-align: center;
}

.chapter-divider__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.chapter-divider__overline {
    font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, "PT Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.9;
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.2;
    margin: 0 0 12px;
}


.chapter-divider:focus-within {
    outline: 2px solid #a3a3a3;
    outline-offset: 4px;
}


.site-nav-section {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
}


.site-nav-section.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}


#section-nav {
    position: fixed;
    top: 50%;
    left: 80px;
    z-index: 1000;

    background: rgba(255, 255, 255, .55);
    border-radius: 14px;
    padding: 10px 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);


    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-50% - 10px));
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
}


#section-nav.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%);
}


#section-nav.is-hiding {
    opacity: 0;
    transform: translateY(calc(-50% - 10px));
    pointer-events: none;
}


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

#section-nav li {
    margin: clamp(14px, 2.6vh, 28px) 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    opacity: 0;
    transform: translateX(-4px);
}

#section-nav.is-visible li {
    animation: itemIn .28s ease-out forwards;
}

#section-nav.is-visible li:nth-child(1) {
    animation-delay: 60ms;
}

#section-nav.is-visible li:nth-child(2) {
    animation-delay: 120ms;
}

#section-nav.is-visible li:nth-child(3) {
    animation-delay: 180ms;
}

#section-nav.is-visible li:nth-child(4) {
    animation-delay: 240ms;
}

#section-nav.is-visible li:nth-child(5) {
    animation-delay: 300ms;
}

#section-nav.is-visible li:nth-child(6) {
    animation-delay: 360ms;
}


#section-nav a,
#section-nav a:visited,
#section-nav a:hover,
#section-nav a:focus {
    text-decoration: none !important;
    border: 0 !important;
    background: transparent;
}

#section-nav a {
    display: inline-block;
    padding-block: 2px;
    font-size: clamp(12px, 1.35vh, 15px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .5px;
    color: rgba(17, 17, 17, .6);
    transition: color .2s ease, transform .2s ease;
}

#section-nav a:hover,
#section-nav a:focus {
    color: var(--section-accent);
    transform: translateX(2px);
}


#section-nav a[aria-current="true"] {
    color: var(--section-accent);
}




@keyframes itemIn {
    from {
        opacity: 0;
        transform: translateX(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@media (prefers-reduced-motion: reduce) {

    #section-nav,
    #section-nav.is-visible,
    #section-nav.is-hiding {
        animation: none !important;
        transform: translateY(-50%) !important;
        opacity: 1 !important;
    }

    #section-nav li,
    #section-nav.is-visible li {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    #section-nav a {
        transition: none;
    }
}


.gallery a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.gallery a img {
    display: block;
}

.zoom-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    pointer-events: none;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
    .zoom-badge {
        animation: zoomHint .9s ease-out 1;
    }

    @keyframes zoomHint {
        0% {
            transform: scale(.9);
            opacity: 0;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
}


.gallery a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.gallery a img {
    display: block;
}

.zoom-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    pointer-events: none;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
    .zoom-badge {
        animation: zoomHint .9s ease-out 1;
    }

    @keyframes zoomHint {
        0% {
            transform: scale(.9);
            opacity: 0;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 14px;
    right: 14px;
    z-index: 999;
    font-size: 18px;
    width: 48px;
    height: 48px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

#scrollTopBtn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* ==============================
   Two-column bullet list styles
   ============================== */

.two-col-bullets__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .two-col-bullets__grid {
        grid-template-columns: 1fr;
    }
}


@media (min-width: 768px) {
    .project-section-div.tell-me-reflection .project-section-content {
        margin-left: 25% !important;
        margin-right: 25% !important;
    }

    .zoom-badge {
        display: none;
    }

}

.two-col-bullets__title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.two-col-bullets__list {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}


.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* ==============================
   General bullet list styles
   ============================== */
.bullet-list {
    list-style: disc outside;
    margin: 0;
    padding-left: 20px;
}

.bullet-list li {
    margin: 4px 0;

    line-height: 1.4;

    text-align: left;
    margin-bottom: 10px;
}



.project-section-div.tell-me-reflection {
    display: block;
}

.project-section-div.tell-me-reflection .project-section-title-div {
    display: none;
}





.device-gallery {
    max-width: 1200px;
    margin: 24px auto 56px;
    padding: 0 12px
}

.device-gallery__intro {
    margin: 0 0 16px 0
}

.device-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

@media(min-width:900px) {
    .device-grid {
        grid-template-columns: 1fr 1fr
    }
}

/* Prevent device grid items from stretching to match tallest neighbor.
   This ensures that shorter items (like desktop frames) don't inherit the height of taller items (like phones). */
.device-grid>.device,
.device-grid>.mobile-phone {
    align-self: start;
}


.device {
    background: #f7f7f8;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10), 0 2px 8px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .08)
}

.device__chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    background: linear-gradient(#fafafa, #f4f4f5)
}

.device__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.device__dot--red {
    background: #ff5f57
}

.device__dot--amber {
    background: #ffbd2e
}

.device__dot--green {
    background: #28c840;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08)
}

.device__dot--green:hover {
    filter: brightness(1.05)
}

.device__title {
    margin-left: 6px;
    font-size: .85rem;
    color: rgba(0, 0, 0, .55)
}

.device__viewport {
    height: 620px;
    overflow: auto;
    background: #fff;
    border-radius: 0
}


.device__viewport {
    -webkit-overflow-scrolling: touch
}


.device {
    display: flex;
    flex-direction: column
}

.device-caption {
    font-family: "Work Sans", system-ui, -apple-system, sans-serif;
    font-size: .95rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, .6);
    text-align: center;
    margin: 10px 8px 0;
    padding: 0 8px
}

.device-caption strong {
    font-weight: 600
}

.device-caption small {
    display: block;
    font-size: .85em;
    color: rgba(0, 0, 0, .5);
    margin-top: 4px
}


.lg-backdrop {
    background: rgba(0, 0, 0, .95) !important
}

.lg-toolbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15)) !important
}

.lg-toolbar .lg-icon,
.lg-next,
.lg-prev,
.lg-close {
    color: #fff !important;
    opacity: 1 !important
}

.lg-next,
.lg-prev {
    width: 52px;
    height: 52px
}

.lg-counter {
    color: #fff !important
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2vw, 20px);
    margin: clamp(12px, 2vw, 20px) 0;
}


@media (min-width: 800px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (min-width: 1024px) {
    .process-card {
        aspect-ratio: auto;
    }
}

.process-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06), 0 1px 6px rgba(0, 0, 0, .05);
    padding: clamp(16px, 2.2vw, 22px);
    display: flex;
    flex-direction: column;
    overflow: hidden;

}

.process-card__kicker {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    font-size: .8rem;
    color: rgba(0, 0, 0, .55);
    margin: 0 0 6px 0;
}

.process-card__title {
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.2;
    color: var(--dim-grey);
    margin: 0 0 8px 0;
}

.process-card__body {

    line-height: 1.6;
    /* color: #5c5c5ce6;
    margin: 0; */
    overflow: auto;

}


.process-card__body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.process-card__body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .12);
    border-radius: 8px;
}

.process-card__body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .18);
}


@media (prefers-reduced-motion: reduce) {
    .process-card {
        aspect-ratio: auto;
    }

    .process-card__body {
        overflow: visible;
    }
}


.process-grid {
    max-width: 1100px;
    margin-inline: auto;
    gap: clamp(10px, 1.2vw, 16px);
}


@media (min-width: 720px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.process-card {
    padding: clamp(14px, 1.8vw, 18px);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06), 0 1px 4px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .06);
    gap: 6px;
}

.process-card__kicker {
    font-size: .75rem;
    letter-spacing: .09em;
    color: rgba(0, 0, 0, .5);
    margin-bottom: 2px;
}

.process-card__title {
    font-size: clamp(17px, 1.6vw, 20px);
    margin: 0 0 6px 0;
    color: #2a2a2a;
}



.process-card {
    position: relative;
}

.process-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: linear-gradient(180deg, #7cd3b2, #3e8b73);
    opacity: .9;
}


.process-card:nth-child(2)::before {
    background: linear-gradient(180deg, #7cc2f2, #3a79b3);
}

.process-card:nth-child(3)::before {
    background: linear-gradient(180deg, #f4be7a, #be7e2f);
}

.process-card:nth-child(4)::before {
    background: linear-gradient(180deg, #d49bf2, #8c55c2);
}


@media (hover:hover) {
    .process-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .06);
    }
}



.media-grid {
    --gap: clamp(12px, 2vw, 20px);
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    margin: 14px 0 10px;

}


@media (min-width: 900px) {
    .media-grid[data-cols="2"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .media-grid[data-cols="3"] {
        grid-template-columns: repeat(3, 1fr);
    }

    .media-grid[data-cols="4"] {
        grid-template-columns: repeat(4, 1fr);
    }
}




@media (min-width: 900px) {
    .media-grid [data-span="2"] {
        grid-column: span 2;
    }
}


@media (min-width: 1200px) {
    .media-grid {
        gap: clamp(10px, 1.2vw, 16px);
    }
}

.video-card,
.image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06), 0 1px 4px rgba(0, 0, 0, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.video-card:hover,
.image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .06);
    border-color: rgba(0, 0, 0, .08);
}

.video-frame,
.image-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #0f0f0f;
}

.video-caption,
.image-caption {
    text-align: center;
    color: #111;
    background: #fff;
    font: 400 13px/18px Karla, sans-serif;
    padding: 8px 10px 10px;
}

.media-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(88vw, 520px);
    gap: clamp(12px, 2vw, 20px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 16px 0;
}

.media-strip>* {
    scroll-snap-align: start;
}

.media-strip::-webkit-scrollbar {
    height: 8px;
}

.media-strip::-webkit-scrollbar-thumb {
    background: #00000022;
    border-radius: 8px;
}


.callout {
    background: #f7f9fc;

    border: 1px solid rgba(0, 0, 0, .06);

    border-left: 3px solid #1b76d1;

    border-radius: 10px;
    padding: 12px 14px;

    margin: 12px 0 8px;
    box-shadow: none;

}

.callout p {
    margin: 0;
}

.callout em {
    display: block;
    line-height: 1.6;
    opacity: .96;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 12px 0 8px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #1b76d1;
    font-size: 18px;
}

.stat-number {
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
}

.stat-label {
    opacity: .88;
    margin-top: 2px;
}

.kv-table {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 12px;
    overflow: hidden;
    margin: 12px 0 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.kv-row {
    display: grid;
    grid-template-columns: 260px 1fr;

    align-items: center;

}

.kv-row+.kv-row {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.kv-key {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;

    background: #f7f9fc;
    font-weight: 600;
    font-size: 1.05rem;

    line-height: 1.3;
}

.kv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;

}

.kv-value {
    padding: 14px 16px;

    font-size: 1.05rem;

    line-height: 1.6;

}

.kv-key[data-color="indigo"] .kv-dot {
    background: #1b76d1;
}

.kv-key[data-color="teal"] .kv-dot {
    background: #2fb3a9;
}

.kv-key[data-color="orange"] .kv-dot {
    background: #ff8a3d;
}

.kv-key[data-color="purple"] .kv-dot {
    background: #7b61ff;
}

@media (max-width: 680px) {
    .kv-row {
        grid-template-columns: 1fr;
    }

    .kv-key {
        border-bottom: 1px solid rgba(0, 0, 0, .06);
    }

    .kv-key,
    .kv-value {
        padding: 12px 14px;
    }
}


.u-underline {
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(27, 118, 209, .55);
    text-decoration-skip-ink: auto;
}

.u-underline--teal {
    text-decoration-color: rgba(47, 179, 169, .55);
}

.u-underline--peach {
    text-decoration-color: rgba(255, 138, 61, .55);
}

.u-underline--violet {
    text-decoration-color: rgba(123, 97, 255, .55);
}


.u-ink {
    background-image: linear-gradient(transparent calc(100% - 6px), rgba(27, 118, 209, .12) 0);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 2px;
    padding-bottom: 2px;
}




.u-mark {

    --mark: rgba(27, 118, 209, .18);
    background-image: linear-gradient(transparent 55%, var(--mark) 0);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 2px;

    padding: 0 .06em;

}

.u-mark--teal {
    --mark: rgba(47, 179, 169, .18);
}

.u-mark--peach {
    --mark: rgba(255, 138, 61, .20);
}

.u-mark--violet {
    --mark: rgba(123, 97, 255, .20);
}


.u-mark--full {

    background-image: linear-gradient(var(--mark), var(--mark));
    background-repeat: no-repeat;
    background-size: 100% 1.05em;

    background-position: 0 0.08em;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    box-shadow: none;

    border-radius: 2px;
    padding: 0 .06em;

}


.u-mark--stroke {
    background-image:
        linear-gradient(var(--mark), var(--mark)),
        repeating-linear-gradient(-15deg,
            rgba(255, 255, 255, 0) 0px,
            rgba(255, 255, 255, 0) 4px,
            rgba(255, 255, 255, .18) 6px,
            rgba(255, 255, 255, .18) 8px);
    background-repeat: no-repeat, repeat;
    background-size: 100% 1.1em, auto;

    background-position: 0 0.08em, 0 0.08em;
    background-blend-mode: multiply;
    border-radius: 3px;
    padding: 0 .06em;
}





.marker {
    margin: 0 -0.4em;

    padding: 0.1em 0.4em;

    border-radius: 0.8em 0.3em;

    background: transparent;
    background-image: linear-gradient(to right,
            rgba(255, 225, 0, 0.10),

            rgba(255, 225, 0, 0.70) 4%,

            rgba(255, 225, 0, 0.30));
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

}


.marker--peach {
    background-image: linear-gradient(to right, rgba(255, 138, 61, .10), rgba(255, 138, 61, .32) 4%, rgba(255, 138, 61, .18));
}

.marker--teal {
    background-image: linear-gradient(to right, rgba(47, 179, 169, .10), rgba(47, 179, 169, .32) 4%, rgba(47, 179, 169, .18));
}

.marker--violet {
    background-image: linear-gradient(to right, rgba(123, 97, 255, .10), rgba(123, 97, 255, .32) 4%, rgba(123, 97, 255, .18));
}

.marker--indigo {
    background-image: linear-gradient(to right, rgba(27, 118, 209, .10), rgba(27, 118, 209, .32) 4%, rgba(27, 118, 209, .18));
}





.hi-band {

    --mark: rgba(27, 118, 209, .18);
    background-image: linear-gradient(transparent 55%, var(--mark) 0);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-radius: 2px;
    padding: 0 .06em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hi-band--indigo {
    --mark: rgba(27, 118, 209, .18);
}

.hi-band--peach {
    --mark: rgba(255, 138, 61, .20);
}

.hi-band--teal {
    --mark: rgba(47, 179, 169, .18);
}

.hi-band--violet {
    --mark: rgba(123, 97, 255, .20);
}

.hi-band--golden {
    --mark: rgba(254, 180, 36, 0.20);
}


.hi-band--stroke {
    background-image:
        linear-gradient(var(--mark), var(--mark)),
        repeating-linear-gradient(-15deg,
            rgba(0, 0, 0, 0) 0px,
            rgba(0, 0, 0, 0) 4px,
            rgba(0, 0, 0, .10) 6px,
            rgba(0, 0, 0, .10) 8px);
    background-repeat: no-repeat, repeat;
    background-size: 100% 1.05em, auto;
    background-position: 0 0.08em, 0 0.08em;
    background-blend-mode: multiply;
    border-radius: 3px;
}

/* Usage:
           - Marker (full) effect: <mark class="marker marker--peach">…</mark>
           - Band (half) effect : <span class="hi-band hi-band--peach">…</span>
           You can mix colors by swapping the --peach/--teal/--violet/--indigo suffixes. */






.site-nav-section {
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;

}


.hamburger-button {
    display: none;
    position: fixed;
    top: 28px;

    right: 25px;
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: transform 0.3s ease-in-out;
}


body.nav-hidden .site-nav-section,
body.nav-hidden .hamburger-button {
    transform: translateY(-150%);
}

.hamburger-bar {
    display: block;
    width: 34px;
    height: 2px;
    background-color: #333;
    margin: 8px auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform-origin: center;
}

.hamburger-button.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-button.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger-button.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    flex-shrink: 0;
}

.mobile-menu-brand {
    font-family: Karla, sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #333;
    text-decoration: none;
}


.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.mobile-menu-nav a {
    font-family: Karla, sans-serif;
    font-size: clamp(2rem, 8vw, 2.5rem);
    color: #333;
    text-decoration: none;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu-nav a:hover {
    color: #888;
}

.mobile-menu-overlay.is-open .mobile-menu-nav a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.is-open .mobile-menu-nav a:nth-child(1) {
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.mobile-menu-overlay.is-open .mobile-menu-nav a:nth-child(2) {
    transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
}

.mobile-menu-overlay.is-open .mobile-menu-nav a:nth-child(3) {
    transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s;
}

.mobile-menu-overlay.is-open .mobile-menu-nav a:nth-child(4) {
    transition: opacity 0.4s ease 0.45s, transform 0.4s ease 0.45s;
}


body.no-scroll {
    overflow: hidden;
}

@media (max-width: 767px) {

    .video-caption,
    .image-caption {
        text-align: center;
        color: #111;
        background: #fff;
        font: 400 12px/18px Karla, sans-serif;
        padding: 8px 10px 10px;
    }

    .footer-div {
        height: 170px;
    }

    .footer-text.div {
        grid-column-gap: 0px;
        margin-left: 35px;
    }

    .footer-text-next {
        font-size: 20px;
        margin-right: 35px;
    }

    .footer-text-project-title {
        font-size: 22px;
    }

    .footer-text-project-descriotion {
        margin-top: 6px;
        font-size: 15px;
    }

    .chapter-divider__inner {
        padding: 0.75rem 0.5rem;
        text-align: center;
    }

    .chapter-divider__overline {
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin-bottom: 0.15rem;
    }

    .chapter-divider__title {
        font-size: 0.9rem;
        line-height: 1.2;
        margin: 0;
    }

    .project-header-section {
        position: relative;
        margin-top: 60px;
        margin-bottom: 20px;
        padding: clamp(0px, 62vw, 0px) 0 !important;
    }

    .heading-2.project-section-title {
        color: #5c5c5cb3;
        text-transform: uppercase;
        padding-bottom: 15px;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;
        line-height: 20px;
    }

    .project-header-section .hero-media {
        position: relative;
    }

    .project-header-section .project-header-img {
        display: block;
        width: 100%;
        height: auto;
    }

    .project-section-div {
        margin-left: 0%;
        margin-right: 0%;
    }

    .project-header-img-div.hero-media .project-header-img {
        max-width: 100%;
        margin: 0 auto;
    }


    .project-header-section .hero-copy {
        position: absolute;
        z-index: 2;
        top: 53%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 66%;
        padding: 16px 20px;

        background: rgba(255, 255, 255, 0.9);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
        text-align: center;
    }


    .project-header-section .hero-eyebrow {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .project-header-section .hero-title {
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.1;
        margin: 0 0 6px 0;
    }

    .project-header-section .hero-subtitle {
        font-size: 13px;
        line-height: 1.4;
        margin: 0;
    }

    .site-nav-section .nav-menu {
        display: none;
    }

    .hamburger-button {
        display: block;
        top: 8px;

    }

    .site-nav-section {
        justify-content: space-between;

        height: 75px;
        padding-top: 0;
        padding-bottom: 0;
        align-items: center;
    }

    #section-nav {
        display: block;
        position: fixed;

        top: calc(var(--nav-offset, 60px));
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);

        transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease-in-out;
        border-radius: 0;
        overflow: visible;


    }

    #section-nav::before,
    #section-nav::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 28px;
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        transition: opacity .2s ease;
    }


    #section-nav::before {
        left: 0;
        background:
            linear-gradient(to right,
                rgba(255, 255, 255, 0.95),
                rgba(255, 255, 255, 0.85) 30%,
                rgba(255, 255, 255, 0.00));
        box-shadow: inset -1px 0 0 rgba(0, 0, 0, .06);

    }


    #section-nav::after {
        right: 0;
        background:
            linear-gradient(to left,
                rgba(255, 255, 255, 0.95),
                rgba(255, 255, 255, 0.85) 30%,
                rgba(255, 255, 255, 0.00));
        box-shadow: inset 1px 0 0 rgba(0, 0, 0, .06);
    }




    #section-nav.is-visible {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    body.nav-hidden #section-nav.is-visible {
        top: 0;
    }

    #section-nav ul {
        display: flex;
        overflow-x: auto;
        list-style: none;
        margin: 0;
        padding: 4px 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        -webkit-mask-image: linear-gradient(to right,
                transparent 0, black 20px,
                black calc(100% - 20px), transparent 100%);
        mask-image: linear-gradient(to right,
                transparent 0, black 20px,
                black calc(100% - 20px), transparent 100%);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
    }

    #section-nav ul::-webkit-scrollbar {
        display: none;
    }

    #section-nav li {
        flex-shrink: 0;
        margin: 0;
        writing-mode: initial;
        text-orientation: initial;
    }

    #section-nav a {
        display: block;
        padding: 8px 12px;
        font-size: 14px;
        font-family: 'Karla', sans-serif;
        color: #555;
        text-decoration: none;
        white-space: nowrap;
        border-radius: 6px;
        transition: color 0.2s ease, background-color 0.2s ease;
    }
}