:root {
    --primary-caseStudyBg: #F4EFE6;
}

body.page-template-case-study {
    background-color: var(--primary-caseStudyBg);
}

/* Hide default site header on case study page */
.page-template-case-study .site-header {
    display: none;
}

.case-study-page {
    width: 100%;
}

/* ==========================================================================
   Case Study Hero Section
   ========================================================================== */
.case-study-hero {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    box-sizing: border-box;
    text-align: center;
}

/* Top Centered Logo in Hero */
.case-study-logo-wrap {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.case-study-logo-link {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.case-study-logo-link:hover {
    opacity: 0.8;
}

.case-study-logo {
    max-width: 110px;
    width: 100%;
    height: auto;
    display: block;
}

/* Main Hero Title */
.case-study-hero-content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.case-study-hero-title {
    font-family: 'HvDTrial Brandon Grotesque', 'Brandon Grotesque', sans-serif;
    font-weight: 900;
    font-size: clamp(42px, 7vw, 98px);
    line-height: 1.05;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--primary-black, #1E1E1E);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.case-study-hero-title span {
    display: block;
    white-space: nowrap;
}

/* ==========================================================================
   Sticky Navigation Bar
   ========================================================================== */
.page-template-case-study .case-study-sticky-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, box-shadow, background-color;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-template-case-study .case-study-sticky-nav.is-stuck {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.page-template-case-study .case-study-sticky-nav .sticky-nav-inner {
    width: 100%;
    padding: 18px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left Side: Email / Nav Label */
.page-template-case-study .case-study-sticky-nav .sticky-nav-left {
    flex: 1;
    text-align: left;
}

.page-template-case-study .case-study-sticky-nav .sticky-nav-left .nav-label,
.page-template-case-study .case-study-sticky-nav .sticky-nav-left .nav-label a {
    font-family: 'AustinModern', serif;
    font-size: 18px;
    color: var(--primary-black, #1E1E1E);
    line-height: 100%;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-style: italic;
    text-transform: none;
    transition: opacity 0.3s ease;
}

.page-template-case-study .case-study-sticky-nav .sticky-nav-left .nav-label a:hover {
    text-decoration: underline;
}

/* Center Side: Brand Title (SAINT-LAZARE PARIS NEW YORK) */
.page-template-case-study .case-study-sticky-nav .sticky-nav-center {
    flex: 2;
    text-align: center;
}

.page-template-case-study .case-study-sticky-nav .nav-brand {
    display: inline-block;
    text-decoration: none;
}

.page-template-case-study .case-study-sticky-nav .case-study-brand-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'HvDTrial Brandon Grotesque', 'Brandon Grotesque', sans-serif;
    font-weight: 900;
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--primary-black, #1E1E1E);
    transition: opacity 0.3s ease;
}

.page-template-case-study .case-study-sticky-nav .case-study-brand-title span {
    display: block;
    white-space: nowrap;
}

/* Right Side: Logo */
.page-template-case-study .case-study-sticky-nav .sticky-nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
}

.page-template-case-study .case-study-sticky-nav .nav-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.page-template-case-study .case-study-sticky-nav .case-study-nav-logo {
    max-width: 44px;
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Case Study About Section
   ========================================================================== */
.case-study-about-section {
    width: 100%;
    padding: 130px 20px;
    background-color: var(--primary-caseStudyBg, #F4EFE6);
    text-align: center;
    box-sizing: border-box;
    scroll-margin-top: 75px;
}

.case-study-about-inner {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

.case-study-about-text {
    font-family: 'AustinModern', 'Austin', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.35;
    color: var(--primary-black, #1E1E1E);
    margin: 0;
    padding: 0;
    text-align: center;
}

.case-study-about-text em {
    font-style: italic;
    font-weight: inherit;
}


.destinations-showcase-section.casestudy-destinations {
    background: transparent;
}

.destinations-showcase-section.casestudy-destinations h2.destinations-title span {
    display: block;
    font-size: 30px;
    font-style: italic;
}

.destinations-showcase-section.casestudy-destinations .destinations-grid .destination-meta .destination-brand-desc {
    font-style: italic;
}

.destinations-showcase-section.casestudy-destinations .destinations-grid .destination-meta .destination-brand-desc span {
    font-style: normal;
}

.destinations-showcase-section.casestudy-destinations .destinations-grid .destination-meta h3 {
    margin-bottom: 10px;
}

/* ==========================================================================
   Trusted By Brands Section
   ========================================================================== */
.case-study-trusted-section {
    width: 100%;
    padding: 40px 0 80px;
    background-color: var(--primary-caseStudyBg, #F4EFE6);
    box-sizing: border-box;
}

.case-study-trusted-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 16px;
    margin-bottom: 60px;
}

.case-study-trusted-title {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-black, #1E1E1E);
    margin: 0;
    line-height: 1.2;
}

.case-study-trusted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0;
    row-gap: 65px;
    align-items: center;
    justify-items: center;
}

.case-study-trusted-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    padding: 0 10px;
    box-sizing: border-box;
}

.case-study-trusted-item img {
    max-width: 70%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ==========================================================================
   Featured Websites & Email Showcase (Crown Creative Style Carousel)
   ========================================================================== */
.case-study-showcase-section {
    width: 100%;
    background-color: var(--primary-caseStudyBg, #F4EFE6);
    padding: 70px 0 110px;
    box-sizing: border-box;
}

.case-study-showcase-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 22px;
    margin-bottom: 50px;
}

.case-study-showcase-tagline {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-black, #1E1E1E);
    margin: 0 0 10px;
    line-height: 1.2;
}

.case-study-showcase-title {
    font-family: 'AustinModern', serif;
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--primary-black, #1E1E1E);
    margin: 0;
}

.case-study-showcase-title em {
    font-style: italic;
    font-weight: inherit;
}

/* Crown Mockup Frame */
.case-study-showcase-carousel-wrap {
    width: 100%;
    position: relative;
}

.showcase-carousel-item {
    padding: 10px 4px 20px;
    box-sizing: border-box;
}

.crown-frame-wrapper {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

.crown-mockup-frame {
    position: relative;
    background: var(--primary-white);
    border: 14px solid #14382C;
    border-radius: 26px;
    box-shadow: 0 26px 65px rgba(20, 56, 44, 0.14);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.crown-frame-wrapper:hover .crown-mockup-frame {
    box-shadow: 0 32px 75px rgba(20, 56, 44, 0.2);
}

/* Bottom Left Frame Badge */
.crown-frame-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-black);
    color: var(--primary-white);
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 14px 28px;
    border-top-right-radius: 12px;
    z-index: 25;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    pointer-events: none;
    box-shadow: 4px -4px 18px rgba(0, 0, 0, 0.2);
}

.crown-frame-badge .badge-divider {
    opacity: 0.45;
}

.crown-frame-badge .badge-type-text {
    color: rgba(255, 255, 255, 0.85);
}

/* Mockup Screen Inside */
.crown-mockup-screen {
    width: 100%;
    box-sizing: border-box;
}

.mockup-screen-inner {
    width: 100%;
    box-sizing: border-box;
}

/* Slide 1 & 3: Web Screen */
.mockup-screen-inner.web-screen {
    padding: 55px 60px 85px;
}

.mockup-browser-header {
    text-align: center;
    margin-bottom: 42px;
}

.mockup-top-eyebrow {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-green);
    display: block;
    margin-bottom: 8px;
}

.mockup-editorial-heading {
    font-family: 'AustinModern', serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.mockup-subhead-text {
    font-size: 16px;
    color: rgba(20, 56, 44, 0.8);
    margin: 10px 0 0;
    font-style: italic;
}

.mockup-web-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.mockup-web-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #e8e1d5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    height: 380px;
}

.mockup-card-media {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mockup-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.mockup-web-card:hover .mockup-card-img {
    transform: scale(1.06);
}

/* Slide 3: Romer House Dining Layout */
.mockup-dining-split-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.dining-main-showcase {
    border-radius: 14px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.dining-side-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--primary-white);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    height: 100%;
    box-sizing: border-box;
}

.dining-side-thumb {
    border-radius: 10px;
    overflow: hidden;
    height: 160px;
    margin-bottom: 18px;
}

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

.dining-side-content h4 {
    font-family: 'AustinModern', serif;
    font-size: 24px;
    color: var(--primary-green);
    margin: 0 0 10px;
    line-height: 1.2;
}

.dining-side-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 16px;
}

.dining-text-cta {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #14382C;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
}

/* Slide 2 & 4: Email Screen */
.mockup-screen-inner.email-screen {
    padding: 45px 55px 75px;
}

.mockup-email-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 16px;
    margin-bottom: 30px;
}

.email-brand-label {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary-black);
    text-transform: uppercase;
}

.email-issue-badge {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.mockup-email-hero-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 34px;
}

.email-kicker {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--primary-green);
    display: block;
    margin-bottom: 10px;
}

.email-editorial-title {
    font-family: 'AustinModern', serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.18;
    color: var(--primary-black);
    margin: 0 0 14px;
}

.email-editorial-excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.72);
    margin: 0 0 24px;
}

