/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #faf8f5;
    font-family: 'Open Sauce One', sans-serif;
    color: #1e1e1e;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================
   Scrollbar Styling (desktop, per brand color)
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 6%;
}

/* Premium Gradient Mesh Backgrounds */
.gradient-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Tracks the true visible viewport as mobile browser toolbars show/hide */
    background: url('assets/hero-background.png') no-repeat right top;
    background-size: auto 100%;
    z-index: -2;
    pointer-events: none;
}

.gradient-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    height: 120dvh;
    background: radial-gradient(circle at bottom left, rgba(251, 194, 235, 0.35) 0%, rgba(161, 140, 209, 0.25) 50%, transparent 100%);
    z-index: -2;
    pointer-events: none;
}

/* Standalone Home Page Styling: fullscreen, no scrolling on any breakpoint */
body.home-body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* Sticky Header Navbar */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
    position: fixed;
    background-color: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 6%;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .header-container {
    height: 75px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 49px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img:hover {
    transform: scale(1.06);
}

.nav {
    display: flex;
    gap: 15vw; /* Fluid spacer to position WORKS and ABOUT exactly like Canva */
}

.nav-link {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    color: #1e1e1e;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-link.active {
    color: #1e1e1e;
}

/* Hide the quick-link to whichever page you're currently on, desktop and mobile alike.
   visibility (not display) so the other link stays put in its homepage position. */
.works-body .works-nav-link,
.about-body .about-nav-link {
    visibility: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100dvh;
    padding-top: 100px;
    padding-bottom: 75px;
    display: flex;
    align-items: flex-end;
}

.hero-title {
    width: 100%;
    line-height: 1.25;
    color: #1e1e1e;
    margin-bottom: 25px;
}

.hero-title-light {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 54px;
    font-weight: 700;
    color: #1e1e1e;
    letter-spacing: -0.5px;
    text-transform: lowercase;
    display: inline-block;
    margin-bottom: 4px;
}

.hero-title-serif {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 54px;
    font-weight: 700;
    color: #1e1e1e;
    text-transform: lowercase;
    display: inline;
}

.hero-title-script {
    font-family: 'Great Vibes', cursive;
    font-size: 64px;
    color: #1e1e1e; /* Dark script to match original */
    font-weight: 400;
    text-transform: lowercase;
    display: inline-block;
    margin-left: 12px;
    transform: translateY(6px);
}

/* Intro Grid Collage Section */
.intro-grid-section {
    padding-top: 80px;
    padding-bottom: 120px;
}

.works-page-grid {
    padding-top: 140px;
    padding-bottom: 30px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-item {
    background-color: #fff;
    border: 1px solid #1e1e1e; /* Bold borders to match reference PDF */
    border-radius: 0; /* Square corners to match reference PDF */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.grid-item:hover img {
    transform: scale(1.01);
}

.eec-mockup-item {
    grid-column: span 2;
    aspect-ratio: 2.88 / 1;
}

.tilikum-card-item {
    grid-column: span 1;
}

.eec-banner-item {
    grid-column: span 1;
}

.gaia-collage-item {
    grid-column: span 2;
    aspect-ratio: 2.88 / 1;
}


/* Project Sections (Standard Layout) */
.project-section {
    padding: 120px 0;
    border-left: 10px solid transparent;
    transition: border-left-color 0.4s ease;
}

/* Specific Section Colors */
.section-manila-cargo {
    border-left-color: #3e54a3;
}

.section-tilikum {
    border-left-color: #d4688b;
}

.section-gaia-meals {
    border-left-color: #829c3d;
}

.section-pru-life {
    border-left-color: #cb3f3f;
}

.project-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
}

.project-info {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.project-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 8px;
}

.project-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1.1;
    margin-bottom: 5px;
}

.project-subtitle {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    color: #666;
    margin-bottom: 25px;
}

.description-box {
    border: 1px dotted #8e8d8a;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 300px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Gallery & Graphics */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.full-width-mockup {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* Manila Cargo Specifics */
.manila-cargo-mockup {
    max-width: 400px;
    width: 100%;
    display: block;
    margin-bottom: -15px; /* Adjust spacing to layout below it */
}

.gallery-middle {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

.phone-feed-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.phone-feed-img {
    width: 100%;
    display: block;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.instagram-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.instagram-grid img:hover {
    transform: scale(1.04) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.gallery-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.bottom-half-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease;
}

.bottom-half-img:hover {
    transform: scale(1.01);
}

/* Tilikum Print Scatter Gallery */
.tilikum-scatter-gallery {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    height: 480px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 40px;
}

.scatter-item {
    position: absolute;
    width: 260px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #fff;
    padding: 6px;
    cursor: pointer;
}

.scatter-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.scatter-1 {
    left: 8%;
    transform: rotate(-6deg) translateY(20px);
    z-index: 2;
}

.scatter-2 {
    left: 36%;
    transform: rotate(4deg) translateY(-20px);
    z-index: 3;
}

.scatter-3 {
    right: 8%;
    transform: rotate(-3deg) translateY(30px);
    z-index: 1;
}

.scatter-item:hover {
    transform: translateY(-30px) rotate(0deg) scale(1.06);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16);
}

/* Gaia Meals Specifics */
.gaia-diagonal-posters {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.diagonal-poster-container {
    width: 46%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.diagonal-poster {
    width: 100%;
    display: block;
}

.p-left {
    transform: rotate(-3deg) translateY(10px);
}

.p-right {
    transform: rotate(3deg) translateY(-10px);
}

.diagonal-poster-container:hover {
    transform: scale(1.03) rotate(0deg);
    z-index: 5;
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.gaia-sets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.set-card {
    text-align: center;
    cursor: pointer;
}

.set-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.set-card:hover img {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.set-title {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    line-height: 1.4;
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.gaia-bottom-section {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    gap: 40px;
    align-items: center;
}

.gaia-post-left, .gaia-post-right {
    width: 100%;
}

.gaia-post-left img, .gaia-post-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: transform 0.4s ease;
}

.gaia-post-left img:hover, .gaia-post-right img:hover {
    transform: translateY(-4px);
}

/* CSS Phone Video Mockup */
.gaia-video-phone-mockup {
    width: 280px;
    height: 560px;
    background: #000;
    border: 12px solid #2d2d2d;
    border-radius: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), inset 0 0 5px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* Speaker Notch */
.gaia-video-phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 22px;
    background-color: #2d2d2d;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

/* Pru Life UK Specifics */
.pru-top-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hanging-poster-container {
    position: relative;
    max-width: 520px;
    padding-top: 35px;
}

/* Custom hanging pins/clips */
.hanging-poster-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 2px;
    height: 35px;
    background: #aaa;
}

.hanging-poster-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 20%;
    width: 2px;
    height: 35px;
    background: #aaa;
}

/* Metal clips rendering */
.hanging-poster-container::before, .hanging-poster-container::after {
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.hanging-poster {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: block;
    transition: transform 0.5s ease;
}

.hanging-poster:hover {
    transform: scale(1.01) translateY(2px);
}

.pru-middle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pru-poster {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.pru-poster:hover {
    transform: translateY(-4px);
}

.pru-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.qualifier-card {
    width: 100%;
}

.qualifier-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.qualifier-card img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* About Section */
.about-section {
    padding: 150px 0;
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
}

.about-content {
    max-width: 680px;
    margin-left: auto;
    text-align: left;
}

.about-text-lead {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: #2b2b2b;
    margin-bottom: 30px;
}

.about-text-sub {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Standalone About Page Styling */
body.about-body {
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    overflow: hidden; /* Prevent scrolling, fullscreen layout */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.about-body .gradient-bg {
    left: 0;
    right: auto;
    transform: scaleX(-1); /* Mirror the background image to place the pink noise gradient on the left */
}

/* About Main Container */
.about-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    padding: 100px 6% 80px 6%;
    box-sizing: border-box;
    width: 100%;
}

.about-container {
    width: 100%;
    padding: 0; /* Cancel the .container class's 6% padding — .about-main already provides it */
    display: flex;
    justify-content: flex-end;
}

.about-body .about-page-content {
    max-width: 580px;
    text-align: right; /* Right align the text to match screenshot */
}

.about-body .about-text-lead,
.about-body .about-text-sub {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 26px; /* Larger body text on desktop */
    font-weight: 400;
    line-height: 1.7;
    color: #111111;
}

.about-body .about-text-lead {
    margin-bottom: 30px;
}

/* Footer overrides specifically for the standalone About page */
body.about-body .footer {
    position: relative;
    padding: 40px 0 60px 0;
    background-color: transparent;
    border-top: none; /* No top border line on about page */
    width: 100%;
    box-sizing: border-box;
}

body.about-body .footer-name {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 600;
    font-size: 36px; /* Large name on bottom left matching Canva weight */
    line-height: 1.2;
    color: #111111;
    margin-bottom: 8px;
}

body.about-body .footer-copyright {
    font-size: 22px;
    color: #111111;
}

body.about-body .footer-contact {
    font-size: 23px;
    color: #111111;
}

/* Responsive overrides for About Page */
@media (max-width: 1024px) {
    .about-body .about-page-content {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    body.about-body {
        height: 100vh;
        height: 100dvh;
        overflow: hidden; /* Fits on one screen, prevent scrolling */
    }
    body.about-body .gradient-bg {
        background-image: url('assets/about-background-mobile.png');
        background-size: cover;
        background-position: center;
        transform: none; /* Dedicated mobile asset, don't mirror it like the desktop one */
    }
    .about-main {
        padding: 90px 6% 20px 6%;
    }
    .about-body .about-page-content {
        max-width: 100%;
        text-align: right;
    }
    .about-body .about-text-lead,
    .about-body .about-text-sub {
        font-size: 16px;
    }
    body.about-body .footer {
        padding: 20px 0 30px 0;
        border-top: none;
    }
    body.about-body .footer-name {
        font-size: 22px;
    }
    body.about-body .footer-copyright {
        font-size: 13px;
    }
    body.about-body .footer-contact {
        font-size: 14px;
    }
}

/* Footer Section */
.footer {
    padding: 80px 0;
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-name {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1e1e1e;
}

.footer-copyright {
    font-size: 12px;
    color: #888;
}

.footer-contact {
    font-size: 14px;
    color: #555;
}

.email-link {
    color: #111111;
    font-weight: 600;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* ==========================================
   Contact Form Modal (About page)
   ========================================== */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 30, 30, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    background: #FAF8F5;
    border-radius: 20px;
    padding: 48px 40px 40px 40px;
    box-sizing: border-box;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-overlay.is-open .contact-modal {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #1e1e1e;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.contact-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
}

.contact-modal-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1e1e1e;
    margin: 0 0 24px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-field label {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.3px;
}

.contact-field-optional {
    font-weight: 400;
    color: #999;
}

.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 15px;
    color: #1e1e1e;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.contact-field input[type="text"]:focus,
.contact-field input[type="email"]:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #d4688b;
}

.contact-field input[type="text"]::placeholder,
.contact-field input[type="email"]::placeholder,
.contact-field textarea::placeholder {
    color: rgba(30, 30, 30, 0.35);
}

.contact-field input[type="file"] {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 13px;
    color: #555;
}

.contact-submit {
    margin-top: 8px;
    padding: 14px 24px;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: #1e1e1e;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
    opacity: 0.85;
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: default;
}

.contact-form-error {
    font-size: 13px;
    color: #cb3f3f;
    margin: 0;
}

.contact-modal-success {
    text-align: center;
    padding: 20px 0 8px 0;
}

.contact-modal-success p {
    font-family: 'Open Sauce One', sans-serif;
    color: #555;
    font-size: 15px;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .contact-modal {
        padding: 40px 24px 32px 24px;
        border-radius: 16px;
    }
}

/* Responsive Polish */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .project-info {
        position: static;
    }
    
    .description-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header-container {
        padding: 0 24px;
    }

    .gradient-bg {
        background-position: 30% top;
    }

    body.home-body .gradient-bg {
        background-image: url('assets/hero-background-mobile.png');
        background-size: cover;
        background-position: center;
    }

    .hero-section {
        align-items: center;
        padding-bottom: 0;
    }

    .hero-title {
        text-align: center;
        margin-bottom: 0;
    }

    .hero-title-light,
    .hero-title-serif {
        font-size: 30px;
    }

    .hero-title-script {
        font-size: 46px;
        margin-left: 0;
        display: block;
        margin-top: 2px;
    }
    
    /* Works page mobile: lock scrolling entirely, same one-screen treatment as the About page. */
    body.works-body {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    /* Works page mobile: section fills the viewport so leftover vertical
       space (after the 3 fixed-size image rows) becomes screen-size-aware
       padding/gaps instead of dead space at the bottom. */
    .works-page-grid {
        display: flex;
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 100px;
        padding-bottom: 16px;
    }

    /* Works page mobile grid: 2-column, uniform row heights from gaia's exact pixel ratio.
       Image sizes stay fixed (row-tracks below); align-content distributes
       any extra vertical space evenly as top/bottom padding + inter-row gaps
       so the tiles always span the full screen height without resizing. */
    .intro-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 15px;
        row-gap: 0;
        height: 100%;
        align-content: space-evenly;
        grid-template-rows:
            calc((100vw - 48px) * 293 / 845)
            calc((100vw - 48px) * 293 / 845)
            calc((100vw - 48px) * 293 / 845);
    }

    /* Row 1: phones full width — contain prevents zoom-in */
    .eec-mockup-item {
        grid-column: 1 / -1;
        grid-row: 1;
        aspect-ratio: auto;
    }

    .eec-mockup-item img {
        object-fit: contain;
    }

    /* Row 2: Pru left, Tilikum right */
    .eec-banner-item {
        grid-column: 1;
        grid-row: 2;
        aspect-ratio: auto;
    }

    .tilikum-card-item {
        grid-column: 2;
        grid-row: 2;
        aspect-ratio: auto;
    }

    /* Row 3: Gaia full width — contain guarantees no bottom crop */
    .gaia-mobile-left {
        display: none;
    }

    .gaia-collage-item {
        grid-column: 1 / -1;
        grid-row: 3;
        aspect-ratio: auto;
    }

    .gaia-collage-item img {
        object-fit: contain;
    }

    .gallery-middle {
        grid-template-columns: 1fr;
    }

    .phone-feed-container {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .tilikum-scatter-gallery {
        height: auto;
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px;
    }
    
    .scatter-item {
        position: static;
        width: 100%;
        max-width: 300px;
        transform: none !important;
    }

    .scatter-item:hover {
        transform: translateY(-8px) scale(1.02) !important;
    }

    .gaia-diagonal-posters {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .diagonal-poster-container {
        width: 100%;
        max-width: 320px;
        transform: none !important;
    }

    .gaia-sets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gaia-bottom-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gaia-post-left, .gaia-post-right {
        max-width: 320px;
        margin: 0 auto;
    }

    .pru-middle-row {
        grid-template-columns: 1fr;
    }
    
    .pru-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .qualifier-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

/* ==========================================
   Manila Cargo Editorial Redesign
   ========================================== */

/* Page Background and Base Styles */
body.manila-cargo-body {
    background-color: #FAF5EE !important;
    color: #111111 !important;
    font-family: 'Hanken Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Adjustments for Manila Cargo Subpage */
body.manila-cargo-body .header:not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.manila-cargo-body .header.scrolled {
    background-color: rgba(250, 245, 238, 0.92) !important; /* Warm cream matching background color */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

body.manila-cargo-body .nav-link {
    color: #111111 !important;
}

body.manila-cargo-body .nav-link:hover {
    color: #E8498A !important;
    opacity: 1 !important;
}

body.manila-cargo-body .header-container {
    padding-left: 72px;
    padding-right: 72px;
}

/* Two-Column split layout */
.mc-split-container {
    display: grid;
    grid-template-columns: min(880px, 58vw) 1fr;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    padding: 140px 0 0 72px;
    box-sizing: border-box;
    align-items: stretch;
}

.mc-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 48px;
    height: 100%;
    min-height: 500px;
    min-width: 0;
    box-sizing: border-box;
}

.mc-right-col {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Client Badge */
.mc-badge {
    width: 208px; /* Doubled, then shrunk 20% per request */
    height: auto;
    display: block;
    margin-bottom: 20px;
    opacity: 0; /* Animated */
}

/* Headline */
.mc-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px; /* Reduced gap to match Canva reference */
    line-height: 1.1;
}

.mc-headline-line1 {
    font-family: 'Open Sauce One', sans-serif; /* Match Canva reference */
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 600; /* Regular bold to match Canva reference */
    letter-spacing: -0.01em;
    color: #111111;
    margin: 0;
    opacity: 0; /* Animated */
}

.mc-headline-line2 {
    font-family: 'Open Sauce One', sans-serif; /* Match Canva reference */
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 600; /* Match Canva reference */
    font-style: italic;
    color: #111111;
    margin: 4px 0 0 0;
    opacity: 0; /* Animated */
}

/* Dashed Card */
.mc-dashed-card {
    width: 100%;
    max-width: 720px;
    padding: 20px 24px;
    border: 1.5px dashed #111111; /* Thinner dark dashed border matching reference */
    border-radius: 16px;
    background-color: transparent;
    box-sizing: border-box;
    margin-bottom: 48px;
    opacity: 0; /* Animated */
}

.mc-dashed-card p {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.55;
    color: #111111;
    margin: 0;
    text-align: left;
}

/* Back Link Style */
.mc-back-container {
    margin-top: auto; /* Push to the end of the top-heavy content block if needed, or just let it follow naturally */
}

.mc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.mc-back-link:hover {
    color: #E8498A;
}

/* Device Mockup */
.mc-mockup-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
}

.mc-mockup-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 90px rgba(0, 0, 0, 0.13)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.07));
}

/* Animations */
@keyframes fadeInUp12 {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp16 {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp8 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-badge {
    animation: fadeInUp12 400ms ease-out forwards;
    animation-delay: 100ms;
}

.animate-headline-1 {
    animation: fadeInUp16 500ms ease-out forwards;
    animation-delay: 200ms;
}

.animate-headline-2 {
    animation: fadeInUp16 500ms ease-out forwards;
    animation-delay: 400ms;
}

.animate-card {
    animation: fadeInUp8 400ms ease-out forwards;
    animation-delay: 600ms;
}

.animate-mockup {
    animation: scaleFadeIn 600ms ease-out forwards;
    animation-delay: 200ms;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .mc-headline-line1, .mc-headline-line2 {
        font-size: 65px;
    }
    .mc-split-container {
        grid-template-columns: 55fr 45fr;
        padding-left: 48px;
        padding-right: 48px;
    }
    body.manila-cargo-body .header-container {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 1024px) {
    .mc-headline-line1, .mc-headline-line2 {
        font-size: 55px;
    }
    .mc-split-container {
        grid-template-columns: 52fr 48fr;
        padding-left: 48px;
        padding-right: 48px;
    }
    body.manila-cargo-body .header-container {
        padding-left: 48px;
        padding-right: 48px;
    }
    .mc-mockup-container {
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    body.manila-cargo-body .header-container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .mc-split-container {
        grid-template-columns: 1fr;
        height: auto; /* Let stacked content grow past 100vh instead of being compressed/clipped */
        align-items: start;
        padding: 120px 24px 0 24px; /* Bottom padding to 0 so mockup touches bottom */
        gap: 48px;
    }
    .mc-left-col {
        padding-right: 0;
        min-height: auto;
    }
    .mc-badge {
        width: 104px; /* Doubled, then shrunk 20% per request, still half of desktop size */
        margin-bottom: 16px;
    }
    .mc-dashed-card {
        margin-bottom: 0; /* Let grid gap handle spacing on mobile to prevent huge space */
    }
    .mc-right-col {
        justify-content: flex-start; /* Align left to match dashed card */
        align-items: flex-end; /* Align mockup bottom flush */
        width: 100%;
    }
    .mc-mockup-container {
        max-width: 100%;
        width: 100%;
        justify-content: flex-start; /* Align left to match dashed card */
    }
    .mc-mockup-img {
        width: 100%;
        max-width: 100%; /* Fill the container space */
        height: auto;
    }
    .mc-headline-line1, .mc-headline-line2 {
        font-size: 37.5px;
        white-space: normal;
    }
    .mc-dashed-card p {
        font-size: 19px; /* Increased to match Canva reference proportion */
        line-height: 1.5;
    }
}

@media (max-width: 375px) {
    .mc-headline-line1, .mc-headline-line2 {
        font-size: 28.5px;
        white-space: normal;
    }
    .mc-split-container {
        padding: 100px 24px 0 24px;
    }
    body.manila-cargo-body .header-container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .mc-dashed-card {
        max-width: 100%;
    }
}

/* ==========================================
   Manila Cargo Gallery Section Styling
   ========================================== */
.mc-gallery-section {
    width: 100vw;
    position: relative;
    padding: 80px 0 120px 0;
    box-sizing: border-box;
    background-color: #FAF5EE;
    opacity: 0;
}


.mc-gallery-container {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    column-gap: 0;
    align-items: center;
    width: 100%;
    padding: 0 144px 0 144px;
    box-sizing: border-box;
}

.mc-gallery-phone {
    width: calc(100% + 25px) !important;
    max-width: none !important;
    position: relative;
    z-index: 10; /* Stack on top of adjacent images */
    margin-right: -25px; /* Overlap by 25px */
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.08));
}

.mc-gallery-phone-img {
    width: 100%;
    display: block;
    height: auto;
}

.mc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mc-grid-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mc-grid-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.mc-back-bottom {
    max-width: 1300px;
    margin: 80px auto 0 auto;
    display: flex;
    justify-content: flex-start;
}

.animate-gallery {
    animation: fadeInUp12 600ms ease-out forwards;
    animation-delay: 1000ms;
}

.mc-mobile-carousel-container {
    display: none;
}

/* Gallery Responsive Overrides */
@media (max-width: 1024px) {
    .mc-gallery-section {
        padding: 60px 0 80px 0;
    }
    .mc-gallery-container {
        grid-template-columns: 1fr 2.5fr;
        column-gap: 0;
        padding: 0 96px 0 96px;
    }
    .mc-gallery-grid {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .mc-gallery-section {
        width: 100vw;
        padding: 40px 0 60px 0;
    }
    .mc-gallery-container {
        grid-template-columns: 1fr;
        gap: 48px;
        justify-items: center;
        padding: 0 24px 0 24px; /* Slightly adjusted for standard mobile padding */
    }
    .desktop-only {
        display: none !important;
    }
    .mc-mobile-carousel-container {
        display: block;
        width: 100%;
        max-width: 75%; /* Relative to screen width so it stays clear of the edges on any phone size */
        margin: 0 auto;
        position: relative;
    }
    .mc-carousel-phone-wrapper {
        position: relative;
        width: 100%;
        filter: drop-shadow(0 20px 50px rgba(0,0,0,0.08));
    }
    .mc-carousel-phone-bg {
        width: 100%;
        height: auto;
        display: block;
    }
    .mc-carousel-wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 26.81%; /* Positioned exactly below the "Posted by Nichole" sub-header text */
        width: 100.35%; /* Perfect width to fill the space down to the action buttons */
        height: 50.5%; /* Extends down to just above the "Boost post" row, slimming the padding below */
        z-index: 15;
    }
    .mc-carousel-viewport {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 8px; /* Smooth rounded corners matching reference */
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18), 0 5px 15px rgba(0, 0, 0, 0.08); /* 3D floating drop shadow */
    }
    .mc-carousel-track {
        display: flex;
        width: 700%; /* 7 slides */
        height: 100%;
        transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .mc-carousel-slide {
        width: 14.2857%;
        height: 100%;
        flex-shrink: 0;
    }
    .mc-carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .mc-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.4);
        color: #ffffff;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        z-index: 20;
        transition: background-color 0.3s ease;
    }
    .mc-carousel-arrow:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }
    .mc-carousel-arrow.prev {
        left: -46px; /* Off the carousel images, but tucked in closer to the phone */
    }
    .mc-carousel-arrow.next {
        right: -46px; /* Off the carousel images, but tucked in closer to the phone */
    }
    .mc-back-bottom {
        margin-top: 40px;
        justify-content: center;
    }
}


/* ==========================================
   Manila Cargo Interactive Media Section
   ========================================== */
.mc-media-section {
    width: 100vw;
    position: relative;
    padding: 0 0 30px 0;
    box-sizing: border-box;
    background-color: #FAF5EE;
    opacity: 0;
}

.mc-media-container {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding: 0 144px;
    box-sizing: border-box;
}

/* Height formula so both items at their natural ratios fill the full width:
   scanner (1:1) + gap (24px) + puzzle (9:16) = 100vw - 288px padding
   H + H×0.5625 = 100vw - 288px - 24px
   H × 1.5625 = 100vw - 312px
   H = (100vw - 312px) / 1.5625 */
.mc-media-scanner {
    flex: 0 0 auto;
    height: calc((100vw - 312px) / 1.5625);
    aspect-ratio: 1 / 1;
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

.mc-media-puzzle {
    flex: 0 0 auto;
    height: calc((100vw - 312px) / 1.5625);
    aspect-ratio: 1080 / 1920;
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

.mc-scanner-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.mc-puzzle-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.animate-media-section {
    animation: fadeInUp12 600ms ease-out forwards;
    animation-delay: 1100ms; /* Appears slightly after the main gallery section */
}

/* Media Section Responsive Overrides */
@media (max-width: 1024px) {
    .mc-media-section {
        padding: 0 0 30px 0;
    }
    .mc-media-container {
        gap: 16px;
        padding: 0 96px;
    }
    /* H = (100vw - 192px padding - 16px gap) / 1.5625 = (100vw - 208px) / 1.5625 */
    .mc-media-scanner,
    .mc-media-puzzle {
        height: calc((100vw - 208px) / 1.5625);
    }
}

@media (max-width: 768px) {
    .mc-media-section {
        width: 100vw;
        padding: 0 0 30px 0;
    }
    /* Stack the two assets one-on-top-of-the-other instead of side-by-side */
    .mc-media-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 0 24px;
    }
    .mc-media-scanner,
    .mc-media-puzzle {
        width: 100%;
        max-width: 360px;
        height: auto; /* aspect-ratio (set above) now drives the height since it's no longer sharing a row */
    }
}

@media (max-width: 480px) {
    .mc-media-container {
        padding: 0 24px;
        gap: 20px;
    }
}

/* ==========================================
   Disable Hover Zoom / Bounce Across the Site
   ========================================== */
.logo-img:hover,
.grid-item:hover img,
.instagram-grid img:hover,
.bottom-half-img:hover,
.gaia-post-left img:hover,
.gaia-post-right img:hover,
.hanging-poster:hover,
.pru-poster:hover,
.qualifier-card img:hover,
.mc-grid-img:hover,
.mc-scanner-video:hover,
.mc-puzzle-gif:hover,
.ttc-grid-img:hover,
.set-card:hover img {
    transform: none !important;
}

/* For elements with default rotations/offsets, keep them exactly as-is on hover */
.scatter-1:hover {
    transform: rotate(-6deg) translateY(20px) !important;
}
.scatter-2:hover {
    transform: rotate(4deg) translateY(-20px) !important;
}
.scatter-3:hover {
    transform: rotate(-3deg) translateY(30px) !important;
}
.p-left:hover {
    transform: rotate(-3deg) translateY(10px) !important;
}
.p-right:hover {
    transform: rotate(3deg) translateY(-10px) !important;
}

/* ==========================================
   Tilikum Tree Care Subpage Styling
   ========================================== */

/* Page Background and Base Styles */
body.tilikum-body {
    background-color: #FAF5EE !important;
    color: #111111 !important;
    font-family: 'Hanken Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Adjustments for Tilikum Subpage */
body.tilikum-body .header:not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.tilikum-body .header.scrolled {
    background-color: rgba(250, 245, 238, 0.92) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

body.tilikum-body .nav-link {
    color: #111111 !important;
}

body.tilikum-body .nav-link:hover {
    color: #E8498A !important;
    opacity: 1 !important;
}

/* Two-Column split layout for Tilikum */
.ttc-split-container {
    display: grid;
    grid-template-columns: min(880px, 58vw) 1fr;
    width: 100%;
    min-height: calc(100vh - 140px);
    margin-top: 0;
    margin-bottom: 150px;
    padding: 140px 0 0 72px;
    box-sizing: border-box;
    align-items: stretch;
}

.ttc-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 40px;
    padding-right: 48px;
    height: 100%;
    min-height: 500px;
    min-width: 0;
    box-sizing: border-box;
}

.ttc-right-col {
    position: relative;
    display: flex;
    justify-content: flex-start; /* Align mockup to the left edge of right column */
    align-items: center; /* Center mockup vertically */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.ttc-logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 28px;
    opacity: 0; /* Animated */
}

/* Headline */
.ttc-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    line-height: 1.1;
}

.ttc-headline-line1 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #111111;
    margin: 0;
    opacity: 0;
}

.ttc-headline-line2 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 700;
    font-style: italic;
    color: #111111;
    margin: 4px 0 0 0;
    opacity: 0;
}

/* Dashed Card */
.ttc-dashed-card {
    width: 100%;
    max-width: min(840px, 52vw); /* Limits width to approx 25% past title length */
    padding: 20px 24px;
    border: 2px dashed #ABABAB;
    border-radius: 18px;
    background-color: transparent;
    box-sizing: border-box;
    margin-bottom: 48px;
    opacity: 0;
}

.ttc-dashed-card p {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.55;
    color: #111111;
    margin: 0;
    text-align: left;
}

.ttc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.ttc-back-link:hover {
    color: #E8498A;
}

/* Device Mockup */
.ttc-mockup-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start; /* Align image to the left of its container */
    align-items: center;
    opacity: 0;
}

.ttc-mockup-img {
    width: 100%;
    max-width: none; /* Allow image to grow as big as container space allows */
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 90px rgba(0, 0, 0, 0.13)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.07));
}

/* Specific Scale Fade In Animation for vertically centered Tilikum mockup */
@keyframes scaleFadeInTtcMockup {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleFadeInTtcMockupMobile {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-ttc-mockup {
    animation: scaleFadeInTtcMockup 600ms ease-out forwards;
    animation-delay: 200ms;
}

/* ==========================================
   Tilikum Gallery Section Styling
   ========================================== */
.ttc-gallery-section {
    width: 100%;
    padding: 80px 72px 120px 72px;
    box-sizing: border-box;
    background-color: #FAF5EE;
    opacity: 0;
}

.ttc-gallery-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ttc-gallery-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ttc-grid-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ttc-img-landscape-16-9 {
    aspect-ratio: 16 / 9;
}

.ttc-img-landscape-a4 {
    aspect-ratio: 1000 / 707;
}

.ttc-grid-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.ttc-back-bottom {
    max-width: 1300px;
    margin: 80px auto 0 auto;
    display: flex;
    justify-content: flex-start;
}

/* ==========================================
   Tilikum Subpage Responsive Overrides
   ========================================== */
@media (max-width: 1200px) {
    .ttc-headline-line1, .ttc-headline-line2 {
        font-size: 65px;
    }
    .ttc-split-container {
        grid-template-columns: 55fr 45fr;
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 1024px) {
    .ttc-headline-line1, .ttc-headline-line2 {
        font-size: 55px;
    }
    .ttc-split-container {
        grid-template-columns: 52fr 48fr;
        padding-left: 48px;
        padding-right: 48px;
    }
    .ttc-gallery-section {
        padding: 60px 48px 80px 48px;
    }
    .ttc-gallery-grid-3col {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .ttc-split-container {
        display: flex;
        flex-direction: column;
        padding: 120px 24px 0 24px;
        gap: 48px;
        margin-bottom: 80px;
        overflow-x: hidden;
    }
    .ttc-left-col {
        padding-right: 0;
        min-height: auto;
        width: 100%;
    }
    .ttc-dashed-card {
        max-width: 100%;
        box-sizing: border-box;
    }
    .ttc-right-col {
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
    }
    .ttc-mockup-container {
        position: relative;
        top: 0;
        transform: none;
        right: auto;
        width: calc(100% + 48px);
        min-width: 0;
        max-width: none;
        margin-left: -24px;
        justify-content: center;
    }
    .ttc-mockup-container.animate-ttc-mockup {
        animation: scaleFadeInTtcMockupMobile 600ms ease-out forwards;
        animation-delay: 200ms;
    }
    .ttc-headline-line1, .ttc-headline-line2 {
        font-size: 37.5px;
        white-space: normal;
    }
    .ttc-dashed-card p {
        font-size: 15px;
    }
    .ttc-gallery-section {
        padding: 40px 24px 60px 24px;
    }
    .ttc-gallery-grid-3col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ttc-back-bottom {
        margin-top: 40px;
        justify-content: center;
    }
}

@media (max-width: 375px) {
    .ttc-headline-line1, .ttc-headline-line2 {
        font-size: 28.5px;
        white-space: normal;
    }
    .ttc-split-container {
        padding: 100px 24px 0 24px;
        margin-bottom: 60px;
    }
    .ttc-mockup-container {
        max-width: none;
    }
    .ttc-dashed-card {
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .ttc-dashed-card {
        max-width: min(840px, 52vw);
    }
}

/* ==========================================
   Tilikum Brochure Section
   ========================================== */
.ttc-brochure-section {
    width: 100%;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    opacity: 0;
}

.ttc-brochure-full-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

/* Tilikum-only: dedicated mobile asset, fills the whole screen */
@media (max-width: 768px) {
    body.tilikum-body .ttc-brochure-section {
        width: 100vw;
        height: 100vh;
    }
    body.tilikum-body .ttc-brochure-full-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Animations */
.animate-brochure-section {
    animation: fadeInUp12 800ms ease-out forwards;
    animation-delay: 800ms;
}


/* ==========================================
   Gaia Meals Subpage
   ========================================== */
body.gaia-body {
    background-color: #FAF5EE !important;
    color: #111111 !important;
    font-family: 'Hanken Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body.gaia-body .header:not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.gaia-body .header.scrolled {
    background-color: rgba(250, 245, 238, 0.92) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

body.gaia-body .nav-link {
    color: #111111 !important;
}

body.gaia-body .nav-link:hover {
    color: #A4C432 !important;
    opacity: 1 !important;
}

/* Full-viewport split layout */
.gm-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    box-sizing: border-box;
}

.gm-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 48px 60px 72px;
    box-sizing: border-box;
    min-width: 0;
}

.gm-right-col {
    position: relative;
    overflow: hidden;
    height: 100%;
    opacity: 0;
}

.gm-hero-img,
.gm-hero-video {
    position: absolute;
    top: 100px; /* sit below 100px header */
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    object-fit: cover;
    object-position: center;
}

/* Client Badge */
.gm-badge {
    width: 160px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 28px;
    opacity: 0;
    flex-shrink: 0;
    display: block;
}

/* Headline */
.gm-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    line-height: 1.1;
}

.gm-headline-line1 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #111111;
    margin: 0;
    opacity: 0;
}

.gm-headline-line2 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 700;
    font-style: italic;
    color: #111111;
    margin: 4px 0 0 0;
    opacity: 0;
}

/* Dashed Card */
.gm-dashed-card {
    width: 100%;
    max-width: 620px;
    padding: 20px 24px;
    border: 2px dashed #ABABAB;
    border-radius: 18px;
    background-color: transparent;
    box-sizing: border-box;
    opacity: 0;
}

.gm-dashed-card p {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.55;
    color: #111111;
    margin: 0;
    text-align: left;
}

/* Hero image entrance */
@keyframes gmHeroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-gm-hero {
    animation: gmHeroFadeIn 800ms ease-out forwards;
    animation-delay: 100ms;
}

/* ==========================================
   Gaia Meals — Mid Section (Posts + Phone)
   ========================================== */
.gm-mid-section {
    background: #FAF5EE;
    padding: 80px 2.5%;
    box-sizing: border-box;
    opacity: 0;
}

/* Animated carousel stage: phone frame + 3 rotating post tiles.
   --gm-h drives the phone height; everything else scales off it. */
.gm-mid-container {
    --gm-h: clamp(520px, 60vw, 1040px);
    --gm-tile: calc(var(--gm-h) * 0.52);
    position: relative;
    height: var(--gm-h);
    overflow: visible;
}

/* Phone frame (gaia-just-the-phone.png is 770x1530 ~ 0.503:1), centered, z 1. */
.gm-phone-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    height: var(--gm-h);
    width: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

/* Post tiles: square, absolutely positioned. Position (left) + scale + z-index
   come entirely from the slot class; JS only swaps the class, CSS animates. */
.gm-post {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--gm-tile);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%) scale(var(--s, 1));
    transition: left 0.9s cubic-bezier(0.65, 0, 0.35, 1),
                transform 0.9s cubic-bezier(0.65, 0, 0.35, 1),
                filter 0.9s ease,
                z-index 0.9s; /* Discrete props flip at the transition midpoint, so a tile emerging from behind the phone surfaces partway through its slide instead of popping to front instantly */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.20);
    will-change: left, transform;
}

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

/* Slot positions. center z 5 (in front of phone), left z 4 (side),
   right z 0 (behind phone) -> a tile moving left->right glides behind the
   phone, while right->center sweeps in front. */
.slot-center { left: 50%; --s: 1.16; z-index: 5; filter: saturate(1); }
.slot-left   { left: 17%; --s: 0.80; z-index: 4; filter: saturate(0); }
.slot-right  { left: 83%; --s: 0.80; z-index: 0; filter: saturate(0); }
/* Keeps a tile visually above the phone while it animates to slot-right going backward. */
.gm-transit-over { z-index: 6 !important; }

.gm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.82);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: background 0.2s, opacity 0.2s;
    opacity: 0.7;
}

.gm-arrow:hover { background: #fff; opacity: 1; }

.gm-arrow-left  { left: 12px; }
.gm-arrow-right { right: 12px; }

.animate-gm-mid {
    animation: fadeInUp12 600ms ease-out forwards;
    animation-delay: 900ms;
}

@media (max-width: 1024px) {
    .gm-mid-section {
        padding: 60px 5%;
    }
}

/* Mobile: same rotating carousel as desktop, just smaller, phone frame still behind the center tile. */
@media (max-width: 768px) {
    .gm-mid-section {
        padding: 48px 24px;
    }
    .gm-mid-container {
        --gm-h: clamp(340px, 100vw, 500px); /* Same tile/phone ratio as desktop (0.52), just bigger overall */
    }
    .gm-post {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }
    .slot-left  { left: 26%; }
    .slot-right { left: 74%; }
}

/* Reduced motion: keep the static featured layout, no looping. */
@media (prefers-reduced-motion: reduce) {
    .gm-post { transition: none; }
}

/* Duo Section: Shelf Life + Avocado Rich, side by side on desktop */
.gm-duo-section {
    padding: 80px 72px;
    background-color: #FAF5EE;
    opacity: 0;
}

.gm-duo-container {
    display: flex;
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    height: 32vw;
    max-height: 520px;
}

.gm-duo-poster {
    flex: 1 1 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

.gm-duo-mobile-img {
    display: none;
}

.animate-gm-duo {
    animation: fadeInUp12 600ms ease-out forwards;
    animation-delay: 950ms;
}

/* Desktop: Shelf Life / Avocado Rich posters removed; nothing else lives in this section on desktop. */
@media (min-width: 769px) {
    .gm-duo-section {
        display: none;
    }
}

/* Mobile: hide the desktop pair, show the single combined image instead, full width edge-to-edge. */
@media (max-width: 768px) {
    .gm-duo-section {
        padding: 0;
        width: 100vw;
        height: auto;
    }
    .gm-duo-container {
        display: none;
    }
    .gm-duo-mobile-img {
        display: block;
        width: 100%;
        height: auto; /* Width-driven sizing: always full-bleed on the sides, no cropping or letterboxing on any device */
    }
}

/* Back Link Section */
.gm-back-section {
    width: 100%;
    padding: 80px 72px 120px 72px;
    box-sizing: border-box;
    background-color: #FAF5EE;
    opacity: 0;
}

.gm-back-bottom {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.gm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.gm-back-link:hover {
    color: #A4C432;
}

/* ==========================================
   Gaia Meals Responsive Overrides
   ========================================== */
body.gaia-body .ttc-brochure-section {
    width: 100vw;
    position: relative;
}

body.gaia-body .ttc-brochure-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 100%;
    background-color: #A4C432;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .gm-headline-line1, .gm-headline-line2 {
        font-size: 65px;
    }
    .gm-left-col {
        padding-left: 48px;
    }
}

@media (max-width: 1024px) {
    .gm-headline-line1, .gm-headline-line2 {
        font-size: 48px;
    }
    .gm-split-container {
        grid-template-columns: 55fr 45fr;
    }
    .gm-left-col {
        padding: 100px 36px 40px 48px;
    }
    .gm-badge {
        width: 110px;
        margin-bottom: 20px;
    }
    .gm-headline {
        margin-bottom: 20px;
    }
    .gm-dashed-card p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .gm-split-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        overflow: visible;
    }
    .gm-left-col {
        padding: 120px 24px 48px 36px;
        min-height: auto;
        overflow: visible;
        justify-content: flex-start;
    }
    .gm-headline-line1, .gm-headline-line2 {
        font-size: 48px;
    }
    .gm-right-col {
        height: auto;
        overflow: visible;
    }
    .gm-hero-img,
    .gm-hero-video {
        position: static;
        top: auto;
        width: 100%;
        height: auto;
        object-fit: unset;
    }
    .gm-back-section {
        padding: 60px 32px 80px 32px;
    }
    body.gaia-body .ttc-brochure-section {
        display: none; /* gaia-desktop.png is desktop-only; nothing shown in its place on mobile */
    }
}

/* ==========================================
   Gaia Meals — Diving Deep Grid Section
   ========================================== */
.gm-diving-section {
    background: #FAF5EE;
    padding: 80px 72px 30px 72px;
}

.gm-diving-inner {
    display: flex;
    gap: 60px;
    align-items: center;
}

.gm-diving-large-card {
    flex: 2 2 0;
    min-width: 0;
}

.gm-diving-large-card img {
    width: 100%;
    height: auto;
    display: block;
}

.gm-diving-small-grid {
    flex: 3 3 0;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.gm-diving-small-grid img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .gm-diving-section {
        padding: 60px 0 30px 40px;
    }
    /* Horizontal snap-scroll: first card shown full, next one peeks in from the right edge. */
    .gm-diving-inner {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-right: 40px;
        scrollbar-width: none;
    }
    .gm-diving-inner::-webkit-scrollbar {
        display: none;
    }
    .gm-diving-large-card {
        flex: 0 0 82%;
        width: 82%;
        scroll-snap-align: start;
    }
    /* Unwrap the grid so its 4 images become direct items in the same scroll row as the large card. */
    .gm-diving-small-grid {
        display: contents;
    }
    .gm-diving-small-grid img {
        flex: 0 0 82%;
        width: 82%;
        scroll-snap-align: start;
    }
}

/* ==========================================
   Pru Life UK
   ========================================== */

body.pru-body {
    background-color: #FAF8F5;
    color: #111111;
    font-family: 'Hanken Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body.pru-body .header:not(.scrolled) {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.pru-body .header.scrolled {
    background-color: rgba(250, 248, 245, 0.92) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

body.pru-body .nav-link {
    color: #111111 !important;
}

body.pru-body .nav-link:hover {
    color: #CB3F3F !important;
    opacity: 1 !important;
}

/* Hero Split */
.pru-split-container {
    display: grid;
    grid-template-columns: 55fr 45fr;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.pru-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 64px 80px 72px;
    box-sizing: border-box;
    min-width: 0;
}

/* Logo Image */
.pru-logo-img {
    width: 250px; /* 30% bigger, then +20% more on desktop per request */
    height: auto;
    margin-bottom: 32px;
    opacity: 0;
    flex-shrink: 0;
    display: block;
}

/* Headline */
.pru-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    line-height: 1.08;
}

.pru-headline-line1 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #111111;
    margin: 0;
    opacity: 0;
}

