/* ===========================================
   FONTS
   =========================================== */
@font-face {
    font-family: 'DMSans';
    src: url('/fonts/DMSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DMSans';
    src: url('/fonts/DMSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DMSans';
    src: url('/fonts/DMSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LibreCaslonText';
    src: url('/fonts/LibreCaslonText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'LibreCaslonText';
    src: url('/fonts/LibreCaslonText-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'LibreCaslonText';
    src: url('/fonts/LibreCaslonText-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===========================================
   0. CSS CUSTOM PROPERTIES
   =========================================== */
:root {
    --color-bg: #FFFFFF;
    --color-text: #1A1A1A;
    --color-accent: #96532A;
    --color-accent-light: #B8704A;
    --color-dark-bg: #111111;
    --color-dark-text: #F0F0F0;
    --color-line: #96532A;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-display-caslon: 'Libre Caslon Display', 'Georgia', serif;
    --font-body: 'DMSans', Arial, sans-serif;
    --font-mono: 'DM Mono', 'Courier New', monospace;

    --max-width: 1100px;
    --side-padding: 80px;
}

/* ===========================================
   1. RESET & BASE
   =========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

.accent {
    color: var(--color-accent);
}

/* ===========================================
   2. HEADER / NAVIGATION
   =========================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--side-padding);
}

/* Logo du header — le cheval reste seul en haut de page, le mot ALIGNED se
   déroule au scroll. Les deux SVG sont découpés dans le logo d'origine
   (2292 unités de large) : les ratios ci-dessous reproduisent exactement
   ses proportions, --logo-width restant la largeur du logo complet. */
.logo {
    --logo-width: clamp(150px, 14vw, 210px);
    --logo-horse: 0.21378;   /* cheval  : 490 / 2292, marge gauche d'origine comprise */
    --logo-text: 0.66318;    /* ALIGNED : 1520 / 2292 */
    --logo-space: 0.07722;   /* espace entre les deux : 177 / 2292 */
    display: flex;
    align-items: center;
}

.logo-mark {
    width: calc(var(--logo-width) * var(--logo-horse));
    height: auto;
    display: block;
}

/* Volet qui se referme sur le mot : l'image garde sa largeur, seul le
   cadre se rétracte — le texte ne se déforme donc jamais. */
.logo-word {
    display: block;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 0.4s ease;
}

.logo-word img {
    display: block;
    /* la règle globale img { max-width: 100% } ramènerait l'image à zéro,
       le volet qui l'entoure étant à max-width: 0 au repos */
    max-width: none;
    width: calc(var(--logo-width) * var(--logo-text));
    height: auto;
    margin-left: calc(var(--logo-width) * var(--logo-space));
    transform: translateX(-10px);
    transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-header.is-logo-open .logo-word {
    max-width: calc(var(--logo-width) * (var(--logo-text) + var(--logo-space)));
    opacity: 1;
}

.site-header.is-logo-open .logo-word img {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .logo-word,
    .logo-word img {
        transition: none;
    }
}

.logo-icon {
    width: 36px;
    height: 28px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===========================================
   3. HERO SECTION
   =========================================== */
.hero {
    width: 100%;
    overflow: hidden;
    padding: 24px 0 40px;
}

.hero-title {
    width: min(104%, 1565px);
    height: auto;
    display: block;
    margin: 0 auto;
    --hero-fade: 1;
    --hero-shift: 0px;
    opacity: var(--hero-fade);
    transform: translate3d(0, var(--hero-shift), 0);
    will-change: opacity, transform;
    transform-origin: center top;
    backface-visibility: hidden;
}

/* ===========================================
   4. TAGLINE SECTION
   =========================================== */
.tagline {
    padding: 20px 0 60px;
    text-align: center;
}

.tagline-heading {
    font-family: var(--font-display-caslon);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    margin: 0 auto 24px;
}

.tagline-body {
    font-family: 'DMSans', Arial, sans-serif;
    font-size: clamp(1.05rem, 1.24vw, 1.25rem);
    font-weight: 300;
    line-height: 1.7;
    white-space: nowrap;
    margin: 0 auto;
    color: #444;
}

/* nowrap keeps the artboard's two-line break on a wide screen. At this size the
   second line no longer clears the container on a narrow laptop, so let it wrap
   there rather than run past the right edge. */
@media (max-width: 900px) {
    .tagline-body {
        white-space: normal;
    }
}

/* ===========================================
   5. IMAGE CAROUSEL
   =========================================== */
.carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    gap: 16px;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 auto;
    width: 280px;
    height: 370px;
    overflow: hidden;
    border-radius: 2px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================================
   6. CTA - DISCOVER OUR WORK
   =========================================== */
.cta-work {
    text-align: center;
    padding: 0px 0 80px;
}

.cta-link {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.cta-link:hover {
    color: var(--color-accent);
}

/* ===========================================
   7. SERVICES SECTION — sticky reveal
   =========================================== */
.services {
    padding: 0;
}

.services-sticky {
    --services-count: 5;
    --services-step: 70vh;
    --services-stack-height: clamp(300px, 46vh, 480px);
    position: relative;
    background: var(--color-bg);
}

.services-sticky__scroll {
    height: calc((var(--services-count) - 1) * var(--services-step) + 100vh);
}

.services-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: clamp(80px, 12vh, 140px);
    overflow: hidden;
}

.services-stage .container {
    width: 100%;
}

.services-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.services-label {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-divider {
    height: 2px;
    box-sizing: border-box;
    border-top: 1px solid #a7705f;
    background: #752f1f;
}

.services-stack {
    position: relative;
    min-height: var(--services-stack-height);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 90px);
    padding: clamp(40px, 6vh, 72px) 0;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform-origin: center top;
    will-change: transform, opacity, filter;
}

.service-name {
    display: flex;
    flex-direction: column;
    gap: 14px;
    will-change: transform, opacity;
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    font-variant-numeric: slashed-zero;
    color: var(--color-accent);
    opacity: 0.75;
}

.service-name h3 {
    font-family: 'DMSans', Arial, sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.005em;
}

.service-detail {
    max-width: 560px;
}

.service-detail h4 {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.35;
    margin-bottom: 18px;
    color: var(--color-text);
    will-change: transform, opacity;
}

.service-detail p {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 400;
    line-height: 1.75;
    color: #3a3a3a;
    will-change: transform, opacity;
}

/* Progress under bottom divider — counter + track */
.services-progress {
    margin-top: 22px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
}

.services-progress__counter {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

.services-progress__current {
    font-size: 1rem;
    font-weight: 700;
    min-width: 2ch;
    display: inline-block;
}

.services-progress__sep,
.services-progress__total {
    font-size: 0.8rem;
    opacity: 0.55;
}

.services-progress__track {
    position: relative;
    height: 1px;
    background: rgba(150, 83, 42, 0.18);
    overflow: hidden;
}

.services-progress__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: var(--color-accent);
    transform-origin: left center;
}

.services-progress__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0.5;
}

/* Mobile — keep the cinematic sticky-scroll behaviour, single-column layout */
@media (max-width: 680px) {
    .services-sticky {
        --services-stack-height: clamp(360px, 70vh, 560px);
    }
    .services-stage {
        padding-top: clamp(60px, 9vh, 100px);
    }
    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: clamp(20px, 4vh, 40px) 0;
    }
}

/* ===========================================
   8. THE GAP SECTION
   =========================================== */
.gap-section {
    padding: 20px 0 100px;
}

.gap-heading {
    font-family: var(--font-display-caslon);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    margin-bottom: 40px;
    white-space: nowrap;
}

/* Same measure as the philosophy copy below the banner, so the two blocks
   share one text column instead of ending on different right edges. */
.gap-body {
    max-width: 100%;
}

.gap-body p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.24vw, 1.125rem);
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
}

#about .gap-body > p:first-child {
    padding-right: 0;
}

.gap-cta {
    font-weight: 300;
    color: var(--color-text) !important;
}

/* ===========================================
   9. FULL-WIDTH BANNER
   =========================================== */
.banner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.banner-bg {
    min-height: 50vh;
    background-color: #2A2A2A;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.banner-text .tw-caret {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    vertical-align: -0.08em;
    margin-left: 0.08em;
    background: var(--color-accent);
    animation: tw-blink 600ms steps(1, end) infinite;
}

.banner-text.tw-done .tw-caret {
    animation: none;
    opacity: 0;
    transition: opacity 400ms ease 200ms;
}

@keyframes tw-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.banner-text {
    font-family: var(--font-display-caslon);
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 400;
    font-style: normal;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    line-height: 1.3;
}

/* Desktop: keep the banner text on a single line */
.banner-text .banner-break {
    display: none;
}

/* ===========================================
   10. PHILOSOPHY SECTION
   =========================================== */
.philosophy {
    padding: 100px 0 40px;
}

.philosophy-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.24vw, 1.125rem);
    line-height: 1.8;
    color: #333;
    max-width: 100%;
    margin-bottom: 16px;
}

.philosophy-text:first-child {
    padding-right: 0;
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

/* Retour à la ligne voulu sur grand écran ; neutralisé sur mobile,
   où il laisserait une ligne quasi vide au milieu du paragraphe. */
@media (max-width: 768px) {
    br.break-wide {
        display: none;
    }
}

.underline-accent {
    text-decoration: none;
}

.underline-accent:hover {
    color: var(--color-accent);
}

/* ===========================================
   11. LATEST WORK SECTION
   =========================================== */
.latest-work {
    background: var(--color-bg);
    color: var(--color-text);
    padding: 50px 0 120px;
}

.latest-work-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 60px;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.work-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-item:hover img {
    transform: scale(1.03);
}

/* Les calques de survol sont définis plus bas, après .project-card :
   même spécificité, ils doivent donc être déclarés en dernier. */

/* ===========================================
   12. SEE MORE PROJECTS LINK
   =========================================== */
.see-more-wrap {
    text-align: center;
    margin-top: 60px;
}

.see-more-link {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #1A1A1A;
    transition: color 0.2s ease;
}

.see-more-link:hover {
    color: #752f1f;
}

/* ===========================================
   12b. FOOTER
   =========================================== */
.site-footer {
    background: #8a412b;
    color: #fff;
    padding: 60px 0 40px;
    overflow: hidden;
}

.footer-marquee {
    width: 100%;
    overflow: hidden;
    margin-bottom: 60px;
    color: #752f1f;
    user-select: none;
}

.footer-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: footer-marquee-scroll 24s linear infinite;
}

.footer-marquee__track span {
    flex: none;
    padding: 0.08em clamp(48px, 6vw, 96px) 0.16em 0;
    font-family: 'DMSans', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(3.5rem, 8vw, 8rem);
    letter-spacing: -7px;
    line-height: 1.12;
    white-space: nowrap;
}

@keyframes footer-marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-marquee {
        overflow: visible;
    }

    .footer-marquee__track {
        display: block;
        width: auto;
        animation: none;
        transform: none;
    }

    .footer-marquee__track span {
        display: block;
        padding: 0 var(--side-padding);
        text-align: center;
        white-space: normal;
    }

    .footer-marquee__track span + span {
        display: none;
    }
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 40px;
    padding: 0 var(--side-padding);
}

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

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #fff;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-center {
    text-align: center;
}

