/* --- Sticky header fix --- */
body.case-flat .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.case-flat main {
    /* padding-top: 56px; */
}

body.case-flat .progress {
    background: transparent;
}

/* page base */
body.case-flat {
    background: #fff;
    color: #0b0b0b;
    overflow: auto;
}

body.case-flat .bg,
body.case-flat .loader {
    display: none !important;
}

body.case-flat .site-header {
    position: sticky;
    top: 0;
}

.cs-wrap {
    width: min(1100px, calc(100% - 56px));
    margin: 0 auto;
}

/* ----- section rhythm ----- */
.cs-sec {
    padding: 50px 0;
    border-top: 1px solid rgba(11, 11, 11, .12);
    background: transparent;
}

.cs-sec:first-of-type {
    border-top: 0;
}

.cs-challenge {
    padding-bottom: 90px;
}

/* ----- type system ----- */
/* .cs-h {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: rgba(11, 11, 11, 0.92);
} */

/* .cs-h {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 600;
    letter-spacing: -0.01em;
} */

.cs-h {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cs-text {
    margin: 0;
    /* font-size: 14px; */
    line-height: 1.7;
    color: rgba(11, 11, 11, 0.72);
}

.cs-meta {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(11, 11, 11, 0.72);
}

.step h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: rgba(11, 11, 11, 0.92);
}

.step+.step {
    margin-top: 24px;
}

/* ----- hero ----- */
.cs-hero {
    padding: 0;
    border-top: 0;
}

.cs-hero-media {
    position: relative;
    width: 100%;
    min-height: clamp(468px, 82vh, 831px);
    border-bottom: 1px solid rgba(11, 11, 11, .12);
    overflow: hidden;
    /* background-image: url("../aetherair-branding/img/1-hero-airplane-3.jpg"); */
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #e9eef4;
}

.case-aetherair-branding .cs-hero-media {
    background-image: url("../aetherair-branding/img/1-hero-airplane-3.jpg");
}

.case-aetherair-mobile .cs-hero-media {
    background-image: url("../aetherair-mobile/img/eugene-krasnaok-3N5WhUFufDI-unsplash.jpg");
}

.case-aetherair-website .cs-hero-media {
    background-image: url("../aetherair-website/img/AA-website-3.jpg");
}

.case-ll-animation .cs-hero-media {
    background-image: url("../ll-animation/img/hawaii-background.png");
}

.case-tourism-logo .cs-hero-media {
    background-image: url("../tourism-logo/img/amsterdam-hero-2.jpg");
}

.case-volt-fitness .cs-hero-media {
    background-image: url("../volt-fitness/img/running-group.png");
}

.cs-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-pronounce {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .85);
    text-align: center;
    white-space: nowrap;
    z-index: 4;
}

.cs-hero-stars {
    z-index: 2;
    opacity: 0.4;
    inset: auto;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: min(38vw, 340px);
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.cs-hero-bird {
    z-index: 2;
    opacity: 0.3;
    inset: auto;
    left: 5%;
    bottom: 8%;
    width: min(16vw, 140px);
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0));
}

.cs-hero-copy {
    width: min(980px, calc(100% - 56px));
    text-align: left;
    color: #fff;
    text-shadow: 0 14px 40px rgba(0, 0, 0, .35);
}

.cs-hero-copy .eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    opacity: 1;
    font-size: 14px;
    line-height: 1.4;
}

.cs-hero-copy h1 {
    margin: 0;
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.05;
    letter-spacing: -.02em;
}

.cs-hero-text {
    margin: 12px 0 0;
    max-width: 62ch;
    color: rgba(255, 255, 255, .9);
    /* font-size: 14px; */
    line-height: 1.55;
}

.cs-pillnav {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 0 0;
}

.cs-pillnav a {
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: .95;
    text-decoration: none;
}

.cs-pillnav a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .26);
}

/* ----- marquee ----- */
.cs-yellowbar {
    background: #e7f34a;
    border-bottom: 1px solid rgba(11, 11, 11, .12);
    overflow: hidden;
}

.cs-yellowbar-inner {
    overflow: hidden;
    padding: 10px 0;
}

.cs-yellowbar-marquee {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    width: max-content;
    animation: csMarquee 45s linear infinite;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    color: rgba(11, 11, 11, .85);
}

.cs-yellowbar-marquee .dot {
    margin: 0 8px;
}

@keyframes csMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ----- credits ----- */
/* .cs-credits h2 {
    margin-bottom: 28px;
    font-size: 18px;
    font-weight: 600;
} */

.cs-img-half-wrap {
    width: 50%;
    margin: 80px auto 0;
    /* 🔥 adds space above */
    /* centers it */
}

.cs-img-half-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.case-volt-fitness .cs-hero-volt-logo {
    position: absolute;
    inset: auto;

    right: 6%;
    bottom: 6%;

    z-index: 2;
    opacity: 0.35;

    width: min(10.2vw, 94px);
    /* 🔥 15% smaller */
    height: auto;

    object-fit: contain;
    pointer-events: none;
}

