/*
Theme Name: Pauline Designed It
Author: Pauline Noël
Version: 1.1
*/

/* Base (mobile-first) */


/* Small tablets / large phones */
@media (min-width: 480px) {}

/* Tablets */
@media (min-width: 768px) {}

/* Small laptops */
@media (min-width: 1024px) {}

/* Desktop */
@media (min-width: 1280px) {}

/* Large desktop */
@media (min-width: 1440px) {}

/* Ultra-wide */
@media (min-width: 1600px) {}



/* CSS Color variables */
:root {
    /* Color */
    --color-white: #FDFBFA;
    --color-blue: #C4EBF1;
    --color-pink: #F291B3;
    --color-action-pink: #D92363;
    --color-main-burgandy: #7D0F1C;
    --color-text: #1C1C1E;
    /* Container */
    --container-mobile: 90%;
    --container-max: 1100px;
    --container-narrow: 900px;
    --container-wide: 1440px;
    /* borders */
    --border: 1px solid rgba(28, 28, 30, 0.08);
    ;
    --radius-sm: 20px;
    --radius-md: 30px;
    --width-lg: 4px;
    /* Spaces */
    --space-40: 40px;
    --space-30: 30px;
    --space-20: 20px;
    --space-10: 10px;
    /* Some texts max width */
    --wdith-txt: 640px;
}

/* ==============================
   ACCESSIBILITY
   ============================== */

/* Skip link — visually hidden until focused */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: var(--color-text);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-action-pink);
    outline-offset: 2px;
}

/* Global focus-visible — clear, branded ring for keyboard users */
:focus-visible {
    outline: 3px solid var(--color-action-pink);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Remove outline on mouse click (keeps it only for keyboard) */
:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure buttons/links inside cards also get focus ring */
.project-card-link:focus-visible,
.dropdown-link:focus-visible,
.site-nav__link:focus-visible,
.btn:focus-visible,
.footer-nav__list a:focus-visible {
    outline: 3px solid var(--color-action-pink);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Screen-reader-only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Minimum touch target size (WCAG 2.5.5) */
.btn,
.site-nav__link,
.dropdown-link,
.project-card-link,
.footer-nav__list a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Hamburger touch target */
.site-nav__hamburger {
    min-width: 44px;
    min-height: 44px;
}

/* ==============================
   REDUCED MOTION
   ============================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .logos-track {
        animation: none !important;
    }

    .hero-mockup,
    .hero-mockup--back,
    .hero-mockup--front {
        transform: none !important;
        transition: none !important;
    }
}

/* Fonts & Layout */
html,
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: var(--color-white);
    line-height: 1.75;
    margin: 0;
    padding: 0;
    color: var(--color-text);
}

.container {
    width: min(100% - 2rem, var(--container-max));
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.display-flex-center-center-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
}

.display-flex-vertical-center-mobile {
    display: flex;
    align-items: center;
}

.display-flex-mobile {
    display: flex;
    gap: 1.2rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
}

.two-column-grid,
.three-column-grid {
    display: grid !important;
    grid-template-columns: 1fr;
    /* 👈 mobile first */
    gap: 2rem;
    /* spacing only BETWEEN cards */
    margin: var(--space-30) 0px;
}

.two-column-grid-twothirds {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.4rem;
    align-items: start;
    margin-top: 2rem;
}

.two-column-grid-onethrid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.4rem;
    align-items: start;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .display-flex-center-center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .display-flex {
        display: flex;
    }

    .right-align {
        display: flex;
        justify-content: flex-end;
    }

    .two-column-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .three-column-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Headings */

h1 {
    font: 600 clamp(2.4rem, 5vw, 3.8rem) / 1.15 'Playfair Display', sans-serif !important;
}

h2 {
    /* font: 600 clamp(2rem, 1vw + 0.9rem, 1.5rem) / 1.35 'Inter', sans-serif;
    color: var(--color-main-burgandy); */
    font-family: Playfair Display;
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 0.95;
    color: #1C1C1E;
    margin-bottom: var(--space-30);
}

h3 {
    font: 450 clamp(1.15rem, 0.8vw + 0.9rem, 1.3rem) / 1.25 'Inter', sans-serif;
    margin: 0px 0px 20px 0px;
}

h4 {
    font: 550 clamp(1.1rem, 0.6vw + 0.9rem, 1.25rem) / 1.2 'Playfair Display', sans-serif !important;
}

/* h5 {
    
} */

/* Body */

p {
    font: 400 clamp(1rem, 0.4vw + 1rem, 1rem) / 1.7 'Inter', sans-serif;
    line-height: 1.75;
    opacity: 0.75;
}

hr {
    color: #FDFBFA !important;
    border: none;
    height: var(--space-10);
}

a {
    text-decoration: none;
}

.dark-mode-txt {
    color: white;
}

.dark-mode-txt p {
    color: rgba(255, 255, 255, 0.72);
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-action-pink);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-kicker::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--color-action-pink);
}

.meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 4px;
}

.info-card-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-action-pink);
    margin-bottom: 1rem;
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--structure);
}

.img-label {
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mid);
    margin-top: .5rem;
    text-align: center;
}

.label-dark {
    color: var(--color-pink) !important;
    margin: 0 0 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.label-highlight-pink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--action);
    background: #FDE8F0;
    padding: 6px 14px;
    border-radius: 100px;
    margin-top: var(--space-30);
    margin-bottom: 16px;
}