.footer-horse {
    width: 208px;
    height: auto;
    margin: 0 auto 10px;
    display: block;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    color: #fff;
    display: inline-flex;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-email {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #fff;
    transition: opacity 0.2s ease;
}

.footer-email:hover {
    opacity: 0.7;
}

/* ===========================================
   14. SERVICES PAGE — HERO
   =========================================== */
.svc-hero {
    overflow: hidden;
}

.svc-hero-bg {
    min-height: 50vh;
    background-color: #2A3A2A;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.svc-hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(5rem, 14vw, 16rem);
    letter-spacing: 0.12em;
    line-height: 0.9;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    mix-blend-mode: difference;
}

/* ===========================================
   15. SERVICES PAGE — INTRO
   =========================================== */
.svc-intro {
    padding-bottom: 80px;
}

.svc-intro-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 60px;
}

.svc-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-intro-quote {
    margin-bottom: 40px;
}

.svc-intro-quote p {
    font-family: var(--font-display-caslon);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    max-width: 700px;
}

.svc-intro-body p {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: #444;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

/* ===========================================
   16. SERVICES PAGE — SERVICE SECTIONS
   =========================================== */
.svc-section {
    padding: 80px 0;
    border-top: 1px solid #e0e0e0;
}

.svc-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.svc-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-variant-numeric: slashed-zero;
    text-transform: uppercase;
    font-weight: 700;
}

.svc-arrow {
    font-size: 0.8rem;
}

.svc-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 700px;
}

.svc-description {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: #444;
    max-width: 700px;
    margin-bottom: 40px;
}

/* Title with price on the right */
.svc-title-with-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.svc-standalone-price {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 12px;
}

/* ===========================================
   17. SERVICES PAGE — PRICING CARDS
   =========================================== */
.svc-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 40px 0;
}

.svc-pricing-card {
    border-top: 1px solid #ddd;
    padding-top: 24px;
}

.svc-pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.svc-pricing-name {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: 700;
}

.svc-pricing-price {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.svc-pricing-desc {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}

/* ===========================================
   18. SERVICES PAGE — TOGGLE / INCLUDES
   =========================================== */
.svc-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
    color: var(--color-text);
    transition: color 0.2s ease;
}

.svc-toggle-btn:hover {
    color: var(--color-accent);
}

.svc-toggle-arrow {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.svc-toggle-btn.active .svc-toggle-arrow {
    transform: rotate(180deg);
}

.svc-toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.svc-toggle-content.open {
    max-height: 500px;
}

.svc-toggle-content ul {
    list-style: none;
    padding: 12px 0 20px;
}

.svc-toggle-content ul li {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.8;
    color: #444;
    padding-left: 16px;
    position: relative;
}

.svc-toggle-content ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #999;
}

