/* loicmoreau.fr V2 — portfolio éditorial */

:root {
    --paper: #f2f0ea;
    --bg: #f2f0ea;
    --bg-film: #eee6d8;
    --bg-product: #e4e3df;
    --ink: #14130f;
    --warm: #e7e3da;
    /* Échelle de tons des emplacements médias, du plus soutenu au plus clair */
    --panel: #d4cec0;
    --ph-photo: #dcd6c7;
    --ph-screen: #eae6dc;
    --ph-doc: #f8f6f1;
    --ph-dark: #262119;
    --muted: #6e6a61;
    --line: rgba(20, 19, 15, 0.14);
    --accent: #c4402a;
    --hero-band: #e2b53c;
    --about-wash: #efe3c2;
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --display: 'Kreon', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 4.5rem;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --pad: var(--gutter);
    /* Largeur dont un média dépasse sa colonne pour sortir par le bord droit */
    --escape: clamp(1.5rem, 9vw, 10rem);
    --max: 88rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 9999;
    padding: 0.75rem 1rem; background: var(--accent); color: #fff;
}
.skip-link:focus { left: 0.75rem; }

/* ——— Header ——— */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 var(--gutter);
    background: rgba(242, 240, 234, 0.92);
    backdrop-filter: blur(10px);
}
body.has-hero-nav .site-header { background: transparent; backdrop-filter: none; }
body.has-hero-nav .site-header.is-scrolled {
    background: rgba(242, 240, 234, 0.94);
    backdrop-filter: blur(10px);
}

.site-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.site-logo__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.site-logo__tag {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}

.site-nav ul {
    display: flex;
    gap: clamp(1rem, 2.4vw, 2rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 2.75rem; height: 2.75rem; position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin-right: -0.4rem;
}
.nav-toggle span {
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    height: 2px;
    background: var(--ink);
    top: 50%;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(2) { transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
}

/* ——— Repères, liens, lignes secondaires ——— */
.edit-label {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}
.edit-label a { color: inherit; text-decoration: none; }
.edit-label a:hover { color: var(--accent); }

.edit-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--accent);
}
.edit-link span { transition: transform 0.3s var(--ease); }
.edit-link:hover span { transform: translateX(4px); }

.edit-related {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.8;
    background: var(--paper);
    padding: 10px;
}
.edit-related a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}
.edit-related a:hover { color: var(--accent); }
.edit-related .edit-link { font-size: 0.82rem; display: inline; color: var(--accent); }
.edit-related__sep { opacity: 0.45; margin: 0 0.15rem; }

/* ——— Médias ——— */
.media {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--warm);
    align-self: start;
    width: 100%;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.3rem;
    padding: clamp(0.75rem, 1.8vw, 1.25rem);
    background: var(--warm);
    box-shadow: inset 0 0 0 1px rgba(20, 19, 15, 0.2);
}
.media__ph-name {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    max-width: 22ch;
    line-height: 1.5;
}
.media__ph-ratio {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.media--fragment { aspect-ratio: 3 / 4; }
.media--film-main { aspect-ratio: 9 / 16; }
.media--product-video { aspect-ratio: 16 / 9; }
.media.media--ratio-9x16 { aspect-ratio: 9 / 16; }
.media.media--ratio-16x9 { aspect-ratio: 16 / 9; }
.media.media--film-main:not(.media--video) { aspect-ratio: auto; }
.media.media--film-main:not(.media--video) img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
}
.media--ep { aspect-ratio: 9 / 16; }
.media--system { aspect-ratio: 5 / 4; }
.media--object { aspect-ratio: 3 / 4; }
.media--profile { aspect-ratio: 16 / 10; }

.media--fragment,
.media--ep,
.media--object,
.media--profile { background: var(--ph-photo); }
.media--system { background: var(--ph-doc); }
.media--film-main,
.media--product-video { background: var(--ph-dark); }

.media--fragment .media__ph,
.media--ep .media__ph,
.media--object .media__ph,
.media--profile .media__ph { background: var(--ph-photo); }
.media--system .media__ph { background: var(--ph-doc); }

.media--film-main .media__ph,
.media--product-video .media__ph {
    background: var(--ph-dark);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    gap: 0.5rem;
    padding: clamp(1.25rem, 2.4vw, 2.25rem);
}
.media--film-main .media__ph-name,
.media--product-video .media__ph-name {
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    max-width: 30ch;
}
.media--film-main .media__ph-ratio,
.media--product-video .media__ph-ratio {
    color: #e08a72;
    font-size: clamp(0.66rem, 0.9vw, 0.78rem);
}

/* Lecture manuelle : aucune vidéo ne démarre seule */
.media--video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: var(--ph-dark);
}