.pru-headline-line2 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(37.5px, 5.5vw, 80px);
    font-weight: 700;
    font-style: italic;
    color: #111111;
    margin: 4px 0 0 0;
    opacity: 0;
}

/* Dashed Card */
.pru-dashed-card {
    width: 100%;
    max-width: 580px;
    padding: 20px 24px;
    border: 2px dashed #ABABAB;
    border-radius: 18px;
    background-color: transparent;
    box-sizing: border-box;
    opacity: 0;
}

.pru-dashed-card p {
    font-family: 'Open Sauce One', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.55;
    color: #111111;
    margin: 0;
}

/* Right Column */
.pru-right-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 48px 40px 24px;
}

.pru-mockup-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Right column entrance */
@keyframes pruFadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-pru-right {
    animation: pruFadeInRight 900ms ease-out forwards;
    animation-delay: 200ms;
    opacity: 0;
}

/* Gallery */
.pru-gallery-section {
    padding: 80px 72px 100px 72px;
    background: #FAF8F5;
    opacity: 0;
}

.pru-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pru-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.pru-gallery-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.13);
}

/* Responsive */
@media (max-width: 1200px) {
    .pru-headline-line1, .pru-headline-line2 {
        font-size: 65px;
    }
    .pru-left-col {
        padding-left: 48px;
    }
}