/* ===========================================
   19. SERVICES PAGE — LISTS
   =========================================== */
.svc-list-columns {
    margin: 32px 0;
}

.svc-list-columns--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.svc-list-heading {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.svc-arrow-small {
    font-size: 0.7rem;
}

.svc-list {
    list-style: none;
}

.svc-list li {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.8;
    color: #444;
    padding-left: 16px;
    position: relative;
}

.svc-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #999;
}

.svc-note {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    font-style: normal;
    color: #666;
    margin-top: 24px;
}

.svc-footnote {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 0.9vw, 0.85rem);
    color: #777;
    line-height: 1.7;
    margin: 24px 0 40px;
    max-width: 700px;
}

/* ===========================================
   20. SERVICES PAGE — CAROUSEL
   =========================================== */
.svc-carousel {
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.svc-carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

.svc-carousel-item {
    flex: 0 0 calc(50% - 8px);
    border-radius: 2px;
    overflow: hidden;
}

.svc-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}

.svc-carousel-item--phone {
    flex: 0 0 220px;
}

.svc-carousel-item--phone img {
    aspect-ratio: auto;
}

.svc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.svc-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.svc-carousel-dot.active {
    background: var(--color-text);
}

/* ===========================================
   21. SERVICES PAGE — BEST FOR
   =========================================== */
.svc-bestfor {
    margin-top: 32px;
    padding-top: 20px;
}

.svc-bestfor-heading {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.svc-bestfor p {
    font-family: var(--font-display-caslon);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.7;
    color: #555;
    font-style: normal;
    max-width: 600px;
}

/* ===========================================
   22. SERVICES PAGE — BOTTOM
   =========================================== */
.svc-bottom {
    padding: 100px 0;
    text-align: center;
}

.svc-bottom-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    color: #333;
    max-width: 700px;
    margin: 0 auto 16px;
}

.svc-bottom-text--strong {
    font-weight: 600;
    color: var(--color-text);
}

/* ===========================================
   23. NAV ACTIVE STATE
   =========================================== */
.nav-active {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}