/* ——— Chapitres de l'accueil ——— */
.chapter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 2.25rem);
    align-content: start;
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
    padding-block: clamp(1.5rem, 6vw, 2.5rem);
}
/* ——— Bandes de fond : rythme vertical, 3 tons seulement ——— */
.band { width: 100%; }
.band--hero,
.band--profile { background: var(--bg-film); }
.band--film { background: var(--bg-film); }
.band--product { background: var(--bg-product); }

/* Bande diagonale : hero d’accueil et hero À propos */
body.is-home .band--hero,
.band--about-open {
    position: relative;
    isolation: isolate;
    overflow: clip;
}
body.is-home .band--hero::before,
.band--about-open::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 51%;
    left: 50%;
    width: 132%;
    height: 66%;
    background: var(--hero-band);
    transform: translate(-50%, -48%) rotate(1.2deg);
    pointer-events: none;
}
body.is-home .band--hero > .chapter--hero,
.band--about-open > .chapter--about-hero { position: relative; z-index: 1; }
.band--about-open::before { height: 78%; }

.agency-line {
    margin: 0;
    padding: clamp(3.5rem, 3.5vw, 2.5rem) var(--gutter);
    text-align: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.95rem, 1.5vw, 1.2rem);
    letter-spacing: -0.02em;
    background: var(--hero-band);
}

/* 00 — Hero : typographique, hauteur au contenu */
.chapter--hero {
    min-height: 70svh;
    align-content: center;
    padding-block: 0;
}
.hero__signature {
    margin: 0;
    font-size: clamp(0.62rem, 0.8vw, 0.72rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #4a463c;
}
.hero__title {
    margin: 0;
    font-family: var(--display);
    letter-spacing: -0.035em;
}
.hero__claim {
    display: block;
    font-weight: 700;
    font-size: clamp(1.95rem, 4.6vw, 4.15rem);
    line-height: 1.04;
}
.hero__line { display: block; }
.hero__object {
    display: block;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.7vw, 1.55rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #3f3b32;
    margin-top: clamp(1.15rem, 2.2vw, 1.85rem);
}
.hero__process {
    margin: 0;
    font-size: clamp(0.88rem, 1vw, 1rem);
    font-weight: 400;
    color: #3f3b32;
}
.hero__links {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.25rem;
}

.claim__line { display: block; }

/* 01 — Films : le moment d'impact */
.film__claim {
    margin: 0;
    max-width: 26ch;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.1vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}
.film__lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}
.film__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.film__name {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.film__sub {
    font-family: var(--font);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--muted);
}
.film__context {
    margin: 0;
    max-width: 36ch;
    font-size: 0.92rem;
    line-height: 1.65;
}
.film__role {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
}
.film__aside {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 7vw, 5rem);
}
.film__follow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
}
.film__follow .film__lead {
    gap: 0.55rem;
    max-width: 36ch;
}
.film__follow .film__name {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}
.film__next {
    width: 100%;
    max-width: min(28rem, 100%);
}
.film__follow .edit-related {
    margin: 0;
    max-width: 42ch;
}
.film__episodes.film__gallery {
    gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
.film__episodes .media--thumb:nth-child(2) {
    margin-top: clamp(1rem, 2.5vw, 2rem);
}
.film__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.45rem, 1vw, 0.7rem);
    align-items: start;
    width: 100%;
}
.film__gallery--solo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 16rem;
}
.film__gallery-col {
    display: flex;
    flex-direction: column;
    gap: clamp(0.45rem, 1vw, 0.7rem);
    min-width: 0;
}
.film__gallery .media--thumb,
.film__episodes .media--thumb {
    aspect-ratio: auto;
    background: var(--ph-photo);
}
.film__gallery .media--thumb img,
.film__gallery .media--thumb video,
.film__episodes .media--thumb img,
.film__episodes .media--thumb video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
}
.film__gallery .media--thumb.is-video,
.film__episodes .media--thumb.is-video {
    background: var(--ph-dark);
}
.film__gallery .media--thumb.is-video img,
.film__episodes .media--thumb.is-video img {
    height: auto;
    object-fit: unset;
}
.film__gallery .media--thumb.is-video video,
.film__episodes .media--thumb.is-video video {
    height: 100%;
    object-fit: cover;
}
.media__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3.75rem;
    height: 3.75rem;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(32, 33, 36, 0.8);
    border-radius: 50%;
    pointer-events: none;
}
.media__play svg {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.18rem;
    fill: currentColor;
}
.media__open {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
    color: inherit;
    font: inherit;
    text-align: left;
}
.media--thumb.is-video .media__open { cursor: pointer; }
.media__open:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.media__open img,
.media__open video { pointer-events: none; }
@media (hover: hover) {
    .media__open:hover img,
    .media__open:hover video { filter: brightness(0.96); }
}