.label-action {
    color: var(--color-action-pink) !important;
    margin: 0 0 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.ul-s {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.ul-s li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    font-size: .88rem;
    color: rgba(255, 255, 255, .7);
    line-height: 1.55;
    font-weight: 300
}

.ul-s li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-pink);
    flex-shrink: 0;
    margin-top: .42rem
}

.ul-s.lt li {
    color: var(--mid)
}

.ul-s.lt li::before {
    background: var(--action)
}

#challenge p {
    max-width: var(--wdith-txt);
}

.project section {
    padding: 80px 0;
    border-top: var(--border);
}

.info-step {
    border-bottom: var(--border);
}

.info-step:last-child {
    border-bottom: none;
}

.info-step-content h4 {
    margin-top: 5px;
    margin-bottom: .35rem;
}

.section-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-shell {
    background: #FDFBFA;
    border: var(--border);
    border-radius: 2rem;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(28, 28, 30, 0.04);
}

#typography {
    margin-bottom: var(--space-40);
}

.section-shell-dark {
    background-color: var(--color-text);
    border-radius: 2rem;
    padding: 64px;
}

.section-shell-pink {
    background: linear-gradient(135deg, #FDE8F0 0%, #fdf0f5 100%);
    border-radius: 2rem;
    padding: 48px;
    margin-top: 40px;
}

.section-shell-blue {
    background: var(--color-blue);
    border-radius: 2rem;
    padding: 48px;
    margin-top: 40px;
}

.section-shell-burgandy {
    background: linear-gradient(135deg, #7D0F1C 0%, #5a0b14 100%);
    border-radius: 2rem;
    padding: 64px;
}

.section-shell-burgandy p {
    color: rgba(255, 255, 255, 0.65);
}

.section-shell-blue h2,
.section-shell-pink h2,
.section-shell-dark h2,
.section-shell-burgandy h2 {
    font-size: 1.7rem;
}

.label {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7D0F1C;
    opacity: 0.8;
}

.subtitle {
    margin: 0;
    color: #1C1C1E;
    opacity: 0.75;
    line-height: 1.5;
}

.italic {
    font-style: italic;
}

.flex-pill {
    gap: 1rem;
}

.pill {
    border-radius: 12px;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.blue-pill {
    background-color: var(--color-blue);
}

.pill .mi {
    font-size: 1.15rem;
}

/* Main elements */
.btn {
    border-radius: var(--radius-md);
    padding: 13px 28px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.5s;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.primary-btn {
    background-color: var(--color-action-pink);
    border-color: var(--color-action-pink);
    color: var(--color-white);
}

.secondary-btn {
    border-color: var(--color-text);
    color: var(--color-text);
    border: 2px solid var(--color-text);
    margin-left: var(--space-20);
}

/* #D92363 on white = 4.6:1 contrast — passes WCAG AA for all text sizes */
.highlight {
    color: var(--color-action-pink);
}

@media (min-width: 768px) {
    .btn {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(28, 28, 30, 0.08);
    }

    .secondary-btn {
        margin-left: var(--space-30);
    }

    .secondary-btn:hover {
        background-color: var(--color-text);
        color: var(--color-white);
        transition-duration: 0.5s;
    }
}

/* ---- Hero: editorial split ---- */
.home-hero {
    display: grid;
    grid-template-columns: 1fr;
    /* min-height: 88vh; */
    overflow: hidden;
}

/* Left text column */
.hero-text-col {
    display: flex;
    align-items: center;
    padding: 5rem clamp(1.5rem, 5vw, 3rem) 4rem;
}

.hero-text {
    max-width: 560px;
    width: 100%;
}

.hero-text h1 {
    margin: 0.75rem 0 1.25rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.1rem) !important;
    color: rgba(28, 28, 30, 0.6) !important;
    line-height: 1.7 !important;
    margin: 0 0 1.75rem !important;
    opacity: 1 !important;
}

/* Trust pills */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-trust__pill {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text);
    background: rgba(28, 28, 30, 0.06);
    border: 1px solid rgba(28, 28, 30, 0.1);
    border-radius: 100px;
    padding: 5px 14px;
}

/* Action buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-actions .secondary-btn {
    margin-left: 0;
}

/* Right visual column */
.hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem 3rem;
}

.hero-visual__bg {
    position: absolute;
    inset: 6% 0 6% 18%;
    background: var(--color-blue);
    border-radius: 40px 0 0 40px;
    opacity: 0.3;
}

/* Mockup stack */
.hero-mockup-stack {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    height: 360px;
}

.hero-mockup {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(28, 28, 30, 0.15), 0 4px 16px rgba(28, 28, 30, 0.08);
    transition: transform 0.4s ease;
}

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

.hero-mockup--back {
    width: 82%;
    height: 240px;
    top: 0;
    right: 0;
    transform: rotate(-3deg) translateY(10px);
    z-index: 1;
}

.hero-mockup--front {
    width: 82%;
    height: 240px;
    bottom: 0;
    left: 0;
    transform: rotate(2.5deg) translateY(-10px);
    z-index: 2;
}

.hero-mockup-stack:hover .hero-mockup--back {
    transform: rotate(-5deg) translateY(4px) translateX(-4px);
}

.hero-mockup-stack:hover .hero-mockup--front {
    transform: rotate(4deg) translateY(-14px) translateX(4px);
}

/* Desktop: two-column split, visual bleeds to right edge */
@media (min-width: 900px) {
    .home-hero {
        grid-template-columns: 1fr 1fr;
    }

    .hero-text-col {
        justify-content: flex-end;
        padding: 6rem 3.5rem 6rem max(2rem, calc((100vw - 1100px) / 2 + 1rem));
    }

    .hero-visual {
        min-height: 60vh;
        padding: 4rem 0 4rem 2rem;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-visual__bg {
        inset: 8% 0 8% 20%;
        opacity: 0.4;
    }

    .hero-mockup-stack {
        max-width: 520px;
        height: 420px;
    }

    .hero-mockup--back {
        width: 78%;
        height: 280px;
    }

    .hero-mockup--front {
        width: 78%;
        height: 280px;
    }
}

.space-30 {
    margin-bottom: var(--space-30);
}



/* Projects 
.projects-wrapper {}

.project-card {
    text-decoration: none;
    color: var(--color-text);
    border-radius: var(--radius-md);
    background-color: white;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    margin: var(--space-20);
}

.project-img {}

.project-content {
    margin: var(--space-30);
}

.project-card-tag {
    padding: 5px 15px;
    border-radius: var(--radius-md);
    background-color: var(--color-blue);
    font-size: 12px;
    margin-right: 5px;
}
*/

/* GRID */

.project-card {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: var(--radius-md);
    border: var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    /* anchor for the overlay */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 28, 30, 0.08);
}

/* Invisible full-card link — sits behind all content */
.project-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* "View case study" link inside project cards */
.project-card-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-action-pink);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    margin-top: auto;
    /* push to bottom of card content */
    padding-top: 1rem;

    /* animated underline */
    background-image: linear-gradient(var(--color-action-pink), var(--color-action-pink));
    background-repeat: no-repeat;
    background-size: 0% 1.5px;
    background-position: left bottom;
    transition: background-size 0.3s ease, gap 0.3s ease;
}