.email-mockup-btn {
    display: inline-block;
    background: #14382C;
    color: var(--primary-white);
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(20, 56, 44, 0.2);
    cursor: pointer;
    transition: background 0.3s ease;
}

.mockup-email-hero-media {
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

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

.mockup-email-cards-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 26px;
    align-items: stretch;
}

.mockup-subgrid-col {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--primary-white);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    height: 100%;
    min-height: 110px;
    box-sizing: border-box;
}

.subgrid-media-thumb {
    width: 90px;
    min-width: 90px;
    max-width: 90px;
    height: 90px;
    min-height: 90px;
    max-height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

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

.subgrid-copy h4 {
    font-family: 'AustinModern', serif;
    font-size: 17px;
    color: var(--primary-black);
    margin: 0 0 6px;
    line-height: 1.25;
}

.subgrid-copy p {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
}

/* Carousel Owl Overrides for Showcase */
.case-study-showcase-carousel .owl-dots {
    margin-top: 35px;
    text-align: center;
}

.case-study-showcase-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 6px;
    background: rgba(20, 56, 44, 0.25);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.case-study-showcase-carousel .owl-dot.active span {
    width: 32px;
    border-radius: 10px;
    background: var(--primary-green);
}

/* ==========================================================================
   Case Study Services Section (Static, No Hovers)
   ========================================================================== */
.case-study-services-section {
    width: 100%;
    background-color: var(--primary-green);
    padding: 110px 0 120px;
    box-sizing: border-box;
}

.case-study-services-inner {
    width: 100%;
}

.case-study-services-tagline {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-white);
    margin: 0 0 35px;
    line-height: 1.2;
}