/* ===========================================
   13. RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    :root {
        --side-padding: 24px;
    }

    /* Header */
    .header-inner {
        padding: 18px var(--side-padding);
    }

    /* Logo — bump size so the ALIGNED wordmark renders sharply on phones
       (the SVG is 2292×395, so the default 150px min was too small and subpixel-blurred) */
    .logo {
        --logo-width: 190px;
    }

    .nav-toggle {
        display: flex;
        z-index: 110;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 105;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav a {
        font-size: 1rem;
    }

    /* Nav toggle X state */
    .nav-toggle.active .nav-toggle-line:first-child {
        transform: translateY(3.75px) rotate(45deg);
    }

    .nav-toggle.active .nav-toggle-line:last-child {
        transform: translateY(-3.75px) rotate(-45deg);
    }

    /* Hero */
    .hero {
        padding: 30px var(--side-padding) 40px;
    }

    .hero-title {
        width: 100%;
    }

    /* Tagline */
    .tagline {
        padding: 10px 0 40px;
    }

    .tagline-heading {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        white-space: normal;
    }

    .tagline-body {
        white-space: normal;
    }

    /* Carousel */
    .carousel-item {
        width: 200px;
        height: 260px;
    }

    /* Services */
    .services {
        padding: 50px 0;
    }

    .services-header {
        padding-bottom: 14px;
    }

    /* Tighten vertical rhythm on mobile so sections don't feel disjointed */
    .cta-work {
        padding: 0 0 32px;
    }

    /* Gap section */
    .gap-section {
        padding: 20px 0 50px;
    }

    .gap-heading {
        white-space: normal;
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.25;
        margin-bottom: 28px;
    }

    /* Banner — keep it rectangular (wider than tall) on mobile */
    .banner-bg {
        min-height: 0;
        aspect-ratio: 16 / 9;
        background-position: center;
    }

    .banner-overlay {
        padding: 20px;
    }

    .banner-text {
        font-size: clamp(1.05rem, 5vw, 1.5rem);
        white-space: normal;
        padding: 0 16px;
        line-height: 1.4;
    }

    .banner-text .banner-break {
        display: inline;
    }

    /* Vertically center the typewriter span so partial-typed text sits mid-image */
    .banner-text > span:first-child {
        top: 50% !important;
        transform: translateY(-50%);
    }

    /* Philosophy — tighten gap before services ("What we do") */
    .philosophy {
        padding: 40px 0 10px;
    }

    /* Services — reduce top gap between philosophy and services header */
    .services {
        padding: 20px 0 40px;
    }

    /* Latest work */
    .latest-work {
        padding: 60px 0 80px;
    }

    .work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .see-more-wrap {
        margin-top: 40px;
    }

    /* Footer */
    .site-footer {
        padding: 40px 0 24px;
    }

    .footer-marquee {
        margin-bottom: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-horse {
        width: min(130px, 32vw);
    }

    /* Services page */
    .svc-hero-bg {
        min-height: 35vh;
    }

    .svc-hero-title {
        letter-spacing: 0.06em;
    }

    .svc-section {
        padding: 50px 0;
    }

    .svc-pricing {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .svc-list-columns--two {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .svc-title-with-price {
        flex-direction: column;
        gap: 8px;
    }

    .svc-carousel-item {
        flex: 0 0 80%;
    }

    .svc-carousel-item--phone {
        flex: 0 0 min(220px, 65%);
    }

    .svc-bottom {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 24px 12px 32px;
    }

    .hero-title {
        width: 100%;
    }

    .carousel-item {
        width: 160px;
        height: 210px;
    }
}

/* ===========================================
   24. SERVICES PAGE REBUILD
   =========================================== */
body.services-page {
    font-family: 'DMSans', Arial, sans-serif;
    font-weight: 300;
    background: #fff;
    color: #171717;
}


.services-layout {
    padding-bottom: 56px;
}

.services-shell {
    width: min(1500px, calc(100% - 76px));
    margin: 0 auto;
}

.services-hero {
    padding: 0 0 48px;
}

.services-hero__wordmark {
    margin: 8px auto 12px;
    overflow: hidden;
}

.services-hero__wordmark img {
    width: 104%;
    height: auto;
    display: block;
    margin-left: -2%;
}

.services-hero__visual {
    position: relative;
    aspect-ratio: 5868 / 3224;
    overflow: hidden;
}

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

.services-hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.78) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-hero__visual.is-loaded::after {
    opacity: 1;
}

.services-hero__overlay {
    position: absolute;
    left: 50%;
    top: 78%;
    transform: translate(-50%, -50%);
    width: min(1200px, calc(100% - 80px));
    text-align: center;
    color: #fff;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease 0.05s;
}

.services-hero__visual.is-loaded .services-hero__overlay {
    opacity: 1;
}

.services-hero__headline {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(1.6rem, 3.1vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -0.005em;
    margin: 0;
}

.services-hero__body {
    margin: 14px auto 0;
    max-width: 980px;
    font-size: clamp(0.92rem, 1.15vw, 1.1rem);
    line-height: 1.55;
    font-weight: 300;
}

.services-hero__body--mobile {
    display: none;
}

@media (max-width: 720px) {
    .services-hero__visual {
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }
    .services-hero__visual img {
        height: 100%;
        object-position: 50% 35%;
    }
    .services-hero__visual::after {
        background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.82) 100%);
    }
    .services-hero__overlay {
        width: calc(100% - 36px);
        top: auto;
        bottom: clamp(20px, 5vw, 32px);
        transform: translateX(-50%);
        color: #fff;
    }
    .services-hero__headline {
        font-size: clamp(1.25rem, 5.2vw, 1.6rem);
        line-height: 1.25;
    }
    .services-hero__headline br {
        display: none;
    }
    /* Body inside overlay hidden on mobile — shown below image instead */
    .services-hero__overlay .services-hero__body {
        display: none;
    }
    .services-hero__body--mobile {
        display: block;
        margin: 18px 20px 0;
        font-family: var(--font-body);
        font-weight: 300;
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        line-height: 1.65;
        color: #3a3a3a;
        text-align: left;
    }
}

.svc-panel {
    width: min(1360px, calc(100% - 110px));
    margin: 0 auto 42px;
}

.svc-panel__inner {
    border: 2px solid #2b2b2b;
    padding: 36px 40px 30px;
}

.svc-panel__eyebrow {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.svc-panel--collapsible .svc-panel__inner {
    padding: 0;
    border: none;
    transition: padding 0.25s ease, border-color 0.25s ease;
}

.svc-panel--collapsible button.svc-panel__eyebrow {
    background: transparent;
    color: inherit;
    font-family: inherit;
    border: 2px solid #2b2b2b;
    padding: 14px 22px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.svc-panel--collapsible button.svc-panel__eyebrow:hover {
    background: #2b2b2b;
    color: #fff;
}

.svc-panel--collapsible button.svc-panel__eyebrow:focus-visible {
    outline: 2px solid #2b2b2b;
    outline-offset: 3px;
}

.svc-panel__chev {
    display: inline-block;
    transition: transform 0.25s ease;
}

.svc-panel--collapsible[data-collapsed="false"] .svc-panel__chev {
    transform: rotate(180deg);
}

.svc-panel--collapsible[data-collapsed="false"] .svc-panel__inner {
    border: 2px solid #2b2b2b;
    padding: 36px 40px 30px;
}

.svc-panel--collapsible[data-collapsed="false"] button.svc-panel__eyebrow {
    border: none;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#creative-asset[data-collapsed="false"] button.svc-panel__eyebrow {
    position: relative;
    text-decoration: none;
}

#creative-asset[data-collapsed="false"] button.svc-panel__eyebrow::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 1px;
    background: currentColor;
    pointer-events: none;
}

.svc-panel--collapsible[data-collapsed="false"] button.svc-panel__eyebrow:hover {
    background: transparent;
    color: inherit;
}

.svc-panel__body-wrap {
    margin-top: 28px;
}

.svc-panel__body-wrap[hidden] {
    display: none;
}

.svc-panel--collapsible {
    margin-bottom: 18px;
}

.svc-panel__title {
    max-width: 760px;
    margin-top: 28px;
    font-size: clamp(1.45rem, 1.8vw, 1.95rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.svc-panel__body {
    max-width: 820px;
    margin-top: 18px;
    font-size: 0.87rem;
    line-height: 1.42;
    font-weight: 300;
}

.svc-panel__body--wide {
    max-width: 1080px;
}

.svc-panel__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}

.svc-panel__split--social,
.svc-panel__split--narrow {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.svc-panel__split > .svc-panel__content > .svc-panel__title:first-child {
    margin-top: 0;
}

.svc-panel__aside {
    width: 100%;
    max-width: 300px;
    justify-self: end;
}

.svc-panel__aside img,
.svc-panel__media img {
    display: block;
    max-width: 100%;
    height: auto;
}

.svc-panel__media--full {
    margin-top: 40px;
}

.svc-gallery {
    width: 100%;
    min-width: 0;
}

.svc-gallery__slides {
    display: grid;
    aspect-ratio: 1000 / 1234;
    overflow: hidden;
}

.svc-gallery--wide .svc-gallery__slides {
    aspect-ratio: 7192 / 1264;
}

.svc-gallery__slides img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: svc-gallery-reveal 400ms ease-out;
}

.svc-gallery__slides img[hidden] {
    display: none;
}

@keyframes svc-gallery-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-gallery__slides img {
        animation: none;
    }
}

.svc-panel__title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
}

.svc-panel__title-row .svc-panel__title {
    margin-top: 0;
}

.svc-panel__price-tag {
    padding-top: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.svc-offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 44px;
}

.svc-offers--compact {
    margin-top: 28px;
}

.svc-offer {
    min-width: 0;
}

.svc-offer:first-child {
    padding-right: 36px;
}

.svc-offer + .svc-offer {
    padding-left: 36px;
    border-left: 1px solid #5d5d5d;
}

.svc-offer__header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: baseline;
}

.svc-offer__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.svc-offer__price {
    font-size: 0.87rem;
    font-weight: 500;
    white-space: nowrap;
}

.svc-offer__body {
    max-width: 330px;
    margin-top: 18px;
    font-size: 0.86rem;
    line-height: 1.38;
}

.svc-accordion-toggle {
    margin-top: 14px;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: #752f1f;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
}

.svc-accordion-content {
    margin-top: 14px;
}

.svc-offer__right-for {
    margin-top: 14px;
    font-size: 0.82rem;
    line-height: 1.55;
    font-style: italic;
    color: #555;
}

.svc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 28px;
}

.svc-columns--single {
    grid-template-columns: minmax(0, 560px);
}

.svc-columns--tight {
    margin-top: 20px;
}

.svc-list-heading {
    margin-bottom: 10px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.29em;
    text-transform: uppercase;
}

.svc-list {
    list-style: none;
}

.svc-list li {
    position: relative;
    padding-left: 14px;
    font-size: 0.84rem;
    line-height: 1.36;
}

.svc-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
}

.svc-note,
.svc-footnote,
.svc-best-fit__body {
    font-size: 0.82rem;
    line-height: 1.42;
}

.svc-note {
    margin-top: 18px;
}

.svc-footnote {
    max-width: 860px;
    margin-top: 18px;
    font-family: var(--font-body);
    font-style: normal;
}

.svc-best-fit {
    margin-top: 18px;
}

.svc-best-fit__label {
    margin-bottom: 4px;
    font-size: 0.84rem;
    font-weight: 400;
}

.services-closing {
    max-width: 980px;
    margin: 68px auto 0;
    padding: 0 40px 40px;
    text-align: center;
}