/* Arrow character — slides right on hover */
.project-card-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.project-card-link:hover {
    background-size: 100% 1.5px;
    gap: 0.65rem;
}

.project-card-link:hover::after {
    transform: translateX(4px);
}

/* Tags and other interactive elements also above overlay */
.project-card-content {
    position: relative;
    z-index: 1;
}

.project-card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    /* optional but very useful */
    overflow: hidden;
}

.project-card-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.project-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card-content {
    margin: var(--space-40);
}

.project-tags-wrapper {
    margin-bottom: var(--space-20);
}

/* @media (max-width: 768px) {
    .project-tags-wrapper {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        place-items: center;
    }
} */

.project-card-tag {
    padding: 5px 15px;
    border-radius: var(--radius-md);
    background-color: var(--color-blue);
    font-weight: 600;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.project-title {
    margin: 0px;
}

/* Clients & testimonials */

.clients {
    padding: 5rem 0;
}

.clients-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: #f7f4f3;
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.client-subtitle {
    max-width: 34ch;
}

.clients-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(28, 28, 30, 0.12);
    background: #FDFBFA;
    color: #1C1C1E;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.testimonial-btn:hover {
    background: #D92363;
    border-color: #D92363;
    color: #FDFBFA;
}

/* New stacked testimonial layout */
.testimonials-stage {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.testimonials-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.testimonial-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100%, 440px);
    min-height: 250px;
    background: rgba(255, 251, 250, 0.7);
    border: var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(28, 28, 30, 0.05);
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    filter: grayscale(0.15);
    transition:
        transform 0.45s ease,
        opacity 0.45s ease,
        background-color 0.45s ease,
        filter 0.45s ease,
        z-index 0.45s ease;
}

/* Center active */
.testimonial-card.is-active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
    background: #FDFBFA;
    filter: grayscale(0);
}

/* Left card */
.testimonial-card.is-prev {
    transform: translate(-78%, -50%) scale(0.92);
    opacity: 0.55;
    z-index: 2;
    background: rgba(255, 251, 250, 0.72);
    filter: grayscale(0.2);
}

/* Right card */
.testimonial-card.is-next {
    transform: translate(-22%, -50%) scale(0.92);
    opacity: 0.55;
    z-index: 2;
    background: rgba(255, 251, 250, 0.72);
    filter: grayscale(0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #C4EBF1;
    color: #1C1C1E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.testimonial-profile h4 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.testimonial-header h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
    color: #1C1C1E;
}

.testimonial-header p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
    color: #1C1C1E;
    opacity: 0.65;
}

.testimonial-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #1C1C1E;
    max-width: 36ch;
}

.clients-logos {
    overflow: hidden;
    margin-top: 1rem;
    padding-top: 1rem;
}

.logos-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 24s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused;
}

.client-logo {
    height: 36px;
    width: auto;
}

.logo-img {
    padding: 0 2.5rem;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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


@media (min-width: 768px) {
    .clients-shell {
        padding: 1.5rem;
    }

    .clients-top {
        grid-template-columns: 0.95fr 1.35fr;
        align-items: stretch;
        padding: 2rem;
    }

}

@media (max-width: 767px) {
    .testimonials-stage {
        min-height: 280px;
    }

    .testimonials-wrapper {
        min-height: 280px;
    }

    .testimonial-card {
        width: 92%;
        min-height: 220px;
    }

    .testimonial-card.is-prev {
        transform: translate(-68%, -50%) scale(0.9);
        opacity: 0.35;
    }

    .testimonial-card.is-next {
        transform: translate(-32%, -50%) scale(0.9);
        opacity: 0.35;
    }
}

@media (min-width: 1024px) {
    .clients-top {
        grid-template-columns: 0.9fr 1.4fr;
        gap: 1.5rem;
    }

    .clients-intro {
        min-height: 320px;
    }

    .testimonials-stage,
    .testimonials-wrapper {
        min-height: 340px;
    }

    .testimonial-card {
        width: 440px;
        padding: 2rem;
    }

}

/* ==============================
   ABOUT PAGE
   ============================== */

/* Hero */
.about-hero {
    padding: 5rem 0 4rem;
}

.about-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-hero__inner {
        grid-template-columns: 1fr 1.4fr;
        gap: 5rem;
    }
}