.case-study-services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.case-study-service-item {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: clamp(28px, 4.2vw, 54px);
    font-weight: 500;
    line-height: 1.18;
    text-transform: uppercase;
    color: var(--primary-white);
    margin: 0;
    padding: 0;
    cursor: default;
    pointer-events: none;
    user-select: text;
    transition: none;
}

/* ==========================================================================
   Explore Our Work Section
   ========================================================================== */
.explore-our-work-section {
    width: 100%;
    background-color: var(--primary-coffee);
    padding: 75px 0 85px;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.explore-work-inner {
    width: 100%;
    padding: 0 35px;
    box-sizing: border-box;
}

.explore-work-header {
    width: 100%;
    margin-bottom: 35px;
    text-align: left;
}

.explore-work-title {
    font-family: 'Austin', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(34px, 4.2vw, 50px);
    line-height: 1.1;
    color: var(--primary-yellowDark);
    margin: 0;
    padding: 0;
}

.explore-work-slider-wrap {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
}

.explore-work-carousel:not(.owl-loaded) {
    display: flex;
    gap: 20px;
    overflow-x: auto;
}

.explore-work-carousel:not(.owl-loaded) .explore-work-item {
    flex: 0 0 calc(25% - 15px);
}

.explore-work-carousel.owl-carousel .owl-stage-outer {
    overflow: hidden;
    padding: 6px 0 14px;
}

.explore-work-carousel.owl-carousel .owl-stage {
    display: flex;
    align-items: flex-start;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.explore-work-item {
    position: relative;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
    display: block;
    text-decoration: none;
    cursor: pointer;
    padding-bottom: 14px;
    overflow: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.explore-work-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.08);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.explore-work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.explore-work-item-title {
    font-family: 'AustinModern', 'Austin', serif;
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 500;
    line-height: 1.55;
    color: var(--primary-yellowDark);
    margin: 18px 0 0;
    padding: 6px 8px 10px 4px;
    text-transform: capitalize;
    display: block;
    text-align: left;
    overflow: visible;
    transition: opacity 0.3s ease;
}

.explore-work-item:hover .explore-work-item-title {
    opacity: 0.8;
}

/* ==========================================================================
   Case Study Testimonials Section (Rave Reviews)
   ========================================================================== */
.case-study-testimonials-section {
    width: 100%;
    background-color: var(--primary-coffee);
    padding: 90px 0 100px;
    box-sizing: border-box;
    overflow: hidden;
    border-top: 1px solid rgba(223, 158, 62, 0.15);
}

.case-study-testimonials-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.case-study-testimonials-tagline {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-yellowDark);
    margin: 0;
    line-height: 1.2;
}

.case-study-testimonials-slider-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.case-study-testimonials-carousel .case-study-testimonial-item {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    padding: 0 10px;
    box-sizing: border-box;
}

.testimonial-highlight-quote {
    font-family: 'AustinModern';
    font-size: clamp(26px, 3.4vw, 44px);
    font-weight: 500;
    line-height: 1.28;
    color: var(--primary-yellowDark);
    margin: 0 auto 28px;
    max-width: 860px;
    text-align: center;
}

.testimonial-body-quote {
    font-family: 'Brandon Grotesque', 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: clamp(15px, 1.3vw, 17px);
    font-weight: 400;
    line-height: 1.68;
    color: var(--primary-white);
    margin: 0 auto 32px;
    max-width: 840px;
    text-align: center;
    border: none;
    padding: 0;
    opacity: 0.95;
}

.testimonial-author-name {
    font-family: 'HvDTrial Brandon Grotesque', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-yellowDark);
    margin: 0;
    text-align: center;
}