.services-closing p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
}

@media (min-width: 701px) {
    .services-closing p:nth-of-type(2) {
        font-size: 1rem;
    }
}

.services-closing__strong {
    font-weight: 500;
}

@media (max-width: 1100px) {
    .svc-panel {
        width: min(1360px, calc(100% - 48px));
    }

    .svc-panel__split,
    .svc-panel__split--social,
    .svc-panel__split--narrow {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .svc-panel__aside {
        justify-self: center;
    }

    .svc-panel__title-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .services-shell {
        width: calc(100% - 32px);
    }

    .services-hero {
        padding-bottom: 28px;
    }

    .services-hero__wordmark {
        margin-top: 18px;
    }

    .svc-panel {
        width: calc(100% - 24px);
        margin-bottom: 18px;
    }

    .svc-panel__inner {
        padding: 22px 18px 20px;
    }

    .svc-panel__eyebrow {
        font-size: 0.82rem;
    }

    .svc-panel__title {
        margin-top: 18px;
        font-size: 1.3rem;
    }

    .svc-panel__body,
    .svc-offer__body,
    .svc-list li,
    .svc-note,
    .svc-footnote,
    .svc-best-fit__body,
    .svc-offer__right-for,
    .svc-best-fit__body,
    .services-closing p {
        font-size: 1.0625rem;
    }

    .svc-offers,
    .svc-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .svc-offer:first-child,
    .svc-offer + .svc-offer {
        padding: 0;
    }

    .svc-offer + .svc-offer {
        margin-top: 20px;
        border-left: 0;
        border-top: 1px solid #5d5d5d;
        padding-top: 20px;
    }

    .svc-offer__header {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .svc-offer__title {
        font-size: 1.2rem;
    }

    .svc-panel__price-tag {
        padding-top: 0;
    }

    .svc-panel__aside img {
        width: 100%;
    }

    .services-closing {
        padding: 18px 24px 32px;
    }

    /* 17px minimum for all body text on mobile */
    .tagline-body,
    .gap-body p,
    .philosophy-text,
    .service-detail p,
    .services-hero__body {
        font-size: 1.0625rem;
    }
}

/* ===========================================
   15. ABOUT PAGE
   =========================================== */

.main-nav a.nav-active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ------------------------------------------------------------
   Maquette: "DERNIERES MAQUETTES / 4. ABOUT PAGE", 1440px artboard.

   Every size and gap on this page is expressed as
   calc(<maquette px> * var(--u)), so type and spacing scale
   together and the page stays proportionally identical to the
   artboard at any width in range -- rather than each property
   hitting its own clamp at its own breakpoint.

   --u is 1 maquette pixel: 1/1440 of the viewport, floored around
   1100px wide and capped at 1920px, and expressed in rem so a
   reader's own font-size setting still moves it.
   ------------------------------------------------------------ */
.about-page {
    --u: clamp(0.0475rem, 0.06944vw, 0.08338rem);

    --about-accent: #8a422b;       /* same terracotta as the footer band */
    --about-accent-ghost: #ebdfdb; /* inactive tab label */
    --about-rule-ghost: #e6d7d3;   /* inactive rule segment */
    --about-muted: #aeaeae;        /* process step numbers */
    --about-faint: #c2c1c1;        /* "working worldwide" */
}

/* The hero wordmark sits flush on top of the intro visual */
.about-page .hero {
    padding-bottom: 0;
}

/* ---- Intro : About us + Who we are / How we work ---- */
.about-intro {
    display: grid;
    grid-template-columns:
        calc(159 * var(--u))    /* gutter */
        calc(496 * var(--u))    /* copy    */
        calc(116 * var(--u))    /* gap     */
        minmax(0, 1fr);         /* visual, bleeding to the right edge */
    align-items: start;
    padding-bottom: calc(171.5 * var(--u));
}

.about-intro__text {
    grid-column: 2;
    padding-top: calc(136.8 * var(--u));
}

.about-intro__title {
    margin: 0;
    font-family: var(--font-display-caslon);
    font-weight: 400;
    font-size: calc(52 * var(--u));
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--color-text);
}

/* Tab labels */
.about-tabs {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: calc(16 * var(--u));
    margin-top: calc(81.5 * var(--u));
}

.about-tab {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: calc(32 * var(--u));
    line-height: 1.18;
    letter-spacing: 0;
    color: var(--about-accent-ghost);
    transition: color 0.35s ease;
}

.about-tab:hover,
.about-tab:focus-visible {
    color: #d3ab99;
}

.about-tab.is-active,
.about-tab.is-active:hover {
    color: var(--about-accent);
}

.about-tab:focus-visible {
    outline: 2px solid var(--about-accent);
    outline-offset: 6px;
    border-radius: 2px;
}

/* Panels are stacked in one grid cell so the rule below never moves */
.about-panels {
    display: grid;
    /* 8 lines + one blank line: the artboard's tallest panel, so a wrap that
       flips at some width can never shift the rule or the sections below */
    min-height: calc(207 * var(--u));
    margin-top: calc(29.7 * var(--u));
}

.about-panel {
    grid-area: 1 / 1;
    font-family: var(--font-body);
    font-weight: 400;               /* the only weight that reproduces the artboard's line breaks */
    font-size: calc(18 * var(--u));
    line-height: 1.278;             /* 23 / 18 on the artboard */
    text-align: justify;
    color: var(--color-text);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.about-panel.is-active {
    opacity: 1;
    visibility: visible;
}

.about-panel p {
    margin: 0 0 1.278em;            /* one blank line */
}

.about-panel p:last-child {
    margin-bottom: 0;
}

.about-panel strong {
    font-weight: 700;
}

/* Two-segment rule - the filled half marks the active tab */
.about-rule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(6 * var(--u));
    margin-top: calc(53.1 * var(--u));
}

.about-rule__seg {
    height: max(2px, calc(2 * var(--u)));
    background: var(--about-rule-ghost);
    transition: background-color 0.35s ease;
}

.about-rule__seg.is-active {
    background: var(--about-accent);
}

/* Intro visual - bleeds to the right edge of the viewport.
   Placement comes from the maquette's close-up frame: the photo sits at its
   native 669 x 713 proportions, 85px clear of the ALIGNED wordmark. */
.about-intro__media {
    grid-column: 4;
    display: grid;
    width: 100%;
    max-width: calc(669 * var(--u));
    margin-left: auto;
    margin-top: calc(84.8 * var(--u));
    aspect-ratio: 669 / 713;
    overflow: hidden;
}

.about-intro__img {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Both visuals share the artboard's 669 x 713 proportions, so they fill the
   same frame at the same size - swapping tabs only cross-fades the artwork. */

@media (min-width: 901px) {
    .about-intro__media {
        grid-column: 3 / 5;
        max-width: calc(520 * var(--u));
        margin-inline: auto;
    }

    .about-intro__img {
        padding-bottom: 87px;
    }
}

.about-intro__img.is-active {
    opacity: 1;
    visibility: visible;
}

/* ---- Shared section eyebrow ("Our process", "Based in") ---- */
.about-eyebrow {
    margin: 0;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: calc(32 * var(--u));
    line-height: 1.18;
    letter-spacing: 0;
    color: var(--about-accent);
}

/* ---- Our process ---- */
.about-process {
    padding: 0 var(--side-padding);
    text-align: center;
}

.process-list {
    list-style: none;
    margin: calc(113.2 * var(--u)) 0 0;
    padding: 0;
}

.process-step + .process-step {
    margin-top: calc(68.1 * var(--u));
}

.process-step__title {
    position: relative;
    display: inline-block;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: calc(40 * var(--u));
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-text);
}

.process-step__num {
    position: absolute;
    left: 100%;
    bottom: calc(100% - 0.2em);
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: calc(20 * var(--u));
    line-height: 1;
    letter-spacing: 0;
    color: var(--about-muted);
    white-space: nowrap;
}

.process-step__text {
    max-width: calc(691 * var(--u));
    margin: calc(2.4 * var(--u)) auto 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: calc(18 * var(--u));
    line-height: 1.5;               /* 27 / 18 on the artboard */
    color: var(--color-text);
}

/* Timed process sequence: the section keeps a normal document height and never
   traps scrolling. Without JS or with reduced motion, the semantic list above
   remains the readable fallback. */
.about-process.is-auto-sequence .about-process__stage {
    position: relative;
    display: flex;
    min-height: clamp(360px, 52vh, 520px);
    flex-direction: column;
    justify-content: center;
    touch-action: pan-y;
}

.about-process.is-auto-sequence .process-list {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: clamp(180px, 28vh, 280px);
    margin: clamp(48px, 8vh, 96px) 0 0;
}

.about-process.is-auto-sequence .process-step,
.about-process.is-auto-sequence .process-step.is-visible {
    grid-area: 1 / 1;
    width: 100%;
    margin: 0;
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    pointer-events: none;
    transition: opacity 320ms cubic-bezier(0.25, 1, 0.5, 1),
                transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-process.is-auto-sequence .process-step.is-before,
.about-process.is-auto-sequence .process-step.is-before.is-visible {
    transform: translate3d(0, -32px, 0);
}

.about-process.is-auto-sequence .process-step.is-current,
.about-process.is-auto-sequence .process-step.is-current.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.process-controls {
    display: none;
}

/* Progress rail: the horse walks one stride per step. --process-progress (0 -> 1)
   is written by main.js; everything below is derived from it. */
.process-track {
    display: none;
}

.about-process.is-auto-sequence .process-track {
    --process-horse: clamp(24px, 2.6vw, 34px);
    position: relative;
    display: block;
    margin: clamp(28px, 5vh, 56px) clamp(12px, 7vw, 112px) 0;
}

.process-track__rail {
    display: block;
    height: 1px;
    background: var(--about-muted);
    opacity: 0.55;
}

.process-track__fill {
    display: block;
    width: calc(var(--process-progress, 0) * 100%);
    height: 100%;
    background: var(--about-accent);
    opacity: 0.65;
    transition: width 900ms cubic-bezier(0.65, 0, 0.35, 1);
}

/* left + a matching negative translate keeps the horse inside the rail at both
   ends instead of overhanging them. */
.process-track__runner {
    position: absolute;
    bottom: 1px;
    width: var(--process-horse);
    left: calc(var(--process-progress, 0) * 100%);
    transform: translateX(calc(var(--process-progress, 0) * -100%));
    transition: left 900ms cubic-bezier(0.65, 0, 0.35, 1),
                transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
}

/* The asset is drawn facing right, so the forward stride is unmirrored and only
   the trip back to step one is mirrored. Facing flips instantly, before travel. */
.process-track.is-reverse {
    --process-facing: -1;
}

.process-track__horse {
    display: block;
    width: 100%;
    height: auto;
    transform: scaleX(var(--process-facing, 1));
}

.process-track.is-running .process-track__horse {
    animation: process-gallop 300ms cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes process-gallop {
    0%, 100% { transform: translateY(0) scaleX(var(--process-facing, 1)); }
    50%      { transform: translateY(-3px) scaleX(var(--process-facing, 1)); }
}

@media (min-width: 901px) {
    .about-process.is-auto-sequence .process-controls {
        position: absolute;
        top: 58%;
        inset-inline: clamp(12px, 7vw, 112px);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        transform: translateY(-50%);
    }

    .process-control {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 0;
        place-items: center;
        border: 0;
        background: transparent;
        color: var(--about-muted);
        cursor: pointer;
        font-family: var(--font-body);
        font-size: 2rem;
        font-weight: 300;
        line-height: 1;
        opacity: 0.68;
        pointer-events: auto;
        transition: color 180ms cubic-bezier(0.25, 1, 0.5, 1),
                    opacity 180ms cubic-bezier(0.25, 1, 0.5, 1),
                    transform 180ms cubic-bezier(0.25, 1, 0.5, 1);
    }

    .process-control:hover,
    .process-control:focus-visible {
        color: var(--about-accent);
        opacity: 1;
        transform: scale(1.06);
    }

    .process-control:focus-visible {
        outline: 1px solid currentColor;
        outline-offset: 2px;
    }
}

/* Maquette line breaks - only while type and measure still scale together */
.process-br { display: none; }

@media (min-width: 901px) {
    .process-br { display: inline; }
}

/* ---- Based in ---- */
.about-locations {
    padding: calc(190 * var(--u)) var(--side-padding) calc(179.6 * var(--u));
    text-align: center;
}

.about-locations__cities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: calc(45 * var(--u));
    margin: calc(54.6 * var(--u)) 0 0;
    padding: 0;
}

.about-locations__city {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(249 * var(--u));
    height: calc(94 * var(--u));
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 calc(6 * var(--u)) calc(20 * var(--u)) rgba(0, 0, 0, 0.13),
                0 calc(2 * var(--u)) calc(6 * var(--u)) rgba(0, 0, 0, 0.06);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: calc(36 * var(--u));
    line-height: 1;
    color: var(--color-text);
}

.about-locations__worldwide {
    margin: calc(42.6 * var(--u)) 0 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 30px;
    line-height: 1.2;
    color: var(--about-faint);
}

/* ---- Quote banner ---- */
.about-quote {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.about-quote__bg {
    display: block;
    width: 100%;
    height: calc(544 * var(--u));
    object-fit: cover;
    object-position: center 44%;
}

.about-quote__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px var(--side-padding);
    color: #fff;
}

.about-quote__text {
    max-width: calc(1116 * var(--u));
    margin: 0;
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 300;
    font-size: calc(28 * var(--u));
    line-height: 1.357;             /* 38 / 28 on the artboard */
}

.about-quote__attr {
    margin: calc(32.3 * var(--u)) 0 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: calc(24 * var(--u));
    line-height: 1.4;
}

/* ---- Scroll reveal ---- */
.about-intro__text,
.about-eyebrow,
.process-step,
.about-locations__cities,
.about-locations__worldwide,
.about-quote__text,
.about-quote__attr {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.about-intro__text.is-visible,
.about-eyebrow.is-visible,
.process-step.is-visible,
.about-locations__cities.is-visible,
.about-locations__worldwide.is-visible,
.about-quote__text.is-visible,
.about-quote__attr.is-visible {
    opacity: 1;
    transform: none;
}

.about-quote__attr { transition-delay: 0.18s; }

/* ------------------------------------------------------------
   Below the artboard's range the copy can no longer shrink with
   the viewport, so type gets its own scale while --u keeps
   driving the spacing.
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .about-page {
        --u: clamp(0.0275rem, 0.06944vw, 0.0475rem);
    }

    .about-intro {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 0 calc(131.2 * var(--u));
        row-gap: calc(90 * var(--u));
    }

    .about-intro__text {
        grid-column: 1;
        padding: calc(80 * var(--u)) var(--side-padding) 0;
    }

    .about-intro__media {
        grid-column: 1;
        max-width: none;
        margin-left: 0;
        margin-top: 0;
        /* keeps the artboard's native ratio, so neither the portrait nor the
           lettering on the "How we work" visual gets cropped */
    }

    .about-intro__title          { font-size: clamp(1.9rem, 6vw, 2.9rem); }
    .about-eyebrow               { font-size: clamp(0.95rem, 3.4vw, 1.6rem); }
    /* The intro copy is read like the body text of every other page, so it
       matches their mobile scale (17px / 1.7) instead of the artboard's
       desktop ratio, which shrinks to a caption down here. */
    .about-tab                   { font-size: clamp(1.15rem, 3.8vw, 1.6rem); }
    .about-panel                 { font-size: clamp(1.0625rem, 3.1vw, 1.2rem); line-height: 1.7; }
    .process-step__title         { font-size: clamp(1.4rem, 4.6vw, 2.25rem); }
    .process-step__num           { font-size: clamp(0.7rem, 2.3vw, 1.1rem); }
    .process-step__text          { font-size: clamp(0.9rem, 2.1vw, 1rem); max-width: 62ch; }
    .about-locations__city       { font-size: clamp(1.05rem, 3.8vw, 1.85rem); }
    .about-locations__worldwide  { font-size: clamp(0.95rem, 3.4vw, 1.6rem); }
    .about-quote__text           { font-size: clamp(0.95rem, 3.1vw, 1.5rem); }
    .about-quote__attr           { font-size: clamp(0.8rem, 2.4vw, 1.2rem); }

    .about-locations__city {
        width: clamp(8.25rem, 22vw, 13rem);
        height: clamp(3.4rem, 8.5vw, 5rem);
    }

    /* The sequence is sized for a desktop stage; on a phone the same clamps
       leave the step floating in the middle of the section. Tighten the stage
       and the slack the tallest step is centred in, so the eyebrow, the step
       and the rail read as one group. */
    .about-process.is-auto-sequence .about-process__stage {
        min-height: clamp(280px, 40vh, 380px);
    }

    .about-process.is-auto-sequence .process-list {
        min-height: clamp(140px, 19vh, 170px);
        margin-top: clamp(32px, 5vh, 48px);
    }

    .about-process.is-auto-sequence .process-track {
        margin-top: clamp(20px, 3vh, 32px);
    }

    .about-quote__bg { height: max(calc(544 * var(--u)), 18rem); }
}

@media (max-width: 560px) {
    .about-panel { text-align: left; }

    .about-tabs {
        gap: 1rem;
        justify-content: flex-start;
    }

    .about-locations__cities { gap: 0.75rem; }

    .about-locations__city {
        width: clamp(6.5rem, 28vw, 9.5rem);
        height: clamp(2.9rem, 12vw, 4rem);
    }

    .about-quote__overlay { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-tab,
    .about-panel,
    .about-rule__seg,
    .about-intro__img {
        transition: none;
    }

    .about-intro__text,
    .about-eyebrow,
    .process-step,
    .about-locations__cities,
    .about-locations__worldwide,
    .about-quote__text,
    .about-quote__attr {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-section {
    background: var(--color-bg);
    padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 10vw, 140px);
}

.projects-section__inner {
    padding: 0 var(--side-padding);
    max-width: 1600px;
    margin: 0 auto;
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(36px, 5vw, 64px);
    flex-wrap: wrap;
}

.projects-heading {
    font-family: var(--font-display-caslon);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.005em;
}

/* ---- Filter dropdown ---- */
.projects-filter {
    position: relative;
    font-family: var(--font-mono);
}

.projects-filter__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-width: 130px;
    padding: 9px 16px;
    background: #8a412b;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.projects-filter__toggle:hover {
    background: #752f1f;
}

.projects-filter__chev {
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.projects-filter__toggle[aria-expanded="true"] .projects-filter__chev {
    transform: rotate(180deg);
}

.projects-filter__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: min(410px, calc(100vw - 48px));
    min-width: 200px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e8e1d4;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
    z-index: 10;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.projects-filter__menu.is-open {
    opacity: 1;
    transform: translateY(0);
}

.projects-filter__menu li {
    margin: 0;
}

.projects-filter__menu button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 10px 18px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: #3a3a3a;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.projects-filter__menu button:hover {
    background: #f6f1e7;
    color: var(--color-accent);
}

.projects-filter__menu button[aria-selected="true"] {
    color: var(--color-accent);
}

/* ---- Grid ---- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.6vw, 24px);
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    background: #efe9dd;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
}

.project-card:hover img {
    transform: scale(1.035);
}

.project-card.is-hidden {
    display: none;
}

/* ---- Calques de survol (accueil + page Projects) ----
   Les photos secondaires s'empilent au-dessus de la vignette : deux calques
   alternés suffisent à enchaîner les fondus (voir main.js). Déclarés ici, en
   dernier, pour passer devant .work-item img et .project-card img — qui ont
   la même spécificité et redéfinissent transition, width et object-fit. */
img.hover-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.4s ease;
}

img.hover-layer.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    img.hover-layer {
        transition: none;
    }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-header {
        gap: 16px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .projects-filter__toggle {
        min-width: 110px;
        padding: 8px 14px;
        font-size: 0.74rem;
    }
}

/* ============================================================
   PROJECT DETAIL PAGE (e.g. /projects/gpr)
   ============================================================ */
.project-page {
    --project-green: #2f4733;
    --project-green-deep: #263a29;
    --project-cream: #f4efe6;
    background: var(--color-bg);
}

.project-page--gpr {
    --font-display: 'DMSans', 'DM Sans', Arial, sans-serif;
    --font-display-caslon: 'DMSans', 'DM Sans', Arial, sans-serif;
    --font-body: 'DMSans', 'DM Sans', Arial, sans-serif;
    --font-mono: 'DMSans', 'DM Sans', Arial, sans-serif;
    font-family: 'DMSans', 'DM Sans', Arial, sans-serif;
}

.project-page--gpr *,
.project-page--gpr *::before,
.project-page--gpr *::after {
    font-family: 'DMSans', 'DM Sans', Arial, sans-serif !important;
}

/* ---- Hero band (dark green) ---- */
.project-hero {
    background: var(--project-green);
    color: #fff;
    padding: clamp(56px, 8vw, 110px) var(--side-padding) clamp(28px, 3.5vw, 48px);
}

.project-hero__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(36px, 5vw, 64px);
    max-width: 760px;
    padding: clamp(12px, 2vw, 28px) 0;
}