/* Photo */
.about-hero__photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-hero__photo-bg {
    position: absolute;
    inset: 8% -6% -6% 6%;
    background: var(--color-pink);
    opacity: 0.35;
    border-radius: var(--radius-md);
    z-index: 0;
}

.about-hero__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(28, 28, 30, 0.14);
}

/* Text col */
.about-hero__text-col h1 {
    margin: 0.6rem 0 1.25rem;
}

.about-hero__intro {
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
    color: rgba(28, 28, 30, 0.7) !important;
    margin-bottom: 2rem !important;
    max-width: 540px;
}

.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.about-hero__langs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-lang-pill {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(28, 28, 30, 0.65);
    background: rgba(28, 28, 30, 0.05);
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 100px;
    padding: 5px 14px;
}

/* Skills */
.about-skills {
    padding: 4rem 0;
}

.about-skills__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .about-skills__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-group__heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-action-pink);
    margin-bottom: 1rem !important;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    background: #fff;
    border: var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    box-shadow: 0 2px 8px rgba(28, 28, 30, 0.05);
}

/* Experience timeline */
.about-experience {
    padding: 4rem 0;
}

.experience-timeline {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exp-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .exp-item {
        grid-template-columns: 160px 1fr;
        gap: 3rem;
    }
}

.exp-item__meta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 0.2rem;
}

@media (min-width: 768px) {
    .exp-item__meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
        position: relative;
    }

    /* Vertical line */
    .exp-item__meta::after {
        content: '';
        position: absolute;
        top: 1.8rem;
        right: -1.6rem;
        width: 1px;
        height: calc(100% + 2.5rem);
        background: rgba(28, 28, 30, 0.1);
    }

    .exp-item:last-child .exp-item__meta::after {
        display: none;
    }
}

.exp-item__date {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(28, 28, 30, 0.45);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.exp-item__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-action-pink);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .exp-item__dot {
        position: absolute;
        right: -1.65rem;
        top: 0.35rem;
        margin: 0;
    }
}

.exp-item__header {
    margin-bottom: 0.75rem;
}

.exp-item__role {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.2rem;
}

.exp-item__company {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-action-pink);
    letter-spacing: 0.02em;
}

.exp-item__list {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: rgba(28, 28, 30, 0.7);
    font-size: 0.9rem;
    line-height: 1.8;
}

.exp-item__clients {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.exp-client-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(28, 28, 30, 0.55);
    background: rgba(28, 28, 30, 0.04);
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 100px;
    padding: 3px 12px;
}

/* Education & CTA */
.about-education {
    padding: 4rem 0 6rem;
}

.about-edu-lang-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .about-edu-lang-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 4rem;
    }
}

.edu-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.edu-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.edu-item__year {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(28, 28, 30, 0.4);
    white-space: nowrap;
    padding-top: 0.2rem;
    min-width: 80px;
}

.edu-item__name {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.1rem !important;
}

.edu-item__school {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(28, 28, 30, 0.55);
    margin: 0 !important;
}

/* CTA card */
.about-cta-card {
    background: var(--color-text);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.about-cta-card h2 {
    margin: 0;
    color: #fff;
}

.about-cta-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 !important;
}

/* ==============================
   LIGHTBOX — Anita Diamonds
   ============================== */

.op-card--lightbox {
    cursor: pointer;
}

.op-card__gallery-hint {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.5rem;
}

.ad-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.ad-lightbox[hidden] {
    display: none;
}

.ad-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 12, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: lb-fade-in 0.25s ease;
}

@keyframes lb-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ad-lightbox__panel {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    animation: lb-slide-up 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@keyframes lb-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.ad-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(28, 28, 30, 0.07);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background 0.2s ease;
}

.ad-lightbox__close:hover {
    background: rgba(28, 28, 30, 0.14);
}

.ad-lightbox__close:focus-visible {
    outline: 3px solid var(--color-action-pink);
    outline-offset: 3px;
}

.ad-lightbox__header h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    margin: 0.2rem 0 0;
}

.ad-lightbox__carousel {
    position: relative;
}

.ad-lightbox__track {
    border-radius: 16px;
    overflow: hidden;
    background: #f0f0f2;
    aspect-ratio: 16 / 9;
}

.ad-lightbox__slide {
    display: none;
    width: 100%;
    height: 100%;
}

.ad-lightbox__slide[aria-current="true"] {
    display: block;
}

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