.peek {
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--paper);
}
.peek::backdrop {
    background: rgba(20, 19, 15, 0.78);
}
.peek[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.peek__shot {
    display: block;
    max-width: min(92vw, 86rem);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: var(--ph-dark);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35);
}
.peek__video[hidden],
.peek__image[hidden] { display: none; }
.peek__video:not([hidden]) {
    max-height: 88vh;
}
.peek__close,
.peek__nav {
    position: fixed;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
}
.peek__close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    font-size: 1.65rem;
    line-height: 1;
}
.peek__nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.85rem;
    line-height: 1;
}
.peek__nav[disabled] { opacity: 0.28; cursor: default; }
.peek__prev { left: max(0.4rem, env(safe-area-inset-left)); }
.peek__next { right: max(0.4rem, env(safe-area-inset-right)); }
.peek__close:hover,
.peek__nav:hover:not([disabled]) { color: #e08a72; }
.peek__close:focus-visible,
.peek__nav:focus-visible {
    outline: 2px solid #e08a72;
    outline-offset: 3px;
}
.film__gallery .media--thumb.media--awaiting {
    width: 100%;
}
.film__gallery--ph {
    grid-template-columns: 1fr 1.12fr;
    grid-template-rows: auto 1fr;
    align-items: stretch;
}
.film__gallery--ph .media:first-child {
    grid-row: 1 / span 2;
    height: 100%;
    aspect-ratio: auto;
}
.film__gallery--ph .media:nth-child(2) { aspect-ratio: 16 / 9; }
.film__gallery--ph .media:nth-child(3) { aspect-ratio: 3 / 4; }
.case-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.5;
    max-width: 42ch;
}
.case-notes {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    padding-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 720px) {
    .case-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.case-note h2 {
    margin: 0 0 0.55rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.case-note p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 46ch;
}
.chapter--case {
    padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.25rem));
}
.media--still { background: var(--ph-photo); }

@media (max-width: 899px) {
    .media.media--ratio-9x16,
    .chapter--film:not(.is-wide) .media--film-main {
        width: min(100%, 21rem);
    }
    .chapter--case .film__aside { display: contents; }
    .chapter--case .film__claim { order: 1; }
    .chapter--case .film__lead { order: 2; }
    .chapter--case .media--film-main { order: 3; }
    .chapter--case .film__gallery { order: 4; }
    .chapter--case .case-notes { order: 5; }
    .chapter--case .edit-related { order: 6; }
    .chapter--case .film__gallery--solo { max-width: 18rem; }
}

/* 02 — Produits */
.product__title {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.7vw, 2.5rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
}
.product__copy {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.product__intro {
    margin: 0;
    max-width: 40ch;
    font-size: 0.95rem;
    line-height: 1.7;
}
.product__ai {
    margin: 0;
    max-width: 40ch;
    padding-left: clamp(0.75rem, 1.2vw, 1.1rem);
    border-left: 2px solid var(--accent);
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--muted);
}
.product__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
.product__name {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    letter-spacing: -0.02em;
}
.product__desc,
.product__proof {
    margin: 0;
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--muted);
}
.product__proof { margin-bottom: 0.6rem; }

.product__cluster {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 2rem);
    position: relative;
}

/* 03 — Profil, mode d'intervention, contact */
.profile__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
}
/* Le chapitre ouvre sur le mode d'intervention, pas sur la biographie */
.profile__claim {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.profile__mode {
    margin: 0;
    max-width: 44ch;
    font-size: 0.98rem;
    line-height: 1.7;
}
.profile__intro {
    margin: 0;
    max-width: 40ch;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--muted);
}