.project-hero__lockup {
    width: 100%;
    max-width: 720px;
    height: auto;
    display: block;
}

/* ---- Meta info row ---- */
.project-meta {
    border-top: 2px solid rgba(255, 255, 255, 0.46);
    padding-top: clamp(20px, 2.4vw, 32px);
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 2.4fr;
    gap: clamp(20px, 3vw, 56px);
    align-items: start;
}

.project-meta__label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #fff;
    margin: 0 0 10px;
}

.project-meta__value {
    font-family: var(--font-body);
    font-size: 0.78rem;
    line-height: 1.6;
    color: #f0ede4;
    margin: 0;
}

.project-meta__col--info .project-meta__value {
    line-height: 1.65;
    max-width: 56ch;
}

.project-meta__pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-meta__pills li {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 2px;
    color: #f0ede4;
    white-space: nowrap;
    line-height: 1.5;
}

/* ---- Wide banner image ---- */
.project-banner {
    width: 100%;
    line-height: 0;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

.project-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
    display: block;
}

@media (max-width: 820px) {
    .project-banner {
        aspect-ratio: 4 / 3;
    }
}

/* ---- Section label (centered, mono) ---- */
.project-section-label {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 clamp(28px, 4vw, 48px);
}

/* ---- Highlights carousel ---- */
.project-highlights {
    background: var(--color-bg);
    padding: clamp(64px, 8vw, 110px) var(--side-padding) clamp(40px, 5vw, 64px);
}