.ad-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: var(--border);
    box-shadow: 0 4px 16px rgba(28, 28, 30, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.ad-lightbox__nav--prev {
    left: -1.25rem;
}

.ad-lightbox__nav--next {
    right: -1.25rem;
}

.ad-lightbox__nav:hover {
    box-shadow: 0 8px 24px rgba(28, 28, 30, 0.18);
    transform: translateY(-50%) scale(1.08);
}

.ad-lightbox__nav:focus-visible {
    outline: 3px solid var(--color-action-pink);
    outline-offset: 3px;
}

.ad-lightbox__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.ad-lightbox__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(28, 28, 30, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ad-lightbox__dot.is-active {
    background: var(--color-action-pink);
    transform: scale(1.3);
}

.ad-lightbox__counter {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(28, 28, 30, 0.45);
    margin: 0 !important;
}

@media (max-width: 600px) {
    .ad-lightbox__panel {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .ad-lightbox__nav--prev {
        left: 0.25rem;
    }

    .ad-lightbox__nav--next {
        right: 0.25rem;
    }
}

/* Video lightbox variant */
.ad-lightbox__panel--video {
    max-width: 860px;
}

.ad-lightbox__video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.ad-lightbox__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(28, 28, 30, 0.65);
    margin: 0 !important;
}

.ad-lightbox__video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Cricket & Co dual-carousel labels + divider */
.cc-carousel-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(28, 28, 30, 0.45);
    margin: 0 0 0.75rem;
}

.cc-divider {
    border: none;
    border-top: 1px solid rgba(28, 28, 30, 0.1);
    margin: 1.5rem 0;
}

/* ---- Catalogue book viewer ---- */

.catalogue-book {
    margin: 0 auto;
    width: 100%;
}

.book-stage {
    position: relative;
    width: 100%;
    height: 380px;
    background: #1c1914;
    border-radius: 4px;
    overflow: hidden;
    /* Perspective lives here so it reads from the stage centre — more natural */
    perspective: 1800px;
    perspective-origin: 50% 50%;
    box-shadow:
        0 2px 0 #0a0907,
        0 4px 0 #14110e,
        0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Each view (single page or spread) */
.book-spread {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.book-spread.is-current {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Underneath layer during a flip: next spread revealed behind the leaf */
.book-spread.is-visible {
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

/* Individual page within a spread */
.book-page {
    flex: 1;
    overflow: hidden;
    background: #f8f5f0;
}

.book-page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f8f5f0;
}

/* Centre spine shadow for two-page spreads */
.book-spine {
    flex: 0 0 0;
    position: relative;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
}

.book-spine::before,
.book-spine::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18px;
}

/* Shadow cast from left page onto right */
.book-spine::after {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.22) 0%, transparent 100%);
}

/* Shadow cast from right page onto left */
.book-spine::before {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.22) 0%, transparent 100%);
}

/* Single page (cover / back) — centred with side margins */
.book-spread--single {
    justify-content: center;
    background: #1c1914;
}

.book-spread--single .book-page {
    flex: 0 0 50%;
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.5), -6px 0 28px rgba(0, 0, 0, 0.5);
}

/* ---- Flip leaf: 3D page-turn from top-right corner ---- */

/* The leaf sits over the turning page.
   Front face = page image. Back face = paper underside.
   No filter animations — those break preserve-3d compositing and cause stiffness. */
.book-flip-leaf {
    position: absolute;
    top: 0;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: none;
    z-index: 20;
    display: none;
}

.book-flip-leaf.is-active {
    display: block;
}

.book-flip-leaf__front,
.book-flip-leaf__back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Front: the page being turned */
.book-flip-leaf__front {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f5f0;
}

/* Fold-crease gradient — simulates the page curving near the spine */
.book-flip-leaf__front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.03) 25%,
            transparent 55%);
    pointer-events: none;
}

/* Back: warm paper tone visible mid-flip */
.book-flip-leaf__back {
    transform: rotateY(180deg);
    background: linear-gradient(170deg, #e2dbd2 0%, #ede8e1 55%, #e6e0d8 100%);
}

/* Soft vignette on back face */
.book-flip-leaf__back::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, transparent 30%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
}

/* ---- Forward: right page folds left (perspective from .book-stage parent) ---- */
@keyframes leaf-flip-fwd {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(-180deg);
    }
}

.book-flip-leaf.is-flipping-fwd {
    animation: leaf-flip-fwd 0.72s cubic-bezier(0.37, 0, 0.63, 1) forwards;
}

/* ---- Backward: left page folds right ---- */
@keyframes leaf-flip-bwd {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(180deg);
    }
}

.book-flip-leaf.is-flipping-bwd {
    animation: leaf-flip-bwd 0.72s cubic-bezier(0.37, 0, 0.63, 1) forwards;
}

/* Controls row */
.book-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.book-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(28, 28, 30, 0.15);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(28, 28, 30, 0.6);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.book-nav:hover:not(:disabled) {
    border-color: var(--color-accent, #ff507f);
    color: var(--color-accent, #ff507f);
    background: rgba(255, 80, 127, 0.06);
}

.book-nav:disabled {
    opacity: 0.3;
    cursor: default;
}

.book-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(28, 28, 30, 0.45);
    letter-spacing: 0.04em;
    min-width: 50px;
    text-align: center;
    margin: 0;
}

/* Reduced motion: skip leaf animation */
@media (prefers-reduced-motion: reduce) {

    .book-flip-leaf.is-flipping-fwd,
    .book-flip-leaf.is-flipping-bwd {
        animation: none;
        display: none;
    }
}

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

    .ad-lightbox__backdrop,
    .ad-lightbox__panel {
        animation: none;
    }
}

/* ---- Other Projects grid ---- */

.other-projects {
    padding: 5rem 0;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .other-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.op-card {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.op-card__img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e8ea;
    /* fallback while image loads */
}

.op-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Dark gradient overlay — slides up on hover */
.op-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 28, 30, 0.92) 0%, rgba(28, 28, 30, 0.4) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.op-card:hover .op-card__img-wrap img {
    transform: scale(1.05);
}

.op-card:hover .op-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

.op-card__category {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-pink);
    margin-bottom: 0.4rem;
}