.case-volt-fitness .cs-row-2 {
    max-width: 840px;
}

.cs-center img.cs-sketch-medium {
    width: 55%;
    height: auto;
}

.case-ll-animation .cs-center img.cs-ll-small {
    width: 30%;
    height: auto;
}

.case-ll-animation .cs-credits-img {
    overflow: hidden;
    border-radius: 12px;
}

.case-ll-animation .cs-credits-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 fills the container */
    object-position: center;
    /* keeps it centered */
    display: block;
}

.cs-center img.cs-sketch-small {
    width: 40%;
    height: auto;
}

.case-tourism-logo .cs-credits-img img {
    border-radius: 12px;
}

.case-tourism-logo .cs-credits-img {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.case-tourism-logo .cs-credits-img img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-text,
.cs-hero-text,
.cs-dl {
    font-size: 15px;
    line-height: 1.7;
}

.cs-credits h2 {
    margin-bottom: 28px;
    font-size: clamp(20px, 2vw, 26px);
}

.cs-credits-sec {
    padding: 0;
    border-top: 1px solid rgba(11, 11, 11, .12);
}

.cs-credits-body {
    padding: 44px 0 64px;
}

.cs-credits-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 40px;
}

.cs-credits-img {
    width: 100%;
    max-height: 420px;
    border: 1px solid rgba(11, 11, 11, .12);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.cs-credits-img img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-credits {
    padding: 60px 50px 60px 50px;
    padding-right: 30px;
}

.cs-credits-title {
    margin: 0 0 24px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(11, 11, 11, .92);
}

.cs-dl {
    margin: 0;
    display: grid;
    gap: 14px;
    /* font-size: 13px; */
    line-height: 1.6;
    color: rgba(11, 11, 11, .72);
}

.cs-dl div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: start;
}

.cs-dl dt {
    font-weight: 700;
    color: rgba(11, 11, 11, .88);
}

.cs-dl dd {
    margin: 0;
}

/* ----- text layouts ----- */
.cs-two {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

/* ----- centered visuals ----- */
.cs-center {
    display: grid;
    place-items: center;
    padding: 18px 0 0;
}

.cs-center img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-center img.cs-wireframe-small,
.cs-center img.cs-sitemap-small {
    width: 50%;
    /* or 80% depending what you want */
}

.cs-large-image {
    width: 30%;
    height: auto;
}

.cs-center .cs-tall {
    max-width: 240px;
}

/* ----- 2 column image row ----- */
.cs-row-2 {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cs-row-2 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.case-aetherair-website .cs-row-featured {
    margin-top: 34px;
    display: block;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.case-aetherair-website .cs-sitemap-large {
    width: 100%;
    max-width: 780px;
    /* 25% smaller */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    cursor: zoom-in;
}

.img-modal-content {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 12px;
}

.img-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
    padding: 40px;
}


.img-close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 40px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}

/* ----- split visual ----- */
.cs-split-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 26px;
}

.cs-typeblock {
    font-size: 12px;
    color: rgba(11, 11, 11, .72);
    line-height: 1.7;
}

.cs-typeblock .mono {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: rgba(11, 11, 11, .85);
}

/* ----- assets ----- */
.cs-asset {
    display: grid;
    place-items: center;
    margin: 26px auto 0;
    width: 100%;
}

.cs-asset img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-asset--palette {
    max-width: 520px;
    border-radius: 12px;
    overflow: hidden;
}

.cs-asset--typeface {
    max-width: 940px;
}

/* ----- 3 column row ----- */
.cs-pack-row {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: end;
}

.cs-pack-row img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ----- single box image ----- */
.cs-box {
    margin-top: 40px;
    display: grid;
    place-items: center;
}

.cs-box img {
    width: min(520px, 100%);
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ----- bottom nav ----- */
.cs-bottom {
    border-top: 1px solid rgba(11, 11, 11, .12);
    padding: 0;
}

.cs-bottom-bar {
    background: #6e6466;
    color: rgba(255, 255, 255, .9);
    padding: 34px 0;
}

.cs-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.cs-bottom-grid a {
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    opacity: .9;
}

.cs-bottom-grid a:hover {
    opacity: 1;
}

.cs-bottom-under {
    padding: 22px 0 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.cs-bottom-under a {
    font-size: 12px;
    opacity: .8;
}

.cs-bottom-under a:hover {
    opacity: 1;
}

/* ----- optional older components ----- */
.cs-triptych {
    padding: 26px 0;
    border-bottom: 1px solid rgba(11, 11, 11, .12);
}

.cs-triptych-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.cs-shot {
    border: 1px solid rgba(11, 11, 11, .12);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.cs-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ----- responsive ----- */
@media (max-width: 900px) {
    .cs-pillnav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cs-two,
    .cs-split-visual,
    .cs-credits-grid,
    .cs-triptych-grid,
    .cs-pack-row,
    .cs-bottom-grid,
    .cs-bottom-under {
        grid-template-columns: 1fr;
    }

    .cs-bottom-grid,
    .cs-bottom-under {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-yellowbar-marquee {
        animation: none;
    }
}