/* ==========================================================================
   Powering 176,000+ relationship-driven brands
   ========================================================================== */
.tools-trade-section.case-study-brands {
    background: var(--primary-white);
    padding: 80px 0;
}

.tools-trade-section.case-study-brands .tools-trade-header h5 {
    text-transform: unset;
}

.tools-trade-section.case-study-brands .tools-trade-divider {
    display: none;
}

.tools-trade-section.case-study-brands .tools-trade-header h5 {
    text-transform: unset;
    font-size: 40px;
    max-width: 640px;
    font-weight: 400;
    margin: 0 auto 80px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
    .case-study-hero {
        min-height: 53dvh;
        padding: 100px 16px 40px;
    }

    /* Fixed at top on mobile page load - exactly like front-page */
    .page-template-case-study .case-study-sticky-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background-color: transparent;
        border-bottom: none;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .page-template-case-study .case-study-sticky-nav.is-stuck {
        background-color: var(--primary-gray);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    body.menu-open .page-template-case-study .case-study-sticky-nav {
        background-color: var(--primary-white);
        box-shadow: none;
    }

    /* Hero section adjustments for fixed mobile nav */
    .case-study-hero {
        padding-top: 110px;
    }

    .case-study-logo-wrap {
        top: 70px;
    }

    .case-study-logo {
        max-width: 95px;
    }

    .case-study-hero-title {
        font-size: clamp(34px, 6.8vw, 68px);
        line-height: 1.08;
    }

    .page-template-case-study .case-study-sticky-nav .sticky-nav-inner {
        padding: 12px 0;
    }

    .page-template-case-study .case-study-sticky-nav .sticky-nav-left span.nav-label,
    .page-template-case-study .case-study-sticky-nav .sticky-nav-left .nav-label {
        display: none !important;
    }

    .page-template-case-study .case-study-sticky-nav .case-study-brand-title {
        font-size: 18px;
    }

    .page-template-case-study .case-study-sticky-nav .sticky-nav-right {
        visibility: hidden;
    }

    .case-study-about-section {
        padding: 90px 20px;
        scroll-margin-top: 60px;
    }

    .case-study-about-text {
        font-size: clamp(24px, 4.2vw, 34px);
        line-height: 1.38;
    }

    .case-study-about-section {
        padding: 0 0 50px;
        scroll-margin-top: 50px;
    }

    .case-study-trusted-section {
        padding: 50px 0 80px;
    }

    .case-study-trusted-header {
        padding-bottom: 14px;
        margin-bottom: 45px;
    }

    .case-study-trusted-item img {
        max-width: 100%;
    }

    .case-study-trusted-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 35px;
        row-gap: 50px;
    }

    .case-study-showcase-section {
        padding: 50px 0 80px;
    }

    .case-study-showcase-header {
        margin-bottom: 35px;
    }

    .crown-mockup-frame {
        border-width: 10px;
        border-radius: 20px;
    }

    .mockup-screen-inner.web-screen {
        padding: 40px 30px 65px;
    }

    .mockup-screen-inner.email-screen {
        padding: 35px 30px 65px;
    }

    .mockup-dining-split-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mockup-email-hero-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .crown-frame-badge {
        font-size: 11px;
        padding: 11px 20px;
        letter-spacing: 1.5px;
    }

    .case-study-services-section {
        padding: 80px 0 90px;
    }

    .case-study-services-tagline {
        margin-bottom: 25px;
    }

    .case-study-service-item {
        font-size: clamp(24px, 4.6vw, 38px);
    }

    .explore-our-work-section {
        padding: 55px 0 65px;
    }

    .explore-work-inner {
        padding: 0 24px;
    }

    .explore-work-header {
        margin-bottom: 25px;
    }

    .explore-work-title {
        font-size: clamp(30px, 5.2vw, 42px);
    }

    .explore-work-item-title {
        font-size: 20px;
        line-height: 1.55;
        margin-top: 16px;
        padding: 6px 8px 10px 4px;
        overflow: visible;
    }

    .case-study-testimonials-section {
        padding: 65px 0 75px;
    }

    .case-study-testimonials-header {
        margin-bottom: 30px;
    }

    .testimonial-highlight-quote {
        font-size: clamp(22px, 4vw, 32px);
        margin-bottom: 22px;
    }

    .mockup-web-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tools-trade-section.case-study-brands {
        padding: 60px 0;
    }

    .tools-trade-section.case-study-brands .tools-trade-header h5 {
        font-size: 30px;
        margin: 0 auto 50px;
    }

     .mockup-web-cards-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }

    .mockup-email-cards-subgrid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 575px) {

    .case-study-logo-wrap {
        top: 65px;
    }

    .case-study-logo {
        max-width: 80px;
    }

    .case-study-hero-title {
        font-size: clamp(26px, 8vw, 40px);
        line-height: 1.15;
    }

    .case-study-hero-title span {
        white-space: normal;
        word-break: break-word;
    }

    .page-template-case-study .case-study-sticky-nav .case-study-brand-title {
        font-size: 15px;
    }

    .case-study-about-text br.about-br {
        display: none;
    }

    .case-study-about-text {
        font-size: clamp(21px, 5.8vw, 26px);
        line-height: 1.42;
    }

    .case-study-trusted-section {
        padding: 40px 0 60px;
    }

    .case-study-trusted-header {
        padding-bottom: 12px;
        margin-bottom: 35px;
    }

    .case-study-trusted-title {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .case-study-trusted-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 36px;
    }

    .case-study-trusted-item img {
        max-width: 80%;
        max-height: 50px;
    }

    .case-study-showcase-section {
        padding: 40px 0 60px;
    }

    .crown-mockup-frame {
        border-width: 8px;
        border-radius: 16px;
    }

    .mockup-screen-inner.web-screen {
        padding: 28px 14px 50px;
    }

    .mockup-screen-inner.email-screen {
        padding: 24px 14px 50px;
    }

    .mockup-browser-header {
        margin-bottom: 24px;
    }

    .mockup-editorial-heading {
        font-size: 34px;
    }

    .mockup-web-card {
        border-radius: 8px;
    }

    .crown-frame-badge {
        font-size: 9.5px;
        padding: 8px 14px;
        letter-spacing: 1.2px;
        gap: 6px;
    }

    .mockup-subgrid-col {
        flex-direction: column;
        align-items: flex-start;
    }

    .subgrid-media-thumb {
        width: 100%;
        height: 120px;
    }

    .case-study-services-section {
        padding: 60px 0 70px;
    }

    .case-study-services-tagline {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .case-study-service-item {
        font-size: clamp(20px, 6vw, 28px);
        line-height: 1.22;
    }

    .explore-work-inner {
        padding: 0 16px;
    }

    .explore-work-header {
        margin-bottom: 20px;
    }

    .explore-work-title {
        font-size: clamp(26px, 7vw, 34px);
    }

    .explore-work-item {
        padding-bottom: 16px;
        overflow: visible;
    }

    .explore-work-item-title {
        font-size: 18px;
        line-height: 1.55;
        margin-top: 14px;
        padding: 6px 8px 12px 6px;
        overflow: visible;
    }

    .case-study-testimonials-section {
        padding: 50px 0 60px;
    }

    .case-study-testimonials-header {
        margin-bottom: 24px;
    }

    .testimonial-highlight-quote {
        font-size: clamp(20px, 5.8vw, 26px);
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .testimonial-author-name {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
}