.op-card__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.op-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
}

/* If the card links somewhere */
.op-card a.op-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Stats */

.stats {
    padding: 5rem 0;
}

.stats-intro h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.95;
    color: #1C1C1E;
    max-width: 20ch;
    margin-bottom: var(--space-30);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Tablet */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        grid-template-areas:
            "card1 card2 card3"
            "card1 card4 card4";
    }

    .stat-card:nth-child(1) {
        grid-area: card1;
        min-height: 300px;
        justify-content: space-between;
    }

    .stat-card:nth-child(2) {
        grid-area: card2;
    }

    .stat-card:nth-child(3) {
        grid-area: card3;
    }

    .stat-card:nth-child(4) {
        grid-area: card4;
    }
}

.stat-card {
    background: #FFFBFA;
    border: var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Subtle card color variations using your palette */
.stat-card:nth-child(1) {
    background: #7D0F1C;
}

.stat-card:nth-child(1) b,
.stat-card:nth-child(1) p {
    color: #FDFBFA;
}

.stat-card:nth-child(2) {
    background: #C4EBF1;
}

.stat-card:nth-child(3) {
    background: #FDFBFA;
}

.stat-card:nth-child(4) {
    background: #F291B3;
}

/* Decorative top accent */
.stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 28, 30, 0.08);
}

.stat-card p {
    margin: 0;
    color: #1C1C1E;
}

.stat-card p:first-child {
    margin-bottom: 0.75rem;
}

.stat-card b {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.25rem);
    line-height: 1.1;
    font-weight: 700;
    color: #1C1C1E;
}

.stat-card p:last-child {
    font-size: 0.98rem;
    line-height: 1.5;
    max-width: 28ch;
    opacity: 0.9;
}

/* PRoject pages CSS */

@media (min-width: 768px) {
    .project-hero-title {
        width: 80%;
    }
}

.project-hero-meta {
    gap: 32px;
    margin-top: var(--space-40);
    margin-bottom: var(--space-40);
}

.projects-intros {
    max-width: var(--wdith-txt);
}

.challenge-card {
    padding: var(--space-30);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
}

.num {
    color: var(--color-pink);
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.num-oultine {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 900;
    -webkit-text-stroke: 1.5px var(--color-action-pink);
    color: transparent;
    line-height: 1;
    flex-shrink: 0;
    width: 2.4rem;
}

.findings-list {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 767px) {
    .findings-list {
        grid-template-columns: 1fr;
    }
}

.findings-list li::before {
    content: '→';
    color: var(--color-action-pink);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.findings-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--structure);
    font-weight: 500;
}

.research-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.info-card {
    background: #fff;
    border: var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.info-card-burgandy {
    background: linear-gradient(135deg, #7D0F1C 0%, #5a0b14 100%);
}

.info-card p,
.info-step p {
    font-size: .86rem;
    margin: 0px;
}

.info-card h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(28, 28, 30, 0.08);
}

.strategy-pillars {
    margin-bottom: 52px;
}

.pillar {
    border-radius: var(--radius-sm);
    padding: 32px 28px;
    border: var(--border);
    position: relative;
    overflow: hidden;
    background: #fff;
}

.pillar:nth-child(1)::after {
    background: var(--color-blue);
}

.pillar:nth-child(2)::after {
    background: var(--color-pink);
}

.pillar:nth-child(3)::after {
    background: var(--color-action-pink);
}

.pillar:nth-child(4)::after {
    background: var(--color-main-burgandy);
}

.pillar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 32px;
    position: relative;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.flow-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-action-pink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
}

.flow-step h3 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.flow-step p {
    font-size: 0.78rem;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
    .flow-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    /* Vertical connector line */
    .flow-steps::before {
        top: 22px;
        bottom: 22px;
        left: 22px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .flow-step {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left;
        padding: 0 0 24px 0;
        width: 100%;
    }

    .flow-step:last-child {
        padding-bottom: 0;
    }

    .flow-dot {
        margin: 0;
        flex-shrink: 0;
    }

    .flow-step h3 {
        margin-top: 8px;
    }
}

.wf-desc {
    max-width: var(--wdith-txt);
    margin-bottom: 24px;
}

.iterations-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: var(--border);
    border-left: 4px solid var(--color-action-pink);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-top: 32px;
}

.palette-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.swatch {
    border-radius: var(--radius-sm);
    border: var(--border);
    padding: 20px 24px;
    min-width: 120px;
    flex: 1;
}

.swatches {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: .8rem;
    margin-bottom: .8rem;
}

.sw {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.sw-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.swatches p {
    font-size: .84rem;
    color: var(--mid);
    max-width: none;
    line-height: 1.65;
    font-weight: 600;
    margin-top: .5rem;
}

#typography {
    font-family: poppins !important;
}

.type-sample-h1,
.type-sample-h2,
.type-sample-body {
    font-family: poppins !important;
}

.type-sample--flexina-h1 {
    font-family: Plus Jakarta Sans !important;
    font-size: 57px;
    line-height: 57px;
    margin-bottom: 20px;
}

.type-sample-h1 {
    font-size: 57px;
    line-height: 74px;
    font-weight: 700;
    margin-bottom: var(--space-20);
}

.type-sample-h2 {
    font-size: 27px;
    line-height: 32px;
    font-weight: 700;
}

.type-sample-body {
    color: var(--color-text);
    opacity: 1;
}