.highlights-carousel {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 36px);
}

.highlights-carousel__track {
    flex: 1;
    position: relative;
    display: grid;
    min-height: clamp(280px, 28vw, 380px);
}

.highlight-slide {
    position: relative;
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 1.3fr;
    gap: clamp(28px, 4vw, 72px);
    align-items: center;
    padding: clamp(36px, 4.5vw, 60px) clamp(40px, 5vw, 72px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: clamp(22px, 2.4vw, 32px);
    /* Apple-style layered shadows — tight contact + soft ambient + far diffuse */
    box-shadow:
        0 1px 2px rgba(26, 26, 26, 0.04),
        0 6px 14px rgba(26, 26, 26, 0.05),
        0 22px 50px rgba(26, 26, 26, 0.07),
        0 50px 100px -20px rgba(26, 26, 26, 0.08);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.highlight-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.highlight-slide__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.4vw, 20px);
}

.highlight-slide__visual img {
    max-width: 80px;
    width: 35%;
    height: auto;
    object-fit: contain;
}

.highlight-slide__visual--single img {
    max-width: 220px;
    width: 80%;
}

/* Wide visual: image fills the full visual column (for landscape compositions) */
.highlight-slide__visual--wide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.highlight-slide__visual--wide img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

/* Slide variant: full-bleed visual on the left half of the card */
.highlight-slide--bleed {
    padding: 0;
    overflow: hidden;
    /* keep the same big rounded corners — clip children */
}