/* Aplat dense : la page se termine sur la conversion */
.contact-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: clamp(1.75rem, 3.5vw, 3rem);
    background: var(--ink);
    color: var(--paper);
}
.profile__cta {
    margin: 0;
    max-width: 26ch;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.5vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.profile__contact-text {
    margin: 0;
    max-width: 46ch;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(242, 240, 234, 0.76);
}
.profile__actions {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.75rem 2rem;
}
.contact-block .edit-link { color: #fff; }
.contact-block .edit-link:hover { color: rgba(242, 240, 234, 0.7); }
.profile__email {
    font-size: 0.9rem;
    color: rgba(242, 240, 234, 0.62);
    text-decoration: none;
}
.profile__email:hover { color: #fff; }

/* ——— Mobile : ordre repère, titre, média, preuve, lien ——— */
@media (max-width: 899px) {
    .media--object { width: 78%; margin-inline-start: auto; }
    .media--system,
    .media--product-video,
    .media--profile { width: 100%; }
    .film__episodes { gap: 0.75rem; }
    .media--ep-2 { margin-top: clamp(1.25rem, 5vw, 2.5rem); }
}

@media (max-width: 700px) {
    body.is-home .band--hero::before,
    .band--about-open::before {
        height: 70%;
        transform: translate(-50%, -48%) rotate(-2.6deg);
    }
    .hero__claim { font-size: clamp(1.85rem, 8.6vw, 2.55rem); }
    .hero__object { font-size: clamp(1rem, 4.2vw, 1.25rem); }
    .film__claim { font-size: clamp(1.35rem, 7.4vw, 1.9rem); }
    .product__title { font-size: clamp(1.3rem, 6.6vw, 1.8rem); }
    .agency-line { text-align: left; }
}

/* ——— Desktop : grille de 12 colonnes ——— */
@media (min-width: 900px) {
    .chapter {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: clamp(0.75rem, 1.4vw, 1.5rem);
        row-gap: 0;
    }

    /* 00 — Hero */
    .chapter--hero .hero__signature { grid-column: 1 / 8; grid-row: 1; }
    .chapter--hero .hero__title {
        grid-column: 1 / -1; grid-row: 2;
        margin-top: clamp(1.25rem, 2.6vw, 2.25rem);
    }
    .chapter--hero .hero__process {
        grid-column: 1 / 8; grid-row: 3;
        margin-top: clamp(1.25rem, 2.4vw, 2rem);
    }
    .chapter--hero .hero__links {
        grid-column: 1 / 9; grid-row: 4;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }

    /* 01 — Films */
    .chapter--film .edit-label { grid-column: 1 / 7; grid-row: 1; }
    .film__claim {
        grid-column: 1 / 9; grid-row: 2;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }
    /* Le film est vertical : c'est sa hauteur qui fait l'impact. Les épisodes
       restent volontairement petits pour que le contraste d'échelle joue. */
    .chapter--film .media--film-main {
        grid-column: 1 / 6; grid-row: 3;
        margin-top: clamp(2rem, 4.5vw, 3.75rem);
    }
    .film__aside {
        grid-column: 7 / -1; grid-row: 3;
        justify-content: flex-start;
        gap: clamp(3.5rem, 7vw, 5.5rem);
        margin-top: clamp(2rem, 4.5vw, 3.75rem);
    }
    .chapter--case .film__aside {
        justify-content: flex-start;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
    .film__episodes { max-width: clamp(15rem, 24vw, 20rem); }
    .film__follow { max-width: min(28rem, 100%); }
    .chapter--case .film__gallery { max-width: none; }
    .chapter--case .film__gallery--solo .is-portrait {
        max-width: min(16rem, 100%);
    }
    .media--ep-2 { margin-top: clamp(1rem, 2.5vw, 2rem); }
    .chapter--film .edit-related {
        grid-column: 1 / 9; grid-row: 4;
        margin-top: clamp(2.5rem, 5vw, 4rem);
    }

    .chapter--film.is-wide .media--film-main {
        grid-column: 1 / -1;
        max-height: min(72vh, 44rem);
        width: 100%;
    }
    .chapter--film.is-wide .media--film-main:not(.media--video) {
        max-height: none;
    }
    .chapter--film.is-wide .film__aside {
        grid-column: 1 / -1;
        grid-row: 4;
        flex-direction: row;
        gap: clamp(2rem, 5vw, 4.5rem);
        align-items: flex-start;
        justify-content: space-between;
    }
    .chapter--film.is-wide .film__lead { flex: 1 1 11rem; }
    .chapter--film.is-wide .film__episodes,
    .chapter--film.is-wide .film__follow {
        max-width: min(28rem, 40%);
        flex: 0 1 28rem;
        width: 100%;
    }
    .chapter--case.is-wide .film__gallery {
        flex: 1 1 22rem;
        max-width: min(38rem, 50%);
        width: 100%;
    }
    .chapter--film.is-wide .edit-related { grid-row: 5; }

    .chapter--case .case-notes {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: clamp(2.5rem, 6vw, 4.5rem);
    }
    .chapter--case .edit-related { grid-row: 5; }
    .chapter--case.is-wide .case-notes { grid-row: 5; }
    .chapter--case.is-wide .edit-related { grid-row: 6; }

    /* 02 — Produits */
    .chapter--product .edit-label { grid-column: 1 / 7; grid-row: 1; }
    .product__title {
        grid-column: 1 / 6; grid-row: 2;
        margin-top: clamp(1.75rem, 4vw, 3rem);
    }
    .product__copy {
        grid-column: 1 / 5; grid-row: 3;
        margin-top: clamp(1.5rem, 3vw, 2.25rem);
    }
    .product__meta {
        grid-column: 1 / 5; grid-row: 4;
        margin-top: clamp(1.5rem, 3vw, 2.25rem);
    }
    .product__cluster {
        grid-column: 6 / -1; grid-row: 1 / 5;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: clamp(0.5rem, 1vw, 1rem);
        row-gap: 0;
        align-items: start;
        align-self: start;
        margin-top: calc(-1 * clamp(0.5rem, 2vw, 1.5rem));
    }
    .product__cluster::before {
        content: '';
        grid-area: 1 / 2 / -1 / -2;
        align-self: stretch;
        margin-block: calc(-1 * clamp(1rem, 2.5vw, 2rem));
        background: var(--panel);
        z-index: 0;
    }
    /* La vidéo promo est le premier plan ; les stills montrent la profondeur du système. */
    .product__cluster .media--product-video {
        grid-area: 1 / 1 / 2 / 13;
        z-index: 2;
        margin-top: clamp(1.5rem, 4vw, 3rem);
        box-shadow: 0 18px 48px rgba(20, 19, 15, 0.12);
    }
    .product__cluster .media--system {
        grid-area: 2 / 1 / 3 / 7;
        z-index: 1;
        margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
        width: 92%;
    }
    .product__cluster .media--object {
        grid-area: 2 / 7 / 3 / 13;
        z-index: 3;
        margin-top: calc(-1 * clamp(2.5rem, 5vw, 4rem));
        width: 78%;
        justify-self: end;
        box-shadow: 0 18px 48px rgba(20, 19, 15, 0.12);
    }
    .chapter--product .edit-related {
        grid-column: 1 / 9; grid-row: 5;
        margin-top: clamp(2.5rem, 5vw, 4rem);
    }

    /* 03 — Profil / intervention / contact */
    .chapter--profile .edit-label { grid-column: 1 / 7; grid-row: 1; }
    .media--profile {
        grid-column: 1 / 6; grid-row: 2;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }
    .profile__copy {
        grid-column: 7 / -1; grid-row: 2;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }
    .contact-block {
        grid-column: 1 / 9; grid-row: 3;
        margin-top: clamp(2.5rem, 5vw, 4rem);
    }
}

@media (max-width: 768px) {
    .chapter--hero {
        min-height: 68svh;
    }
}

/* Tablette : mêmes rapports, décalages et débordements réduits */
@media (min-width: 900px) and (max-width: 1199px) {
    .media--object { margin-top: calc(-1 * clamp(1.75rem, 4vw, 3rem)); }
    .chapter--hero .hero__title { grid-column: 1 / 11; }
    .film__aside { grid-column: 6 / -1; margin-left: 30px; }
    .contact-block { grid-column: 1 / 11; }

}

/* ——— Pages internes ——— */
.container {
    width: min(var(--max), 100% - var(--pad) * 2);
    margin-inline: auto;
}
.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section--offset { padding-left: clamp(0rem, 6vw, 4rem); }

.display {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}
.display--sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.eyebrow {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 1.25rem;
}
.lead { max-width: 38ch; color: var(--muted); margin: 0 0 1.5rem; line-height: 1.65; }
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1rem; }

.band--about-open,
.band--about-path,
.band--about-method,
.band--about-tools { background: var(--paper); }
.band--about-fields { background: var(--paper); }
.band--about-cta { background: var(--ink); color: var(--paper); }

.chapter--about {
    min-height: 0;
    row-gap: 0;
    padding-block: clamp(3.15rem, 7.5vw, 6rem);
}
.chapter--about-hero {
    min-height: 70svh;
    align-content: center;
    padding-top: var(--header-h);
    padding-bottom: 0;
}
.chapter--about-path,
.chapter--about-method,
.chapter--about-tools { align-items: start; }
.chapter--about-path { padding-bottom: clamp(2.15rem, 5vw, 3.25rem); }
.chapter--about-method { padding-top: clamp(2.15rem, 5vw, 3.25rem); }
.chapter--about-tools { padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.chapter--about-fields { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.chapter--about-cta {
    padding-block: clamp(3.25rem, 7vw, 5.25rem);
}

.chapter--about-hero .edit-label { color: #3f3b32; }
.about-hero__title {
    margin: 0;
    max-width: 24ch;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.95rem, 4.6vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
}
.about-hero__intro { max-width: 62ch; }

.about-title {
    margin: 0;
    max-width: 16ch;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.8vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.about-title--wide { max-width: 22ch; }
.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    max-width: 58ch;
}
.about-copy p {
    margin: 0;
    font-size: clamp(1.06rem, 0.42vw + 1.02rem, 1.2rem);
    line-height: 1.8;
}
.about-quote {
    margin: 0;
    max-width: 22ch;
}
.about-quote p {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.45rem, 3.2vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.about-section__anchor {
    background: var(--hero-band);
    padding: clamp(1.2rem, 2.4vw, 1.85rem) clamp(1.15rem, 2.2vw, 1.7rem);
    align-self: start;
}
.about-section__anchor .edit-label { color: #3f3b32; }
.about-section__anchor .about-title {
    margin-top: 0.7rem;
    max-width: 14ch;
}

.about-manifesto {
    margin: 0 auto;
    padding: clamp(2.75rem, 10vw, 5.25rem) var(--gutter) clamp(3.5rem, 12vw, 7rem);
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.95rem, 4.8vw, 3.85rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    max-width: 18ch;
    text-align: center;
}

.about-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
}
.about-field__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.about-field .media.about-field__media {
    width: 11rem;
    aspect-ratio: 1 / 1;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--ph-photo);
}
.about-field .media.about-field__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
}
.about-field__name {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    letter-spacing: -0.025em;
}
.about-field .about-copy { max-width: 36ch; }

.chapter--about-cta .edit-label { color: rgba(242, 240, 234, 0.55); }
.chapter--about-cta .contact-block {
    background: transparent;
    padding: 0;
}

@media (min-width: 900px) {
    .chapter--about-hero .edit-label { grid-column: 1 / 8; grid-row: 1; }
    .chapter--about-hero .about-hero__title {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: clamp(1.25rem, 2.6vw, 2.25rem);
    }
    .chapter--about-hero .about-hero__intro {
        grid-column: 2 / 12;
        grid-row: 3;
        margin-top: clamp(1.25rem, 2.4vw, 2rem);
    }

    .chapter--about-path .about-section__anchor,
    .chapter--about-method .about-section__anchor,
    .chapter--about-tools .about-section__anchor {
        grid-column: 1 / 5;
        grid-row: 1;
    }
    .chapter--about-path .about-copy,
    .chapter--about-method .about-copy,
    .chapter--about-tools .about-copy {
        grid-column: 5 / -1;
        grid-row: 1;
        margin-top: 0;
        padding-top: 0;
        align-self: start;
    }
    .chapter--about-method .about-quote {
        grid-column: 1 / 10;
        grid-row: 2;
        max-width: none;
        margin-top: clamp(2.75rem, 6vw, 4.5rem);
    }

    .chapter--about-fields .about-title--wide {
        grid-column: 1 / 8;
        grid-row: 1;
        max-width: none;
        margin-bottom: 0;
    }
    .chapter--about-fields .about-field:first-of-type {
        grid-column: 1 / 7;
        grid-row: 2;
        margin-top: 1.75rem;
    }
    .chapter--about-fields .about-field:last-of-type {
        grid-column: 7 / -1;
        grid-row: 2;
        margin-top: 1.75rem;
    }

    .about-field {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.75rem;
    }

    .chapter--about-cta .edit-label { grid-column: 1 / 7; grid-row: 1; }
    .chapter--about-cta .contact-block {
        grid-column: 1 / 11;
        grid-row: 2;
        margin-top: 1.25rem;
    }
}

@media (max-width: 899px) {
    .chapter--about-hero .about-hero__title { margin-top: 1.15rem; }
    .chapter--about-hero .about-hero__intro { margin-top: 1.35rem; }
    .chapter--about .about-title { margin-top: 0.85rem; }
    .chapter--about .about-copy { margin-top: 1.75rem; }
    .about-section__anchor .about-title { margin-top: 0.7rem; }
    .about-quote {
        margin-top: clamp(2.25rem, 7vw, 3.25rem);
        max-width: 18ch;
    }
    .about-field { margin-top: 1.15rem; }
    .chapter--about-fields .about-title { margin-bottom: 0.35rem; }
    .chapter--about-cta .contact-block { margin-top: 1.15rem; }
}

.page-header {
    padding: calc(var(--header-h) + 3rem) var(--pad) 2.5rem;
    padding-left: clamp(1rem, 6vw, 4rem);
    max-width: var(--max);
    margin: 0 auto;
}
.page-header .display { max-width: 18ch; }

/* Case listings — editorial rows */
.case-list { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 10vw, 6rem); }
.case-row {
    display: grid;
    gap: 1.5rem;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    align-items: start;
}
@media (min-width: 820px) {
    .case-row { grid-template-columns: 0.35fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
    .case-row:nth-child(even) { grid-template-columns: 1fr 0.35fr; }
    .case-row:nth-child(even) .case-row__media { order: 2; }
}
.case-row__plan {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.5rem;
}
.case-row__title {
    margin: 0 0 0.35rem;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.case-row__sub { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
.case-row__lede { margin: 0 0 1.25rem; max-width: 40ch; font-size: 0.95rem; line-height: 1.6; }
.case-row__media {
    aspect-ratio: 16 / 10;
    background: var(--warm);
    overflow: hidden;
}
.case-row__media--film { aspect-ratio: 9 / 16; max-width: 280px; }
.case-row__media--wide { aspect-ratio: 16 / 9; max-width: 420px; }
.case-row__media img { width: 100%; height: 100%; object-fit: cover; }

.page-intro {
    max-width: var(--max);
    margin: 0 auto;
    padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)) var(--gutter) clamp(2.5rem, 6vw, 4rem);
}
.page-intro__title {
    margin: clamp(1.25rem, 3vw, 2rem) 0 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.85rem, 4.2vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    max-width: 16ch;
}
.page-intro__lead {
    margin: clamp(1.1rem, 2.4vw, 1.75rem) 0 0;
    max-width: 46ch;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--muted);
}

.show {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}
.show__kicker {
    margin: 0 0 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.show__title {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.6vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 16ch;
}
.show__sub {
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}
.show__context {
    margin: 1rem 0 0;
    max-width: 42ch;
    font-size: 0.95rem;
    line-height: 1.65;
}
.show__role {
    margin: 1.1rem 0;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    max-width: 42ch;
    line-height: 1.55;
}
.show .media {
    grid-area: auto;
    margin-top: 0;
    max-height: none;
    box-shadow: none;
    z-index: auto;
}
a.media {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
a.media:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
@media (hover: hover) {
    .show a.media:hover img { filter: brightness(0.96); }
    .show a.media:hover .media__ph { filter: brightness(0.97); }
}
.show__cluster {
    display: grid;
    gap: clamp(0.65rem, 1.4vw, 1.15rem);
    align-items: start;
    min-width: 0;
}
.show--portrait .show__cluster {
    grid-template-columns: minmax(0, 20rem) minmax(0, 10rem);
    justify-content: end;
}
.show--portrait .show__stills {
    display: grid;
    gap: clamp(0.65rem, 1.4vw, 1.15rem);
    align-content: start;
}
.show--mixed .show__cluster {
    grid-template-columns: minmax(4.75rem, 7.25rem) minmax(0, 1fr);
}
.show--mixed .show__main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
.show--mixed .show__stills {
    display: grid;
    gap: clamp(0.65rem, 1.4vw, 1.15rem);
    grid-column: 1;
    grid-row: 1;
}
.show--mixed .show__still {
    width: 100%;
    min-width: 0;
}
.show--wide .show__main { width: 100%; min-width: 0; }

.films-cta {
    padding: clamp(3.5rem, 9vw, 6rem) var(--gutter) clamp(4.5rem, 10vw, 7rem);
    text-align: center;
    background: var(--hero-band);
}
.films-cta__title {
    margin: 0 auto 0.85rem;
    max-width: 30ch;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.35rem, 2.4vw, 1.9rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.films-cta__text {
    margin: 0 auto 1.35rem;
    max-width: 42ch;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (min-width: 900px) {
    .show {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        column-gap: clamp(0.75rem, 1.5vw, 1.75rem);
        row-gap: 0;
        align-items: start;
    }
    .show__copy { grid-column: 1 / 5; padding-top: 0.35rem; }
    .show__cluster { grid-column: 6 / -1; }
    .show__copy,
    .show__cluster { grid-row: 1; }
    .show--wide .show__cluster { grid-column: 5 / -1; }
    .show--flip .show__copy { grid-column: 9 / -1; }
    .show--flip .show__cluster { grid-column: 1 / 8; }
    .show--flip.show--wide .show__copy { grid-column: 9 / -1; }
    .show--flip.show--wide .show__cluster { grid-column: 1 / 8; }
    .show--portrait.show--flip .show__copy { grid-column: 8 / -1; }
    .show--portrait.show--flip .show__cluster { grid-column: 1 / 7; }
}

@media (max-width: 899px) {
    .show--portrait .show__cluster {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        justify-content: start;
        max-width: 24rem;
    }
    .show--mixed .show__cluster {
        grid-template-columns: minmax(0, 1fr);
    }
    .show--mixed .show__main {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
    }
    .show--mixed .show__stills {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(2, minmax(0, 7.5rem));
        justify-content: start;
    }
}

.offer-brief {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5rem) var(--pad);
}
.offer-brief__grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 720px) {
    .offer-brief__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
}
.offer-brief h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}
.offer-brief p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Contact */
.chapter--contact-hero {
    padding-top: calc(var(--header-h) + clamp(2.25rem, 7vh, 5rem));
    padding-bottom: clamp(3.5rem, 9vw, 6.5rem);
}
.chapter--contact-main {
    padding-block: clamp(4rem, 10vw, 7.5rem);
    row-gap: clamp(2.5rem, 6vw, 4rem);
}
.contact-aside {
    display: flex;
    flex-direction: column;
    gap: clamp(2.25rem, 5vw, 3.5rem);
}
.contact-aside__block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}
.contact-aside__title {
    margin: 0;
    max-width: 14ch;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.contact-aside__text {
    margin: 0;
    max-width: 36ch;
    font-size: clamp(1.02rem, 0.3vw + 0.98rem, 1.12rem);
    line-height: 1.75;
}
.contact-aside__scope {
    margin: 0;
    max-width: 28ch;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--muted);
}
.contact-panel {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-width: 0;
}
.contact-form { display: grid; gap: 1.15rem; }
.form-row { display: grid; gap: 1.15rem; }
@media (min-width: 540px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.35rem; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.85rem;
    font: inherit;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 0;
    appearance: none;
}
.form-group textarea {
    min-height: 11rem;
    resize: vertical;
    line-height: 1.55;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}
.form-hint {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--muted);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-errors { padding: 1rem; background: #fde8e4; border-left: 3px solid var(--accent); }
.form-errors p { margin: 0 0 0.35rem; font-size: 0.9rem; }
.form-success { padding: 1rem; background: #e8f0ec; border-left: 3px solid #3d5a4a; }
.form-success p { margin: 0; font-size: 0.9rem; }
.label-opt { font-weight: 400; color: var(--muted); }
.contact-form .btn { width: 100%; }
.contact-reassure {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--muted);
    max-width: 36ch;
}
.footer-text .edit-link { font-size: 0.9rem; }

@media (min-width: 900px) {
    .chapter--contact-hero .edit-label { grid-column: 1 / 7; grid-row: 1; }
    .chapter--contact-hero .about-hero__title {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: clamp(1.25rem, 2.8vw, 2.25rem);
        max-width: 12ch;
    }
    .chapter--contact-hero .about-copy {
        grid-column: 1 / 7;
        grid-row: 3;
        margin-top: clamp(1.5rem, 3vw, 2.5rem);
    }
    .chapter--contact-main .contact-aside {
        grid-column: 1 / 6;
        grid-row: 1;
        padding-top: 0.25rem;
    }
    .chapter--contact-main .contact-panel {
        grid-column: 7 / -1;
        grid-row: 1;
        padding-top: clamp(2.25rem, 5vw, 4rem);
    }
}

@media (max-width: 899px) {
    .chapter--contact-hero .about-hero__title { margin-top: 1.25rem; }
    .chapter--contact-hero .about-copy { margin-top: 1.5rem; }
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.6rem; font: 600 0.88rem/1 var(--font);
    text-decoration: none; border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
    cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }

/* Case detail */
.case-hero {
    padding: calc(var(--header-h) + 2rem) var(--pad) 2rem;
    padding-left: clamp(1rem, 6vw, 4rem);
    max-width: var(--max);
    margin: 0 auto;
    border-bottom: 1px solid var(--line);
}
.case-section {
    padding: 2rem var(--pad);
    padding-left: clamp(1rem, 6vw, 4rem);
    max-width: 44rem;
    border-bottom: 1px solid var(--line);
}
.case-section h2 {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.75rem;
}

.blog-grid {
    display: grid; gap: 1.5rem;
    padding: calc(var(--header-h) + 2rem) var(--pad) 3rem;
    max-width: var(--max);
    margin: 0 auto;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
.blog-card { text-decoration: none; color: inherit; padding-top: 1.25rem; }
.blog-card__title { font-weight: 700; margin: 0.35rem 0 0; }
.blog-post {
    max-width: 42rem;
    margin: calc(var(--header-h) + 2rem) auto 3rem;
    padding: 0 var(--pad);
}

/* ——— Footer ——— */
.site-footer {
    padding: 2rem var(--gutter) 2.5rem;
}
.site-footer--minimal {
    padding-top: 0;
}
.footer-minimal {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.78rem;
    color: var(--muted);
}
.footer-minimal a {
    color: var(--muted);
    text-decoration: none;
}
.footer-minimal a:hover { color: var(--ink); }
.footer-minimal__sep { opacity: 0.4; }

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 0.85rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a, .footer-text a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-text { margin: 0 0 0.5rem; font-size: 0.9rem; color: var(--muted); }
.footer-copy {
    max-width: var(--max);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    font-size: 0.78rem;
    color: var(--muted);
}
.footer-copy a {
    color: var(--muted);
    text-decoration: none;
}
.footer-copy a:hover { color: var(--ink); }
.footer-copy__sep { opacity: 0.4; }

/* ——— Navigation mobile ——— */
@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .site-header { overflow: visible; }
    .site-logo { position: relative; z-index: 3; }
    .site-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        background: var(--bg);
        padding: 1.75rem var(--gutter) 2rem;
        overflow: auto;
        overscroll-behavior: contain;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease);
        pointer-events: none;
    }
    .site-nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }
    .site-nav ul { flex-direction: column; gap: 1.5rem; }
    .site-nav a { font-size: 1.2rem; font-weight: 600; }
    html.nav-open,
    body.nav-open { overflow: hidden; }
    body.nav-open .site-header,
    body.has-hero-nav.nav-open .site-header {
        background: var(--bg);
        backdrop-filter: none;
    }
    .site-logo__tag { white-space: normal; max-width: 14rem; }
    .case-row__media--film { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