@media (max-width: 767px) {
    #typography {
        padding: 24px;
        border-radius: 1.25rem;
    }

    .type-sample-h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .type-sample-h2 {
        font-size: 20px;
        line-height: 26px;
    }

    .type-sample--flexina-h1 {
        font-size: 34px;
        line-height: 42px;
    }
}

.project-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600 !important;
    color: var(--color-pink);
    line-height: 1;
    margin-bottom: 8px;
}

.project-stat-item {
    text-align: center;
}

#case-footer-cta {
    padding: 80px 0;
    text-align: center;
    max-width: 480px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* To Delete later */
.img-placeholder {
    width: 100%;
    background: linear-gradient(135deg, var(--clarity) 0%, #e8f7fa 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6ab0be;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;

    /* border: 2px dashed #a8d8e0; */
    position: relative;
    overflow: hidden;
}

.img-320 {
    border-radius: var(--radius-md);
    height: 320px;
    object-fit: contain;
}

.img-420 {
    margin: auto;
    border-radius: var(--radius-md);
    height: 420px;
    object-fit: contain;
}

.img-placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
    z-index: 1;
}


/* =========================================
   SITE HEADER
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--color-white);
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 24px rgba(28, 28, 30, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    height: 100px;
    gap: 1.5rem;
    overflow: visible;
}

/* Brand */
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    overflow: visible;
}

.site-logo {
    height: 50px;
    width: auto;
    /* margin-bottom: -28px; /* Overlap: logo extends 28px below the nav bar 
    position: relative;
    z-index: 1000; */
    transition: transform 0.3s ease;
}

.site-header__brand:hover .site-logo {
    transform: scale(1.04);
}

.site-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

/* Nav */
.site-nav {
    margin-left: auto;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav__item {
    position: relative;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.55rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.site-nav__link:not(.primary-btn):hover {
    background: rgba(28, 28, 30, 0.06);
    color: var(--color-action-pink);
}


/* Dropdown chevron */
.dropdown-chevron {
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.site-nav__item--has-dropdown.is-open .dropdown-chevron,
.site-nav__item--has-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown panel */
.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 280px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(28, 28, 30, 0.14), 0 4px 16px rgba(28, 28, 30, 0.07);
    border: 1px solid rgba(28, 28, 30, 0.07);
    padding: 0.75rem 1rem 1rem;
    padding-top: 1.5rem;
    /* bridges the visual gap without a hover dead zone */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* delay on close so mouse can travel to the panel */
    transition: opacity 0.25s ease 0.1s, transform 0.25s ease 0.1s, visibility 0.25s 0.1s;
    z-index: 998;
}

/* Open state: hover (desktop) — no delay on open */
.site-nav__item--has-dropdown:hover .site-nav__dropdown,
.site-nav__item--has-dropdown.is-open .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}

/* Dropdown list */
.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav__item--has-dropdown:hover .dropdown-item,
.site-nav__item--has-dropdown.is-open .dropdown-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger each item */
.site-nav__item--has-dropdown:hover .dropdown-item:nth-child(1),
.site-nav__item--has-dropdown.is-open .dropdown-item:nth-child(1) {
    transition-delay: 0.04s;
}

.site-nav__item--has-dropdown:hover .dropdown-item:nth-child(2),
.site-nav__item--has-dropdown.is-open .dropdown-item:nth-child(2) {
    transition-delay: 0.08s;
}

.site-nav__item--has-dropdown:hover .dropdown-item:nth-child(3),
.site-nav__item--has-dropdown.is-open .dropdown-item:nth-child(3) {
    transition-delay: 0.12s;
}

.site-nav__item--has-dropdown:hover .dropdown-item:nth-child(4),
.site-nav__item--has-dropdown.is-open .dropdown-item:nth-child(4) {
    transition-delay: 0.16s;
}

.dropdown-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-link:hover {
    background: rgba(217, 35, 99, 0.06);
}

.dropdown-link__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.dropdown-link:hover .dropdown-link__label {
    color: var(--color-action-pink);
}

.dropdown-link__sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(28, 28, 30, 0.5);
    font-weight: 400;
}

.dropdown-all-link {
    display: block;
    margin-top: 0.75rem;
    padding: 0.6rem 0.9rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-action-pink);
    text-decoration: none;
    border-top: 1px solid rgba(28, 28, 30, 0.07);
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.dropdown-all-link:hover {
    opacity: 0.7;
}

/* Mobile hamburger */
.site-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
    border-radius: 8px;
}

.site-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav__hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.site-nav__hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile layout ---- */
@media (max-width: 900px) {
    .site-nav__hamburger {
        display: flex;
    }

    /* Shrink the header on mobile */
    .site-header__inner {
        height: 60px;
    }

    .site-logo {
        height: 34px;
    }

    .site-name {
        font-size: 0.9rem;
    }

    .site-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-top: 1px solid rgba(28, 28, 30, 0.07);
        box-shadow: 0 12px 32px rgba(28, 28, 30, 0.1);
        padding: 0.6rem 1rem 1rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        pointer-events: none;
        z-index: 997;
        box-sizing: border-box;
    }

    .site-nav.is-mobile-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }

    .site-nav__item {
        width: 100%;
        box-sizing: border-box;
    }

    .site-nav__link {
        width: 100%;
        box-sizing: border-box;
        padding: 0.85rem 0.75rem;
        font-size: 0.9rem;
    }

    .site-nav__dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 12px;
        background: rgba(28, 28, 30, 0.04);
        margin-top: 0.25rem;
        padding: 0.5rem;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        display: none;
    }

    .site-nav__item--has-dropdown.is-open .site-nav__dropdown {
        display: block;
    }

    .dropdown-item {
        opacity: 1;
        transform: none;
    }

    .site-nav__list .primary-btn {
        margin-left: 0;
        margin-top: 0.4rem;
        text-align: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    .site-nav__dropdown {
        padding: 0.35rem;
        margin-top: 0.15rem;
    }

    .dropdown-link {
        padding: 0.75rem 0.75rem;
    }

    .dropdown-link__label {
        font-size: 0.82rem;
    }

    .dropdown-all-link {
        padding: 0.4rem 0.75rem;
        margin-top: 0.4rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 901px) {
    .site-nav {
        display: block !important;
    }
}

/* Active nav link */
.site-nav__link.is-active {
    color: var(--color-action-pink);
    background: rgba(217, 35, 99, 0.08);
    position: relative;
}

.site-nav__link.is-active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-action-pink);
}