@media (max-width: 1024px) {
    .pru-headline-line1, .pru-headline-line2 {
        font-size: 55px;
    }
    .pru-split-container {
        grid-template-columns: 60fr 40fr;
    }
    .pru-left-col {
        padding: 100px 36px 40px 48px;
    }
    .pru-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pru-split-container {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }
    .pru-left-col {
        padding: 120px 24px 0 36px;
        justify-content: flex-start;
    }
    .pru-logo-img {
        width: 208px; /* Keep mobile at the previous size; desktop-only bump */
    }
    .pru-headline-line1, .pru-headline-line2 {
        font-size: 37.5px;
        white-space: normal;
    }
    .pru-right-col {
        height: auto; /* Let the box size to the image itself so it can't overflow into the text above */
        padding: 0 6px 40px 6px; /* Tight sides so the image renders ~20% wider than its old 48/24px-padded width */
    }
    .pru-gallery-section {
        padding: 60px 32px 80px 40px;
    }
    .pru-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 375px) {
    .pru-headline-line1, .pru-headline-line2 {
        font-size: 28.5px;
        white-space: normal;
    }
}

/* ==========================================
   Pru Life — Bottom Section (Three Posters)
   ========================================== */
.pru-bottom-section {
    background: #FAF5EE;
    padding: 80px 80px 30px 80px;
    box-sizing: border-box;
    opacity: 0;
}