.highlight-slide--bleed .highlight-slide__body {
    padding: clamp(36px, 4.5vw, 60px) clamp(40px, 5vw, 72px);
}

.highlight-slide__visual--bleed {
    width: 100%;
    height: 100%;
    padding: 0;
}

.highlight-slide__visual--bleed img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
}

.highlight-slide__arrow {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    color: #b9b9b9;
}

.highlight-slide__title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 400;
    color: #1A1A1A;
    margin: 0 0 12px;
    letter-spacing: -0.005em;
}

.highlight-slide__text {
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.65;
    color: #555;
    margin: 0;
    max-width: 52ch;
}

.highlights-carousel__arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    border: none;
    border-radius: 50%;
    color: #888;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.highlights-carousel__arrow:hover {
    background: #e8e8e8;
    color: var(--color-accent);
}

.highlights-carousel__arrow:active {
    transform: scale(0.94);
}

.highlights-carousel__arrow svg {
    width: 11px;
    height: auto;
}

.highlights-carousel__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    background: #f2f2f2;
    border-radius: 999px;
    margin: clamp(20px, 2.4vw, 32px) auto 0;
}

.highlights-carousel__dots-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(20px, 2.4vw, 32px);
}

.highlights-carousel__dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #cfcfcf;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.highlights-carousel__dots button.is-active {
    background: #1A1A1A;
    transform: scale(1.15);
}

/* ---- Gallery ---- */
.project-gallery {
    padding: clamp(40px, 5vw, 64px) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(0px, 0vw, 0px);
}

.project-gallery__row {
    width: 100%;
    line-height: 0;
}

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

.project-gallery__row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.project-gallery__row--two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Overview ---- */
.project-overview {
    padding: clamp(64px, 8vw, 110px) var(--side-padding) clamp(80px, 10vw, 130px);
}

.project-overview__card {
    max-width: 1280px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: clamp(22px, 2.4vw, 32px);
    box-shadow:
        0 1px 2px rgba(26, 26, 26, 0.04),
        0 6px 14px rgba(26, 26, 26, 0.05),
        0 22px 50px rgba(26, 26, 26, 0.07),
        0 50px 100px -20px rgba(26, 26, 26, 0.08);
    padding: clamp(28px, 3.5vw, 48px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    gap: clamp(20px, 3vw, 48px);
}

.project-overview__label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin: 0 0 10px;
}

.project-overview__value {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .project-meta {
        grid-template-columns: 1fr 1fr;
        gap: 28px 32px;
    }
    .project-meta__col--info {
        grid-column: 1 / -1;
    }
    .project-overview__card {
        grid-template-columns: 1fr 1fr;
    }
    .project-overview__col--wide {
        grid-column: 1 / -1;
    }
    .highlight-slide {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    .highlight-slide__text {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .project-hero {
        padding: 64px 24px 28px;
    }
    .project-hero__brand {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    .project-hero__wordmark {
        align-items: center;
    }
    .project-meta {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .project-meta__col--info {
        grid-column: auto;
    }
    .project-gallery__row--two {
        grid-template-columns: 1fr;
    }
    .project-page--gpr .project-gallery__row--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .project-overview__card {
        grid-template-columns: 1fr;
    }
    .project-overview__col--wide {
        grid-column: auto;
    }
    .highlights-carousel {
        gap: 4px;
    }
    .highlights-carousel__arrow {
        width: 28px;
        height: 28px;
    }
}