/* Active dropdown item */
.dropdown-link.is-active .dropdown-link__label {
    color: var(--color-action-pink);
}

.dropdown-link.is-active {
    background: rgba(217, 35, 99, 0.06);
}


/* =========================================
   SITE FOOTER
   ========================================= */

.site-footer {
    background-color: var(--color-text);
    color: var(--color-white);
    margin-top: 5rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
}

/* Brand column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand__logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.footer-logo {
    height: 52px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

.footer-brand__logo-wrap:hover .footer-logo {
    opacity: 1;
}

.footer-site-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(253, 251, 250, 0.55);
    margin: 0;
    opacity: 1;
}

.footer-cta {
    align-self: flex-start;
}

/* Nav columns */
.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-nav__heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(253, 251, 250, 0.4);
    margin: 0 0 1rem;
    opacity: 1;
}

.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav__list a {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(253, 251, 250, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-nav__list a:hover {
    color: var(--color-action-pink);
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(253, 251, 250, 0.1);
}

.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
}

.footer-bottom__copy,
.footer-bottom__made {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(253, 251, 250, 0.35);
    margin: 0;
    opacity: 1;
}

/* Desktop layout */
@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: 1.4fr 1fr;
        gap: 4rem;
    }

    .footer-bottom__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE OPTIMISATIONS — global pass (≤ 767px)
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* ── Section & page spacing ── */
    .hero-text-col {
        padding: 3rem 1.5rem 2rem;
    }

    .hero-visual {
        min-height: 300px;
        padding: 1.5rem 0 2rem;
    }

    .clients {
        padding: 2.5rem 0;
    }

    .other-projects {
        padding: 2.5rem 0;
    }

    .stats {
        padding: 2.5rem 0;
    }

    .project section {
        padding: 40px 0;
    }

    .about-hero {
        padding: 2.5rem 0 2rem;
    }

    .about-skills {
        padding: 2rem 0;
    }

    .about-experience {
        padding: 2rem 0;
    }

    .about-education {
        padding: 2rem 0;
    }

    /* ── Section shells ── */
    .section-shell,
    .section-shell-pink,
    .section-shell-blue {
        padding: 24px;
        border-radius: 1.25rem;
    }

    .section-shell-dark,
    .section-shell-burgandy {
        padding: 28px;
        border-radius: 1.25rem;
    }

    /* ── Clients / testimonials ── */
    .clients-top {
        padding: 1rem;
        gap: 0.75rem;
    }

    /* Replace absolute-stacked carousel with simple single-card view */
    .testimonials-stage,
    .testimonials-wrapper {
        position: static;
        min-height: 0;
        overflow: visible;
        display: block;
    }

    .testimonial-card {
        position: static;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        opacity: 0;
        height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        box-shadow: none;
        min-height: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .testimonial-card.is-active {
        opacity: 1;
        height: auto;
        overflow: visible;
        padding: 1.25rem;
        border: var(--border);
        box-shadow: 0 8px 24px rgba(28, 28, 30, 0.06);
        pointer-events: auto;
    }

    .testimonial-card.is-prev,
    .testimonial-card.is-next {
        opacity: 0 !important;
        transform: none !important;
        height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none;
        border: none !important;
        box-shadow: none !important;
    }
}

/* ── Mobile nav: fix dropdown transform bleeding off-screen ── */
@media (max-width: 900px) {

    .site-nav__item--has-dropdown.is-open .site-nav__dropdown,
    .site-nav__item--has-dropdown:hover .site-nav__dropdown {
        transform: none;
        opacity: 1;
        visibility: visible;
    }
}

/* ── Images: show full on mobile (no cropping) ── */
@media (max-width: 767px) {

    .img-420,
    .img-320 {
        width: 100%;
        height: auto;
        max-height: none;
    }
}
/* ── FlyUX: simple bulleted list (benchmarking cards) ── */
.findings-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.findings-list-simple li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
}

.findings-list-simple li::before {
    content: '–';
    color: var(--color-action-pink);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── FlyUX: image display helpers ── */

/* Hero image: full width, natural height */
.flyux-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
}

/* Portrait/square images: cap height so they don't dominate */
.flyux-img-constrained {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.flyux-img-constrained img {
    max-height: 560px;
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 0.5rem;
}

/* Wide flow diagrams: horizontal scroll with fixed height */
.flyux-img-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--color-surface, #f8f8f6);
    border-radius: 0.75rem;
    padding: 1rem;
}
.flyux-img-scroll img {
    height: 320px;
    width: auto;
    max-width: none;
    display: block;
    border-radius: 0.25rem;
}
.flyux-img-scroll span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
}
