 :root { --mk-title:clamp(1.4rem,2.2vw,2rem); --mk-heading:clamp(1.15rem,1.7vw,1.5rem); --mk-subheading:1.05rem; }
/* Épure client 18/11. Existing DM Sans; the brand image remains unchanged. */
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }
body { font-family: "DM Sans", sans-serif; }
body h1, body h2, body h3, body h1 em, body h2 em { font-family: "DM Sans", sans-serif !important; font-weight: 500 !important; letter-spacing: .015em !important; line-height: 1.3 !important; }
body h1 { font-size: var(--mk-title) !important; }
body h2 { font-size: var(--mk-heading) !important; }
body h3 { font-size: var(--mk-subheading) !important; }
body h2.eyebrow { font-size: .75rem !important; }
.home-footer h2 br { display: inline; }
.home-footer h2 br::after { content: " "; }
.home-footer { align-items: start; gap: 30px; }
.home-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav nav a { min-height: 44px; display: inline-flex; align-items: center; }
body[data-page="home"] .creation-hero { display: flex; flex-direction: column; gap: 0; padding: 0; min-height: 0; max-width: none; }
.epure-photo { display: block; width: 100%; background: var(--black); }
.epure-photo img { display: block; width: 100%; height: min(78svh, 900px); object-fit: cover; object-position: center 58%; }
body[data-page="home"] .creation-copy { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 4vw 40px; }
body[data-page="home"] .creation-copy h1 { font-size: .95rem !important; margin: 0; }
body[data-page="home"] .creation-copy .mission-link { margin: 0; min-height: 44px; }
.epure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.epure-pair a { min-width: 0; display: block; }
.epure-pair img, .epure-pair video { display: block; width: 100%; height: 66vw; max-height: 850px; object-fit: cover; }
/* Yassine 16/11 18:30: one real photo on the home page, the rest in 3D (renders + walk video). */
.epure-pair img { object-position: 50% 62%; }
.epure-pair video { object-position: 50% 40%; background: #192019; }
.video-tile { position: relative; display: block; min-width: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-tile::after { content: "❚❚"; position: absolute; left: 12px; bottom: 12px; font-size: .7rem; letter-spacing: -.1em; color: var(--cream); opacity: .75; pointer-events: none; }
.video-tile[aria-pressed="true"]::after { content: "▶"; letter-spacing: 0; }
.video-tile:focus-visible { outline: 2px solid var(--cream); outline-offset: -4px; }
body[data-page="home"] .mission-follow { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 80px 4vw; }
body[data-page="home"] .mission-follow h2 { margin: 0; font-size: 1rem !important; }
/* Motion-1117: retain the 320ms sweep, easing and press response only. No pinned scene, split titles or stitched link. */
.mission-button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; padding: 12px 18px; border: 1px solid var(--cream); color: var(--cream); text-decoration: none; font-size: .85rem; white-space: nowrap; transition: transform .18s cubic-bezier(.22,1,.36,1), color .18s; }
.mission-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: scaleX(0); transform-origin: left; transition: transform .32s cubic-bezier(.22,1,.36,1); }
.mission-button span { transition: transform .32s cubic-bezier(.22,1,.36,1); }
.mission-button:hover, .mission-button:focus-visible { color: var(--black); }
.mission-button:hover::before, .mission-button:focus-visible::before { transform: scaleX(1); }
.mission-button:hover span, .mission-button:focus-visible span { transform: translate(2px,-2px); }
.mission-button:active { transform: scale(.97); }
.mission-button:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
.epure-mission-context { padding: 48px 5vw; max-width: 860px; line-height: 1.8; }
@media(max-width:700px) {
 .epure-photo img { height: 68svh; object-position: center; }
 body[data-page="home"] .creation-copy { padding: 16px 5vw 28px; }
 body[data-page="home"] .mission-follow { padding: 56px 5vw; flex-wrap: wrap; }
 .home-footer { grid-template-columns: 1fr 1fr; }
 .home-footer .footer-social { grid-column: 1 / -1; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior: auto; }
 .mission-button, .mission-button::before, .mission-button span { animation: none !important; transition: none !important; }
}

.epure-newsletter { border: 0; background: none; color: inherit; text-align: left; padding: 0; min-height: 44px; font: .7rem "DM Sans", sans-serif; text-transform: uppercase; cursor: pointer; }