.pru-bottom-container {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 100%;
}

/* All three images share ratio 1587/2245 = 0.7069.
   Left is 1.5× the height of each right poster.
   H_right × 0.7069 × (1.5 + 1 + 1) + 2×60gap = 100vw - 24border - 160padding
   H_right × 2.4742 = 100vw - 304px
   H_right = (100vw - 304px) / 2.4742
   H_left  = 1.5 × H_right */
.pru-bottom-large {
    flex: 0 0 auto;
    aspect-ratio: 1587 / 2245;
    height: calc(1.5 * (100vw - 304px) / 2.4742);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.pru-bottom-small {
    flex: 0 0 auto;
    aspect-ratio: 1587 / 2245;
    height: calc((100vw - 304px) / 2.4742);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.pru-bottom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.animate-pru-bottom {
    animation: fadeInUp12 600ms ease-out forwards;
    animation-delay: 1000ms;
}

@media (max-width: 1024px) {
    .pru-bottom-section {
        padding: 60px 60px 30px 60px;
    }
    .pru-bottom-container {
        gap: 40px;
    }
    /* H_right × 2.4742 = 100vw - 24 - 120padding - 80gap = 100vw - 224px */
    .pru-bottom-large {
        height: calc(1.5 * (100vw - 224px) / 2.4742);
    }
    .pru-bottom-small {
        height: calc((100vw - 224px) / 2.4742);
    }
}

/* Horizontal snap-scroll: first card shown full, next one peeks in from the right edge (same pattern as the Gaia Meals Diving Deep gallery). */
@media (max-width: 768px) {
    .pru-bottom-section {
        padding: 48px 0 30px 40px;
    }
    .pru-bottom-container {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-right: 40px;
        scrollbar-width: none;
    }
    .pru-bottom-container::-webkit-scrollbar {
        display: none;
    }
    .pru-bottom-large,
    .pru-bottom-small {
        flex: 0 0 82%;
        width: 82%;
        height: auto;
        border-radius: 6px;
        scroll-snap-align: start;
    }
    .pru-bottom-img {
        object-fit: cover;
    }
}

/* ==========================================
   Pru Life — Mid Section (Two Posters)
   ========================================== */
.pru-mid-section {
    background: #FAF5EE;
    padding: 80px 144px;
    box-sizing: border-box;
    opacity: 0;
}

.pru-mid-container {
    display: flex;
    gap: 72px;
    align-items: flex-start;
    width: 100%;
}

/* Same-height formula for two portrait posters:
   left ratio  (w/h): 2480/3508 = 0.70696
   right ratio (w/h): 1000/1373 = 0.72831
   sum = 1.43527
   H × 1.43527 + 72px gap = 100vw - 24px border - 288px padding = 100vw - 312px
   H = (100vw - 384px) / 1.43527 */
.pru-mid-poster {
    flex: 0 0 auto;
    height: calc((100vw - 384px) / 1.43527);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.pru-mid-left  { aspect-ratio: 2480 / 3508; }
.pru-mid-right { aspect-ratio: 1000 / 1373; }

.pru-mid-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.animate-pru-mid {
    animation: fadeInUp12 600ms ease-out forwards;
    animation-delay: 900ms;
}

@media (max-width: 1024px) {
    .pru-mid-section {
        padding: 60px 96px;
    }
    /* H = (100vw - 24px border - 192px padding - 72px gap) / 1.43527 = (100vw - 288px) / 1.43527 */
    .pru-mid-poster {
        height: calc((100vw - 288px) / 1.43527);
    }
}

@media (max-width: 768px) {
    .pru-mid-section {
        padding: 48px 48px 48px 60px;
    }
    /* Stack the two posters one-on-top-of-the-other instead of side-by-side */
    .pru-mid-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .pru-mid-poster {
        width: 100%;
        height: auto; /* aspect-ratio (set above) now drives the height since it's no longer sharing a row */
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .pru-mid-section {
        padding: 40px 36px 40px 48px;
    }
    .pru-mid-container {
        gap: 20px;
    }
    .pru-mid-poster {
        border-radius: 4px;
    }
}

